/* ==========================================================================
   Nouveau Nerdy : accueil public et « Comment ça marche » (lot P1, repris au tour Fable 1 sur la maquette v4).
   S'ajoute à nerdy.css (socle) et nv_public.css (blocs partagés du site public) ; classes préfixées nvh-.
   Aucune carte à fond teinté, aucun bord latéral coloré (règles de la DA).
   ========================================================================== */
:root{ --nvh-ink-on:#1B2A38; }

.nvh-head{display:flex; flex-direction:column; gap:var(--s-3); margin-bottom:var(--s-7)}
.nvh-head--center{align-items:center; text-align:center}
.nvh-sub{font-size:var(--t-lead); line-height:var(--lh-lead); color:var(--muted); max-width:46ch}
.nvh-alt{background:var(--surface)}

/* ---------- Héros ---------- */
.nvh-hero{background:var(--ink); color:#fff; padding-block:clamp(32px, 1.5rem + 1.6vw, 56px)}   /* 19/11/2026 : environ 1,5 cm de moins en haut et en bas */
.nvh-hero h1{color:#fff}
.nvh-hero__in{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(40px,5vw,80px); align-items:center}
.nvh-hero__txt{display:flex; flex-direction:column; align-items:flex-start; gap:var(--s-5)}
.nvh-hero__txt .n-eyebrow{color:var(--gold)}
.nvh-hero__lead{font-size:var(--t-lead); line-height:var(--lh-lead); color:#DCE6EE; max-width:40ch}
.nvh-hero__lead strong{color:#fff; font-weight:700}
.nvh-hero__txt .n-btn{margin-top:var(--s-2)}
/* Photo (quand Jordi l'a déposée : static/imgs/hero_eleve.jpg) : la carte de résultat incrustée en bas, comme chez Acely */
.nvh-photo{position:relative; aspect-ratio:5/4; border-radius:var(--r-l); background:var(--ink-2); border:1px solid rgba(255,255,255,.12);
           display:flex; flex-direction:column; justify-content:flex-end; padding:var(--s-4); min-width:0; overflow:hidden}
.nvh-photo--img img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit}
.nvh-photo--img .nvh-photo__card{position:relative; z-index:2}
/* Sans photo : une scène faite de vrais morceaux de produit (question corrigée, jauge, classement) */
.nvh-stage{position:relative; aspect-ratio:5/4; border-radius:var(--r-l); background:var(--ink-2); background-image:var(--tex-grid); border:1px solid rgba(255,255,255,.12); min-width:0; overflow:hidden; color:var(--nvh-ink-on)}
.nvh-stage__q{position:absolute; left:6%; top:6%; width:54%; background:#fff; border-radius:var(--r-m); padding:14px 16px; display:flex; flex-direction:column; gap:8px; box-shadow:var(--shadow-float)}
.nvh-stage__q .nvh-qcard__tags{justify-content:space-between; align-items:center}
.nvh-stage__q .n-muted{color:#51677A}
.nvh-stage__ask{font:600 .9375rem/1.3 var(--font-sans)}
.nv .nvh-stage__choices{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:5px}
.nvh-stage__choices li{display:flex; align-items:center; gap:10px; border:1.5px solid rgba(27,42,56,.18); border-radius:var(--r-s); padding:5px 10px; font-size:.875rem; line-height:1.2}
.nvh-stage__choices b{font:500 .75rem/1 var(--font-mono); color:#2E5E7C; width:12px}
.nvh-stage__choices .is-right{border-color:#2B6E67; background:#EBF7F6}
.nvh-stage__choices .nvx-ok{margin-left:auto; color:#2B6E67}
.nvh-stage__gauge{position:absolute; right:4%; top:8%; background:#fff; border-radius:var(--r-m); padding:12px; box-shadow:var(--shadow-float); width:36%}
.nvh-stage__gauge .n-gauge__label{white-space:nowrap}
/* Les cartes de la scène sont toujours blanches : pastilles en couleurs claires, même en mode sombre */
.nvh-stage .n-pill--sky,.nvh-photo__card .n-pill--gold{background:#E8F4FA; color:#2E5E7C}
.nvh-photo__card .n-pill--gold{background:#FFE9BC; color:#8A5A00}
.nvh-stage__gauge .n-gauge{gap:12px}
.nvh-stage__gauge .n-gauge__ring{width:56px; height:56px}
.nvh-stage__gauge .n-gauge__val{font-size:1.0625rem}
.nvh-stage__gauge .n-gauge__label{font-size:.875rem}
.nvh-stage__gauge .n-muted{color:#51677A; font-size:.75rem}
.nvh-stage__gauge .n-gauge__track{stroke:#EAF3F8}
.nvh-stage .nvh-photo__card{position:absolute; left:16%; right:5%; bottom:5%; z-index:3}
.nvh-photo__card{background:#fff; color:var(--nvh-ink-on); border-radius:var(--r-m); padding:14px 18px; display:flex; align-items:center; justify-content:space-between; gap:var(--s-4); box-shadow:var(--shadow-float)}
.nvh-photo__card > div{display:flex; flex-direction:column; align-items:flex-start; gap:6px}
.nvh-photo__card .n-eyebrow{color:#3F5469}
.nvh-photo__top{font:400 1.75rem/1 var(--font-mono); letter-spacing:-.02em}
.nvh-photo__bell{width:100px; height:46px; flex:none}
/* Entre 901 et 1200 px la scène fait 410 à 485 px de large : carrée plutôt que 5/4 et pièces plus petites, sinon la carte
   « Top 28 % » recouvrait le choix D (104 px à 1024, 21 px à 1100 ; P2-2) */
@media (min-width:901px) and (max-width:1200px){
  .nvh-stage{aspect-ratio:1/1}
  .nvh-stage__q{width:58%; padding:12px 14px; gap:6px}
  .nvh-stage__ask{font-size:.875rem}
  .nvh-stage__choices li{padding:4px 8px; font-size:.8125rem}
  .nvh-stage__gauge{width:38%; padding:10px}
  .nvh-stage__gauge .n-gauge{gap:8px} .nvh-stage__gauge .n-gauge__ring{width:44px; height:44px}
  .nvh-stage__gauge .n-gauge__val{font-size:.9375rem} .nvh-stage__gauge .n-gauge__label{font-size:.8125rem}
  .nvh-stage .nvh-photo__card{padding:12px 14px}
  .nvh-stage .nvh-photo__top{font-size:1.5rem}
  .nvh-stage .nvh-photo__bell{width:84px; height:40px}
}
@media (max-width:900px){
  .nvh-hero__in{grid-template-columns:minmax(0,1fr); gap:var(--s-7)}
  .nvh-photo,.nvh-stage{aspect-ratio:4/3}
}
@media (max-width:480px){
  .nvh-photo__bell{width:88px; height:42px} .nvh-photo__card{padding:12px 14px}
  .nvh-stage{aspect-ratio:auto; min-height:420px}
  .nvh-stage__q{width:54%; padding:14px 12px; gap:8px}
  .nvh-stage__q .n-num{display:none}
  .nvh-stage__ask{font-size:.875rem}
  .nvh-stage__choices li{padding:5px 8px; font-size:.8125rem; white-space:nowrap; gap:7px}
  .nvh-stage__gauge{width:34%; right:4%; padding:10px}
  .nvh-stage__gauge .n-gauge{flex-direction:column; align-items:flex-start; gap:6px}
  .nvh-stage .nvh-photo__card{left:6%; bottom:5%}
}

/* ---------- Choisis ton concours : 4 cartes basses ---------- */
.nvh-exam{display:flex; flex-direction:column; gap:8px; padding:var(--s-5); height:100%; color:inherit; text-decoration:none}
.nvh-exam h3{font-size:1.5rem; line-height:1.2}
.nvh-exam p{color:var(--muted); font-size:.9375rem; line-height:1.5}
.nvh-exam p .n-pill{margin-left:4px; vertical-align:middle}
.nvh-exam .nvx-go{margin-top:auto; padding-top:var(--s-3)}
.nvh-exam--soon{border-style:dashed}
.nvh-grid-4{display:grid; gap:var(--grid-gap); grid-template-columns:repeat(4,minmax(0,1fr)); align-items:stretch}
@media (max-width:960px){ .nvh-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .nvh-grid-4{grid-template-columns:minmax(0,1fr)} }

/* ---------- Un peu chaque jour : le visuel « Tes forces » ---------- */
.nvh-forces{flex-direction:row; align-items:center; gap:var(--s-4); padding:var(--s-4) var(--s-5)}
.nvh-radar{width:140px; height:140px; flex:none}
.nvh-forces__bars{flex:1; min-width:0; display:flex; flex-direction:column; gap:10px}
@media (max-width:480px){ .nvh-forces{flex-direction:column; align-items:stretch} .nvh-radar{align-self:center} }

/* ---------- Tout ce qu'il faut : un morceau de produit, un titre ---------- */
.nvh-feat{display:flex; flex-direction:column; gap:var(--s-4); min-width:0}
.nvh-feat__vis{min-height:170px; justify-content:space-between; box-shadow:none}
.nvh-feat h3{font:600 1.125rem/1.3 var(--font-sans); letter-spacing:0}
.nvh-feat__bars span{font:500 .6875rem/1 var(--font-mono); letter-spacing:.06em; color:var(--muted)}
.nvh-feat .nvx-bubble{font-size:.8125rem}

/* ---------- Chaque erreur revient : la pile ---------- */
.nvh-pile{position:relative; width:100%; max-width:360px; padding:var(--s-5) 0 var(--s-5) var(--s-5)}
.nvh-qcard{background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m); padding:var(--s-4); display:flex; flex-direction:column; gap:8px; position:relative; z-index:2; box-shadow:var(--shadow-float)}
.nvh-qcard__tags{display:flex; gap:8px; flex-wrap:wrap}
.nvh-qcard p{font-size:var(--t-small); color:var(--muted)}
.nvh-qcard--back{position:absolute; inset:0 var(--s-5) 0 0; z-index:1; opacity:.55; transform:rotate(-4deg); justify-content:flex-start}
.nvh-qcard--back p{visibility:hidden}
.nvh-checks{list-style:none; padding:0!important; display:flex; flex-direction:column; gap:var(--s-3)}
.nvh-checks li{display:flex; gap:12px; align-items:flex-start}
.nvh-checks .n-icon{color:var(--teal-ink); margin-top:3px}

/* ---------- Témoignages (anciennes classes gardées pour « Comment ça marche ») ---------- */
.nvh-quote{border-radius:var(--r-l); padding:var(--s-6); display:flex; flex-direction:column; gap:var(--s-5); color:var(--nvh-ink-on); height:100%}
.nvh-quote--sky{background:var(--sky)} .nvh-quote--teal{background:var(--teal)} .nvh-quote--gold{background:var(--gold)}
.nvh-quote blockquote{margin:0; font-family:var(--font-serif); font-size:clamp(1.375rem, 1.1rem + 1vw, 1.75rem); line-height:1.3; letter-spacing:var(--ls-tight); flex:1}

/* ---------- Bulles et barres de « Comment ça marche » ---------- */
.nvh-bars{display:flex; flex-direction:column; gap:10px}
.nvh-bars div{display:flex; justify-content:space-between; font-size:.8125rem}
.nvh-bubble{max-width:88%; padding:8px 12px; border-radius:14px; font-size:.875rem; line-height:1.4}
.nvh-bubble--me{align-self:flex-end; background:var(--steel-deep); color:var(--on-steel)}
.nvh-bubble--ai{align-self:flex-start; background:var(--mist); color:var(--text)}
:root[data-theme="dark"] .nvh-bubble--me{background:var(--steel); color:#0D1922}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .nvh-bubble--me{background:var(--steel); color:#0D1922} }
.nvh-ai{font:500 .6875rem/1.3 var(--font-mono); letter-spacing:.06em; text-transform:uppercase; color:var(--muted)}
.nvh-aims{font:500 .875rem/1.6 var(--font-mono); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); text-align:center}
.nvh-aims b{color:var(--text); font-weight:500}

/* ---------- Bandeau « Ils nous soutiennent » ---------- */
.nvh-support{background:var(--mist); padding-block:40px}
.nvh-support .n-container{display:flex; flex-direction:column; align-items:center; gap:var(--s-4)}
/* Mots-logos (maquette v4 .n-logos) : même poids pour les quatre, serif en grand, encre ; survol = acier */
.nvh-logos{display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:var(--s-3) clamp(28px,5vw,72px)}
.nvh-logos a{font:400 clamp(1.5rem,1.2rem + 1.2vw,2rem)/1 var(--font-serif); letter-spacing:var(--ls-tight); color:var(--text); text-decoration:none; opacity:.85; padding:6px 2px; min-height:44px; display:inline-flex; align-items:center}
.nvh-logos a:hover{opacity:1; color:var(--steel-deep)}

/* ---------- Comment ça marche ---------- */
.nvh-row{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--s-8); align-items:center; padding-block:var(--s-7)}
.nvh-row + .nvh-row{border-top:1px solid var(--line)}
.nvh-row--flip > :first-child{order:2}
@media (max-width:900px){ .nvh-row{grid-template-columns:minmax(0,1fr); gap:var(--s-5)} .nvh-row--flip > :first-child{order:0} }
.nvh-row h3{font-size:var(--t-h3-serif); line-height:var(--lh-h3-serif)}

/* ---------- Final ---------- */
.nvh-final{background:var(--ink); color:#fff; text-align:center}
.nvh-final h2{color:#fff}
.nvh-final .n-container{display:flex; flex-direction:column; align-items:center; gap:var(--s-5)}
.nvh-final p{color:#DCE6EE; font-size:var(--t-lead)}

@media (prefers-reduced-motion: reduce){ .nvh-hero *{transition:none!important} }

/* ==========================================================================
   Retours du 17/11/2026 (lot « accueil ») : haut de page avec photo, cartes animées, profs, Parents, formules.
   Tout ce qui bouge s'arrête en mouvement réduit ; les blocs animés ont leur taille réservée (rien ne saute).
   ========================================================================== */

/* ---------- Haut de page : photo 4:5 et cartes d'interface posées dessus ---------- */
.nvh-hero__cta{display:flex; align-items:center; gap:var(--s-4) var(--s-5); flex-wrap:wrap; margin-top:var(--s-2)}
.nvh-hero__txt .nvh-hero__cta .n-btn{margin-top:0}
.nv .nvh-hero__how{color:#DCE6EE; font:500 .9375rem/1.3 var(--font-sans); text-underline-offset:4px}
.nv .nvh-hero__how:hover{color:#fff}
.nv .nvh-hero__note{font-size:.875rem; color:#B9C7D3; margin-top:calc(-1 * var(--s-2))}
.nvh-hero .nvh-photo{aspect-ratio:4/5; width:100%; max-width:460px; justify-self:end; padding:0; display:block;
                     background:linear-gradient(165deg,#2C4A61 0%,#22374A 45%,#1B2A38 100%)}
.nvh-photo__ph{position:absolute; inset:0; width:100%; height:100%; display:block}
.nvh-float{position:absolute; z-index:2; background:#fff; color:var(--nvh-ink-on); border-radius:var(--r-m); padding:14px 16px; box-shadow:0 12px 32px rgba(10,20,28,.35);
           display:flex; flex-direction:column; gap:8px}
.nvh-float .n-eyebrow{color:#3F5469}
.nvh-float--coach{top:7%; right:5%; width:min(240px,62%)}
/* Avec l'illustration (18/11/2026) : bulle plus étroite, elle reste sur la fenêtre et ne touche pas le visage */
.nvh-photo--img .nvh-float--coach{width:min(200px,46%)}
.nvh-float--coach .nvx-bubble{background:#E8F4FA; color:#1B2A38; font-size:.8125rem}
.nvh-float--stats{left:5%; bottom:6%; width:min(250px,74%)}
.nvh-float__top{display:flex; justify-content:space-between; align-items:center; gap:8px}
.nvh-float .n-pill--gold{background:#FFE9BC; color:#8A5A00}
.nvh-float__big{font:400 2rem/1 var(--font-mono); letter-spacing:-.02em}
.nvh-float__row{display:flex; justify-content:space-between; gap:8px; font-size:.8125rem; color:#51677A}
.nvh-float__row b{color:#1B2A38; font-weight:500}
.nvh-float .n-bar{background:#EAF3F8; height:8px}
@media (max-width:900px){
  .nvh-hero .nvh-photo{aspect-ratio:4/5; justify-self:center; max-width:420px}
}
@media (max-width:600px){
  .nvh-float--coach{display:none}                 /* une seule carte sur téléphone */
  .nvh-hero__cta .n-btn{width:100%}
}

/* ---------- Lien pour les profs ---------- */
.nvh-profs{background:var(--paper); border-bottom:1px solid var(--line); padding-block:18px}
.nvh-profs__in{display:flex; align-items:center; justify-content:center; gap:10px 18px; flex-wrap:wrap}
.nvh-profs__ico{width:36px; height:36px; flex:none; border-radius:50%; background:var(--sky-soft); color:var(--steel-deep); display:flex; align-items:center; justify-content:center}
.nvh-profs p{font-size:.9375rem; line-height:1.45; color:var(--muted); min-width:0}
.nvh-profs p b{color:var(--text); font-weight:600}
.nvh-profs .nvx-go{font-weight:600}
.nv .nvh-profs2{margin-top:var(--s-7); font-size:.9375rem; color:var(--muted); display:flex; flex-wrap:wrap; justify-content:center; gap:6px 10px}
.nvh-profs2 .nvx-go{text-align:left}

/* ---------- Choisis ton épreuve : cartes sans étiquette ---------- */
.nvh-exam h3{text-wrap:balance}
.nvh-exam p{flex:1 0 auto}

/* ---------- Étapes ---------- */
.nv .nvh-stepshead{font:500 var(--t-eyebrow)/1.33 var(--font-mono); letter-spacing:var(--ls-eyebrow); text-transform:uppercase; color:var(--eyebrow); margin-bottom:var(--s-5)}
.nvx-step > div{min-width:0}

/* ---------- Carte « Tes forces » : la ligne de classement qui bouge ---------- */
.nvx-bars b{white-space:nowrap}
.nvx-bars b span,.nvh-forces .n-eyebrow span{display:inline}
.nvh-rankline{display:flex; flex-direction:column; gap:8px; font-size:.75rem; margin-top:2px}
.nvh-rankline > span{display:flex; justify-content:space-between; gap:8px}
.nvh-rankline__scale{position:relative; height:6px; border-radius:var(--r-pill); background:var(--mist); margin-inline:6px}
.nvh-rankline__scale i{position:absolute; top:50%; width:12px; height:12px; margin:-6px 0 0 -6px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 2px var(--surface)}
.nv .nvh-feat__sub{font-size:.875rem; line-height:1.45; color:var(--muted); margin-top:calc(-1 * var(--s-2))}

/* ---------- Chaque erreur revient : l'élève de démonstration et les exercices qui défilent ---------- */
.nvh-miss{position:relative; z-index:2; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m); padding:var(--s-4); display:flex; flex-direction:column; gap:12px; box-shadow:var(--shadow-float); min-width:0}
.nvh-miss__who{display:flex; align-items:center; gap:10px; padding-bottom:12px; border-bottom:1px solid var(--line)}
.nvh-miss__who > div{flex:1; min-width:0; display:flex; flex-direction:column}
.nvh-miss__who b{font:600 .9375rem/1.3 var(--font-sans)}
.nvh-miss__who small{font-size:.75rem; color:var(--muted)}
.nvh-miss__av{width:36px; height:36px; flex:none; border-radius:50%; background:var(--sky-pale); color:var(--steel-deep); display:flex; align-items:center; justify-content:center; font:400 1.0625rem/1 var(--font-serif)}
/* Les cartes occupent la même case de grille : la plus haute fixe la hauteur, rien ne saute quand elles tournent */
.nvh-miss__deck{display:grid}
.nvh-miss__item{grid-area:1 / 1; display:flex; flex-direction:column; gap:8px; min-width:0; opacity:0; visibility:hidden; transform:translateY(6px);
                transition:opacity 450ms var(--ease), transform 450ms var(--ease), visibility 0s linear 450ms}
.nvh-miss__item.is-on{opacity:1; visibility:visible; transform:none; transition-delay:0s}
.nvh-miss__ask{font:600 1rem/1.4 var(--font-sans); color:var(--text); min-height:2.8em}
.nvh-miss__ans{display:flex; justify-content:space-between; align-items:baseline; gap:12px; border:1.5px solid var(--line-strong); border-radius:var(--r-s); padding:8px 12px; font-size:.8125rem; color:var(--muted)}
.nvh-miss__ans span{white-space:nowrap; flex:none}
.nvh-miss__ans b{font:500 .875rem/1.35 var(--font-mono); color:var(--text); text-align:right}
.nvh-miss__ans--ko{border-color:var(--coral-ink); background:var(--coral-soft)}
.nvh-miss__ans--ok{border-color:var(--teal-ink); background:var(--teal-soft)}
.nvh-miss__note{display:flex; align-items:center; gap:8px; font-size:.8125rem; color:var(--muted)}

/* ---------- Parents : le mail du lundi (exemple) ---------- */
.nvh-mail{width:100%; max-width:400px; gap:var(--s-3)}
.nvh-mail__head{display:flex; align-items:center; gap:10px; padding-bottom:12px; border-bottom:1px solid var(--line)}
.nvh-mail__head > div{flex:1; min-width:0; display:flex; flex-direction:column}
.nvh-mail__head b{font:600 .9375rem/1.3 var(--font-sans)}
.nvh-mail__head small{font-size:.75rem; color:var(--muted)}
.nvh-mail__ico{width:36px; height:36px; flex:none; border-radius:50%; background:var(--sky-soft); color:var(--steel-deep); display:flex; align-items:center; justify-content:center}
.nv .nvh-mail__rows{list-style:none; padding:0; margin:0; display:flex; flex-direction:column}
.nvh-mail__rows li{display:grid; grid-template-columns:36px minmax(0,1fr) auto; align-items:center; gap:10px; padding:9px 0; font-size:.875rem; line-height:1.35}
.nvh-mail__rows li + li{border-top:1px solid var(--line)}
.nvh-mail__rows .n-pill{font-size:.75rem; padding:2px 10px}

/* ---------- Coach : l'échange qui se rejoue ---------- */
.nvh-chat .nvx-chat__body{justify-content:flex-start}
.nvh-chat .nvx-bubble.is-hidden{display:none}
.nvh-chat .nvx-bubble.is-in{animation:nvh-pop 280ms cubic-bezier(.22,1,.36,1)}
@keyframes nvh-pop{from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none}}
.nvh-chat .nvx-bubble.is-typing::after{content:"\2022\00a0\2022\00a0\2022"; color:var(--muted); animation:nvh-dots 900ms ease-in-out infinite}
@keyframes nvh-dots{0%,100%{opacity:.35} 50%{opacity:1}}
.nvh-chat .nvx-chat__input{white-space:nowrap; overflow:hidden; min-height:42px}
.nvh-chat .nvx-chat__input.is-typing{color:var(--text); border-color:var(--steel)}
.nvh-chat .nvx-chat__input.is-typing::after{content:""; display:inline-block; width:1.5px; height:1.05em; margin-left:2px; vertical-align:-.15em; background:currentColor; animation:nvh-caret 900ms steps(1) infinite}
@keyframes nvh-caret{50%{opacity:0}}

/* ---------- Formules ---------- */
/* Déplacé le 19/11/2026 dans nv_formules.css (.fm-section) : la section est partagée avec la page concours médecine. */

@media (prefers-reduced-motion: reduce){
  .nvh-miss__item{transition:none}
  .nvh-chat .nvx-bubble.is-in,.nvh-chat .nvx-bubble.is-typing::after,.nvh-chat .nvx-chat__input.is-typing::after{animation:none}
}

/* ---------- Section Coach : l'illustration accueil-coach (18/11/2026), la carte de chat posée sur son bas droit ---------- */
.nvh-coachimg{position:relative; margin:0; aspect-ratio:4/3; border-radius:var(--r-m); overflow:hidden; background:var(--mist)}
.nvh-coachimg img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block}
.nvh-coachimg + .nvh-chat{position:relative; z-index:1; margin:-7% 0 0 auto; width:min(100%,380px); box-shadow:var(--shadow-float)}
@media (max-width:600px){ .nvh-coachimg + .nvh-chat{margin-top:-4%; width:100%} }

/* ==========================================================================
   Compactage du 18/11/2026 (retour de Jordi : trop d'espacement, sections trop hautes).
   Les sections reprennent la taille de celles d'avant le chantier ; aucun bloc ni texte n'est retiré.
   ========================================================================== */
/* Haut de page : l'image carrée (au lieu de 4:5) ramène le bandeau à la hauteur de l'ancien (648 px à 1280) */
@media (min-width:901px){ .nvh-hero .nvh-photo{aspect-ratio:1 / 1} }
@media (max-width:900px){ .nvh-hero .nvh-photo{aspect-ratio:5 / 4; max-width:440px} }
/* Lien pour les profs : collé au bandeau des écoles */
.nvh-profs{padding-block:14px}
/* Section Coach : image plus basse, la carte de chat mord davantage dessus */
.nvh-coachimg{aspect-ratio:16 / 9}
.nvh-coachimg + .nvh-chat{margin-top:-12%}
@media (max-width:600px){ .nvh-coachimg + .nvh-chat{margin-top:-8%} }
.nv .nvh-profs2{margin-top:var(--s-6)}

/* ==========================================================================
   Retouches du 19/11/2026 (accueil seulement : `.nvh-s` est posé sur les sections de home.html, pas sur les autres pages).
   ========================================================================== */
/* Une seule valeur de padding vertical pour toutes les sections de l'accueil (56 px à 1280, 44 px à 390) */
.n-section.nvh-s{--nvh-section-y:clamp(44px, 2rem + 1.9vw, 64px); padding-block:var(--nvh-section-y)}
.nvh-s .nvx-head{margin-bottom:var(--s-6)}

/* Bande des profs : un vrai bouton doré, comme « Commencer gratuitement » */
.nvh-profs__in{gap:12px 24px}
.nvh-profs__btn{flex:none; max-width:100%; white-space:normal; text-align:center}
@media (max-width:600px){ .nvh-profs__in{flex-direction:column; text-align:center} .nvh-profs__btn{width:100%} }

/* Section Parents de l'accueil (19/11/2026, demande de Jordi) : l'étiquette doit se voir tout de suite,
   en gros et en gras, sans dépasser le titre h2. */
.nvh-parents-tag{display:inline-flex; align-self:flex-start; align-items:center; gap:8px; font:700 clamp(1.15rem,1rem + .6vw,1.5rem)/1.2 var(--font-sans, inherit); letter-spacing:.01em; color:var(--ink, #1B2A38); padding:6px 14px; border:2px solid var(--color-tertiary-gold, #F2BE5C); border-radius:999px; background:color-mix(in srgb, var(--color-tertiary-gold, #F2BE5C) 14%, transparent)}
:root[data-theme="dark"] .nvh-parents-tag{color:#fff}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .nvh-parents-tag{color:#fff} }
