:root {
    --dark-blue: #1D3A5D;
    --inov-cyan: #5EB5B2;
    --deep-navy: #0f172a;
    --gold: #D4AF37;
    --white: #ffffff;
    --bg-image: url('fond-ardoise.webp');
    --bg-fallback: #f1f5f9;
    --error-red: #e74c3c;
    --danger: #e74c3c;
}

* { 
    box-sizing: border-box; 
}
img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   STYLES GLOBAUX DU BODY
   ========================================================================== */
body { 
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    color: var(--dark-blue); 
    margin: 0; 
    line-height: 1.6; 
    background-image: var(--bg-image);
    background-size: cover; 
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body:has(.legal-wrapper), 
body:has(.intro-section) {
    background-position: center;
}

body:has(.form-box) {
    background: var(--bg-fallback) url('fond-contact.webp') no-repeat center center fixed;
    background-size: cover;
}

body:has(.error-card), 
body:has(.thank-you-card),
body:has(.card-404) {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-fallback) url('fond-contact.webp') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
    position: relative;
}

/* --- EXCEPTION POUR LA PAGE 404 --- */
body:has(.card-404) {
    display: grid !important;
    place-items: center;
    overflow-y: auto !important; /* On autorise le défilement uniquement ici */
    padding: 15px !important;
}
.card-404 {
    padding: 30px 20px !important; 
    max-height: 95vh; /* Force la carte à ne pas dépasser la taille de l'écran */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-404 .error-icon {
    font-size: 2.5rem !important; /* Icône un peu plus petite */
    margin-bottom: 10px !important;
}

.card-404 h1 {
    font-size: 1.4rem !important;
    margin-bottom: 10px !important;
}

.card-404 p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
}

.card-404 .contact-backup {
    padding: 12px !important;
    margin-bottom: 15px !important;
}

.card-404 .btn-home {
    padding: 14px 20px !important;
    font-size: 0.8rem !important;
    margin-top: 5px !important;
}

/* ==========================================================================
   HEADER ET NAVIGATION (Commun)
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 5%;
    background: var(--white); /* Fond blanc opaque pour cacher le cadre du logo */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
}

/* --- Le dégradé flou accroché SOUS la barre blanche --- */
header::after {
    content: '';
    position: absolute;
    top: 100%; /* S'attache juste en dessous du header */
    left: 0;
    width: 100%;
    height: 15px; /* Épaisseur de la transition floue */
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.logo-img { 
    height: 80px; 
    width: auto; 
}

nav ul { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; }
nav a { 
    text-decoration: none; 
    color: var(--dark-blue); 
    font-weight: 600; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
    padding-bottom: 5px;
}
nav a:hover, nav a.active { color: var(--gold); }
nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

body:has(.form-box) nav a.active::after {
    bottom: -5px; /* Ajustement spécifique pour la page contact */
}
/* Style du bouton burger (Caché sur ordinateur) */
.burger-menu {
    display: none; /* On le cache par défaut */
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Pour qu'il reste cliquable au-dessus du menu ouvert */
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--dark-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   FOOTER (Commun)
   ========================================================================== */
/* ==========================================================================
   FOOTER (Effet Carte Flottante 100% CSS)
   ========================================================================== */
.site-footer { 
    position: relative; 
    padding: 30px 5% 30px; 
    text-align: center; 
    background: transparent; 
    border: none;
    z-index: 1;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 15px; 
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 800px; 
    height: calc(100% - 165px); 
    background: #f8fafc;
    border-radius: 70px 10px 70px 10px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 5px solid var(--gold);
    border-top: 5px solid var(--inov-cyan); 
    z-index: -1; 
}

@media (max-width: 768px) {
    .site-footer::before { 
        height: calc(100% - 210px); 
        border-radius: 50px 10px 50px 10px; 
    }
    .footer-bottom {
        padding-top: 75px;
    }
}
.footer-logo { font-size: 1.6rem; font-weight: 800; color: var(--dark-blue); margin-bottom: 12px; letter-spacing: -1px; text-shadow: none; }
.footer-logo span { color: var(--inov-cyan); text-shadow: none; }

.footer-tagline { font-size: 0.9rem; margin-bottom: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
/* On supprime les ombres de tes textes pour que ça soit net sur le fond blanc */
.footer-tagline .legibilite-or, .footer-tagline .legibilite-cyan { text-shadow: none !important; }

.site-footer .footer-links { display: flex; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.footer-links a { color: var(--dark-blue); text-decoration: none; margin: 0 15px; font-size: 0.85rem; font-weight: 700; transition: 0.3s; text-shadow: none; }
.footer-links a:hover { color: var(--gold); transform: translateY(-2px); }
.footer-bottom { 
    font-size: 0.85rem; 
    color: var(--white); 
    border-top: none; 
    padding-top: 50px; 
    max-width: 650px; 
    margin: 0 auto; 
    line-height: 1.8; 
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9); 
}
.footer-bottom span {
    color: var(--gold) !important; 
    opacity: 1 !important; 
    font-weight: 600; 
}
.footer-bottom span i {
    color: var(--gold) !important;
}

/* ==========================================================================
   CLASSES UTILITAIRES ET COMPOSANTS PARTAGÉS
   ========================================================================== */
.gold-highlight { color: var(--gold); font-weight: 800; }
.inov-highlight { color: var(--inov-cyan); font-weight: 800; }
.cyan-highlight { color: var(--inov-cyan); font-weight: 800; }
body:has(.hero) .cyan-highlight { color: var(--deep-navy); } /* Variante page d'accueil */

.legibilite-or { text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3), 0 0 2px rgba(255, 255, 255, 0.2) !important; }
.legibilite-cyan { text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3), 0 0 2px rgba(255, 255, 255, 0.2) !important; }

/* Bloc de contact partagé (Bas de page) */
.contact-section-outer { padding: 60px 5% 80px 5%; text-align: center; }
.contact-container-inner { 
    max-width: 900px; margin: 0 auto; 
    background: rgba(29, 58, 93, 0.85); 
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    color: white; padding: 60px 40px; border-radius: 12px; 
    box-shadow: 0 20px 50px rgba(29, 58, 93, 0.3); 
    border: 1px solid rgba(94, 181, 178, 0.4); 
}
.sector-badge { display: inline-block; padding: 6px 20px; border: 1px solid var(--inov-cyan); border-radius: 50px; color: var(--gold); font-size: 0.8rem; font-weight: 600; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.contact-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.method-card { 
    padding: 25px 20px; background: var(--white); border-radius: 8px; color: var(--dark-blue); 
    border-bottom: 4px solid var(--gold); transition: all 0.3s ease; text-decoration: none;
    display: flex; flex-direction: column; align-items: center;
}
.method-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.method-card i { font-size: 1.5rem; color: var(--gold); margin-bottom: 15px; }
.method-card span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #94a3b8; margin-bottom: 8px; letter-spacing: 1px; }
.method-card strong { font-size: 1.1rem; font-weight: 800; color: var(--dark-blue); transition: color 0.3s; }
.method-card:hover strong { color: var(--inov-cyan); }

.btn-footer, .cta-button { 
    display: inline-block; margin-top: 40px; background: var(--deep-navy); color: var(--gold); 
    padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 800; 
    text-transform: uppercase; transition: 0.3s; font-size: 0.85rem; letter-spacing: 1px;
}
.btn-footer:hover, .cta-button:hover { background: var(--gold); color: var(--deep-navy); transform: translateY(-3px); }

/* Cartes "Milestone" partagées (Prestations & Expert Doryan) */
.milestone-card {
    display: flex; align-items: flex-start; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(2px);
    border-top: 1px solid rgba(255, 255, 255, 0.5); padding: 35px; border-radius: 15px; margin-bottom: 25px;
    transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(29, 58, 93, 0.05); border-left: 4px solid var(--gold);
}
.milestone-card:hover { transform: translateX(10px); border-left-width: 8px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15); }
.card-icon-round { min-width: 60px; height: 60px; background: var(--black-blue); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-right: 25px; box-shadow: 0 5px 15px rgba(29, 58, 93, 0.2); }
.card-icon { color: var(--gold); font-size: 2rem; margin-bottom: 20px; }
.card-content h3 { margin: 0 0 10px 0; font-size: 1.25rem; color: var(--dark-blue); font-weight: 800; text-transform: uppercase; }
.card-content p { margin: 0; color: var(--dark-blue); font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   STYLES SPÉCIFIQUES PAR PAGE
   ========================================================================== */

/* --- INDEX --- */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white; 
    margin-top: -80px; 
    padding-top: 80px; 
    margin-bottom: -50px; 
    position: relative; /* Nécessaire pour le calque de fond */
    z-index: 1; 
}
/* Nouveau calque : On met l'image et le masque à 80% ICI, derrière le texte */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.2) 70%), url('fond-expertise.webp') no-repeat center center/cover;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    z-index: -1;
}
.hero-content { 
    max-width: 900px; 
    padding: 20px; 
    transform: translateY(-45px); /* On passe de -28 à -45 pour remonter le tout */
    position: relative; 
    z-index: 2; 
}
.hero h1 { font-size: 2.8rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.9), 0 0 15px rgba(0,0,0,0.5); }
.specialisation { font-size: 1.3rem; color: var(--gold); font-weight: 600; margin-bottom: 25px; text-transform: uppercase; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.7); }
.accroche { font-size: 1.15rem; max-width: 750px; margin: 0 auto 25px; font-weight: 500; color: var(--white); text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9); }
.hero-buttons { display: flex; justify-content: center; gap: 20px; }

.hero .cta-button, 
.hero .cta-button.secondary { 
    background: var(--deep-navy); 
    color: var(--gold); 
    border: 2px solid var(--inov-cyan) !important; 
    cursor: pointer; 
    backdrop-filter: none; 
    -webkit-backdrop-filter: none; }
.hero .cta-button:not(.secondary):hover { 
    background: var(--gold) !important; 
    color: var(--deep-navy) !important;  }
.hero .cta-button.secondary:hover { 
    background: var(--gold) !important; 
    color: var(--deep-navy) !important; }

.cta-button.secondary:hover { background: var(--gold); color: var(--deep-navy); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.engagement-wrapper { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.engagement-intro { text-align: center; margin-bottom: 60px; }
.engagement-intro h2 { font-size: 2.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; text-shadow: 0 0 12px rgba(255, 255, 255, 0.8); }
.engagement-intro p { 
    font-size: 1.1rem;
    color: var(--white);
    max-width: 750px;
    margin: 20px auto 0;
    font-weight: 800;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
}
.engagement-intro h2::after { content: ''; display: block; width: 300px; height: 4px; background: var(--gold); margin: 15px auto 0; }
.engagement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.engagement-card { padding: 45px 30px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.5); border-bottom: 4px solid var(--gold); box-shadow: 0 10px 30px rgba(29, 58, 93, 0.1); transition: all 0.3s ease; text-align: center; }
.engagement-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.9); box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2); }

/* --- EXPERT DORYAN --- */
.page-content { max-width: 1100px; margin: 0 auto; padding: 60px 5%; text-align: center; }
.expert-profile h1 { font-size: 2.8rem; font-weight: 800; color: var(--white); margin-bottom: 10px; text-transform: uppercase; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.branding-container { margin-bottom: 50px; }
.met-logo-text { font-size: 1.3rem; color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.expert-subtitle { color: var(--gold); font-weight: 1000; text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9); opacity: 1 !important;}
.expert-bio-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); padding: 45px; border-radius: 15px; box-shadow: 0 15px 35px rgba(29, 58, 93, 0.08); margin-bottom: 50px; border-left: 6px solid var(--inov-cyan); text-align: left; border-top: 1px solid rgba(255, 255, 255, 0.5); }
.timeline-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 80px; }
.competences-section h2 { font-size: 2rem; color: var(--white); margin-bottom: 45px; font-weight: 800; text-transform: uppercase; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.competences-grid { 
    display: grid; 
    /* Utilise 4 colonnes si possible, sinon réduit à 2 ou 1 selon la place */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 25px; 
}
.competence-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); color: var(--dark-blue); padding: 40px 30px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-left: 4px solid var(--gold); border-top: 1px solid rgba(255, 255, 255, 0.5); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); text-align: left; }
.competence-card:hover { background: var(--dark-blue); color: var(--white); transform: translateY(-10px); box-shadow: 0 25px 50px rgba(29, 58, 93, 0.3); border-left-width: 8px; }
.comp-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 20px; transition: 0.3s; }
.competence-card:hover .comp-icon { color: var(--gold); }
.competence-card h3 { font-size: 1.1rem; margin-bottom: 15px; font-weight: 800; transition: 0.3s; text-transform: uppercase; }

/* --- NOUVEAUX STYLES POUR LA PHOTO DE PROFIL EN BULLE --- */

.profile-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px; /* Espace entre la bulle et le texte */
    margin-bottom: 20px;
}

.profile-bubble {
    width: 180px;
    height: 180px;
    border-radius: 50%; /* Crée l'effet "bulle" parfaitement ronde */
    object-fit: cover; /* Assure que la photo remplisse la bulle sans se déformer */
    object-position: top; /* Centre bien sur votre visage */
    border: 4px solid var(--gold); /* Le liseré doré de votre charte */
    box-shadow: 0 15px 35px rgba(29, 58, 93, 0.25); /* Ombre douce pour détacher du fond */
    flex-shrink: 0; /* Empêche la bulle de s'écraser si l'écran est petit */
}

/* On ajuste l'alignement du h1 lorsqu'il est à côté de la photo */
.expert-profile h1 {
    margin-bottom: 0 !important;
    text-align: left; /* Aligne le texte sur la gauche par rapport à l'image */
}

/* Gestion de l'affichage sur téléphone (Mobile) */
@media (max-width: 768px) {
    .profile-header-container {
        flex-direction: column; /* Empile l'image au-dessus du texte sur mobile */
        gap: 15px;
    }
    .expert-profile h1 {
        text-align: center; /* Recentrer le texte sur mobile */
        font-size: 2rem; /* Légère réduction pour mobile si besoin */
    }
    .profile-bubble {
        width: 150px; /* Bulle un peu plus petite sur téléphone */
        height: 150px;
    }
}


/* --- PRESTATIONS --- */
.section-title { text-align: center; padding: 60px 5% 20px; }
.section-title h1 { font-size: 2.8rem; font-weight: 800; color: var(--white); margin-bottom: 15px; text-transform: uppercase; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.section-title p { 
    max-width: 700px;
    margin: 0 auto;
    color: var(--gold) !important; 
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9) !important; 
    opacity: 1 !important; 
}
.cyan-line { width: 60px; height: 4px; background: var(--inov-cyan); margin: 0 auto 20px; }
.selector-container { max-width: 1100px; margin: 0 auto 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; padding: 0 5%; }
.selector-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.5); padding: 30px 20px; text-align: center; border-radius: 15px; text-decoration: none; color: var(--dark-blue); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: 0 10px 25px rgba(29, 58, 93, 0.05); }
.selector-card:hover { background: var(--white); border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2); }
.selector-card i { font-size: 2rem; color: var(--gold); margin-bottom: 15px; display: block; }
.selector-card span { font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.offers-container { max-width: 1000px; margin: 0 auto; padding: 40px 5%; }
.offer-category { margin-bottom: 100px; padding-top: 100px; margin-top: -100px; }
.offer-category h2 { font-size: 2rem; color: var(--white); border-left: 6px solid var(--inov-cyan); padding-left: 20px; margin-bottom: 10px; text-transform: uppercase; font-weight: 800; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.category-subtitle { color: var(--gold); margin-bottom: 40px; font-weight: 1000; padding-left: 26px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9); }

/* --- POURQUOI --- */
.container { max-width: 1100px; margin: 0 auto; padding: 60px 5%; }
.intro-section { text-align: left; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(2px); padding: 50px; border-radius: 15px; box-shadow: 0 10px 30px rgba(29, 58, 93, 0.05); margin-bottom: 60px; border-left: 6px solid var(--inov-cyan); border-top: 1px solid rgba(255, 255, 255, 0.5); }
.intro-section h1 { 
    font-size: 2.2rem; 
    font-weight: 800; 
    color: var(--dark-blue); 
    margin-bottom: 25px; 
    margin-top: 0; 
    text-transform: uppercase; 
    text-shadow: none;
}
.dual-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 80px; }
.card-box { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(2px); padding: 40px; border-radius: 15px; box-shadow: 0 10px 25px rgba(29, 58, 93, 0.05); transition: all 0.3s ease; border-top: 1px solid rgba(255, 255, 255, 0.5); }
.card-box:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15); }
.card-danger { border-bottom: 6px solid var(--danger); }
.card-success { border-bottom: 6px solid var(--gold); }
.card-box h3 { font-weight: 800; margin-bottom: 20px; font-size: 1.3rem; color: var(--dark-blue); text-transform: uppercase; }
.card-box ul { list-style: none; padding: 0; }
.card-box li { margin-bottom: 12px; display: block; font-size: 0.95rem; line-height: 1.5; }
.card-box li i { margin-right: 10px; width: 15px; text-align: center; }
.process-title { text-align: center; margin-bottom: 40px; font-weight: 800; text-transform: uppercase; color: var(--gold); letter-spacing: 1px; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 80px; }
.process-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(2px); padding: 35px 25px; border-radius: 15px; text-align: left; border-left: 4px solid var(--gold); border-top: 1px solid rgba(255, 255, 255, 0.5); transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: 0 10px 25px rgba(29, 58, 93, 0.05); }
.process-card:hover { background: var(--dark-blue); color: var(--white); transform: translateY(-10px); box-shadow: 0 20px 40px rgba(29, 58, 93, 0.2); }
.process-step { width: 40px; height: 40px; background: var(--dark-blue); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-weight: 800; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.process-card:hover .process-step { background: var(--gold); color: var(--dark-blue); }
.process-card:hover p { color: rgba(255,255,255,0.8); }
.process-card h4 { font-size: 1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; }
.process-card p { font-size: 0.9rem; color: var(--dark-blue); margin: 0; }
.met-bold { font-weight: 800; color: var(--dark-blue); }
.process-card:hover .met-bold { color: var(--white); }

/* --- CONTACT --- */
.main-container { max-width: 1200px; margin: 50px auto 80px; display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 0 5%; }
.info-sidebar { display: flex; flex-direction: column; gap: 20px; }
.info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 15px;  
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-left: 4px solid var(--gold);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;       
    text-align: center;        
    overflow: hidden;          
    word-wrap: break-word;     
    justify-content: center;   
    height: fit-content;       
}
.info-card a, .info-card p {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    max-width: 100%;           
    display: block;            
}
.info-card:hover { transform: translateX(8px); }
.info-card i { color: var(--inov-cyan); font-size: 1.3rem; margin-bottom: 10px; display: block; }
.info-card h3 { margin: 0 0 5px 0; font-size: 0.75rem; text-transform: uppercase; color: #64748b; letter-spacing: 1.5px; }
.form-box { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 50px; border-radius: 15px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.4); }
.form-header { text-align: center; margin-bottom: 40px; }
.form-header h1 { font-size: 2.2rem; font-weight: 800; margin: 0; text-transform: uppercase; color: var(--dark-blue); letter-spacing: -1px; }
.form-header p { font-size: 1rem; color: #64748b; margin-top: 10px; }
.accent-bar { width: 50px; height: 4px; background: var(--inov-cyan); margin: 20px auto 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.full-width { grid-column: span 2; }
.form-group { display: flex; flex-direction: column; width: 100%; }
.form-group label { margin-bottom: 8px; font-weight: 700; font-size: 0.7rem; text-transform: uppercase; color: var(--dark-blue); letter-spacing: 1px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px; border: 1px solid #e2e8f0; border-radius: 8px; font-family: inherit; background: #f8fafc; font-size: 0.95rem; transition: all 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); outline: none; background: #fff; box-shadow: 0 0 0 4px rgba(94, 181, 178, 0.1); }
.rgpd-notice { margin-top: 15px; text-align: center; }
.rgpd-notice p { font-size: 0.75rem; color: #64748b; margin: 0; font-weight: 800; }
.rgpd-notice a { color: var(--deep-navy); text-decoration: underline; font-weight: 800; }
.btn-submit { background: var(--dark-blue); color: var(--inov-cyan); border: none; padding: 20px; border-radius: 8px; font-weight: 800; text-transform: uppercase; cursor: pointer; width: 100%; transition: all 0.4s ease; margin-top: 20px; letter-spacing: 2px; font-size: 0.9rem; }
.btn-submit:hover { background: var(--gold); color: var(--dark-blue); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(94, 181, 178, 0.3); }

/* --- CGU --- */
.legal-wrapper { max-width: 900px; margin: 60px auto; padding: 60px 40px; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-bottom: 4px solid var(--gold); position: relative; z-index: 5; }
.legal-wrapper h1 { font-size: 2.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; color: var(--dark-blue); }
.legal-wrapper .accent-bar { margin-bottom: 40px; }
.legal-wrapper h2 { font-size: 1.2rem; font-weight: 700; color: var(--dark-blue); margin-top: 40px; text-transform: uppercase; border-left: 4px solid var(--gold); padding-left: 15px; }
.legal-wrapper p, .legal-wrapper li { color: #475569; font-size: 0.95rem; margin-bottom: 15px; }

/* --- MERCI & ERREUR --- */
.thank-you-card, .error-card { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.92); padding: 60px 40px; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-width: 500px; width: 90%; text-align: center; border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fadeIn 0.8s ease-out; }
.check-icon { font-size: 4.5rem; color: var(--inov-cyan); margin-bottom: 25px; filter: drop-shadow(0 5px 15px rgba(94, 181, 178, 0.3)); }
.error-icon { font-size: 4rem; color: var(--error-red); margin-bottom: 25px; }
.thank-you-card h1, .error-card h1 { font-weight: 800; text-transform: uppercase; color: var(--dark-blue); margin: 0 0 15px; letter-spacing: 1px; font-size: 1.8rem; }
.thank-you-card p, .error-card p { font-size: 1.1rem; color: #2c3e50; line-height: 1.6; margin-bottom: 35px; }
.btn-home, .btn-retry { display: inline-block; background: var(--dark-blue); color: white; text-decoration: none; padding: 18px 35px; border-radius: 8px; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; transition: 0.3s; box-shadow: 0 5px 15px rgba(29, 58, 93, 0.3); }
.btn-home:hover, .btn-retry:hover { background: var(--inov-cyan); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(94, 181, 178, 0.4); }
.contact-backup { background: #f8fafc; padding: 20px; border-radius: 12px; margin-bottom: 30px; border: 1px dashed var(--inov-cyan); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   SECTION ACCUEIL : VOS ÉQUIPEMENTS & LITIGES
   ========================================================================== */
.domaines-wrapper {
    padding: 60px 20px;
    background: transparent; /* <-- C'est ici qu'on enlève le fond blanc */
    text-align: center;
}
.domaines-wrapper h2 {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.domaines-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.domaine-card {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.7); /* <-- Fond translucide pour laisser voir le béton */
    backdrop-filter: blur(4px); /* <-- Effet de flou "glassmorphism" */
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5); /* <-- Bordure douce */
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(29, 58, 93, 0.05);
    transition: all 0.3s ease;
}

/* Animation au passage de la souris */
.domaine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(29, 58, 93, 0.15);
}

.domaine-card.border-gold {
    border-top: 5px solid var(--gold);
}

.domaine-card.border-cyan {
    border-top: 5px solid var(--inov-cyan);
}

.domaine-card h3 {
    color: var(--dark-blue);
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-weight: 800;
}

.domaine-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    line-height: 2;
    color: var(--dark-blue);
    font-weight: 600;
}

.domaine-card li {
    margin-bottom: 12px;
    font-size: 1rem;
}

.domaine-card i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.icon-cyan {
    color: var(--inov-cyan);
}

.icon-gold {
    color: var(--gold);
}

/* ==========================================================================
   MENU DÉROULANT (ORDINATEUR)
   ========================================================================== */
nav ul .dropdown {
    position: relative;
}

nav ul .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff !important; /* Force un blanc parfaitement opaque */
    min-width: 250px;
    box-shadow: 0 15px 30px rgba(29, 58, 93, 0.25);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 9999; /* Passe bien au-dessus de tout le reste */
    border-top: 3px solid var(--gold);
    flex-direction: column;
    gap: 0;
    margin-top: 5px; /* Petit espace pour ne pas coller au texte */
}

nav ul .dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px; /* Remonte pour couvrir la zone vide du margin-top */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

nav ul .dropdown:hover .dropdown-content {
    display: flex;
}

nav ul .dropdown-content li {
    width: 100%;
    margin: 0;
}

nav ul .dropdown-content li a {
    padding: 12px 20px;
    display: block;
    text-align: center;
    font-size: 0.8rem;
    text-transform: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav ul .dropdown-content li:last-child a {
    border-bottom: none;
}

nav ul .dropdown-content li a::after {
    display: none !important;
}

nav ul .dropdown-content li a:hover {
    background-color: rgba(94, 181, 178, 0.1);
    color: var(--dark-blue);
}

/* ==========================================================================
   MEDIA QUERIES (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    .main-container { grid-template-columns: 1fr; margin-top: 30px; gap: 30px; max-width: 800px; }
    .info-sidebar { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .info-card { flex: 1 1 280px; text-align: center; }
}

@media (max-width: 768px) {
    /* --- CONFIGURATION DU HEADER MOBILE --- */
    header { 
        flex-direction: row; /* Force le logo et le bouton burger à rester côte à côte */
        justify-content: space-between; 
        padding: 15px 5%; 
        gap: 0; 
    }

    /* Rend le bouton burger visible sur mobile */
    .burger-menu {
        display: flex; 
    }

    /* --- TRANSFORMATION DU MENU EN VOLET COULISSANT --- */
nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 65%;   
        height: 100vh;
        background: rgba(241, 245, 249, 0.95); 
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 0 0 100vw rgba(29, 58, 93, 0); 
        z-index: 1000;
        transition: right 0.4s ease, box-shadow 0.4s ease; 
        padding: 100px 0 40px 0; 
        border-left: 3px solid var(--gold);
        overflow-y: auto; /* Active le défilement tactile */
    }

    nav.active {
        right: 0;
        box-shadow: 0 0 0 100vw rgba(29, 58, 93, 0.85); 
    }

    nav ul { 
        display: flex;
        flex-direction: column; 
        gap: 20px; 
        justify-content: flex-start; 
        align-items: center; 
        padding: 0 0 50px 0; 
        width: 100%;
        margin: 0;
    }

    nav a {
        font-size: 1.15rem; 
        letter-spacing: 1.5px;
        position: relative;
        padding-bottom: 10px; 
        display: inline-block;
        color: var(--dark-blue); /* Le texte reste bien en bleu foncé ! */
        font-weight: 700;
text-align: center; 
        line-height: 1.4;
    }

    /* La page active reste en doré */
    nav a.active {
        color: var(--gold) !important;
    }

    nav a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px; 
        background: var(--gold);
        border-radius: 2px;
    }

/* --- MENU DÉROULANT (MOBILE) --- */
    nav ul .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul .dropdown-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centre le sous-menu */
        width: 100%;
        position: static;
        transform: none;
        box-shadow: none !important;
        background-color: transparent !important;
        border-top: none;
        min-width: auto;
        padding: 10px 0 0 0;
        gap: 15px !important;
    }

    nav ul .dropdown-content li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    nav ul .dropdown-content li a {
        font-size: 1rem;
        color: var(--inov-cyan) !important;
        padding: 0;
        border: none;
        font-weight: 600;
        width: 100%;
        text-align: center;
    }

    nav ul .dropdown-content li a.active {
        color: var(--gold) !important;
    }
    
    .fa-angle-down {
        display: none !important;
    }

    /* --- ANIMATION DES TROIS BARRES EN "X" --- */
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .burger-menu.active span:nth-child(2) {
        opacity: 0; /* Supprime la barre du milieu */
    }
    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    /* --- RESTE DE VOS STYLES SPECIFIQUES (Inchangés mais réintégrés) --- */
    .profile-header-container {
        flex-direction: column; 
        gap: 15px;
    }
    .expert-profile h1 {
        text-align: center; 
        font-size: 2rem; 
    }
    .profile-bubble {
        width: 150px; 
        height: 150px;
    }
    .contact-container-inner { padding: 40px 20px; }
    .hero { height: auto; min-height: 100vh; padding: 100px 0; }
    .hero h1 { font-size: 1.8rem; }
    .specialisation { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .cta-button { width: 80%; }
    .engagement-wrapper { padding: 40px 5%; }
    .engagement-intro h2 { font-size: 1.6rem; }
    .milestone-card { flex-direction: column; text-align: center; }
    .card-icon-round { margin: 0 auto 20px; }
    .section-title h1 { font-size: 2.2rem; }
    .page-content { padding-top: 40px; }
    .expert-bio-card { padding: 30px; }
    .dual-cards, .process-grid { grid-template-columns: 1fr; }
    .intro-section { padding: 30px; }
    .legal-wrapper { margin: 20px; padding: 40px 20px; }
    .legal-wrapper h1 { font-size: 1.6rem; }
}
@media (max-width: 600px) {
    /* Contact */
    .form-box { padding: 30px 20px; }
    .form-header h1 { font-size: 1.6rem; }
    .form-grid { grid-template-columns: 1fr; gap: 20px; }
    .full-width { grid-column: span 1; }
    .info-sidebar { flex-direction: column; }
}

@media (max-width: 480px) {
    /* Merci / Erreur */
    .thank-you-card, .error-card { padding: 40px 20px; }
    .thank-you-card h1, .error-card h1 { font-size: 1.5rem; }
    .thank-you-card p, .error-card p { font-size: 1rem; }
}

/* --- Bouton Retour Flottant --- */
.btn-retour-flottant {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1D3A5D; /* Bleu foncé Exper'Inov */
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-retour-flottant:hover {
    background-color: #00A8CC; /* Cyan au survol */
    color: white;
    transform: translateY(-3px);
}

/* Version mobile pour ne pas gêner la lecture sur petit écran */
@media (max-width: 768px) {
    .btn-retour-flottant {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* --- Bulle d'introduction pour les pages Expertises --- */
.service-intro {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 35px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(29, 58, 93, 0.1);
    border-left: 6px solid var(--inov-cyan);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}
.service-intro p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

/* --- Mention "En savoir plus" sur les cartes cliquables --- */
.click-more {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--inov-cyan); /* Cyan pour attirer l'oeil */
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-transform: none;
}

.selector-card:hover .click-more {
    color: var(--gold); /* Devient doré au survol */
    transform: translateX(5px); /* Petit effet de glissement vers la droite */
}

/* On force la petite taille de l'icône flèche pour ne pas prendre la taille de la grosse icône au-dessus */
.click-more i {
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
    display: inline-block !important;
}

/* --- Bouton Retour en Haut --- */
#btn-back-to-top {
    position: fixed;
    bottom: 90px; /* Placé juste au-dessus du bouton retour flottant */
    right: 30px;
    background-color: var(--gold);
    color: var(--dark-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    display: none; /* Caché par défaut tout en haut de la page */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#btn-back-to-top:hover {
    background-color: var(--dark-blue);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    #btn-back-to-top {
        bottom: 70px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
/* ==========================================================================
   PAGE FAQ - ACCORDÉON
   ========================================================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 5%;
}

.faq-category-title {
    font-size: 1.2rem;
    color: var(--dark-blue);
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 60px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(29, 58, 93, 0.05);
}

.faq-category-title i {
    color: var(--gold);
    text-shadow: none;
}

.faq-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 4px solid var(--dark-blue);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(29, 58, 93, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    border-left-color: var(--gold);
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.95);
    border-left-color: var(--inov-cyan);
}

.faq-item summary {
    padding: 20px 25px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark-blue);
    cursor: pointer;
    position: relative;
    list-style: none; /* Enlève la flèche par défaut sur Safari/Chrome */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

/* Enlève la flèche par défaut sur Webkit */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Ajout d'une flèche personnalisée (+) */
.faq-item summary::after {
    content: '\f067'; /* Code FontAwesome pour le "+" */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '\f068'; /* Code FontAwesome pour le "-" */
    color: var(--inov-cyan);
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 25px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 5px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    animation: fadeInDown 0.3s ease-out;
}

/* Animation douce pour l'ouverture */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- BARRE DE RECHERCHE FAQ --- */
.faq-search-container {
    max-width: 700px;
    margin: 0 auto 40px auto; /* Centré avec de l'espace en bas */
    position: relative;
}

.faq-search-container .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--inov-cyan);
    font-size: 1.2rem;
}

#faq-search {
    width: 100%;
    padding: 18px 20px 18px 55px; /* L'espace de 55px à gauche laisse la place à l'icône */
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark-blue);
    box-shadow: 0 10px 25px rgba(29, 58, 93, 0.1);
    transition: all 0.3s ease;
}

#faq-search:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

#faq-search::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

/* ==========================================================================
   BOUTON DE CONTACT FLOTTANT (FAB)
   ========================================================================== */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Placé à gauche pour ne pas gêner le retour en haut */
    background-color: var(--inov-cyan);
    color: var(--dark-blue);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(29, 58, 93, 0.3);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
}

.floating-contact-btn i {
    font-size: 1.4rem;
    animation: pulse-ring 2s infinite;
}

.floating-contact-btn:hover {
    background-color: var(--gold);
    color: var(--dark-blue);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    border-color: var(--white);
}

/* Animation douce pour attirer l'œil discrètement */
@keyframes pulse-ring {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(0.9); }
}

/* Ajustement pour les téléphones (Mobile) */
@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 20px;
        left: 20px;
        padding: 12px;
        border-radius: 50%; /* Devient un rond parfait sur mobile */
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    /* On cache le texte sur mobile pour ne laisser que l'icône, question de place */
    .floating-text {
        display: none;
    }
    
    .floating-contact-btn i {
        font-size: 1.2rem;
        margin: 0;
    }
}
/* --- AMÉLIORATIONS FAQ --- */

/* 1. Effet Focus sur la FAQ (ordinateur) */
@media (min-width: 769px) {
    .faq-container:hover .faq-item:not(:hover):not([open]) {
        opacity: 0.6;
        transform: scale(0.98);
    }
}

/* 2. Encart Conseil de l'Expert */
.expert-tip {
    background: rgba(94, 181, 178, 0.1);
    border-left: 3px solid var(--inov-cyan);
    padding: 15px;
    margin-top: 15px;
    border-radius: 0 8px 8px 0;
    font-size: 0.85rem;
    color: var(--dark-blue);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.expert-tip i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 2px;
}
/* --- CATÉGORIES FAQ DÉROULANTES --- */
.faq-category {
    margin-bottom: 30px;
}

/* Le titre de la catégorie sur lequel on clique */
.faq-category > summary {
    font-size: 1.2rem;
    color: var(--dark-blue);
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(29, 58, 93, 0.05);
    cursor: pointer;
    list-style: none; /* Enlève la flèche par défaut */
    border-left: 5px solid var(--inov-cyan);
}

.faq-category > summary::-webkit-details-marker {
    display: none;
}

/* La jolie flèche dorée à droite */
.faq-category > summary::after {
    content: '\f107'; /* Code de la flèche FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold);
    transition: transform 0.3s;
    font-size: 1.5rem;
}

/* Quand la catégorie est ouverte, la flèche tourne */
.faq-category[open] > summary::after {
    transform: rotate(180deg);
}

/* La zone qui contient les questions */
.faq-category-content {
    padding-left: 15px; /* Petit décalage pour montrer que c'est à l'intérieur */
    padding-right: 15px;
}
/* --- CORRECTION COULEUR ICÔNE --- */
.faq-category > summary i {
    color: var(--gold);
    margin-right: 10px;
}

/* --- BOÎTE DE SUGGESTIONS (RECHERCHE) --- */
.search-suggestions-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(29, 58, 93, 0.2);
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none; /* Caché par défaut */
    border: 1px solid rgba(0,0,0,0.05);
}

.search-suggestions-box li {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--dark-blue);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.search-suggestions-box li:last-child {
    border-bottom: none;
}

.search-suggestions-box li:hover {
    background: rgba(94, 181, 178, 0.1);
    color: var(--inov-cyan);
}
/* --- AJUSTEMENT ESPACEMENT HAUT : UNIQUEMENT PAGE FAQ --- */
body:has(.faq-container) .section-title {
    padding-top: 0px !important;
}