/*
Theme Name: BI Diffusion - Coming Soon
Theme URI: https://bidiffusion.com
Author: Expert Web
Description: Thème léger et SEO-friendly pour la page d'attente BI Diffusion.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bidiffusion
*/

:root {
    --primary-color: #ea580c;
    --primary-hover: #c2410c;
    --bg-color: #1f2937;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

/* Header */
.site-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    background: rgba(17, 24, 39, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
}

.custom-logo {
    max-height: 70px;
    width: auto;
}

/* Main Content */
.site-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 3rem 1.5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

/* WP Content Area (pour le texte et le shortcode du formulaire) */
.entry-content {
    width: 100%;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--primary-color);
}

/* Formulaire WordPress (Styles génériques pour WPForms, Contact Form 7, etc.) */
.entry-content form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.entry-content label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.entry-content input, 
.entry-content textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    border: 1px solid #4b5563;
    border-radius: 4px;
    background: #374151;
    color: #fff;
}

.entry-content input[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: background 0.3s;
}

.entry-content input[type="submit"]:hover {
    background-color: var(--primary-hover);
}

/* Responsive Image générée */
.wp-block-image img {
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    border: 2px solid #374151;
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}