/*
 * assets/css/main.css — Styles globaux du thème NVI Facility
 *
 * Contient : reset/base, layout container, typographies, boutons,
 * header sticky, navigation, footer, dark mode, utilitaires.
 * TOUTES les valeurs de couleur utilisent les variables CSS de style.css (:root).
 * Zéro couleur hexadécimale en dur dans ce fichier.
 *
 * Ordre des sections :
 *  1. Reset & Base
 *  2. Layout & Container
 *  3. Typographies
 *  4. Boutons (nvif-btn)
 *  5. Skip link & Loader
 *  6. Header (top bar + main bar + logo)
 *  7. Navigation desktop + dropdowns
 *  8. Header actions (dark toggle, CTA)
 *  9. Hamburger
 * 10. Menu mobile (overlay full-screen)
 * 11. Footer
 * 12. Dark mode overrides
 * 13. Utilitaires
 */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* iOS Safari : empêche scroll horizontal parasite */
}

body {
    font-family: var(--font-body);
    color: var(--gray-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    /* Décale le contenu sous le header fixe : header-top(38px) + header-main(80px) */
    padding-top: 118px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

/* ==========================================================================
   2. LAYOUT & CONTAINER
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
}

.section--alt {
    background-color: var(--gray-light);
}

.section--dark {
    background: var(--gradient-nvi);
    color: var(--white);
}

/* ==========================================================================
   3. TYPOGRAPHIES
   ========================================================================== */

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--navy);
}

h4, h5, h6 {
    font-family: var(--font-condensed);
    line-height: 1.3;
}

.section__title {
    font-family: var(--font-condensed);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--gray-mid);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ==========================================================================
   4. BOUTONS (nvif-btn)
   ========================================================================== */

.nvif-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-family: var(--font-condensed);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    line-height: 1;
}

.nvif-btn--primary {
    background: var(--gradient-nvi);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.nvif-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.nvif-btn--outline {
    background: transparent;
    color: var(--cyan);
    border-color: var(--cyan);
}

.nvif-btn--outline:hover {
    background: var(--cyan);
    color: var(--white);
}

.nvif-btn--accent {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.nvif-btn--accent:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   5. SKIP LINK & LOADER
   ========================================================================== */

.nvif-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--cyan);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s;
}

.nvif-skip-link:focus {
    top: 8px;
}

/* -----------------------------------------------------------------------
   LOADER P03 — Plein écran navy + logo + barre de progression cyan
   Masqué par .is-hidden (transition CSS) + inline styles fallback (animations.js)
   Ne se rejoue pas après la 1ère visite (localStorage → classe nvif-loader-skip sur <html>)
----------------------------------------------------------------------- */

/* Loader déjà vu : masqué AVANT le premier pixel — fonctionne même avec le cache serveur */
.nvif-loader-skip #nvif-loader {
    display: none !important;
}

.nvif-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #1B3A6B; /* Navy — hardcoded pour garantir l'affichage immédiat */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.nvif-loader.is-hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.loader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Logo image (si custom logo défini dans WP) */
.loader-logo img {
    max-width: 200px;
    height: auto;
    opacity: 0;
    animation: loaderFadeIn 0.5s ease 0.2s forwards;
    filter: brightness(0) invert(1); /* Force blanc sur fond navy */
}

/* Logo texte fallback */
.loader-logo-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: loaderFadeIn 0.5s ease 0.2s forwards;
}

.loader-logo-text strong {
    color: var(--cyan);
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.35em;
    font-weight: 400;
    margin-top: 4px;
}

/* Barre de progression */
.loader-bar-wrapper {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: loaderFadeIn 0.3s ease 0.4s forwards;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tagline */
.loader-tagline {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.06em;
    opacity: 0;
    animation: loaderFadeIn 0.4s ease 0.6s forwards;
}

@keyframes loaderFadeIn {
    to { opacity: 1; }
}

/* -----------------------------------------------------------------------
   LOADER — Variante vidéo (.has-video)
   La vidéo est positionnée en cover derrière le contenu du loader.
   loader-inner flotte au-dessus grâce au z-index.
----------------------------------------------------------------------- */

/* Wrapper vidéo : couvre tout le loader */
.nvif-loader.has-video .loader-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #1B3A6B; /* visible pendant le buffering */
}

/* Vidéo en cover CSS */
.nvif-loader.has-video .loader-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay léger pour assurer la lisibilité du logo */
.nvif-loader.has-video .loader-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(27, 58, 107, 0.35) 0%,
        rgba(27, 58, 107, 0.20) 50%,
        rgba(27, 58, 107, 0.50) 100%
    );
}

/* Logo + tagline flottent au-dessus */
.nvif-loader.has-video .loader-inner--over-video {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

/* En mode vidéo, le logo est toujours blanc (fond video variable) */
.nvif-loader.has-video .loader-logo img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

.nvif-loader.has-video .loader-logo-text {
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.nvif-loader.has-video .loader-tagline {
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ==========================================================================
   5b. CURSEUR PERSONNALISÉ (desktop ≥ 1024px uniquement)
   ========================================================================== */

@media (min-width: 1024px) {

    body.cursor-active {
        cursor: none;
    }

    body.cursor-active a,
    body.cursor-active button,
    body.cursor-active [role="button"],
    body.cursor-active input,
    body.cursor-active textarea,
    body.cursor-active select,
    body.cursor-active label {
        cursor: none;
    }

    .nvif-cursor {
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 99999;
    }

    .cursor-dot {
        position: absolute;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--cyan);
        transform: translate(-50%, -50%);
        transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
        will-change: transform;
    }

    .cursor-ring {
        position: absolute;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1.5px solid rgba(26, 188, 222, 0.5);
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease,
                    border-color 0.3s ease, background 0.3s ease;
        will-change: transform;
    }

    /* État hover */
    .nvif-cursor.is-hovering .cursor-dot {
        width: 20px;
        height: 20px;
        background: var(--navy);
    }

    .nvif-cursor.is-hovering .cursor-ring {
        width: 60px;
        height: 60px;
        border-color: var(--cyan);
        background: rgba(26, 188, 222, 0.08);
    }

    /* État clic */
    .nvif-cursor.is-clicking .cursor-dot {
        transform: translate(-50%, -50%) scale(0.6);
    }

    .nvif-cursor.is-clicking .cursor-ring {
        transform: translate(-50%, -50%) scale(0.8);
    }

} /* fin @media ≥ 1024px */

/* ==========================================================================
   5c. HERO PLEIN ÉCRAN — Homepage
   ========================================================================== */

/* Homepage : pas de padding-top body (le hero part du haut de la page,
   le header fixe flotte par-dessus, .hero-content compense en interne) */
body.home {
    padding-top: 0;
}

.nvif-hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Image de fond via custom property PHP inline */
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Parallax CSS natif — désactivé <1024px via responsive.css */
}

/* Fallback si pas d'image : dégradé signature NVI */
.nvif-hero:not([style*="--hero-bg"]) {
    background: linear-gradient(135deg, #1B3A6B 0%, #2176AE 60%, #1ABCDE 100%);
}

/* Overlay dégradé navy → cyan */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 58, 107, 0.90) 0%,
        rgba(33, 118, 174, 0.78) 60%,
        rgba(26, 188, 222, 0.55) 100%
    );
    z-index: 1;
}

/* Contenu — au-dessus de l'overlay */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: var(--nvif-header-h, 118px); /* Hauteur dynamique : bandeau + header-top + header-main */
    will-change: transform, opacity; /* Optimisation parallax JS */
}

/* Badge catégorie */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 188, 222, 0.15);
    border: 1px solid rgba(26, 188, 222, 0.4);
    color: var(--cyan);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

/* Titre H1 */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 700;
    color: #FFFFFF; /* Toujours blanc sur hero overlay — pas de var(--white) */
    line-height: 1.1;
    max-width: 780px;
    margin: 0 0 24px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

/* Sous-titre */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    line-height: 1.75;
    margin: 0 0 40px;
}

/* CTA container */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 64px;
}

/* ---- Boutons globaux (réutilisés partout sur le site) ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--cyan);
    color: var(--navy);
    border-color: var(--cyan);
}

.btn-primary:hover {
    background: #0fa8c8;
    border-color: #0fa8c8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 188, 222, 0.40);
    color: var(--navy);
}

.btn-outline-white {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: #FFFFFF;
    transform: translateY(-2px);
    color: #FFFFFF;
}

/* Scroll indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.72rem;
    font-family: var(--font-body);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.scroll-arrow span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    animation: scrollPulse 1.6s ease-in-out infinite;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: 0.3s;
    width: 14px;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50%       { opacity: 1;   transform: translateY(4px); }
}

/* Vague décorative en bas du hero
   color hérite de var(--white) : #FFFFFF en light, #0F1923 en dark
   Le SVG path utilise fill="currentColor" pour suivre cette valeur. */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
    color: #FFFFFF; /* Light mode : blanc = couleur body */
}

/* Dark mode .hero-wave → voir section 12 */

.hero-wave svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* ==========================================================================
   6. HEADER — Structure générale
   ========================================================================== */

.nvif-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* transform géré explicitement pour le hide/show — évite "all" sur un élément fixe */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Décale le header sous la barre d'admin WP (visible uniquement en back-office) */
body.admin-bar .nvif-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .nvif-header {
        top: 46px; /* Admin bar mobile = 46px */
    }
}

/* Header masqué (scroll DOWN au-delà du hero) → glisse hors écran vers le haut */
.nvif-header.is-hiding {
    transform: translateY(-100%);
}

/* ------- Bandeau supérieur ------- */
.header-top {
    background-color: var(--navy);
    max-height: 40px;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
    gap: 16px;
}

.header-top__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.header-top__link:hover {
    color: var(--cyan);
}

.header-top__link--wa:hover {
    color: #25D366;
}

.header-top__location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Bandeau collapsé quand sticky */
.nvif-header.is-sticky .header-top {
    max-height: 0;
    opacity: 0;
}

/* ------- Barre principale ------- */
.header-main {
    background-color: var(--navy);
    height: 80px;
    position: relative; /* Ancre le mega-menu en position absolue */
    transition: height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-main__inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}

/* Logo : largeur fixe, ne rétrécit pas */
.header-main__inner .header-logo {
    flex: 0 0 auto;
    margin-right: 20px;
}

/* Nav : prend tout l'espace disponible, centrage du contenu */
.header-main__inner .header-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    overflow: visible;
}

/* Actions (CTA + dark toggle + hamburger) : largeur fixe à droite */
.header-main__inner .header-actions {
    flex: 0 0 auto;
    margin-left: 16px;
}

/* Conteneur header plus large pour loger tous les items nav */
.header-main .container {
    max-width: 1400px;
    padding: 0 20px;
}

/* Header sticky — barre blanche + ombre */
.nvif-header.is-sticky .header-main {
    height: 65px;
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(27, 58, 107, 0.12);
}

/* Homepage hero : transparent UNIQUEMENT pendant le scroll actif */
/* Dès que le scroll s'arrête (.is-scrolling retiré), le header redevient
   solide (fond navy par défaut de .header-main) → toujours visible */
.home .nvif-header:not(.is-sticky).is-scrolling .header-main {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home .nvif-header:not(.is-sticky).is-scrolling .header-top {
    background-color: rgba(27, 58, 107, 0.75);
}

/* Dark mode homepage header → voir section 12 */

/* ------- Logo ------- */
.header-logo {
    justify-self: start;
}

.nvif-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Image logo — taille de base */
.header-logo img,
.header-logo .nvif-logo-img,
.header-logo .custom-logo {
    height: 56px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Logo PNG fond transparent — aucun filtre ni blend-mode nécessaire.
   Le fond transparent laisse voir le header derrière.
   !important : neutralise tout CSS additionnel du Customizer WP qui aurait
   gardé d'anciens filter:invert() des sessions de débogage précédentes. */
.nvif-logo-img {
    filter: none !important;
    mix-blend-mode: normal !important;
}

/* Sticky : logo légèrement réduit */
.nvif-header.is-sticky .nvif-logo-img {
    height: 46px;
}

/* Dark mode : glow cyan discret pour rendre le logo lisible sur fond sombre */
[data-theme="dark"] .nvif-logo-img {
    filter: drop-shadow(0 0 8px rgba(26, 188, 222, 0.35)) !important;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo-text span {
    color: var(--cyan);
}

.logo-tagline {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}

.nvif-header.is-sticky .logo-text {
    color: #1B3A6B !important;
}

.nvif-header.is-sticky .logo-tagline {
    color: #8A9BB0 !important;
}

/* ==========================================================================
   7. NAVIGATION DESKTOP + DROPDOWNS
   ========================================================================== */

.header-nav {
    display: flex;
    justify-content: center;
    justify-self: center;
}

.nvif-nav {
    display: flex;
    align-items: center;
    gap: 1px;
    list-style: none;
}

.nvif-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

/* Fond "pill" sur le LI entier — couvre link + chevron */
.nvif-nav__item:hover,
.nvif-nav__item.current-menu-item,
.nvif-nav__item.current-menu-ancestor {
    background-color: rgba(26, 188, 222, 0.08);
}

.nvif-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 6px 9px;
    font-family: var(--font-condensed);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.nvif-nav__link:hover,
.nvif-nav__item.current-menu-item > .nvif-nav__link,
.nvif-nav__item.current-menu-ancestor > .nvif-nav__link {
    color: var(--cyan);
}

/* Sticky light mode — textes navy sur fond blanc, spécificité renforcée */
.nvif-header.is-sticky .header-nav .nvif-nav__link,
.nvif-header.is-sticky .nvif-nav .nvif-nav__link {
    color: #1B3A6B !important;
}

.nvif-header.is-sticky .header-nav .nvif-nav__link:hover,
.nvif-header.is-sticky .nvif-nav .nvif-nav__link:hover,
.nvif-header.is-sticky .nvif-nav__item.current-menu-item > .nvif-nav__link,
.nvif-header.is-sticky .nvif-nav__item.current-menu-ancestor > .nvif-nav__link {
    color: #1ABCDE !important;
    /* background géré au niveau du <li> .nvif-nav__item */
}

/* Chevron pour items parents */
.nvif-nav__chevron {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    color: inherit;
    opacity: 0.7;
    transition: transform 0.25s ease, opacity 0.2s;
    margin-left: -4px;
}

.nvif-nav__item.is-open > .nvif-nav__chevron,
.nvif-nav__item:hover > .nvif-nav__chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--cyan);
}

/* ------- Dropdown ------- */
.nvif-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 290px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--cyan);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 100;
}

/* Visible au hover ET quand .is-open (clavier/JS) */
.nvif-nav__item:hover > .nvif-dropdown,
.nvif-nav__item.is-open > .nvif-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Lien dropdown enrichi : icône + titre + sous-titre */
.nvif-dropdown__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 3px 8px;
    border-radius: 8px;
    border-left: none;
    text-decoration: none;
    color: var(--navy);
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.nvif-dropdown__link:hover {
    background-color: var(--gray-light);
    color: var(--navy);
    transform: translateX(3px);
}

/* Icône SVG dans le dropdown — couleur propre à chaque service via CSS vars injectées par le Walker */
.nvif-dd-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--dd-icon-bg, linear-gradient(135deg, rgba(27,58,107,0.08), rgba(26,188,222,0.12)));
    color: var(--dd-icon-clr, var(--navy));
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.nvif-dropdown__link:hover .nvif-dd-icon {
    background: linear-gradient(135deg, rgba(26,188,222,0.15), rgba(26,188,222,0.25));
    color: var(--cyan);
}

/* Textes : titre + sous-titre */
.nvif-dd-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nvif-dd-title {
    font-family: var(--font-condensed);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--navy);
    line-height: 1.2;
}

.nvif-dd-sub {
    font-size: 0.75rem;
    color: var(--gray-mid);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
}

/* ==========================================================================
   7-B. MEGA-MENU "NOS SERVICES" — dropdown 2 colonnes, ancré sur header-main
   ========================================================================== */

/* Le parent "Nos Services" sort du flux relatif → dropdown ancré sur header-main */
.nvif-nav__item--mega {
    position: static;
}

/* Le dropdown devient une grille 2×4 services */
.nvif-nav__item--mega > .nvif-dropdown {
    position: absolute;
    /* Centré horizontalement sous toute la barre principale */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    top: 100%;
    min-width: 700px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 10px 10px;
    gap: 4px;
    border-top: 3px solid var(--cyan);
}

/* Ouvert */
.nvif-nav__item--mega:hover > .nvif-dropdown,
.nvif-nav__item--mega.is-open > .nvif-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Item hub "Voir tous nos services" : span 2 colonnes + style CTA discret */
.nvif-dd--hub {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(27, 58, 107, 0.1);
    margin-top: 6px;
    padding-top: 4px;
}

.nvif-dd--hub .nvif-dropdown__link {
    background: rgba(27, 58, 107, 0.04);
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
}

.nvif-dd--hub .nvif-dd-title {
    font-size: 0.85rem;
    color: var(--navy);
}

.nvif-dd--hub .nvif-dropdown__link:hover {
    background: rgba(26, 188, 222, 0.08);
    transform: none;
}

.nvif-dd--hub .nvif-dropdown__link:hover .nvif-dd-title {
    color: var(--cyan);
}

/* ==========================================================================
   8. HEADER ACTIONS (dark toggle, CTA devis)
   ========================================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
}

/* CTA "Demander un devis" */
.header-cta {
    /* Hérite des styles .nvif-btn--primary */
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* ── Dark mode toggle : pill visible avec label ── */
.nvif-dark-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px 7px 11px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
    cursor: pointer;
}

.nvif-dark-toggle:hover {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: 0 2px 12px rgba(26, 188, 222, 0.25);
}

/* Sticky : fond blanc → couleurs inversées */
.nvif-header.is-sticky .nvif-dark-toggle {
    background: #F0F4F8;
    border-color: #D0D8E4;
    color: #1B3A6B;
}

.nvif-header.is-sticky .nvif-dark-toggle:hover {
    background: #E3ECF5;
    border-color: #1ABCDE;
    color: #1ABCDE;
}

.dark-toggle__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* Icônes soleil/lune — une seule affichée selon le thème */
.nvif-dark-toggle .icon-sun  { display: none; }
.nvif-dark-toggle .icon-moon { display: block; }

[data-theme="dark"] .nvif-dark-toggle .icon-sun  { display: block; }
[data-theme="dark"] .nvif-dark-toggle .icon-moon { display: none; }

/* ==========================================================================
   FAB GROUP — Boutons flottants (WhatsApp + Google Avis + Dark mode mobile)
   ========================================================================== */

.nvif-fab-group {
    position: fixed;
    bottom: 28px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    z-index: 9990;
}

/* Base FAB */
.nvif-fab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    flex-shrink: 0;
    /* Animation d'entrée */
    animation: nvifFabIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* 4 FABs : dark / google / phone / whatsapp */
.nvif-fab:nth-child(1) { animation-delay: 0.4s; }
.nvif-fab:nth-child(2) { animation-delay: 0.6s; }
.nvif-fab:nth-child(3) { animation-delay: 0.8s; }
.nvif-fab:nth-child(4) { animation-delay: 1.0s; }

@keyframes nvifFabIn {
    from { opacity: 0; transform: scale(0.3) translateX(30px); }
    to   { opacity: 1; transform: scale(1) translateX(0); }
}

.nvif-fab:hover,
.nvif-fab:focus-visible {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    outline: none;
}

/* ── WhatsApp ── */
.nvif-fab--whatsapp {
    background: linear-gradient(145deg, #25D366 0%, #128C7E 100%);
    color: #fff;
}

/* Pulse animé WhatsApp */
.nvif-fab--whatsapp::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: nvifWaPulse 2.8s ease-out infinite;
    pointer-events: none;
}

@keyframes nvifWaPulse {
    0%   { transform: scale(1);    opacity: 0.8; }
    70%  { transform: scale(1.45); opacity: 0;   }
    100% { transform: scale(1.45); opacity: 0;   }
}

/* ── Google Avis ── */
.nvif-fab--google {
    background: #fff;
    border: 1.5px solid #E8E8E8;
    color: #555;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

/* ── Appel téléphonique ── */
.nvif-fab--phone {
    background: linear-gradient(145deg, #1B3A6B 0%, #1ABCDE 100%);
    color: #fff;
}

/* ── Dark mode FAB (visible uniquement sur mobile, géré dans responsive.css) ── */
.nvif-fab--dark {
    background: #1B3A6B;
    color: #fff;
    display: none;   /* Affiché à ≤1200px */
}

/* Icônes soleil/lune dans le FAB dark */
.nvif-fab--dark .icon-sun  { display: none; }
.nvif-fab--dark .icon-moon { display: block; }

[data-theme="dark"] .nvif-fab--dark .icon-sun  { display: block; }
[data-theme="dark"] .nvif-fab--dark .icon-moon { display: none; }

/* ── Tooltip ── */
.nvif-fab__tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 25, 45, 0.93);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    letter-spacing: 0.02em;
    font-family: var(--font-body);
}

/* Flèche du tooltip */
.nvif-fab__tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(15, 25, 45, 0.93);
}

.nvif-fab:hover .nvif-fab__tooltip,
.nvif-fab:focus-visible .nvif-fab__tooltip {
    opacity: 1;
}

/* ── Dark mode overrides FABs ── */
[data-theme="dark"] .nvif-fab--google {
    background: #1E2D42;
    border-color: #2D4060;
}

[data-theme="dark"] .nvif-fab--dark {
    background: #1ABCDE;
    color: #0F1923;
}

/* ==========================================================================
   9. HAMBURGER (mobile uniquement, affiché via responsive.css)
   ========================================================================== */

.nvif-hamburger {
    display: none;   /* Affiché à ≤1200px via responsive.css */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 6px;
    border-radius: 4px;
    color: var(--white);
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.nvif-hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nvif-header.is-sticky .nvif-hamburger {
    color: #1B3A6B !important;
}

.nvif-hamburger__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animation hamburger → X */
.nvif-header.menu-open .nvif-hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nvif-header.menu-open .nvif-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nvif-header.menu-open .nvif-hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   10. MENU MOBILE — Overlay plein écran
   ========================================================================== */

.header-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--navy);
    z-index: 1001;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-top: 80px; /* espace sous le header */
}

.header-mobile-menu.is-open {
    transform: translateY(0);
}

.mobile-menu__inner {
    padding: 32px 24px 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Bouton fermeture ✕ — positionné en haut à droite du panel mobile */
.mobile-menu__close {
    align-self: flex-end !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin-bottom: -8px;
    /* z-index pour s'assurer qu'il est cliquable */
    position: relative;
    z-index: 10;
}

/* Le SVG ne doit PAS capturer les clics — ils passent au bouton parent */
.mobile-menu__close svg {
    pointer-events: none;
}

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
    background: rgba(26, 188, 222, 0.30) !important;
    border-color: rgba(26, 188, 222, 0.70) !important;
    outline: none;
}

/* Dark mode */
[data-theme="dark"] .mobile-menu__close {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(26, 188, 222, 0.30) !important;
}
[data-theme="dark"] .mobile-menu__close:hover {
    background: rgba(26, 188, 222, 0.25) !important;
}

/* Nav mobile */
.nvif-mobile-nav {
    list-style: none;
    padding: 0;   /* BUG 1 fix: annule le padding-left:40px par défaut du <ul> navigateur */
    margin: 0;
}

/* LI : flex-wrap pour que le dropdown passe à la ligne en dessous du lien+chevron
   CRITIQUE : sans flex-wrap, le <ul class="nvif-dropdown"> (position:static en mobile)
   se retrouve dans la même ligne flex → min-width:290px crée un débordement invisible. */
.nvif-mobile-nav > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nvif-mobile-nav > li:last-child {
    border-bottom: none;
}

/* Override display:flex du <li> hérité de .nvif-nav__item → flex-wrap + row */
.nvif-mobile-nav > li.nvif-nav__item {
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

/* Lien : flex:1 pour occuper toute la largeur disponible et pousser le chevron à droite */
.nvif-mobile-nav > li > a,
.nvif-mobile-nav > li > .nvif-nav__link {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 0;
    font-family: var(--font-condensed);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}

/* Chevron mobile — grande zone de tap (min 44×44px), ne rétrécit pas */
.nvif-mobile-nav .nvif-nav__chevron {
    flex-shrink: 0;
    padding: 12px 16px;
    color: var(--white);
    opacity: 0.7;
    margin-left: 0;
}

.nvif-mobile-nav .nvif-nav__item.is-open > .nvif-nav__chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--cyan);
}

/* Dropdown mobile (accordion) :
   - flex-basis:100% → passe sur sa propre ligne (grâce au flex-wrap du li)
   - min-width:0 → annule le min-width:290px hérité du desktop
   - max-height:0 → caché, transition vers 1200px à l'ouverture */
.nvif-mobile-nav .nvif-dropdown {
    flex-basis: 100%;
    min-width: 0 !important;
    width: 100%;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 8px 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    pointer-events: none;
    z-index: auto;
}

.nvif-mobile-nav .nvif-nav__item.is-open > .nvif-dropdown {
    max-height: 1200px;
    pointer-events: auto;
}

.nvif-mobile-nav .nvif-dropdown__link {
    color: rgba(255, 255, 255, 0.80);
    border-left-color: var(--item-color, var(--cyan));
    margin: 0;
    padding: 10px 12px;
}

.nvif-mobile-nav .nvif-dropdown__link:hover,
.nvif-mobile-nav .nvif-dropdown__link:focus {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.07);
}

/* Couleurs textes dropdown sur fond navy (mobile) */
.nvif-mobile-nav .nvif-dd-title {
    color: rgba(255, 255, 255, 0.92);
}

.nvif-mobile-nav .nvif-dd-sub {
    color: rgba(255, 255, 255, 0.50);
}

.nvif-mobile-nav .nvif-dd-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--cyan);
}

/* Reset mega-menu (centrage absolu desktop → accordion static mobile) */
.header-mobile-menu .nvif-nav__item--mega {
    position: relative;
}

.header-mobile-menu .nvif-nav__item--mega > .nvif-dropdown {
    position: static;
    left: auto;
    top: auto;
    transform: none !important;
    min-width: unset;
    width: 100%;
    border-radius: 0;
    border-top: none;
    display: block;
    grid-template-columns: unset;
}

.header-mobile-menu .nvif-nav__item--mega:hover > .nvif-dropdown,
.header-mobile-menu .nvif-nav__item--mega.is-open > .nvif-dropdown {
    transform: none !important;
}

/* Scroll lock quand menu mobile ouvert */
body.nvif-menu-open {
    overflow: hidden;
}

/* iOS : défilement fluide dans le menu mobile */
.header-mobile-menu {
    -webkit-overflow-scrolling: touch;
}

/* Contacts dans le menu mobile */
.mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.mobile-menu__contacts a:hover {
    color: var(--cyan);
}

.mobile-menu__cta {
    padding-top: 8px;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.nvif-footer {
    background: var(--navy);
    color: var(--white);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}

/* Colonne brand */
.footer-brand .logo-text {
    font-size: 1.6rem;
    display: inline-block;
    margin-bottom: 12px;
}

/* Logo image dans le footer — fond footer est foncé → mix-blend-mode: screen */
.footer-logo-img {
    height: 56px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
    filter: brightness(1.15);
    margin-bottom: 14px;
}

.footer-brand .footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.65);
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.footer-social__link:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background-color: rgba(26, 188, 222, 0.1);
}

/* Colonnes nav */
.footer-col__title {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s, padding-left 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a::before {
    content: '→';
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.footer-col ul a:hover {
    color: var(--cyan);
    padding-left: 4px;
}

.footer-col ul a:hover::before {
    opacity: 1;
}

/* Colonne contact */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.footer-contact-info__item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--cyan);
}

.footer-contact-info__item a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.footer-contact-info__item a:hover {
    color: var(--cyan);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(26, 188, 222, 0.25);
    padding: 20px 0;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom__copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom__links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-bottom__links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s;
}

.footer-bottom__links a:hover {
    color: var(--cyan);
}

.footer-bottom__by {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom__by a {
    color: var(--cyan);
    font-weight: 600;
    transition: opacity 0.2s;
}

.footer-bottom__by a:hover {
    opacity: 0.75;
}

/* ==========================================================================
   P04 — SECTIONS HOMEPAGE
   Bandeau urgence · Services Grid · Chiffres Clés · Pourquoi NVI ·
   Process Qualité · Témoignages · CTA Devis
   Classes communes : .nvif-section, .section-header, .section-label,
   .section-title, .section-subtitle
   ========================================================================== */

/* ------- Wrapper section P04 ------- */
.nvif-section {
    padding: var(--section-padding);
}

/* ------- En-tête de section commun ------- */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-mid);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================================================
   BANDEAU URGENCE
   ================================================================ */

.nvif-bandeau-urgence {
    background-color: var(--bandeau-color, var(--cyan));
    color: #0D1B2E; /* Texte sombre sur fond clair */
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 0;
    text-align: center;
    /* Pas de position/z-index : à l'intérieur du header fixe */
}

.nvif-bandeau-urgence .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bandeau-texte {
    margin: 0;
    padding: 0 40px;
}

.bandeau-close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: inherit;
    opacity: 0.65;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bandeau-close:hover { opacity: 1; }

/* ================================================================
   SERVICES GRID
   ================================================================ */

.nvif-services-section {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 32px 24px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

/* Barre couleur en haut — animée au hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color, var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--card-color, var(--cyan));
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Icône — pseudo-element pour fond sans affecter les enfants */
.card-icon-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--card-color, var(--cyan));
    transition: color 0.3s ease;
}

.card-icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background-color: var(--card-color, var(--cyan));
    opacity: 0.12;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.card-icon-wrap svg {
    position: relative;
    z-index: 1;
}

.service-card:hover .card-icon-wrap {
    color: #FFFFFF;
}

.service-card:hover .card-icon-wrap::before {
    opacity: 1;
}

.card-title {
    font-family: var(--font-condensed);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.875rem;
    color: var(--gray-mid);
    line-height: 1.65;
    margin-bottom: 20px;
}

.card-link {
    font-family: var(--font-condensed);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--card-color, var(--cyan));
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.service-card:hover .card-link {
    gap: 12px;
}

.card-arrow {
    font-style: normal;
    transition: transform 0.25s ease;
}

.service-card:hover .card-arrow {
    transform: translateX(4px);
}

/* Barre accent bas — décor */
.card-accent-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-color, var(--cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .card-accent-bar {
    opacity: 0.25;
}

.services-cta {
    text-align: center;
    margin-top: 8px;
}

/* ================================================================
   CHIFFRES CLÉS
   ================================================================ */

.nvif-chiffres-section {
    background: var(--gradient-nvi);
    padding: 72px 0;
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.chiffre-item {
    color: #FFFFFF;
    padding: 16px 8px;
}

.chiffre-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.chiffre-nombre {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.chiffre-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
}

/* ================================================================
   POURQUOI NVI FACILITY
   ================================================================ */

.nvif-why-section {
    background-color: var(--gray-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* 7e item centré sur grille 3 colonnes (row 3, col 2) */
.why-item:last-child {
    grid-column: 2 / 3;
}

.why-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--cyan);
    border-color: rgba(26, 188, 222, 0.15);
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(26, 188, 222, 0.08);
    color: var(--cyan);
    margin-bottom: 18px;
    transition: background 0.3s ease;
}

.why-item:hover .why-icon {
    background: rgba(26, 188, 222, 0.15);
}

.why-titre {
    font-family: var(--font-condensed);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.why-desc {
    font-size: 0.875rem;
    color: var(--gray-mid);
    line-height: 1.65;
}

.why-cta {
    text-align: center;
    margin-top: 8px;
}

/* ================================================================
   PROCESS QUALITÉ — Timeline 6 étapes
   ================================================================ */

.nvif-process-section {
    background: var(--white);
    overflow: hidden;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 8px;
    position: relative;
}

/* Ligne de connexion horizontale */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 31px; /* Centre du cercle step-num (64px / 2 - 1px) */
    left: calc(8.33% / 2);  /* Milieu de la première colonne */
    right: calc(8.33% / 2);
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--navy));
    z-index: 0;
    opacity: 0.35;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 8px;
}

.step-num {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--cyan);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-num {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    transform: scale(1.1);
    box-shadow: 0 0 0 3px var(--navy);
}

.step-titre {
    font-family: var(--font-condensed);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-desc {
    font-size: 0.78rem;
    color: var(--gray-mid);
    line-height: 1.55;
}

/* ================================================================
   TÉMOIGNAGES — Carrousel scroll-snap
   ================================================================ */

.nvif-temoignages-section {
    background-color: var(--gray-light);
}

.temoignages-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-top: 8px;
}

.temoignages-carousel::-webkit-scrollbar { display: none; }

.temoignage-card {
    min-width: calc(33.33% - 16px);
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.temoignage-stars {
    margin-bottom: 18px;
}

.star {
    color: #D1D5DB;
    font-size: 1.15rem;
    line-height: 1;
}

.star.filled { color: #FBBF24; }

.temoignage-texte {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.75;
    font-style: italic;
    margin: 0 0 24px;
    padding-left: 16px;
    border-left: 3px solid var(--cyan);
    flex: 1;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0; /* Évite le flex-blowout sur les enfants de flex column */
}

.temoignage-auteur {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.auteur-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.auteur-initiale {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-nvi);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.auteur-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.auteur-info strong {
    display: block;
    font-family: var(--font-condensed);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.auteur-info span {
    font-size: 0.8rem;
    color: var(--gray-mid);
    line-height: 1.3;
}

/* Navigation carrousel */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--navy);
    color: #FFFFFF;
}

.carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-mid);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s ease, width 0.25s ease, border-radius 0.25s ease;
}

.dot.active {
    background: var(--navy);
    width: 24px;
    border-radius: 4px;
}

/* ================================================================
   CTA DEVIS — Bande finale de conversion
   ================================================================ */

.nvif-cta-section {
    position: relative;
    padding: 88px 0;
    text-align: center;
    overflow: hidden;
    background: var(--gradient-nvi);
}

/* Décors géométriques flottants */
.cta-deco {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
}

.cta-deco--1 {
    width: 400px;
    height: 400px;
    background: #FFFFFF;
    top: -100px;
    left: -100px;
}

.cta-deco--2 {
    width: 300px;
    height: 300px;
    background: var(--cyan);
    bottom: -80px;
    right: -60px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-titre {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-sous-titre {
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-body);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* Indicateurs de confiance */
.cta-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: center;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-body);
}

/* ==========================================================================
   12. DARK MODE OVERRIDES
   =========================================================================
   Architecture :
   - --navy est redéfini à #C8D6E5 dans style.css → tous les color:var(--navy)
     deviennent automatiquement clairs en dark mode.
   - --white → #0F1923 (fond sombre), --gray-dark → #E8EDF4 (texte clair)
   - Les backgrounds qui utilisaient var(--navy) ont des overrides explicites
     ci-dessous pour éviter qu'ils deviennent clairs.
   - Hiérarchie des surfaces en dark mode (du plus sombre au plus clair) :
     footer-bottom (#03080F) < footer (#060D18) < body (#0F1923)
     < section-alt (#1A2332) < header (#162236) < sticky-header (#1C2B40)
   ========================================================================== */

/* ---- Base body ---- */
[data-theme="dark"] body {
    background-color: #0F1923;
    color: #E8EDF4;
}

/* Sections alternées — légèrement plus claires que le body */
[data-theme="dark"] .section--alt {
    background-color: #1A2332;
}

/* Sections gradient — var(--white) = #0F1923 en dark → texte sombre sur dégradé
   On force le blanc pour garder le texte lisible sur les fonds colorés */
[data-theme="dark"] .section--dark {
    color: #FFFFFF;
}
[data-theme="dark"] .section--dark h1,
[data-theme="dark"] .section--dark h2,
[data-theme="dark"] .section--dark h3,
[data-theme="dark"] .section--dark h4,
[data-theme="dark"] .section--dark h5,
[data-theme="dark"] .section--dark h6,
[data-theme="dark"] .section--dark p {
    color: #FFFFFF;
}

/* ----------------------------------------------------------------
   HERO DARK — Gradient plus sombre pour contraster avec le light mode
---------------------------------------------------------------- */
[data-theme="dark"] .nvif-hero:not([style*="--hero-bg"]) {
    background: linear-gradient(135deg, #040A12 0%, #0A1525 60%, #0F2030 100%);
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 60%,
        rgba(26, 188, 222, 0.20) 100%
    );
}

/* Vague bas hero — suit la couleur du body */
[data-theme="dark"] .hero-wave {
    color: #0F1923;
}

/* ----------------------------------------------------------------
   BOUTONS DARK — Corrections critiques liées aux vars CSS
   .nvif-btn--primary : color:var(--white) → #0F1923 (invisible sur gradient)
   .btn-primary       : color:var(--navy)  → #C8D6E5 (peu contrasté sur cyan)
---------------------------------------------------------------- */

/* Bouton gradient (nvif-btn--primary) — texte blanc forcé */
[data-theme="dark"] .nvif-btn--primary,
[data-theme="dark"] .nvif-btn--primary:hover {
    color: #FFFFFF !important;
}

/* Bouton cyan hero (btn-primary) — texte sombre sur cyan pour contraste */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .btn-primary:hover {
    color: #0D1B2E;
}

/* Bouton outline global — reste lisible */
[data-theme="dark"] .nvif-btn--outline {
    color: #1ABCDE;
    border-color: #1ABCDE;
}
[data-theme="dark"] .nvif-btn--outline:hover {
    background: #1ABCDE;
    color: #0F1923;
}

/* ----------------------------------------------------------------
   HEADER DARK — Élévation visuelle claire vs le body
   Light mode  : header = navy #1B3A6B (chaud, coloré)
   Dark mode   : header = #162236 (froid, sombre mais PLUS CLAIR que le body)
   → La différence est VISIBLE immédiatement au toggle
---------------------------------------------------------------- */

/* Bandeau supérieur */
[data-theme="dark"] .header-top {
    background-color: #0C1624;
    border-bottom-color: rgba(26, 188, 222, 0.08);
}

/* Barre principale — PLUS CLAIRE que body (#0F1923) pour créer l'élévation */
[data-theme="dark"] .header-main {
    background-color: #162236;
    border-bottom: 1px solid rgba(26, 188, 222, 0.12);
}

/* Homepage non-sticky — transparent sur hero UNIQUEMENT pendant le scroll actif */
[data-theme="dark"] .home .nvif-header:not(.is-sticky).is-scrolling .header-main {
    background-color: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .home .nvif-header:not(.is-sticky).is-scrolling .header-top {
    background-color: rgba(6, 14, 27, 0.75);
}

/* ---- Logo ---- */
[data-theme="dark"] .logo-text {
    color: #FFFFFF;
}

[data-theme="dark"] .logo-tagline {
    color: rgba(255, 255, 255, 0.50);
}

/* ---- Nav links desktop ---- */
[data-theme="dark"] .nvif-nav__link {
    color: #D8E4F0;
}

[data-theme="dark"] .nvif-nav__link:hover,
[data-theme="dark"] .nvif-nav__item.current-menu-item > .nvif-nav__link,
[data-theme="dark"] .nvif-nav__item.current-menu-ancestor > .nvif-nav__link {
    color: #1ABCDE;
    background-color: rgba(26, 188, 222, 0.10);
}

/* ---- Bouton toggle + hamburger ---- */
[data-theme="dark"] .nvif-dark-toggle {
    color: #D8E4F0;
}

[data-theme="dark"] .nvif-dark-toggle:hover {
    background-color: rgba(26, 188, 222, 0.12);
    color: #1ABCDE;
}

[data-theme="dark"] .nvif-hamburger {
    color: #D8E4F0;
}

/* ----------------------------------------------------------------
   HEADER STICKY DARK — encore plus élevé que non-sticky
   Fond #1C2B40 + glow cyan pour signal de scroll visible
---------------------------------------------------------------- */
[data-theme="dark"] .nvif-header.is-sticky .header-main {
    background-color: #1C2B40;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6),
                0 1px 0 rgba(26, 188, 222, 0.18);
    border-bottom-color: transparent;
}

/* Override de TOUS les !important du mode clair sticky */
[data-theme="dark"] .nvif-header.is-sticky .logo-text {
    color: #FFFFFF !important;
}

[data-theme="dark"] .nvif-header.is-sticky .logo-tagline {
    color: rgba(255, 255, 255, 0.45) !important;
}

[data-theme="dark"] .nvif-header.is-sticky .header-nav .nvif-nav__link,
[data-theme="dark"] .nvif-header.is-sticky .nvif-nav .nvif-nav__link {
    color: #D8E4F0 !important;
}

[data-theme="dark"] .nvif-header.is-sticky .header-nav .nvif-nav__link:hover,
[data-theme="dark"] .nvif-header.is-sticky .nvif-nav .nvif-nav__link:hover,
[data-theme="dark"] .nvif-header.is-sticky .nvif-nav__item.current-menu-item > .nvif-nav__link,
[data-theme="dark"] .nvif-header.is-sticky .nvif-nav__item.current-menu-ancestor > .nvif-nav__link {
    color: #1ABCDE !important;
    background-color: rgba(26, 188, 222, 0.10);
}

[data-theme="dark"] .nvif-header.is-sticky .nvif-hamburger {
    color: #D8E4F0 !important;
}

[data-theme="dark"] .nvif-header.is-sticky .nvif-dark-toggle {
    background: #1B3A6B !important;
    border-color: rgba(26, 188, 222, 0.4) !important;
    color: #D8E4F0 !important;
}

[data-theme="dark"] .nvif-header.is-sticky .nvif-dark-toggle:hover {
    background: #1ABCDE !important;
    color: #fff !important;
}

/* ----------------------------------------------------------------
   DROPDOWNS DARK
---------------------------------------------------------------- */
[data-theme="dark"] .nvif-dropdown {
    background-color: #1A2B40;
    border-top-color: #1ABCDE;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .nvif-dropdown__link {
    color: #D8E4F0;
}

[data-theme="dark"] .nvif-dropdown__link:hover {
    background-color: rgba(26, 188, 222, 0.08);
    color: #D8E4F0;
}

[data-theme="dark"] .nvif-dd-icon {
    background: var(--dd-icon-bg, rgba(255, 255, 255, 0.06));
    color: var(--dd-icon-clr, #1ABCDE);
}

[data-theme="dark"] .nvif-dropdown__link:hover .nvif-dd-icon {
    background: rgba(26, 188, 222, 0.15);
    color: #1ABCDE;
}

[data-theme="dark"] .nvif-dd-title {
    color: #E8EDF4;
}

[data-theme="dark"] .nvif-dd-sub {
    color: #7A90A8;
}

[data-theme="dark"] .nvif-dd--hub .nvif-dropdown__link {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .nvif-dd--hub .nvif-dd-title {
    color: #D8E4F0;
}

[data-theme="dark"] .nvif-dd--hub .nvif-dropdown__link:hover {
    background: rgba(26, 188, 222, 0.1);
}

[data-theme="dark"] .nvif-dd--hub {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* ----------------------------------------------------------------
   MENU MOBILE DARK
---------------------------------------------------------------- */
[data-theme="dark"] .header-mobile-menu {
    background-color: #0F1B2D;
}

[data-theme="dark"] .nvif-mobile-nav > li {
    border-bottom-color: rgba(216, 228, 240, 0.08);
}

[data-theme="dark"] .nvif-mobile-nav > li > a,
[data-theme="dark"] .nvif-mobile-nav > li > .nvif-nav__link {
    color: #D8E4F0;
}

[data-theme="dark"] .nvif-mobile-nav .nvif-nav__chevron {
    color: #D8E4F0;
}

[data-theme="dark"] .nvif-mobile-nav .nvif-nav__item.is-open > .nvif-nav__chevron {
    color: #1ABCDE;
}

[data-theme="dark"] .mobile-menu__contacts a {
    color: rgba(216, 228, 240, 0.65);
}

[data-theme="dark"] .mobile-menu__contacts a:hover {
    color: #1ABCDE;
}

/* ----------------------------------------------------------------
   FOOTER DARK — Clairement plus sombre que le body
   Light mode : navy #1B3A6B (couleur chaude)
   Dark mode  : #060D18 (quasi-noir, net contraste avec body #0F1923)
---------------------------------------------------------------- */
[data-theme="dark"] .nvif-footer {
    background: #060D18;
    color: #C8D6E5;
}

[data-theme="dark"] .footer-brand .logo-text {
    color: #FFFFFF;
}

[data-theme="dark"] .footer-desc {
    color: rgba(200, 214, 229, 0.65);
}

[data-theme="dark"] .footer-col__title {
    color: #1ABCDE;
}

[data-theme="dark"] .footer-col ul a {
    color: #8DA0B5;
}

[data-theme="dark"] .footer-col ul a:hover {
    color: #1ABCDE;
}

[data-theme="dark"] .footer-social__link {
    color: #8DA0B5;
    border-color: rgba(141, 160, 181, 0.3);
}

[data-theme="dark"] .footer-social__link:hover {
    background-color: #1ABCDE;
    color: #060D18;
    border-color: #1ABCDE;
}

[data-theme="dark"] .footer-contact-info__item {
    color: #8DA0B5;
}

[data-theme="dark"] .footer-contact-info__item a {
    color: #8DA0B5;
}

[data-theme="dark"] .footer-contact-info__item a:hover {
    color: #1ABCDE;
}

[data-theme="dark"] .footer-bottom {
    background-color: #03080F;
    border-top-color: rgba(26, 188, 222, 0.12);
}

[data-theme="dark"] .footer-bottom__copy {
    color: rgba(200, 214, 229, 0.35);
}

[data-theme="dark"] .footer-bottom__links a {
    color: rgba(200, 214, 229, 0.45);
}

[data-theme="dark"] .footer-bottom__links a:hover {
    color: #1ABCDE;
}

[data-theme="dark"] .footer-bottom__by {
    color: rgba(200, 214, 229, 0.30);
}

[data-theme="dark"] .footer-bottom__by a {
    color: #1ABCDE;
}

/* ----------------------------------------------------------------
   TYPOGRAPHIE DARK — Titres, corps, sous-titres
   Note : h1/h2/h3 { color: var(--navy) } → var(--navy) = #C8D6E5 en dark
   → les titres sont automatiquement clairs SANS override explicite.
   Ajout des overrides pour la robustesse et les éléments avec color hardcodé.
---------------------------------------------------------------- */

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #C8D6E5;
}

[data-theme="dark"] .section__title {
    color: #C8D6E5;
}

[data-theme="dark"] .section__subtitle {
    color: #8DA0B5;
}

[data-theme="dark"] .page-title,
[data-theme="dark"] .page-header h1 {
    color: #C8D6E5;
}

[data-theme="dark"] .nvif-page-content {
    color: #B8C8D8;
}

[data-theme="dark"] .nvif-page-content h2,
[data-theme="dark"] .nvif-page-content h3,
[data-theme="dark"] .nvif-page-content h4,
[data-theme="dark"] .nvif-page-content h5,
[data-theme="dark"] .nvif-page-content h6 {
    color: #C8D6E5;
}

/* ----------------------------------------------------------------
   FORMULAIRES DARK
---------------------------------------------------------------- */
[data-theme="dark"] input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background-color: #162236;
    color: #E8EDF4;
    border-color: rgba(216, 228, 240, 0.15);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: rgba(216, 228, 240, 0.35);
}

[data-theme="dark"] label {
    color: #B8C8D8;
}

/* ----------------------------------------------------------------
   ÉLÉMENTS DIVERS DARK
---------------------------------------------------------------- */
[data-theme="dark"] hr {
    border-color: rgba(216, 228, 240, 0.10);
}

/* Utilitaire .bg-navy — sans override il deviendrait #C8D6E5 (clair) */
[data-theme="dark"] .bg-navy {
    background-color: #0A1628;
}

/* Cartes génériques (P04+) */
[data-theme="dark"] .card,
[data-theme="dark"] .service-card {
    background-color: #1A2332;
    border-color: rgba(255, 255, 255, 0.06);
    color: #B8C8D8;
}

[data-theme="dark"] .card h3,
[data-theme="dark"] .card h4,
[data-theme="dark"] .service-card h3,
[data-theme="dark"] .service-card h4 {
    color: #C8D6E5;
}

/* ----------------------------------------------------------------
   P04 SECTIONS — Dark mode
   Seuls les éléments dont le background est var(--white) à l'intérieur
   de sections var(--gray-light) nécessitent un override explicite
   (sinon inversion d'élévation : carte plus sombre que son conteneur).

   Auto-OK via remapping des variables :
   • .section-label          → var(--cyan)      constant
   • .section-title          → var(--navy)      → #C8D6E5
   • .section-subtitle       → var(--gray-mid)  → #8DA0B5
   • .card-title             → var(--navy)      → #C8D6E5
   • .card-desc              → var(--gray-mid)  → #8DA0B5
   • .card-link              → var(--card-color) constant
   • .why-titre / .step-titre→ var(--navy)      → #C8D6E5
   • .why-desc / .step-desc  → var(--gray-mid)  → #8DA0B5
   • .temoignage-texte       → var(--gray-dark) → #E8EDF4
   • .auteur-info strong     → var(--navy)      → #C8D6E5
   • .carousel-btn           → var(--navy)      → #C8D6E5
   • .dot / .dot.active      → var(--gray-mid) / var(--navy)
   • .nvif-why-section       → var(--gray-light)→ #1A2332  ✓
   • .nvif-temoignages-section→var(--gray-light)→ #1A2332  ✓
   • Chiffres & CTA          → gradient NVI constant       ✓
---------------------------------------------------------------- */

/* Why items : var(--white) → #0F1923 dans section #1A2332 = inversion d'élévation */
[data-theme="dark"] .why-item {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .why-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    border-color: rgba(26, 188, 222, 0.30);
    border-left-color: var(--cyan);
}

/* Témoignage cards : var(--white) → #0F1923 dans section #1A2332 = inversion */
[data-theme="dark"] .temoignage-card {
    background: #1C2B40;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.30);
}

/* Process section : var(--white) → #0F1923 = même que body → alternance OK */
[data-theme="dark"] .nvif-process-section {
    background-color: #0F1923;
}

/* Step num : renforce le ring cyan en dark mode */
[data-theme="dark"] .step-num {
    border-color: #0F1923;
    box-shadow: 0 0 0 3px rgba(26, 188, 222, 0.60);
}

/* Timeline ligne horizontale : plus subtile en dark */
[data-theme="dark"] .process-timeline::before {
    opacity: 0.20;
}

/* Service cards hover complément (bg déjà overridé par .card/.service-card) */
[data-theme="dark"] .service-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.50);
    border-color: var(--card-color, var(--cyan));
}

/* ==========================================================================
   P05 — POP-UP CAPTURE EMAIL + BANDEAU URGENCE AMÉLIORÉ
   ========================================================================== */

/* ---- Overlay ---- */
.nvif-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 8000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nvif-popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* ---- Modale ---- */
.nvif-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: min(520px, calc(100vw - 32px));
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    z-index: 8001;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease,
                visibility 0.35s ease,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nvif-popup.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Bande déco gauche dégradé */
.popup-deco {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--cyan), var(--navy));
}

/* Contenu avec espace pour la bande déco */
.popup-content {
    padding: 36px 36px 28px 46px;
}

/* ---- Bouton fermeture ---- */
.popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--gray-light);
    color: var(--gray-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.25s;
    z-index: 1;
}

.popup-close:hover {
    background: var(--navy);
    color: #FFFFFF;
    transform: rotate(90deg);
}

/* ---- Badge icône ---- */
.popup-badge {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-bottom: 18px;
    flex-shrink: 0;
}

/* ---- Textes ---- */
.popup-titre {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.2;
}

.popup-texte {
    font-size: 0.88rem;
    color: var(--gray-mid);
    line-height: 1.65;
    margin-bottom: 22px;
}

/* ---- Formulaire ---- */
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-hp {
    display: none;
    position: absolute;
    left: -9999px;
}

.popup-field input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #DDE3ED;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--gray-dark);
    background: var(--gray-light);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.popup-field input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(26, 188, 222, 0.15);
    background: var(--white);
}

.popup-field input::placeholder {
    color: var(--gray-mid);
}

/* ---- Bouton submit ---- */
.popup-submit {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    padding: 13px;
    font-size: 0.9rem;
    gap: 10px;
}

.popup-btn-loader {
    display: none;
    align-items: center;
}

/* ---- Spinner animation ---- */
@keyframes nvif-spin {
    to { transform: rotate(360deg); }
}

.popup-spin {
    animation: nvif-spin 0.8s linear infinite;
}

/* ---- Message succès ---- */
.popup-success {
    display: none;
    text-align: center;
    padding: 24px 0 8px;
}

.popup-success__icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    line-height: 1;
}

.popup-success__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.popup-success__msg {
    font-size: 0.88rem;
    color: var(--gray-mid);
}

/* ---- Lien skip ---- */
.popup-skip {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--gray-mid);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
    padding: 4px;
}

.popup-skip:hover {
    color: var(--navy);
}

/* ---- Dark mode popup ---- */
[data-theme="dark"] .nvif-popup {
    background: #162236;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .popup-titre {
    color: #D8E4F0;
}

[data-theme="dark"] .popup-texte,
[data-theme="dark"] .popup-skip {
    color: #8DA0B5;
}

[data-theme="dark"] .popup-field input {
    background: #0F1923;
    border-color: rgba(255, 255, 255, 0.10);
    color: #D8E4F0;
}

[data-theme="dark"] .popup-field input::placeholder {
    color: #5A7090;
}

[data-theme="dark"] .popup-close {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .popup-success__title {
    color: #D8E4F0;
}

/* ---- Bandeau urgence amélioré (P05) ---- */
.bandeau-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 40px; /* espace pour le bouton fermeture */
}

/* Point pulsant */
.bandeau-pulse {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--navy);
    display: block;
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    animation: nvif-pulse-bandeau 1.6s ease-out infinite;
}

@keyframes nvif-pulse-bandeau {
    0%   { transform: scale(1);   opacity: 0.75; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* CTA dans le bandeau */
.bandeau-cta {
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--navy);
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s;
    letter-spacing: 0.02em;
}

.bandeau-cta:hover {
    opacity: 0.7;
    color: var(--navy);
}

/* Repositionnement du bouton fermeture */
.nvif-bandeau-urgence .bandeau-close {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* ==========================================================================
   13. UTILITAIRES
   ========================================================================== */

.text-center  { text-align: center; }
.text-navy    { color: var(--navy); }
.text-cyan    { color: var(--cyan); }
.text-white   { color: var(--white); }
.bg-navy      { background-color: var(--navy); }
.bg-gray-light{ background-color: var(--gray-light); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* Overlay body quand le menu mobile est ouvert */
body.nvif-menu-open {
    overflow: hidden;
}

/* ==========================================================================
   14. PAGE À PROPOS (P06)
   Hero interne · Intro · Mission/Vision · Valeurs
   ========================================================================== */

/* ---- Hero interne (réutilisable toutes pages secondaires) ---- */
.nvif-hero-interne {
    position: relative;
    padding: calc(var(--nvif-header-h, 119px) + 60px) 0 90px;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    overflow: hidden;
    min-height: 320px;
}

/* Fallback sans image : dégradé signature NVI */
.nvif-hero-interne:not([style*="--hero-bg"]) {
    background: linear-gradient(135deg, #1B3A6B 0%, #2176AE 60%, #1ABCDE 100%);
}

/* Overlay assombrit l'image de fond pour lisibilité */
.hero-interne-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 58, 107, 0.90) 0%,
        rgba(33, 118, 174, 0.75) 100%
    );
}

.hero-interne-content {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}
.hero-breadcrumb a:hover,
.hero-breadcrumb a:focus-visible { color: var(--cyan); }

.breadcrumb-sep { color: var(--cyan); font-size: 1rem; }

/* Titre H1 */
.hero-interne-titre {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    max-width: 720px;
    margin-bottom: 16px;
}

/* Sous-titre */
.hero-interne-sous-titre {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    line-height: 1.65;
}

/* Vague décorative bas de hero */
.hero-interne-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    z-index: 3;
    line-height: 0;
    /* currentColor = couleur du fond de la section suivante (light/dark) */
    color: #ffffff;
}

.hero-interne-wave svg {
    display: block;
    width: 100%;
    height: 55px;
}

/* ---- Section intro (Qui sommes-nous) ---- */
.nvif-about-intro {
    background: #ffffff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Titre gauche-aligné (override section-title centré) */
.about-h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-intro-body p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.78;
    margin-bottom: 16px;
}

.about-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.5;
}

.point-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cyan);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.about-cta-wrap {
    margin-top: 32px;
}

/* Visuel droit */
.about-visual-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-visual-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-visual-placeholder {
    height: 420px;
    background: linear-gradient(135deg, #1B3A6B 0%, #1ABCDE 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    gap: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.placeholder-icon { font-size: 4rem; }

/* Badge statistique sur le visuel */
.visual-stat-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.vsb-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.vsb-label {
    display: block;
    font-size: 0.73rem;
    color: var(--gray-mid);
    margin-top: 4px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---- Mission + Vision ---- */
.nvif-mission-vision {
    background: var(--gray-light);
}

.nvif-mission-vision .section-header {
    margin-bottom: 40px;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.mv-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mv-mission { border-top: 4px solid var(--cyan); }
.mv-vision  { border-top: 4px solid var(--navy); }

.mv-icon {
    font-size: 2.6rem;
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.mv-titre {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.mv-texte {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.78;
}

/* Séparateur central */
.mv-separator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mv-sep-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--cyan), transparent);
}

.mv-sep-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(26, 188, 222, 0.20);
}

/* ---- Valeurs fondamentales ---- */
.nvif-valeurs-section {
    background: #ffffff;
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.valeur-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: var(--gray-light);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Barre dégradé animée en bas */
.valeur-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--navy));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.valeur-card:hover {
    background: #ffffff;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.valeur-card:hover::after {
    transform: scaleX(1);
}

.valeur-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.valeur-titre {
    font-family: var(--font-condensed);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.valeur-desc {
    font-size: 0.85rem;
    color: var(--gray-mid);
    line-height: 1.65;
}

/* ---- Dark mode — À Propos ---- */

/* Vague hero-interne : correspond au fond de la section suivante */
[data-theme="dark"] .hero-interne-wave {
    color: #0F1923;
}

/* Sections à fond blanc → fond dark body */
[data-theme="dark"] .nvif-about-intro,
[data-theme="dark"] .nvif-valeurs-section {
    background: #0F1923;
}

/* Cards Mission/Vision dans section gray-light (→ #1A2332) */
[data-theme="dark"] .mv-card {
    background: #1C2B40;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .mv-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Badge visuel stat */
[data-theme="dark"] .visual-stat-badge {
    background: #1C2B40;
}

/* Valeur card hover : fond blanc → fond dark élevé */
[data-theme="dark"] .valeur-card:hover {
    background: #1C2B40;
}

/* ==========================================================================
   15. TYPEWRITER EFFECT (P07)
   ========================================================================== */

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--cyan);
    vertical-align: middle;
    margin-left: 3px;
    border-radius: 1px;
    animation: nvif-blink 1s step-end infinite;
    transition: opacity 0.4s ease;
}

.typewriter-cursor.is-done {
    opacity: 0;
    animation: none;
}

@keyframes nvif-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ==========================================================================
   16. HUBS FM & RH (P07)
   ========================================================================== */

/* ---- Section commune aux deux hubs ---- */

.nvif-hub-services {
    background: var(--white);
}

/* Grille 7 services FM : 4 col desktop, adapté en responsive */
.hub-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card service hub — lien cliquable avec photo en arrière-plan */
.hub-service-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 22px 22px;
    background-color: #1A2B40;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(27, 58, 107, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.hub-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(12,22,36,.72), rgba(20,45,80,.88));
    z-index: 0;
}

.hub-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-color, var(--cyan));
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.hub-service-card > * {
    position: relative;
    z-index: 1;
}

.hub-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.30);
    border-color: rgba(255, 255, 255, 0.30);
}

.hub-service-card:hover::after {
    opacity: 0.18;
}

.hub-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.90);
    flex-shrink: 0;
}

.hub-service-icon svg {
    color: rgba(255, 255, 255, 0.90);
}

.hub-service-name {
    font-family: var(--font-condensed);
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.hub-service-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    flex-grow: 1;
}

.hub-service-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.90);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

/* ---- Section orbit — Hub FM ---- */

.nvif-hub-orbit {
    background: var(--gray-light);
}

.hub-orbit-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 64px;
    align-items: center;
}

.hub-orbit-text .section-label {
    display: block;
    margin-bottom: 12px;
}

.hub-orbit-text .section-title {
    margin-bottom: 20px;
}

.hub-orbit-intro {
    color: var(--gray-dark);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 520px;
}

.hub-orbit-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.hub-orbit-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.55;
}

.hub-orbit-points li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    flex-shrink: 0;
    margin-top: 6px;
}

/* Orbit visual (pure CSS) */
.orbit-container {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border: 1.5px dashed rgba(0, 191, 165, 0.3);
    border-radius: 50%;
}

.orbit-ring-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(27, 58, 107, 0.08);
    border-radius: 50%;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, var(--navy), var(--cyan));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 2;
    box-shadow: 0 6px 24px rgba(27, 58, 107, 0.35);
}

.orbit-center-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.orbit-center-label {
    font-family: var(--font-condensed);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.orbit-item {
    position: absolute;
    width: 72px;
    height: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(27, 58, 107, 0.12);
    border: 1.5px solid transparent;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.orbit-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 6px 20px rgba(0, 191, 165, 0.18);
}

.orbit-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.orbit-label {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.2;
}

/* ---- Section Pourquoi NVI pour le FM ---- */

.nvif-hub-why {
    background: var(--white);
}

.hub-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.hub-why-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: 14px;
    background: var(--gray-light);
    transition: transform 0.25s ease;
}

.hub-why-item:hover {
    transform: translateY(-4px);
}

.hub-why-icon {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.hub-why-title {
    font-family: var(--font-condensed);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.hub-why-text {
    font-size: 0.83rem;
    color: var(--gray-dark);
    line-height: 1.65;
}

/* ---- Hub RH — services 2 grandes cards ---- */

.nvif-rh-services {
    background: var(--white);
}

.rh-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.rh-service-card {
    padding: 48px 40px;
    background-color: #1A2B40;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(27, 58, 107, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.rh-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(12,22,36,.72), rgba(20,45,80,.88));
    z-index: 0;
}

.rh-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-color, var(--cyan));
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 0;
}

.rh-service-card > * {
    position: relative;
    z-index: 1;
}

.rh-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.30);
    border-color: rgba(255, 255, 255, 0.30);
}

.rh-service-card:hover::after {
    opacity: 0.18;
}

.rh-service-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
}

.rh-service-icon-wrap svg {
    color: rgba(255, 255, 255, 0.90);
}

.rh-service-name {
    font-family: var(--font-condensed);
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rh-service-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    flex-grow: 1;
}

.rh-service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.rh-service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
}

.rh-service-features li::before {
    content: '✓';
    font-weight: 700;
    color: rgba(255, 255, 255, 0.90);
    flex-shrink: 0;
}

.rh-service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.90);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
}

/* ---- Synergie FM + RH ---- */

.nvif-synergie {
    background: var(--gray-light);
}

.synergie-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 8px 32px rgba(27, 58, 107, 0.1);
    text-align: center;
}

.synergie-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.synergie-icon {
    font-size: 2.8rem;
    line-height: 1;
}

.synergie-title {
    font-family: var(--font-condensed);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.synergie-text {
    font-size: 0.82rem;
    color: var(--gray-dark);
    line-height: 1.6;
}

.synergie-plus {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.synergie-plus-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy), var(--cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 191, 165, 0.3);
}

.synergie-plus-label {
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.synergie-result {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--navy), #2176AE);
    border-radius: 14px;
    padding: 28px 32px;
    color: #fff;
}

.synergie-result-title {
    font-family: var(--font-condensed);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: #ffffff; /* Force blanc — les h3 globaux utilisent var(--navy) */
}

.synergie-result-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92); /* Légèrement adouci mais lisible en tout mode */
}

/* ---- Dark mode — Hubs FM & RH ---- */

[data-theme="dark"] .nvif-hub-services,
[data-theme="dark"] .nvif-hub-why,
[data-theme="dark"] .nvif-rh-services {
    background: #0F1923;
}

[data-theme="dark"] .hub-service-card {
    background-color: #1A2B40;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hub-service-card:hover {
    border-color: rgba(255, 255, 255, 0.30);
}

[data-theme="dark"] .hub-service-icon {
    background: rgba(0, 191, 165, 0.1);
}

[data-theme="dark"] .hub-service-name {
    color: #E8EDF4;
}

[data-theme="dark"] .hub-why-item {
    background: #1A2332;
}

[data-theme="dark"] .hub-why-title {
    color: #E8EDF4;
}

[data-theme="dark"] .orbit-item {
    background: #1C2B40;
}

[data-theme="dark"] .orbit-label {
    color: #E8EDF4;
}

[data-theme="dark"] .nvif-hub-orbit,
[data-theme="dark"] .nvif-synergie {
    background: #1A2332;
}

[data-theme="dark"] .rh-service-card {
    background-color: #1A2B40;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .rh-service-card:hover {
    border-color: rgba(255, 255, 255, 0.30);
}

[data-theme="dark"] .synergie-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .rh-service-name,
[data-theme="dark"] .synergie-title {
    color: #E8EDF4;
}

[data-theme="dark"] .rh-service-icon-wrap {
    background: rgba(0, 191, 165, 0.1);
}

[data-theme="dark"] .rh-service-icon-wrap svg {
    color: var(--cyan);
}

/* Synergie result : gradient hardcodé en dark mode
   (var(--navy) remmappe en #C8D6E5 clair → fond clair + texte blanc = illisible) */
[data-theme="dark"] .synergie-result {
    background: linear-gradient(135deg, #1B3A6B, #1565C0);
}

/* Plus icon : même problème avec var(--navy) dans le gradient */
[data-theme="dark"] .synergie-plus-icon {
    background: linear-gradient(135deg, #1B3A6B, var(--cyan));
}

/* Texte dans synergie-side en dark mode */
[data-theme="dark"] .synergie-text {
    color: #94A3B8;
}

/* ==========================================================================
   17. PAGE SERVICE — Template Service × 9 (P08)
   ========================================================================== */

/* ---- Bouton accent (couleur dynamique via --btn-accent) ---- */
.nvif-btn--accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--btn-accent, var(--cyan));
    color: #ffffff;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.nvif-btn--accent:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: #ffffff;
}

/* ---- Hero service : variante du hero-interne avec barre accent ---- */
.nvif-hero-service {
    /* Hérite de .nvif-hero-interne — pas de surcharge nécessaire en light */
}

.hero-service-bar {
    position: absolute;
    bottom: 58px;               /* juste au-dessus de la vague */
    left: var(--container-padding, 24px);
    width: 64px;
    height: 4px;
    border-radius: 2px;
    z-index: 4;
    opacity: 0.9;
}

/* ---- Section présentation (image + texte) ---- */
.nvif-service-pres {
    padding: 80px 0;
    background: var(--white);
}

.service-pres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Colonne image */
.service-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: visible;
}

.service-img-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    display: block;
    box-shadow: 0 16px 48px rgba(27, 58, 107, 0.15);
}

.service-img-placeholder {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Colonne texte */
.service-pres-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-pres-bar {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    flex-shrink: 0;
}

.service-pres-cat {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0;
    display: flex;
    align-items: center;
}

.service-pres-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin: 0;
}

.service-pres-intro {
    color: var(--gray-dark);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

.service-pres-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-pres-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.service-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.service-pres-more {
    margin: 0;
    font-size: 0.88rem;
}

.service-pres-more a {
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-pres-more a:hover {
    opacity: 0.8;
}

.service-pres-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.service-tel-btn {
    font-size: 0.88rem;
    padding: 12px 20px;
}

/* ---- Section prestations complètes ---- */
.nvif-service-prestations {
    padding: 80px 0;
    background: #F7FAFF;
}

.service-title-accent {
    /* couleur injectée via style inline */
}

.prestations-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.prestation-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 18px 20px;
    border: 1px solid rgba(27, 58, 107, 0.06);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(27, 58, 107, 0.04);
}

.prestation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 58, 107, 0.1);
}

.prestation-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prestation-text {
    font-size: 0.92rem;
    color: var(--gray-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* ---- Section clientèle cible ---- */
.nvif-service-cible {
    padding: 64px 0;
    background: var(--white);
}

.cible-inner {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    background: #F7FAFF;
    border-radius: var(--border-radius-lg);
    padding: 40px 48px;
    border: 1px solid rgba(27, 58, 107, 0.08);
}

.cible-icon-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cible-content {
    flex: 1;
}

.cible-titre {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.cible-text {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ---- Section services connexes ---- */
.nvif-connexes {
    padding: 80px 0;
    background: #F7FAFF;
}

.connexes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.connexe-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(27, 58, 107, 0.07);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(27, 58, 107, 0.06);
    color: inherit;
}

.connexe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(27, 58, 107, 0.12);
    border-color: var(--card-accent, var(--cyan));
}

.connexe-card-img {
    overflow: hidden;
    height: 200px;
}

.connexe-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.connexe-card:hover .connexe-card-img img {
    transform: scale(1.04);
}

.connexe-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.connexe-accent-bar {
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

.connexe-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.connexe-intro {
    font-size: 0.88rem;
    color: var(--gray-dark);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.connexe-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: auto;
    transition: var(--transition);
}

.connexe-card:hover .connexe-link {
    gap: 10px;
}

.connexes-back {
    text-align: center;
    margin-top: 40px;
}

/* ---- Dark mode service template ---- */
[data-theme="dark"] .nvif-service-pres {
    background: #111827;
}

[data-theme="dark"] .service-pres-title {
    color: #E8EDF4;
}

[data-theme="dark"] .service-img-main {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .nvif-service-prestations {
    background: #0F1923;
}

[data-theme="dark"] .prestation-item {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .prestation-text {
    color: #CBD5E1;
}

[data-theme="dark"] .nvif-service-cible {
    background: #111827;
}

[data-theme="dark"] .cible-inner {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .cible-titre {
    color: #E8EDF4;
}

[data-theme="dark"] .cible-text {
    color: #94A3B8;
}

[data-theme="dark"] .nvif-connexes {
    background: #0F1923;
}

[data-theme="dark"] .connexe-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .connexe-title {
    color: #E8EDF4;
}

[data-theme="dark"] .connexe-intro {
    color: #94A3B8;
}

/* --------------------------------------------------------------------------
   NVI — Nouvelle Vision Intérim (page RH & Intérim)
   Couleur signature = --color-interim (#00838F). Variables CSS = dark mode auto.
-------------------------------------------------------------------------- */
.nvi-brand-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.nvi-brand-visual {
    display: flex;
    justify-content: center;
}

.nvi-brand-photo {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 18px 50px rgba(0, 131, 143, 0.22);
    display: block;
}

.nvi-brand-badge {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-lg);
    background: linear-gradient(145deg, var(--color-interim), #00B8C7);
    box-shadow: 0 18px 50px rgba(0, 131, 143, 0.32);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #FFFFFF;
    text-align: center;
    padding: 24px;
}

.nvi-brand-badge__sigle {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
}

.nvi-brand-badge__full {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.95;
}

.nvi-brand-text .section-title {
    margin-bottom: 18px;
}

.nvi-brand-lead {
    font-size: 1.15rem;
    color: var(--navy);
    line-height: 1.7;
    margin-bottom: 16px;
}

.nvi-brand-text p {
    margin-bottom: 16px;
    color: var(--gray-dark);
    line-height: 1.8;
}

.nvi-brand-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    margin-top: 28px;
}

.nvi-brand-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-dark);
    font-weight: 500;
    line-height: 1.45;
}

.nvi-brand-point__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 131, 143, 0.14);
    color: var(--color-interim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.82rem;
}

.nvi-why-section {
    background-color: var(--gray-light);
}

.nvi-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 44px;
}

.nvi-why-card {
    background: var(--white);
    padding: 36px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-interim);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nvi-why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.nvi-why-card__icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
    line-height: 1;
}

.nvi-why-card__titre {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--navy);
}

.nvi-why-card__desc {
    color: var(--gray-dark);
    line-height: 1.7;
}

/* ==========================================================================
   18. PAGE NOS SERVICES — Hub 8 services FM (P08B)
   ========================================================================== */

/* ---- Section wrapper ---- */
.nvif-nos-services {
    background: var(--gray-light);
}

/* ---- Grille 2 colonnes ---- */
.nos-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 56px;
}

/* ---- Card large ---- */
.nos-service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(27, 58, 107, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    border: 1px solid rgba(27, 58, 107, 0.06);
}

.nos-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(27, 58, 107, 0.14);
}

/* ---- Zone image ---- */
.nos-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.nos-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.nos-service-card:hover .nos-card-image img {
    transform: scale(1.05);
}

.nos-card-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.nos-service-card:hover .nos-card-overlay {
    opacity: 0.38;
}

/* ---- Corps ---- */
.nos-card-body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--white);
}

/* ---- Icône ---- */
.nos-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 4px;
}

/* ---- Titre ---- */
.nos-card-title {
    font-family: var(--font-condensed);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---- Description ---- */
.nos-card-desc {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.7;
    margin: 0;
}

/* ---- Features ---- */
.nos-card-features {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex-grow: 1;
}

.nos-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-dark);
    line-height: 1.4;
}

.nos-feat-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---- Lien ---- */
.nos-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 8px;
    transition: gap 0.2s ease;
}

.nos-card-link:hover {
    gap: 10px;
}

/* ==========================================================================
   SECTION "POURQUOI EXTERNALISER ?"
   ========================================================================== */

.nvif-pourquoi-ext {
    background: var(--white);
}

.pourquoi-ext-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.pourquoi-ext-item {
    text-align: center;
    padding: 36px 28px;
    border-radius: var(--border-radius-lg);
    background: var(--gray-light);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pourquoi-ext-item:hover {
    background: var(--white);
    box-shadow: 0 10px 32px rgba(27, 58, 107, 0.10);
    transform: translateY(-4px);
}

.pourquoi-ext-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--cyan) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}

.pourquoi-ext-titre {
    font-family: var(--font-condensed);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pourquoi-ext-texte {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.7;
    margin: 0;
}

/* ---- Dark mode ---- */
[data-theme="dark"] .nvif-nos-services {
    background: #0F1923;
}

[data-theme="dark"] .nos-service-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .nos-card-body {
    background: #1C2B40;
}

[data-theme="dark"] .nos-card-title {
    color: #E8EDF4;
}

[data-theme="dark"] .nos-card-desc,
[data-theme="dark"] .nos-card-features li {
    color: #94A3B8;
}

[data-theme="dark"] .nvif-pourquoi-ext {
    background: #1A2332;
}

[data-theme="dark"] .pourquoi-ext-item {
    background: #1C2B40;
}

[data-theme="dark"] .pourquoi-ext-item:hover {
    background: #243347;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .pourquoi-ext-titre {
    color: #E8EDF4;
}

[data-theme="dark"] .pourquoi-ext-texte {
    color: #94A3B8;
}

/* ==========================================================================
   19. PAGE À PROPOS — P09
   ========================================================================== */

/* ------- Section Présentation & Mission ------- */

/* Titre h2 de l'intro : aligné à gauche (override .section-header centré) */
.about-title-left {
    text-align: left;
    margin-bottom: 20px;
}

/* Partie colorée du titre */
.about-title-em {
    font-style: normal;
    color: var(--cyan);
}

.about-mission-text {
    margin-bottom: 28px;
}

.about-mission-text p {
    font-size: 0.97rem;
    color: var(--gray-dark);
    line-height: 1.78;
    margin-bottom: 16px;
}

.about-mission-text p:last-child {
    margin-bottom: 0;
}

/* Wrapper relatif pour le positionnement du badge et de la barre */
.about-visual-wrap {
    position: relative;
    border-radius: 16px;
    overflow: visible; /* permet au badge de déborder légèrement */
}

.about-visual-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-visual-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-visual-image:hover img {
    transform: scale(1.03);
}

/* Badge "8 services" — flottant en bas-gauche, légèrement sorti */
.about-badge-float {
    position: absolute;
    bottom: 28px;
    left: -16px;
    background: var(--white);
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    border: 1px solid rgba(26, 188, 222, 0.15);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.badge-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-mid);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Barre dégradé décorative (droite de la photo) */
.about-visual-strip {
    position: absolute;
    top: 8px;
    right: -6px;
    width: 5px;
    height: calc(100% - 16px);
    border-radius: 3px;
    background: linear-gradient(to bottom, var(--navy), var(--cyan));
    z-index: 1;
}

/* ------- Section Citation Vision ------- */

.nvif-about-vision {
    background: linear-gradient(135deg, #1B3A6B 0%, #2176AE 60%, #1ABCDE 100%);
    padding: 80px 24px;
    text-align: center;
}

.vision-quote {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.quote-mark {
    display: block;
    font-family: var(--font-display);
    font-size: 7rem;
    color: rgba(255, 255, 255, 0.15);
    line-height: 0.6;
    margin-bottom: 12px;
    user-select: none;
}

.vision-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.55;
    margin: 0 0 24px;
}

.vision-quote cite {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.60);
    font-style: normal;
    letter-spacing: 0.05em;
}

/* ------- Section Nos Valeurs (P09 — .valeur-item) ------- */

.nvif-about-valeurs {
    background: var(--gray-light);
}

/* .valeurs-grid est déjà défini (repeat 3, gap 24px) — override margin-top */
.about-valeurs-grid {
    margin-top: 48px;
}

.valeur-item {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.valeur-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--cyan);
}

/* .valeur-icon déjà défini en P06 — réutilisé */
/* .valeur-titre déjà défini en P06 — réutilisé */
/* .valeur-desc déjà défini en P06 — réutilisé */

/* ==========================================================================
   ACRONYME NVI FACILITY — bloc d'explication du nom
   ========================================================================== */

.nvif-acronyme-block {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(27, 58, 107, 0.08);
    margin-bottom: 32px;
}

.acronyme-intro-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin: 0 0 28px;
}

/* Rangée des cartes lettres */
.acronyme-cards {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

/* Carte individuelle */
.acr-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 24px;
    text-align: center;
    flex: 1;
    min-width: 110px;
}

/* Grande lettre en dégradé */
.acr-letter {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #1B3A6B 0%, #1ABCDE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Lettre F (Facility) — dégradé inverse */
.acr-letter--facility {
    background: linear-gradient(135deg, #1ABCDE 0%, #0E7FA8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.acr-word {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.01em;
}

.acr-def {
    font-size: 0.77rem;
    color: var(--gray-mid);
    line-height: 1.55;
    font-style: italic;
}

/* Séparateurs entre les cartes */
.acr-dot {
    font-size: 2.2rem;
    color: var(--cyan);
    font-weight: 700;
    align-self: center;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.6;
}

.acr-plus {
    font-size: 2rem;
    color: var(--gray-mid);
    font-weight: 300;
    align-self: center;
    padding: 0 8px;
    line-height: 1;
    flex-shrink: 0;
}

/* Carte FACILITY — légèrement distincte */
.acr-card--facility {
    border-left: 2px solid rgba(26, 188, 222, 0.25);
}

/* Ligne "= New Vision Integrated Facility" */
.acronyme-full-name {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(27, 58, 107, 0.05) 0%, rgba(26, 188, 222, 0.06) 100%);
    border-radius: 10px;
    border-left: 3px solid var(--cyan);
}

.acr-equals {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--cyan);
    flex-shrink: 0;
    line-height: 1;
}

.acronyme-full-name p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--gray-dark);
    line-height: 1.65;
}

.acronyme-full-name strong {
    color: var(--navy);
    font-family: var(--font-display);
}

/* ── Séparateur "Notre groupe" ── */
.nvif-groupe-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 32px;
    color: var(--gray-mid);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nvif-groupe-divider::before,
.nvif-groupe-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 188, 222, 0.5), transparent);
}

/* ── Badge "Filiale du groupe NVI Facility" ── */
.nvi-filiale-badge {
    display: inline-block;
    background: rgba(26, 188, 222, 0.1);
    border: 1.5px solid rgba(26, 188, 222, 0.35);
    color: #0E7FA8;
    font-size: 0.63rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.4;
}

/* ------- Section NVI / Encart Nouvelle Vision Intérim ------- */

.nvif-about-nvi {
    background: var(--gray-light);
}

.nvi-encart {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(27, 58, 107, 0.08);
}

/* Ligne gradient supérieure */
.nvi-encart-top-line {
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--blue), var(--cyan));
}

/* Grille intérieure : logo | contenu | CTA */
.nvi-encart-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px 48px;
}

/* Logo NVI — colonne gauche */
.nvi-encart-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 120px;
}

.nvi-logo-placeholder {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nvi-logo-letters {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.nvi-identity {
    text-align: center;
}

.nvi-identity strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.nvi-identity span {
    font-size: 0.73rem;
    color: var(--cyan);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Contenu — colonne centrale */
.nvi-encart-content {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    padding-left: 40px;
}

.nvi-encart-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px;
}

.nvi-encart-content p {
    font-size: 0.93rem;
    color: var(--gray-dark);
    line-height: 1.72;
    margin: 0 0 16px;
}

.nvi-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
}

.nvi-services-list li {
    font-size: 0.87rem;
    color: var(--gray-mid);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.nvi-services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cyan);
}

/* CTA — colonne droite */
.nvi-encart-cta {
    flex-shrink: 0;
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ------- Dark mode — À Propos P09 ------- */

[data-theme="dark"] .about-mission-text p {
    color: #94A3B8;
}

[data-theme="dark"] .about-badge-float {
    background: #1C2B40;
    border-color: rgba(26, 188, 222, 0.20);
}

[data-theme="dark"] .badge-number {
    color: #E8EDF4;
}

[data-theme="dark"] .badge-label {
    color: #94A3B8;
}

[data-theme="dark"] .nvif-about-valeurs {
    background: #111C2B;
}

[data-theme="dark"] .valeur-item {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .valeur-item:hover {
    background: #243347;
    border-color: var(--cyan);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.30);
}

/* Acronyme */
[data-theme="dark"] .nvif-acronyme-block {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .acr-word {
    color: #E8EDF4;
}

[data-theme="dark"] .acr-def {
    color: #5A7A9A;
}

[data-theme="dark"] .acronyme-full-name {
    background: linear-gradient(90deg, rgba(27, 58, 107, 0.3) 0%, rgba(26, 188, 222, 0.12) 100%);
}

[data-theme="dark"] .acronyme-full-name p {
    color: #94A3B8;
}

[data-theme="dark"] .acronyme-full-name strong {
    color: #E8EDF4;
}

[data-theme="dark"] .nvif-groupe-divider {
    color: #3A5070;
}

[data-theme="dark"] .nvi-filiale-badge {
    background: rgba(26, 188, 222, 0.1);
    border-color: rgba(26, 188, 222, 0.25);
    color: var(--cyan);
}

[data-theme="dark"] .nvif-about-nvi {
    background: #111C2B;
}

[data-theme="dark"] .nvi-encart {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .nvi-encart-content {
    border-left-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nvi-encart-content h3 {
    color: #E8EDF4;
}

[data-theme="dark"] .nvi-encart-content p {
    color: #94A3B8;
}

[data-theme="dark"] .nvi-encart-content strong {
    color: #E8EDF4;
}

[data-theme="dark"] .nvi-identity strong {
    color: #E8EDF4;
}

[data-theme="dark"] .nvi-services-list li {
    color: #7B90A8;
}

[data-theme="dark"] .btn-outline-navy {
    color: var(--cyan);
    border-color: var(--cyan);
}

[data-theme="dark"] .btn-outline-navy:hover {
    background: var(--cyan);
    color: var(--navy);
}

/* ==========================================================================
   20. PAGE POURQUOI NVI FACILITY — P10
   Intro stats · Arguments numérotés · Comparatif · FAQ accordion
   ========================================================================== */

/* ------- Section Intro + Stats ------- */

.nvif-pourquoi-intro {
    background: var(--white);
}

.nvif-pourquoi-intro .section-desc {
    max-width: 660px;
    margin: 16px auto 0;
    font-size: 1.02rem;
    color: var(--gray-dark);
    line-height: 1.75;
    text-align: center;
}

.pourquoi-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.pourquoi-stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--gray-light);
    border-radius: var(--border-radius-lg);
    border-bottom: 3px solid var(--cyan);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pourquoi-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pourquoi-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 10px;
}

.pourquoi-stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-mid);
    font-weight: 500;
    line-height: 1.45;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ------- Section Visuelle (split photo / texte) ------- */

.nvif-pourquoi-visuel {
    background: var(--white);
    padding: 0 0 80px;
}

.pourquoi-visuel-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 64px;
    align-items: center;
}

.pourquoi-visuel-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 56px rgba(27, 58, 107, 0.15);
}

.pourquoi-visuel-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.pourquoi-visuel-img:hover img {
    transform: scale(1.03);
}

.pourquoi-visuel-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: rgba(27, 58, 107, 0.90);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pvb-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.pvb-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.3;
}

.pourquoi-visuel-content .section-label {
    display: block;
    margin-bottom: 12px;
}

.pourquoi-visuel-content .section-title {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left;
}

.pourquoi-visuel-desc {
    font-size: 1rem;
    line-height: 1.78;
    color: var(--text-light);
    margin-bottom: 32px;
}

.pourquoi-visuel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pourquoi-visuel-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9375rem;
    color: var(--text-main);
    line-height: 1.55;
}

.pvl-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 191, 165, 0.14);
    color: #00BFA5;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- dark mode section visuelle --- */
[data-theme="dark"] .nvif-pourquoi-visuel {
    background: #111C2B;
}

[data-theme="dark"] .pourquoi-visuel-desc {
    color: #94A3B8;
}

[data-theme="dark"] .pourquoi-visuel-list li {
    color: #A8BECC;
}

[data-theme="dark"] .pourquoi-visuel-badge {
    background: rgba(11, 20, 36, 0.92);
    border-color: rgba(255, 255, 255, 0.10);
}

/* ------- Section 7 Arguments ------- */

.nvif-pourquoi-args {
    background: var(--gray-light);
}

.args-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.arg-item {
    border-radius: 14px;
    padding: 32px 26px;
    border-top: 4px solid var(--arg-color, var(--navy));
    background: linear-gradient(160deg, var(--arg-bg, rgba(27,58,107,0.05)) 0%, #ffffff 75%);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.arg-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.arg-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--arg-color, var(--navy));
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.arg-titre {
    font-family: var(--font-condensed);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
    line-height: 1.3;
}

.arg-texte {
    font-size: 0.9rem;
    color: var(--gray-dark);
    line-height: 1.72;
    margin: 0;
}

/* ------- Section Comparatif ------- */

.nvif-comparatif {
    background: var(--white);
}

.comparatif-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 48px;
    border: 1px solid rgba(27, 58, 107, 0.08);
}

.comparatif-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 0.92rem;
}

.comparatif-table thead tr {
    background: var(--navy);
}

.comparatif-table thead th {
    padding: 18px 20px;
    text-align: left;
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.80);
    white-space: nowrap;
}

.comp-col-critere { width: 28%; }
.comp-col-nvif    { width: 26%; background: rgba(26, 188, 222, 0.18) !important; }
.comp-col-other   { width: 23%; }

.comp-badge-nvif {
    display: inline-block;
    background: var(--cyan);
    color: var(--navy);
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.80rem;
    letter-spacing: 0.04em;
}

.comparatif-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.18s ease;
}

.comparatif-table tbody tr:hover {
    background: rgba(26, 188, 222, 0.04);
}

.comparatif-table tbody tr:last-child {
    border-bottom: none;
}

.comp-critere {
    padding: 16px 20px;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.90rem;
}

.comp-nvif {
    padding: 16px 20px;
    background: rgba(26, 188, 222, 0.05);
    font-weight: 600;
    color: var(--navy);
    font-size: 0.90rem;
}

.comp-other {
    padding: 16px 20px;
    color: var(--gray-mid);
    font-size: 0.88rem;
}

.comp-check {
    color: #16a34a;
    font-weight: 800;
    margin-right: 6px;
}

.comp-cross {
    color: #dc2626;
    font-weight: 800;
    margin-right: 6px;
}

.comp-mid {
    color: #d97706;
    font-weight: 800;
    margin-right: 6px;
}

/* ------- Section FAQ ------- */

.nvif-faq-section {
    background: var(--gray-light);
}

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(27, 58, 107, 0.04);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item.is-open {
    box-shadow: 0 6px 24px rgba(27, 58, 107, 0.10);
    border-color: rgba(26, 188, 222, 0.35);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease;
}

.faq-question:hover {
    background: rgba(26, 188, 222, 0.04);
}

.faq-question:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: -2px;
}

.faq-q-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.45;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--cyan);
    transition: transform 0.28s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 28px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-answer-inner p {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.78;
    margin: 0;
    padding-top: 18px;
}

/* ------- Dark mode — Pourquoi P10 ------- */

[data-theme="dark"] .nvif-pourquoi-intro {
    background: #0F1923;
}

[data-theme="dark"] .nvif-pourquoi-intro .section-desc {
    color: #94A3B8;
}

[data-theme="dark"] .pourquoi-stat-item {
    background: #1C2B40;
}

[data-theme="dark"] .pourquoi-stat-number {
    color: #E8EDF4;
}

[data-theme="dark"] .pourquoi-stat-label {
    color: #7B90A8;
}

[data-theme="dark"] .nvif-pourquoi-args {
    background: #111C2B;
}

[data-theme="dark"] .arg-item {
    background: linear-gradient(160deg, var(--arg-bg, rgba(27,58,107,0.12)) 0%, #1C2B40 75%);
}

[data-theme="dark"] .arg-titre {
    color: #E8EDF4;
}

[data-theme="dark"] .arg-texte {
    color: #94A3B8;
}

[data-theme="dark"] .nvif-comparatif {
    background: #0F1923;
}

[data-theme="dark"] .comparatif-wrap {
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .comparatif-table {
    background: #1C2B40;
}

/* Header : var(--navy) remappe en clair en dark mode → on force le vrai navy foncé */
[data-theme="dark"] .comparatif-table thead tr {
    background: #1B3A6B;
}

[data-theme="dark"] .comparatif-table thead th {
    color: rgba(255, 255, 255, 0.92);
}

[data-theme="dark"] .comp-col-nvif {
    background: rgba(26, 188, 222, 0.22) !important;
}

[data-theme="dark"] .comparatif-table tbody tr {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .comparatif-table tbody tr:hover {
    background: rgba(26, 188, 222, 0.06);
}

[data-theme="dark"] .comp-critere {
    color: #E8EDF4;
    background: #1C2B40;
}

[data-theme="dark"] .comp-nvif {
    background: rgba(26, 188, 222, 0.10);
    color: #E8EDF4;
}

[data-theme="dark"] .comp-other {
    color: #A8BECC;
    background: #1C2B40;
}

[data-theme="dark"] .nvif-faq-section {
    background: #111C2B;
}

[data-theme="dark"] .faq-item {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .faq-item.is-open {
    border-color: rgba(26, 188, 222, 0.30);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(26, 188, 222, 0.06);
}

[data-theme="dark"] .faq-q-text {
    color: #E8EDF4;
}

[data-theme="dark"] .faq-answer-inner {
    border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .faq-answer-inner p {
    color: #94A3B8;
}

/* ==========================================================================
   21. PAGE RÉFÉRENCES & SECTEURS — P10B
   ========================================================================== */

/* ------- Section Intro + Chiffres ------- */

.nvif-refs-intro {
    background: var(--white);
    padding: 80px 0;
}

.refs-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
}

/* --- Photo gauche intro --- */

.refs-intro-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 56px rgba(27, 58, 107, 0.15);
    min-height: 480px;
}

.refs-intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    min-height: 480px;
    transition: transform 0.6s ease;
}

.refs-intro-photo:hover img {
    transform: scale(1.03);
}

.refs-intro-photo-badge {
    position: absolute;
    bottom: 28px;
    right: 28px;
    background: rgba(0, 191, 165, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ripb-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ripb-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.3;
}

/* --- Colonne droite intro (texte + chiffres) --- */

.refs-intro-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
}

.refs-intro-text .section-label {
    display: block;
    margin-bottom: 12px;
}

.refs-intro-text .section-title {
    margin-bottom: 20px;
}

.refs-intro-desc {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 32px;
}

.refs-chiffres {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ref-chiffre-item {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.ref-chiffre-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(27, 58, 107, 0.10);
}

.rci-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 6px;
}

.rci-nombre {
    font-size: 2.125rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.02em;
}

.rci-label {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ------- Section Logos Clients ------- */

.nvif-refs-logos {
    background: var(--bg-light);
    padding: 72px 0;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: center;
    margin-top: 16px;
}

.logo-item {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    border: 1px solid rgba(27, 58, 107, 0.08);
    transition: box-shadow 0.25s, transform 0.25s;
}

.logo-item:hover {
    box-shadow: 0 6px 20px rgba(27, 58, 107, 0.10);
    transform: translateY(-3px);
}

.logo-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, rgba(27, 58, 107, 0.06), rgba(26, 188, 222, 0.06));
    border-radius: 8px;
}

.logo-placeholder span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy);
    text-align: center;
    padding: 0 8px;
}

.logos-placeholder-msg {
    background: var(--white);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
    border: 2px dashed rgba(27, 58, 107, 0.15);
    margin-top: 16px;
}

.logos-placeholder-msg p {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
}

.logos-placeholder-msg strong {
    color: var(--navy);
}

.logos-placeholder-msg a {
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
}

.logos-placeholder-msg a:hover {
    text-decoration: underline;
}

/* ------- Section Secteurs Couverts ------- */

.nvif-refs-secteurs {
    background: var(--white);
    padding: 80px 0;
}

.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

/* 7e carte seule sur sa ligne → centrée */
.secteurs-grid .secteur-card:nth-child(7):last-child {
    grid-column: 2 / 3;
}

.secteur-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid rgba(27, 58, 107, 0.07);
    border-top: 3px solid var(--secteur-color, var(--navy));
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.secteur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(27, 58, 107, 0.10);
}

.secteur-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--secteur-icon-bg, rgba(27, 58, 107, 0.10));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    line-height: 1;
    flex-shrink: 0;
}

.secteur-titre {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    margin: 0;
}

.secteur-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* ------- Section Témoignages (masonry CSS) ------- */

.nvif-refs-temoignages {
    background: var(--bg-light);
    padding: 80px 0;
}

.temoignages-masonry {
    columns: 3;
    column-gap: 24px;
    margin-top: 16px;
}

.temoignage-masonry-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    break-inside: avoid;
    border: 1px solid rgba(27, 58, 107, 0.07);
    transition: box-shadow 0.25s, transform 0.25s;
}

.temoignage-masonry-card:hover {
    box-shadow: 0 8px 28px rgba(27, 58, 107, 0.10);
    transform: translateY(-3px);
}

.tm-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.tm-star {
    font-size: 1.1rem;
    color: rgba(27, 58, 107, 0.20);
    line-height: 1;
}

.tm-star--on {
    color: #F5A623;
}

.tm-texte {
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

.tm-texte p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-main);
    font-style: italic;
    margin: 0;
}

.tm-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(27, 58, 107, 0.08);
}

.tm-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.tm-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tm-auteur {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
}

.tm-poste {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.3;
}

/* ------- Bande Photo Panoramique ------- */

.nvif-refs-photo-band {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    background: var(--navy); /* fallback si pas d'image */
}

.nvif-refs-photo-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--refs-band-bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.refs-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 58, 107, 0.78) 0%,
        rgba(11, 20, 36, 0.65) 100%
    );
    z-index: 1;
}

.nvif-refs-photo-band .container {
    position: relative;
    z-index: 2;
}

.refs-band-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 72px 0;
}

.refs-band-quote {
    font-size: 1.375rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.65;
    margin: 0 0 36px;
    font-style: italic;
    border: none;
    padding: 0;
    quotes: none;
}

.refs-band-btn.nvif-btn--outline {
    border-color: rgba(255, 255, 255, 0.65);
    color: #fff;
    background: transparent;
}

.refs-band-btn.nvif-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

/* ------- Dark mode — Références P10B ------- */

[data-theme="dark"] .nvif-refs-intro {
    background: #111C2B;
}

[data-theme="dark"] .refs-intro-photo {
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.40);
}

[data-theme="dark"] .refs-intro-photo-badge {
    background: rgba(0, 150, 130, 0.90);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .refs-intro-desc {
    color: #94A3B8;
}

[data-theme="dark"] .ref-chiffre-item {
    background: #1C2B40;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .ref-chiffre-item:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .rci-nombre {
    color: #C8D6E5;
}

[data-theme="dark"] .rci-label {
    color: #7B90A8;
}

[data-theme="dark"] .nvif-refs-logos {
    background: #0F1923;
}

[data-theme="dark"] .logo-item {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .logo-item img {
    filter: grayscale(100%) brightness(1.4);
    opacity: 0.6;
}

[data-theme="dark"] .logo-item:hover img {
    filter: grayscale(0%) brightness(1.2);
    opacity: 0.9;
}

[data-theme="dark"] .logo-placeholder span {
    color: #C8D6E5;
}

[data-theme="dark"] .logos-placeholder-msg {
    background: #1C2B40;
    border-color: rgba(26, 188, 222, 0.20);
}

[data-theme="dark"] .logos-placeholder-msg p {
    color: #94A3B8;
}

[data-theme="dark"] .logos-placeholder-msg strong {
    color: #C8D6E5;
}

[data-theme="dark"] .nvif-refs-secteurs {
    background: #111C2B;
}

[data-theme="dark"] .secteur-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .secteur-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] .secteur-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .secteur-desc {
    color: #7B90A8;
}

[data-theme="dark"] .nvif-refs-temoignages {
    background: #0F1923;
}

[data-theme="dark"] .temoignage-masonry-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .temoignage-masonry-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.30);
}

[data-theme="dark"] .tm-texte p {
    color: #A8BECC;
}

[data-theme="dark"] .tm-footer {
    border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .tm-auteur {
    color: #C8D6E5;
}

[data-theme="dark"] .tm-poste {
    color: #7B90A8;
}


/* ==========================================================================
   SECTION 22 — PAGE CARRIÈRES (P11)
   Template : template-carrieres.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   22.1 Pourquoi nous rejoindre — 3 cards photo plein fond
   -------------------------------------------------------------------------- */

.carrieres-pourquoi {
    background: var(--white);
    padding-bottom: 96px;
}

.carrieres-pourquoi .section-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.carrieres-avantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.carrieres-avantage-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: default;
    transition: transform .35s ease, box-shadow .35s ease;
}

.carrieres-avantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .30);
}

/* Photo plein fond */
.av-photo-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.av-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.carrieres-avantage-card:hover .av-photo-wrap img {
    transform: scale(1.05);
}

/* Overlay dégradé du bas */
.av-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .82) 0%,
        rgba(0, 0, 0, .42) 50%,
        rgba(0, 0, 0, .10) 100%
    );
    z-index: 1;
    transition: background .35s ease;
}

.carrieres-avantage-card:hover .av-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .88) 0%,
        rgba(0, 0, 0, .52) 55%,
        rgba(0, 0, 0, .18) 100%
    );
}

/* Contenu texte au-dessus */
.av-content {
    position: relative;
    z-index: 2;
    padding: 32px 28px 24px;
}

.av-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}

.av-titre {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.25;
}

.av-desc {
    font-size: .9375rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.6;
    margin: 0;
}

/* Barre couleur accent en bas */
.av-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--av-color, var(--cyan));
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.carrieres-avantage-card:hover .av-bar {
    transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   22.2 Notre culture — split image gauche / texte droite
   -------------------------------------------------------------------------- */

.carrieres-culture {
    background: var(--light-gray);
}

.culture-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 64px;
    align-items: center;
}

/* Colonne image */
.culture-image {
    position: relative;
}

.culture-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .14);
}

.culture-img-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.culture-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: rgba(27, 58, 107, .92);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.cb-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.culture-badge strong {
    display: block;
    font-size: .9375rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.culture-badge span {
    font-size: .8125rem;
    color: rgba(255, 255, 255, .72);
}

/* Colonne texte */
.culture-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.72;
    margin-bottom: 24px;
}

.culture-valeurs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.culture-valeur-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .06);
    font-size: .9375rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: transform .2s ease, box-shadow .2s ease;
}

.culture-valeur-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.cv-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(26, 188, 222, .12);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   22.3 Offres d'emploi — filtres + accordion
   -------------------------------------------------------------------------- */

.carrieres-offres {
    background: var(--white);
}

/* Filtres */
.offres-filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 32px 0 40px;
}

.filtre-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 2px solid #E2E8F0;
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .22s ease;
    font-family: inherit;
}

.filtre-btn:hover {
    border-color: var(--cyan);
    color: var(--navy);
}

.filtre-btn.is-active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* Liste des offres */
.offres-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Offre card */
.offre-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    transition: box-shadow .25s ease;
}

.offre-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .10);
}

.offre-card.is-hidden {
    display: none;
}

/* Header de la carte */
.offre-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
}

.offre-info {
    flex: 1;
    min-width: 0;
}

.offre-titre {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
    line-height: 1.3;
}

.offre-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* Tags */
.offre-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .8125rem;
    font-weight: 500;
    white-space: nowrap;
}

.tag-service {
    background: rgba(27, 58, 107, .08);
    color: var(--navy);
}

.tag-lieu {
    background: rgba(26, 188, 222, .10);
    color: #0e7ea0;
}

.tag-type {
    background: rgba(0, 191, 165, .10);
    color: #007a6a;
}

.tag-date {
    background: rgba(255, 152, 0, .10);
    color: #c06800;
}

/* Bouton toggle accordion */
.offre-toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, .10);
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
    font-family: inherit;
}

.offre-toggle:hover {
    border-color: var(--cyan);
    color: var(--navy);
    background: rgba(26, 188, 222, .06);
}

.offre-toggle svg {
    transition: transform .3s ease;
}

.offre-card .offre-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Détails (accordion) */
.offre-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s ease;
}

.offre-details-inner {
    padding: 20px 24px 28px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.offre-description {
    font-size: .9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.offre-description p { margin-bottom: .75em; }
.offre-description ul { padding-left: 1.25em; margin-bottom: .75em; }
.offre-description li { margin-bottom: .35em; }

.offre-postuler {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9375rem;
}

/* État vide */
.offres-vides {
    padding: 48px 0;
}

.offres-vides-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 48px 40px;
    border: 2px dashed rgba(0, 0, 0, .10);
}

.ov-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.offres-vides-inner h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px;
}

.offres-vides-inner p {
    font-size: .9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* --------------------------------------------------------------------------
   22.4 Candidature spontanée — formulaire AJAX
   -------------------------------------------------------------------------- */

.carrieres-candidature {
    background: var(--light-gray);
}

.candidature-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 72px;
    align-items: start;
}

/* Colonne texte */
.candidature-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.candidature-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.cci-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9375rem;
}

.cci-item a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s ease;
}

.cci-item a:hover {
    color: var(--cyan);
}

/* Colonne formulaire */
.candidature-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.candidature-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Ligne double */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Champ individuel */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-field label span {
    color: #E53E3E;
    margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    font-size: .9375rem;
    color: var(--text-primary);
    background: var(--white);
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(26, 188, 222, .15);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9CA3AF;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 38px;
    cursor: pointer;
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

/* Messages succès/erreur
   [hidden] override : display: flex aurait plus de priorité que l'attribut HTML hidden
   → on force display:none quand l'attribut hidden est présent */
.form-success[hidden],
.form-error[hidden] {
    display: none !important;
}

.form-success {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0, 200, 150, .08);
    border: 1.5px solid rgba(0, 200, 150, .35);
    color: #00695C;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.55;
}

.form-error {
    background: rgba(229, 62, 62, .06);
    border: 1.5px solid rgba(229, 62, 62, .30);
    color: #C53030;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: .875rem;
    font-weight: 500;
}

/* Bouton submit */
.candidature-submit {
    width: 100%;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 1rem;
    position: relative;
}

.btn-text {
    transition: opacity .2s ease;
}

.btn-loader {
    display: none;
    align-items: center;
}

.candidature-submit.is-loading .btn-text {
    opacity: 0;
}

.candidature-submit.is-loading .btn-loader {
    display: inline-flex;
}

/* Spinner rotation */
@keyframes nvif-spin {
    to { transform: rotate(360deg); }
}

.cand-spin {
    animation: nvif-spin .8s linear infinite;
}

/* Honeypot : invisible mais pas display:none */
.nvif-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   22.5 Dark mode — Carrières
   -------------------------------------------------------------------------- */

[data-theme="dark"] .carrieres-pourquoi {
    background: #111C2B;
}

[data-theme="dark"] .carrieres-culture {
    background: #0F1923;
}

[data-theme="dark"] .culture-valeur-item {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, .05);
    color: #C8D6E5;
}

[data-theme="dark"] .culture-valeur-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

[data-theme="dark"] .culture-text p {
    color: #94A3B8;
}

[data-theme="dark"] .carrieres-offres {
    background: #111C2B;
}

[data-theme="dark"] .offre-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .offre-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
}

[data-theme="dark"] .offre-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .offre-details-inner {
    border-top-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .offre-description {
    color: #94A3B8;
}

[data-theme="dark"] .offre-toggle {
    border-color: rgba(255, 255, 255, .12);
    color: #94A3B8;
}

[data-theme="dark"] .offre-toggle:hover {
    border-color: var(--cyan);
    background: rgba(26, 188, 222, .08);
}

[data-theme="dark"] .filtre-btn {
    border-color: rgba(255, 255, 255, .12);
    color: #94A3B8;
}

[data-theme="dark"] .filtre-btn:hover {
    border-color: var(--cyan);
    color: #C8D6E5;
}

[data-theme="dark"] .filtre-btn.is-active {
    background: #1B3A6B;
    border-color: #1B3A6B;
    color: #fff;
}

[data-theme="dark"] .tag-service {
    background: rgba(26, 188, 222, .10);
    color: #7ECFE8;
}

[data-theme="dark"] .tag-lieu {
    background: rgba(26, 188, 222, .08);
    color: #5BBCD6;
}

[data-theme="dark"] .tag-type {
    background: rgba(0, 191, 165, .10);
    color: #4DD3BD;
}

[data-theme="dark"] .tag-date {
    background: rgba(255, 152, 0, .10);
    color: #F4A443;
}

[data-theme="dark"] .offres-vides-inner {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, .08);
}

[data-theme="dark"] .offres-vides-inner h3 {
    color: #C8D6E5;
}

[data-theme="dark"] .offres-vides-inner p {
    color: #7B90A8;
}

[data-theme="dark"] .carrieres-candidature {
    background: #0F1923;
}

[data-theme="dark"] .candidature-text p {
    color: #94A3B8;
}

[data-theme="dark"] .candidature-contact-info {
    border-top-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .cci-item a {
    color: #C8D6E5;
}

[data-theme="dark"] .cci-item a:hover {
    color: var(--cyan);
}

[data-theme="dark"] .candidature-form-wrap {
    background: #1C2B40;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .28);
}

[data-theme="dark"] .form-field label {
    color: #C8D6E5;
}

[data-theme="dark"] .form-field input,
[data-theme="dark"] .form-field select,
[data-theme="dark"] .form-field textarea {
    background: #0F1923;
    border-color: rgba(255, 255, 255, .10);
    color: #C8D6E5;
}

[data-theme="dark"] .form-field input:focus,
[data-theme="dark"] .form-field select:focus,
[data-theme="dark"] .form-field textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(26, 188, 222, .18);
}

[data-theme="dark"] .form-field input::placeholder,
[data-theme="dark"] .form-field textarea::placeholder {
    color: #4A5568;
}

[data-theme="dark"] .form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

[data-theme="dark"] .form-success {
    background: rgba(0, 200, 150, .06);
    border-color: rgba(0, 200, 150, .25);
    color: #4DD3BD;
}

[data-theme="dark"] .form-error {
    background: rgba(229, 62, 62, .08);
    border-color: rgba(229, 62, 62, .25);
    color: #FC8181;
}


/* ==========================================================================
   SECTION 23 — BLOG / ACTUALITÉS (P12)
   archive.php · home.php · single.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   23.1 Archive — section wrapper
   -------------------------------------------------------------------------- */

.blog-archive-section {
    background: var(--white);
}

/* --------------------------------------------------------------------------
   23.2 Filtres catégories
   -------------------------------------------------------------------------- */

.blog-filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.blog-filtre-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid #E2E8F0;
    background: var(--white);
    color: var(--gray-mid);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.blog-filtre-btn:hover,
.blog-filtre-btn.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.filtre-count {
    background: rgba(255, 255, 255, .22);
    border-radius: 50px;
    padding: 1px 7px;
    font-size: .75rem;
}

/* --------------------------------------------------------------------------
   23.3 Grille articles
   -------------------------------------------------------------------------- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Premier article en featured (2 colonnes) */
.blog-card--featured {
    grid-column: span 2;
}

.blog-card--featured .blog-card-img-wrap {
    height: 360px;
}

.blog-card--featured .blog-card-titre {
    font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   23.4 Card article
   -------------------------------------------------------------------------- */

.blog-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 188, 222, .30);
}

/* Image de la card */
.blog-card-img-wrap {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(27, 58, 107, .40) 0%,
        transparent 60%
    );
    pointer-events: none;
}

/* Badge catégorie */
.blog-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--cyan);
    color: #1B3A6B;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .05em;
    pointer-events: none;
}

/* Contenu de la card */
.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--gray-mid);
    flex-wrap: wrap;
}

.meta-sep { opacity: .4; }

.blog-card-titre {
    font-family: var(--font-condensed);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    flex: 1;
    margin: 0;
}

.blog-card-titre a {
    color: var(--navy);
    text-decoration: none;
    transition: color .2s ease;
}

.blog-card-titre a:hover {
    color: var(--cyan);
}

.blog-card-extrait {
    font-size: .875rem;
    color: var(--gray-mid);
    line-height: 1.65;
    margin: 0;
}

.blog-card-lire {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--cyan);
    text-decoration: none;
    margin-top: auto;
    transition: gap .2s ease;
}

.blog-card:hover .blog-card-lire {
    gap: 10px;
}

/* --------------------------------------------------------------------------
   23.5 Pagination
   -------------------------------------------------------------------------- */

.blog-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--navy);
    background: var(--gray-light);
    transition: var(--transition);
}

.blog-pagination .page-numbers li a:hover {
    background: var(--navy);
    color: #fff;
}

.blog-pagination .page-numbers li .current {
    background: var(--cyan);
    color: #1B3A6B;
}

.blog-pagination .page-numbers li .prev,
.blog-pagination .page-numbers li .next {
    min-width: auto;
    padding: 0 16px;
}

/* --------------------------------------------------------------------------
   23.6 Blog vide
   -------------------------------------------------------------------------- */

.blog-vide {
    text-align: center;
    padding: 80px 40px;
    background: var(--gray-light);
    border-radius: 20px;
    border: 2px dashed rgba(26, 188, 222, .30);
}

.bv-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 16px;
}

.blog-vide h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.blog-vide p {
    font-size: 1rem;
    color: var(--gray-mid);
    max-width: 440px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   23.7 Single — section + layout
   -------------------------------------------------------------------------- */

.single-article-section {
    background: var(--white);
    padding-top: 48px;
}

/* Layout 2 colonnes : contenu + sidebar */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
}

/* --------------------------------------------------------------------------
   23.8 Meta article (catégorie, date, lecture)
   -------------------------------------------------------------------------- */

.single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.single-cat {
    background: var(--cyan);
    color: #1B3A6B;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: var(--transition);
}

.single-cat:hover {
    background: var(--navy);
    color: #fff;
}

.single-date,
.single-read {
    font-size: .82rem;
    color: var(--gray-mid);
}

/* --------------------------------------------------------------------------
   23.9 Corps de l'article
   -------------------------------------------------------------------------- */

.single-body {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.85;
}

.single-body h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--navy);
    margin: 40px 0 16px;
    line-height: 1.25;
}

.single-body h3 {
    font-family: var(--font-condensed);
    font-size: 1.2rem;
    color: var(--navy);
    margin: 32px 0 12px;
    line-height: 1.3;
}

.single-body h4 {
    font-weight: 700;
    color: var(--navy);
    margin: 24px 0 8px;
}

.single-body p {
    margin-bottom: 18px;
}

.single-body p:last-child {
    margin-bottom: 0;
}

.single-body ul,
.single-body ol {
    padding-left: 24px;
    margin-bottom: 18px;
    list-style: revert;
}

.single-body li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
}

.single-body blockquote {
    border-left: 4px solid var(--cyan);
    padding: 16px 20px;
    background: var(--gray-light);
    border-radius: 0 8px 8px 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--gray-dark);
}

.single-body blockquote p { margin-bottom: 0; }

.single-body a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single-body a:hover {
    color: var(--navy);
}

.single-body strong { font-weight: 700; }
.single-body em { font-style: italic; }

/* --------------------------------------------------------------------------
   23.10 Tags
   -------------------------------------------------------------------------- */

.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.single-tag {
    font-size: .8rem;
    color: var(--gray-mid);
    background: var(--gray-light);
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.single-tag:hover {
    background: var(--navy);
    color: #fff;
}

/* --------------------------------------------------------------------------
   23.11 Partage réseaux sociaux
   -------------------------------------------------------------------------- */

.single-partage {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    flex-wrap: wrap;
}

.partage-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--navy);
}

.partage-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.partage-btn:hover {
    opacity: .85;
    transform: translateY(-2px);
}

.partage-linkedin  { background: #0A66C2; color: #fff; }
.partage-facebook  { background: #1877F2; color: #fff; }
.partage-whatsapp  { background: #25D366; color: #fff; }

/* --------------------------------------------------------------------------
   23.12 Navigation prev / next
   -------------------------------------------------------------------------- */

.single-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.single-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: var(--gray-light);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, .05);
}

.single-nav-link.next {
    text-align: right;
}

.single-nav-link:hover {
    background: var(--navy);
    border-color: var(--navy);
}

.nav-dir {
    font-size: .72rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.single-nav-link:hover .nav-dir {
    color: rgba(255, 255, 255, .65);
}

.nav-titre {
    font-size: .875rem;
    font-weight: 600;
    color: var(--gray-dark);
    line-height: 1.3;
}

.single-nav-link:hover .nav-titre {
    color: #fff;
}

/* --------------------------------------------------------------------------
   23.13 Sidebar
   -------------------------------------------------------------------------- */

.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--nvif-header-h, 119px) + 24px);
}

.sidebar-widget {
    background: var(--gray-light);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .05);
}

.sw-header {
    background: #1B3A6B;
    color: #fff;
    font-family: var(--font-condensed);
    font-size: .875rem;
    font-weight: 700;
    padding: 14px 20px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sw-body {
    padding: 16px 20px;
}

.sw-body p {
    font-size: .875rem;
    color: var(--gray-mid);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Articles récents */
.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    text-decoration: none;
    transition: padding-left .2s ease;
}

.recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-item:hover {
    padding-left: 4px;
}

.recent-item img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-info {
    flex: 1;
    min-width: 0;
}

.recent-titre {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 3px;
}

.recent-date {
    font-size: .75rem;
    color: var(--gray-mid);
}

/* Services sidebar */
.sidebar-service-link {
    display: block;
    font-size: .875rem;
    color: var(--gray-dark);
    text-decoration: none;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    transition: color .2s ease, padding-left .2s ease;
}

.sidebar-service-link:last-child {
    border-bottom: none;
}

.sidebar-service-link:hover {
    color: var(--cyan);
    padding-left: 6px;
}

/* CTA sidebar */
.widget-cta {
    background: linear-gradient(135deg, #1B3A6B 0%, var(--blue) 100%);
    border: none;
}

.sw-cta-inner {
    padding: 24px 20px;
    text-align: center;
    color: #fff;
}

.sw-cta-inner h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.sw-cta-inner p {
    font-size: .875rem;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 16px;
}

.sidebar-tel {
    display: block;
    margin-top: 10px;
    font-size: .875rem;
    color: rgba(255, 255, 255, .70);
    text-decoration: none;
    transition: color .2s ease;
}

.sidebar-tel:hover {
    color: var(--cyan);
}

/* --------------------------------------------------------------------------
   23.14 Articles similaires
   -------------------------------------------------------------------------- */

.single-similaires {
    background: var(--gray-light);
}

.blog-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* --------------------------------------------------------------------------
   23.15 Dark mode — Blog
   -------------------------------------------------------------------------- */

[data-theme="dark"] .blog-archive-section {
    background: #111C2B;
}

[data-theme="dark"] .blog-filtre-btn {
    border-color: rgba(255, 255, 255, .12);
    background: transparent;
    color: #94A3B8;
}

[data-theme="dark"] .blog-filtre-btn:hover,
[data-theme="dark"] .blog-filtre-btn.is-active {
    background: #1B3A6B;
    border-color: #1B3A6B;
    color: #fff;
}

[data-theme="dark"] .blog-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .blog-card:hover {
    border-color: rgba(26, 188, 222, .30);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .30);
}

[data-theme="dark"] .blog-card-titre a {
    color: #C8D6E5;
}

[data-theme="dark"] .blog-card-extrait {
    color: #7B90A8;
}

[data-theme="dark"] .blog-vide {
    background: #1C2B40;
    border-color: rgba(26, 188, 222, .20);
}

[data-theme="dark"] .blog-vide h3 {
    color: #C8D6E5;
}

[data-theme="dark"] .blog-pagination .page-numbers li a,
[data-theme="dark"] .blog-pagination .page-numbers li span {
    background: #1C2B40;
    color: #C8D6E5;
}

[data-theme="dark"] .blog-pagination .page-numbers li a:hover {
    background: #1B3A6B;
    color: #fff;
}

[data-theme="dark"] .single-article-section {
    background: #111C2B;
}

[data-theme="dark"] .single-meta {
    border-bottom-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .single-body {
    color: #C8D6E5;
}

[data-theme="dark"] .single-body h2,
[data-theme="dark"] .single-body h3,
[data-theme="dark"] .single-body h4 {
    color: #E0EAF4;
}

[data-theme="dark"] .single-body blockquote {
    background: #0F1923;
    color: #C8D6E5;
}

[data-theme="dark"] .single-body a {
    color: var(--cyan);
}

[data-theme="dark"] .single-tags {
    border-top-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .single-tag {
    background: #1C2B40;
    color: #94A3B8;
}

[data-theme="dark"] .single-tag:hover {
    background: #1B3A6B;
    color: #fff;
}

[data-theme="dark"] .single-partage {
    border-top-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .partage-label {
    color: #C8D6E5;
}

[data-theme="dark"] .single-nav {
    border-top-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .single-nav-link {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .single-nav-link:hover {
    background: #1B3A6B;
    border-color: #1B3A6B;
}

[data-theme="dark"] .nav-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .sidebar-widget {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, .05);
}

[data-theme="dark"] .recent-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .recent-item {
    border-bottom-color: rgba(255, 255, 255, .05);
}

[data-theme="dark"] .sidebar-service-link {
    color: #94A3B8;
    border-bottom-color: rgba(255, 255, 255, .05);
}

[data-theme="dark"] .sidebar-service-link:hover {
    color: var(--cyan);
}

[data-theme="dark"] .single-similaires {
    background: #0F1923;
}


/* ==========================================================================
   SECTION 24 — CONFIGURATEUR DE BESOINS INTERACTIF
   P13 — NVI Facility | Matrix Digital
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout principal
-------------------------------------------------------------------------- */

.configurateur-section {
    background: var(--white);
}

.configurateur-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: start;
    margin-top: 48px;
}

.configurateur-main {
    min-width: 0;
}

.configurateur-aside {
    position: sticky;
    top: calc(var(--nvif-header-h, 119px) + 24px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --------------------------------------------------------------------------
   Formulaire configurateur
-------------------------------------------------------------------------- */

.config-form {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #E8EDF5;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Barre de progression
-------------------------------------------------------------------------- */

.config-progress {
    padding: 24px 32px 20px;
    border-bottom: 1px solid #E8EDF5;
    background: #F8FAFE;
}

.config-progress-bar {
    height: 6px;
    background: #E8EDF5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
}

.config-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
    border-radius: 3px;
    transition: width 0.45s cubic-bezier(.4,0,.2,1);
}

.config-steps-nav {
    display: flex;
    gap: 0;
    justify-content: space-between;
}

.config-step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    flex: 1;
    cursor: default;
}

.config-step-dot::before {
    content: '';
    position: absolute;
    top: 14px;
    left: calc(50% + 14px);
    right: calc(-50% + 14px);
    height: 2px;
    background: #E8EDF5;
    z-index: 0;
}

.config-step-dot:last-child::before { display: none; }

.step-dot-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E8EDF5;
    color: #94A3B8;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: background 0.3s, color 0.3s;
}

.step-dot-label {
    font-size: 0.7rem;
    color: #94A3B8;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.3s;
}

.config-step-dot.is-active .step-dot-num {
    background: var(--blue);
    color: #fff;
}

.config-step-dot.is-active .step-dot-label {
    color: var(--blue);
    font-weight: 700;
}

.config-step-dot.is-completed .step-dot-num {
    background: var(--cyan);
    color: #1B3A6B;
}

.config-step-dot.is-completed .step-dot-label {
    color: var(--cyan);
}

.config-step-dot.is-completed::before {
    background: var(--cyan);
}

/* --------------------------------------------------------------------------
   Étapes
-------------------------------------------------------------------------- */

.config-step {
    padding: 36px 32px;
}

.config-step.is-hidden {
    display: none;
}

.config-step-header {
    margin-bottom: 32px;
}

.config-step-num {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(0, 191, 165, .12);
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

.config-step-titre {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0 0 10px;
    line-height: 1.2;
}

.config-step-desc {
    color: #64748B;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Étape 1 — Grille services
-------------------------------------------------------------------------- */

.config-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.config-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px 16px;
    border-radius: 14px;
    border: 2px solid #E8EDF5;
    background: #F8FAFE;
    cursor: pointer;
    transition: border-color 0.22s, background 0.22s, box-shadow 0.22s, transform 0.18s;
    text-align: center;
    -webkit-user-select: none;
    user-select: none;
}

.config-service-card:hover {
    border-color: var(--blue);
    background: #EEF3FB;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(27, 58, 107, .1);
}

.config-service-card.is-selected {
    border-color: var(--cyan);
    background: rgba(0, 191, 165, .07);
    box-shadow: 0 4px 20px rgba(0, 191, 165, .18);
}

.config-service-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.config-svc-icon {
    font-size: 2rem;
    line-height: 1;
    display: block;
}

.config-svc-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1B3A6B;
    line-height: 1.2;
}

.config-svc-desc {
    font-size: 0.68rem;
    color: #94A3B8;
    line-height: 1.4;
    display: none;
}

.config-svc-check {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cyan);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.2s;
}

.config-service-card.is-selected .config-svc-check {
    opacity: 1;
    transform: scale(1);
}

/* --------------------------------------------------------------------------
   Étape 2 — Cartes radio (structure + fréquence)
-------------------------------------------------------------------------- */

.config-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.config-legend {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.config-structure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.config-radio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 12px;
    border-radius: 12px;
    border: 2px solid #E8EDF5;
    background: #F8FAFE;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}

.config-radio-card:hover {
    border-color: var(--blue);
    background: #EEF3FB;
}

.config-radio-card.is-selected {
    border-color: var(--cyan);
    background: rgba(0, 191, 165, .07);
    box-shadow: 0 4px 16px rgba(0, 191, 165, .15);
}

.config-radio-card input[type="radio"],
.config-freq-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.config-radio-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.config-radio-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1B3A6B;
    line-height: 1.2;
}

.config-radio-check {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--cyan);
    color: #fff;
    font-size: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.2s;
}

.config-radio-card.is-selected .config-radio-check,
.config-freq-card.is-selected .config-radio-check {
    opacity: 1;
    transform: scale(1);
}

.config-frequence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.config-freq-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 14px;
    border-radius: 12px;
    border: 2px solid #E8EDF5;
    background: #F8FAFE;
    cursor: pointer;
    transition: border-color 0.22s, background 0.22s, box-shadow 0.22s;
}

.config-freq-card:hover {
    border-color: var(--blue);
    background: #EEF3FB;
}

.config-freq-card.is-selected {
    border-color: var(--cyan);
    background: rgba(0, 191, 165, .07);
    box-shadow: 0 4px 16px rgba(0, 191, 165, .15);
}

.config-freq-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1B3A6B;
}

.config-freq-sub {
    font-size: 0.7rem;
    color: #94A3B8;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Étape 3 — Détails
-------------------------------------------------------------------------- */

.config-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.config-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.config-field--full {
    grid-column: span 2;
}

.config-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    gap: 6px;
    align-items: center;
}

.config-required::after {
    content: '*';
    color: #EF4444;
    font-weight: 700;
}

.config-optionnel {
    font-size: 0.7rem;
    font-weight: 400;
    color: #94A3B8;
    font-style: italic;
}

.config-input,
.config-select,
.config-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #D1D9E6;
    border-radius: 10px;
    background: #F8FAFE;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #1B3A6B;
    transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
    outline: none;
}

.config-input:focus,
.config-select:focus,
.config-textarea:focus {
    border-color: var(--cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, .15);
}

.config-input.has-error,
.config-select.has-error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.config-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B3A6B' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 38px;
    cursor: pointer;
}

.config-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Étape 4 — Récapitulatif + coordonnées
-------------------------------------------------------------------------- */

.config-recap {
    background: linear-gradient(135deg, #F0F7FF 0%, #E8F5F3 100%);
    border: 1px solid rgba(0, 191, 165, .25);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 28px;
}

.config-recap-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(0, 191, 165, .1);
    border-bottom: 1px solid rgba(0, 191, 165, .2);
}

.config-recap-icon {
    font-size: 1.2rem;
}

.config-recap-titre {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1B3A6B;
    letter-spacing: 0.02em;
}

.config-recap-body {
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recap-line {
    display: grid;
    grid-template-columns: 24px 110px 1fr;
    gap: 8px;
    align-items: start;
    font-size: 0.85rem;
}

.recap-icon {
    font-size: 0.95rem;
    line-height: 1.4;
}

.recap-key {
    font-weight: 700;
    color: #64748B;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 1px;
}

.recap-value {
    color: #1B3A6B;
    font-weight: 500;
    line-height: 1.4;
}

.recap-empty {
    color: #94A3B8;
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

.config-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Messages d'erreur
-------------------------------------------------------------------------- */

.config-error {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .25);
    color: #DC2626;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.config-error.is-visible {
    display: flex;
}

.config-error::before {
    content: '⚠️';
    font-size: 1rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Actions (boutons navigation)
-------------------------------------------------------------------------- */

.config-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    border-top: 1px solid #E8EDF5;
    margin-top: 4px;
}

.config-actions > :only-child {
    margin-left: auto;
}

/* Spinner bouton submit */
#config-submit {
    position: relative;
    min-width: 220px;
    justify-content: center;
}

#config-submit .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: config-spin 0.7s linear infinite;
    margin-left: 10px;
}

#config-submit.is-loading .btn-text {
    opacity: 0.7;
}

#config-submit.is-loading .btn-spinner {
    display: inline-block;
}

@keyframes config-spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Écran de succès
-------------------------------------------------------------------------- */

.config-success {
    text-align: center;
    padding: 64px 32px !important;
}

.config-success-inner {
    max-width: 480px;
    margin: 0 auto;
}

.config-success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
    animation: config-pop 0.5s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes config-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.config-success-titre {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0 0 16px;
}

.config-success-desc {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 32px;
}

.config-success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Aside — cartes
-------------------------------------------------------------------------- */

.config-aside-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E8EDF5;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.config-aside-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: #F8FAFE;
    border-bottom: 1px solid #E8EDF5;
}

.config-aside-icon {
    font-size: 1.2rem;
}

.config-aside-titre {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0;
}

/* Bénéfices */
.config-aside-benefices .config-aside-header {
    background: #1B3A6B;
}

.config-aside-benefices .config-aside-titre {
    color: #fff;
}

.config-benefices-list {
    list-style: none;
    padding: 16px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.config-benefices-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cb-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.config-benefices-list li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.config-benefices-list li strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1B3A6B;
}

.config-benefices-list li span {
    font-size: 0.78rem;
    color: #64748B;
    line-height: 1.4;
}

/* Contact */
.config-aside-contact {
    padding-bottom: 4px;
}

.config-aside-text {
    padding: 14px 20px 8px;
    margin: 0;
    font-size: 0.82rem;
    color: #64748B;
    line-height: 1.5;
}

.config-tel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--cyan);
    color: #1B3A6B;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    margin: 0 20px;
    border-radius: 10px;
    transition: background 0.22s;
}

.config-tel-link:hover {
    background: #00A896;
    color: #fff;
}

.config-aside-contact .nvif-btn--outline {
    margin: 8px 20px 20px;
    width: calc(100% - 40px) !important;
}

/* Processus */
.config-process-list {
    list-style: none;
    padding: 16px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: none;
}

.config-process-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.cp-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1B3A6B;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.config-process-list li div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.config-process-list li strong {
    font-size: 0.83rem;
    font-weight: 700;
    color: #1B3A6B;
}

.config-process-list li span {
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Dark mode — Configurateur
-------------------------------------------------------------------------- */

[data-theme="dark"] .configurateur-section {
    background: #0F1923;
}

[data-theme="dark"] .config-form {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .config-progress {
    background: #162132;
    border-bottom-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .config-progress-bar {
    background: rgba(255, 255, 255, .1);
}

[data-theme="dark"] .step-dot-num {
    background: rgba(255, 255, 255, .1);
    color: #64748B;
}

[data-theme="dark"] .step-dot-label {
    color: #64748B;
}

[data-theme="dark"] .config-step-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .config-step-desc {
    color: #94A3B8;
}

[data-theme="dark"] .config-service-card {
    background: #162132;
    border-color: rgba(255, 255, 255, .07);
}

[data-theme="dark"] .config-service-card:hover {
    background: #1E3048;
    border-color: var(--blue);
}

[data-theme="dark"] .config-service-card.is-selected {
    background: rgba(0, 191, 165, .1);
    border-color: var(--cyan);
}

[data-theme="dark"] .config-svc-label {
    color: #C8D6E5;
}

[data-theme="dark"] .config-svc-desc {
    color: #64748B;
}

[data-theme="dark"] .config-legend {
    color: #64748B;
}

[data-theme="dark"] .config-radio-card,
[data-theme="dark"] .config-freq-card {
    background: #162132;
    border-color: rgba(255, 255, 255, .07);
}

[data-theme="dark"] .config-radio-card:hover,
[data-theme="dark"] .config-freq-card:hover {
    background: #1E3048;
    border-color: var(--blue);
}

[data-theme="dark"] .config-radio-card.is-selected,
[data-theme="dark"] .config-freq-card.is-selected {
    background: rgba(0, 191, 165, .1);
    border-color: var(--cyan);
}

[data-theme="dark"] .config-radio-label,
[data-theme="dark"] .config-freq-label {
    color: #C8D6E5;
}

[data-theme="dark"] .config-freq-sub {
    color: #64748B;
}

[data-theme="dark"] .config-label {
    color: #C8D6E5;
}

[data-theme="dark"] .config-input,
[data-theme="dark"] .config-textarea {
    background: #162132;
    border-color: rgba(255, 255, 255, .1);
    color: #C8D6E5;
}

[data-theme="dark"] .config-input:focus,
[data-theme="dark"] .config-textarea:focus {
    background: #1C2B40;
    border-color: var(--cyan);
}

[data-theme="dark"] .config-input.has-error,
[data-theme="dark"] .config-select.has-error {
    border-color: #F87171;
}

[data-theme="dark"] .config-select {
    background-color: #162132;
    border-color: rgba(255, 255, 255, .1);
    color: #C8D6E5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

[data-theme="dark"] .config-select:focus {
    background-color: #1C2B40;
    border-color: var(--cyan);
}

[data-theme="dark"] .config-recap {
    background: linear-gradient(135deg, #162132 0%, #1A2D3F 100%);
    border-color: rgba(0, 191, 165, .2);
}

[data-theme="dark"] .config-recap-header {
    background: rgba(0, 191, 165, .08);
    border-bottom-color: rgba(0, 191, 165, .12);
}

[data-theme="dark"] .config-recap-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .recap-key {
    color: #64748B;
}

[data-theme="dark"] .recap-value {
    color: #C8D6E5;
}

[data-theme="dark"] .config-step-num {
    background: rgba(0, 191, 165, .15);
    color: var(--cyan);
}

[data-theme="dark"] .config-actions {
    border-top-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .config-aside-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .config-aside-header {
    background: #162132;
    border-bottom-color: rgba(255, 255, 255, .06);
}

[data-theme="dark"] .config-aside-benefices .config-aside-header {
    background: #1B3A6B;
}

[data-theme="dark"] .config-aside-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .config-aside-text {
    color: #94A3B8;
}

[data-theme="dark"] .config-benefices-list li strong,
[data-theme="dark"] .config-process-list li strong {
    color: #C8D6E5;
}

[data-theme="dark"] .config-benefices-list li span,
[data-theme="dark"] .config-process-list li span,
[data-theme="dark"] .config-freq-sub {
    color: #64748B;
}

[data-theme="dark"] .cp-num {
    background: var(--blue);
}

[data-theme="dark"] .config-success-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .config-success-desc {
    color: #94A3B8;
}


/* ==========================================================================
   SECTION 24-B — CONFIGURATEUR v2 — 6 ÉTAPES (nouveaux éléments)
   P13-v2 — NVI Facility | Matrix Digital
   ========================================================================== */

/* Barre de progression 6 étapes — dots plus compacts */
.config-steps-nav--6 {
    gap: 0;
}
.config-steps-nav--6 .config-step-dot {
    flex: 1;
    min-width: 0;
}
.config-steps-nav--6 .step-dot-label {
    font-size: 0.65rem;
}

/* Badge obligatoire */
.config-required-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #FFF;
    background: var(--teal);
    padding: 2px 8px;
    border-radius: 20px;
    vertical-align: middle;
}

/* Grid structure 8 colonnes → 4 sur grand écran */
.config-structure-grid--8 {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- Zone d'intervention ------------------------------------------ */
.config-zone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.config-zone-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-left: 4px solid var(--zc, var(--navy));
    border-radius: 12px;
    padding: 18px 16px;
    cursor: pointer;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}
.config-zone-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.config-zone-card.is-selected {
    background: color-mix(in srgb, var(--zc, var(--navy)) 6%, white);
    border-color: var(--zc, var(--navy));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--zc, var(--navy)) 20%, transparent);
}
.config-zone-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.config-zone-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.config-zone-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}
.config-zone-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.config-zone-delai {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
}
.config-zone-card .config-radio-check {
    font-size: 0.7rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.2s;
}
.config-zone-card.is-selected .config-radio-check {
    color: var(--zc, var(--navy));
}

/* ---- Horaires (checkbox cards) ------------------------------------ */
.config-horaire-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.config-horaire-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 10px 14px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.config-horaire-card:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 12px rgba(0,191,165,0.12);
}
.config-horaire-card.is-selected {
    border-color: var(--teal);
    background: rgba(0,191,165,0.06);
    box-shadow: 0 0 0 3px rgba(0,191,165,0.18);
}
.config-horaire-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.config-horaire-icon {
    font-size: 1.4rem;
    line-height: 1;
}
.config-horaire-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
}
.config-horaire-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.config-horaire-card .config-svc-check {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--teal);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.2s;
}
.config-horaire-card.is-selected .config-svc-check {
    opacity: 1;
    transform: scale(1);
}

/* ---- Budget (radio cards 3 colonnes) ------------------------------ */
.config-budget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.config-budget-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 14px;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.config-budget-card:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 12px rgba(27,58,107,0.10);
}
.config-budget-card.is-selected {
    border-color: var(--navy);
    background: rgba(27,58,107,0.05);
    box-shadow: 0 0 0 3px rgba(27,58,107,0.15);
}
.config-budget-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.config-budget-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}
.config-budget-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.config-budget-card .config-radio-check {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 0.65rem;
    color: var(--text-muted);
    transition: color 0.2s;
}
.config-budget-card.is-selected .config-radio-check {
    color: var(--navy);
}

/* ---- Situation (radio cards pleine largeur 2 colonnes) ------------ */
.config-situation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.config-situation-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 14px;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.config-situation-card:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 12px rgba(0,191,165,0.10);
}
.config-situation-card.is-selected {
    border-color: var(--teal);
    background: rgba(0,191,165,0.05);
    box-shadow: 0 0 0 3px rgba(0,191,165,0.15);
}
.config-situation-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.config-situation-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.config-situation-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.config-situation-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}
.config-situation-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.config-situation-card .config-radio-check {
    font-size: 0.65rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.2s;
}
.config-situation-card.is-selected .config-radio-check {
    color: var(--teal);
}

/* ---- Priorités (checkbox cards) ----------------------------------- */
.config-priorite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.config-priorite-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    background: var(--white);
    border: 1.5px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 14px 14px;
    cursor: pointer;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.config-priorite-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 4px 12px rgba(6,182,212,0.10);
}
.config-priorite-card.is-selected {
    border-color: var(--cyan);
    background: rgba(6,182,212,0.06);
    box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}
.config-priorite-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.config-priorite-icon {
    font-size: 1.3rem;
    line-height: 1;
    margin-bottom: 2px;
}
.config-priorite-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}
.config-priorite-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.3;
}
.config-priorite-card .config-svc-check {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--cyan);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s, transform 0.2s;
}
.config-priorite-card.is-selected .config-svc-check {
    opacity: 1;
    transform: scale(1);
}

/* ---- Récapitulatif enrichi --------------------------------------- */
.recap-section {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.recap-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.recap-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.recap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.recap-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(27,58,107,0.08);
    color: var(--navy);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.recap-kv {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
    font-size: 0.875rem;
}
.recap-kv .recap-key {
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    min-width: 110px;
}
.recap-kv .recap-value {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
}
.recap-message {
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 10px 14px;
    background: var(--gray-light);
    border-radius: 8px;
    border-left: 3px solid var(--teal);
    margin: 0;
}

/* ---- Dark mode nouveaux composants -------------------------------- */
[data-theme="dark"] .config-zone-card,
[data-theme="dark"] .config-horaire-card,
[data-theme="dark"] .config-budget-card,
[data-theme="dark"] .config-situation-card,
[data-theme="dark"] .config-priorite-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.10);
}
[data-theme="dark"] .config-zone-card:hover,
[data-theme="dark"] .config-horaire-card:hover,
[data-theme="dark"] .config-budget-card:hover {
    border-color: rgba(255,255,255,0.22);
}
[data-theme="dark"] .config-zone-card.is-selected {
    background: rgba(27,58,107,0.30);
}
[data-theme="dark"] .config-horaire-card.is-selected,
[data-theme="dark"] .config-situation-card.is-selected {
    background: rgba(0,191,165,0.12);
}
[data-theme="dark"] .config-priorite-card.is-selected {
    background: rgba(6,182,212,0.12);
}
[data-theme="dark"] .config-budget-card.is-selected {
    background: rgba(27,58,107,0.25);
}
[data-theme="dark"] .config-zone-label,
[data-theme="dark"] .config-horaire-label,
[data-theme="dark"] .config-budget-label,
[data-theme="dark"] .config-situation-label,
[data-theme="dark"] .config-priorite-label {
    color: #C8D6E5;
}
[data-theme="dark"] .config-zone-sub,
[data-theme="dark"] .config-horaire-sub,
[data-theme="dark"] .config-budget-sub,
[data-theme="dark"] .config-situation-sub,
[data-theme="dark"] .config-priorite-sub {
    color: #64748B;
}
[data-theme="dark"] .recap-section {
    border-bottom-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .recap-tag {
    background: rgba(27,58,107,0.35);
    color: #93C5FD;
}
[data-theme="dark"] .recap-kv .recap-key  { color: #64748B; }
[data-theme="dark"] .recap-kv .recap-value { color: #C8D6E5; }
[data-theme="dark"] .recap-message {
    background: rgba(255,255,255,0.04);
    color: #94A3B8;
}
[data-theme="dark"] .config-required-badge { background: var(--teal); }

/* ==========================================================================
   SECTION 25 — PAGE CONTACT
   P14 — NVI Facility | Matrix Digital
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout principal
-------------------------------------------------------------------------- */

.contact-section {
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
    margin-top: 48px;
}

.contact-aside {
    position: sticky;
    top: calc(var(--nvif-header-h, 119px) + 24px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --------------------------------------------------------------------------
   Formulaire
-------------------------------------------------------------------------- */

.contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #E8EDF5;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-form-header {
    padding: 28px 32px 24px;
    border-bottom: 1px solid #E8EDF5;
    background: #F8FAFE;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form-icon {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 4px;
}

.contact-form-titre {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0;
}

.contact-form-desc {
    font-size: 0.82rem;
    color: #94A3B8;
    margin: 0;
}

.contact-form-desc span {
    color: #EF4444;
    font-weight: 700;
}

.contact-form {
    padding: 28px 32px 32px;
}

.contact-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-field--full {
    grid-column: span 2;
}

.contact-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
}

.contact-required::after {
    content: ' *';
    color: #EF4444;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #D1D9E6;
    border-radius: 10px;
    background: #F8FAFE;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #1B3A6B;
    transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
    outline: none;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    border-color: var(--cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, .15);
}

.contact-input.has-error,
.contact-select.has-error,
.contact-textarea.has-error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.contact-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B3A6B' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 38px;
    cursor: pointer;
}

.contact-textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.55;
}

/* Erreur */
.contact-error {
    display: none;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .25);
    color: #DC2626;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.contact-error::before {
    content: '⚠️ ';
}

.contact-error.is-visible {
    display: block;
}

/* Bouton submit */
.contact-submit-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-submit-btn {
    position: relative;
    align-self: flex-start;
    min-width: 200px;
    justify-content: center;
}

.contact-submit-btn .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: contact-spin 0.7s linear infinite;
    margin-left: 10px;
}

.contact-submit-btn.is-loading .btn-text { opacity: 0.7; }
.contact-submit-btn.is-loading .btn-spinner { display: inline-block; }

@keyframes contact-spin { to { transform: rotate(360deg); } }

.contact-rgpd {
    font-size: 0.74rem;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
}

/* Succès */
.contact-success {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    background: rgba(0, 191, 165, .07);
    border-top: 1px solid rgba(0, 191, 165, .2);
}

.contact-success.is-visible {
    display: flex;
}

.contact-success-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.contact-success strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #1B3A6B;
    margin-bottom: 4px;
}

.contact-success p {
    margin: 0;
    color: #64748B;
    font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Aside droit — Infos + Carte
-------------------------------------------------------------------------- */

.contact-info-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E8EDF5;
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.contact-info-titre {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cyan);
    display: inline-block;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ci-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.ci-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ci-content strong {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ci-content span,
.ci-content a {
    font-size: 0.88rem;
    color: #1B3A6B;
    text-decoration: none;
    line-height: 1.4;
}

.ci-content a:hover {
    color: var(--cyan);
    text-decoration: underline;
}

.contact-cta-direct {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid #E8EDF5;
}

.contact-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.22s;
}

.contact-whatsapp-btn:hover {
    background: #128C7E;
}

/* Carte Leaflet */
.contact-map-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E8EDF5;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.contact-map-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #F8FAFE;
    border-bottom: 1px solid #E8EDF5;
}

.contact-map-icon { font-size: 1rem; }

.contact-map-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1B3A6B;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-map-container {
    height: 260px;
    width: 100%;
}

.contact-map-link {
    display: block;
    padding: 10px 16px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    border-top: 1px solid #E8EDF5;
    transition: color 0.2s, background 0.2s;
}

.contact-map-link:hover {
    color: var(--cyan);
    background: #F8FAFE;
}

/* Marqueur custom Leaflet */
.contact-map-marker {
    background: transparent !important;
    border: none !important;
}

.cm-marker-inner {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
    animation: cm-bounce 0.6s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes cm-bounce {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* Popup Leaflet */
.cm-popup-wrap .leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.18) !important;
    border: 1px solid #E8EDF5 !important;
    padding: 0 !important;
    overflow: hidden;
}

.cm-popup-wrap .leaflet-popup-content {
    margin: 0 !important;
}

.cm-popup {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
}

.cm-popup-titre {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1B3A6B;
}

.cm-popup-adresse {
    font-size: 0.78rem;
    color: #64748B;
    line-height: 1.4;
}

.cm-popup-tel {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
    text-decoration: none;
    margin-top: 4px;
}

.cm-popup-tel:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Bloc Réponse Rapide
-------------------------------------------------------------------------- */

.contact-rapide-section {
    background: #F8FAFE;
}

.contact-rapide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.contact-rapide-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #E8EDF5;
    transition: box-shadow 0.25s, transform 0.25s;
}

.contact-rapide-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.cr-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
}

.cr-titre {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0 0 8px;
}

.cr-desc {
    font-size: 0.82rem;
    color: #64748B;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Dark mode
-------------------------------------------------------------------------- */

[data-theme="dark"] .contact-section {
    background: #0F1923;
}

[data-theme="dark"] .contact-form-wrap {
    background: #1C2B40;
    border-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .contact-form-header {
    background: #162132;
    border-bottom-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .contact-form-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .contact-label {
    color: #C8D6E5;
}

[data-theme="dark"] .contact-input,
[data-theme="dark"] .contact-textarea {
    background: #162132;
    border-color: rgba(255,255,255,.1);
    color: #C8D6E5;
}

[data-theme="dark"] .contact-input:focus,
[data-theme="dark"] .contact-textarea:focus {
    background: #1C2B40;
    border-color: var(--cyan);
}

[data-theme="dark"] .contact-input.has-error,
[data-theme="dark"] .contact-select.has-error,
[data-theme="dark"] .contact-textarea.has-error {
    border-color: #F87171;
}

[data-theme="dark"] .contact-select {
    background-color: #162132;
    border-color: rgba(255,255,255,.1);
    color: #C8D6E5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

[data-theme="dark"] .contact-select:focus {
    background-color: #1C2B40;
    border-color: var(--cyan);
}

[data-theme="dark"] .contact-info-card {
    background: #1C2B40;
    border-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .contact-info-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .ci-content span,
[data-theme="dark"] .ci-content a {
    color: #C8D6E5;
}

[data-theme="dark"] .ci-content strong {
    color: #64748B;
}

[data-theme="dark"] .contact-cta-direct {
    border-top-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .contact-map-card {
    background: #1C2B40;
    border-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .contact-map-header {
    background: #162132;
    border-bottom-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .contact-map-label {
    color: #C8D6E5;
}

[data-theme="dark"] .contact-map-link {
    border-top-color: rgba(255,255,255,.06);
    color: #C8D6E5;
}

[data-theme="dark"] .contact-map-link:hover {
    background: #162132;
    color: var(--cyan);
}

[data-theme="dark"] .contact-rapide-section {
    background: #0D1520;
}

[data-theme="dark"] .contact-rapide-item {
    background: #1C2B40;
    border-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .cr-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .cr-desc {
    color: #94A3B8;
}

[data-theme="dark"] .contact-success {
    background: rgba(0,191,165,.06);
    border-top-color: rgba(0,191,165,.15);
}

[data-theme="dark"] .contact-success strong {
    color: #C8D6E5;
}

[data-theme="dark"] .contact-success p {
    color: #94A3B8;
}

[data-theme="dark"] .contact-form {
    background: #1C2B40;
}


/* ==========================================================================
   SECTION 26 — ZONES D'INTERVENTION (CARTE INTERACTIVE)
   P15 — NVI Facility | Matrix Digital
   ========================================================================== */

/* --------------------------------------------------------------------------
   Stats rapides
-------------------------------------------------------------------------- */

.zones-stats-section {
    background: linear-gradient(135deg, #1B3A6B 0%, var(--blue) 100%);
    padding: 40px 0;
}

.zones-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.zones-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,.15);
}

.zones-stat:last-child {
    border-right: none;
}

.zs-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    letter-spacing: -0.02em;
}

.zs-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Section carte
-------------------------------------------------------------------------- */

.zones-carte-section {
    background: var(--white);
}

/* Filtres */
.zones-filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.zones-filtre-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 2px solid #E8EDF5;
    background: #F8FAFE;
    color: #64748B;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    white-space: nowrap;
}

.zones-filtre-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: #EEF3FB;
}

.zones-filtre-btn.is-active {
    border-color: var(--cyan);
    background: var(--cyan);
    color: #1B3A6B;
}

.zf-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: rgba(0,0,0,.1);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 5px;
}

.zones-filtre-btn.is-active .zf-count {
    background: rgba(27,58,107,.2);
}

/* Carte + Légende (position relative pour overlay) */
.zones-carte-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #E8EDF5;
}

.zones-map-container {
    height: 560px;
    width: 100%;
    z-index: 1;
}

/* Légende flottante */
.zones-legende {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #E8EDF5;
    box-shadow: var(--shadow-md);
    z-index: 999;
    max-width: 220px;
    min-width: 170px;
}

.zl-titre {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94A3B8;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E8EDF5;
}

.zl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
}

.zl-item:hover {
    background: #F8FAFE;
    padding-left: 4px;
}

.zl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.8);
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

/* Couleurs des dots via data-service (CSS vars passées inline) */
.zl-dot[data-service="proprete"]      { background: #00BFA5; }
.zl-dot[data-service="gardiennage"]   { background: #1B3A6B; }
.zl-dot[data-service="conciergerie"]  { background: #2563EB; }
.zl-dot[data-service="chauffeurs"]    { background: #F59E0B; }
.zl-dot[data-service="espaces-verts"] { background: #22C55E; }
.zl-dot[data-service="domestiques"]   { background: #A855F7; }
.zl-dot[data-service="techniques"]    { background: #EF4444; }
.zl-dot[data-service="recrutement"]   { background: #06B6D4; }
.zl-dot[data-service="interim"]       { background: #78716C; }

/* même règles pour zone-card-dot */
.zone-card-dot[data-service="proprete"]      { background: #00BFA5; }
.zone-card-dot[data-service="gardiennage"]   { background: #1B3A6B; }
.zone-card-dot[data-service="conciergerie"]  { background: #2563EB; }
.zone-card-dot[data-service="chauffeurs"]    { background: #F59E0B; }
.zone-card-dot[data-service="espaces-verts"] { background: #22C55E; }
.zone-card-dot[data-service="domestiques"]   { background: #A855F7; }
.zone-card-dot[data-service="techniques"]    { background: #EF4444; }
.zone-card-dot[data-service="recrutement"]   { background: #06B6D4; }
.zone-card-dot[data-service="interim"]       { background: #78716C; }

.zl-label {
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
    flex: 1;
    line-height: 1.2;
}

.zl-count {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94A3B8;
}

/* Compteur flottant */
.zones-carte-counter {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(27,58,107,.92);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 999;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Marqueurs Leaflet custom
-------------------------------------------------------------------------- */

.nvif-map-marker {
    background: transparent !important;
    border: none !important;
}

.nvif-marker-svg {
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.3));
    transition: transform 0.15s;
}

.nvif-marker-svg:hover {
    transform: scale(1.15) translateY(-2px);
}

/* Popup */
.nvif-popup-wrap .leaflet-popup-content-wrapper {
    border-radius: 14px !important;
    box-shadow: 0 8px 40px rgba(0,0,0,.18) !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #E8EDF5 !important;
}

.nvif-popup-wrap .leaflet-popup-content {
    margin: 0 !important;
    width: 260px !important;
}

.nvif-popup-wrap .leaflet-popup-tip-container {
    margin-top: -1px;
}

.nvif-popup {
    font-family: var(--font-body);
}

.nvif-popup-bar {
    height: 4px;
    width: 100%;
}

.nvif-popup-body {
    padding: 14px 16px 16px;
}

.nvif-popup-svc {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.nvif-popup-titre {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0 0 8px;
    line-height: 1.2;
}

.nvif-popup-adresse {
    font-size: 0.78rem;
    color: #64748B;
    margin: 0 0 6px;
    line-height: 1.4;
}

.nvif-popup-desc {
    font-size: 0.78rem;
    color: #64748B;
    margin: 0 0 12px;
    line-height: 1.5;
    border-top: 1px solid #F1F5F9;
    padding-top: 8px;
}

.nvif-popup-cta {
    display: inline-block;
    padding: 7px 14px;
    background: var(--cyan);
    color: #1B3A6B;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.nvif-popup-cta:hover {
    background: #00A896;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Grille des zones
-------------------------------------------------------------------------- */

.zones-liste-section {
    background: #F8FAFE;
}

.zones-liste-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.zone-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #E8EDF5;
    padding: 18px;
    transition: box-shadow 0.22s, transform 0.22s;
}

.zone-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.zone-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.zone-card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.zone-card-svc {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748B;
}

.zone-card-nom {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0 0 6px;
    line-height: 1.2;
}

.zone-card-adresse {
    font-size: 0.75rem;
    color: #64748B;
    margin: 0 0 6px;
    line-height: 1.4;
}

.zone-card-desc {
    font-size: 0.75rem;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   CTA "Votre site pas encore sur la carte ?"
-------------------------------------------------------------------------- */

.zones-cta-section {
    background: var(--white);
    padding: 48px 0;
}

.zones-cta-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, #F0F7FF 0%, #E8F5F3 100%);
    border: 1px solid rgba(0,191,165,.2);
    border-radius: 20px;
    padding: 32px 36px;
}

.zones-cta-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.zones-cta-content {
    flex: 1;
}

.zones-cta-titre {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1B3A6B;
    margin: 0 0 6px;
}

.zones-cta-desc {
    color: #64748B;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.55;
}

.zones-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Dark mode
-------------------------------------------------------------------------- */

[data-theme="dark"] .zones-carte-section {
    background: #0F1923;
}

[data-theme="dark"] .zones-filtre-btn {
    background: #1C2B40;
    border-color: rgba(255,255,255,.08);
    color: #94A3B8;
}

[data-theme="dark"] .zones-filtre-btn:hover {
    border-color: var(--blue);
    color: #C8D6E5;
    background: #1E3048;
}

[data-theme="dark"] .zones-filtre-btn.is-active {
    border-color: var(--cyan);
    background: var(--cyan);
    color: #1B3A6B;
}

[data-theme="dark"] .zones-carte-wrap {
    border-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .zones-legende {
    background: rgba(28,43,64,.96);
    border-color: rgba(255,255,255,.08);
}

[data-theme="dark"] .zl-titre {
    color: #64748B;
    border-bottom-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .zl-item:hover {
    background: #162132;
}

[data-theme="dark"] .zl-label {
    color: #C8D6E5;
}

[data-theme="dark"] .nvif-popup-wrap .leaflet-popup-content-wrapper {
    background: #1C2B40 !important;
    border-color: rgba(255,255,255,.08) !important;
}

[data-theme="dark"] .nvif-popup-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .nvif-popup-adresse,
[data-theme="dark"] .nvif-popup-desc {
    color: #94A3B8;
}

[data-theme="dark"] .nvif-popup-desc {
    border-top-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .zones-liste-section {
    background: #0D1520;
}

[data-theme="dark"] .zone-card {
    background: #1C2B40;
    border-color: rgba(255,255,255,.06);
}

[data-theme="dark"] .zone-card-nom {
    color: #C8D6E5;
}

[data-theme="dark"] .zones-cta-section {
    background: #0F1923;
}

[data-theme="dark"] .zones-cta-inner {
    background: linear-gradient(135deg, #162132 0%, #1A2D3F 100%);
    border-color: rgba(0,191,165,.15);
}

[data-theme="dark"] .zones-cta-titre {
    color: #C8D6E5;
}

[data-theme="dark"] .zones-cta-desc {
    color: #94A3B8;
}


/* ============================================================
   SECTION 27 — PAGE 404 PERSONNALISÉE (P16)
   ============================================================ */

/* ── Hero 404 ─────────────────────────────────────────────── */
.error404-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A1628 0%, #1B3A6B 50%, #0E2347 100%);
    overflow: hidden;
    color: #fff;
    padding: 120px 0 80px;
}

.error404-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,191,165,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.error404-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Chiffres 404 animés */
.error404-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.e4-digit {
    font-family: var(--font-title);
    font-size: clamp(80px, 14vw, 160px);
    font-weight: 700;
    line-height: 1;
    color: #00BFA5;
    text-shadow: 0 0 40px rgba(0,191,165,0.4);
}

.e4-zero {
    width: clamp(80px, 14vw, 160px);
    height: clamp(80px, 14vw, 160px);
    color: #fff;
    flex-shrink: 0;
}

.e4-zero svg {
    width: 100%;
    height: 100%;
}

.e4-circle-anim {
    animation: circleReveal 1.2s ease-out 0.3s forwards;
}

@keyframes circleReveal {
    to { stroke-dashoffset: 0; }
}

.error404-titre {
    font-family: var(--font-title);
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.error404-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0 auto 40px;
    max-width: 560px;
}

.error404-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.error404-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    color: var(--bg-primary, #F8FAFC);
}

.error404-wave svg { width: 100%; height: 60px; }

/* ── Liens rapides ────────────────────────────────────────── */
.error404-links-section {
    background: var(--bg-primary, #F8FAFC);
}

.error404-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.e4-link-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    background: var(--bg-card, #FFFFFF);
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.e4-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00BFA5, #2563EB);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.e4-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    border-color: var(--primary, #00BFA5);
    text-decoration: none;
}

.e4-link-card:hover::before {
    transform: scaleX(1);
}

.e4-link-icon {
    font-size: 2rem;
    line-height: 1;
}

.e4-link-titre {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #0F172A);
    margin: 4px 0 0;
}

.e4-link-desc {
    font-size: 0.88rem;
    color: var(--text-secondary, #64748B);
    line-height: 1.5;
    flex: 1;
}

.e4-link-arrow {
    font-size: 1.1rem;
    color: var(--primary, #00BFA5);
    align-self: flex-start;
    margin-top: 4px;
    transition: transform 0.2s ease;
}

.e4-link-card:hover .e4-link-arrow {
    transform: translateX(4px);
}

/* ── Contact rapide 404 ───────────────────────────────────── */
.error404-contact-section {
    background: var(--bg-secondary, #F1F5F9);
}

.error404-contact-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--bg-card, #FFFFFF);
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 20px;
    padding: 40px 48px;
    flex-wrap: wrap;
}

.error404-contact-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.error404-contact-text {
    flex: 1;
    min-width: 200px;
}

.error404-contact-titre {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary, #0F172A);
    margin: 0 0 6px;
}

.error404-contact-desc {
    font-size: 0.95rem;
    color: var(--text-secondary, #64748B);
    margin: 0;
}

.error404-contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ── Dark mode 404 ────────────────────────────────────────── */
[data-theme="dark"] .error404-wave {
    color: var(--bg-primary);
}

[data-theme="dark"] .error404-links-section {
    background: var(--bg-primary);
}

[data-theme="dark"] .error404-contact-section {
    background: var(--bg-secondary);
}

[data-theme="dark"] .e4-link-card {
    background: var(--bg-card);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .e4-link-titre {
    color: var(--text-primary);
}

[data-theme="dark"] .error404-contact-inner {
    background: var(--bg-card);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .error404-contact-titre {
    color: var(--text-primary);
}


/* ============================================================
   SECTION 28 — PAGES LÉGALES (P18)
   ============================================================ */

/* ── Layout 2 colonnes ───────────────────────────────────── */
.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Table des matières ──────────────────────────────────── */
.legal-toc {
    position: sticky;
    top: 100px;
}

.legal-toc-inner {
    background: var(--bg-card, #FFFFFF);
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 12px;
    padding: 24px;
}

.legal-toc-titre {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary, #00BFA5);
    margin-bottom: 16px;
}

.legal-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-toc-item a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary, #64748B);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    line-height: 1.4;
}

.legal-toc-item a:hover,
.legal-toc-item a.is-active {
    background: rgba(0,191,165,0.10);
    color: var(--primary, #00BFA5);
}

.legal-toc-h3 a {
    padding-left: 20px;
    font-size: 0.8rem;
}

/* ── Contenu légal ───────────────────────────────────────── */
.legal-content {
    min-width: 0;
}

.legal-body {
    font-size: 0.97rem;
    line-height: 1.8;
    color: var(--text-primary, #0F172A);
}

.legal-body h2 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy, #1B3A6B);
    margin: 48px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color, #E2E8F0);
    scroll-margin-top: 100px;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #0F172A);
    margin: 32px 0 12px;
    scroll-margin-top: 100px;
}

.legal-body p {
    margin: 0 0 16px;
}

.legal-body ul,
.legal-body ol {
    margin: 0 0 16px 24px;
}

.legal-body li {
    margin-bottom: 6px;
}

.legal-body a {
    color: var(--primary, #00BFA5);
    text-decoration: underline;
}

.legal-body a:hover {
    color: var(--primary-dark, #009688);
}

.legal-body strong {
    font-weight: 600;
    color: var(--text-primary, #0F172A);
}

.legal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
}

.legal-body th,
.legal-body td {
    padding: 10px 14px;
    border: 1px solid var(--border-color, #E2E8F0);
    text-align: left;
}

.legal-body th {
    background: var(--bg-secondary, #F1F5F9);
    font-weight: 600;
    color: var(--text-primary, #0F172A);
}

.legal-body blockquote {
    border-left: 4px solid var(--primary, #00BFA5);
    padding: 16px 20px;
    margin: 24px 0;
    background: rgba(0,191,165,0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-secondary, #64748B);
}

/* ── Retour en haut ──────────────────────────────────────── */
.legal-back-top {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color, #E2E8F0);
    text-align: right;
}

.legal-back-link {
    font-size: 0.9rem;
    color: var(--text-secondary, #64748B);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-back-link:hover {
    color: var(--primary, #00BFA5);
}

/* ── CTA légal ───────────────────────────────────────────── */
.legal-cta-section {
    background: var(--bg-secondary, #F1F5F9);
    padding: 48px 0;
}

.legal-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-cta-text {
    font-size: 1rem;
    color: var(--text-secondary, #64748B);
    margin: 0;
}

/* ── Dark mode légal ─────────────────────────────────────── */
[data-theme="dark"] .legal-toc-inner {
    background: var(--bg-card);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .legal-body {
    color: var(--text-primary);
}

[data-theme="dark"] .legal-body h2 {
    color: #C8D6E5;
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .legal-body h3 {
    color: var(--text-primary);
}

[data-theme="dark"] .legal-body th {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

[data-theme="dark"] .legal-body td {
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .legal-body strong {
    color: var(--text-primary);
}

[data-theme="dark"] .legal-cta-section {
    background: var(--bg-secondary);
}

/* ==========================================================================
   SECTION 29 — HOMEPAGE UPGRADE VISUEL
   Service photo cards · Flip cards why-us · Split approche · Secteurs
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   29A — SERVICE CARDS PHOTO (remplace les cartes flat)
   ────────────────────────────────────────────────────────────────────────── */

.services-grid--photo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* La carte */
.service-card--photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    background-color: transparent;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card--photo:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Image de fond */
.sc-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.service-card--photo:hover .sc-bg {
    transform: scale(1.08);
}

/* Overlay gradient sombre */
.sc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.55) 45%,
        rgba(0, 0, 0, 0.18) 100%
    );
    transition: opacity 0.4s ease;
}

/* Teinte couleur service au hover */
.service-card--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-color, #00B8A9);
    opacity: 0;
    mix-blend-mode: multiply;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    pointer-events: none;
}

.service-card--photo:hover::after {
    opacity: 0.35;
}

/* Contenu superposé */
.sc-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Icône */
.sc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 4px;
    flex-shrink: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.service-card--photo:hover .sc-icon {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Titre */
.sc-title {
    font-family: var(--font-title);
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Description — révélée au hover */
.sc-desc {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.service-card--photo:hover .sc-desc {
    max-height: 80px;
    opacity: 1;
    transform: translateY(0);
}

/* Lien "Découvrir" */
.sc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--card-color, #00B8A9);
    text-decoration: none;
    margin-top: 4px;
}

.sc-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.service-card--photo:hover .sc-arrow {
    transform: translateX(4px);
}

/* Barre couleur bas */
.sc-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-color, #00B8A9);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card--photo:hover .sc-bar {
    transform: scaleX(1);
}

/* Dark mode — déjà sombres par nature */
[data-theme="dark"] .service-card--photo {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ──────────────────────────────────────────────────────────────────────────
   29B — FLIP CARDS WHY-US
   ────────────────────────────────────────────────────────────────────────── */

.why-grid--flip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Centrage rangée 2 (3 éléments sur 4 cols) */
.why-grid--flip .why-flip-wrap:nth-child(5) { grid-column: 1; }
.why-grid--flip .why-flip-wrap:nth-child(6) { grid-column: 2; }
.why-grid--flip .why-flip-wrap:nth-child(7) { grid-column: 3; }

/* Wrapper perspective */
.why-flip-wrap {
    perspective: 1200px;
    min-height: 260px;
    cursor: pointer;
    outline: none;
}

/* Inner — se retourne */
.why-flip {
    position: relative;
    width: 100%;
    height: 260px;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-flip-wrap:hover .why-flip,
.why-flip-wrap:focus-visible .why-flip,
.why-flip-wrap.is-flipped .why-flip {
    transform: rotateY(180deg);
}

/* Faces communes */
.why-flip__front,
.why-flip__back {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 28px 20px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Recto */
.why-flip__front {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

/* Numéro décoratif */
.wf-num {
    position: absolute;
    top: 10px;
    right: 16px;
    font-size: 3.5rem;
    font-weight: 900;
    font-family: var(--font-title);
    color: var(--text-muted);
    opacity: 0.1;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* Icône recto */
.wf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: rgba(0, 184, 169, 0.1);
    color: var(--teal);
    margin-bottom: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.why-flip-wrap:hover .why-flip__front .wf-icon {
    transform: scale(1.08);
}

/* Titre recto */
.wf-titre {
    font-family: var(--font-title);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 10px;
    line-height: 1.3;
}

/* Hint survol */
.wf-hint {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--teal);
    opacity: 0.75;
    text-transform: uppercase;
    margin-top: auto;
}

/* Verso */
.why-flip__back {
    background: #1B3A6B; /* Navy hardcoded */
    color: #fff;
    transform: rotateY(180deg);
    border: none;
}

/* Icône verso (petite) */
.wf-icon--sm {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    margin-bottom: 10px;
}

.wf-icon--sm svg {
    width: 20px;
    height: 20px;
}

/* Titre verso */
.wf-titre--back {
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 10px;
}

/* Description verso */
.wf-desc {
    font-size: 0.83rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0;
}

/* Dark mode why-us */
[data-theme="dark"] .why-flip__front {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* ──────────────────────────────────────────────────────────────────────────
   29C — SPLIT SECTION APPROCHE
   ────────────────────────────────────────────────────────────────────────── */

.approche-split-section {
    overflow: hidden;
    padding: 0;
}

.approche-split-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    align-items: stretch;
}

/* Colonne photo */
.approche-photo-col {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.approche-photo-wrap {
    position: relative;
    height: 100%;
}

.approche-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Badge flottant */
.approche-badge {
    position: absolute;
    bottom: 32px;
    right: 0;
    background: var(--teal);
    color: #fff;
    border-radius: 16px 0 0 16px;
    padding: 16px 28px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0, 184, 169, 0.4);
}

.approche-badge__num {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.approche-badge__label {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.4;
    margin-top: 4px;
}

/* Colonne texte */
.approche-text-col {
    padding: 72px 64px 72px 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-body);
    justify-content: center;
}

.approche-title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.25;
    margin: 0;
}

.approche-title em {
    font-style: normal;
    color: var(--teal);
}

.approche-intro {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

/* Engagements */
.approche-engagements {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.approche-eng-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 500;
}

.approche-eng-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 184, 169, 0.12);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.approche-eng-text { line-height: 1.5; }

/* ──────────────────────────────────────────────────────────────────────────
   29D — SECTEURS CLIENTS
   ────────────────────────────────────────────────────────────────────────── */

.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.secteur-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px 28px;
    overflow: hidden;
    min-width: 0; /* Empêche l'overflow des items de grille CSS */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.secteur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--sc);
}

/* Rond décoratif */
.secteur-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--sc);
    opacity: 0.06;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}

.secteur-card:hover::before {
    transform: scale(1.5);
    opacity: 0.1;
}

.secteur-icon {
    color: var(--sc);
    display: flex;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.secteur-card:hover .secteur-icon { transform: scale(1.06); }

.secteur-titre {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.secteur-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.secteur-stat {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sc);
    margin-top: auto;
    padding-top: 8px;
}

.secteur-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.secteur-card:hover .secteur-bar { transform: scaleX(1); }

[data-theme="dark"] .secteur-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .secteur-card:hover {
    border-color: var(--sc);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   SECTION 30 — PAGE À PROPOS : UPGRADE VISUEL
   Mini stats · Timeline · Galerie équipe · Valeurs enrichies
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   30A — MINI CHIFFRES CLÉS
   ────────────────────────────────────────────────────────────────────────── */

.about-mini-stats-section {
    background: var(--navy);
    padding: 40px 0;
}

[data-theme="dark"] .about-mini-stats-section {
    background: #1B3A6B; /* hardcoded Navy */
}

.about-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.ams-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.ams-item:last-child { border-right: none; }

.ams-num {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--teal);
    line-height: 1;
}

.ams-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.3;
}

/* ──────────────────────────────────────────────────────────────────────────
   30B — TIMELINE "NOTRE PARCOURS"
   ────────────────────────────────────────────────────────────────────────── */

.about-timeline-section {
    overflow: hidden;
}

.about-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 24px;
    margin-top: 48px;
    padding-bottom: 8px;
}

/* Ligne horizontale */
.tl-track {
    position: absolute;
    top: 18px; /* centre sur le dot */
    left: calc(10% + 18px);
    right: calc(10% + 18px);
    height: 2px;
    background: var(--border-color);
    z-index: 0;
    overflow: hidden;
}

.tl-track-fill {
    height: 100%;
    background: linear-gradient(to right, var(--teal), var(--navy));
    width: 0;
    transition: width 1.5s ease 0.3s;
}

/* Déclenche le fill au scroll via AOS/IntersectionObserver */
.about-timeline.aos-animate .tl-track-fill,
.about-timeline[data-animated] .tl-track-fill {
    width: 100%;
}

/* Item timeline */
.tl-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Dot */
.tl-dot-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tl-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--teal);
    box-shadow: 0 0 0 4px rgba(0, 184, 169, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.tl-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal);
}

.tl-item:hover .tl-dot {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(0, 184, 169, 0.15);
}

/* Carte contenu */
.tl-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.tl-item:hover .tl-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--teal);
}

.tl-annee {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--teal);
    background: rgba(0, 184, 169, 0.1);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 10px;
}

.tl-titre {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 8px;
    line-height: 1.3;
}

.tl-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Dark mode timeline */
[data-theme="dark"] .tl-dot {
    background: var(--bg-card);
}

[data-theme="dark"] .tl-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

/* ──────────────────────────────────────────────────────────────────────────
   30C — GALERIE ÉQUIPE
   ────────────────────────────────────────────────────────────────────────── */

.about-galerie {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    margin-top: 48px;
}

/* Grande photo */
.ag-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 480px;
    cursor: pointer;
    background-color: var(--bg-card); /* Placeholder sombre avant chargement image */
}

/* Grid 3 petites */
.ag-secondary {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 16px;
}

.ag-small {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    min-height: 140px; /* Hauteur minimale même sans image */
    background-color: var(--bg-card); /* Placeholder sombre avant chargement image */
}

/* Photo */
.ag-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.ag-main:hover .ag-photo,
.ag-small:hover .ag-photo {
    transform: scale(1.06);
}

/* Overlay avec caption */
.ag-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0) 50%
    );
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ag-main:hover .ag-overlay,
.ag-small:hover .ag-overlay {
    opacity: 1;
}

.ag-caption {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.03em;
}

/* ──────────────────────────────────────────────────────────────────────────
   30D — VALEURS ENRICHIES (SVG + couleurs accent)
   ────────────────────────────────────────────────────────────────────────── */

.valeurs-grid--enriched {
    gap: 24px;
}

.valeur-item--enriched {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--valeur-color, var(--teal));
    border-radius: 12px;
    padding: 28px 24px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.valeur-item--enriched:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

/* Fond décoratif cercle */
.valeur-item--enriched::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--valeur-color, var(--teal));
    opacity: 0.05;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}

.valeur-item--enriched:hover::after {
    transform: scale(1.5);
    opacity: 0.09;
}

/* Icône SVG */
.valeur-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--valeur-color, var(--teal));
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.valeur-item--enriched:hover .valeur-icon-svg {
    transform: scale(1.08) rotate(-3deg);
}

/* En dark mode, fond icône plus clair */
[data-theme="dark"] .valeur-icon-svg {
    background: rgba(255, 255, 255, 0.06);
}

.valeur-item--enriched .valeur-titre {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.valeur-item--enriched .valeur-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Barre bas */
.valeur-bar {
    position: absolute;
    bottom: 0;
    left: 4px; /* commence après la border-left */
    right: 0;
    height: 2px;
    background: var(--valeur-color, var(--teal));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.valeur-item--enriched:hover .valeur-bar {
    opacity: 1;
    transform: scaleX(1);
}

/* Dark mode valeurs */
[data-theme="dark"] .valeur-item--enriched {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    border-left-color: var(--valeur-color, var(--teal));
}

/* ==========================================================================
   SECTION 31 — SERVICES UPGRADE VISUEL
   Hub Nos Services + 8 sous-pages individuelles
   (A) Badge & bouton carte hub · (B) CTA Configurateur · (C) Pourquoi enrichi
   (D) Mini stats service · (E) Engagements · (F) Cible cards · (G) FAQ accordion
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   31A — HUB NOS SERVICES : badge numéro + lien plein
   ────────────────────────────────────────────────────────────────────────── */

/* Badge 01, 02… positionné en haut à droite de l'image */
.nos-card-num {
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #FFFFFF;
    opacity: 0.18;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
}

.nos-service-card:hover .nos-card-num {
    opacity: 0.35;
}

/* Bouton plein-largeur dans la carte service hub */
.nos-card-link--full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    color: #FFFFFF !important;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: filter 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.nos-card-link--full:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ──────────────────────────────────────────────────────────────────────────
   31B — CTA CONFIGURATEUR
   Bande intermédiaire entre la grille et le pourquoi-externaliser
   ────────────────────────────────────────────────────────────────────────── */

.hub-config-cta-section {
    background: linear-gradient(135deg, #0A1628 0%, #1B3A6B 100%);
    padding: 48px 0;
}

[data-theme="dark"] .hub-config-cta-section {
    background: linear-gradient(135deg, #060D1A 0%, #1B3A6B 100%);
}

.hub-config-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px 36px;
    backdrop-filter: blur(8px);
}

/* Icône engrenage */
.hub-config-icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: rgba(0, 184, 169, 0.15);
    border: 1px solid rgba(0, 184, 169, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B8A9;
}

/* Zone texte — grandit pour remplir l'espace */
.hub-config-text {
    flex: 1;
    min-width: 0;
}

.hub-config-titre {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px;
}

.hub-config-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.6;
    margin: 0;
}

/* Bouton — override pour ce contexte sombre */
.hub-config-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────────────────────
   31C — POURQUOI EXTERNALISER ENRICHI
   3 cards avec liste de points + barre couleur bas
   ────────────────────────────────────────────────────────────────────────── */

.pourquoi-ext-grid--enriched {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.pourquoi-ext-item--enriched {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 32px 28px 28px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pourquoi-ext-item--enriched:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}

/* Décoration cercle en fond */
.pourquoi-ext-item--enriched::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--why-color, var(--teal));
    opacity: 0.06;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.pourquoi-ext-item--enriched:hover::before {
    transform: scale(1.4);
    opacity: 0.10;
}

/* Groupe icône + titre + description */
.pext-top {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pext-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--why-color, var(--teal));
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.pourquoi-ext-item--enriched:hover .pext-icon {
    transform: scale(1.07) rotate(-4deg);
}

[data-theme="dark"] .pext-icon {
    background: rgba(255, 255, 255, 0.06);
}

.pext-titre {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.pext-texte {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Liste de points check */
.pext-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: auto; /* colle en bas */
}

[data-theme="dark"] .pext-points {
    border-top-color: rgba(255, 255, 255, 0.07);
}

.pext-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pext-points li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--why-color, var(--teal));
}

/* Barre colorée bas de carte */
.pext-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--why-color, var(--teal));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.pourquoi-ext-item--enriched:hover .pext-bar {
    opacity: 1;
    transform: scaleX(1);
}

/* Dark mode enrichi pourquoi */
[data-theme="dark"] .pourquoi-ext-item--enriched {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

/* ──────────────────────────────────────────────────────────────────────────
   31D — MINI STATS SERVICE (sous le hero de chaque page service)
   Bande colorée avec 4 chiffres clés
   ────────────────────────────────────────────────────────────────────────── */

.svc-stats-section {
    background: var(--svc-col, var(--navy));
    padding: 40px 0;
}

/* Fallback pour les dark modes — hardcoder navy si svc-col non défini */
[data-theme="dark"] .svc-stats-section {
    background: #1B3A6B;
}

.svc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.svc-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.svc-stat-item:last-child {
    border-right: none;
}

.svc-stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    letter-spacing: -0.02em;
}

.svc-stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ──────────────────────────────────────────────────────────────────────────
   31E — NOS ENGAGEMENTS (section 4 de chaque page service)
   4 cards avec emoji + titre + description
   ────────────────────────────────────────────────────────────────────────── */

.svc-engagements-section {
    background: var(--gray-light);
}

[data-theme="dark"] .svc-engagements-section {
    background: #111B2A;
}

.svc-engagements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.svc-eng-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-top: 3px solid var(--svc-col, var(--teal));
    border-radius: 12px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-eng-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

[data-theme="dark"] .svc-eng-card {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
    border-top-color: var(--svc-col, var(--teal));
}

.svc-eng-emoji {
    font-size: 2rem;
    line-height: 1;
    display: block;
}

.svc-eng-titre {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.svc-eng-desc {
    font-size: 0.855rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────────────────
   31F — CLIENTÈLE CIBLE (section 6 de chaque page service)
   4 cards visuelles avec emoji géant + label
   ────────────────────────────────────────────────────────────────────────── */

.svc-cible-section {
    background: var(--white);
}

[data-theme="dark"] .svc-cible-section {
    background: var(--bg-primary);
}

.svc-cible-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.svc-cible-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 20px;
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: 14px;
    text-align: center;
    cursor: default;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-cible-card:hover {
    border-color: var(--svc-col, var(--teal));
    background: rgba(0, 0, 0, 0.02);
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .svc-cible-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .svc-cible-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--svc-col, var(--teal));
}

.svc-cible-icon {
    font-size: 2.5rem;
    line-height: 1;
    display: block;
    transition: transform 0.3s ease;
}

.svc-cible-card:hover .svc-cible-icon {
    transform: scale(1.12);
}

.svc-cible-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
}

/* ──────────────────────────────────────────────────────────────────────────
   31G — FAQ ACCORDION (section 7 de chaque page service)
   ────────────────────────────────────────────────────────────────────────── */

.svc-faq-section {
    background: var(--gray-light);
}

[data-theme="dark"] .svc-faq-section {
    background: #111B2A;
}

.svc-faq-list {
    max-width: 800px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svc-faq-item {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

[data-theme="dark"] .svc-faq-item {
    background: #1C2B40;
    border-color: rgba(255, 255, 255, 0.06);
}

.svc-faq-item.is-open {
    border-color: var(--svc-col, var(--teal));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .svc-faq-item.is-open {
    border-color: var(--svc-col, var(--teal));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Bouton question */
.svc-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-heading);
    transition: background 0.2s ease;
}

.svc-faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .svc-faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.svc-faq-q-text {
    font-family: var(--font-display);
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.45;
    flex: 1;
}

/* Icône flèche — rotation quand ouvert */
.svc-faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-light);
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease;
}

[data-theme="dark"] .svc-faq-icon {
    background: rgba(255, 255, 255, 0.06);
}

.svc-faq-item.is-open .svc-faq-icon {
    transform: rotate(180deg);
    background: var(--svc-col, var(--teal));
    color: #FFFFFF;
}

/* Panneau réponse */
.svc-faq-answer {
    padding: 0 24px 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .svc-faq-answer {
    border-top-color: rgba(255, 255, 255, 0.06);
}

.svc-faq-answer p {
    margin: 18px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   SECTION 32 — PAGE POURQUOI NVI FACILITY : UPGRADE VISUEL
   (A) Arguments avec icônes SVG + barre
   (B) Comment ça marche — 3 étapes
   (C) Témoignage pull-quote photo plein largeur
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   32A — ARGUMENTS ENRICHIS (icône + barre hover)
   ────────────────────────────────────────────────────────────────────────── */

/* Icône en haut de la card */
.arg-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--arg-bg, rgba(27,58,107,0.08));
    color: var(--arg-color, var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.arg-item:hover .arg-icon-wrap {
    transform: scale(1.08) rotate(-3deg);
    background: var(--arg-color, var(--navy));
    color: #FFFFFF;
}

[data-theme="dark"] .arg-icon-wrap {
    background: rgba(255,255,255,0.06);
}

[data-theme="dark"] .arg-item:hover .arg-icon-wrap {
    background: var(--arg-color, var(--navy));
    color: #FFFFFF;
}

/* Barre colorée bas de card */
.arg-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--arg-color, var(--navy));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-radius: 0 0 12px 12px;
}

.arg-item:hover .arg-bar {
    opacity: 1;
    transform: scaleX(1);
}

/* Numéro — repositionné à droite, plus discret */
.arg-item .arg-number {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--arg-color, var(--navy));
    opacity: 0.10;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.arg-item:hover .arg-number {
    opacity: 0.20;
}

/* Assure que la card est relative pour le positionnement du numéro et de la barre */
.arg-item {
    position: relative;
    overflow: hidden;
}

/* ──────────────────────────────────────────────────────────────────────────
   32B — COMMENT ÇA MARCHE (3 étapes)
   ────────────────────────────────────────────────────────────────────────── */

.nvif-ccm {
    background: var(--gray-light);
    position: relative;
}

[data-theme="dark"] .nvif-ccm {
    background: #111B2A;
}

/* Conteneur de la ligne de connexion (au-dessus de la grille) */
.ccm-track {
    position: relative;
    height: 0;
    margin-bottom: -20px; /* Recouvre visuellement le haut des cards */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 calc(100% / 6); /* Centre sur la largeur des dots */
    pointer-events: none;
}

/* Ligne horizontale pointillée entre les 3 étapes */
.ccm-track-line {
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--cyan) 0,
        var(--cyan) 10px,
        transparent 10px,
        transparent 20px
    );
    opacity: 0.35;
    margin-top: 80px; /* Aligne sur les dots */
}

/* Grille 3 colonnes */
.ccm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
    z-index: 1;
}

/* Chaque étape */
.ccm-step {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ccm-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

[data-theme="dark"] .ccm-step {
    background: #1C2B40;
    border-color: rgba(255,255,255,0.06);
}

/* Fond décoratif */
.ccm-step::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--ccm-color, var(--teal));
    opacity: 0.05;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.ccm-step:hover::before {
    transform: scale(1.3);
    opacity: 0.09;
}

/* Entête : dot numéroté + icône */
.ccm-step-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ccm-step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ccm-color, var(--navy));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.ccm-step-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.ccm-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ccm-bg, rgba(0,191,165,0.08));
    color: var(--ccm-color, var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .ccm-step-icon {
    background: rgba(255,255,255,0.06);
}

.ccm-step:hover .ccm-step-icon {
    transform: scale(1.08) rotate(-4deg);
}

/* Corps */
.ccm-step-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Badge délai */
.ccm-step-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--ccm-color, var(--teal));
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    width: fit-content;
}

.ccm-step-titre {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.ccm-step-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────────────────
   32C — TÉMOIGNAGE PULL-QUOTE PHOTO
   Section plein largeur avec photo en fond + overlay sombre + citation
   ────────────────────────────────────────────────────────────────────────── */

.nvif-temoignage-pull {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

/* Image de fond */
.tpm-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.nvif-temoignage-pull:hover .tpm-bg {
    transform: scale(1.06);
}

/* Overlay dégradé sombre */
.tpm-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,22,40,0.88) 0%,
        rgba(27,58,107,0.75) 100%
    );
}

/* Contenu positionné au-dessus */
.nvif-temoignage-pull .container {
    position: relative;
    z-index: 2;
}

.tpm-inner {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Guillemets décoratifs */
.tpm-quote-icon {
    color: var(--cyan);
    opacity: 0.7;
    flex-shrink: 0;
}

/* Citation */
.tpm-quote {
    margin: 0;
}

.tpm-quote p {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.55;
    font-style: italic;
    margin: 0;
}

/* Auteur */
.tpm-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tpm-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tpm-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tpm-author-info strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
}

.tpm-author-info span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.60);
}

/* Bouton lien références */
.tpm-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1.5px solid rgba(255,255,255,0.30);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.tpm-cta:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.55);
    transform: translateX(3px);
}

/* Pas de dark mode override nécessaire — section toujours sombre */

/* ──────────────────────────────────────────────────────────────────────────
   32D — RESPONSIVE
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .ccm-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ccm-track { display: none; }

    .tpm-quote p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nvif-temoignage-pull {
        padding: 60px 0;
        min-height: 320px;
    }

    .tpm-quote p {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .arg-icon-wrap {
        width: 44px;
        height: 44px;
    }

    .tpm-quote p {
        font-size: 0.98rem;
    }
}

/* ==========================================================================
   SECTION 33 — ZONES D'INTERVENTION : UPGRADE VISUEL
   (A) Filtres colorés  (B) Périmètres 3 zones  (C) Tags quartiers
   (D) Photo bande Dakar  (E) CTA zones amélioré  (F) Zone cards améliorées
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   33A — FILTRES CARTE — couleur active dynamique
   ────────────────────────────────────────────────────────────────────────── */

.zones-filtre-btn {
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.zones-filtre-btn.is-active {
    background: var(--zf-color, var(--navy));
    border-color: var(--zf-color, var(--navy));
    color: #FFFFFF;
}

/* ──────────────────────────────────────────────────────────────────────────
   33B — PÉRIMÈTRES D'INTERVENTION (3 zones)
   ────────────────────────────────────────────────────────────────────────── */

.nvif-perimetres {
    background: var(--gray-light);
}

[data-theme="dark"] .nvif-perimetres {
    background: #111B2A;
}

.perimetres-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.perimetre-card {
    position: relative;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.perimetre-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
}

[data-theme="dark"] .perimetre-card {
    background: #1C2B40;
    border-color: rgba(255,255,255,0.06);
}

/* Fond décoratif */
.perimetre-card::before {
    content: '';
    position: absolute;
    top: -35px;
    right: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--pc-color, var(--teal));
    opacity: 0.06;
    pointer-events: none;
    transition: transform 0.4s ease;
}

.perimetre-card:hover::before {
    transform: scale(1.35);
}

/* En-tête : badge + icône */
.pc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pc-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--pc-color, var(--navy));
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pc-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: var(--pc-bg, rgba(0,191,165,0.07));
    color: var(--pc-color, var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.perimetre-card:hover .pc-icon {
    transform: scale(1.1) rotate(-5deg);
}

[data-theme="dark"] .pc-icon {
    background: rgba(255,255,255,0.06);
}

/* Corps */
.pc-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pc-titre {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
}

.pc-delai {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pc-color, var(--teal));
}

/* Liste des quartiers */
.pc-quartiers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.07);
    margin-top: auto;
}

[data-theme="dark"] .pc-quartiers {
    border-top-color: rgba(255,255,255,0.07);
}

.pc-quartier {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.845rem;
    color: var(--text-muted);
}

.pc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pc-color, var(--teal));
    flex-shrink: 0;
}

/* Barre bas */
.pc-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pc-color, var(--teal));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.perimetre-card:hover .pc-bar {
    opacity: 1;
    transform: scaleX(1);
}

/* ──────────────────────────────────────────────────────────────────────────
   33C — TAGS QUARTIERS (cloud de chips)
   ────────────────────────────────────────────────────────────────────────── */

.nvif-quartiers-tags {
    background: var(--white);
}

[data-theme="dark"] .nvif-quartiers-tags {
    background: var(--bg-primary);
}

/* Légende des zones */
.quartiers-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
    margin-bottom: 36px;
}

.ql-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
}

.ql-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ql-color, var(--navy));
    flex-shrink: 0;
}

/* Cloud de tags */
.quartiers-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.quartier-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--qt-bg, rgba(27,58,107,0.08));
    border: 1.5px solid transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-heading);
    cursor: default;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.quartier-tag:hover {
    background: var(--qt-color, var(--navy));
    color: #FFFFFF;
    border-color: var(--qt-color, var(--navy));
    transform: translateY(-2px);
}

.quartier-tag:hover .qt-dot {
    background: #FFFFFF;
}

[data-theme="dark"] .quartier-tag {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.08);
    color: #B8C8D8;
}

.qt-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--qt-color, var(--navy));
    flex-shrink: 0;
    transition: background 0.2s ease;
}

/* Tag "et plus..." */
.quartier-tag--more {
    background: transparent;
    border-color: rgba(0,0,0,0.12);
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.82rem;
}

[data-theme="dark"] .quartier-tag--more {
    border-color: rgba(255,255,255,0.12);
}

.quartier-tag--more:hover {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
    transform: none;
}

/* ──────────────────────────────────────────────────────────────────────────
   33D — PHOTO BANDE DAKAR (plein largeur avec overlay)
   ────────────────────────────────────────────────────────────────────────── */

.zones-photo-band {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 70px 0;
}

.zpb-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.03);
    transition: transform 6s ease;
}

.zones-photo-band:hover .zpb-bg {
    transform: scale(1.07);
}

.zpb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10,22,40,0.86) 0%,
        rgba(27,58,107,0.72) 100%
    );
}

.zones-photo-band .container {
    position: relative;
    z-index: 2;
}

.zpb-content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.zpb-icon {
    color: var(--cyan);
    opacity: 0.80;
}

.zpb-quote {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.zpb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.zpb-btn:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.60);
    transform: translateX(4px);
}

/* ──────────────────────────────────────────────────────────────────────────
   33E — ZONE CARDS AMÉLIORÉES (lien Google Maps + couleur service)
   ────────────────────────────────────────────────────────────────────────── */

.zone-card {
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--zc-color, var(--teal));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

.zone-card-svc-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.zone-card-svc {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--zc-color, var(--teal));
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.zone-card-adresse {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.zone-card-adresse svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--zc-color, var(--teal));
}

.zone-card-map-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--zc-color, var(--teal));
    text-decoration: none;
    margin-top: 4px;
    transition: gap 0.2s ease;
}

.zone-card-map-link:hover {
    gap: 8px;
}

.zone-card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--zc-color, var(--teal));
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.zone-card:hover .zone-card-bar {
    opacity: 1;
    transform: scaleX(1);
}

/* ──────────────────────────────────────────────────────────────────────────
   33F — CTA ZONES AMÉLIORÉ
   ────────────────────────────────────────────────────────────────────────── */

.zones-cta-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-left: 4px solid var(--cyan);
    border-radius: 16px;
    padding: 32px 36px;
    transition: box-shadow 0.3s ease;
}

.zones-cta-inner:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}

[data-theme="dark"] .zones-cta-inner {
    background: #1C2B40;
    border-color: rgba(255,255,255,0.06);
    border-left-color: var(--cyan);
}

.zones-cta-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(26,188,222,0.10);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zones-cta-content {
    flex: 1;
}

.zones-cta-titre {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 6px;
}

.zones-cta-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.zones-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ──────────────────────────────────────────────────────────────────────────
   33G — ADMIN NOTICE RÉFÉRENCES (visible admin seulement)
   ────────────────────────────────────────────────────────────────────────── */

.logos-placeholder-msg--admin {
    background: rgba(27,58,107,0.06);
    border: 2px dashed rgba(27,58,107,0.25);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.lpm-admin-notice {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ──────────────────────────────────────────────────────────────────────────
   33H — RESPONSIVE
   ────────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .perimetres-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .zones-cta-inner {
        flex-wrap: wrap;
        gap: 20px;
    }

    .zones-cta-actions {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .quartiers-legend {
        gap: 14px;
    }

    .zpb-quote {
        font-size: 1.1rem;
    }

    .zones-photo-band {
        padding: 50px 0;
        min-height: 260px;
    }

    .zones-cta-inner {
        flex-direction: column;
        padding: 24px 20px;
        text-align: center;
    }

    .zones-cta-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .quartiers-cloud {
        gap: 8px;
    }

    .quartier-tag {
        font-size: 0.82rem;
        padding: 7px 13px;
    }

    .zpb-quote {
        font-size: 0.98rem;
    }
}
