/* ==========================================================================
   DÉCROCHE : CHARTE « NUIT » DU SITE PUBLIC (refonte 29/08/2026)
   --------------------------------------------------------------------------
   Parité exacte avec l'app mobile (src/theme.ts) : fond bleu nuit #0A0F1F,
   doré #d6b46a→#f2d58a en accent, Fraunces pour les titres, rayons 12/16/22.
   La mascotte Décroche porte la marque sur chaque page.

   Tout est préfixé `nx-` (NuitX) : ce fichier cohabite avec public-bundle.css
   (encore chargé pour les gabarits non repris : connexion, inscription…) sans
   aucune collision. Une page refondue = body.nx-page + composants nx-*.
   ========================================================================== */

:root {
    --nx-nuit-0: #060b18;          /* le plus profond : bandeaux, footer */
    --nx-nuit-1: #0A0F1F;          /* fond de page (= app background) */
    --nx-nuit-2: #0B1020;          /* fond doux (= app backgroundSoft) */
    --nx-surface: #111A2F;         /* surfaces (= app surface) */
    --nx-surface-2: #16213D;       /* surfaces appuyées (= app surfaceStrong) */
    --nx-card: #101932;            /* cartes (= app card) */
    --nx-card-2: #172241;          /* cartes appuyées (= app cardStrong) */
    --nx-ink: #F8FBFF;             /* texte principal (= app ink) */
    /* Refonte 07/10 : UN ton secondaire teinté nuit (jamais gris), et un ton
       tertiaire OPAQUE. L'ancien --nx-faint (rgba .62) tombait à 3,97:1 sur une
       carte et 3,13:1 sur une teinte dorée ; #8E99BF tient 5,56:1 au pire (carte appuyée). */
    --nx-muted: #B3BCDC;           /* texte secondaire : 9,2:1 sur carte, 8,2:1 sur carte appuyée */
    --nx-faint: #8E99BF;           /* métadonnées, légendes : 5,56 à 6,98:1 selon la surface */
    --nx-gold: #d6b46a;            /* accent de marque (= app gold) */
    --nx-gold-2: #f2d58a;          /* doré clair (= app gold2) */
    --nx-gold-soft: #f4dfae;       /* doré très clair (= app goldSoft) */
    --nx-gold-ink: #0b1020;        /* texte sur bouton doré (= app goldInk) */
    --nx-line: rgba(214, 180, 106, 0.2);        /* filet doré (= app line) */
    --nx-line-strong: rgba(214, 180, 106, 0.34);
    --nx-line-cool: rgba(150, 165, 205, 0.16);  /* filet froid (= app lineCool) */
    --nx-line-faint: rgba(150, 165, 205, 0.07);
    --nx-ok: #4ade80;
    --nx-warn: #fbbf24;
    --nx-danger: #f87171;
    --nx-grad-gold: linear-gradient(135deg, #d6b46a 0%, #f2d58a 100%);
    --nx-grad-gold-text: linear-gradient(100deg, #fff3c4 8%, #f2d58a 45%, #d6b46a 78%);
    --nx-shadow: 0 30px 60px -24px rgba(2, 6, 16, 0.8);
    --nx-shadow-soft: 0 18px 40px -26px rgba(2, 6, 16, 0.85);
    --nx-r-md: 12px;               /* petits contrôles (= app radius.md) */
    --nx-r-card: 16px;             /* la carte standard (= app radius.card) */
    --nx-r-lg: 22px;               /* grandes surfaces (= app radius.lg) */
    --nx-font-head: 'Fraunces', 'Georgia', serif;
    --nx-font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --nx-container: 1180px;
    --nx-header-h: 72px;

    /* Échelle typographique (refonte 07/10), rôles, pas valeurs. */
    --nx-fs-display: clamp(2.55rem, 1.2rem + 5.4vw, 5.1rem);  /* titre d'accueil seul */
    --nx-fs-h1: clamp(2.2rem, 1.45rem + 3.3vw, 3.85rem);
    --nx-fs-h2: clamp(1.7rem, 1.25rem + 1.9vw, 2.7rem);
    --nx-fs-h3: clamp(1.18rem, 1.06rem + 0.5vw, 1.42rem);
    --nx-fs-lead: clamp(1.06rem, 1rem + 0.32vw, 1.22rem);
    --nx-fs-body: 1rem;
    --nx-fs-small: 0.85rem;
    --nx-fs-label: 0.8125rem;

    /* Espacements : base 4 px. Plus d'air au-dessus d'un titre qu'en dessous. */
    --nx-space-1: 4px;
    --nx-space-2: 8px;
    --nx-space-3: 12px;
    --nx-space-4: 16px;
    --nx-space-5: 24px;
    --nx-space-6: 32px;
    --nx-space-7: 48px;
    --nx-space-8: 64px;
    --nx-space-9: 96px;
    --nx-section-y: clamp(72px, 9vw, 132px);
    --nx-section-y-tight: clamp(48px, 6vw, 80px);

    /* Mouvement : une sortie exponentielle, des durées courtes. */
    --nx-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --nx-dur-fast: 0.16s;
    --nx-dur: 0.32s;
    --nx-dur-slow: 0.7s;

    /* Surfaces de bande pleine largeur */
    --nx-band-bg: #0d1530;
    --nx-band-deep: #050914;
}

/* --------------------------------------------------------------------------
   Coquille de page, appliquée à toute page publique refondue
   -------------------------------------------------------------------------- */

body.nx-page {
    background:
        radial-gradient(1100px 520px at 82% -140px, rgba(214, 180, 106, 0.07), transparent 60%),
        radial-gradient(900px 600px at -180px 30%, rgba(107, 125, 255, 0.05), transparent 55%),
        var(--nx-nuit-1);
    margin: 0; /* la marge UA de 8 px laissait un liseré autour des bandes pleine largeur */
    color: var(--nx-ink);
    font-family: var(--nx-font-body);
    font-size: var(--nx-fs-body);
    line-height: 1.7;
    letter-spacing: 0.003em;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    caret-color: var(--nx-gold-2);
    accent-color: var(--nx-gold);
    font-variant-numeric: lining-nums;
}

/* Surfaces navigateur dessinées : sélection, défilement, focus, soulignés. */
html:has(> body.nx-page) {
    color-scheme: dark;
    scrollbar-color: rgba(214, 180, 106, 0.38) var(--nx-nuit-0);
    background: var(--nx-nuit-1);
}
/* Le bundle délesté posait `* { box-sizing: border-box }` ; les composants nx
   ont été dessinés sous ce régime. Sans lui, un .nx-btn à width:100% débordait
   de 50 px et min-height s'ajoutait au padding (bouton de 74 px). Rétabli ici,
   limité aux pages nx (le reset des marges, lui, n'est PAS rétabli). */
body.nx-page, body.nx-page *, body.nx-page *::before, body.nx-page *::after { box-sizing: border-box; }
body.nx-page .site-main { padding: 0; margin: 0; max-width: none; }
body.nx-page ::selection { background: rgba(242, 213, 138, 0.32); color: #fffaf0; }
body.nx-page :focus { outline: none; }
body.nx-page :focus-visible { outline: 2px solid var(--nx-gold-2); outline-offset: 3px; border-radius: 6px; }
body.nx-page a { text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
body.nx-page ::-webkit-scrollbar { width: 11px; height: 11px; }
body.nx-page ::-webkit-scrollbar-track { background: var(--nx-nuit-0); }
body.nx-page ::-webkit-scrollbar-thumb { background: rgba(214, 180, 106, 0.3); border-radius: 999px; border: 3px solid var(--nx-nuit-0); }
body.nx-page ::-webkit-scrollbar-thumb:hover { background: rgba(214, 180, 106, 0.5); }
body.nx-page .skip-link:focus-visible { background: var(--nx-gold-2); color: var(--nx-gold-ink); }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */

.nx-display, .nx-h1, .nx-h2, .nx-h3 {
    font-family: var(--nx-font-head);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--nx-ink);
    margin: 0;
    text-wrap: balance;
}

.nx-display { font-size: var(--nx-fs-display); line-height: 1.02; letter-spacing: -0.03em; }
.nx-h1 { font-size: var(--nx-fs-h1); line-height: 1.05; letter-spacing: -0.025em; }
.nx-h2 { font-size: var(--nx-fs-h2); line-height: 1.1; }
.nx-h3 { font-size: var(--nx-fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

/* Emphase : couleur pleine, jamais de dégradé dans le texte (refonte 07/10).
   La classe reste (40 gabarits l'emploient), sa valeur change. */
.nx-gold-text {
    background: none;
    color: var(--nx-gold-2);
}

/* Kicker au-dessus d'un titre : RETIRÉ de la grammaire (07/10). La classe est
   gardée parce que des gardiens et 60 gabarits s'y accrochent ; elle devient
   une simple ligne d'étiquette discrète, sans filet doré ni capitales. Ne plus
   l'employer dans un gabarit neuf : le titre porte seul. */
.nx-eyebrow {
    display: block;
    font-size: var(--nx-fs-label);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--nx-faint);
    margin: 0 0 var(--nx-space-2);
}
.nx-eyebrow::before { content: none; }

.nx-lead {
    font-size: var(--nx-fs-lead);
    line-height: 1.6;
    color: var(--nx-muted);
    max-width: 60ch;
    margin: var(--nx-space-4) 0 0;
    text-wrap: pretty;
}
.nx-lead strong { color: var(--nx-ink); font-weight: 600; }

.nx-muted { color: var(--nx-muted); }
.nx-small { font-size: var(--nx-fs-small); color: var(--nx-faint); }

/* --------------------------------------------------------------------------
   Structure : conteneurs, sections, grilles
   -------------------------------------------------------------------------- */

.nx-container {
    width: min(100% - 40px, var(--nx-container));
    margin-inline: auto;
}

.nx-section { padding: var(--nx-section-y) 0; position: relative; }
.nx-section--tight { padding: var(--nx-section-y-tight) 0; }
.nx-section--flush { padding-top: 0; }
.nx-section--band {
    background: linear-gradient(180deg, rgba(16, 25, 50, 0) 0%, rgba(16, 25, 50, 0.55) 18%, rgba(16, 25, 50, 0.55) 82%, rgba(16, 25, 50, 0) 100%);
}

.nx-section-head { max-width: 720px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.nx-section-head--center { margin-inline: auto; text-align: center; }
.nx-section-head--center .nx-lead { margin-inline: auto; }
.nx-section-head--center .nx-eyebrow { justify-content: center; }

.nx-grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.nx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.nx-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(26px, 5vw, 64px);
    align-items: center;
}
.nx-split--reverse > :first-child { order: 2; }
.nx-split--reverse > :last-child { order: 1; }

@media (max-width: 1023px) {
    .nx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
    .nx-grid--2, .nx-grid--3, .nx-grid--4 { grid-template-columns: minmax(0, 1fr); }
    .nx-split, .nx-split--reverse { grid-template-columns: minmax(0, 1fr); }
    .nx-split--reverse > :first-child { order: 1; }
    .nx-split--reverse > :last-child { order: 2; }
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: var(--nx-grad-gold);
    color: var(--nx-gold-ink);
    font-family: var(--nx-font-body);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 24px -12px rgba(214, 180, 106, 0.6);
    transition: transform var(--nx-dur-fast) var(--nx-ease-out), box-shadow var(--nx-dur) var(--nx-ease-out),
                filter var(--nx-dur-fast) ease, background-color var(--nx-dur-fast) ease, border-color var(--nx-dur-fast) ease;
    -webkit-tap-highlight-color: transparent;
}
.nx-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.nx-btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 16px 30px -14px rgba(214, 180, 106, 0.7); }
.nx-btn:active { transform: translateY(1px) scale(0.99); filter: brightness(0.97); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 10px -6px rgba(214, 180, 106, 0.5); }
.nx-btn:focus-visible { outline: 2px solid var(--nx-gold-2); outline-offset: 3px; border-radius: 999px; }
.nx-btn:disabled, .nx-btn[disabled], .nx-btn[aria-disabled="true"], .nx-btn.is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
    filter: saturate(0.4);
    transform: none;
    box-shadow: none;
}
a.nx-btn[aria-disabled="true"], a.nx-btn.is-disabled { pointer-events: none; }
.nx-btn.is-loading { cursor: progress; color: transparent; position: relative; }
.nx-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--nx-gold-ink);
    border-right-color: transparent;
    animation: nx-spin 0.8s linear infinite;
}
@keyframes nx-spin { to { transform: rotate(360deg); } }

.nx-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(179, 188, 220, 0.24);
    color: var(--nx-ink);
    box-shadow: none;
}
.nx-btn--ghost:hover { border-color: var(--nx-line-strong); background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.nx-btn--ghost:active { background: rgba(255, 255, 255, 0.05); box-shadow: none; }

.nx-btn--gold-line {
    background: rgba(214, 180, 106, 0.08);
    border-color: var(--nx-line-strong);
    color: var(--nx-gold-2);
    box-shadow: none;
}
.nx-btn--gold-line:hover { background: rgba(214, 180, 106, 0.15); border-color: rgba(214, 180, 106, 0.55); box-shadow: none; }
.nx-btn--gold-line:active { background: rgba(214, 180, 106, 0.1); box-shadow: none; }

.nx-btn--big { min-height: 54px; padding: 14px 30px; font-size: 1.06rem; }
.nx-btn--small { min-height: 40px; padding: 8px 18px; font-size: 0.92rem; }
@media (pointer: coarse) { .nx-btn--small { min-height: 44px; } }

.nx-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: var(--nx-space-6); }
@media (max-width: 479px) {
    .nx-btn-row > .nx-btn { flex: 1 1 100%; }
}

/* Lien fléché : la flèche est DESSINÉE (masque SVG), pas un glyphe. */
.nx-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--nx-gold-2);
    font-weight: 600;
    text-decoration: none;
}
.nx-link-arrow::after {
    content: "";
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--nx-dur) var(--nx-ease-out);
}
.nx-link-arrow:hover { color: var(--nx-gold-soft); text-decoration: underline; text-decoration-color: rgba(242, 213, 138, 0.45); }
.nx-link-arrow:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */

/* UNE famille de cartes : surface pleine, filet froid 1 px, ombre portée
   douce. Pas de bordure latérale colorée, pas de verre, pas de carte dans
   une carte. Variantes : --gold (filet doré : l'élément mis en avant de la
   page, un seul), --lg (grande surface). */
.nx-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 42%), var(--nx-card);
    border: 1px solid var(--nx-line-cool);
    border-radius: var(--nx-r-card);
    padding: clamp(20px, 2.6vw, 30px);
    box-shadow: var(--nx-shadow-soft);
}
.nx-card--gold { border-color: var(--nx-line); }
.nx-card--lg { border-radius: var(--nx-r-lg); }
a.nx-card { display: block; color: inherit; text-decoration: none; transition: border-color var(--nx-dur) ease, transform var(--nx-dur) var(--nx-ease-out); }
a.nx-card:hover { border-color: var(--nx-line-strong); transform: translateY(-2px); }
.nx-card h3 + p, .nx-card .nx-h3 + p { margin-top: 10px; }
.nx-card p { color: var(--nx-muted); margin: 0; }
.nx-card p + p { margin-top: 10px; }

/* Étiquette de carte : petite, discrète, sans capitales espacées. */
.nx-card-kicker {
    font-size: var(--nx-fs-label);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--nx-faint);
    margin: 0 0 var(--nx-space-2);
}

/* Pilier : la carte des six métiers de Décroche */
.nx-pillar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}
.nx-pillar__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: var(--nx-r-md);
    background: rgba(214, 180, 106, 0.12);
    border: 1px solid var(--nx-line);
    color: var(--nx-gold-2);
    flex-shrink: 0;
}
.nx-pillar__icon svg { width: 24px; height: 24px; }
.nx-pillar__title { font-family: var(--nx-font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.25; margin: 0; color: var(--nx-ink); }
.nx-pillar p { flex-grow: 1; }
.nx-pillar .nx-link-arrow { margin-top: 4px; font-size: 0.94rem; }

/* Stat : grand chiffre + légende. HÉRITÉ, ne plus composer de grille de
   stats (gabarit « gros chiffre + petite légende ») : préférer .nx-proof,
   qui met le chiffre dans une phrase avec sa source. */
.nx-stat { text-align: left; }
.nx-stat__value {
    font-family: var(--nx-font-head);
    font-weight: 700;
    font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem);
    color: var(--nx-gold-2);
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}
.nx-stat__label { color: var(--nx-muted); font-size: 0.94rem; margin-top: 8px; }

/* Étapes : un rail et des jalons, plus de numéros 01/02/03 décoratifs,
   l'ordre se lit dans la position. (Voir aussi .nx-timeline.) */
.nx-steps { display: grid; gap: clamp(20px, 2.6vw, 30px); counter-reset: nx-step; position: relative; }
.nx-step { counter-increment: nx-step; position: relative; padding-left: 34px; }
.nx-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid var(--nx-gold);
    background: var(--nx-nuit-1);
    box-sizing: border-box;
    z-index: 1;
}
.nx-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 6px;
    top: calc(0.42em + 15px);
    bottom: calc(-1 * clamp(20px, 2.6vw, 30px) + 2px);
    width: 1px;
    background: linear-gradient(180deg, rgba(214, 180, 106, 0.55), rgba(214, 180, 106, 0.12));
}
.nx-step h3 { margin: 0 0 6px; }
.nx-step p { color: var(--nx-muted); margin: 0; }

/* Chips */
.nx-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid var(--nx-line-cool);
    background: rgba(255, 255, 255, 0.04);
    color: var(--nx-muted);
    font-size: 0.8rem;
    font-weight: 600;
}
.nx-chip--gold { border-color: var(--nx-line); background: rgba(214, 180, 106, 0.1); color: var(--nx-gold-2); }
.nx-chip--ok { border-color: rgba(74, 222, 128, 0.35); background: rgba(74, 222, 128, 0.1); color: var(--nx-ok); }
.nx-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   Mascotte
   -------------------------------------------------------------------------- */

/* Les poses sont rendues sur fond nuit uni proche du fond de page : le masque
   radial fond les bords et la mascotte semble VIVRE dans la page. */
.nx-mascotte {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 98%);
    mask-image: radial-gradient(closest-side, #000 62%, transparent 98%);
}
.nx-mascotte--wide {
    -webkit-mask-image: radial-gradient(ellipse closest-side, #000 58%, transparent 99%);
    mask-image: radial-gradient(ellipse closest-side, #000 58%, transparent 99%);
}
.nx-mascotte-figure { position: relative; margin: 0; isolation: isolate; }
/* Plus de halo circulaire identique sous chaque pose (07/10). Le --halo
   historique devient une OMBRE DE SOL (la mascotte se pose quelque part) ;
   trois variantes de lumière, à choisir selon la place dans la page :
   --aura (lumière chaude venue d'en haut à droite), --cool (contre-jour bleu
   venu de gauche), --plain (rien). Une même page ne répète pas la même. */
.nx-mascotte-figure--halo::before,
.nx-mascotte-figure--aura::before,
.nx-mascotte-figure--cool::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
}
.nx-mascotte-figure--halo::before {
    left: 22%;
    right: 22%;
    bottom: 6%;
    height: 12%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(2, 5, 14, 0.75), rgba(214, 180, 106, 0.08) 70%, transparent);
}
.nx-split--reverse .nx-mascotte-figure--halo::before { left: 26%; right: 18%; }
.nx-mascotte-figure--aura::before {
    inset: -6% -10% 30% 30%;
    background: radial-gradient(closest-side, rgba(242, 213, 138, 0.16), transparent);
}
.nx-mascotte-figure--cool::before {
    inset: 10% 35% 0 -12%;
    background: radial-gradient(closest-side, rgba(107, 140, 255, 0.14), transparent);
}
.nx-mascotte-figure img { position: relative; z-index: 1; }
.nx-mascotte--sm { max-width: 190px; margin-inline: auto; }
.nx-mascotte--md { max-width: 300px; margin-inline: auto; }
.nx-mascotte--lg { max-width: 430px; margin-inline: auto; }
.nx-mascotte--float { animation: nx-float 5.2s ease-in-out infinite; }

@keyframes nx-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
    .nx-mascotte--float { animation: none; }
}

/* --------------------------------------------------------------------------
   Héros
   -------------------------------------------------------------------------- */

.nx-hero { padding: clamp(40px, 6.5vw, 96px) 0 clamp(36px, 5.5vw, 80px); position: relative; }
.nx-hero .nx-h1 { max-width: 17ch; }
.nx-hero--center { text-align: center; }
.nx-hero--center .nx-h1 { margin-inline: auto; max-width: 24ch; }
.nx-hero--center .nx-lead { margin-inline: auto; }
.nx-hero--center .nx-btn-row { justify-content: center; }
.nx-hero--center .nx-chip-row { justify-content: center; margin-top: 26px; }

/* --------------------------------------------------------------------------
   Bande CTA finale
   -------------------------------------------------------------------------- */

.nx-cta-band {
    position: relative;
    border-radius: var(--nx-r-lg);
    border: 1px solid var(--nx-line);
    background:
        radial-gradient(520px 320px at 88% 100%, rgba(214, 180, 106, 0.13), transparent 70%),
        linear-gradient(180deg, var(--nx-surface-2) 0%, var(--nx-card) 100%);
    padding: clamp(28px, 5vw, 64px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(20px, 4vw, 48px);
    align-items: end;
    overflow: hidden;
    box-shadow: var(--nx-shadow);
}
.nx-cta-band .nx-h2 { max-width: 18ch; }
.nx-cta-band .nx-lead { max-width: 54ch; }
.nx-cta-band__mascotte { width: clamp(120px, 15vw, 200px); flex-shrink: 0; align-self: end; margin-bottom: clamp(-64px, -5vw, -28px); }
.nx-cta-band__alt { margin: var(--nx-space-3) 0 0; }
.nx-cta-band__tel { color: var(--nx-gold-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 719px) {
    .nx-cta-band { grid-template-columns: minmax(0, 1fr); text-align: left; }
    .nx-cta-band__mascotte { display: none; }
}

/* --------------------------------------------------------------------------
   Prose, articles de blog, guides, pages légales
   -------------------------------------------------------------------------- */

.nx-prose { max-width: 68ch; margin-inline: auto; font-size: 1.0625rem; line-height: 1.76; }
.nx-prose > * + * { margin-top: 1.25em; }
.nx-prose h2 {
    font-family: var(--nx-font-head);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    line-height: 1.2;
    margin-top: 2em;
    letter-spacing: -0.01em;
    color: var(--nx-ink);
}
.nx-prose h3 {
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: clamp(1.12rem, 2vw, 1.32rem);
    margin-top: 1.7em;
    color: var(--nx-ink);
}
.nx-prose p { color: var(--nx-muted); }
.nx-prose strong { color: var(--nx-ink); font-weight: 600; }
.nx-prose a { color: var(--nx-gold-2); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: rgba(214, 180, 106, 0.45); }
.nx-prose a:hover { text-decoration-color: var(--nx-gold-2); }
.nx-prose ul, .nx-prose ol { padding-left: 1.3em; color: var(--nx-muted); display: grid; gap: 0.5em; }
.nx-prose li::marker { color: var(--nx-gold); }
/* Citation : plus de bordure latérale (refus du 07/10). Un court filet doré
   AU-DESSUS, le texte en Fraunces, du retrait des deux côtés. */
.nx-prose blockquote {
    position: relative;
    padding: 22px 0 4px;
    color: var(--nx-ink);
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: clamp(1.14rem, 1.05rem + 0.4vw, 1.3rem);
    line-height: 1.45;
    margin: 1.8em clamp(0px, 3vw, 28px);
}
.nx-prose blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--nx-gold);
}
.nx-prose hr { border: 0; border-top: 1px solid var(--nx-line-cool); margin: 2.2em 0; }
.nx-prose figure { margin: 1.6em 0; }
.nx-prose figcaption { font-size: 0.8125rem; color: var(--nx-faint); margin-top: 8px; text-align: center; }
.nx-prose .nx-card { margin: 1.6em 0; }

/* Encadré « donnée mesurée » / note dans les articles */
.nx-prose-note {
    border-radius: var(--nx-r-card);
    border: 1px solid var(--nx-line);
    background: rgba(214, 180, 106, 0.07);
    padding: 18px 22px;
}
.nx-prose-note p { margin: 0; color: var(--nx-muted); }
.nx-prose-note p + p { margin-top: 8px; }

/* --------------------------------------------------------------------------
   Tableaux (comparatif, tarifs, rétention RGPD…)
   -------------------------------------------------------------------------- */

.nx-table-wrap {
    overflow-x: auto;
    border-radius: var(--nx-r-card);
    border: 1px solid var(--nx-line-cool);
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.nx-table-wrap:focus-visible { outline-offset: 2px; }
.nx-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--nx-card); font-variant-numeric: tabular-nums; }
.nx-table caption { caption-side: bottom; text-align: left; padding: 12px 18px; color: var(--nx-faint); font-size: var(--nx-fs-small); }
.nx-table th, .nx-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid rgba(150, 165, 205, 0.1); vertical-align: top; }
.nx-table tbody tr { transition: background-color var(--nx-dur-fast) ease; }
.nx-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.nx-table th[scope="row"] { color: var(--nx-ink); font-weight: 600; }
.nx-table thead th {
    background: var(--nx-surface-2);
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--nx-gold-2);
    white-space: nowrap;
}
.nx-table tbody tr:last-child td { border-bottom: 0; }
.nx-table td { color: var(--nx-muted); font-size: 0.95rem; }
.nx-table td:first-child { color: var(--nx-ink); font-weight: 600; }
.nx-table .nx-yes { color: var(--nx-ok); font-weight: 700; }
.nx-table .nx-no { color: var(--nx-faint); }
.nx-table--highlight-last td:last-child, .nx-table--highlight-last thead th:last-child {
    background: rgba(214, 180, 106, 0.07);
}
.nx-table--highlight-last td:last-child { color: var(--nx-ink); }
/* --stack : sous 720 px, chaque ligne devient un bloc, chaque cellule porte
   son en-tête via data-label="…". Pour les comparatifs de 3 colonnes et plus
   lus au téléphone, plutôt que le défilement horizontal. */
@media (max-width: 719px) {
    .nx-table--stack { min-width: 0; background: transparent; }
    .nx-table-wrap:has(.nx-table--stack) { overflow: visible; border: 0; border-radius: 0; }
    .nx-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .nx-table--stack, .nx-table--stack tbody, .nx-table--stack tr, .nx-table--stack td, .nx-table--stack th { display: block; }
    .nx-table--stack tr { border: 1px solid var(--nx-line-cool); border-radius: var(--nx-r-card); background: var(--nx-card); padding: 6px 0; }
    .nx-table--stack tr + tr { margin-top: 12px; }
    .nx-table--stack td, .nx-table--stack th { border: 0; padding: 8px 16px; }
    .nx-table--stack td[data-label]::before { content: attr(data-label); display: block; font-size: var(--nx-fs-label); color: var(--nx-faint); font-weight: 600; margin-bottom: 2px; }
    /* La légende resterait table-caption, rétractée dans une boîte anonyme
       étroite : en bloc, elle se lit en tête de la pile, pleine largeur. */
    .nx-table--stack caption { display: block; text-align: left; padding: 0 0 14px; }
}

/* --------------------------------------------------------------------------
   FAQ, accordéons natifs details/summary
   -------------------------------------------------------------------------- */

/* .nx-faq et .nx-accordion : UNE famille. Des rangées séparées par un
   filet, pas des cartes empilées ; un chevron dessiné ; l'ouverture glisse
   là où le navigateur sait animer la hauteur (::details-content). */
.nx-faq, .nx-accordion { display: grid; max-width: 780px; margin-inline: auto; border-top: 1px solid var(--nx-line-cool); }
.nx-accordion { max-width: none; margin-inline: 0; }
.nx-faq details, .nx-accordion details {
    border-bottom: 1px solid var(--nx-line-cool);
    interpolate-size: allow-keywords;
}
.nx-faq summary, .nx-accordion summary {
    list-style: none;
    cursor: pointer;
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 16px 48px 16px 0;
    font-weight: 600;
    font-size: 1.04rem;
    line-height: 1.4;
    color: var(--nx-ink);
    position: relative;
    border-radius: 4px;
    transition: color var(--nx-dur-fast) ease;
    -webkit-tap-highlight-color: transparent;
}
.nx-faq summary::-webkit-details-marker, .nx-accordion summary::-webkit-details-marker { display: none; }
.nx-faq summary::after, .nx-accordion summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -7px;
    border-right: 1.6px solid var(--nx-gold-2);
    border-bottom: 1.6px solid var(--nx-gold-2);
    transform: rotate(45deg);
    transition: transform var(--nx-dur) var(--nx-ease-out);
}
.nx-faq summary:hover, .nx-accordion summary:hover { color: var(--nx-gold-soft); }
.nx-faq details[open] summary, .nx-accordion details[open] summary { color: var(--nx-gold-soft); }
.nx-faq details[open] summary::after, .nx-accordion details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.nx-faq .nx-faq__body, .nx-accordion .nx-accordion__body { padding: 0 48px 22px 0; color: var(--nx-muted); max-width: 68ch; }
.nx-faq .nx-faq__body > * + *, .nx-accordion .nx-accordion__body > * + * { margin-top: 0.7em; }
.nx-faq .nx-faq__body a, .nx-accordion .nx-accordion__body a { color: var(--nx-gold-2); }
.nx-faq details::details-content, .nx-accordion details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size var(--nx-dur) var(--nx-ease-out), content-visibility var(--nx-dur) allow-discrete;
}
.nx-faq details[open]::details-content, .nx-accordion details[open]::details-content { block-size: auto; }
@media (max-width: 719px) {
    .nx-faq summary, .nx-accordion summary { padding-right: 36px; font-size: 1rem; }
    .nx-faq .nx-faq__body, .nx-accordion .nx-accordion__body { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-faq details::details-content, .nx-accordion details::details-content { transition: none; }
}

/* --------------------------------------------------------------------------
   nx-plus : l'approfondissement replié (12/10)
   Un <details class="nx-plus"> range le texte de référence (SEO) sous une
   ligne cliquable : la page se lit d'abord en court, le détail reste dans le
   DOM, donc indexé. Même grammaire que .nx-faq (filet froid, chevron doré
   dessiné, ouverture qui glisse) ; sans JS. Plusieurs à la suite partagent
   leurs filets.
   -------------------------------------------------------------------------- */

.nx-plus {
    max-width: 780px;
    margin-block: var(--nx-space-5) 0;
    border-top: 1px solid var(--nx-line-cool);
    border-bottom: 1px solid var(--nx-line-cool);
    interpolate-size: allow-keywords;
}
.nx-plus + .nx-plus { margin-top: 0; border-top: 0; }
.nx-plus > summary {
    list-style: none;
    cursor: pointer;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nx-space-4);
    padding: 14px 4px 14px 0;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--nx-ink);
    border-radius: 6px;
    overflow-wrap: break-word;
    transition: color var(--nx-dur-fast) ease;
    -webkit-tap-highlight-color: transparent;
}
.nx-plus > summary::-webkit-details-marker { display: none; }
.nx-plus > summary::marker { content: ""; }
.nx-plus > summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin: -3px 6px 0 0;
    border-right: 1.6px solid var(--nx-gold-2);
    border-bottom: 1.6px solid var(--nx-gold-2);
    transform: rotate(45deg);
    transition: transform var(--nx-dur) var(--nx-ease-out);
}
.nx-plus > summary:hover, .nx-plus[open] > summary { color: var(--nx-gold-soft); }
.nx-plus > summary:focus-visible { outline: 2px solid var(--nx-gold-2); outline-offset: -2px; }
.nx-plus[open] > summary::after { transform: translateY(5px) rotate(225deg); }
.nx-plus__corps { max-width: 65ch; padding: 0 0 var(--nx-space-5); color: var(--nx-muted); line-height: 1.7; }
.nx-plus__corps > * + * { margin-top: 0.85em; }
.nx-plus__corps h3, .nx-plus__corps h4 { font-family: var(--nx-font-head); font-weight: 600; color: var(--nx-ink); line-height: 1.25; margin-top: 1.4em; }
.nx-plus__corps strong { color: var(--nx-ink); font-weight: 600; }
.nx-plus__corps a { color: var(--nx-gold-2); text-decoration: underline; text-decoration-color: rgba(214, 180, 106, 0.45); }
.nx-plus__corps ul, .nx-plus__corps ol { padding-left: 1.25em; display: grid; gap: 0.45em; }
.nx-plus__corps li::marker { color: var(--nx-gold); }
.nx-plus::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size var(--nx-dur) var(--nx-ease-out), content-visibility var(--nx-dur) allow-discrete;
}
.nx-plus[open]::details-content { block-size: auto; }
@media (max-width: 719px) {
    .nx-plus > summary { font-size: 0.97rem; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-plus::details-content, .nx-plus > summary::after { transition: none; }
}

/* Aération (12/10) : largeur de lecture des textes d'en-tête de section.
   :where() = spécificité nulle, un max-width plus précis garde la main. */
:where(.nx-section-head p:not(.nx-eyebrow)) { max-width: 68ch; }
:where(.nx-section-head--center p) { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

.nx-field { display: grid; gap: 7px; }
.nx-field > label { font-weight: 600; font-size: 0.92rem; color: var(--nx-ink); }
.nx-input, .nx-select, .nx-textarea {
    width: 100%;
    box-sizing: border-box; /* sinon le padding déborde du cadre (champ texte sur iPhone, 04/10) */
    min-height: 48px;
    padding: 12px 16px;
    border-radius: var(--nx-r-md);
    border: 1px solid rgba(179, 188, 220, 0.22);
    background: rgba(7, 15, 28, 0.55);
    color: var(--nx-ink);
    font: inherit;
    font-size: max(16px, 1rem); /* 16 px : pas de zoom iOS au focus */
    caret-color: var(--nx-gold-2);
    transition: border-color var(--nx-dur-fast) ease, box-shadow var(--nx-dur-fast) ease;
}
.nx-input:hover, .nx-select:hover, .nx-textarea:hover { border-color: rgba(179, 188, 220, 0.36); }
.nx-input:focus, .nx-select:focus, .nx-textarea:focus { border-color: var(--nx-gold); outline: none; box-shadow: 0 0 0 3px rgba(214, 180, 106, 0.2); }
.nx-input:disabled, .nx-select:disabled, .nx-textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.nx-input[aria-invalid="true"], .nx-textarea[aria-invalid="true"], .nx-select[aria-invalid="true"] { border-color: var(--nx-danger); }
.nx-field__error { color: #fca5a5; font-size: var(--nx-fs-small); margin: 0; }
.nx-input::placeholder, .nx-textarea::placeholder { color: var(--nx-faint); }
.nx-form-grid { display: grid; gap: 16px; }

/* --------------------------------------------------------------------------
   Listes à coches
   -------------------------------------------------------------------------- */

.nx-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nx-checklist li { position: relative; padding-left: 34px; color: var(--nx-muted); }
.nx-checklist li strong { color: var(--nx-ink); font-weight: 600; }
.nx-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: rgba(214, 180, 106, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2d58a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
    border: 1px solid var(--nx-line);
}
/* --cards (accueil, « Inclus », 07/10) : chaque coche devient une petite
   carte pleine (filet froid, coche dorée agrandie) ; une colonne, deux dès
   720 px, trois dès 1024 px ; une dernière carte seule sur sa rangée prend
   toute la largeur. Posée avec .nx-reveal : la liste ne bouge pas, ses
   cartes arrivent en décalé (par `translate`, pour ne pas retarder le
   survol). */
.nx-checklist--cards { gap: 12px; margin-top: var(--nx-space-6); }
.nx-checklist--cards > li {
    padding: 18px 18px 18px 58px;
    border: 1px solid var(--nx-line-cool);
    border-radius: var(--nx-r-card);
    background: linear-gradient(180deg, var(--nx-card-2) 0%, var(--nx-card) 75%);
    box-shadow: var(--nx-shadow-soft);
    line-height: 1.55;
    transition: translate var(--nx-dur) var(--nx-ease-out), border-color var(--nx-dur-fast) var(--nx-ease-out), box-shadow var(--nx-dur) var(--nx-ease-out);
}
.nx-checklist--cards > li::before {
    left: 18px;
    top: 18px;
    width: 26px;
    height: 26px;
    background-color: rgba(214, 180, 106, 0.16);
    background-size: 13px;
    border-color: var(--nx-line-strong);
    box-shadow: 0 0 18px -4px rgba(214, 180, 106, 0.45);
}
.nx-checklist--cards > li a {
    display: table;
    margin-top: 8px;
    color: var(--nx-gold-2);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(242, 213, 138, 0.35);
    text-underline-offset: 3px;
}
.nx-checklist--cards > li a:hover { color: var(--nx-gold-soft); text-decoration-color: currentColor; }
@media (min-width: 720px) {
    .nx-checklist--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .nx-checklist--cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .nx-checklist--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .nx-checklist--cards > li:last-child:nth-child(odd) { grid-column: auto; }
    .nx-checklist--cards > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
@media (hover: hover) {
    .nx-checklist--cards > li:hover,
    .nx-checklist--cards > li:focus-within {
        translate: 0 -3px;
        border-color: var(--nx-line-strong);
        box-shadow: 0 24px 46px -30px rgba(214, 180, 106, 0.42), var(--nx-shadow-soft);
    }
}
html.js .nx-checklist--cards.nx-reveal { opacity: 1; transform: none; transition: none; }
html.js .nx-checklist--cards.nx-reveal > li {
    opacity: 0;
    translate: 0 14px;
    transition-property: opacity, translate, border-color, box-shadow;
    transition-duration: var(--nx-dur-slow), var(--nx-dur-slow), var(--nx-dur-fast), var(--nx-dur);
    transition-timing-function: var(--nx-ease-out);
    transition-delay: var(--nx-stagger, 0s), var(--nx-stagger, 0s), 0s, 0s;
}
html.js .nx-checklist--cards.nx-reveal.is-visible > li { opacity: 1; translate: none; }
html.js .nx-checklist--cards.nx-reveal.is-visible > li:hover,
html.js .nx-checklist--cards.nx-reveal.is-visible > li:focus-within { translate: 0 -3px; transition-delay: 0s; }
.nx-checklist--cards > li:nth-child(2) { --nx-stagger: 0.07s; }
.nx-checklist--cards > li:nth-child(3) { --nx-stagger: 0.14s; }
.nx-checklist--cards > li:nth-child(4) { --nx-stagger: 0.21s; }
.nx-checklist--cards > li:nth-child(5) { --nx-stagger: 0.28s; }
.nx-checklist--cards > li:nth-child(6) { --nx-stagger: 0.35s; }
.nx-checklist--cards > li:nth-child(n+7) { --nx-stagger: 0.42s; }
@media (hover: none) {
    html.js .nx-checklist--cards.nx-reveal.is-visible > li:hover { translate: none; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-checklist--cards > li,
    html.js .nx-checklist--cards.nx-reveal > li { opacity: 1; translate: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Conversation d'appel (exemples d'appels, démos)
   -------------------------------------------------------------------------- */

.nx-convo { display: grid; gap: 10px; }
.nx-convo__bubble {
    max-width: 88%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.nx-convo__bubble--caller {
    justify-self: start;
    background: var(--nx-surface-2);
    border: 1px solid var(--nx-line-cool);
    color: var(--nx-ink);
    border-bottom-left-radius: 5px;
}
.nx-convo__bubble--ai {
    justify-self: end;
    background: rgba(214, 180, 106, 0.13);
    border: 1px solid var(--nx-line);
    color: var(--nx-gold-soft);
    border-bottom-right-radius: 5px;
}
.nx-convo__who { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--nx-faint); margin-bottom: 3px; }
.nx-convo__bubble--ai .nx-convo__who { color: var(--nx-gold); }

/* --------------------------------------------------------------------------
   En-tête public nx (remplace site-header--public sur toutes les pages)
   Refonte 07/10 : fond plein (plus de flou décoratif), cibles de 44 px,
   panneaux qui entrent en fondu court, menu mobile plein écran en 100dvh.
   Le même balisage vit aussi dans base.html (pages hors _nx_base) : ne
   s'appuyer que sur les classes communes aux deux copies.
   -------------------------------------------------------------------------- */

.nx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #070b18; /* plein : à 94 %, le texte défilait lisiblement dessous sur iPhone (07/11) */
    border-bottom: 1px solid rgba(150, 165, 205, 0.1);
    padding-top: env(safe-area-inset-top, 0px);
}
.nx-header__inner {
    width: min(100% - 40px, 1280px);
    margin-inline: auto;
    height: var(--nx-header-h);
    display: flex;
    align-items: center;
    gap: 20px;
}
.nx-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; flex-shrink: 0; border-radius: 10px; }
.nx-brand__icon { width: 38px; height: 38px; border-radius: 11px; display: block; }
.nx-brand__name {
    font-family: var(--nx-font-head);
    font-weight: 700;
    font-size: 1.24rem;
    color: var(--nx-ink);
    letter-spacing: -0.015em;
}
.nx-brand__name em { font-style: normal; color: var(--nx-gold-2); }

.nx-nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nx-nav__item { position: relative; }
.nx-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--nx-muted);
    font: inherit;
    font-weight: 550;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: color var(--nx-dur-fast) ease, background-color var(--nx-dur-fast) ease;
    -webkit-tap-highlight-color: transparent;
}
.nx-nav__trigger:hover, .nx-nav__item.is-open .nx-nav__trigger { color: var(--nx-ink); background: rgba(255, 255, 255, 0.05); }
.nx-nav__trigger[aria-current="page"], .nx-nav__trigger.is-active { color: var(--nx-gold-2); }
.nx-nav__trigger:focus-visible { outline-offset: 0; border-radius: 999px; }
.nx-nav__trigger .nx-caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform var(--nx-dur) var(--nx-ease-out); opacity: 0.8; }
.nx-nav__item.is-open .nx-caret { transform: rotate(225deg) translateY(-1px); }

.nx-nav__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 320px;
    background: #111a35;
    border: 1px solid rgba(150, 165, 205, 0.16);
    border-radius: var(--nx-r-card);
    box-shadow: 0 28px 60px -20px rgba(2, 6, 16, 0.9);
    padding: 8px;
    display: none;
    z-index: 1001;
    opacity: 1;
    transition: opacity var(--nx-dur-fast) ease, translate var(--nx-dur) var(--nx-ease-out), display var(--nx-dur-fast) allow-discrete;
    translate: 0 0;
}
.nx-nav__item.is-open .nx-nav__panel { display: block; }
@starting-style {
    .nx-nav__item.is-open .nx-nav__panel { opacity: 0; translate: 0 -6px; }
}
.nx-nav__panel--wide { min-width: 560px; grid-template-columns: 1fr 1fr; gap: 2px; }
.nx-nav__item.is-open .nx-nav__panel--wide { display: grid; }
.nx-nav__panel a {
    display: block;
    padding: 11px 14px;
    border-radius: var(--nx-r-md);
    text-decoration: none;
    transition: background-color var(--nx-dur-fast) ease;
}
.nx-nav__panel a:hover { background: rgba(214, 180, 106, 0.08); }
.nx-nav__panel a:hover strong { color: var(--nx-gold-soft); }
.nx-nav__panel a:focus-visible { outline-offset: -2px; border-radius: var(--nx-r-md); }
.nx-nav__panel a[aria-current="page"] strong { color: var(--nx-gold-2); }
.nx-nav__panel a strong { display: block; color: var(--nx-ink); font-weight: 600; font-size: 0.95rem; transition: color var(--nx-dur-fast) ease; }
.nx-nav__panel a small { display: block; color: var(--nx-faint); font-size: 0.82rem; line-height: 1.4; margin-top: 2px; }

.nx-header__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.nx-header__login {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--nx-muted);
    text-decoration: none;
    font-weight: 550;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color var(--nx-dur-fast) ease;
}
.nx-header__login:hover { color: var(--nx-ink); }

.nx-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(179, 188, 220, 0.22);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: border-color var(--nx-dur-fast) ease, background-color var(--nx-dur-fast) ease;
}
.nx-burger:hover { border-color: var(--nx-line-strong); }
.nx-burger:active { background: rgba(255, 255, 255, 0.05); }
.nx-burger span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--nx-ink); transition: transform var(--nx-dur) var(--nx-ease-out), opacity var(--nx-dur-fast) ease; }
body.nx-menu-open .nx-burger { border-color: var(--nx-line-strong); }
body.nx-menu-open .nx-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nx-menu-open .nx-burger span:nth-child(2) { opacity: 0; }
body.nx-menu-open .nx-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1023px) {
    .nx-header__inner { width: min(100% - 32px, 1280px); gap: 12px; }
    .nx-burger { display: flex; }
    /* Entre 480 et 1023 px, le bouton « Tester la démo » reste dans la barre ;
       la connexion passe dans le tiroir. */
    .nx-header__login { display: none; }
    .nx-header__actions ~ .nx-burger { margin-left: 0; }
    .nx-nav {
        display: none;
        position: fixed;
        top: calc(var(--nx-header-h) + env(safe-area-inset-top, 0px));
        left: 0;
        right: 0;
        height: calc(100vh - var(--nx-header-h) - env(safe-area-inset-top, 0px));
        height: calc(100dvh - var(--nx-header-h) - env(safe-area-inset-top, 0px));
        background: var(--nx-nuit-1);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 999;
    }
    body.nx-menu-open .nx-nav { display: flex; animation: nx-drawer-in var(--nx-dur) var(--nx-ease-out); }
    body.nx-menu-open { overflow: hidden; }
    .nx-nav__item { border-bottom: 1px solid rgba(150, 165, 205, 0.1); }
    .nx-nav__trigger {
        width: 100%;
        min-height: 60px;
        justify-content: space-between;
        padding: 14px 4px;
        font-family: var(--nx-font-head);
        font-weight: 600;
        font-size: 1.22rem;
        color: var(--nx-ink);
        border-radius: 0;
    }
    .nx-nav__trigger:hover, .nx-nav__item.is-open .nx-nav__trigger { background: transparent; }
    .nx-nav__item.is-open .nx-nav__trigger { color: var(--nx-gold-2); }
    .nx-nav__panel, .nx-nav__panel--wide {
        position: static;
        transform: none;
        translate: none;
        min-width: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        padding: 0 0 14px;
    }
    .nx-nav__panel--wide { grid-template-columns: 1fr; }
    .nx-nav__panel a { min-height: 48px; padding: 10px 4px 10px 14px; border-radius: 10px; }
    .nx-nav__panel a small { display: none; }
    .nx-nav__mobile-actions {
        display: grid;
        gap: 10px;
        position: sticky;
        bottom: 0;
        margin-top: auto;
        padding: 18px 0 max(18px, env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(10, 15, 31, 0), var(--nx-nuit-1) 22%);
    }
    .nx-nav__mobile-actions .nx-btn { width: 100%; }
}
@media (max-width: 479px) {
    .nx-header__actions { display: none; }
    .nx-header__actions ~ .nx-burger { margin-left: auto; }
    .nx-brand__name { font-size: 1.16rem; }
}
@media (min-width: 1024px) {
    .nx-nav__mobile-actions { display: none; }
}
@keyframes nx-drawer-in { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
    body.nx-menu-open .nx-nav { animation: none; }
    .nx-nav__panel { transition: none; }
}

/* --------------------------------------------------------------------------
   Pied de page nx
   Hiérarchie : la marque et sa promesse, puis quatre colonnes de liens
   (titre clair, liens secondaires), puis une ligne de bas en ton tertiaire
   avec le badge ElevenLabs (site-footer__grant, obligatoire).
   -------------------------------------------------------------------------- */

.nx-footer {
    background: var(--nx-nuit-0);
    border-top: 1px solid rgba(150, 165, 205, 0.1);
    padding: clamp(48px, 7vw, 88px) 0 max(28px, env(safe-area-inset-bottom, 0px));
    margin-top: clamp(40px, 7vw, 90px);
}
.nx-footer__inner {
    width: min(100% - 40px, 1280px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 48px);
}
.nx-footer__brand img { width: 48px; height: 48px; border-radius: 13px; display: block; }
.nx-footer__brand p { color: var(--nx-muted); font-size: 0.95rem; line-height: 1.6; margin: 16px 0 0; max-width: 32ch; }
.nx-footer__brand .nx-footer__pitch {
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: 1.12rem;
    line-height: 1.4;
    color: var(--nx-ink);
}
.nx-footer__brand .nx-small { color: var(--nx-faint); font-family: var(--nx-font-body); font-weight: 400; font-size: var(--nx-fs-small); }
.nx-footer__brand a.nx-footer__tel { color: var(--nx-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nx-footer__brand a.nx-footer__tel:hover { color: var(--nx-gold-2); }
.nx-footer__title {
    display: block;
    font-family: var(--nx-font-body);
    font-weight: 600;
    color: var(--nx-ink);
    font-size: 0.9rem;
    letter-spacing: 0.005em;
    margin-bottom: 14px;
}
.nx-footer nav { display: grid; gap: 4px; align-content: start; }
.nx-footer nav a, .nx-footer nav button {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--nx-muted);
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
    justify-self: start;
    transition: color var(--nx-dur-fast) ease;
}
.nx-footer nav a:hover, .nx-footer nav button:hover { color: var(--nx-gold-2); }
.nx-footer nav a[aria-current="page"] { color: var(--nx-gold-2); }
.nx-footer__bottom {
    width: min(100% - 40px, 1280px);
    margin: clamp(36px, 5vw, 56px) auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(150, 165, 205, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    align-items: center;
    justify-content: space-between;
    /* Ton tertiaire OPAQUE (#8E99BF) : 6,98:1 sur --nx-nuit-0. Remplace
       l'alpha .68 du 27/09 qui ne tenait qu'à 4,82:1. */
    color: var(--nx-faint);
    font-size: var(--nx-fs-small);
}
.nx-footer__bottom a { color: var(--nx-muted); }
.nx-footer__bottom a:hover { color: var(--nx-gold-2); }
.nx-footer__bottom .site-footer__grant { margin: 0; }
@media (max-width: 1023px) {
    .nx-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
    .nx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
    /* Deux colonnes gardées jusqu'à 320 px : le pied fait moitié moins long. */
    .nx-footer__inner { width: min(100% - 32px, 1280px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
    .nx-footer__bottom { width: min(100% - 32px, 1280px); flex-direction: column; align-items: flex-start; }
    .nx-footer nav a, .nx-footer nav button { font-size: 0.9rem; }
}
@media (pointer: coarse) {
    .nx-footer nav { gap: 0; }
    .nx-footer nav a, .nx-footer nav button { min-height: 44px; }
}
/* Mobile : la cible de 44 px ne dépend plus du seul pointeur (un navigateur
   étroit au pointeur « fin » la perdait), et vaut aussi pour le téléphone,
   l'e-mail et les liens du bas de pied (22/10/2026). */
@media (max-width: 540px) {
    .nx-footer nav { gap: 0; }
    .nx-footer nav a, .nx-footer nav button { min-height: 44px; }
    .nx-footer__brand a.nx-footer__tel,
    .nx-footer__bottom a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

/* --------------------------------------------------------------------------
   Apparition douce au défilement
   Une seule entrée, courte, en sortie exponentielle. VISIBLE PAR DÉFAUT :
   elle ne se masque que si le JS est là (html.js, posé dans le <head>), et
   jamais sous prefers-reduced-motion. Les --d1..d3 décalent légèrement.
   -------------------------------------------------------------------------- */

.nx-reveal { opacity: 1; transform: none; }
html.js .nx-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--nx-dur-slow) var(--nx-ease-out), transform var(--nx-dur-slow) var(--nx-ease-out);
}
html.js .nx-reveal.is-visible { opacity: 1; transform: none; }
.nx-reveal--d1 { transition-delay: 0.06s; }
.nx-reveal--d2 { transition-delay: 0.12s; }
.nx-reveal--d3 { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
    .nx-reveal, html.js .nx-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   COMPOSANTS DE COMPOSITION (refonte 07/10)
   Pour sortir des grilles de cartes identiques : bande pleine largeur,
   colonne collante, liste à deux colonnes, chronologie, récit d'appel,
   preuve chiffrée dans une phrase, lignes éditoriales, scène de héros.
   Documentés dans DESIGN.md (racine du dépôt).
   ========================================================================== */

/* Bande pleine largeur : change le sol de la page pour un moment fort.
   Placée HORS d'un .nx-container (avec un .nx-container dedans), ou, si elle
   est imbriquée, avec --bleed qui la fait sortir du conteneur. */
.nx-band {
    position: relative;
    background: var(--nx-band-bg);
    border-block: 1px solid rgba(150, 165, 205, 0.1);
    padding: var(--nx-section-y) 0;
}
.nx-band--tight { padding: var(--nx-section-y-tight) 0; }
.nx-band--deep { background: var(--nx-band-deep); }
.nx-band--gold {
    background:
        radial-gradient(70% 120% at 50% 0%, rgba(214, 180, 106, 0.13), transparent 70%),
        #10162c;
    border-color: var(--nx-line);
}
.nx-band--bleed { margin-inline: calc(50% - 50vw); padding-inline: max(20px, calc(50vw - 50% )); }

/* Colonne collante : un titre (et son lien) qui reste en vue pendant qu'on
   lit la liste voisine. Une colonne sous 1024 px. */
.nx-aside {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.75fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}
.nx-aside__head { position: sticky; top: calc(var(--nx-header-h) + 32px); }
.nx-aside__head .nx-lead { font-size: 1.04rem; }
@media (max-width: 1023px) {
    .nx-aside { grid-template-columns: minmax(0, 1fr); }
    .nx-aside__head { position: static; }
}

/* Liste à deux colonnes : des rangées à filet (pas des cartes), une vignette
   optionnelle, un titre, un texte, un lien. --single = une colonne. */
.nx-list-2 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(28px, 4vw, 56px);
}
.nx-list-2--single { grid-template-columns: minmax(0, 1fr); }
.nx-list-2 > li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 18px;
    align-content: start;
    padding: 24px 0 26px;
    border-top: 1px solid rgba(150, 165, 205, 0.14);
}
.nx-list-2 > li > :not(.nx-list-2__media) { grid-column: 2; }
.nx-list-2__media {
    grid-row: 1 / span 4;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    background: #020619;
    border: 1px solid rgba(150, 165, 205, 0.12);
}
.nx-list-2__title {
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: 1.22rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--nx-ink);
    margin: 0;
}
.nx-list-2 > li p { margin: 4px 0 0; color: var(--nx-muted); max-width: 52ch; }
.nx-list-2 > li .nx-link-arrow { margin-top: 2px; justify-self: start; }
.nx-list-2__links { display: flex; flex-wrap: wrap; column-gap: 20px; }
@media (max-width: 719px) {
    /* Au téléphone : la vignette se range à côté du titre, le texte prend
       toute la largeur (un tiers de lignes en moins). */
    .nx-list-2 { grid-template-columns: minmax(0, 1fr); }
    .nx-list-2 > li { grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 18px 0 14px; }
    .nx-list-2 > li > :not(.nx-list-2__media) { grid-column: 1 / -1; }
    .nx-list-2__media { grid-row: 1; width: 44px; height: 44px; border-radius: 12px; align-self: center; }
    .nx-list-2 > li > .nx-list-2__title { grid-column: 2; align-self: center; font-size: 1.14rem; }
    .nx-list-2 > li p { margin-top: 8px; }
}

/* --cards (accueil, 07/10) : les rangées deviennent des surfaces posées,
   carte pleine, filet froid de 1 px, vignette agrandie pour que chaque pose
   de la mascotte se lise. Au survol (souris seulement) : filet doré, lueur
   chaude par en haut, 4 px d'élévation. L'élévation passe par `translate`,
   pas `transform`, pour ne pas hériter du délai de l'apparition .nx-reveal. */
.nx-list-2--cards { gap: 18px; }
.nx-list-2--cards > li {
    position: relative;
    isolation: isolate;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 4px 16px;
    padding: 22px 24px 18px;
    border: 1px solid var(--nx-line-cool);
    border-radius: var(--nx-r-card);
    background: linear-gradient(180deg, var(--nx-card-2) 0%, var(--nx-card) 70%);
    box-shadow: var(--nx-shadow-soft);
    transition: translate var(--nx-dur) var(--nx-ease-out), border-color var(--nx-dur-fast) var(--nx-ease-out), box-shadow var(--nx-dur) var(--nx-ease-out);
}
.nx-list-2--cards > li::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(90% 70% at 20% 0%, rgba(214, 180, 106, 0.16), transparent 70%);
    opacity: 0;
    transition: opacity var(--nx-dur) var(--nx-ease-out);
    pointer-events: none;
}
.nx-list-2--cards > li > :not(.nx-list-2__media) { grid-column: 1 / -1; }
.nx-list-2--cards > li > .nx-list-2__title { grid-column: 2; align-self: center; }
.nx-list-2--cards > li p { margin-top: 12px; }
.nx-list-2--cards .nx-list-2__media {
    grid-row: 1;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border-color: var(--nx-line);
    box-shadow: 0 12px 26px -18px rgba(214, 180, 106, 0.6);
    transition: transform var(--nx-dur) var(--nx-ease-out);
}
html.js .nx-list-2--cards > li.nx-reveal {
    transition-property: opacity, transform, translate, border-color, box-shadow;
    transition-duration: var(--nx-dur-slow), var(--nx-dur-slow), var(--nx-dur), var(--nx-dur-fast), var(--nx-dur);
    transition-timing-function: var(--nx-ease-out);
    transition-delay: var(--nx-stagger, 0s), var(--nx-stagger, 0s), 0s, 0s, 0s;
}
html.js .nx-list-2--cards > li.nx-reveal:nth-child(even) { --nx-stagger: 0.1s; }
@media (hover: hover) {
    .nx-list-2--cards > li:hover,
    .nx-list-2--cards > li:focus-within {
        translate: 0 -4px;
        border-color: var(--nx-line-strong);
        box-shadow: 0 28px 54px -30px rgba(214, 180, 106, 0.45), var(--nx-shadow-soft);
    }
    .nx-list-2--cards > li:hover::before,
    .nx-list-2--cards > li:focus-within::before { opacity: 1; }
    .nx-list-2--cards > li:hover .nx-list-2__media { transform: scale(1.06) rotate(-2deg); }
}
@media (max-width: 719px) {
    .nx-list-2--cards { gap: 12px; }
    .nx-list-2--cards > li { padding: 16px 16px 12px; gap: 2px 14px; grid-template-columns: 52px minmax(0, 1fr); }
    .nx-list-2--cards .nx-list-2__media { width: 52px; height: 52px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-list-2--cards > li, .nx-list-2--cards > li::before, .nx-list-2--cards .nx-list-2__media { transition: none; }
    .nx-list-2--cards > li:hover, .nx-list-2--cards > li:focus-within { translate: none; }
    .nx-list-2--cards > li:hover .nx-list-2__media { transform: none; }
}

/* Chronologie : jalons posés sur un rail, horizontale sur grand écran,
   verticale sous 720 px (ou --vertical). Pas de numéros : l'ordre se lit. */
.nx-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: clamp(24px, 3.5vw, 48px);
}
.nx-timeline__item { position: relative; padding-top: 34px; }
.nx-timeline__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid var(--nx-gold);
    background: var(--nx-nuit-1);
    box-sizing: border-box;
    z-index: 1;
}
.nx-timeline__item:last-child::before { background: var(--nx-gold); }
.nx-timeline__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 20px;
    right: calc(-1 * clamp(24px, 3.5vw, 48px) + 6px);
    height: 1px;
    background: linear-gradient(90deg, rgba(214, 180, 106, 0.6), rgba(214, 180, 106, 0.18));
}
.nx-timeline__when { display: block; font-size: var(--nx-fs-label); font-weight: 600; color: var(--nx-faint); margin-bottom: 6px; }
.nx-timeline__title {
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: var(--nx-fs-h3);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--nx-ink);
    margin: 0;
}
.nx-timeline__item p { color: var(--nx-muted); margin: 8px 0 0; max-width: 40ch; }
.nx-timeline--vertical { grid-auto-flow: row; grid-auto-columns: auto; gap: 28px; }
.nx-timeline--vertical .nx-timeline__item { padding: 0 0 0 34px; }
.nx-timeline--vertical .nx-timeline__item::before { top: 0.42em; }
.nx-timeline--vertical .nx-timeline__item:not(:last-child)::after {
    top: calc(0.42em + 15px); left: 6px; right: auto; bottom: -26px; width: 1px; height: auto;
    background: linear-gradient(180deg, rgba(214, 180, 106, 0.6), rgba(214, 180, 106, 0.18));
}
@media (max-width: 719px) {
    .nx-timeline { grid-auto-flow: row; grid-auto-columns: auto; gap: 26px; }
    .nx-timeline__item { padding: 0 0 0 34px; }
    .nx-timeline__item::before { top: 0.42em; }
    .nx-timeline__item:not(:last-child)::after {
        top: calc(0.42em + 15px); left: 6px; right: auto; bottom: -24px; width: 1px; height: auto;
        background: linear-gradient(180deg, rgba(214, 180, 106, 0.6), rgba(214, 180, 106, 0.18));
    }
}

/* --live (accueil, 07/10) : posée avec .nx-reveal, le rail se trace et les
   jalons s'allument l'un après l'autre ; le dernier (« Chaque jour ») garde
   une respiration dorée. Sans JS ou en mouvement réduit : l'état final. */
.nx-timeline--live .nx-timeline__item::before { box-shadow: 0 0 0 5px rgba(214, 180, 106, 0.08), 0 0 16px rgba(214, 180, 106, 0.3); }
.nx-timeline--live .nx-timeline__item:last-child::before { box-shadow: 0 0 0 6px rgba(214, 180, 106, 0.16), 0 0 22px rgba(242, 213, 138, 0.55); }
html.js .nx-timeline--live.nx-reveal { opacity: 1; transform: none; transition: none; }
html.js .nx-timeline--live.nx-reveal .nx-timeline__item {
    opacity: 0;
    translate: 0 10px;
    transition: opacity 0.6s var(--nx-ease-out), translate 0.6s var(--nx-ease-out);
}
html.js .nx-timeline--live.nx-reveal .nx-timeline__item::before {
    transform: scale(0.3);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
html.js .nx-timeline--live.nx-reveal .nx-timeline__item::after {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.8s var(--nx-ease-out);
}
html.js .nx-timeline--live.nx-reveal.is-visible .nx-timeline__item { opacity: 1; translate: none; }
html.js .nx-timeline--live.nx-reveal.is-visible .nx-timeline__item::before,
html.js .nx-timeline--live.nx-reveal.is-visible .nx-timeline__item::after { transform: none; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(1)::before { transition-delay: 0.1s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(1)::after { transition-delay: 0.25s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(2) { transition-delay: 0.45s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(2)::before { transition-delay: 0.55s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(2)::after { transition-delay: 0.7s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(3) { transition-delay: 0.9s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(3)::before { transition-delay: 1s; }
@media (prefers-reduced-motion: no-preference) {
    html.js .nx-timeline--live.is-visible .nx-timeline__item:last-child::before { animation: nx-timeline-breathe 3.2s ease-in-out 1.8s infinite; }
}
@keyframes nx-timeline-breathe {
    0%, 100% { box-shadow: 0 0 0 6px rgba(214, 180, 106, 0.16), 0 0 22px rgba(242, 213, 138, 0.55); }
    50% { box-shadow: 0 0 0 10px rgba(214, 180, 106, 0.05), 0 0 30px rgba(242, 213, 138, 0.3); }
}
@media (max-width: 719px) {
    html.js .nx-timeline--live.nx-reveal .nx-timeline__item::after { transform: scaleY(0); transform-origin: center top; }
}
@media (prefers-reduced-motion: reduce) {
    html.js .nx-timeline--live.nx-reveal .nx-timeline__item,
    html.js .nx-timeline--live.nx-reveal .nx-timeline__item::before,
    html.js .nx-timeline--live.nx-reveal .nx-timeline__item::after { opacity: 1; translate: none; transform: none; transition: none; animation: none; }
}

/* Récit d'appel : la transcription d'un vrai échange, comme un moment
   produit (barre d'appel, répliques, ce qui en sort). C'est LE moment de
   mouvement d'une page : posé avec .nx-reveal, ses répliques arrivent une
   à une ; la carte elle-même ne disparaît jamais. */
.nx-call-story {
    margin: 0;
    background: var(--nx-card);
    border: 1px solid rgba(150, 165, 205, 0.16);
    border-radius: var(--nx-r-lg);
    overflow: hidden;
    box-shadow: var(--nx-shadow);
}
.nx-call-story__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 16px;
    padding: 14px clamp(18px, 2.4vw, 26px);
    border-bottom: 1px solid rgba(150, 165, 205, 0.12);
    background: rgba(255, 255, 255, 0.02);
    font-size: var(--nx-fs-small);
}
.nx-call-story__status { display: inline-flex; align-items: center; gap: 9px; color: var(--nx-ink); font-weight: 600; }
.nx-call-story__status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nx-ok);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.14);
}
.nx-call-story__meta { color: var(--nx-faint); font-variant-numeric: tabular-nums; }
.nx-call-story__lines {
    list-style: none;
    margin: 0;
    padding: clamp(18px, 2.6vw, 28px) clamp(18px, 2.4vw, 26px);
    display: grid;
    gap: 14px;
}
.nx-call-story__line {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
}
.nx-call-story__who { font-size: var(--nx-fs-label); font-weight: 600; color: var(--nx-faint); }
.nx-call-story__line p { margin: 0; color: var(--nx-muted); line-height: 1.55; }
.nx-call-story__line--ai .nx-call-story__who { color: var(--nx-gold); }
.nx-call-story__line--ai p { color: var(--nx-ink); }
.nx-call-story__outcome {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px clamp(18px, 2.4vw, 26px);
    border-top: 1px solid var(--nx-line);
    background: rgba(214, 180, 106, 0.06);
    color: var(--nx-ink);
    font-size: 0.95rem;
    line-height: 1.5;
}
.nx-call-story__outcome::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--nx-gold-2);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 479px) {
    .nx-call-story__line { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
html.js .nx-call-story.nx-reveal { opacity: 1; transform: none; transition: none; }
html.js .nx-call-story.nx-reveal .nx-call-story__line,
html.js .nx-call-story.nx-reveal .nx-call-story__outcome {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--nx-ease-out), transform 0.5s var(--nx-ease-out);
}
html.js .nx-call-story.nx-reveal.is-visible .nx-call-story__line,
html.js .nx-call-story.nx-reveal.is-visible .nx-call-story__outcome { opacity: 1; transform: none; }
html.js .nx-call-story.is-visible .nx-call-story__line:nth-child(2) { transition-delay: 0.35s; }
html.js .nx-call-story.is-visible .nx-call-story__line:nth-child(3) { transition-delay: 0.7s; }
html.js .nx-call-story.is-visible .nx-call-story__line:nth-child(4) { transition-delay: 1.05s; }
html.js .nx-call-story.is-visible .nx-call-story__line:nth-child(5) { transition-delay: 1.4s; }
html.js .nx-call-story.is-visible .nx-call-story__line:nth-child(n+6) { transition-delay: 1.75s; }
html.js .nx-call-story.is-visible .nx-call-story__outcome { transition-delay: 2.1s; }
@media (prefers-reduced-motion: reduce) {
    html.js .nx-call-story.nx-reveal .nx-call-story__line,
    html.js .nx-call-story.nx-reveal .nx-call-story__outcome { opacity: 1; transform: none; transition: none; }
}

/* --live (accueil, lot 2, 07/10) : le récit se JOUE, comme la scène du héros,
   en boucle lente de 22 s. Chaque réplique arrive dans sa bulle (le client à
   gauche, Décroche à droite), précédée de trois points qui s'écrivent ; une
   onde en barres « parle » dans la barre d'appel pendant les répliques de
   Décroche ; le résumé tombe à la fin avec sa coche, puis tout s'efface et
   l'appel recommence. Les places sont réservées (opacité seule) : la carte
   ne change jamais de hauteur. CSS seul ; site-nuit.js met la boucle en
   pause hors écran ([data-nx-scene]). Sans mouvement : la transcription
   entière, en bulles, et l'onde au repos. */
.nx-call-story--live .nx-call-story__lines { gap: 12px; }
.nx-call-story--live .nx-call-story__line {
    position: relative;
    display: block;
    justify-self: start;
    max-width: min(88%, 46ch);
    padding: 10px 15px 12px;
    border: 1px solid var(--nx-line-cool);
    border-radius: 16px 16px 16px 5px;
    background: var(--nx-surface);
}
.nx-call-story--live .nx-call-story__line--ai {
    justify-self: end;
    border-color: var(--nx-line-strong);
    border-radius: 16px 16px 5px 16px;
    background: #1c2237;
    box-shadow: 0 14px 30px -22px rgba(214, 180, 106, 0.55);
}
.nx-call-story--live .nx-call-story__who { display: block; margin-bottom: 3px; font-size: 0.75rem; }
.nx-call-story--live .nx-call-story__line p { color: var(--nx-ink); }
.nx-call-story__typing { display: none; }
.nx-call-story__wave {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 18px;
    margin-right: auto;
    margin-left: 4px;
}
.nx-call-story__wave i {
    display: block;
    width: 3px;
    height: 18px;
    border-radius: 2px;
    background: var(--nx-gold-2);
    transform: scaleY(0.22);
}
.nx-call-story__wave i:nth-child(2), .nx-call-story__wave i:nth-child(6) { transform: scaleY(0.4); }
.nx-call-story__wave i:nth-child(3), .nx-call-story__wave i:nth-child(5) { transform: scaleY(0.6); }
.nx-call-story__wave i:nth-child(4) { transform: scaleY(0.8); }
.nx-call-story--live .nx-call-story__outcome::before { transform-origin: 50% 60%; }
@media (max-width: 479px) {
    .nx-call-story--live .nx-call-story__line { max-width: 94%; padding: 9px 13px 11px; }
}
@media (prefers-reduced-motion: no-preference) {
    .nx-call-story--live .nx-call-story__line,
    .nx-call-story--live .nx-call-story__outcome { transition: none; }
    .nx-call-story--live .nx-call-story__lines,
    .nx-call-story--live .nx-call-story__outcome { animation: nx-story-reset 22s linear infinite both; }
    .nx-call-story--live .nx-call-story__line:nth-child(1) { animation: nx-story-l1 22s var(--nx-ease-out) infinite both; }
    .nx-call-story--live .nx-call-story__line:nth-child(2) { animation: nx-story-l2 22s var(--nx-ease-out) infinite both; }
    .nx-call-story--live .nx-call-story__line:nth-child(3) { animation: nx-story-l3 22s var(--nx-ease-out) infinite both; }
    .nx-call-story--live .nx-call-story__line:nth-child(4) { animation: nx-story-l4 22s var(--nx-ease-out) infinite both; }
    .nx-call-story--live .nx-call-story__line:nth-child(1) p { animation: nx-story-p1 22s ease-out infinite both; }
    .nx-call-story--live .nx-call-story__line:nth-child(2) p { animation: nx-story-p2 22s ease-out infinite both; }
    .nx-call-story--live .nx-call-story__line:nth-child(3) p { animation: nx-story-p3 22s ease-out infinite both; }
    .nx-call-story--live .nx-call-story__line:nth-child(4) p { animation: nx-story-p4 22s ease-out infinite both; }
    /* Les points : une fenêtre d'environ 4 % de la boucle, décalée sur chaque
       réplique ; ils sont partis quand le texte arrive (début + 5 %). */
    .nx-call-story--live .nx-call-story__typing {
        position: absolute;
        left: 15px;
        top: 34px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        height: 1.2em;
        animation: nx-story-typing 22s linear infinite both;
    }
    .nx-call-story--live .nx-call-story__line:nth-child(1) .nx-call-story__typing { animation-delay: 0.44s; }
    .nx-call-story--live .nx-call-story__line:nth-child(2) .nx-call-story__typing { animation-delay: 2.86s; }
    .nx-call-story--live .nx-call-story__line:nth-child(3) .nx-call-story__typing { animation-delay: 8.36s; }
    .nx-call-story--live .nx-call-story__line:nth-child(4) .nx-call-story__typing { animation-delay: 10.78s; }
    .nx-call-story--live .nx-call-story__typing i {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--nx-muted);
        animation: nx-typing-dot 0.9s ease-in-out infinite;
    }
    .nx-call-story--live .nx-call-story__line--ai .nx-call-story__typing i { background: var(--nx-gold); }
    .nx-call-story--live .nx-call-story__typing i:nth-child(2) { animation-delay: 0.15s; }
    .nx-call-story--live .nx-call-story__typing i:nth-child(3) { animation-delay: 0.3s; }
    .nx-call-story--live .nx-call-story__wave { animation: nx-story-wave 22s linear infinite both; transform-origin: 50% 50%; }
    .nx-call-story--live .nx-call-story__wave i { animation: nx-story-bar 0.62s ease-in-out infinite alternate; }
    .nx-call-story--live .nx-call-story__wave i:nth-child(2) { animation-duration: 0.48s; animation-delay: -0.2s; }
    .nx-call-story--live .nx-call-story__wave i:nth-child(3) { animation-duration: 0.7s; animation-delay: -0.35s; }
    .nx-call-story--live .nx-call-story__wave i:nth-child(4) { animation-duration: 0.54s; animation-delay: -0.1s; }
    .nx-call-story--live .nx-call-story__wave i:nth-child(5) { animation-duration: 0.66s; animation-delay: -0.42s; }
    .nx-call-story--live .nx-call-story__wave i:nth-child(6) { animation-duration: 0.5s; animation-delay: -0.28s; }
    .nx-call-story--live .nx-call-story__wave i:nth-child(7) { animation-duration: 0.74s; animation-delay: -0.05s; }
    .nx-call-story--live .nx-call-story__outcome { animation-name: nx-story-outcome; animation-timing-function: var(--nx-ease-out); }
    .nx-call-story--live .nx-call-story__outcome::before { animation: nx-story-check 22s var(--nx-ease-out) infinite both; }
    .nx-call-story--live.is-paused *,
    .nx-call-story--live.is-paused *::before { animation-play-state: paused; }
}
/* Partition (22 s) : client 2 % → 8 %, Décroche 13 % → 18 % (parle
   jusqu'à 34 %), client 38 % → 43 %, Décroche 49 % → 54 % (parle jusqu'à
   74 %), résumé 78 %, effacement 93 → 99 %. */
@keyframes nx-story-reset {
    0%, 93% { opacity: 1; }
    97%, 99.9% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes nx-story-l1 { 0%, 2% { opacity: 0; transform: translateY(10px); } 4%, 100% { opacity: 1; transform: none; } }
@keyframes nx-story-l2 { 0%, 13% { opacity: 0; transform: translateY(10px); } 15%, 100% { opacity: 1; transform: none; } }
@keyframes nx-story-l3 { 0%, 38% { opacity: 0; transform: translateY(10px); } 40%, 100% { opacity: 1; transform: none; } }
@keyframes nx-story-l4 { 0%, 49% { opacity: 0; transform: translateY(10px); } 51%, 100% { opacity: 1; transform: none; } }
@keyframes nx-story-p1 { 0%, 8% { opacity: 0; } 10.5%, 100% { opacity: 1; } }
@keyframes nx-story-p2 { 0%, 18% { opacity: 0; } 20.5%, 100% { opacity: 1; } }
@keyframes nx-story-p3 { 0%, 43% { opacity: 0; } 45.5%, 100% { opacity: 1; } }
@keyframes nx-story-p4 { 0%, 54% { opacity: 0; } 56.5%, 100% { opacity: 1; } }
@keyframes nx-story-typing {
    0% { opacity: 0; }
    1%, 3.6% { opacity: 1; }
    4.6%, 100% { opacity: 0; }
}
@keyframes nx-story-wave {
    0%, 18% { transform: scaleY(0.35); opacity: 0.55; }
    19.5%, 33% { transform: none; opacity: 1; }
    35%, 54% { transform: scaleY(0.35); opacity: 0.55; }
    55.5%, 73% { transform: none; opacity: 1; }
    75%, 100% { transform: scaleY(0.35); opacity: 0.55; }
}
@keyframes nx-story-bar {
    from { transform: scaleY(0.25); }
    to { transform: scaleY(1); }
}
@keyframes nx-story-outcome {
    0%, 77% { opacity: 0; transform: translateY(-14px); }
    80% { opacity: 1; transform: translateY(2px); }
    82%, 93% { opacity: 1; transform: none; }
    97%, 99.9% { opacity: 0; transform: none; }
    100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes nx-story-check {
    0%, 79% { transform: scale(0); }
    82% { transform: scale(1.35); }
    85%, 100% { transform: none; }
}

/* Preuve chiffrée : le chiffre DANS une phrase, avec sa source à côté.
   Remplace les grilles de stats (gros chiffre + petite légende). */
.nx-proof {
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: clamp(1.35rem, 1.05rem + 1.25vw, 2.05rem);
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--nx-ink);
    max-width: 36ch;
    margin: 0;
    text-wrap: balance;
}
.nx-proof strong { color: var(--nx-gold-2); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nx-proof__source {
    display: block;
    margin-top: 14px;
    font-family: var(--nx-font-body);
    font-size: var(--nx-fs-small);
    font-weight: 400;
    letter-spacing: 0;
    color: var(--nx-faint);
}
.nx-proof__source a { color: var(--nx-muted); text-decoration: underline; text-decoration-color: rgba(179, 188, 220, 0.4); }
.nx-proof__source a:hover { color: var(--nx-gold-2); text-decoration-color: currentColor; }

/* --count (accueil, 07/10) : les chiffres de la phrase se POSENT, site-nuit.js
   les fait monter de 0 à leur valeur (largeur figée, la phrase ne bouge pas)
   puis rend le texte d'origine ; un trait doré se trace dessous. Sans JS ou
   en mouvement réduit : le chiffre final et son trait, d'emblée. */
.nx-proof--count strong {
    position: relative;
    display: inline-block;
    text-shadow: 0 0 28px rgba(242, 213, 138, 0.3);
}
.nx-proof--count strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.04em;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(214, 180, 106, 0), var(--nx-gold-2) 30%, var(--nx-gold-2) 70%, rgba(214, 180, 106, 0));
}
html.js .nx-proof--count.nx-reveal strong::after { transform: scaleX(0); transition: transform 0.9s var(--nx-ease-out) 0.8s; }
html.js .nx-proof--count.nx-reveal.is-visible strong::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .nx-proof--count.nx-reveal strong::after { transform: none; transition: none; }
}

/* Lignes éditoriales : une rangée = un lien entier (méta, titre, chapeau,
   flèche). Pour le blog, les guides, les ressources. */
.nx-lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(150, 165, 205, 0.14); }
.nx-lines__item { border-bottom: 1px solid rgba(150, 165, 205, 0.14); }
.nx-lines__link {
    display: grid;
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr) 24px;
    gap: 6px clamp(20px, 3vw, 40px);
    align-items: baseline;
    padding: clamp(20px, 2.6vw, 30px) 0;
    color: inherit;
    text-decoration: none;
}
.nx-lines__meta { grid-column: 1; grid-row: 1; font-size: var(--nx-fs-small); color: var(--nx-faint); font-variant-numeric: tabular-nums; }
.nx-lines__title {
    grid-column: 2;
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
    line-height: 1.25;
    letter-spacing: -0.012em;
    color: var(--nx-ink);
    margin: 0;
    transition: color var(--nx-dur-fast) ease;
}
.nx-lines__text { grid-column: 2; margin: 0; color: var(--nx-muted); max-width: 62ch; }
.nx-lines__link::after {
    content: "";
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    width: 20px;
    height: 20px;
    background: var(--nx-gold-2);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform var(--nx-dur) var(--nx-ease-out);
}
.nx-lines__link:hover .nx-lines__title { color: var(--nx-gold-soft); }
.nx-lines__link:hover::after { transform: translateX(4px); }
.nx-lines__link:focus-visible { outline-offset: 4px; border-radius: 8px; }
@media (max-width: 719px) {
    .nx-lines__link { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 14px; }
    .nx-lines__meta, .nx-lines__title, .nx-lines__text { grid-column: 1; grid-row: auto; }
    .nx-lines__link::after { grid-column: 2; grid-row: 1 / span 3; }
    /* Sur la ligne de base, la flèche qui couvre trois rangées repoussait
       le titre sous la méta (et décollait une ligne sans __text). */
    .nx-lines__link { align-items: start; }
}

/* Scène : la grande pose de la mascotte cadrée comme une image, pas
   détourée par un halo. Fond = le fond uni de hero.webp (#0c183d), filet
   doré, deux notes de produit posées dessus (--a en haut, --b en bas). */
.nx-scene {
    position: relative;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #0c183d;
    border: 1px solid var(--nx-line);
    box-shadow: var(--nx-shadow);
    aspect-ratio: 1400 / 933;
}
.nx-scene img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-mask: none; mask: none; }
.nx-scene__note {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 32px);
    padding: 9px 14px;
    border-radius: 12px;
    background: rgba(7, 11, 24, 0.9);
    border: 1px solid rgba(150, 165, 205, 0.18);
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.8);
    color: var(--nx-ink);
    font-size: var(--nx-fs-small);
    font-weight: 500;
    line-height: 1.35;
}
.nx-scene__note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nx-gold-2); flex-shrink: 0; }
.nx-scene__note strong { color: var(--nx-gold-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.nx-scene__note--a { top: 6%; left: 5%; }
.nx-scene__note--b { bottom: 6%; right: 5%; }
@media (max-width: 479px) {
    .nx-scene { border-radius: 20px; }
    .nx-scene__note { font-size: 0.78rem; padding: 7px 11px; }
    .nx-scene__note--a { top: 12px; left: 12px; }
    .nx-scene__note--b { bottom: 12px; right: 12px; }
}

/* Scène vivante (--live, accueil 07/10) : la scène JOUE un appel en boucle
   lente de 14 s, la sonnerie, le décroché (le point passe au vert), une
   réplique du client qui s'écrit, la réponse de Décroche, le résumé posé dans
   l'application. Les répliques sont reprises du récit d'appel de la même
   page : aucun texte inventé. CSS seul ; site-nuit.js met la boucle en pause
   hors écran. Sans mouvement (prefers-reduced-motion) : l'état d'origine,
   les deux notes fixes, les répliques masquées. */
.nx-scene--live {
    isolation: isolate;
    border-color: var(--nx-line-strong);
    box-shadow: 0 46px 100px -46px rgba(214, 180, 106, 0.5), 0 30px 60px -24px rgba(2, 6, 16, 0.85);
}
.nx-scene--live::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(70% 55% at 88% 0%, rgba(242, 213, 138, 0.18), transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 28%);
}
.nx-scene--live .nx-scene__note { z-index: 2; }
.nx-scene__note--done::before {
    width: 15px;
    height: 15px;
    border-radius: 0;
    background: var(--nx-gold-2);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nx-scene__talk {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 6%;
    z-index: 2;
    display: grid;
    justify-items: start;
    align-items: end;
}
/* Toutes les répliques partent de la GAUCHE (lot 2, 07/10) : en bas à droite
   de l'écran, la bulle d'aide du widget vocal (fixe, 264 × 104 au-delà de
   1024 px) recouvrait la réponse de Décroche et le résumé à 1440 × 900. Les
   répliques ne sont jamais à l'écran ensemble : les aligner ne mélange pas
   les voix, le nom et le filet doré les distinguent. */
.nx-scene__talk > * { grid-area: 1 / 1; }
.nx-scene__talk > .nx-scene__note { position: relative; inset: auto; }
.nx-scene__bubble {
    display: none;
    margin: 0;
    max-width: min(100%, 34ch);
    padding: 9px 14px 11px;
    border-radius: 14px;
    background: rgba(7, 11, 24, 0.92);
    border: 1px solid rgba(150, 165, 205, 0.2);
    box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.85);
    color: var(--nx-ink);
    font-size: var(--nx-fs-small);
    line-height: 1.4;
}
.nx-scene__bubble--client { justify-self: start; border-bottom-left-radius: 4px; }
.nx-scene__bubble--ai { justify-self: start; border-color: var(--nx-line-strong); border-bottom-left-radius: 4px; }
.nx-scene__who { display: block; margin-bottom: 2px; font-size: 0.72rem; font-weight: 600; color: var(--nx-faint); }
.nx-scene__bubble--ai .nx-scene__who { color: var(--nx-gold); }
.nx-scene__line, .nx-scene__said { display: block; }
.nx-scene__typing { display: inline-flex; align-items: center; gap: 4px; height: 1.2em; }
.nx-scene__bubble--typing { padding: 9px 14px; }
.nx-scene__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--nx-muted); }
@media (max-width: 479px) {
    .nx-scene__talk { left: 12px; right: 12px; bottom: 12px; }
    .nx-scene__bubble { font-size: 0.78rem; padding: 7px 11px 8px; max-width: 84%; }
    .nx-scene__who { font-size: 0.68rem; }
}
@media (max-width: 359px) {
    /* 320 px : la scène prend un cadre plus haut pour que les bulles ne
       couvrent pas le visage, les notes se resserrent sur une ligne. */
    .nx-scene--live { aspect-ratio: 4 / 3; }
    .nx-scene--live .nx-scene__note, .nx-scene__bubble { font-size: 0.72rem; gap: 7px; padding: 6px 9px; }
    .nx-scene--live .nx-scene__note--a { top: 10px; left: 10px; max-width: calc(100% - 20px); white-space: nowrap; }
    .nx-scene__talk { left: 10px; right: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
    .nx-scene--live img { transform-origin: 50% 60%; animation: nx-scene-drift 9s ease-in-out infinite; }
    .nx-scene--live .nx-scene__bubble { display: block; }
    .nx-scene--live .nx-scene__note--a { animation: nx-call-a 14s var(--nx-ease-out) infinite both; }
    .nx-scene--live .nx-scene__note--a::before { animation: nx-call-ring 14s ease-out infinite both; }
    .nx-scene--live .nx-scene__bubble--client { animation: nx-call-client 14s var(--nx-ease-out) infinite both; }
    .nx-scene--live .nx-scene__bubble--typing { animation: nx-call-typing 14s var(--nx-ease-out) infinite both; }
    .nx-scene--live .nx-scene__typing i { animation: nx-typing-dot 0.9s ease-in-out infinite; }
    .nx-scene--live .nx-scene__typing i:nth-child(2) { animation-delay: 0.15s; }
    .nx-scene--live .nx-scene__typing i:nth-child(3) { animation-delay: 0.3s; }
    .nx-scene--live .nx-scene__bubble--client .nx-scene__said { animation: nx-call-said-client 14s linear infinite both; }
    .nx-scene--live .nx-scene__bubble--ai { animation: nx-call-ai 14s var(--nx-ease-out) infinite both; }
    .nx-scene--live .nx-scene__bubble--ai .nx-scene__said { animation: nx-call-said-ai 14s linear infinite both; }
    .nx-scene--live .nx-scene__note--done { animation: nx-call-done 14s var(--nx-ease-out) infinite both; }
    .nx-scene--live.is-paused img,
    .nx-scene--live.is-paused .nx-scene__note,
    .nx-scene--live.is-paused .nx-scene__note::before,
    .nx-scene--live.is-paused .nx-scene__bubble,
    .nx-scene--live.is-paused .nx-scene__bubble * { animation-play-state: paused; }
}
@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
    /* Grand écran : la scène est légèrement tournée vers le texte et se remet
       de face au survol. */
    .nx-scene--live {
        transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
        transition: transform 0.9s var(--nx-ease-out), box-shadow 0.9s var(--nx-ease-out);
    }
    .nx-scene--live:hover {
        transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
        box-shadow: 0 52px 110px -46px rgba(214, 180, 106, 0.6), 0 30px 60px -24px rgba(2, 6, 16, 0.85);
    }
}
@keyframes nx-scene-drift {
    0%, 100% { transform: scale(1.045) translate3d(0, 0, 0); }
    50% { transform: scale(1.045) translate3d(0, -1.4%, 0); }
}
@keyframes nx-call-a {
    0%, 3% { opacity: 0; transform: translateY(8px) scale(0.96); }
    7%, 90% { opacity: 1; transform: none; }
    95%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes nx-call-ring {
    0%, 3% { background: var(--nx-gold-2); box-shadow: 0 0 0 0 rgba(242, 213, 138, 0.75); }
    7% { box-shadow: 0 0 0 9px rgba(242, 213, 138, 0); }
    7.01% { box-shadow: 0 0 0 0 rgba(242, 213, 138, 0.75); }
    11% { box-shadow: 0 0 0 9px rgba(242, 213, 138, 0); }
    11.01% { background: var(--nx-gold-2); box-shadow: 0 0 0 0 rgba(242, 213, 138, 0.75); }
    14.5% { background: var(--nx-gold-2); box-shadow: 0 0 0 9px rgba(242, 213, 138, 0); }
    15.5%, 100% { background: var(--nx-ok); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.16); }
}
@keyframes nx-call-client {
    0%, 21.5% { opacity: 0; transform: translateY(6px); }
    23%, 38% { opacity: 1; transform: none; }
    41%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes nx-call-typing {
    0%, 14% { opacity: 0; transform: translateY(10px); }
    16.5%, 21.5% { opacity: 1; transform: none; }
    23%, 100% { opacity: 0; transform: none; }
}
@keyframes nx-call-said-client {
    0%, 22.5% { opacity: 0; clip-path: inset(0 100% 0 0); }
    23% { opacity: 1; clip-path: inset(0 100% 0 0); }
    32%, 100% { opacity: 1; clip-path: inset(0 0 0 0); }
}
@keyframes nx-call-ai {
    0%, 41% { opacity: 0; transform: translateY(10px); }
    44%, 64% { opacity: 1; transform: none; }
    67%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes nx-call-said-ai {
    0%, 44% { clip-path: inset(0 100% 0 0); }
    52%, 100% { clip-path: inset(0 0 0 0); }
}
@keyframes nx-call-done {
    0%, 67% { opacity: 0; transform: translateY(10px) scale(0.96); }
    71%, 91% { opacity: 1; transform: none; }
    95%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes nx-typing-dot {
    0%, 100% { opacity: 0.35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-3px); }
}

/* Téléphone : une capture de l'application posée comme PREUVE de ce que la
   page décrit. Le cadre est la bordure de l'image (le navigateur en déduit
   le rayon intérieur : 40 - 9 = 31 px), un filet froid et l'ombre du socle.
   width/height 390×844 dans le gabarit : la place est réservée, CLS nul.
   Toujours une légende qui dit que ce sont des données de démonstration.
   .nx-phones : deux écrans côte à côte (le second légèrement décalé), y
   compris au téléphone ; une seule légende pour le groupe. */
.nx-phone {
    margin: 0;
    width: min(100%, 290px);
    justify-self: center;
    align-self: center;
}
.nx-phone > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 390 / 844;
    object-fit: cover;
    object-position: top;
    border: 9px solid #121a33;
    border-radius: 40px;
    background: var(--nx-nuit-1);
    box-shadow: 0 0 0 1px rgba(150, 165, 205, 0.22), var(--nx-shadow);
}
.nx-phone figcaption,
.nx-phones > figcaption {
    margin-top: 14px;
    text-align: center;
    font-size: var(--nx-fs-small);
    line-height: 1.45;
    color: var(--nx-faint);
    text-wrap: balance;
}
.nx-phone[hidden], .nx-phones[hidden] { display: none; }
.nx-phones {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.4vw, 28px);
    width: min(100%, 560px);
    justify-self: center;
    align-self: center;
}
.nx-phones > .nx-phone { width: 100%; }
.nx-phones > .nx-phone:nth-of-type(2) { margin-top: clamp(28px, 5vw, 56px); }
.nx-phones > figcaption { grid-column: 1 / -1; margin-top: 0; }
/* Texte + téléphone : la capture tient sa largeur, le texte prend le reste. */
.nx-with-phone {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
}
.nx-with-phone > .nx-phone { width: min(290px, 30vw); }
.nx-with-phone > .nx-phones { width: min(560px, 46vw); }
.nx-with-phone--reverse > :first-child { order: 2; }
/* Inversé : la capture passe à gauche, donc la colonne « auto » aussi, sinon le texte (order 2) hérite de la colonne auto et écrase la capture hors cadre à 720-1100 px. */
.nx-with-phone--reverse { grid-template-columns: auto minmax(0, 1fr); }
.nx-with-phone:has(> .nx-phone[hidden]) { grid-template-columns: minmax(0, 1fr); }
.nx-with-phone .nx-timeline__item p { max-width: 58ch; }
@media (max-width: 719px) {
    .nx-with-phone { grid-template-columns: minmax(0, 1fr); }
    .nx-with-phone--reverse > :first-child { order: 0; }
    .nx-phone, .nx-with-phone > .nx-phone { width: min(74%, 260px); }
    .nx-phones, .nx-with-phone > .nx-phones { width: 100%; max-width: 440px; }
    .nx-phones > .nx-phone { width: 100%; }
    .nx-phone > img { border-width: 6px; border-radius: 30px; }
}

/* --------------------------------------------------------------------------
   Correctifs remontés des familles (intégration du 07/10)
   -------------------------------------------------------------------------- */

/* Un split privé de sa seconde colonne (mascotte masquée, visuel optionnel)
   ne garde pas une demi-largeur vide (famille piliers). */
.nx-split > :only-child { grid-column: 1 / -1; max-width: 72ch; }

/* Petits écrans : un libellé de bouton long passe à la ligne au lieu de
   sortir du cadre (320 px). Un nx-btn est inline-flex : seul le texte
   revient à la ligne, l'icône reste centrée (familles métiers et démo). */
@media (max-width: 479px) {
    .nx-btn { white-space: normal; max-width: 100%; text-align: center; }
}

/* --------------------------------------------------------------------------
   Divers
   -------------------------------------------------------------------------- */

.nx-center { text-align: center; }
.nx-mt-0 { margin-top: 0 !important; }
.nx-mt-lg { margin-top: clamp(28px, 4vw, 48px); }
.nx-visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   Intégration avec l'existant
   -------------------------------------------------------------------------- */

/* Le décor étoilé commun (partials/_public_backdrop.html) est masqué par
   défaut : les pages refondues le rallument. */
body.nx-page .pm-bg, body.nx-page .pm-grain { display: block; }

/* Les surfaces héritées encore rendues sur les pages nx (modales démo/contact,
   bannière cookies, CTA mobile) troquent le violet du vieux thème pour le doré. */
body.nx-page .btn-primary,
body.nx-page .cookie-banner .btn-primary,
body.nx-page .cookie-modal .btn-primary {
    background: var(--nx-grad-gold);
    color: var(--nx-gold-ink);
    border: 0;
}

/* Pages héritées sous coquille nx (body.nx-page + classes historiques) :
   les titres parlent Fraunces et les boutons parlent doré, sans toucher
   aux tailles ni aux mises en page. La spécificité force les variantes
   .legal-hero/.home-hero__actions du vieux bundle. */
body.nx-page h1, body.nx-page h2 { font-family: var(--nx-font-head); }
body.nx-page .btn.btn-primary,
body.nx-page .home-hero__actions .btn-primary,
body.nx-page .home-cta__actions .btn-primary {
    background: var(--nx-grad-gold) !important;
    color: var(--nx-gold-ink) !important;
    border-color: transparent !important;
}
body.nx-page .btn.btn-secondary {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--nx-line-cool) !important;
    color: var(--nx-ink) !important;
}

/* --------------------------------------------------------------------------
   Partials partagés avec les pages héritées (onglets métier, pont fonctionnel)
  , habillage nx pour les pages passées en charte pure (sans landing-refresh),
   sans toucher aux règles historiques de public-bundle qui continuent de
   couvrir les pages restées sur la coquille héritée.
   -------------------------------------------------------------------------- */
body.nx-page:not(.landing-refresh) .public-vertical-tabs { padding: clamp(28px, 4vw, 48px) 0; }
body.nx-page:not(.landing-refresh) .public-vertical-tabs__shell {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-r-lg);
    padding: clamp(18px, 3vw, 28px);
    background: rgba(255, 255, 255, 0.02);
}
body.nx-page:not(.landing-refresh) .public-vertical-tabs__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
body.nx-page:not(.landing-refresh) .public-vertical-tabs__head h2 {
    font-family: var(--nx-font-head);
    font-size: 1.35rem;
    margin: 6px 0;
}
body.nx-page:not(.landing-refresh) .public-vertical-tabs__head p { color: var(--nx-muted); margin: 0; }
body.nx-page:not(.landing-refresh) .public-vertical-tabs__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--nx-line);
    border-radius: 999px;
    color: var(--nx-gold-2);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
body.nx-page:not(.landing-refresh) .public-vertical-tabs__nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}
body.nx-page:not(.landing-refresh) .public-vertical-tabs__nav a {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--nx-line);
    border-radius: 14px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.16s ease, background 0.16s ease;
}
body.nx-page:not(.landing-refresh) .public-vertical-tabs__nav a strong { color: var(--nx-ink); font-size: 0.95rem; }
body.nx-page:not(.landing-refresh) .public-vertical-tabs__nav a small { color: var(--nx-faint); line-height: 1.35; }
body.nx-page:not(.landing-refresh) .public-vertical-tabs__nav a:hover { border-color: var(--nx-line-strong); background: rgba(255, 255, 255, 0.06); }
body.nx-page:not(.landing-refresh) .public-vertical-tabs__nav a.is-active {
    border-color: rgba(214, 180, 106, 0.55);
    background: rgba(214, 180, 106, 0.1);
}
body.nx-page:not(.landing-refresh) .public-vertical-tabs .home-eyebrow,
body.nx-page:not(.landing-refresh) .public-feature-bridge .home-eyebrow {
    display: inline-flex;
    color: var(--nx-gold-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
body.nx-page:not(.landing-refresh) .public-feature-bridge { padding: clamp(36px, 6vw, 64px) 0; }
body.nx-page:not(.landing-refresh) .public-feature-bridge .home-section__head {
    max-width: 720px;
    margin: 0 auto clamp(20px, 3.5vw, 36px);
    text-align: center;
}
body.nx-page:not(.landing-refresh) .public-feature-bridge .home-section__head h2 {
    font-family: var(--nx-font-head);
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    margin: 8px 0;
}
body.nx-page:not(.landing-refresh) .public-feature-bridge .home-section__head p { color: var(--nx-muted); margin: 0; }
body.nx-page:not(.landing-refresh) .public-feature-bridge__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
}
body.nx-page:not(.landing-refresh) .public-feature-bridge__grid article {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-r-card);
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.03);
}
body.nx-page:not(.landing-refresh) .public-feature-bridge__grid article span {
    color: var(--nx-gold-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
body.nx-page:not(.landing-refresh) .public-feature-bridge__grid article h3 {
    font-family: var(--nx-font-head);
    font-size: 1.05rem;
    margin: 6px 0;
}
body.nx-page:not(.landing-refresh) .public-feature-bridge__grid article p { color: var(--nx-muted); margin: 0; }
@media (max-width: 860px) {
    body.nx-page:not(.landing-refresh) .public-feature-bridge__grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   SHELL PUBLIC SANS BUNDLE, composants globaux de base.html (bandeau et
   modale cookies, modale contact humain, modale demo vocale, fond etoile
   pm-bg/public-atmosphere, .container, famille .btn) extraits de
   public-bundle.css pour que les pages nx pures puissent NE PAS charger le
   bundle (1,3 Mo). Source de verite : public-bundle.css : si un de ces
   composants y evolue, re-extraire (scripts d'extraction dans l'historique
   du chantier, ou copier le bloc a la main). Les variables ci-dessous
   reproduisent le theme nuit du bundle, scopees pour ne pas toucher aux
   pages qui le chargent encore (live_demo, create_agent, home de secours,
   pages verticales).
   ========================================================================== */
body.nx-page:not(.landing-refresh) {
    --text: #f5f7ff;
    --border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.24);
    --gradient-button: var(--nx-grad-gold, linear-gradient(135deg, #d6b46a, #f2d58a));
    --container: 1180px;
}

@media (max-width: 720px) {
    body.landing-page :is(input, textarea, select, button, .btn) {
        min-width: 0;
        max-width: 100%;
    }
}

:where(
    .container,
    .site-main,
    .nav,
    .menu,
    .legal-card,
    .home-use-grid > *,
    .home-faq-grid > *,
    .home-demo-grid > *,
    .home-steps > *,
    .home-split > *,
    .dashboard-page,
    .crm-page,
    .sms-page,
    .email-dashboard-page,
    .calendar-page,
    .capacity-page,
    .contacts-page,
    .billing-page,
    .test-agent-page,
    .import-page,
    .admin-number-page,
    .admin-platform,
    .admin-batch-page
) {
    min-width: 0;
}

.human-contact-modal[hidden],
.demo-booking-modal[hidden] {
    display: none !important;
}

.human-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    padding: 20px;
}

.human-contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
}

.human-contact-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(8, 17, 31, 0.96), rgba(15, 23, 42, 0.94));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
}

.human-contact-modal.is-visible .human-contact-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.human-contact-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font-size: 1.5rem;
    cursor: pointer;
}

.human-contact-modal__content {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 4vw, 36px);
}

.human-contact-modal__eyebrow,
.site-footer__title {
    color: #7dd3fc;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.human-contact-modal__content h2 {
    color: #f8fafc;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.1;
}

.human-contact-modal__content > p,
.human-contact-form__note,
.site-footer__pitch,
.site-footer__meta {
    color: rgba(226, 232, 240, 0.76);
}

.human-contact-form {
    display: grid;
    gap: 16px;
}

.human-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.human-contact-form label {
    display: grid;
    gap: 8px;
}

.human-contact-form label span {
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 800;
}

.human-contact-form :is(input, textarea) {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
    color: #f8fafc;
    padding: 13px 14px;
    font: inherit;
}

.human-contact-form textarea {
    min-height: 128px;
    resize: vertical;
}

.human-contact-form :is(input, textarea):focus {
    outline: none;
    border-color: rgba(125, 211, 252, 0.48);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.human-contact-form__footer,
.human-contact-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.human-contact-form__note {
    margin: 0;
    font-size: 0.9rem;
}

.human-contact-form__note a,
.site-footer__contact-link,
.site-footer__meta a {
    color: #f8fafc;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    padding: 8px 2px;
    margin: -6px 0;
}

.human-contact-form__status {
    min-height: 22px;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.human-contact-form__status[data-state="pending"] {
    color: #bae6fd;
}

.human-contact-form__status[data-state="success"] {
    color: #86efac;
}

.human-contact-form__status[data-state="error"] {
    color: #fca5a5;
}

@media (max-width: 720px) {
    .human-contact-modal {
        padding: 12px;
    }
    .human-contact-form__grid,
    .human-contact-form__footer,
    .human-contact-form__actions,
    .site-footer__inner,
    .site-footer__links {
        grid-template-columns: 1fr;
    }
    .human-contact-form__footer,
    .human-contact-form__actions {
        align-items: stretch;
    }
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-nav {
    color: white;
    background: var(--gradient-button);
    box-shadow: 0 12px 30px rgba(106, 47, 216, 0.18);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-nav {
    color: white;
    background: var(--gradient-button);
    box-shadow: 0 12px 30px rgba(106, 47, 216, 0.18);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-nav {
    color: white;
    background: var(--gradient-button);
    box-shadow: 0 12px 30px rgba(106, 47, 216, 0.18);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-soft);
}

.btn-tertiary {
    background: var(--gradient-button);
    color: white;
    border: none;
}

.btn-tertiary:hover {
    box-shadow: var(--shadow-soft);
    opacity: 0.95;
}

@media (max-width: 560px) {
    .btn {
        width: 100%;
    }
    .nav-actions .btn {
        width: auto;
        min-height: 42px;
        padding: 0 12px;
    }
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

@media (max-width: 720px) {
    .not-found-actions .btn {
        width: 100%;
        white-space: normal;
    }
}

@media (min-width: 761px) and (max-width: 1180px) {
    :where(.container, .landing-refresh .container) {
        width: min(calc(100% - 32px), var(--container));
    }
}

@media (max-width: 760px) {
    :where(.container, .landing-refresh .container) {
        width: min(calc(100% - 20px), var(--container));
    }
}

@media (max-width: 860px) {
    :is(.site-header, main, .container, .nav, .dashboard-page, .crm-page, .sms-page, .calendar-page, .capacity-page, .contacts-page, .billing-page, .test-agent-page, .import-page, .admin-number-page, .admin-platform, .admin-batch-page) {
        min-width: 0;
    }
    :is(input, select, textarea, button, .btn, .btn-nav, .btn-secondary, .crm-button, .sms-button, .calendar-button, .capacity-icon-button, .contacts-icon-button, .billing-button, .wizard-button, .admin-number-action-button) {
        max-width: 100%;
    }
}

.public-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.public-atmosphere__orb,
.public-atmosphere__grid,
.public-atmosphere__badge,
.public-atmosphere__signal {
    position: absolute;
}

.public-atmosphere__orb {
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.9;
    animation: publicDrift 22s ease-in-out infinite;
}

.public-atmosphere__orb--one {
    top: 10%;
    left: -5%;
    width: 26rem;
    height: 26rem;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.24), transparent 64%);
}

.public-atmosphere__orb--two {
    top: 12%;
    right: -4%;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 64%);
    animation-delay: -7s;
}

.public-atmosphere__orb--three {
    bottom: 8%;
    left: 22%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 66%);
    animation-delay: -12s;
}

/* Quadrillé décoratif retiré (refonte 07/10 : pas de grille de fond hors
   surface de mesure). Le sélecteur reste, base.html rend encore l'élément. */
.public-atmosphere__grid {
    inset: 0;
    display: none;
}

.public-atmosphere__badge {
    display: grid;
    gap: 4px;
    min-width: 190px;
    max-width: 220px;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    background: rgba(7, 13, 24, 0.62);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 48px rgba(2, 6, 23, 0.22);
    animation: publicBadgeFloat 18s ease-in-out infinite;
}

.public-atmosphere__badge strong {
    color: #f8fafc;
    font-size: 0.9rem;
    line-height: 1.1;
}

.public-atmosphere__badge span {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.public-atmosphere__badge--incoming {
    top: 16%;
    left: 4%;
}

.public-atmosphere__badge--sms {
    top: 54%;
    right: 6%;
    animation-delay: -6s;
}

.public-atmosphere__badge--transcript {
    bottom: 10%;
    left: 8%;
    animation-delay: -10s;
}

.public-atmosphere__signal {
    display: grid;
    grid-auto-flow: column;
    align-items: end;
    gap: 10px;
    height: 90px;
    opacity: 0.55;
}

.public-atmosphere__signal span {
    display: block;
    width: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.1), rgba(59, 130, 246, 0.95));
    animation: publicSignal 1.8s ease-in-out infinite;
}

.public-atmosphere__signal span:nth-child(2) { animation-delay: -0.22s; }

.public-atmosphere__signal span:nth-child(3) { animation-delay: -0.44s; }

.public-atmosphere__signal span:nth-child(4) { animation-delay: -0.66s; }

.public-atmosphere__signal--left {
    top: 32%;
    left: 6%;
}

.public-atmosphere__signal--right {
    right: 7%;
    bottom: 20%;
}

@media (prefers-reduced-motion: reduce) {
    .public-atmosphere__orb,
    .public-atmosphere__badge,
    .public-atmosphere__signal span,
    .home-ringing-phone__device,
    .home-ringing-phone__waves,
    .home-waveform span,
    .home-call-rail__card,
    .home-transcript-stream__line,
    .home-transcript-stream__step,
    .home-mobile-livefeed__line,
    .home-phone__meter span,
    .home-phone__entry,
    .home-summary-card__progress span,
    .home-summary-card__timeline article,
    .home-summary-card__timeline article::before,
    .landing-refresh .btn,
    .landing-refresh :is(.legal-card, .home-use-grid article, .home-faq-grid article, .home-demo-grid article, .home-realtime-grid article, .home-control-list div, .home-summary-card, .home-phone__screen, .home-steps article, .home-strip__grid div) {
        animation: none !important;
        transition: none !important;
    }
}

body[data-theme="light"] :is(.human-contact-modal__content > p, .human-contact-form__note, .site-footer__pitch, .site-footer__meta) {
    color: #526174;
}

.demo-booking-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.demo-booking-modal[hidden] { display: none; }

.demo-booking-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 18, 0.78);
    backdrop-filter: blur(10px);
}

.demo-booking-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1180px, calc(100vw - 24px));
    height: min(92dvh, 820px);
    border: 1px solid rgba(218, 185, 108, 0.24);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(218, 185, 108, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(5, 12, 24, 0.99), rgba(8, 18, 34, 0.99));
    box-shadow: 0 44px 140px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.demo-booking-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 74px;
    padding: 14px 20px 12px;
    border-bottom: 1px solid rgba(218, 185, 108, 0.16);
    color: #fff8ea;
    background:
        linear-gradient(180deg, rgba(218, 185, 108, 0.06), transparent 70%),
        rgba(3, 10, 23, 0.52);
}

.demo-booking-modal__intro {
    display: grid;
    gap: 6px;
}

.demo-booking-modal__header h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(1.8rem, 2.4vw, 2.55rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.demo-booking-modal__header p {
    margin: 0;
    max-width: 760px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 1rem;
    line-height: 1.68;
}

.demo-booking-modal__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
}

.demo-booking-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(226, 232, 240, 0.14);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 60%),
        rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.demo-booking-modal__badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #f3d58a;
    box-shadow: 0 0 0 0 rgba(243, 213, 138, 0.5);
    animation: demoBookingPulse 1.8s ease-out infinite;
}

.demo-booking-modal__close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(218, 185, 108, 0.22);
    border-radius: 999px;
    background: rgba(218, 185, 108, 0.08);
    color: #f7e6bc;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.demo-booking-modal__close:hover,
.demo-booking-modal__close:focus-visible {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.24);
}

.demo-booking-modal__body {
    min-height: 0;
    padding: 8px;
    background:
        linear-gradient(135deg, rgba(218, 185, 108, 0.06), transparent 28%),
        #050b17;
}

.demo-booking-modal__body iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 22px;
    background: #050b17;
    box-shadow: inset 0 0 0 1px rgba(218, 185, 108, 0.12);
}

@media (min-width: 1000px) and (max-width: 1220px) and (orientation: landscape) {
    .demo-booking-modal__dialog {
        width: min(1120px, calc(100vw - 20px));
        height: calc(100svh - 20px);
        margin: 10px auto;
        border-radius: 26px;
    }
    .demo-booking-modal__header {
        min-height: 64px;
        padding: 12px 16px 10px;
    }
    .demo-booking-modal__intro .home-eyebrow {
        display: none;
    }
    .demo-booking-modal__header h2 {
        font-size: 2rem;
    }
    .demo-booking-modal__body {
        padding: 8px;
    }
    .demo-booking-modal__body iframe {
        border-radius: 20px;
    }
}

@media (max-width: 720px) {
    .demo-booking-modal__dialog {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    .demo-booking-modal__header {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 16px 14px 14px;
    }
    .demo-booking-modal__badges {
        width: 100%;
        justify-content: flex-start;
    }
    .demo-booking-modal__body {
        padding: 0;
    }
    .demo-booking-modal__body iframe {
        border-radius: 0;
    }
}

@media (max-width: 820px) {
    .auth-card .btn,
    .auth-card .btn-nav,
    .auth-social-btn,
    .billing-button,
    .billing-back,
    .test-agent-page .btn-ui,
    .personalized-demo__actions .btn,
    .demo-step-footer .btn,
    .demo-booking-launch__actions .btn,
    .demo-booking-submit .btn,
    .optout-submit {
        width: 100%;
        max-width: none;
        justify-content: center;
    }
}

.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1500;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    width: min(920px, calc(100vw - 36px));
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.96);
    color: #f8fafc;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.34);
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition:
        opacity 0.42s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
    display: none !important;
}

.cookie-banner__body {
    display: grid;
    gap: 6px;
}

.cookie-banner__body strong,
.cookie-modal__dialog h2,
.cookie-choice strong {
    color: inherit;
}

.cookie-banner__body p,
.cookie-modal__dialog p,
.cookie-choice small {
    margin: 0;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.5;
}

.cookie-banner__actions,
.cookie-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 1510;
    display: grid;
    place-items: center;
    padding: 18px;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.68);
}

.cookie-modal__dialog {
    position: relative;
    display: grid;
    gap: 16px;
    width: min(680px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    background: #0f172a;
    color: #f8fafc;
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.42);
}

.cookie-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    cursor: pointer;
}

.cookie-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.62);
}

.cookie-choice span {
    display: grid;
    gap: 4px;
}

.cookie-choice input {
    width: 22px;
    height: 22px;
    accent-color: #60a5fa;
}

@media (max-width: 760px) {
    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
        grid-template-columns: 1fr;
        width: auto;
    }
    html.app-mobile-shell .cookie-banner {
        bottom: calc(112px + env(safe-area-inset-bottom));
    }
    .cookie-banner__actions,
    .cookie-modal__actions {
        justify-content: stretch;
    }
    .cookie-banner__actions .btn,
    .cookie-modal__actions .btn {
        flex: 1 1 140px;
    }
}

.container,
.dashboard-page,
.crm-page,
.sms-page,
.email-dashboard-page,
.calendar-page,
.capacity-page,
.contacts-page,
.billing-page,
.test-agent-page,
.import-page,
.admin-number-page,
.admin-platform,
.admin-batch-page,
.home-gateway-shell,
.live-demo-shell,
.demo-booking-shell {
    width: min(100%, var(--container, 1180px));
}

/* Ces classes de page vivent parfois sur le <body> lui-même (ex. email.html :
   body_class « dashboard-page email-dashboard-page ») : le body se figeait
   alors à 1180px ancré à gauche, nav et footer compris. La largeur contrainte
   ne concerne que les conteneurs internes, jamais le body. */
body:is(.container, .dashboard-page, .crm-page, .sms-page, .email-dashboard-page,
.calendar-page, .capacity-page, .contacts-page, .billing-page, .test-agent-page,
.import-page, .admin-number-page, .admin-platform, .admin-batch-page,
.home-gateway-shell, .live-demo-shell, .demo-booking-shell) {
    width: auto;
}

:is(.container, .home-gateway-shell, .live-demo-shell, .demo-booking-shell) {
    padding-inline: clamp(16px, 4vw, 28px);
}

:is(.btn, button, input, select, textarea, .public-menu-link, .menu-icon-link, .nav-auth-link) {
    max-width: 100%;
}

@media (max-width: 920px) {
    .home-hero__actions .btn,
    .home-cta__actions .btn,
    .vertical-hero__actions .btn,
    .demo-booking-launch__actions .btn,
    .demo-step-footer .btn,
    .demo-booking-submit .btn,
    .pricing-hero__actions .btn {
        flex: 1 1 220px;
        width: auto;
    }
}

@media (max-width: 760px) {
    :is(.container, .home-gateway-shell, .live-demo-shell, .demo-booking-shell) {
        padding-inline: 14px;
    }
    .cookie-banner {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        max-width: none !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }
    .cookie-banner__body {
        gap: 6px;
    }
    .cookie-banner__body p {
        font-size: 0.9rem !important;
        line-height: 1.35 !important;
    }
    .cookie-banner__actions,
    .cookie-modal__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100%;
    }
    .cookie-banner__actions .btn,
    .cookie-modal__actions .btn {
        width: 100%;
        min-height: 42px;
    }
    .demo-booking-modal__dialog,
    .cookie-modal__dialog,
    .human-contact-modal__dialog {
        width: min(100% - 20px, 620px) !important;
        max-height: calc(100dvh - 20px) !important;
        overflow: auto !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 380px) {
    :is(.container, .home-gateway-shell, .live-demo-shell, .demo-booking-shell) {
        padding-inline: 10px;
    }
    .btn,
    button {
        font-size: 0.92rem;
    }
}

@media (max-width: 720px) {
    .demo-booking-modal__dialog {
        width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    .demo-booking-modal__header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        min-height: 72px !important;
        padding: 14px 16px 12px !important;
    }
    .demo-booking-modal__intro {
        gap: 0 !important;
        min-width: 0 !important;
    }
    .demo-booking-modal__intro .home-eyebrow,
    .demo-booking-modal__header p,
    .demo-booking-modal__badges {
        display: none !important;
    }
    .demo-booking-modal__header h2 {
        font-size: clamp(1.5rem, 6.2vw, 1.85rem) !important;
        line-height: 1 !important;
        letter-spacing: -0.04em !important;
        white-space: nowrap !important;
    }
    .demo-booking-modal__close {
        justify-self: end !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 1.45rem !important;
    }
    .demo-booking-flow-nav .btn {
        justify-self: start !important;
        width: auto !important;
        min-height: 42px !important;
        padding: 0 16px !important;
        border-radius: 999px !important;
        font-size: 0.92rem !important;
    }
    .demo-booking-section--embed .demo-booking-embed-card--simple .demo-selected-summary .btn {
        width: auto !important;
        min-height: 40px !important;
        padding-inline: 14px !important;
    }
    .demo-booking-section--embed .demo-booking-embed-card--simple .demo-step-footer .btn,
    .demo-booking-section--embed .demo-booking-embed-card--simple .demo-booking-submit .btn {
        width: 100% !important;
        min-height: 50px !important;
    }
}

@media (min-width: 900px) and (max-width: 1220px) and (orientation: landscape) {
    body.dashboard-showcase-page .public-feature-bridge .container {
        max-width: 1110px !important;
    }
}

/* =========================================================
   Phase 6 - bloc commun : le decor de nuit EXACT de l'index
   (constellation double couche, halos or/bleu, grain) rendu
   par base.html sur toutes les pages publiques sombres.
   La home motion garde sa version animee GSAP (masque ici).
   Valeurs copiees de home_motion.html sans approximation.
   ========================================================= */
.pm-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    display: none;
}

.pm-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(140% 90% at 78% -12%, rgba(107, 125, 255, 0.14), transparent 55%),
        radial-gradient(120% 100% at -8% 108%, rgba(102, 216, 255, 0.08), transparent 55%),
        linear-gradient(180deg, #030815 0%, #050b1e 40%, #03070f 100%);
}

.pm-bg__stars,
.pm-bg__stars--2 {
    position: absolute;
    inset: -20% 0;
    background-image:
        radial-gradient(1.2px 1.2px at 12% 24%, rgba(248, 251, 255, 0.5), transparent 100%),
        radial-gradient(1px 1px at 34% 68%, rgba(248, 251, 255, 0.35), transparent 100%),
        radial-gradient(1.4px 1.4px at 58% 12%, rgba(255, 239, 183, 0.4), transparent 100%),
        radial-gradient(1px 1px at 71% 47%, rgba(248, 251, 255, 0.32), transparent 100%),
        radial-gradient(1.2px 1.2px at 86% 78%, rgba(102, 216, 255, 0.36), transparent 100%),
        radial-gradient(1px 1px at 22% 88%, rgba(248, 251, 255, 0.3), transparent 100%),
        radial-gradient(1.1px 1.1px at 47% 39%, rgba(248, 251, 255, 0.28), transparent 100%),
        radial-gradient(1.3px 1.3px at 92% 18%, rgba(255, 239, 183, 0.3), transparent 100%);
    background-size: 920px 760px;
    opacity: 0.7;
}

.pm-bg__stars--2 {
    background-size: 620px 540px;
    opacity: 0.4;
}

.pm-bg__halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.pm-bg__halo--gold {
    width: 55vw;
    height: 55vw;
    top: -20vw;
    right: -16vw;
    background: radial-gradient(circle, rgba(243, 213, 138, 0.13), transparent 62%);
}

.pm-bg__halo--blue {
    width: 48vw;
    height: 48vw;
    top: 60vh;
    left: -18vw;
    background: radial-gradient(circle, rgba(102, 216, 255, 0.1), transparent 62%);
}

.pm-grain {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    background-size: 240px 240px;
    display: none;
}

.demo-booking-modal {
    padding: 12px !important;
}

.demo-booking-modal__dialog {
    width: min(1180px, calc(100vw - 24px)) !important;
    height: min(92dvh, 820px) !important;
    max-height: calc(100dvh - 24px) !important;
}

.demo-booking-modal__header {
    padding: clamp(18px, 2.6vw, 32px) !important;
}

.demo-booking-modal__body {
    padding: 12px !important;
    overflow: hidden !important;
}

.demo-booking-modal__iframe {
    scrollbar-width: none !important;
}

.demo-booking-modal__iframe::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

@media (min-width: 900px) and (max-height: 860px) {
    .demo-booking-modal__dialog {
        width: min(1120px, calc(100vw - 20px)) !important;
        height: calc(100svh - 20px) !important;
        max-height: calc(100svh - 20px) !important;
    }
}

@media (max-width: 760px) {
    .demo-booking-modal {
        padding: 8px !important;
    }
    .demo-booking-modal__dialog {
        width: calc(100vw - 16px) !important;
        height: calc(100svh - 16px) !important;
        max-height: calc(100svh - 16px) !important;
    }
}

@media (max-width: 720px) {
    .demo-booking-modal {
        padding: 0 !important;
    }
    .demo-booking-modal__dialog {
        width: 100vw !important;
        height: 100svh !important;
        max-height: 100svh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }
    .demo-booking-modal__body {
        min-height: 0 !important;
        overflow: hidden !important;
    }
}

/* Public accessibility utility. */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.demo-booking-modal input#demo-booking-phone,
body.demo-booking-page input#demo-booking-phone {
    min-height: 46px !important;
}

@media (max-width: 1220px) {
    body.landing-refresh:not(.home-page):not(.home-gateway-page) :is(a.btn, button.btn, .pricing-plans-shell__actions .btn, .marketing-inline-actions .btn, .home-cta__actions .btn, .home-hero__actions .btn),
    body.vertical-page:not(.home-gateway-page) :is(a.btn, button.btn, .pricing-plans-shell__actions .btn, .marketing-inline-actions .btn, .home-cta__actions .btn, .home-hero__actions .btn),
    body.how-it-works-page :is(a.btn, button.btn, .home-premium-actions .btn, .home-final-cta__inner .btn, .home-studio-message button) {
        min-height: 46px !important;
        height: auto !important;
        padding-block: 12px !important;
        line-height: 1.2 !important;
    }
}

body.blog-index-page:not(.app-shell) :is(.article-card a.btn.btn-primary, .blog-card a.btn.btn-primary, a.btn.btn-primary) {
    min-height: 46px !important;
    height: auto !important;
    padding-block: 12px !important;
    line-height: 1.2 !important;
}

@media (min-width: 721px) and (max-width: 1220px) {
    .demo-booking-modal {
        padding: 8px !important;
    }
    .demo-booking-modal__dialog {
        width: min(1180px, calc(100vw - 16px)) !important;
        height: calc(100svh - 16px) !important;
        max-height: calc(100svh - 16px) !important;
        border-radius: 24px !important;
    }
    .demo-booking-modal__header {
        min-height: 60px !important;
        padding: 10px 14px !important;
    }
    .demo-booking-modal__header p,
    .demo-booking-modal__badges {
        display: none !important;
    }
    .demo-booking-modal__body {
        padding: 6px !important;
        overflow: hidden !important;
    }
    .demo-booking-modal__iframe {
        height: 100% !important;
        overflow: hidden !important;
    }
}

/* Plancher tactile du bandeau cookies (audit refonte 07/08) : quelles que
   soient les variantes par page, un bouton de consentement reste >=34px. */
/* Toutes les variantes par page (vertical-page, live-demo-body, gateway…)
   redéfinissent le bandeau cookies : le plancher doit gagner PARTOUT. */
body .cookie-banner__actions .btn,
body .cookie-modal__actions .btn,
body.vertical-page .cookie-banner__actions .btn,
body.live-demo-body .cookie-banner__actions .btn,
body.home-gateway-page .cookie-banner__actions .btn {
    min-height: 34px !important;
    font-size: 0.75rem !important;
}

.cookie-choice-list {
    display: grid;
    gap: 10px;
}

/* Petits orphelins partages, portes ici pour les pages sans bundle. */
body.nx-page:not(.landing-refresh) .home-section__head--center { text-align: center; margin-inline: auto; }
body.nx-page:not(.landing-refresh) .home-trust-note { margin: 0; text-align: center; font-weight: 700; color: var(--nx-muted); }
body.nx-page:not(.landing-refresh) .human-contact-modal__eyebrow { color: var(--nx-gold-2); }

/* =====================================================================
   WOW, tout le site (07/10). Le mouvement n'est plus réservé à l'accueil :
   chaque page porte une lumière de héros, une entrée en scène de son titre,
   des blocs qui se posent en cascade, des cartes qui répondent au survol,
   une chronologie qui se trace, un récit d'appel qui se JOUE (site-nuit.js
   écrit la partition quel que soit le nombre de répliques), un téléphone en
   relief, des bandeaux qui respirent. Surfaces pleines (DESIGN.md), aucune
   bibliothèque, aucune image. Sans mouvement : l'état final, tout visible.
   Le mouvement vertical seul (translateY) : jamais de débordement horizontal.
   ===================================================================== */

/* ---- Héros : lumière dorée + froide, dérive lente ; entrée du titre ---- */
.nx-hero:not(.nxh-hero), .nxl-head, .nxd-hero, .nxt-hero {
    position: relative;
    isolation: isolate;
}
.nx-hero:not(.nxh-hero)::before, .nxl-head::before, .nxd-hero::before, .nxt-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -12% 0 -8% 0;
    pointer-events: none;
    background:
        radial-gradient(34% 58% at 26% 26%, rgba(214, 180, 106, 0.26), transparent 70%),
        radial-gradient(46% 62% at 78% 74%, rgba(72, 104, 196, 0.13), transparent 74%),
        radial-gradient(50% 36% at 50% 100%, rgba(242, 213, 138, 0.08), transparent 70%);
    opacity: 0.9;
}
.nx-hero:not(.nxh-hero)::after, .nxl-head::after, .nxd-hero::after, .nxt-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0; right: 0; top: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(214, 180, 106, 0.35) 30%, rgba(242, 213, 138, 0.6) 50%, rgba(214, 180, 106, 0.35) 70%, transparent 100%);
    opacity: 0.8;
}
.nxl-head::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .nx-hero:not(.nxh-hero)::before, .nxl-head::before, .nxd-hero::before, .nxt-hero::before {
        animation: nx-hero-light 26s ease-in-out infinite alternate;
    }
    .nx-hero:not(.nxh-hero)::after, .nxd-hero::after, .nxt-hero::after {
        background-size: 200% 100%;
        animation: nx-hero-line 9s ease-in-out infinite alternate;
    }
}
@keyframes nx-hero-light {
    0%   { transform: translateY(-1.5%); opacity: 0.75; }
    50%  { opacity: 1; }
    100% { transform: translateY(1.5%); opacity: 0.85; }
}
@keyframes nx-hero-line {
    0% { background-position: 0% 0; opacity: 0.55; }
    100% { background-position: 100% 0; opacity: 0.95; }
}
/* Entrée en scène : étiquette, titre, chapeau, boutons, puis l'aparté. */
@media (prefers-reduced-motion: no-preference) {
    html.js .nx-hero:not(.nxh-hero) .nx-eyebrow, html.js .nxl-head .nx-eyebrow, html.js .nxl-head .nxl-crumb,
    html.js .nxd-hero .nx-eyebrow, html.js .nxt-hero .nx-eyebrow,
    html.js .nx-hero:not(.nxh-hero) .nx-h1, html.js .nxl-head .nx-h1, html.js .nxd-hero .nx-h1, html.js .nxt-hero .nx-h1,
    html.js .nx-hero:not(.nxh-hero) .nx-lead, html.js .nxl-head .nx-lead, html.js .nxd-hero .nx-lead, html.js .nxt-hero .nx-lead,
    html.js .nx-hero:not(.nxh-hero) .nx-btn-row, html.js .nxl-head .nxl-head__row, html.js .nxd-hero .nx-btn-row, html.js .nxt-hero .nx-btn-row,
    html.js .nx-hero:not(.nxh-hero) > .nx-container > aside, html.js .nx-hero:not(.nxh-hero) > .nx-container > figure,
    html.js .nx-hero:not(.nxh-hero) .nxp-hero__text, html.js .nx-hero:not(.nxh-hero) .nxp-hero__aside,
    html.js .nxd-hero > :not(.nxd-hero__copy) {
        animation: nx-enter 0.9s var(--nx-ease-out) both;
    }
    html.js .nx-hero:not(.nxh-hero) .nx-h1, html.js .nxl-head .nx-h1, html.js .nxd-hero .nx-h1, html.js .nxt-hero .nx-h1 { animation-delay: 0.08s; }
    html.js .nx-hero:not(.nxh-hero) .nx-lead, html.js .nxl-head .nx-lead, html.js .nxd-hero .nx-lead, html.js .nxt-hero .nx-lead,
    html.js .nx-hero:not(.nxh-hero) .nxp-hero__text { animation-delay: 0.2s; }
    html.js .nx-hero:not(.nxh-hero) .nx-btn-row, html.js .nxl-head .nxl-head__row, html.js .nxd-hero .nx-btn-row, html.js .nxt-hero .nx-btn-row { animation-delay: 0.32s; }
    html.js .nx-hero:not(.nxh-hero) > .nx-container > aside, html.js .nx-hero:not(.nxh-hero) > .nx-container > figure,
    html.js .nx-hero:not(.nxh-hero) .nxp-hero__aside, html.js .nxd-hero > :not(.nxd-hero__copy) { animation-delay: 0.42s; animation-duration: 1.1s; }
    /* Ce que le script pose en .nx-reveal dans un héros garde SA cascade, pas celle-ci. */
    html.js .nx-hero .nx-reveal, html.js .nxl-head .nx-reveal, html.js .nxd-hero .nx-reveal, html.js .nxt-hero .nx-reveal { animation: none; }
}
@keyframes nx-enter {
    0% { opacity: 0; transform: translateY(18px); }
    100% { opacity: 1; transform: none; }
}

/* ---- Cascade : les blocs que site-nuit.js tague .nx-reveal.nx-reveal--auto
   se posent l'un après l'autre (--nx-i = rang dans leur parent). ---- */
html.js .nx-reveal--auto { transform: translateY(16px); }
html.js .nx-reveal--auto.is-visible { transition-delay: calc(var(--nx-i, 0) * 80ms); }
@media (prefers-reduced-motion: reduce) {
    html.js .nx-reveal--auto, html.js .nx-reveal--auto.is-visible { opacity: 1; transform: none; transition: none; }
}

/* ---- Cartes : les listes de preuves / fonctions deviennent des surfaces
   pleines qui répondent au survol (halo doré, léger soulèvement). ---- */
.nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) { gap: 16px; }
.nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) > li {
    position: relative;
    isolation: isolate;
    padding: 20px 22px 18px;
    border: 1px solid var(--nx-line-cool);
    border-top-color: var(--nx-line-cool);
    border-radius: var(--nx-r-card);
    background: linear-gradient(180deg, var(--nx-card-2) 0%, var(--nx-card) 70%);
    box-shadow: var(--nx-shadow-soft);
    transition: translate var(--nx-dur) var(--nx-ease-out), border-color var(--nx-dur-fast) var(--nx-ease-out), box-shadow var(--nx-dur) var(--nx-ease-out);
}
.nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) > li::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(90% 70% at 20% 0%, rgba(214, 180, 106, 0.16), transparent 70%);
    opacity: 0;
    transition: opacity var(--nx-dur) var(--nx-ease-out);
    pointer-events: none;
}
.nx-list-2:not(.nx-list-2--single) .nx-list-2__media { transition: transform var(--nx-dur) var(--nx-ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) > li:hover,
    .nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) > li:focus-within {
        translate: 0 -4px;
        border-color: rgba(214, 180, 106, 0.42);
        box-shadow: 0 24px 48px -28px rgba(214, 180, 106, 0.45), var(--nx-shadow);
    }
    .nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) > li:hover::before,
    .nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) > li:focus-within::before { opacity: 1; }
    .nx-list-2:not(.nx-list-2--single) > li:hover .nx-list-2__media { transform: scale(1.06) rotate(-2deg); }
}
@media (max-width: 479px) {
    .nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) { gap: 12px; }
    .nx-list-2:not(.nx-list-2--single):not(.nx-list-2--cards) > li { padding: 16px 16px 14px; }
}
/* Les listes à une colonne (fiche métier, apartés) : la ligne gardée, mais
   un filet doré qui s'allume à gauche au survol. */
.nx-list-2--single > li { position: relative; transition: padding-left var(--nx-dur) var(--nx-ease-out); }
.nx-list-2--single > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 2px;
    border-radius: 2px;
    background: var(--nx-grad-gold);
    opacity: 0;
    transform: scaleY(0.3);
    transition: opacity var(--nx-dur) var(--nx-ease-out), transform var(--nx-dur) var(--nx-ease-out);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .nx-list-2--single > li:hover { padding-left: 14px; }
    .nx-list-2--single > li:hover::before { opacity: 1; transform: none; }
}

/* Check-lists : la coche s'allume et le texte s'éclaire au survol. */
.nx-checklist li { transition: color var(--nx-dur-fast) ease; }
.nx-checklist li::before { transition: transform var(--nx-dur) cubic-bezier(0.34, 1.56, 0.64, 1), filter var(--nx-dur) ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .nx-checklist li:hover { color: var(--nx-ink); }
    .nx-checklist li:hover::before { transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(242, 213, 138, 0.7)); }
}

/* Étapes numérotées : le numéro s'allume, un filet doré pour chaque étape. */
.nx-step::before { transition: box-shadow var(--nx-dur) var(--nx-ease-out), color var(--nx-dur-fast) ease, background-color var(--nx-dur-fast) ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .nx-step:hover::before { box-shadow: 0 0 0 5px rgba(214, 180, 106, 0.12), 0 0 18px rgba(242, 213, 138, 0.45); }
}

/* Lignes-liens (articles, ressources) : la ligne glisse et s'éclaire. */
.nx-lines__link { transition: background-color var(--nx-dur-fast) ease, padding-left var(--nx-dur) var(--nx-ease-out); border-radius: 10px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .nx-lines__link:hover { background: rgba(214, 180, 106, 0.05); padding-left: 12px; }
}

/* ---- Chronologie : le rail se trace et les jalons s'allument l'un après
   l'autre, sur toutes les pages (site-nuit.js pose --live + .nx-reveal). ---- */
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(4) { transition-delay: 1.35s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(4)::before { transition-delay: 1.45s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(3)::after { transition-delay: 1.15s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(5) { transition-delay: 1.8s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(5)::before { transition-delay: 1.9s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(4)::after { transition-delay: 1.6s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(n+6) { transition-delay: 2.2s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(n+6)::before { transition-delay: 2.3s; }
html.js .nx-timeline--live.is-visible .nx-timeline__item:nth-child(n+5)::after { transition-delay: 2.05s; }
html.js .nx-timeline--live.nx-timeline--vertical.nx-reveal .nx-timeline__item::after { transform: scaleY(0); transform-origin: center top; }
html.js .nx-timeline--live.nx-timeline--vertical.nx-reveal.is-visible .nx-timeline__item::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
    html.js .nx-timeline--live.nx-reveal .nx-timeline__item::after { transform: none; transition: none; }
}

/* ---- Récit d'appel JOUÉ partout (--play, posé par site-nuit.js) : bulles,
   trois points qui s'écrivent, onde dans la barre quand Décroche parle, le
   résumé qui tombe avec sa coche. Le script orchestre la séquence : la CSS
   ne porte que les états (is-typing, is-said, is-talking, is-done). Les
   places sont réservées (opacité seule) : la carte ne bouge pas. ---- */
.nx-call-story--play .nx-call-story__lines { gap: 12px; }
.nx-call-story--play .nx-call-story__line {
    position: relative;
    display: block;
    justify-self: start;
    max-width: min(88%, 46ch);
    padding: 10px 15px 12px;
    border: 1px solid var(--nx-line-cool);
    border-radius: 16px 16px 16px 5px;
    background: var(--nx-surface);
}
.nx-call-story--play .nx-call-story__line--ai {
    justify-self: end;
    border-color: var(--nx-line-strong);
    border-radius: 16px 16px 5px 16px;
    background: #1c2237;
    box-shadow: 0 14px 30px -22px rgba(214, 180, 106, 0.55);
}
.nx-call-story--play .nx-call-story__who { display: block; margin-bottom: 3px; font-size: 0.75rem; }
.nx-call-story--play .nx-call-story__line p { color: var(--nx-ink); }
.nx-call-story--play .nx-call-story__typing { display: none; }
@media (max-width: 479px) {
    .nx-call-story--play .nx-call-story__line { max-width: 94%; padding: 9px 13px 11px; }
}
@media (prefers-reduced-motion: no-preference) {
    html.js .nx-call-story--play .nx-call-story__line,
    html.js .nx-call-story--play .nx-call-story__outcome { opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--nx-ease-out), transform 0.45s var(--nx-ease-out); transition-delay: 0s; }
    html.js .nx-call-story--play .nx-call-story__line p { opacity: 0; transition: opacity 0.35s ease-out; }
    html.js .nx-call-story--play .nx-call-story__line.is-typing,
    html.js .nx-call-story--play .nx-call-story__line.is-said { opacity: 1; transform: none; }
    html.js .nx-call-story--play .nx-call-story__line.is-said p { opacity: 1; }
    html.js .nx-call-story--play.is-done .nx-call-story__outcome { opacity: 1; transform: none; }
    html.js .nx-call-story--play .nx-call-story__outcome::before { transform: scale(0.3); transform-origin: 50% 60%; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s; }
    html.js .nx-call-story--play.is-done .nx-call-story__outcome::before { transform: none; }
    html.js .nx-call-story--play .nx-call-story__line.is-typing .nx-call-story__typing {
        position: absolute;
        left: 15px;
        top: 34px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        height: 1.2em;
    }
    html.js .nx-call-story--play .nx-call-story__typing i {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--nx-muted);
        animation: nx-typing-dot 0.9s ease-in-out infinite;
    }
    html.js .nx-call-story--play .nx-call-story__line--ai .nx-call-story__typing i { background: var(--nx-gold); }
    html.js .nx-call-story--play .nx-call-story__typing i:nth-child(2) { animation-delay: 0.15s; }
    html.js .nx-call-story--play .nx-call-story__typing i:nth-child(3) { animation-delay: 0.3s; }
    html.js .nx-call-story--play .nx-call-story__wave { opacity: 0.35; transition: opacity 0.4s ease; }
    html.js .nx-call-story--play.is-talking .nx-call-story__wave { opacity: 1; }
    html.js .nx-call-story--play.is-talking .nx-call-story__wave i { animation: nx-story-bar 0.62s ease-in-out infinite alternate; }
    html.js .nx-call-story--play.is-talking .nx-call-story__wave i:nth-child(2) { animation-duration: 0.48s; animation-delay: -0.2s; }
    html.js .nx-call-story--play.is-talking .nx-call-story__wave i:nth-child(3) { animation-duration: 0.7s; animation-delay: -0.35s; }
    html.js .nx-call-story--play.is-talking .nx-call-story__wave i:nth-child(4) { animation-duration: 0.54s; animation-delay: -0.1s; }
    html.js .nx-call-story--play.is-talking .nx-call-story__wave i:nth-child(5) { animation-duration: 0.66s; animation-delay: -0.42s; }
    html.js .nx-call-story--play.is-talking .nx-call-story__wave i:nth-child(6) { animation-duration: 0.5s; animation-delay: -0.28s; }
    html.js .nx-call-story--play.is-talking .nx-call-story__wave i:nth-child(7) { animation-duration: 0.74s; animation-delay: -0.05s; }
    html.js .nx-call-story--play .nx-call-story__status::before { transition: box-shadow 0.4s ease; }
    html.js .nx-call-story--play.is-talking .nx-call-story__status::before { animation: nx-status-pulse 1.4s ease-in-out infinite; }
}
@keyframes nx-status-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.14); }
    50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.05); }
}

/* ---- Téléphone en relief : halo doré derrière l'écran, flottement lent. ---- */
.nx-phone { position: relative; isolation: isolate; }
.nx-phone::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 8% -4% 4% -4%;
    border-radius: 50%;
    background: radial-gradient(60% 55% at 50% 45%, rgba(214, 180, 106, 0.22), rgba(214, 180, 106, 0.05) 60%, transparent 75%);
    filter: blur(14px);
    pointer-events: none;
}
.nx-phone > img { transition: transform var(--nx-dur-slow) var(--nx-ease-out), box-shadow var(--nx-dur-slow) var(--nx-ease-out); }
@media (prefers-reduced-motion: no-preference) {
    .nx-phone:not(.nxh-app .nx-phone) > img { animation: nx-phone-float 7s ease-in-out infinite; }
    .nx-phone::before { animation: nx-phone-halo 7s ease-in-out infinite; }
    .nx-phones > .nx-phone:nth-of-type(2) > img, .nx-phones > .nx-phone:nth-of-type(2)::before { animation-delay: -3.2s; }
}
@keyframes nx-phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes nx-phone-halo {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

/* ---- Bandeaux : une lumière qui respire ; la mascotte flotte. ---- */
.nx-band { isolation: isolate; }
.nx-band::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(50% 60% at 85% 10%, rgba(214, 180, 106, 0.08), transparent 70%);
    opacity: 0.9;
}
.nx-band--deep::before { background: radial-gradient(50% 60% at 15% 90%, rgba(104, 136, 214, 0.1), transparent 70%); }
.nx-cta-band { isolation: isolate; }
.nx-cta-band::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -20% -10%;
    pointer-events: none;
    background: radial-gradient(40% 50% at 30% 40%, rgba(242, 213, 138, 0.14), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
    .nx-band::before { animation: nx-band-breathe 12s ease-in-out infinite alternate; }
    .nx-cta-band::before { animation: nx-cta-light 14s ease-in-out infinite alternate; }
    .nx-cta-band__mascotte { animation: nx-mascotte-float 6s ease-in-out infinite; }
}
@keyframes nx-band-breathe {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}
@keyframes nx-cta-light {
    0% { transform: translate(0, 0); opacity: 0.7; }
    100% { transform: translate(14%, 8%); opacity: 1; }
}
@keyframes nx-mascotte-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}

/* ---- Boutons : un reflet traverse le bouton plein au survol. ---- */
.nx-btn:not(.nx-btn--ghost):not(.nx-btn--gold-line) { position: relative; overflow: hidden; }
.nx-btn:not(.nx-btn--ghost):not(.nx-btn--gold-line)::before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.42) 50%, transparent 65%);
    transform: translateX(-110%);
    opacity: 0;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .nx-btn:not(.nx-btn--ghost):not(.nx-btn--gold-line):hover::before { animation: nx-btn-sheen 0.9s var(--nx-ease-out) forwards; }
}
.nx-btn.is-loading::before { display: none; }
@keyframes nx-btn-sheen {
    0% { transform: translateX(-110%); opacity: 1; }
    100% { transform: translateX(110%); opacity: 0; }
}
.nx-link-arrow::after { transition: transform var(--nx-dur) var(--nx-ease-out); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .nx-link-arrow:hover::after { transform: translateX(5px); }
}

/* ---- Texte doré : un éclat qui glisse lentement dans les lettres. ---- */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    @media (prefers-reduced-motion: no-preference) {
        .nx-gold-text {
            background: linear-gradient(100deg, var(--nx-gold-2) 0%, var(--nx-gold-2) 38%, #fff3cf 50%, var(--nx-gold-2) 62%, var(--nx-gold-2) 100%);
            background-size: 260% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            animation: nx-gold-shine 7s ease-in-out infinite;
        }
    }
}
@keyframes nx-gold-shine {
    0%, 60% { background-position: 110% 0; }
    100% { background-position: -40% 0; }
}

/* ---- En-tête : au défilement il se détache (ombre, filet doré). ---- */
.nx-header { transition: box-shadow var(--nx-dur) var(--nx-ease-out), background-color var(--nx-dur) ease; }
.nx-header.is-scrolled {
    background: #070b18;
    box-shadow: 0 1px 0 rgba(214, 180, 106, 0.22), 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}

/* ---- Accordéons : le corps se déplie en fondu. ---- */
@media (prefers-reduced-motion: no-preference) {
    .nx-faq details[open] > :not(summary), .nx-accordion details[open] > :not(summary) { animation: nx-unfold 0.4s var(--nx-ease-out) both; }
    .nx-faq summary::after, .nx-accordion summary::after { transition: transform var(--nx-dur) var(--nx-ease-out), color var(--nx-dur-fast) ease; }
}
@keyframes nx-unfold {
    0% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 1; transform: none; }
}

/* ---- Tableaux comparatifs : la ligne survolée s'éclaire. ---- */
.nx-table-wrap tbody tr { transition: background-color var(--nx-dur-fast) ease; }
@media (hover: hover) {
    .nx-table-wrap tbody tr:hover { background: rgba(214, 180, 106, 0.05); }
}

/* ---- Sans mouvement : rien ne bouge, tout est visible. ---- */
@media (prefers-reduced-motion: reduce) {
    .nx-hero::before, .nxl-head::before, .nxd-hero::before, .nxt-hero::before, .nx-hero::after,
    .nx-phone::before, .nx-phone > img, .nx-band::before, .nx-cta-band::before, .nx-cta-band__mascotte,
    .nx-gold-text, .nx-call-story__wave i, .nx-call-story__typing i { animation: none; }
    .nx-list-2 > li, .nx-list-2 > li::before, .nx-list-2__media, .nx-checklist li::before, .nx-lines__link, .nx-link-arrow::after { transition: none; }
}


/* =====================================================================
   WOW, lot 3 (08/10). Le titre arrive mot à mot (la locution dorée se
   peint d'un trait), une lueur suit le pointeur dans le héros, un signal
   doré pulse là où le héros n'a pas de visuel, une page longue trace sa
   progression, le téléphone s'incline sous la souris, le pied de page se
   pose colonne par colonne, et la navigation entre pages se fond. Tout
   est posé par site-nuit.js ; sans JS ou sans mouvement : l'état final.
   Vertical seul ; ce qui déborde (lueur, signal) est coupé par son parent.
   ===================================================================== */

/* ---- Le titre mot à mot. Les .nx-w sont des mots entiers ; les espaces
   restent des nœuds texte, le retour à la ligne reste libre. La locution
   dorée est découpée aussi : chaque mot porte son propre dégradé (un
   clip-path sur un inline multi-lignes ne couvrait que la première ligne,
   mesuré le 08/10 à 390 px), et l'éclat glisse sur tous en même temps.
   Le chapeau et les boutons attendent la fin du titre (--nx-tw = nombre
   de mots, posé par le script sur le héros). ---- */
html.js .nx-hero .nx-h1.nx-h1--words, html.js .nxl-head .nx-h1.nx-h1--words,
html.js .nxd-hero .nx-h1.nx-h1--words, html.js .nxt-hero .nx-h1.nx-h1--words { animation: none; opacity: 1; }
.nx-h1--words .nx-w { display: inline-block; }
html.js .nx-h1--words .nx-gold-text { background: none; animation: none; color: var(--nx-gold-2); -webkit-text-fill-color: currentColor; }
@media (prefers-reduced-motion: no-preference) {
    html.js .nx-h1--words .nx-w {
        animation: nx-word 0.85s var(--nx-ease-out) both;
        animation-delay: calc(0.1s + var(--nx-wi, 0) * 60ms);
    }
    html.js .nx-hero:not(.nxh-hero) .nx-lead, html.js .nxl-head .nx-lead, html.js .nxd-hero .nx-lead, html.js .nxt-hero .nx-lead,
    html.js .nx-hero:not(.nxh-hero) .nxp-hero__text { animation-delay: calc(0.2s + var(--nx-tw, 0) * 45ms); }
    html.js .nx-hero:not(.nxh-hero) .nx-btn-row, html.js .nxl-head .nxl-head__row, html.js .nxd-hero .nx-btn-row, html.js .nxt-hero .nx-btn-row { animation-delay: calc(0.32s + var(--nx-tw, 0) * 45ms); }
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
    @media (prefers-reduced-motion: no-preference) {
        html.js .nx-h1--words .nx-gold-text > .nx-w {
            background: linear-gradient(100deg, var(--nx-gold-2) 0%, var(--nx-gold-2) 38%, #fff3cf 50%, var(--nx-gold-2) 62%, var(--nx-gold-2) 100%);
            background-size: 260% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            animation: nx-word 0.85s var(--nx-ease-out) both calc(0.1s + var(--nx-wi, 0) * 60ms), nx-gold-shine 7s ease-in-out infinite;
        }
    }
}
@keyframes nx-word {
    0% { opacity: 0; transform: translateY(0.55em); }
    100% { opacity: 1; transform: none; }
}

/* ---- Lueur qui suit le pointeur (souris seule, ≥ 1024). ---- */
.nx-hero-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.nx-hero-glow > i {
    position: absolute;
    left: 0;
    top: 0;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 213, 138, 0.11) 0%, rgba(214, 180, 106, 0.05) 38%, transparent 66%);
    transform: translate3d(calc(var(--gx, 50%) - 50%), calc(var(--gy, 50%) - 50%), 0);
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.22s ease-out;
    will-change: transform, opacity;
}
.nx-hero-glow.is-on > i { opacity: 1; }

/* ---- Le signal : un appel qui arrive, dans l'espace libre du héros. ---- */
.nx-has-signal, .nx-has-signal > .nx-container { position: relative; }
.nx-signal {
    position: absolute;
    right: clamp(24px, 7%, 140px);
    top: 50%;
    width: 260px;
    height: 260px;
    margin-top: -130px;
    pointer-events: none;
    z-index: 0;
}
.nx-signal > i, .nx-signal > b, .nx-signal > u {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.nx-signal > i {
    border: 1px solid rgba(214, 180, 106, 0.55);
    opacity: 0;
    transform: scale(0.18);
}
.nx-signal > u {
    inset: 22%;
    text-decoration: none;
    border: 1px dashed rgba(242, 213, 138, 0.35);
}
.nx-signal > b {
    inset: 42%;
    background: radial-gradient(circle, #fff3cf 0%, var(--nx-gold-2) 45%, rgba(214, 180, 106, 0) 72%);
    box-shadow: 0 0 40px 10px rgba(214, 180, 106, 0.25);
}
.nx-signal > b::after {
    content: "";
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: #0b1020;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/></svg>") center / 70% no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/></svg>") center / 70% no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
    .nx-signal > i { animation: nx-ping 4.2s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
    .nx-signal > i:nth-child(2) { animation-delay: 1.4s; }
    .nx-signal > i:nth-child(3) { animation-delay: 2.8s; }
    .nx-signal > u { animation: nx-turn 28s linear infinite; }
    .nx-signal > b { animation: nx-beat 4.2s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .nx-signal > i { opacity: 0.35; transform: scale(0.72); }
    .nx-signal > i:nth-child(2) { opacity: 0.22; transform: scale(0.9); }
    .nx-signal > i:nth-child(3) { opacity: 0.1; transform: none; }
}
@media (max-width: 1023px) { .nx-signal { display: none; } }
@keyframes nx-ping {
    0% { opacity: 0; transform: scale(0.18); }
    12% { opacity: 0.9; }
    100% { opacity: 0; transform: scale(1); }
}
@keyframes nx-turn { to { transform: rotate(360deg); } }
@keyframes nx-beat {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px 10px rgba(214, 180, 106, 0.22); }
    8% { transform: scale(1.12); box-shadow: 0 0 56px 16px rgba(214, 180, 106, 0.38); }
    16% { transform: scale(1); }
}

/* ---- Progression de lecture : un filet doré en haut, pages longues. ---- */
.nx-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 1200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.nx-progress.is-on { opacity: 1; }
.nx-progress > i {
    display: block;
    height: 100%;
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--nx-gold) 0%, var(--nx-gold-2) 60%, #fff3cf 100%);
    box-shadow: 0 0 12px rgba(242, 213, 138, 0.6);
}

/* ---- Le téléphone s'incline sous la souris (≤ 4°). ---- */
@media (hover: hover) and (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    .nx-tilt {
        transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
        transition: transform 0.6s var(--nx-ease-out);
    }
    .nx-tilt.is-tilting { transition-duration: 0.12s; }
}

/* ---- Pied de page : les colonnes se posent en cascade, la mascotte salue. ---- */
html.js .nx-footer__inner > .nx-reveal--auto { transition-delay: calc(var(--nx-i, 0) * 90ms); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .nx-footer__brand img { transition: transform var(--nx-dur) var(--nx-ease-out); transform-origin: 50% 80%; }
    .nx-footer__brand a:hover img { animation: nx-wiggle 0.7s ease-in-out; }
}
@keyframes nx-wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-9deg) translateY(-2px); }
    55% { transform: rotate(7deg) translateY(-2px); }
    80% { transform: rotate(-3deg); }
}

/* ---- D'une page à l'autre : fondu, l'en-tête reste en place. ---- */
@view-transition { navigation: auto; }
.nx-header { view-transition-name: nx-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.3s; }
::view-transition-group(nx-header) { animation-duration: 0s; }
@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
    .nx-h1--words .nx-w, .nx-h1--words .nx-gold-text > .nx-w, .nx-signal > *, .nx-footer__brand img { animation: none; }
    .nx-hero-glow, .nx-progress { display: none; }
    .nx-tilt { transform: none; }
}
/* --------------------------------------------------------------------------
   Mobile 08/10 : cibles tactiles et bulle d'aide (mesuré sur iPhone 13,
   390 / 375 / 320 px). Additif : rien d'existant n'est modifié.
   - « Voir le kit » & co dans les cartes « Inclus » : 25 px de haut -> 44 px.
   - Fil d'Ariane (32 px) et adresse de support du pied (17 px) -> 44 px.
   - La bulle d'aide du widget vocal (fixe, en bas à droite) recouvrait la
     ligne « Support » du pied : le pied réserve sa hauteur sous 768 px.
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
    .nx-checklist--cards > li a { padding-block: 10px; margin-top: -2px; }
    .nxl-crumb li a { min-height: 44px; }
    .nx-footer__bottom a[href^="mailto:"] { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 767px) {
    .nx-footer { padding-bottom: max(96px, calc(76px + env(safe-area-inset-bottom, 0px))); }
}

/* --------------------------------------------------------------------------
   Accessibilité 21/10 (banc Playwright, 15 pages, 1440 et 390 px). Additif.
   - Cibles tactiles : numéros de téléphone, lien du badge ElevenLabs et lien
     « Estimer… » des tarifs mesuraient 16 à 21 px de haut. Le padding est
     compensé par une marge négative : la ligne de texte ne bouge pas.
   - Le point pulsant de la démo tournait à l'infini sous reduced-motion.
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
    .nx-footer__tel, .nx-cta-band__tel, .site-footer__grant a, .nxt-lien {
        display: inline-block;
        padding-block: 14px;
        margin-block: -14px;
    }
    .site-footer__grant a { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
    html .demo-booking-launch__eyebrow::before,
    html .demo-booking-aside__eyebrow::before,
    html .demo-booking-modal__badge::before { animation: none; }
}

/* viewport-fit=cover (22/10/2026) : en paysage sur iPhone, le contenu passait
   sous l'encoche. Le haut et le bas étaient déjà gérés (en-tête, pied). */
body.nx-page {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
}

/* ==========================================================================
   REFONTE DE NUIT (03/11/2026) : composants de preuve
   --------------------------------------------------------------------------
   Montrer plutôt que dire : le vrai téléphone de l'app (.nx-device), une
   galerie de captures qui défile au doigt (.nx-gallery), les métiers en
   tuiles (.nx-metiers), les chiffres mesurés en bande (.nx-stats) et les
   notifications posées sur la scène (.nx-notif). Réutilisables par toute
   page nx ; les mises en page propres à une page restent dans son gabarit.
   ========================================================================== */

/* -- Le téléphone : cadre en métal sombre, filet doré, encoche. ---------- */
.nx-device {
    position: relative;
    margin: 0;
    width: min(100%, 300px);
    padding: 9px;
    /* Arrondis en proportion du cadre : à 96 px de large comme à 300, la
       silhouette reste celle d'un téléphone (et non une pilule). */
    border-radius: 14.7% / 7%;
    background: linear-gradient(155deg, #2a3557 0%, #121a33 38%, #0b1124 100%);
    box-shadow:
        0 0 0 1px rgba(242, 213, 138, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 50px 80px -40px rgba(214, 180, 106, 0.42),
        0 34px 60px -28px rgba(2, 6, 16, 0.95);
}
.nx-device::after {
    content: "";
    position: absolute;
    top: calc(9px + 0.77%);
    left: 50%;
    width: 27%;
    height: 1.78%;
    translate: -50% 0;
    border-radius: 999px;
    background: #05080f;
    pointer-events: none;
}
.nx-device > img {
    display: block;
    width: 100%;
    height: auto;
    /* Écran 390 x 844 : une bande d'état de 28 points (7,18 % de la largeur)
       où se loge l'encoche, puis la capture 390 x 816 entière, barre
       d'onglets comprise, quelle que soit la taille du cadre. */
    aspect-ratio: 390 / 844;
    box-sizing: border-box;
    padding-top: 7.18%;
    object-fit: cover;
    object-position: top;
    border-radius: 12.8% / 5.9%;
    background: var(--nx-nuit-1);
}
.nx-device--sm { width: min(100%, 240px); padding: 7px; }
.nx-device--sm::after { top: calc(7px + 0.77%); }

/* -- Notification posée sur une scène. ----------------------------------- */
.nx-notif {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2px 10px;
    margin: 0;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--nx-line-cool);
    border-radius: var(--nx-r-card);
    background: rgba(17, 26, 47, 0.88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--nx-shadow-soft);
    font-size: var(--nx-fs-small);
    line-height: 1.35;
    color: var(--nx-muted);
}
.nx-notif__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(214, 180, 106, 0.14);
    color: var(--nx-gold-2);
}
.nx-notif__icon svg { width: 18px; height: 18px; }
.nx-notif__icon--ok { background: rgba(74, 222, 128, 0.13); color: var(--nx-ok); }
.nx-notif strong { color: var(--nx-ink); font-weight: 600; }

/* -- Galerie de captures : défile au doigt, grille au grand écran. ------- */
.nx-gallery {
    list-style: none;
    margin: 0 -20px;
    padding: 6px 20px 22px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(208px, 62vw);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    scrollbar-width: none;
}
.nx-gallery::-webkit-scrollbar { display: none; }
.nx-gallery > li { scroll-snap-align: start; display: grid; justify-items: center; align-content: start; gap: 16px; }
.nx-gallery .nx-device { width: 100%; }
.nx-gallery__title { margin: 0; font-family: var(--nx-font-head); font-size: 1.15rem; font-weight: 600; color: var(--nx-ink); text-align: center; }
.nx-gallery__text { margin: -10px 0 0; max-width: 30ch; font-size: var(--nx-fs-small); line-height: 1.5; color: var(--nx-muted); text-align: center; text-wrap: balance; }
.nx-gallery__note { margin: clamp(4px, 2vw, 32px) 0 0; font-size: var(--nx-fs-small); color: var(--nx-faint); text-align: center; }
@media (min-width: 768px) {
    .nx-gallery { grid-auto-columns: minmax(220px, 34vw); }
}
@media (min-width: 1024px) {
    .nx-gallery {
        grid-auto-flow: row;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(20px, 2.6vw, 40px);
        overflow: visible;
        margin: 0;
        padding: 6px 0 0;
    }
    .nx-gallery > li:nth-child(even) { margin-top: 48px; }
}

/* -- Métiers en tuiles. -------------------------------------------------- */
.nx-metiers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.nx-metier > a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 2px 14px;
    height: 100%;
    min-height: 44px;
    padding: 16px;
    border: 1px solid var(--nx-line-cool);
    border-radius: var(--nx-r-card);
    background: linear-gradient(180deg, rgba(22, 33, 61, 0.72), rgba(16, 25, 50, 0.72));
    color: var(--nx-ink);
    text-decoration: none;
    transition: border-color var(--nx-dur-fast) var(--nx-ease-out), transform var(--nx-dur) var(--nx-ease-out);
}
.nx-metier > a:hover { border-color: var(--nx-line-strong); transform: translateY(-2px); text-decoration: none; }
.nx-metier > a:focus-visible { outline: 2px solid var(--nx-gold-2); outline-offset: 3px; }
.nx-metier__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(214, 180, 106, 0.12);
    color: var(--nx-gold-2);
}
.nx-metier__icon svg { width: 21px; height: 21px; }
.nx-metier__name { font-weight: 650; font-size: 1rem; line-height: 1.3; }
.nx-metier__does { font-size: var(--nx-fs-small); line-height: 1.45; color: var(--nx-muted); }
.nx-metier--more > a { border-style: dashed; background: transparent; }
@media (max-width: 479px) {
    /* Au téléphone : deux colonnes, l'icône au-dessus du nom. */
    .nx-metiers { gap: 10px; }
    .nx-metier > a { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 12px; }
    .nx-metier__icon { grid-row: auto; width: 36px; height: 36px; margin-bottom: 6px; }
    .nx-metier__name { font-size: 0.95rem; }
    .nx-metier__does { font-size: 0.8125rem; }
}
@media (min-width: 768px) { .nx-metiers { gap: 14px; } }
@media (min-width: 1024px) { .nx-metiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* -- Chiffres mesurés en bande. ------------------------------------------ */
.nx-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--nx-line-cool);
    border-radius: var(--nx-r-lg);
    background: rgba(16, 25, 50, 0.55);
    overflow: hidden;
}
.nx-stats > li { padding: clamp(18px, 2.6vw, 30px) clamp(16px, 2.4vw, 30px); display: grid; align-content: start; gap: 6px; }
.nx-stats > li + li { border-left: 1px solid var(--nx-line-cool); }
.nx-stats__value {
    font-family: var(--nx-font-head);
    font-weight: 600;
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    background: var(--nx-grad-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nx-stats__label { color: var(--nx-ink); font-weight: 600; line-height: 1.35; }
.nx-stats__source { font-size: var(--nx-fs-small); line-height: 1.45; color: var(--nx-faint); }
.nx-stats__source a { color: var(--nx-gold-2); }
@media (max-width: 767px) {
    .nx-stats { grid-template-columns: minmax(0, 1fr); }
    .nx-stats > li { grid-template-columns: 6.6rem minmax(0, 1fr); gap: 2px 12px; padding: 16px; }
    .nx-stats__value { grid-row: span 2; font-size: 1.7rem; align-self: center; }
    .nx-stats > li + li { border-left: 0; border-top: 1px solid var(--nx-line-cool); }
}

/* Bande CTA : l'essai en pastille à contour doré (pas une .nx-btn : la règle
   « un seul bouton plein par page » reste tenue par le hero). */
.nx-cta-band__row { align-items: center; gap: 14px 22px; }
.nx-cta-band__go {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(214, 180, 106, 0.55);
    background: rgba(214, 180, 106, 0.08);
    color: var(--nx-gold-2);
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.nx-cta-band__go:hover, .nx-cta-band__go:focus-visible {
    background: rgba(214, 180, 106, 0.16);
    border-color: var(--nx-gold-2);
    transform: translateY(-1px);
}
.nx-cta-band__go-hint { font-weight: 400; color: var(--nx-muted); }
.nx-cta-band__go sup { font-size: .62em; }
@media (max-width: 479px) {
    .nx-cta-band__go { width: 100%; justify-content: center; text-align: center; }
}

/* Hub du répondeur : titre de la grille des métiers */
.nxp-metiers-title { margin: clamp(32px, 4vw, 48px) 0 16px; }
.nxp-metiers-nav { margin-bottom: clamp(32px, 4vw, 48px); }

/* Récit d'appel (03/11) : avant que le script ne prenne la main, l'appel est
   déjà là en entier ; la carte n'est jamais une coque vide au premier écran.
   Le lecteur part de cet état complet, puis rejoue l'appel. */
html.js .nx-call-story.nx-reveal .nx-call-story__line,
html.js .nx-call-story.nx-reveal .nx-call-story__outcome { opacity: 1; transform: none; }

/* Vague 4 (03/11) : un seul cadre. L'en-tête et le pied de page tenaient sur
   1280 px (100 % - 32 px en mobile), le contenu sur 1180 px (100 % - 40 px) :
   à 1440 le logo débordait de 50 px à gauche du titre, en mobile de 4 px. Tout
   le site s'aligne désormais sur le conteneur. */
.nx-header__inner,
.nx-footer__inner,
.nx-footer__bottom { width: min(100% - 40px, var(--nx-container)); }

/* Badges des stores (16/11) : visuels officiels Apple et Google, même hauteur
   (40 px), jamais déformés. Pied de page commun + une ligne sur l'accueil. */
.nx-stores { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin-top: 12px; }
.nx-stores__lien {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 8px;
    transition: transform var(--nx-dur-fast) ease, filter var(--nx-dur-fast) ease;
}
.nx-stores__lien img { display: block; height: 40px; width: auto; max-width: 100%; }
.nx-stores__lien:hover { transform: translateY(-1px); filter: brightness(1.08); }
.nx-stores__lien:focus-visible { outline: 2px solid var(--nx-gold-2); outline-offset: 3px; }
.nx-footer__brand .nx-footer__appli {
    margin: 22px 0 0;
    font-family: var(--nx-font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--nx-ink);
}
.nx-footer__brand .nx-footer__appli + .nx-stores { margin-top: 4px; }
.nx-appli-ligne {
    margin-top: clamp(28px, 4vw, 44px);
    padding: 16px clamp(16px, 3vw, 24px);
    border: 1px solid rgba(214, 180, 106, 0.26);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between;
}
.nx-appli-ligne p { margin: 0; color: var(--nx-ink); font-size: 1rem; line-height: 1.5; max-width: 46ch; flex: 1 1 260px; }
.nx-appli-ligne .nx-stores { margin-top: 0; }
@media (max-width: 767px) {
    .nx-appli-ligne { flex-direction: column; align-items: flex-start; }
    .nx-appli-ligne p { flex-basis: auto; }
}
