/* ═══ CSS TRACKING — Ne pas supprimer ═══ */
/* ════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   ANTI-FLASH RULES (Critical - Must load first)
   Empêche le flash de contenu non stylé au chargement initial
   ═══════════════════════════════════════════════════════════════════════════════ */
html { background: #FAFAFA; }
body { background: #FAFAFA; color: #262626; opacity: 0; }
body.page-enter { animation: bodyEnter 0.35s ease forwards; }
body.page-ready { opacity: 1; }
@keyframes bodyEnter { from { opacity: 0; } to { opacity: 1; } }

/* Accessibilité : prefers-reduced-motion centralisé dans Kaptivia-responsive.css section 5.2 */

@layer base, ui, components, pages, responsive;

@layer base {
/* ============================================================================
   KAPTIVIA CSS v7.0.0 — Fluid Design (Bible Viewport 7.0.0)
   ============================================================================
   Breakpoint principal : 768px (mobile/desktop)
   ============================================================================ */

/* --- SECTION 1 : FOUNDATIONS --- */
/* Variables CSS, Reset, Typography, Base Layout */

/* #region 1. DESIGN TOKENS */
:root {
    /* Brand Colors */
    --brand-50:  #FEF9EE;
    --brand-100: #FDF0D5;
    --brand-200: #FADEA8;
    --brand-300: #F6C76F;
    --brand-400: #F0AB3D;
    --brand-500: #ecb609;
    --brand-600: #c9a008;
    --brand-700: #B0711F;
    --brand-800: #8F5920;
    --brand-900: #76491E;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-25: #FCFCFC;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    /* Category Colors (7 blocks) */
    --cat-1: #EC4899;
    --cat-1-bg: #FDF2F8;
    --cat-1-gradient: #FBCFE8;
    --cat-2: #F43F5E;
    --cat-2-bg: #FFF1F2;
    --cat-2-gradient: #FECDD3;
    --cat-3: #0EA5E9;
    --cat-3-bg: #F0F9FF;
    --cat-3-gradient: #BAE6FD;
    --cat-4: #10B981;
    --cat-4-bg: #ECFDF5;
    --cat-4-gradient: #A7F3D0;
    --cat-5: #F59E0B;
    --cat-5-bg: #FFFBEB;
    --cat-5-gradient: #FDE68A;
    --cat-6: #8B5CF6;
    --cat-6-bg: #F5F3FF;
    --cat-6-gradient: #DDD6FE;
    --cat-7: #64748B;
    --cat-7-bg: #F8FAFC;
    --cat-7-gradient: #CBD5E1;

    /* Toast Colors */
    --toast-bg: var(--gray-900);
    --toast-success: #16A34A;
    --toast-info: #0369A1;
    --toast-error: #B91C1C;

    /* Premium/Pack Colors */
    --premium-gold: #D4AF37;
    --premium-gold-light: #F4D03F;
    --premium-gold-dark: #B8962E;
    --premium-shadow: rgba(212, 175, 55, 0.30);

    /* Semantic Colors - Danger/Error */
    --danger-50: #FEF2F2;
    --danger-100: #FECACA;
    --danger-600: #B91C1C;
    --danger-700: #991B1B;

    /* Semantic Colors - Success */
    --success-500: #22C55E;
    --success-600: #16A34A;
    --success-700: #059669;
    --success-800: #047857;

    /* Emerald Scale (for green gradients) */
    --emerald-500: #10B981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065F46;

    /* AXIS COLORS — Plateformes=Rouge, Tarifs=Vert */

    /* Axe 1: Plateformes (Rouge Airbnb) */
    --axis-plateformes: #FF5A5F;
    --axis-plateformes-bg: #FEF2F2;

    /* Axe 4: Tarifs (Vert) */
    --axis-tarifs: #22C55E;
    --axis-tarifs-bg: #F0FDF4;

    /* Badge Colors */
    --badge-blue-bg: #DBEAFE;
    --badge-blue-text: #1D4ED8;
    --badge-purple-bg: #F3E8FF;
    --badge-purple-text: #7C3AED;
    --badge-amber-bg: #FEF3C7;
    --badge-amber-text: #B45309;
    --badge-green-bg: #D1FAE5;
    --badge-green-text: #059669;

    /* Amber Scale (Packs/Premium backgrounds) */
    --amber-50: #FFFBEB;
    --amber-100: #FEF3C7;
    --amber-200: #FDE68A;
    --amber-700: #B45309;

    /* Orange Scale (Tarifs section) */
    --orange-50: #FFF7ED;

    /* Blue Scale (Infos section) */
    --blue-50: #EFF6FF;
    --blue-400: #60A5FA;
    --blue-500: #3B82F6;
    --blue-600: #2563EB;
    --blue-700: #1D4ED8;

    /* FAQ/Violet Scale */
    --violet-300: #A78BFA;
    --violet-400: #8B5CF6;
    --violet-500: #7C3AED;
    --violet-600: #6D28D9;
    --violet-50: #F5F3FF;
    --violet-100: #EDE9FE;
    --violet-200: #E9E3FF;
    --violet-300-bg: #DDD6FE;

    /* FAQ/Green Scale */
    --green-300: #86EFAC;
    --green-400: #4ADE80;
    --green-500: #22C55E;
    --green-600: #16A34A;
    --green-50: #F0FDF4;
    --green-100: #DCFCE7;
    --green-200: #BBF7D0;
    --green-300-bg: #86EFAC;

    /* Slate (text) */
    --slate-700: #334155;
    --slate-800: #1E293B;

    /* Highlight/Star */
    --star-yellow: #FFC107;
    --glow-yellow: #FFE500;

    /* Typography */
    --font-family: 'Poppins', system-ui, sans-serif;
    --text-md: 0.9375rem;   /* 15px - seule taille utilisée */

    /* Layout */
    --header-h: calc(56px + var(--safe-top));
    --anchor-offset: calc(var(--header-h) + 0.5rem);
    --max-width: 1560px;
    --nav-drawer-w: clamp(220px, 66vw, 300px);
    --nav-drawer-max-h: min(520px, calc(100dvh - var(--header-h) - 1rem));

    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 200ms;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal-backdrop: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* Breakpoints (Bible Viewport 7.0.0) */
    /* Smartphones */
    --bp-xs: 360px;     /* Galaxy S24/A55, Xiaomi, Huawei */
    --bp-se: 375px;     /* iPhone SE, Mini */
    --bp-384: 384px;    /* Galaxy S24/S23 Ultra/+ */
    --bp-390: 390px;    /* iPhone 14/13/12 */
    --bp-393: 393px;    /* iPhone 16/15/14 Pro */
    --bp-402: 402px;    /* iPhone 16 Pro */
    --bp-412: 412px;    /* Pixel 9/8/7, Galaxy Ultra */
    --bp-428: 428px;    /* iPhone 14+/13 Pro Max (Bible D3) */
    --bp-430: 430px;    /* iPhone 16+/15 Pro Max */
    --bp-440: 440px;    /* iPhone 16 Pro Max */
    --bp-480: 480px;    /* Limite haute mobiles */
    --bp-sm: 576px;     /* Mobiles paysage */
    /* Tablettes */
    --bp-mini: 744px;   /* iPad Mini 6/7 */
    --bp-md: 768px;     /* Tablettes portrait */
    --bp-810: 810px;    /* iPad 9th */
    --bp-820: 820px;    /* iPad 10th / Air 11" */
    --bp-834: 834px;    /* iPad Pro 11" */
    --bp-lg: 992px;     /* Tablettes paysage */
    --bp-ipad: 1024px;  /* iPad Pro 12.9" */
    --bp-1032: 1032px;  /* iPad Pro 13" M4 */
    /* Desktop */
    --bp-xl: 1200px;    /* Desktop XL */
    --bp-1366: 1366px;  /* Windows Budget 15" */
    --bp-xxl: 1400px;   /* Desktop XXL */
    --bp-mba13: 1470px; /* MacBook Air 13" */
    --bp-mbp14: 1512px; /* MacBook Pro 14" */
    --bp-mba15: 1710px; /* MacBook Air 15" */
    --bp-mbp16: 1728px; /* MacBook Pro 16" */
    --bp-fhd: 1920px;   /* Full HD */
    --bp-imac24: 2240px;/* iMac 24" */
    --bp-qhd: 2560px;   /* QHD / Studio Display */

    /* Card Sizes - Hauteurs fixes pour les cartes interactives */
    --card-size-1: 400px;   /* Standard: intro, questions simples (2 choix) */
    --card-size-2: 520px;   /* Moyenne: multi avec 7-9 options */
    --card-size-3: 620px;   /* Grande: multi avec beaucoup d'options ou étape finale longue */

    /* ════════════════════════════════════════════════════════════════
       FLUID DESIGN TOKENS v7.0.0 (Bible Viewport 7.0.0 - Partie A)
       Interpolation linéaire 320vw → 1200vw
       ════════════════════════════════════════════════════════════════ */

    /* Échelle Typographique Fluide (A3.1) */
    --text-xs:    clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);    /* 12-14px */
    --text-sm:    clamp(0.875rem, 0.8rem + 0.375vw, 1rem);      /* 14-16px */
    --text-base:  clamp(1rem, 0.909rem + 0.455vw, 1.125rem);    /* 16-18px */
    --text-lg:    clamp(1.125rem, 1rem + 0.625vw, 1.25rem);     /* 18-20px */
    --text-xl:    clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);      /* 20-24px */
    --text-2xl:   clamp(1.5rem, 1.25rem + 1.25vw, 2rem);        /* 24-32px */
    --text-3xl:   clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);    /* 30-40px */
    --text-4xl:   clamp(2.25rem, 1.75rem + 2.5vw, 3rem);        /* 36-48px */
    --text-5xl:   clamp(3rem, 2rem + 5vw, 4rem);                /* 48-64px */

    /* Échelle Spacing Fluide (A4.1) */
    --space-3xs:  clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem);    /* 4-6px */
    --space-2xs:  clamp(0.5rem, 0.45rem + 0.25vw, 0.625rem);    /* 8-10px */
    --space-xs:   clamp(0.75rem, 0.65rem + 0.5vw, 1rem);        /* 12-16px */
    --space-sm:   clamp(1rem, 0.9rem + 0.5vw, 1.25rem);         /* 16-20px */
    --space-md:   clamp(1.5rem, 1.3rem + 1vw, 2rem);            /* 24-32px */
    --space-lg:   clamp(2rem, 1.7rem + 1.5vw, 2.75rem);         /* 32-44px */
    --space-xl:   clamp(3rem, 2.5rem + 2.5vw, 4rem);            /* 48-64px */
    --space-2xl:  clamp(4rem, 3rem + 5vw, 6rem);                /* 64-96px */
    --space-3xl:  clamp(6rem, 4.5rem + 7.5vw, 9rem);            /* 96-144px */

    /* Line Heights (A3.3) */
    --leading-tight:  1.25;
    --leading-normal: 1.5;
    --leading-loose:  1.75;

    /* Container Max Widths (A5.2) */
    --container-sm:  640px;
    --container-md:  768px;
    --container-lg:  1024px;
    --container-xl:  1536px;
    --container-2xl: 1536px;

    /* Safe Areas (A7.3) - Fallbacks pour env() */
    --safe-top:    env(safe-area-inset-top, 0px);
    --safe-right:  env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left:   env(safe-area-inset-left, 0px);
}
/* #endregion 1. DESIGN TOKENS */

/* #region 2. RESET & BASE */
/* ================================================================
   2. RESET & BASE — Modernisé v7.0.0 (Bible A14.1)
   ================================================================ */

/* Transitions de page gérées par animations pageEnter/pageExit */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-offset);
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-y: auto;           /* Fallback Safari (pas de scrollbar-gutter) */
    scrollbar-gutter: stable;   /* Chrome/Firefox : réserve l'espace scrollbar */
}

body {
    font-family: var(--font-family);
    font-size: var(--text-md);
    line-height: var(--leading-normal);
    color: var(--gray-800);
    background: var(--gray-50);
    min-height: 100vh;              /* Fallback */
    min-height: 100dvh;             /* Moderne - Dynamic Viewport Height */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Vue Home verrouille le scroll fenêtre pour éviter un scroll parasite
   lié au dépassement visuel des mockups (les autres vues gardent le scroll normal). */
body.view-home {
    overflow: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

a {
    color: inherit;
    text-decoration: none;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* Optimisation tactile mobile */
a, button, input, select, textarea, [role="button"] {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(229, 166, 59, 0.2);
}

/* Utility class pour masquage JS (cohérent avec CLASSES.isHidden) */
/* Double classe pour augmenter spécificité et surpasser règles de base */
.is-hidden.is-hidden {
    display: none;
}
/* #endregion 2. RESET & BASE */

/* #region 3. LAYOUT */
/* ================================================================
   3. LAYOUT — Modernisé v7.0.0 (Bible A5, A14.2-4)
   ================================================================ */

.app {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
    width: 100%;
    padding: 0;
    padding-top: var(--header-h);
}

.main__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.main__header--hidden { display: none; }

.main__title {
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--gray-900);
}

.main__count {
    font-size: 0.875rem;
    color: var(--gray-500);
    padding-bottom: 0.125rem;
}

/* ════════════════════════════════════════════════════════════════
   CONTAINER SYSTEM v7.0.0 (Bible A14.2)
   Usage: width: min(100% - padding, max-width)
   ════════════════════════════════════════════════════════════════ */

.container {
    --container-padding: var(--space-sm, 1rem);
    --container-max: var(--container-xl, 1536px);
    
    width: min(100% - var(--container-padding) * 2, var(--container-max));
    margin-inline: auto;
}

.container--sm   { --container-max: var(--container-sm, 640px); }
.container--md   { --container-max: var(--container-md, 768px); }
.container--lg   { --container-max: var(--container-lg, 1024px); }
.container--xl   { --container-max: var(--container-xl, 1536px); }
.container--2xl  { --container-max: var(--container-2xl, 1536px); }
.container--full { --container-max: 100%; }
.container--prose { --container-max: 65ch; }

/* ════════════════════════════════════════════════════════════════
   GRID SYSTEM v7.0.0 (Bible A14.4)
   Pattern RAM : Repeat, Auto-fit, Minmax
   ════════════════════════════════════════════════════════════════ */

.grid {
    --grid-min: 320px;
    --grid-gap: 1.25rem;
    
    display: grid;
    grid-template-columns: repeat(
        auto-fill, 
        minmax(min(var(--grid-min), 100%), 1fr)
    );
    gap: var(--grid-gap);
}

/* Variantes de grid */
.grid--2   { --grid-min: 350px; }
.grid--3   { --grid-min: 280px; }
.grid--4   { --grid-min: 220px; }
.grid--sm  { --grid-gap: var(--space-sm, 1rem); }
.grid--lg  { --grid-gap: var(--space-lg, 2rem); }

/* ════════════════════════════════════════════════════════════════
   UTILITIES v7.0.0 (Bible A3, A4)
   Classes utilitaires pour typographie et spacing fluides
   ════════════════════════════════════════════════════════════════ */

/* Typographie fluide */
.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); }
.text-5xl  { font-size: var(--text-5xl); }

/* Line heights */
.leading-tight  { line-height: var(--leading-tight); }
.leading-normal { line-height: var(--leading-normal); }
.leading-loose  { line-height: var(--leading-loose); }

/* Spacing - Gap */
.gap-3xs { gap: var(--space-3xs); }
.gap-2xs { gap: var(--space-2xs); }
.gap-xs  { gap: var(--space-xs); }
.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }

/* Spacing - Padding */
.p-3xs { padding: var(--space-3xs); }
.p-2xs { padding: var(--space-2xs); }
.p-xs  { padding: var(--space-xs); }
.p-sm  { padding: var(--space-sm); }
.p-md  { padding: var(--space-md); }
.p-lg  { padding: var(--space-lg); }
.p-xl  { padding: var(--space-xl); }

/* Spacing - Margin block */
.mb-3xs { margin-block-end: var(--space-3xs); }
.mb-2xs { margin-block-end: var(--space-2xs); }
.mb-xs  { margin-block-end: var(--space-xs); }
.mb-sm  { margin-block-end: var(--space-sm); }
.mb-md  { margin-block-end: var(--space-md); }
.mb-lg  { margin-block-end: var(--space-lg); }
.mb-xl  { margin-block-end: var(--space-xl); }

/* Stack pattern (espacement vertical entre enfants) */
.stack > * + * { margin-block-start: var(--space-sm); }
.stack--xs > * + * { margin-block-start: var(--space-xs); }
.stack--md > * + * { margin-block-start: var(--space-md); }
.stack--lg > * + * { margin-block-start: var(--space-lg); }
/* #endregion 3. LAYOUT */

/* --- SECTION 3 : SHELL --- */

/* ─── GRID ─── */

.grid .card:nth-child(1) { animation-delay: 0.02s; }

.grid .card:nth-child(2) { animation-delay: 0.04s; }

.grid .card:nth-child(3) { animation-delay: 0.06s; }

.grid .card:nth-child(4) { animation-delay: 0.08s; }

.grid .card:nth-child(5) { animation-delay: 0.10s; }

.grid .card:nth-child(6) { animation-delay: 0.12s; }

.grid .card:nth-child(7) { animation-delay: 0.14s; }

.grid .card:nth-child(8) { animation-delay: 0.16s; }
/* ─── HEADER ─── */

/* ================================================================
   4.1 HEADER & LOGO
   ================================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    opacity: 1 !important; /* Toujours visible pendant transitions de page */
}

.header__inner {
    --header-inner-gap: 0.75rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: var(--header-inner-gap);
}

/* Desktop layout : Centrage menu absolu, indépendant du logo */
@media (min-width: 768px) {
    .header__inner {
        --header-secondary-gap: 0.125rem;
        position: relative;
    }

    .menu-toggle {
        display: none;
    }

    .logo {
        order: 1;
        flex: 0 0 auto;
        min-width: 0;
        margin-right: auto;
        z-index: 2;
    }

    .header__inner > .nav-main {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        flex: 0 0 auto;
        width: max-content;
        pointer-events: auto; /* SÉCURITÉ: Forcer les clics sur le menu */
        z-index: 3;
    }

    /* Masquer l'overlay mobile sur desktop */
    .nav-main__overlay {
        display: none;
    }

    .header__actions {
        order: 4;
        flex: 0 0 auto;
        margin-left: 0;
        min-width: auto;
        z-index: 2;
    }

    .header__infos-sep {
        display: none;
    }

    .header__infos-link {
        order: 4;
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        padding: 0.2rem 0.5rem;
        font-size: 0.8125rem;
        font-weight: 500;
        color: var(--gray-600);
        background: transparent;
        border: 1px solid transparent;
        border-radius: var(--radius-md);
        text-decoration: none;
        white-space: nowrap;
        transition: all var(--duration) var(--ease);
        letter-spacing: 0.01em;
        z-index: 2;
    }

    .header__infos-link:hover {
        color: var(--gray-900);
    }

    .header__infos-link:active {
        color: var(--gray-900);
    }

    .nav-main + .header__infos-link {
        margin-left: 0;
    }

    /* Ajuste l'écart Informez-vous / Outils Pro pour l'aligner au rythme du menu principal */
    .header__infos-link + .header__infos-link {
        margin-left: calc(var(--header-secondary-gap) - var(--header-inner-gap));
    }
}

.header__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.5rem;
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    flex-basis: 200px;
    min-width: 180px;
}

.logo__img {
    height: 38px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* ─── MENU TOGGLE (Hamburger) ─── */

.menu-toggle {
    display: none; /* Caché par défaut (desktop) */
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--duration) ease;
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

/* Common focus-visible style for navigation and interactive elements */
.menu-toggle:focus-visible,
.nav-main__btn:focus-visible,
.home__cta-card:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

.menu-toggle__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.menu-toggle__icon--close {
    display: none;
}

.menu-toggle.is-active .menu-toggle__icon--open {
    display: none;
}

.menu-toggle.is-active .menu-toggle__icon--close {
    display: block;
}

.menu-toggle__text {
    font-size: 0.8125rem;
}
/* ─── NAVIGATION ─── */

/* ================================================================
   4.2b NAVIGATION - Menu Principal Simplifié
   ================================================================ */

.nav-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    position: relative;
    z-index: 1; /* local: contexte stacking dans header */
}

.nav-main__list {
    display: flex;
    gap: 0.125rem;
    padding: 0.1rem 0;
    justify-content: center;
    list-style: none;
    margin: 0;
}

.nav-main__item {
    display: inline-flex;
    align-items: center;
    list-style: none;
}

.nav-main__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.nav-main__btn:hover {
    background: var(--gray-50);
    color: var(--gray-800);
}

.nav-main__btn[aria-current="page"] {
    font-weight: 600;
}

/* Lien Informez-vous dans le menu mobile uniquement */
.nav-main__item--mobile-only {
    display: none;
    list-style: none;
}

/* Hover unifié desktop pour les 6 boutons du menu haut */
@media (min-width: 768px) {
    .header__inner .nav-main__btn[aria-current="page"],
    .header__inner .header__infos-link[aria-current="page"] {
        font-weight: 600;
        color: var(--gray-900);
        background: var(--gray-100);
        border-color: var(--gray-300);
        box-shadow: none;
    }

    .header__inner .nav-main__btn:hover,
    .header__inner .nav-main__btn[aria-current="page"]:hover,
    .header__inner .header__infos-link:hover,
    .header__inner .header__infos-link[aria-current="page"]:hover {
        color: var(--gray-900);
        background: var(--brand-500);
        border-color: var(--brand-500);
    }
}

/* Liens de navigation stylisés comme des boutons */
.nav-main__btn--link {
    text-decoration: none;
}

/* ════════════════════════════════════════════════════════════════
   Bouton Services SECRET
   - Position absolue à droite (hors du flux, n'affecte pas le menu)
   - Caché par défaut, apparaît après 5 clics sur le header
   - Rouge vif lumineux
   ════════════════════════════════════════════════════════════════ */
.btn-services {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;

    /* Caché par défaut */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    /* Style du bouton */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;

    /* Effet lumineux */
    box-shadow:
        0 0 20px rgba(239, 68, 68, 0.5),
        0 0 40px rgba(239, 68, 68, 0.3),
        0 4px 12px rgba(239, 68, 68, 0.4);

    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* État visible (après 5 clics) */
.btn-services.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: pulseGlow 2s ease-in-out infinite;
}

.btn-services__text {
    position: relative;
    z-index: 1;
}

/* Hover */
.btn-services:hover {
    background: #DC2626;
    transform: translateY(-50%) scale(1.05);
    box-shadow:
        0 0 30px rgba(239, 68, 68, 0.6),
        0 0 60px rgba(239, 68, 68, 0.4),
        0 6px 20px rgba(239, 68, 68, 0.5);
}

/* Focus */
.btn-services:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 2px;
}

/* Animation pulsation lumineuse */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow:
            0 0 20px rgba(239, 68, 68, 0.5),
            0 0 40px rgba(239, 68, 68, 0.3),
            0 4px 12px rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow:
            0 0 30px rgba(239, 68, 68, 0.7),
            0 0 60px rgba(239, 68, 68, 0.5),
            0 4px 20px rgba(239, 68, 68, 0.6);
    }
}
/* ─── FOOTER ─── */

/* ================================================================
   4.10 FOOTER
   ================================================================ */

.footer {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 1rem;
    margin-top: auto;
}

.footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__copy {
    font-size: 0.72rem;
    color: var(--gray-500);
    text-align: center;
}

/* Footer centré */
.footer__inner--centered {
    justify-content: center;
}

.footer__inner--no-padding-top {
    padding-top: 0;
}
/* ================================================================
   CRITICAL: HOME (Above-the-fold) - Anti-CLS
   Dupliqué depuis Kaptivia-pages.css pour éviter le layout shift
   ================================================================ */

.home {
    width: 100%;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    padding: 0.5rem 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--axis-plateformes-bg), var(--gray-50));
    scroll-margin-top: var(--anchor-offset);
}

.home__container {
    max-width: var(--container-xl, 1536px);
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home--presentation-clean {
    background-color: var(--white);
    background-image: url('/images/fond-page-presentation-desktop.avif');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
}

@media (max-width: 1024px) {
    .home--presentation-clean {
        background-image: url('/images/fond-page-presentation-tablette.avif');
    }
}

.home__container--presentation-clean {
    max-width: none;
    width: 100%;
    margin: 0;
    min-height: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 2fr 1fr;
    padding: 0;
}

.home__presentation-layout {
    --home-presentation-edge-gutter: clamp(0.75rem, 2.4vw, 2.1rem);
    --home-presentation-copy-max: 44rem;
    --home-presentation-mockup-scale: 1.1;
    --home-presentation-mockup-hover-scale: 1.15;
    --home-presentation-mockup-hover-duration: 1040ms;
    --home-presentation-card-border: rgba(190, 197, 206, 0.78);
    --home-presentation-card-border-hover: rgba(188, 195, 204, 0.98);
    --home-presentation-mockup-scale-shift-x: calc((var(--home-presentation-mockup-scale) - 1) * 20%);
    --home-presentation-mockup-cluster-shift-x: 2.6%;
    --home-presentation-mockup-h-1: 35vh;
    --home-presentation-mockup-h-2: 20vh;
    --home-presentation-mockup-h-3: 23vh;
    --home-presentation-mockup-h-4: 35vh;
    --home-presentation-mockup-h-4-factor: 0.85;
    --home-presentation-mockup-h-5: 45vh;
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns:
        minmax(0, min(41.6667%, calc(var(--home-presentation-copy-max) + var(--home-presentation-edge-gutter))))
        minmax(0, 1fr);
    grid-template-rows: 2fr 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 100%;
    height: 100%;
}

.home__content--presentation-clean {
    grid-column: 1;
    grid-row: 1 / 2;
    align-self: center;
    justify-self: start;
    width: min(var(--home-presentation-copy-max), calc(100% - var(--home-presentation-edge-gutter)));
    margin-left: var(--home-presentation-edge-gutter);
    padding-top: 0;
}

.home__presentation-brand {
    width: clamp(11.8rem, 22.5vw, 18rem);
    margin: 0 0 clamp(0.55rem, 1.4vh, 1rem);
    transform: translateY(clamp(-4.1rem, -8.2vh, -3rem));
}

.home__presentation-brand img {
    display: block;
    width: 100%;
    height: auto;
    filter: none;
}

.home__title {
    margin: 0;
}

.home__presentation-text {
    margin: calc(clamp(0.85rem, 2vh, 1.35rem) + 8px) 0 0;
    width: min(46rem, 100%);
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(0.92rem, 1.15vw, 1.13rem);
    line-height: 1.65;
    letter-spacing: 0.01em;
    color: var(--gray-700);
    text-align: left;
}

.home__presentation-btn {
    margin-top: calc(clamp(0.9rem, 2.2vh, 1.5rem) + 10px);
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.3rem;
    border: 1px solid var(--brand-700);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
    color: var(--white);
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: clamp(0.92rem, 1.05vw, 1rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(201, 160, 8, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.home__presentation-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 12px 26px rgba(201, 160, 8, 0.32);
}

.home__presentation-btn:active {
    transform: translateY(0);
}

.home__presentation-btn:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
}

.home__presentation-mockups {
    grid-column: 2;
    grid-row: 1 / -1;
    box-sizing: border-box;
    padding: clamp(2rem, 7vh, 5em) var(--home-presentation-edge-gutter) clamp(1.5rem, 5vh, 4em) 5%;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}

.home__mockup-gallery {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}

.home__mockup-container {
    width: fit-content;
    position: absolute;
    isolation: isolate;
    transform: scale(1);
    transition: transform var(--home-presentation-mockup-hover-duration) cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.home__mockup-container::after {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: -2.5%;
    height: 9.5%;
    border-radius: 999px;
    background:
        radial-gradient(
            ellipse at center,
            rgba(0, 4, 20, 0.24) 0%,
            rgba(0, 4, 20, 0.14) 42%,
            rgba(0, 4, 20, 0.05) 70%,
            rgba(0, 4, 20, 0) 100%
        ),
        radial-gradient(
            ellipse at center,
            rgba(0, 4, 20, 0.1) 0%,
            rgba(0, 4, 20, 0) 72%
        );
    opacity: 0.82;
    transition:
        opacity var(--home-presentation-mockup-hover-duration) cubic-bezier(0.22, 1, 0.36, 1),
        filter var(--home-presentation-mockup-hover-duration) cubic-bezier(0.22, 1, 0.36, 1);
    filter: blur(9px);
    will-change: opacity, filter;
    pointer-events: none;
    z-index: 0;
}

@media (hover: hover) and (pointer: fine) {
    .home__mockup-container:hover {
        transform: scale(var(--home-presentation-mockup-hover-scale));
        z-index: 8;
    }

    .home__mockup-container:hover::after {
        opacity: 0.98;
        filter: blur(10px);
    }

    .home__mockup-container:hover .home__mockup {
        border-color: var(--home-presentation-card-border-hover);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.8),
            0 24px 40px -26px rgba(11, 18, 34, 0.48),
            0 10px 20px -12px rgba(11, 18, 34, 0.3);
    }
}

.home__mockup {
    aspect-ratio: 1.7777777778;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--home-presentation-card-border);
    background: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.62),
        0 16px 30px -22px rgba(11, 18, 34, 0.44),
        0 6px 12px -8px rgba(11, 18, 34, 0.22);
    transition:
        border-color var(--home-presentation-mockup-hover-duration) cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow var(--home-presentation-mockup-hover-duration) cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.home__mockup--media {
    background: #ffffff;
}

.home__mockup-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.home__mockup-container--vertical-right .home__mockup-media {
    object-position: calc(100% + 10px) center;
}

/* Keep aspect-ratio variants below hover rules for specificity clarity */
.home__mockup-container:nth-child(1) .home__mockup,
.home__mockup-container:nth-child(5) .home__mockup {
    aspect-ratio: 0.5625;
}

.home__mockup-container:nth-child(1) {
    top: 12%;
    right: calc(5% - var(--home-presentation-mockup-scale-shift-x) - var(--home-presentation-mockup-cluster-shift-x));
    transform-origin: right center;
}

.home__mockup-container:nth-child(1) .home__mockup {
    height: calc(var(--home-presentation-mockup-h-1) * var(--home-presentation-mockup-scale));
}

.home__mockup-container:nth-child(2) {
    top: 0.5%;
    left: calc(31% + var(--home-presentation-mockup-scale-shift-x) + var(--home-presentation-mockup-cluster-shift-x));
    transform-origin: center top;
}

.home__mockup-container:nth-child(2) .home__mockup {
    height: calc(var(--home-presentation-mockup-h-2) * var(--home-presentation-mockup-scale));
}

.home__mockup-container:nth-child(3) {
    bottom: 0%;
    left: calc(12% + var(--home-presentation-mockup-scale-shift-x) + var(--home-presentation-mockup-cluster-shift-x));
    transform-origin: center bottom;
}

.home__mockup-container:nth-child(3) .home__mockup {
    height: calc(var(--home-presentation-mockup-h-3) * var(--home-presentation-mockup-scale));
}

.home__mockup-container:nth-child(4) {
    top: 25%;
    left: calc(-3% + var(--home-presentation-mockup-scale-shift-x) + var(--home-presentation-mockup-cluster-shift-x));
    z-index: 4;
    transform-origin: left center;
}

.home__mockup-container:nth-child(4) .home__mockup {
    height: calc(
        var(--home-presentation-mockup-h-4)
        * var(--home-presentation-mockup-scale)
        * var(--home-presentation-mockup-h-4-factor)
    );
}

.home__mockup-container:nth-child(5) {
    bottom: 8%;
    right: calc(17% - var(--home-presentation-mockup-scale-shift-x) - var(--home-presentation-mockup-cluster-shift-x));
    transform-origin: right bottom;
}

.home__mockup-container:nth-child(5) .home__mockup {
    height: calc(var(--home-presentation-mockup-h-5) * var(--home-presentation-mockup-scale));
}

@media (max-width: 1032px) {
    .home__presentation-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .home__presentation-mockups {
        display: none;
    }
}

.home__hero {
    text-align: center;
    padding: 0;
}

.home__logo {
    display: block;
    max-width: 280px;
    height: auto;
    margin: 0 auto 0.5rem;
}

.home__tagline {
    font-family: 'Cormorant Garamond', 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.05rem, 2.1vw, 1.3rem);
    font-weight: 700;
    color: var(--brand-600);
    margin: 0;
    letter-spacing: 0.02em;
}

.home__intro {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.home__intro-text {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--gray-700);
    margin: 0 0 1rem 0;
}

.home__intro-highlight {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 1.25rem auto 0;
    font-style: normal;
    max-width: 1000px;
}

.home__intro-conclusion {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--gray-800);
    font-weight: 600;
    text-align: center;
    margin: 4rem auto 0;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.home__intro-conclusion-logo {
    height: 1.8rem;
    width: auto;
    vertical-align: middle;
    margin: 0 0.25rem 0 0;
}

.home__cta {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    flex: 1;
    align-items: center;
}

.home__cta-card {
    font: inherit;
    color: inherit;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    max-width: 380px;
    width: 100%;
    cursor: pointer;
}

.home__cta-card:hover {
    border-color: var(--success-500);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.home__cta-logo {
    width: 5rem;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.25rem;
}

.home__cta-title {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.home__cta-desc {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

.home__cta-btn {
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--white);
    margin-top: 0.25rem;
    padding: 0.65rem 1.35rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.home__cta-card:hover .home__cta-btn {
    color: var(--white);
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* ================================================================
   CRITICAL: Media query tablet/mobile (≤767px) - Anti-CLS
   Header, Nav, Logo + Home overrides
   IMPORTANT: 767px (pas 768px) pour éviter conflit avec desktop min-width:768px
   
   ⚠️ SOURCE DE VÉRITÉ pour : header, nav, logo, menu-toggle, home
   Ne pas dupliquer ces règles dans Kaptivia-responsive.css
   ================================================================ */
@media (max-width: 767px) {
    :root {
        --header-h: calc(56px + var(--safe-top));
    }

    /* Menu toggle visible en mobile */
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem 0.75rem;
        background: var(--brand-50);
        border: 1px solid var(--brand-200);
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: all var(--duration) ease;
        min-height: 40px;
    }

    .menu-toggle__icon {
        width: 18px;
        height: 18px;
        stroke: var(--brand-600);
        stroke-width: 2;
        fill: none;
    }

    .menu-toggle__text {
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--brand-700);
    }

    .menu-toggle:hover,
    .menu-toggle[aria-expanded="true"] {
        background: var(--brand-100);
        border-color: var(--brand-300);
    }

    /* Header layout mobile */
    .header__inner {
        padding: 0 0.5rem;
        gap: 0.5rem;
        justify-content: space-between;
        align-items: center;
        height: var(--header-h);
    }

    /* Logo centré en mobile */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    .logo__img {
        height: 28px;
        width: auto;
        max-width: 120px;
    }

    /* Navigation mobile (menu hamburger) */
    .nav-main {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100vw;
        z-index: var(--z-modal);
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s 0.3s, opacity 0.3s ease;
    }
    .nav-main.is-open {
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.3s ease;
    }
    .nav-main__overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .nav-main.is-open .nav-main__overlay {
        opacity: 1;
    }
    .nav-main__list {
        position: absolute;
        top: calc(var(--header-h) + 0.35rem);
        left: max(0.35rem, env(safe-area-inset-left, 0px));
        bottom: auto;
        width: min(var(--nav-drawer-w), calc(100vw - 0.7rem));
        max-width: calc(100vw - 0.7rem);
        max-height: var(--nav-drawer-max-h);
        background: var(--white);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
        padding: 0.75rem 0.85rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s var(--ease);
    }
    .nav-main.is-open .nav-main__list {
        transform: translateX(0);
    }
    .nav-main__item {
        display: block;
        width: 100%;
    }
    .nav-main__item--mobile-only {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
    }
    .header__infos-sep {
        display: none;
    }
    .header__infos-link {
        display: none;
    }
    .nav-main__btn {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        font-weight: 500;
        min-height: 48px;
        border-radius: var(--radius-md);
        background: var(--gray-50);
        border: 1px solid var(--gray-200);
        color: var(--gray-700);
        transition: all var(--duration) ease;
    }
    .nav-main__btn:hover {
        background: var(--gray-100);
        border-color: var(--gray-300);
    }
    .nav-main__btn[aria-current="page"] {
        background: var(--brand-500);
        border-color: var(--brand-500);
        color: var(--white);
        font-weight: 600;
        box-shadow: 0 6px 16px rgba(236, 182, 9, 0.28);
    }
    .nav-main__btn[aria-current="page"]:hover {
        background: var(--brand-600);
        border-color: var(--brand-600);
        color: var(--white);
    }
    .nav-main__btn.is-active {
        background: var(--brand-50);
        border-color: var(--brand-200);
        color: var(--brand-700);
    }
    .nav-main__btn svg {
        width: 1.25rem;
        height: 1.25rem;
        margin-right: 0.75rem;
        flex-shrink: 0;
    }

    /* Header actions mobile */
    .header__actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0;
        gap: 0.25rem;
        flex-shrink: 0;
        z-index: 1;
    }
    .header__actions .btn--primary {
        padding: 0.4rem 0.5rem;
        min-height: 40px;
        gap: 0.3rem;
    }
    .header__actions .btn--primary span:not(.btn__badge):not(.btn__star) {
        display: inline;
        font-size: 0.75rem;
    }
    .header__actions .btn--primary svg {
        width: 14px;
        height: 14px;
    }
    .header__actions .btn--clear-selection {
        display: none;
    }
    .header__actions .btn--clear-selection.is-inactive {
        display: none;
    }

    /* Footer mobile */
    .footer__copy {
        font-size: 0.66rem;
        text-align: center;
    }

    /* Home section mobile - SOURCE DE VÉRITÉ (anti-CLS) */
    .home {
        padding: 1.25rem 1rem 1rem;
        min-height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .home__container {
        gap: 1.25rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-bottom: 0.5rem;
    }

    .home__container--presentation-clean {
        flex: 0 0 auto;
        display: grid;
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100dvh - var(--header-h));
        grid-template-rows: 2fr 1fr;
        padding: 0 1rem;
    }

    .home__presentation-layout {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        gap: 0;
    }

    .home__presentation-text {
        font-size: clamp(0.94rem, 3.55vw, 1.02rem);
        line-height: 1.6;
    }

    .home__presentation-brand {
        width: clamp(9.5rem, 45vw, 14rem);
        margin-top: 0;
        margin-bottom: 0.7rem;
    }

    .home__presentation-btn {
        margin-top: 1rem;
        font-size: 0.94rem;
        padding: 0.7rem 1.15rem;
    }

    .home--presentation-clean {
        background-image: url('/images/fond-page-presentation-mobile.avif');
        padding: 0;
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100dvh - var(--header-h));
        align-items: stretch;
        justify-content: flex-start;
    }
    .home__logo {
        max-width: 240px;
        margin-bottom: 0.5rem;
    }
    .home__tagline {
        font-size: 1.35rem;
        font-weight: 700;
        line-height: 1.3;
    }
    .home__intro {
        padding: 0 0.75rem;
        flex: 0;
    }
    .home__intro-text {
        font-size: 1.15rem;
        line-height: 1.55;
        text-align: center;
    }
    .home__intro-highlight {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-top: 1rem;
    }
    .home__intro-conclusion {
        font-size: 1.15rem;
        margin-top: 1.75rem;
    }
    .home__intro-conclusion-logo {
        height: 1.5rem;
    }
    .home__colon {
        display: none;
    }
    .home__cta {
        padding: 0.5rem 0 0;
        margin-top: auto;
    }
    .home__cta-card {
        padding: 1.5rem 1.1rem;
        border-color: var(--success-500);
        box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    }
    .home__cta-logo {
        width: 5.4rem;
    }
    .home__cta-title {
        font-size: 1.5rem;
    }
    .home__cta-desc {
        font-size: 0.9rem;
    }
    .home__cta-btn {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
        color: var(--white);
        background: var(--emerald-700);
        border-color: var(--emerald-700);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    }
}



/* --- SECTION 4 : PAGES/VUES --- */
}
