/* =========================================
   1. VARIABLES & RESET GLOBAL
   ========================================= */
:root {
    --gold: #D4B866;
    --gold-dark: #b89a50;
    --dark: #1a1a1a;
    --gray-light: #f8f9fa;
    --gray-border: #e0e0e0;
    --text-main: #333;
    --text-muted: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: white;
}

a { text-decoration: none; }

/* =========================================
   2. NAVIGATION (TOP BAR & HEADER)
   ========================================= */
/* =========================================
   2. NAVIGATION (TOP BAR & HEADER)
   ========================================= */
.top-bar {
    background-color: var(--dark);
    color: white;
    padding: 8px 5%; /* Un peu moins de padding vertical pour rester fin */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    height: 45px; /* Hauteur fixe pour alignement propre */
}

/* Nouveau style pour le bouton Accès Adhérents */
.btn-intranet {
    background-color: rgba(255, 255, 255, 0.15); /* Fond semi-transparent */
    color: white !important; /* Force le blanc */
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-intranet:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white !important;
}

.top-bar .social-icons {
    display: flex;
    align-items: center;
}

.top-bar .social-icons i {
    /* Le style spécifique des icônes seules est géré, le bouton a son propre style */
    transition: color 0.3s;
}
.top-bar .social-icons > a > i:hover { color: var(--gold); } /* Pour l'icône LinkedIn seule */


/* ... [LE RESTE DU CSS (HEADER, HERO, ETC.) RESTE IDENTIQUE] ... */

/* Ajout Responsive pour la Top Bar */
@media (max-width: 768px) {
    .top-bar {
        justify-content: center; /* Centre le contenu sur mobile */
        height: auto;
        padding: 10px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .top-bar-text {
        display: none; /* Cache le texte "Groupement..." sur mobile pour gagner de la place */
    }
    
    .top-bar .social-icons {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
}
.logo span { color: var(--gold); }

nav ul {
    display: flex;
    list-style: none;
}
nav ul li { margin: 0 15px; }

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: color 0.3s;
}
nav ul li a:hover { color: var(--gold); }

.btn-rdv {
    background-color: var(--gold);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
}
.btn-rdv:hover {
    background-color: transparent;
    color: var(--gold);
}

/* =========================================
   3. HERO SECTION (VIDEO & BIG TITLE)
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 90vh; 
    color: #ffffff;
    text-align: center;
    padding-top: 15vh;
    padding-bottom: 50px;
    overflow: hidden;
    background-color: #000;
    font-family: 'Poppins', sans-serif;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; 
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem; 
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--gold);
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9);
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 40px 0;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.main-title span { color: var(--gold); }

.btn-main {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--gold);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 184, 102, 0.4);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-main:hover {
    background-color: #ffffff;
    color: var(--gold);
    transform: translateY(-3px);
}

.hero-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* ... [TOUT LE DÉBUT DU CSS RESTE INCHANGÉ] ... */

/* =========================================
   4. SECTION PRESSE (CARTE 3 COLONNES - CORRIGÉ MOBILE)
   ========================================= */
.press-section {
    padding: 60px 5%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.press-card {
    display: flex; 
    flex-wrap: wrap; /* Permet le retour à la ligne si besoin */
    align-items: center; 
    justify-content: space-between;
    gap: 30px; 
    border: 1px solid var(--gray-border); 
    border-radius: 12px; 
    padding: 30px; 
    background-color: #ffffff; 
    max-width: 1100px; 
    width: 100%;
    box-sizing: border-box; /* Important pour ne pas déborder */
}

/* Colonne Logo */
.press-col-logo {
    flex: 0 0 150px; /* Largeur fixe sur PC */
    text-align: center;
}

.press-col-logo img {
    max-width: 150px; /* Taille max explicite pour le logo */
    width: 100%;      /* S'adapte si le conteneur rétrécit */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Colonne Texte */
.press-col-text {
    flex: 1; /* Prend la place restante */
    min-width: 280px; /* Largeur mini avant de passer à la ligne */
    text-align: left;
}

.press-tag {
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.press-col-text h2 {
    font-size: 1.4em;
    color: var(--gold);
    margin: 5px 0 15px 0;
    line-height: 1.3;
}

.press-desc {
    color: #555;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.press-cta {
    text-align: center; /* Bouton centré dans la colonne texte */
}

/* Colonne Image Droite */
.press-col-img {
    flex: 0 0 auto;
    text-align: center;
}

.press-col-img img {
    max-width: 250px; /* Taille max explicite pour l'illustration */
    width: 100%;      /* Responsive en dessous de 250px */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: block;
}

.btn-actu {
    display: inline-block; 
    padding: 10px 25px; 
    background: var(--gold); 
    color: white; 
    border-radius: 6px; 
    font-weight: 600; 
    font-size: 0.9em; 
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-actu:hover {
    background-color: var(--gold-dark);
    transform: translateY(-1px);
}

/* --- RESPONSIVE SPÉCIFIQUE PRESSE --- */
@media (max-width: 992px) {
    .press-card {
        flex-direction: column; /* Empile tout verticalement */
        text-align: center;
        padding: 20px;
    }

    .press-col-logo {
        width: 100%; /* Prend toute la largeur */
        margin-bottom: 10px;
        flex: auto; /* Reset du flex fixe */
    }
    
    .press-col-logo img {
        max-width: 120px; /* Logo plus petit sur mobile */
    }

    .press-col-text {
        text-align: center; /* Centre le texte sur mobile */
        width: 100%;
    }

    .press-col-img {
        width: 100%;
        margin-top: 10px;
    }

    .press-col-img img {
        margin: 0 auto; /* Centre l'image */
        max-width: 100%; /* S'adapte à l'écran */
        width: auto;
        max-height: 200px; /* Limite la hauteur sur mobile */
    }
}

/* ... [LA SUITE DU CSS RESTE INCHANGÉE] ... */

/* =========================================
   5. SECTION ECOSYSTEME (CAROUSEL)
   ========================================= */
.ecosystem-section {
    background-color: #ffffff; 
    padding: 60px 0; 
    width: 100%;
}

.ecosystem-header {
    max-width: 1000px; 
    margin: 0 auto; 
    text-align: center; 
    padding: 0 20px;
}

.coverflow-section {
    width: 100%;
    padding: 20px 0;
    background: transparent; 
    overflow: hidden;
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 340px;
    height: 440px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: box-shadow .3s ease;
}

.card-logo-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #fff;
    height: 50%;
}
.card-logo-area img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.card-text-area {
    padding: 20px 25px;
    background-color: #fff;
    text-align: center;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.card-text-area h4 {
    font-size: 1.2em;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px 0;
}
.card-text-area p {
    font-size: 0.85em;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.swiper-button-next, .swiper-button-prev { color: var(--gold); }

/* =========================================
   6. CTA BANNER & FOOTER (VOTRE CODE INTÉGRÉ)
   ========================================= */
.cta-banner {
    background: linear-gradient(to right, var(--dark), #333);
    color: white;
    padding: 80px 10%;
    text-align: center;
}
.cta-banner h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Variante CTA Gold pour alternance de couleurs */
.cta-banner.cta-gold {
    background: linear-gradient(to right, var(--gold), #dcb95a);
    color: white;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.cta-banner.cta-gold .btn-main:hover {
    background-color: var(--dark) !important;
    color: var(--gold) !important;
}

/* Base Footer (Votre code) */
footer {
    background-color: white;
    padding: 80px 10% 40px 10%;
    border-top: 1px solid var(--gray-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h5 {
    font-size: 1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: var(--dark);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
    text-decoration: none;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
    padding-top: 30px;
    align-items: center;
    border-top: 1px solid var(--gray-border);
    display: flex;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   6. CTA BANNER & FOOTER (Modif bouton)
   ========================================= */

/* ... (Les styles précédents de CTA et Footer restent identiques) ... */

.fab-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--gold);
    color: white;
    
    /* MODIFICATION ICI : Taille réduite */
    width: 50px;  /* était 60px */
    height: 50px; /* était 60px */
    
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* MODIFICATION ICI : Taille icône adaptée */
    font-size: 1.2rem; /* était 1.5rem */
    
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}
.fab-contact:hover {
    transform: scale(1.1);
    background-color: var(--dark);
}

/* --- AJOUTS POUR LA VERSION MONTAGNE DU FOOTER (SURCOUCHE) --- */
/* Ces styles ne s'appliquent que si la classe footer-mountain est présente */

footer.footer-mountain {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('/img/arp-montagne.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0; /* Reset padding for internal structure */
}

/* Réglages couleurs spécifiques Montagne */
footer.footer-mountain .footer-content {
    padding: 60px 5% 40px 5%; /* Restore padding inside content */
}

footer.footer-mountain .footer-col h5 { color: var(--gold); }
footer.footer-mountain .footer-col ul li a { color: #ccc; }
footer.footer-mountain .footer-col ul li a:hover { color: var(--gold); }
footer.footer-mountain .footer-bottom {
    background-color: rgba(0,0,0,0.6);
    color: #777;
    padding: 20px 5%;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Newsletter spécifique Montagne */
.footer-top {
    background-color: transparent;
    padding: 50px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-newsletter-text h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.footer-newsletter-text p {
    color: #ddd;
    max-width: 600px;
    margin: 0;
}

.footer-newsletter-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: flex-end;
}
.newsletter-input {
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    width: 100%;
    flex: 1;
}

/* Mentions légales bas Montagne */
.footer-bottom-legal {
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.3);
    text-align: center;
    color: #999;
    font-size: 0.8rem;
    line-height: 1.5;
}
.footer-bottom-legal strong { color: white; }

/* Social Icons Footer */
.footer-social { margin-top: 20px; }
.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: white;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}
.footer-social a:hover {
    transform: translateY(-3px);
    background-color: var(--gold);
    border-color: var(--gold);
}


/* =========================================
   7. RESPONSIVE (SUITE)
   ========================================= */
@media (max-width: 992px) {
    nav, .top-bar { display: none; }
    .main-title { font-size: 2.2rem; }
    .hero { padding-top: 120px; }
    .hero h1 { font-size: 1.6rem; letter-spacing: 1px; }
    
    .footer-top { flex-direction: column; text-align: center; }
    .footer-newsletter-form { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 400px) {
    .swiper-slide { width: 280px; height: 400px; }
}


/* =========================================
   8. SECTION OUTILS & VIDÉO (CORRIGÉ)
   ========================================= */
.tools-section {
    padding: 100px 5%;
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.tools-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 184, 102, 0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.tools-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tools-content {
    flex: 1;
    min-width: 320px;
}

.tools-content h3 {
    color: var(--gold);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 700;
    display: inline-block;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 5px;
}

.tools-content h2 {
    font-size: 2.2em; 
    color: #333333; 
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 700; 
}

.tools-content p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tools-features {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tools-features li {
    background: white;
    position: relative; 
    padding: 20px 25px 20px 90px; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    min-height: 85px; 
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: block; 
    color: var(--text-muted);
    line-height: 1.5;
}

.tools-features li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: rgba(212, 184, 102, 0.3);
}

.tools-features li i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%); 
    color: var(--gold);
    font-size: 1.4rem;
    background: rgba(212, 184, 102, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tools-features li strong {
    display: block; 
    color: var(--dark);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px; 
}

.tools-video-wrapper {
    flex: 1;
    min-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background-color: #000;
    border: 8px solid white; 
    box-shadow: 0 25px 60px rgba(0,0,0,0.15); 
}

.tools-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.tools-video-wrapper:hover video {
    transform: scale(1.02);
}

/* =========================================
   9. SECTION CHIFFRES CLÉS (COUNTERS)
   ========================================= */
.stats-section {
    padding: 60px 5%;
    background-color: var(--dark); 
    color: white;
    display: flex;
    justify-content: space-around; 
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2; 
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 3.5rem; 
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e0e0e0;
    font-weight: 500;
}

/* =========================================
   10. SECTION BÉNÉFICES (TOGGLE)
   ========================================= */
.benefits-section {
    padding: 80px 5%;
    background-color: var(--dark); /* Fond noir identique aux stats */
    color: white;
    text-align: center;
}

.benefits-header h3 {
    color: var(--gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.benefits-header h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 40px;
}

/* Grilles de cartes */
.benefits-grid {
    display: none; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.benefits-grid.active {
    display: grid; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Style des Cartes (Version Blanche CORRIGÉE) */
.benefit-card {
    background: #ffffff;       /* Fond blanc */
    border: 1px solid #e0e0e0; /* Bordure grise claire pour délimiter */
    padding: 40px 30px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
}

.benefit-card h4 {
    color: #1a1a1a;            /* Titre en noir */
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-desc {
    color: #333333;            /* Description en gris foncé */
    font-size: 1rem;
    margin-bottom: 25px;
    min-height: 50px;
}

.benefit-card ul {
    list-style: none; /* Pas de puces par défaut, géré par les icônes */
    padding: 0;
}

.benefit-card ul li {
    color: #444444;            /* Texte liste en gris foncé */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

/* On garde l'icône en doré */
.benefit-card ul li i {
    color: var(--gold);
    margin-right: 10px;
    font-size: 0.8rem;
}

/* =========================================
   11. RESPONSIVE FINAL (Pour tout ce qui précède)
   ========================================= */
@media (max-width: 992px) {
    /* Outils */
    .tools-container {
        flex-direction: column;
        gap: 50px;
    }
    .tools-content { text-align: center; }
    .tools-content h3 { border-bottom: none; }
    .tools-features li { text-align: left; }
    
    /* Stats */
    .stats-section {
        flex-direction: column;
        gap: 30px;
        padding: 40px 5%;
    }
}

/* =========================================
   12. SECTION COURTAGE (NOUVEAU)
   ========================================= */

.broker-section {
    padding: 100px 5%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--gray-border);
}

.broker-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start; /* Important pour le sticky */
    gap: 80px;
    position: relative;
}

/* --- COLONNE GAUCHE (TEXTE) --- */
.broker-content {
    flex: 1;
    min-width: 300px;
}

.broker-main-title {
    font-size: 2.5rem;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 25px;
    position: relative;
}

/* Petite ligne dorée sous le titre principal */
.broker-main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    margin-top: 15px;
    border-radius: 2px;
}

.broker-intro {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 30px;
}

.broker-intro strong {
    color: var(--gold);
    font-weight: 700;
}

.broker-cta {
    margin-bottom: 40px;
}

.broker-separator {
    height: 1px;
    background-color: var(--gray-border);
    margin: 40px 0;
    width: 100%;
}

/* Blocs de contenu détaillés */
.broker-block {
    margin-bottom: 40px;
}

.broker-block h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.broker-block h3 i {
    color: var(--gold);
    margin-right: 12px;
    font-size: 1.1rem;
    background: rgba(212, 184, 102, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.broker-block p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    padding-left: 50px; /* Aligné avec le texte du titre (pas l'icone) */
}

.broker-cta-bottom {
    margin-top: 20px;
    background-color: var(--dark); /* Variante sombre pour le bouton du bas */
    border: 2px solid var(--dark);
}
.broker-cta-bottom:hover {
    background-color: transparent;
    color: var(--dark);
}

/* --- COLONNE DROITE (IMAGE STICKY) --- */
.broker-image-wrapper {
    flex: 1;
    position: sticky; /* L'image suit le scroll ! */
    top: 100px; /* S'arrête à 100px du haut de l'écran */
    height: auto;
    /* CORRECTION ICI : On enlève overflow: hidden pour que le badge puisse dépasser */
    /* overflow: hidden;  <-- Supprimé */
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.broker-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    /* CORRECTION : On applique l'arrondi sur l'image directement */
    border-radius: 12px;
}

.broker-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Badge Flottant "100% Indépendant" */
.image-badge {
    position: absolute;
    bottom: 30px;
    left: -20px; /* Déborde un peu sur la gauche pour le style */
    background-color: var(--gold);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10; /* S'assure qu'il est bien au-dessus */
}

.badge-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* --- RESPONSIVE DE LA SECTION COURTAGE --- */
@media (max-width: 992px) {
    .broker-container {
        flex-direction: column; /* L'image passe en dessous ou au dessus */
        gap: 50px;
    }

    .broker-image-wrapper {
        position: relative; /* Plus de sticky sur mobile */
        top: 0;
        width: 100%;
        order: -1; /* Optionnel : mettre l'image au dessus du texte */
    }

    .image-badge {
        left: 20px; /* Remettre le badge à l'intérieur sur mobile */
        bottom: 20px;
    }

    .broker-block p {
        padding-left: 0; /* Enlever le retrait sur mobile pour gagner de la place */
    }
}

/* =========================================
   13. SECTION FAQ
   ========================================= */
.faq-section {
    padding: 100px 5%;
    background-color: var(--gray-light); /* Fond gris clair pour alterner */
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
}

/* Colonne Gauche (Texte) */
.faq-left {
    flex: 1;
    min-width: 300px;
    position: sticky;
    top: 120px; /* Sticky pour que le titre suive si la FAQ est longue */
}

.faq-left h3 {
    color: var(--gold);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-left h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.faq-left p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.faq-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
}

.faq-features li i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Colonne Droite (Accordéon) */
.faq-right {
    flex: 1.5; /* Plus large que la colonne de gauche */
    min-width: 320px;
}

.accordion-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.accordion-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.accordion-item.active {
    border-color: var(--gold); /* Bordure dorée quand ouvert */
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    padding-right: 20px;
}

.accordion-item.active .question-text {
    color: var(--gold); /* Titre doré quand ouvert */
}

.accordion-header .icon {
    width: 30px;
    height: 30px;
    background: var(--gray-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-header .icon {
    background: var(--gold);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: white;
}

.content-inner {
    padding: 0 25px 25px 25px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.content-inner strong {
    color: var(--dark);
    font-weight: 600;
}

/* --- RESPONSIVE DE LA SECTION FAQ --- */
@media (max-width: 992px) {
    .faq-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .faq-left {
        position: relative;
        top: 0;
        text-align: center;
    }

    .faq-features li {
        justify-content: center;
        text-align: left;
    }
    
    .accordion-header {
        padding: 15px 20px;
    }
}

/* =========================================
   14. SECTION CONTACT (MODIFIÉ)
   ========================================= */
.contact-section {
    padding: 100px 5%;
    background-color: #ffffff;
    position: relative;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px; 
    flex-wrap: wrap;
}

/* --- COLONNE GAUCHE : FORMULAIRE --- */
.contact-form-col {
    flex: 1.2; 
    min-width: 300px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    color: var(--gold);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.ec-form .form-row {
    display: flex;
    gap: 20px;
}

.ec-form .form-group {
    margin-bottom: 20px;
    width: 100%;
}

.ec-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.ec-form input, 
.ec-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.ec-form input:focus, 
.ec-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 184, 102, 0.1);
}

.btn-main.full-width {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

/* --- COLONNE DROITE : INFOS & VISUELS --- */
.contact-info-col {
    flex: 0.8; 
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Image en haut à droite */
.contact-image-wrapper {
    width: 100%;
    /* CORRECTION ICI : On retire la hauteur fixe de 250px */
    /* On utilise un ratio carré (1/1) pour forcer le carré */
    aspect-ratio: 1 / 1; 
    max-width: 400px; /* Limite la taille pour ne pas être géant sur grand écran */
    margin: 0 auto; /* Centre l'image si elle est plus petite que la colonne */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le carré sans déformer l'image */
    transition: transform 0.5s ease;
}

.contact-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Liste des coordonnées */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 10px 0;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-detail-item .icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    text-decoration: none; /* Ajout pour que le lien soit propre */
    cursor: pointer;
}

.contact-detail-item:hover .icon-box {
    transform: scale(1.1);
    background-color: var(--gold);
    color: white;
}

.contact-detail-item h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 3px;
    font-weight: 700;
}

.contact-detail-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Bloc Réseaux Sociaux */
.social-block {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-block h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 600;
}

.linkedin-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #0077b5; /* Bleu LinkedIn officiel */
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 119, 181, 0.3);
}

.linkedin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 119, 181, 0.4);
    background-color: #005e93;
}

/* Responsive Formulaire */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .contact-form-col, .contact-info-col {
        flex: 1;
        width: 100%;
    }

    /* Sur mobile, on peut réduire un peu la taille de l'image carrée */
    .contact-image-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .ec-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form-col {
        padding: 25px;
    }
}

/* =========================================
   15. SECTION ACTUALITÉS (NOUVEAU)
   ========================================= */
.news-section {
    padding: 100px 5%;
    background-color: #f9f9f9;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-header h3 {
    color: var(--gold);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.news-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}

.news-content h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.news-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--gold-dark);
}

.news-footer {
    text-align: center;
    margin-top: 50px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--dark);
    color: white;
}

/* =========================================
   16. PAGE À PROPOS - STYLES SPÉCIFIQUES
   ========================================= */

/* Ajustement Hero plus petit pour les pages internes */
.hero.small-hero {
    min-height: 60vh;
    padding-top: 150px;
}

/* --- Section Intro (Split) --- */
.about-intro-section {
    padding: 100px 5%;
    background-color: #fff;
}

.container-split {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.txt-col, .img-col {
    flex: 1;
    min-width: 300px;
}

.img-col img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0px var(--gold-dark); /* Effet graphique décalé */
}

.txt-col h3 {
    color: var(--gold);
    font-size: 0.9em;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.txt-col h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.check-list {
    list-style: none;
    margin-top: 30px;
    padding: 0;
}

.check-list li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.check-list li i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.2rem;
    background: rgba(212, 184, 102, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* --- Section Timeline (Chronologie) --- */
.timeline-section {
    padding: 100px 5%;
    /* Image de fond avec superposition NOIRE (mise à jour selon demande) */
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/img/arp-montagne.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    position: relative;
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

/* Couleurs spécifiques pour le fond noir */
.timeline-section .section-header h3 {
    color: var(--gold);
}

.timeline-section .section-header h2 {
    color: white;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Ligne centrale */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* Cercles sur la ligne */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--dark);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 28px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 28px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right::after { left: -10px; }

.timeline-item .content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-item .date {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.timeline-item h4 {
    margin-bottom: 10px;
    color: var(--dark);
}

/* Responsive Timeline */
@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .right { left: 0%; }
    .left::before, .right::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
}

/* --- Section Why Us (Cartes) --- */
.why-us-section {
    padding: 100px 5%;
    background: white;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-box .icon-wrapper {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.feature-box h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

/* --- Section Values (Noir & Or) --- */
.values-section {
    padding: 80px 5%;
    background-color: var(--dark);
    color: white;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
}

.values-text {
    flex: 1;
    min-width: 300px;
}

.values-text h3 {
    color: var(--gold);
    font-size: 0.9em;
    letter-spacing: 2px;
}

.values-text h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    line-height: 1.2;
}

.values-list {
    flex: 1.5;
    min-width: 300px;
}

.value-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.value-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.value-icon {
    font-size: 2rem;
    color: var(--gold);
    min-width: 50px;
}

.value-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.value-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   17. VARIANTES CTA
   ========================================= */

/* Variante dorée pour alterner après une section sombre */
.cta-banner.cta-gold {
    background: linear-gradient(to right, var(--gold), #dcb95a); /* Dégradé doré subtil */
    color: white;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.cta-banner.cta-gold h2 {
    color: white; /* Force le texte en blanc sur le doré */
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Le bouton reste blanc (défini inline dans le HTML), mais on peut ajouter un survol spécifique ici si besoin */
.cta-banner.cta-gold .btn-main:hover {
    background-color: var(--dark) !important; /* Devient noir au survol */
    color: var(--gold) !important;
}

/* =========================================
   18. PAGE ÉQUIPE - STYLES SPÉCIFIQUES
   ========================================= */

/* Intro */
.team-intro {
    padding: 80px 5% 40px 5%;
    background: #fff;
}

/* Grille des membres (Alternée) */
.team-grid-section {
    padding: 40px 5% 80px 5%;
    background: #fff;
}

.team-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px; /* Espace entre chaque membre */
}

.team-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fff;
}

/* Astuce CSS pour inverser une carte sur deux */
.team-card.reverse {
    flex-direction: row-reverse;
}

.team-img {
    flex: 1;
    min-width: 300px;
    display: flex;             /* Ajout pour centrer l'image dans sa colonne */
    justify-content: center;   /* Ajout pour centrer l'image dans sa colonne */
}

.team-img img {
    width: 100%;
    max-width: 350px;      /* Limite la largeur pour ne pas avoir des visages géants */
    aspect-ratio: 1 / 1;   /* Force l'image à être carrée */
    object-fit: cover;     /* Recadre l'image sans la déformer */
    border-radius: 50%;    /* Rend l'image parfaitement ronde */
    /* Ombre décalée dorée pour le style */
    box-shadow: 15px 15px 0 var(--gold); 
}

/* Variante d'ombre pour les cartes inversées */
.team-card.reverse .team-img img {
    box-shadow: -15px 15px 0 var(--gold);
}

.team-info {
    flex: 1.2;
}

.team-info h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.team-info .role {
    display: block;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    display: inline-block;
}

.team-info p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Piliers (4 colonnes) */
.pillars-section {
    padding: 80px 5%;
    background: var(--gray-light);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--gold);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-card h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.pillar-card .subtitle {
    display: block;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Formulaire de Rappel (Fond sombre) */
.callback-section {
    padding: 80px 5%;
    background-color: var(--dark);
    color: white;
}

.callback-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
    flex-wrap: wrap;
}

.callback-text {
    flex: 1;
    min-width: 300px;
}

.callback-text h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.callback-form-wrapper {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    color: var(--text-main); /* On remet le texte en noir dans le form blanc */
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 20px;
    margin-top: 10px;
    line-height: 1.4;
}

/* Responsive Equipe */
@media (max-width: 992px) {
    .team-card, .team-card.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .team-info .role {
        display: inline-block;
    }

    .callback-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* =========================================
   19. UTILITAIRES & FIXES
   ========================================= */

/* Classe pour ajouter de l'espace en haut des pages sans Hero (ex: Contact) */
/* Compense la hauteur du header fixe (~100px) + un peu d'espace */
.section-top-padding {
    padding-top: 140px !important;
}

/* Ajustement responsive pour le padding top */
@media (max-width: 992px) {
    .section-top-padding {
        padding-top: 120px !important;
    }
}

/* =========================================
   20. PAGE ACTUALITÉS - STYLES SPÉCIFIQUES
   ========================================= */

.news-feed-section {
    padding: 80px 5%;
    background-color: #f9f9f9;
    min-height: 600px;
}

/* Filtres */
.news-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
    box-shadow: 0 4px 10px rgba(212, 184, 102, 0.3);
}

/* Grille (Réutilisation et adaptation de .news-grid existant) */
/* On s'assure que la grille prend toute la largeur disponible */
.news-feed-section .news-grid {
    margin-bottom: 60px;
}

/* Bouton Charger Plus */
.load-more-container {
    text-align: center;
    margin-top: 20px;
}

/* Ajustement responsive filtres */
@media (max-width: 768px) {
    .news-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* =========================================
   21. PAGE ARTICLE SEUL (SINGLE)
   ========================================= */
.article-single-section {
    padding: 120px 5% 80px 5%; /* Padding haut important pour le header fixe */
    background-color: #fff;
}

.article-container {
    max-width: 800px; /* Largeur réduite pour une meilleure lecture */
    margin: 0 auto;
}

/* Image de couverture */
.article-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* En-tête de l'article */
.article-header-content {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.article-meta {
    display: inline-flex;
    gap: 20px;
    color: #999;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.article-meta i {
    color: var(--gold);
    margin-right: 5px;
}

.article-title {
    font-size: 2.5rem;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* Corps du texte */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 25px;
}

.article-body strong {
    color: var(--dark);
    font-weight: 700;
}

/* --- STYLES POUR L'INTÉGRATION DE MÉDIAS (NOUVEAU) --- */

/* 1. Images standards dans le texte */
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 2. Conteneur Vidéo Responsive (Youtube, MP4...) */
/* Utilisation : <div class="article-video-container"><video...></div> */
.article-video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 standard */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 12px;
    margin: 30px 0;
    background: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-video-container iframe, 
.article-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. Galerie Photos (Grille) */
/* Utilisation : <div class="article-gallery-grid"><img...><img...></div> */
.article-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* S'adapte auto */
    gap: 20px;
    margin: 30px 0;
}

.article-gallery-grid img {
    width: 100%;
    height: 200px; /* Hauteur uniforme pour la grille */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    margin: 0; /* On annule la marge par défaut des images seules */
    cursor: pointer;
}

.article-gallery-grid img:hover {
    transform: scale(1.02); /* Petit zoom au survol */
}

/* Navigation bas de page */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .article-cover {
        height: 250px;
    }
    .article-title {
        font-size: 2rem;
    }
    .article-gallery-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
    }
}
/* =========================================
   22. PAGE MENTIONS LÉGALES
   ========================================= */
.legal-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.legal-container {
    max-width: 900px; /* Largeur optimale pour la lecture de texte long */
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: 700;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify; /* Justifié pour un aspect document officiel */
}

.legal-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 10px;
    list-style-type: disc;
    color: var(--text-main);
    line-height: 1.6;
}

.legal-content a {
    color: var(--gold);
    text-decoration: underline;
    transition: color 0.3s;
}

.legal-content a:hover {
    color: var(--gold-dark);
}

/* Responsive Mentions Légales */
@media (max-width: 768px) {
    .legal-content h2 {
        font-size: 1.5rem;
    }
    .legal-content p {
        text-align: left; /* Plus lisible sur mobile */
    }
}
/* =========================================
   23. PAGE 404 (ERREUR)
   ========================================= */
.error-section {
    min-height: 80vh; /* Prend presque toute la hauteur */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    text-align: center;
    padding: 100px 5%;
}

.error-container {
    max-width: 600px;
}

.error-code {
    font-size: 8rem; /* Très grand */
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}

.error-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.error-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}
/* =========================================
   24. MENU MOBILE (STYLES)
   ========================================= */

/* Bouton Burger (Caché sur PC) */
.burger-menu {
    display: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
}

/* Overlay Menu Mobile (Caché par défaut) */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Caché à droite */
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-nav-overlay.active {
    right: 0; /* Visible */
}

/* En-tête du menu mobile */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark);
    cursor: pointer;
}

/* Liens du menu mobile */
.mobile-nav-links {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-links li a {
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.mobile-nav-links li a:hover {
    color: var(--gold);
}

/* MODIFICATION : Alignement des boutons dans le menu mobile */
.mobile-nav-cta {
    display: flex;
    flex-direction: column;
}

/* On s'assure que les boutons ont la même largeur et le même style de base */
.mobile-nav-cta .btn-main, 
.mobile-nav-cta .btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    font-size: 1rem;
    border-radius: 50px; /* Arrondi uniforme */
    box-sizing: border-box;
}

/* Style spécifique pour le bouton secondaire (Accès Adhérents) dans le menu mobile */
.mobile-nav-cta .btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    font-weight: 700;
    margin: 0; /* Reset des marges précédentes */
}

.mobile-nav-cta .btn-secondary:hover {
    background-color: var(--dark);
    color: white;
}

/* Empêcher le scroll quand le menu est ouvert */
body.no-scroll {
    overflow: hidden;
}

/* =========================================
   25. RESPONSIVE NAVIGATION (MISE À JOUR)
   ========================================= */

@media (max-width: 992px) {
    /* ... (Code Responsive inchangé) ... */
    /* Cacher le menu et le bouton RDV version PC */
    .desktop-nav, 
    .desktop-only { 
        display: none !important; 
    }
    
    /* Afficher le bouton Burger */
    .burger-menu {
        display: block;
    }

    /* Ajustements Header Mobile */
    header {
        justify-content: space-between;
        padding: 15px 20px;
    }

    /* Ajustements Top Bar Mobile */
    .top-bar {
        justify-content: center;
        height: auto;
        padding: 10px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .top-bar-text {
        display: none; 
    }
    
    .top-bar .social-icons {
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
}


/* =========================================
   26. BOUTON SCROLL TOP (NOUVEAU)
   ========================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 95px; /* Juste au-dessus du bouton contact (50px hauteur + 30px bottom + 15px marge) */
    right: 30px; /* Centré par rapport au bouton contact (30px + (50-40)/2) */
    width: 50px;
    height: 50px;
    background-color: #D4B866; /* Gris foncé semi-transparent */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998; /* Juste en dessous du menu mobile et contact */
    font-size: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}


/* ======================================================
   PAGE : DEVENIR COURTIER INDÉPENDANT
   ====================================================== */

.courtier-hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)),
              url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?q=80&w=2071&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  color: white;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
  padding: 90px 0 110px;
}

.courtier-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.courtier-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin: 0 0 12px;
}

.courtier-hero p {
  margin: 0;
  max-width: 720px;
  opacity: 0.95;
}

.courtier-intro {
  padding: 56px 0;
  text-align: left;
}

.courtier-intro-text {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 900px;
  margin: 0;
}

.courtier-intro-highlight {
  border-left: 4px solid var(--gold);
  padding-left: 22px;
  margin: 26px 0 0;
  font-style: italic;
  font-size: 1.1rem;
}

.courtier-block {
  padding: 56px 0;
}

.courtier-grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: start;
}

.courtier-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.courtier-list li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
}

.courtier-list li i {
  color: var(--gold);
  margin-right: 12px;
  margin-top: 5px;
}

.courtier-media {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.courtier-accompagnement {
  background-color: var(--dark);
  color: white;
  padding: 72px 0;
}

.courtier-accompagnement h2 { 
  color: white; 
}

.courtier-slogan {
  background-color: rgba(255,255,255,0.05);
  padding: 34px;
  text-align: center;
  border: 1px dashed var(--gold);
  margin: 0 auto 42px;
  max-width: 980px;
}

.courtier-slogan strong {
  color: var(--gold);
  font-weight: 700;
}

.courtier-cta {
  padding: 72px 0;
  text-align: center;
  background-color: var(--gray-light);
}

.courtier-btn {
  background-color: var(--gold);
  color: white;
  padding: 18px 40px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 6px;
  display: inline-block;
  transition: transform 0.25s;
}

.courtier-btn:hover { 
  transform: translateY(-4px); 
}

/* Responsive */
@media (max-width: 980px){
  .courtier-hero { 
    padding: 70px 0 90px; 
  }
  .courtier-grid-2 { 
    grid-template-columns: 1fr; 
  }
  .courtier-media { 
    max-height: 320px; 
  }
}
