/* --- VARIABLES ET BASES --- */
:root {
    --primary: #2c6fbb;
    --dark: #1e5aa8;
    --light-bg: #f9f9f9;
    --text: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--text); 
    line-height: 1.6; 
    background-color: #fff; 
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.text-center { text-align: center; }

/* --- HEADER --- */
header { 
    background: white; 
    padding: 1rem 0; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

header .container { display: flex; justify-content: space-between; align-items: center; }

/* --- SECTION LOGO --- */
.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 70px;    /* C'est la taille idéale pour que le logo soit lisible */
    width: auto;     /* Important : garde les proportions de l'image */
    display: block;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02); /* Petit effet de zoom très pro au survol */
}

/* Ajustement pour le menu mobile */
@media (max-width: 768px) {
    .site-logo {
        height: 50px; /* On réduit pour gagner de la place sur téléphone */
    }
}

header h1 { 
    color: var(--primary); 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 800; 
    font-size: 1.6rem; 
    letter-spacing: -1px;
}

nav ul { display: flex; list-style: none; gap: 1.5rem; }
nav a { 
    text-decoration: none; 
    color: var(--text); 
    font-weight: 600; 
    font-size: 0.95rem;
    transition: 0.3s; 
}

nav a:hover, nav a.active { color: var(--primary); }

/* --- HERO SECTION --- */
.hero { 
    background: linear-gradient(to right, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%), 
                url('hero-althena2.png') no-repeat center center; 
    background-size: cover;
    
    /* On augmente la hauteur minimale pour "déplier" l'image */
    min-height: 80vh; /* Utilise 80% de la hauteur de l'écran de l'utilisateur */
    
    padding: 60px 0; 
    display: flex;
    align-items: center;
    color: white;
}

.hero .container {
    /* On pousse tout le contenu vers la droite */
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: right;
}

.hero h2 { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 3rem; 
    color: white; /* On force en blanc sur l'image */
    max-width: 600px; /* On limite la largeur pour ne pas empiéter sur les visages à gauche */
}

.hero .subtitle { 
    color: #e0e7f1; 
    font-size: 1.4rem;
    max-width: 600px;
}

.objective-box {
    /* Positionnement à droite pour libérer les personnages à gauche */
    margin-left: auto; 
    margin-right: 0;
    max-width: 550px; 
    
    /* On enlève le fond blanc et la bordure pour la transparence totale */
    background: transparent; 
    border-left: none; 
    padding: 20px 0; /* Ajustement du padding */
    
    /* Texte en blanc */
    color: #ffffff;
    text-align: right; /* Aligné à droite comme le titre */
    
    /* Ombre portée sur le texte pour garantir la lisibilité sur l'image */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    
    box-shadow: none; /* On retire l'ombre du bloc car il est transparent */
}

.objective-box strong {
    color: #ffffff;
    border-bottom: 2px solid var(--primary); /* Soulignage discret du mot "Objectif" */
    padding-bottom: 2px;
}

/* Ajustement pour les mobiles (le texte reprend toute la largeur) */
@media (max-width: 768px) {
    .objective-box {
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* --- BOUTONS --- */
.btn-primary { 
    background: var(--primary); 
    color: white; 
    padding: 14px 28px; 
    border-radius: 8px; 
    text-decoration: none; 
    font-weight: bold; 
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover { background: var(--dark); transform: translateY(-2px); }

/* --- CONTENU --- */
.content { padding: 60px 0; }
.card { background: white; padding: 20px; }

h2, h3 { font-family: 'Montserrat', sans-serif; color: var(--primary); margin-bottom: 20px; }

.legal-list { margin-left: 20px; margin-bottom: 30px; }
.legal-list li { margin-bottom: 15px; padding-left: 10px; }

.info-box { background: #fdf9f4; padding: 25px; border-radius: 10px; border: 1px solid #faead6; }

/* --- SECTION CONTACT ÉLÉGANTE --- */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
}

.contact-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

/* Petite ligne subtile sous le titre */
.contact-section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary);
    margin: 15px auto 0;
}

.contact-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    flex: 1;
}

.contact-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 500;
}

/* Séparateur vertical fin */
.divider {
    width: 1px;
    height: 50px;
    background-color: #e0e0e0;
}

.contact-footer-note {
    margin-top: 50px;
    font-style: italic;
    color: #777;
    font-size: 0.95rem;
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .contact-flex {
        flex-direction: column;
        gap: 30px;
    }
    .divider {
        width: 50px;
        height: 1px;
    }
}

/* Protection du numéro (déjà configurée) */
.phone {
    user-select: none;
    cursor: default;
}

@media (max-width: 768px) {
    .hero {
        /* On change la position pour essayer de garder les visages au centre */
        background-position: 25% center !important; 
        
        /* On réduit la hauteur sur mobile pour éviter un trop gros zoom */
        min-height: 60vh !important;
        padding: 40px 0;
    }

    .hero h2 {
        font-size: 1.8rem !important; /* Texte plus petit pour ne pas tout masquer */
        text-align: center;
    }

    .hero .container {
        align-items: center !important; /* On recentre le texte sur mobile */
        text-align: center !important;
    }

    .objective-box {
        max-width: 100% !important;
        margin-top: 20px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.95); /* Moins transparent pour faciliter la lecture */
    }
}
.site-footer {
    padding: 40px 0;
    background-color: #ffffff; /* Fond blanc comme le reste */
    border-top: 1px solid #f0f0f0; /* Ligne de séparation très fine */
    text-align: center;
}

.seo-footer-text {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 0.8rem; /* Plus petit pour la discrétion */
    color: #b0b0b0; /* Gris clair pour ne pas attirer l'oeil, mais visible pour Google */
    line-height: 1.6;
    text-align: justify;
}

.seo-footer-text strong {
    color: #999; /* Les mots-clés sont légèrement plus foncés pour Google */
    font-weight: 500;
}

.copyright {
    font-size: 0.85rem;
    color: #666;
}
.cookie-notice {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #2c6fbb; /* Votre bleu Althena */
    color: white;
    text-align: center;
    padding: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    z-index: 1000;
    display: none; /* Masqué par défaut */
}

.cookie-btn {
    background: white;
    color: #2c6fbb;
    border: none;
    padding: 5px 15px;
    margin-left: 15px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}