/* --- 1. STRUCTURE GLOBALE --- */




* { box-sizing: border-box; }

html, body { 
    height: 100%; 
    margin: 0; 
    padding: 0; 
    background-color: #f0f2f5; 
    font-family: 'Segoe UI', sans-serif; 
}

/* On garde le flex pour centrer verticalement, mais on enlève le max-width du body */
body { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    min-height: 100vh; 
}

/* --- 2. NAVIGATION (HEADER) --- */
header { 
    width: 100%; 
    background: #fff; 
    border-bottom: 1px solid #eee; 
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* --- 3. ZONE DE CONTENU (L'UNIFORME) --- */
.content-area { 
    width: 100%; 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    align-items: flex-start; 
    padding: 50px 20px; 
}

/* J'ai fusionné .container et .form-border ici */
.container, .form-border { 
    background: white; 
    padding: 30px; /* Padding fixe et raisonnable */
    border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    width: 100%; 
    max-width: 450px; /* Largeur identique pour les deux */
    text-align: left; /* Plus naturel pour un formulaire */
    margin: 0 auto;
}

/* Titres */
h2 { color: #d32f2f; text-align: center; margin-top: 0; }

/* Champs de saisie */
.section { margin-bottom: 15px; }
label { display: block; font-weight: bold; margin-bottom: 5px; color: #333; }

select, input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    font-size: 16px;
    background: #fff;
}

/* --- 4. LES BOUTONS (FIXES !) --- */
.btn-main, .btn-pay { 
    display: block;
    width: 100%; 
    height: 55px; /* Hauteur fixe pour éviter le gonflement */
    background: #007bff; 
    color: white; 
    border: none; 
    border-radius: 10px; 
    font-weight: bold; 
    font-size: 18px; 
    cursor: pointer; 
    transition: background 0.2s;
    margin-top: 10px;
}

.btn-pay { background: #2e7d32; } /* Vert pour le paiement */
.btn-main:hover { background: #0056b3; }

.info { 
    display: block; 
    width: 100%; 
    font-size: 0.9rem; 
    color: #555; 
    margin-top: 15px; 
    border-left: 3px solid #f44336;
    padding-left: 10px; 
    box-sizing: border-box; 
}

.home-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    text-align: center;
}


.home-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    font-weight: 300;
    line-height: 1.1;
    color: #1a1208;
    margin-bottom: 32px;
}

.home-title em {
    font-style: italic;
    color: #c9a84c;
}

.home-divider {
    width: 60px;
    height: 1px;
    background: #c9a84c;
    margin: 0 auto 32px;
    opacity: 0.5;
}

.home-body2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-style: italic;
    font-weight: 300;
    color: #7a5c2e;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 20px;
}

.home-tagline {
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 48px;
}

.btn-commander {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    background: #1a1208;
    color: #c9a84c;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #1a1208;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-commander:hover {
    background: #c9a00c;
    color: #1a1208;
    border-color: #c9a84c;
}

.home-body {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-style: italic;
    font-weight: 400;
    color: #3a2a10;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 20px;
}

.avantage strong {
    font-size: 1.2rem;
    color: #1a1208;
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: block;
}

.avantage p {
    font-size: 1rem;
    color: #3a2a10;
    line-height: 1.75;
}




/* --- 5. MOBILE --- */
@media (max-width: 600px) {
    .content-area { padding-top: 20px; }
    nav { flex-direction: column; gap: 10px; }
    .nav-links a { margin: 0 10px; }
}
@media (max-width: 600px) {
    nav {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 0 !important;
    }
    .brand {
        text-align: center !important;
        margin-bottom: 5px;
    }
    .nav-links {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important;
        width: 100%;
    }
    .nav-links a {
        font-size: 0.70rem !important;
        margin-left: 8px !important;
        margin-right: 8px !important;
        white-space: nowrap; /* Empêche les liens de se couper en deux */
    }
    .content-area {
        padding-top: 20px; /* Moins d'espace en haut sur mobile */
    }
}

/* 1. ON NETTOIE LE ROUGE PARTOUT (Sécurité) */
.home-eyebrows {
    background: transparent !important;
    background-color: transparent !important;
}

/* 2. ON FORCE LE STYLE UNIQUEMENT DANS LE WRAPPER DE L'ACCUEIL */
.home-wrap .home-eyebrows {
    background: none !important;
    background-color: transparent !important;
    font-size: 2.70rem !important;
    color: #c9a84c !important;
    padding: 0 !important;
    display: block !important;
    text-transform: uppercase !important;
    font-family: 'Cormorant Garamond', serif !important;
}

