/* Pages concours du « nouveau Nerdy » (lot P2) : médecine, ingénieur civil, ERM, guide.
   S'appuie sur nerdy.css (jetons, .n-card, .n-btn, .n-faq, .n-table...). Préfixe nvc-. */

/* ---------- Héros : encre, titre serif, une phrase, le bouton tout de suite dessous ---------- */
.nvc-hero{background:var(--ink); color:#fff; padding-block:clamp(40px, 3rem + 2vw, 80px); overflow:hidden}
.nvc-hero__in{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(32px,5vw,72px); align-items:center}
.nvc-hero__txt{display:flex; flex-direction:column; align-items:flex-start; gap:18px; min-width:0}
.nvc-hero .n-eyebrow{color:var(--gold)}
.nv .nvc-hero h1{color:#fff; max-width:16ch}
.nvc-hero__lead{font-size:var(--t-lead); line-height:var(--lh-lead); color:#C9D6E0; max-width:44ch}
.nvc-hero__btn{margin-top:6px}
.nvc-hero--plain .nvc-hero__in{grid-template-columns:minmax(0,1fr)}
.nvc-shot{background:var(--tex-grid); background-color:var(--ink-2); border-radius:var(--r-l); padding:clamp(14px,2.2vw,22px); min-width:0}
.nvc-shot .n-eyebrow{color:var(--eyebrow)}
.nvc-runner{background:var(--surface); color:var(--text); border-radius:var(--r-m); box-shadow:var(--shadow-float); padding:18px; display:flex; flex-direction:column; gap:14px; min-width:0}
.nvc-runner__top{display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap}
.nvc-timer{font:400 1.375rem/1 var(--font-mono); letter-spacing:-.02em}
.nvc-dots{display:flex; gap:4px; flex-wrap:wrap}
.nvc-dots i{width:9px; height:6px; border-radius:3px; background:var(--line-strong)}
.nvc-dots i.on{background:var(--steel)} .nvc-dots i.cur{background:var(--gold)}
.nvc-sk{display:block; height:10px; border-radius:5px; background:var(--mist); width:100%}
.nvc-sk--s{width:62%}
.nvc-runner .n-choice{cursor:default; padding:10px 14px}
.nvc-runner .n-choice .nvc-sk{margin-top:8px}
.nvc-runner__foot{display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; font-size:.8125rem; color:var(--muted)}
.nvc-answer{border:1.5px solid var(--line-strong); border-radius:var(--r-s); padding:12px 14px; font:400 1rem/1.4 var(--font-mono); background:var(--paper); display:flex; justify-content:space-between; align-items:center; gap:10px}
.nvc-verdict{display:flex; gap:10px; align-items:flex-start; font-size:.875rem; line-height:1.45}

/* ---------- Sections ---------- */
.nvc-sec{padding-block:clamp(48px, 2.5rem + 3vw, 96px)}
.nvc-sec--tight{padding-block:clamp(32px, 2rem + 2vw, 64px)}
.nvc-stack{display:flex; flex-direction:column; gap:var(--s-5)}
.nvc-maxw{max-width:62ch}
.nvc-src{font-size:.8125rem; color:var(--muted)}
.nvc-sec h2{max-width:22ch}
.nvc-center{text-align:center} .nvc-center h2{margin-inline:auto}

/* « Le concours en 1 minute » : grand texte sans cadre, puis rangée de chiffres */
.nvc-minute .n-bigtext{max-width:34ch}
.nvc-figures{margin-top:var(--s-7)}
.nvc-figures h3{font:600 1rem/1.3 var(--font-sans); letter-spacing:0; margin-bottom:var(--s-5)}
.nvc-figures .n-figures{gap:var(--s-6) var(--s-7)}
.nvc-figures .n-stat__value{font-size:clamp(2rem, 1.5rem + 2vw, 2.75rem)}

/* Dates */
.nvc-dates{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--grid-gap)}
@media (max-width:960px){ .nvc-dates{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .nvc-dates{grid-template-columns:minmax(0,1fr)} }
.nvc-dates .n-card{display:flex; flex-direction:column; gap:8px}
.nvc-dates b{font:600 1rem/1.35 var(--font-sans)}
.nvc-dates .n-num{font-size:1.75rem; font-weight:400}
.nvc-count{display:flex; align-items:center; justify-content:space-between; gap:var(--s-4); flex-wrap:wrap; margin-top:var(--s-5)}
.nvc-count__d{font:400 clamp(2rem,1.6rem + 1.4vw,2.75rem)/1 var(--font-mono); letter-spacing:-.02em}
.nvc-count__l{font:500 1.0625rem/1.4 var(--font-sans)}

/* Tuiles : un morceau de produit sur fond crème, un titre, une ligne */
.nvc-tiles{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--grid-gap); align-items:stretch}
@media (max-width:1060px){ .nvc-tiles{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .nvc-tiles{grid-template-columns:minmax(0,1fr)} }
.nvc-tile{display:flex; flex-direction:column; gap:var(--s-4); min-width:0}
.nvc-tile .n-chunkwrap{min-height:190px; padding:var(--s-4)}
.nvc-tile .n-chunkwrap > .n-chunk{max-width:none}
.nvc-tile h3{font:600 1.125rem/1.3 var(--font-sans); letter-spacing:0; display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.nvc-tile p{color:var(--muted); font-size:.9375rem}
.nvc-bignum{font:400 2.5rem/1 var(--font-mono); letter-spacing:-.03em}
.nvc-bubble{font-size:.8125rem; line-height:1.45; padding:8px 12px; border-radius:var(--r-m); max-width:92%}
.nvc-bubble--me{align-self:flex-end; background:var(--steel-deep); color:var(--on-steel)}
.nvc-bubble--ai{align-self:flex-start; background:var(--mist); color:var(--text)}
:root[data-theme="dark"] .nvc-bubble--me{color:#0D1922}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .nvc-bubble--me{color:#0D1922} }
.nvc-mini-field{display:flex; justify-content:space-between; align-items:center; gap:8px; border:1.5px solid var(--line-strong); border-radius:var(--r-s); padding:8px 10px; font:400 .8125rem/1.3 var(--font-mono); color:var(--muted)}
.nvc-ok{display:inline-flex; align-items:center; gap:6px; color:var(--teal-ink); font:600 .8125rem/1.2 var(--font-sans)}

/* Rangées texte + visuel */
.nvc-split{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,80px); align-items:center}
.nvc-split + .nvc-split{margin-top:clamp(48px,6vw,96px)}
.nvc-split--flip > :first-child{order:2}
@media (max-width:860px){ .nvc-split{grid-template-columns:minmax(0,1fr)} .nvc-split--flip > :first-child{order:0} }
.nvc-split h2{font-size:clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height:1.2}
.nvc-checks{list-style:none; padding:0; display:flex; flex-direction:column; gap:10px}
.nvc-checks li{display:flex; gap:10px; align-items:flex-start}
.nvc-checks .n-icon{color:var(--teal-ink); margin-top:3px}
.nvc-vis{background:var(--mist); border-radius:var(--r-l); padding:clamp(16px,3vw,32px); display:flex; flex-direction:column; justify-content:center; gap:var(--s-4); min-width:0}
.nvc-vis .n-chunk{box-shadow:var(--shadow-float)}
.nvc-bell{width:100%; height:auto; display:block}
.nvc-bars{display:flex; flex-direction:column; gap:10px; font-size:.875rem}
.nvc-bars > div{display:flex; flex-direction:column; gap:4px}
.nvc-bars span{display:flex; justify-content:space-between; gap:8px}

/* Mini-planning (ingénieur) */
.nvc-week{display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; margin-top:6px}
.nvc-week div{border:1px solid var(--line); border-radius:var(--r-s); padding:6px 4px; text-align:center; font:500 .6875rem/1.25 var(--font-mono); letter-spacing:.02em; color:var(--muted); min-width:0; background:var(--surface)}
.nvc-week b{display:block; font:500 .6875rem/1.2 var(--font-mono); text-transform:uppercase; color:var(--text); margin-bottom:3px}
.nvc-week .is-exam{border-color:var(--gold); color:var(--gold-ink)}
.nvc-week .is-rest{border-style:dashed}
.nvc-week__note{display:flex; align-items:center; gap:8px; font-size:.875rem; color:var(--muted)}

/* Matières */
.nvc-subjects{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--grid-gap)}
.nvc-subjects--4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1060px){ .nvc-subjects--4{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:860px){ .nvc-subjects{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .nvc-subjects,.nvc-subjects--4{grid-template-columns:minmax(0,1fr)} }
.nvc-subject{display:flex; flex-direction:column; gap:10px; min-width:0}
.nvc-subject h3{font-size:1.5rem}
.nvc-subject p{color:var(--muted); font-size:.9375rem}
.nvc-subject__n{margin-top:auto; padding-top:var(--s-3); display:flex; justify-content:space-between; align-items:baseline; gap:8px}
.nvc-subject__n b{font:400 1.75rem/1 var(--font-mono); letter-spacing:-.02em}
.nvc-subject__n small{font:500 .75rem/1.3 var(--font-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--muted)}
.nvx-subject .nvc-subject__n small{color:#C9D6E0}

/* Le jour J */
.nvc-day{display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:clamp(24px,4vw,56px); align-items:start}
@media (max-width:860px){ .nvc-day{grid-template-columns:minmax(0,1fr)} }
.nvc-tl{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; border-left:2px solid var(--line-strong)}
.nvc-tl li{display:flex; gap:16px; align-items:baseline; padding:10px 0 10px 18px; position:relative}
.nvc-tl li::before{content:""; position:absolute; left:-6px; top:19px; width:10px; height:10px; border-radius:50%; background:var(--steel); border:2px solid var(--paper)}
.nvc-tl b{font:500 1.0625rem/1.3 var(--font-mono); min-width:4.2ch; color:var(--text)}
.nvc-tl span{color:var(--muted)}

/* Guides, comparatifs */
.nvc-guides{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--grid-gap)}
@media (max-width:1060px){ .nvc-guides{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .nvc-guides{grid-template-columns:minmax(0,1fr)} }
.nvc-guides .n-card{display:flex; flex-direction:column; gap:10px; height:100%}
.nvc-guides .n-card__title{font-family:var(--font-serif); font-weight:400; font-size:1.375rem; line-height:1.25}
.nvc-go{margin-top:auto; color:var(--steel-deep); font:500 .9375rem/1.3 var(--font-sans); display:inline-flex; align-items:center; gap:6px}
.nvc-compare .n-table th.me,.nvc-compare .n-table td.me{font-weight:600}
.nvc-compare .n-table td.me{color:var(--text)}
.nvc-compare table{min-width:620px}
.nvc-univ table{min-width:760px}
.nvc-univ th:first-child,.nvc-univ td:first-child{font-weight:600; white-space:nowrap}
.nvc-warn{display:flex; gap:12px; align-items:flex-start; margin-top:var(--s-4); padding:14px 16px; border:1px solid var(--gold); border-radius:var(--r-m); font-size:.9375rem}
.nvc-warn .n-icon{color:var(--gold-ink); margin-top:2px}

/* Carte EF courte */
.nvc-ef{display:flex; align-items:center; gap:var(--s-5); flex-wrap:wrap; padding:var(--s-4) var(--s-5)}
.nvc-ef img{height:34px; width:auto; object-fit:contain}
:root[data-theme="dark"] .nvc-ef img{background:#fff; padding:6px 10px; border-radius:var(--r-s); height:46px}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .nvc-ef img{background:#fff; padding:6px 10px; border-radius:var(--r-s); height:46px} }
.nvc-ef__txt{flex:1 1 260px; display:flex; flex-direction:column; gap:2px; min-width:0}
.nvc-ef__txt p{font-size:.9375rem}
.nvc-ef a{color:var(--partner-ink); font-weight:500; text-decoration:none; display:inline-flex; align-items:center; gap:6px}
.nvc-ef a:hover{text-decoration:underline}

/* Bande citation (emplacement) */
.nvc-quote{background:var(--ink-2); background-image:var(--tex-grid); color:#fff; padding-block:clamp(40px,5vw,72px)}
.nvc-quote blockquote{margin:0; max-width:34ch}
.nvc-quote .n-bigtext{color:#fff}
.nvc-todo{display:inline-block; border:1.5px dashed rgba(255,255,255,.45); border-radius:var(--r-s); padding:6px 12px; font:500 1rem/1.5 var(--font-mono)}

/* Offre : gratuit + Prépa */
.nvc-offers{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--grid-gap); max-width:900px}
@media (max-width:760px){ .nvc-offers{grid-template-columns:minmax(0,1fr)} }
.nvc-offer{display:flex; flex-direction:column; gap:var(--s-3)}
.nvc-offer__price{font:400 2.5rem/1 var(--font-mono); letter-spacing:-.03em}
.nvc-offer__price small{font:500 .9375rem/1 var(--font-sans); letter-spacing:0; color:var(--muted)}
.nvc-offer ul{list-style:none; padding:0; display:flex; flex-direction:column; gap:8px; margin:var(--s-2) 0 var(--s-4)}
.nvc-offer li{display:flex; gap:10px; align-items:flex-start; font-size:.9375rem}
.nvc-offer li .n-icon{color:var(--teal-ink); margin-top:3px}
.nvc-offer .n-btn{margin-top:auto}

/* Bande d'échéance */
.nvc-deadline{background:var(--ink); color:#fff; padding-block:clamp(40px,5vw,72px)}
.nvc-deadline__in{display:flex; align-items:center; justify-content:space-between; gap:var(--s-6); flex-wrap:wrap}
.nv .nvc-deadline h2{color:#fff; max-width:20ch}
.nvc-deadline p{color:#C9D6E0; margin-top:8px}

/* ERM */
.nvc-form{display:flex; flex-direction:column; gap:var(--s-3); max-width:520px}
.nvc-form .n-input{background:var(--surface)}
.nvc-form label.nvc-check{display:flex; gap:10px; align-items:flex-start; font-size:.875rem; color:var(--muted)}
.nvc-form label.nvc-check input{margin-top:4px; width:18px; height:18px; flex:none}
.nvc-form .n-btn{align-self:flex-start}
.nvc-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}
.nvc-flash{padding:12px 16px; border-radius:var(--r-m); border:1px solid var(--line-strong); background:var(--surface); max-width:520px}
.nvc-list{list-style:none; padding:0; display:flex; flex-direction:column; gap:14px; max-width:70ch}
.nvc-list li b{font-weight:600}
.nvc-inline-cards{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--grid-gap)}
@media (max-width:860px){ .nvc-inline-cards{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .nvc-inline-cards{grid-template-columns:minmax(0,1fr)} }

/* Guide : une seule colonne centrée, sans sommaire */
.nvc-guide{max-width:720px; margin-inline:auto}
.nvc-guide__head{padding-block:clamp(40px,5vw,72px) var(--s-6)}
.nvc-guide__head h1{font-size:clamp(2rem, 1.5rem + 2.2vw, 3rem); line-height:1.15; margin-top:var(--s-4)}
.nvc-guide__lead{font-size:var(--t-lead); line-height:var(--lh-lead); color:var(--muted); margin-top:var(--s-4)}
.nvc-guide__by{font-size:.875rem; color:var(--muted); margin-top:var(--s-4)}
.nvc-crumb{font-size:.8125rem; color:var(--muted); display:flex; gap:8px; flex-wrap:wrap}
.nvc-crumb a{color:var(--muted)}
.nvc-guide__body{display:flex; flex-direction:column; gap:var(--s-7); padding-bottom:var(--s-8)}
.nvc-guide__body section{display:flex; flex-direction:column; gap:var(--s-4)}
.nvc-guide__body h2{font-size:clamp(1.625rem, 1.35rem + 1vw, 2.125rem); line-height:1.2}
.nvc-guide__body p,.nvc-guide__body li{font-size:var(--t-body); line-height:var(--lh-body)}
.nvc-rule{list-style:none; padding:0; display:flex; flex-direction:column; gap:12px}
.nvc-rule li{padding:14px 18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m)}
.nvc-formula{font:400 1.0625rem/1.5 var(--font-mono); padding:14px 18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-m); overflow-x:auto}
.nvc-calc{display:flex; flex-direction:column; gap:var(--s-4)}
.nvc-calc__row{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--s-3)}
@media (max-width:520px){ .nvc-calc__row{grid-template-columns:minmax(0,1fr)} }
.nvc-calc__out{font:400 clamp(1.75rem,1.4rem + 1.4vw,2.5rem)/1.1 var(--font-mono); letter-spacing:-.02em}
.nvc-endcta{display:flex; align-items:center; justify-content:space-between; gap:var(--s-5); flex-wrap:wrap; padding:var(--s-5) 0; border-top:1px solid var(--line-strong); border-bottom:1px solid var(--line-strong)}
.nvc-endcta p{font:500 1.0625rem/1.4 var(--font-sans)}

.nvc-tile .n-rank__legend span:nth-child(2){display:none}
@media (max-width:860px){ .nvc-hero__in{grid-template-columns:minmax(0,1fr)} .nv .nvc-hero h1{max-width:none} }
.nvc-guide__body .n-bigtext{font-size:clamp(1.5rem,1.2rem + 1.2vw,2rem); line-height:1.3}
.nvc-guide__body .n-bigtext cite{font-size:.9375rem; line-height:1.5}
.nvc-guide__by{margin-top:var(--s-5)}

/* ---------- Tour Fable 1 (maquette v4) : compléments ---------- */
.nvc-exlist{display:flex; flex-direction:column; gap:8px}
.nvc-exlist > div{display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 14px; border-radius:var(--r-s); background:var(--mist); font-size:.9375rem}
.nvc-exlist b{font-weight:400; color:var(--muted); font-size:.875rem}
.nvc-runner__foot{font-size:.8125rem}
.nvc-sec .nvx-head{margin-bottom:var(--s-7)}
.nvc-subjects .nvx-subject h3{font-size:1.5rem}
.nvc-guides .n-card{padding:var(--s-5)}
.nvc-guides .n-card__title{font-family:var(--font-sans); font-weight:600; font-size:1.125rem; line-height:1.35}
.nvc-todo{border-color:var(--gold); color:var(--gold-ink); background:var(--gold-soft)}
.nvc-dates .n-card{padding:var(--s-4) var(--s-5)}
.nvc-dates b{font-size:1.0625rem}

.nvc-prog{display:flex; flex-direction:column; gap:6px; padding:var(--s-4) var(--s-5)}
.nvc-guide__band{background:var(--cream)}
.nvc-guide__band .nvc-guide__head{padding-bottom:clamp(40px,5vw,72px)}
.nvc-quick{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--s-4); border-top:1px solid var(--line-strong); padding-top:var(--s-4)}
.nvc-quick > div{display:flex; flex-direction:column; gap:4px}
.nvc-quick b{font:400 1.75rem/1 var(--font-mono); letter-spacing:-.02em}
.nvc-quick span{font-size:.875rem; color:var(--muted)}
.nvc-calc__out.is-ko{color:var(--coral-ink); font:500 1rem/1.4 var(--font-sans)}
.nvc-guide__body .nvx-head{margin-bottom:var(--s-5)}
.nvc-guide .nvx-faq{max-width:none}

.nvc-figures .n-figures{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:var(--s-6) var(--s-5)}
@media (max-width:760px){ .nvc-figures .n-figures{grid-template-columns:repeat(2,minmax(0,1fr))} }
.nvc-hero__level{margin-top:var(--s-3)}
.nvc-hero__level a{color:inherit; text-decoration:underline; text-underline-offset:3px}

/* ==========================================================================
   Lot « concours » (17/11/2026) : retours du vocal, points 33 et 40 à 68
   ========================================================================== */

/* Listes sans puce : nerdy.css pose « .nv ul{padding-left:1.1em} », plus fort que « .nvc-list{padding:0} ». Les listes
   étaient donc décalées de 18 px par rapport aux titres (bloc « Les épreuves » de la page ERM, règles du guide). */
.nv .nvc-list,.nv .nvc-checks,.nv .nvc-rule,.nv .nvc-tl,.nv .nvc-docs,.nv .nvc-points{padding-left:0; margin:0; list-style:none}

/* Bug 33 : .nvx-final (nv_public.css) porte une marge basse négative, prévue pour coller au pied de page quand le bloc
   encre est le DERNIER de la page. Ici la FAQ le suit : elle remontait sur le bloc et mangeait tout l'espace sous le
   bouton « Commencer gratuitement ». La marge ne vaut que si le bloc est vraiment le dernier. */
.nv main > .nvx-final:not(:last-child){margin-bottom:0}

/* Deux sections de même fond qui se suivent : pas de double marge entre elles */
.nvc-flush{padding-top:0}

/* ---------- Emplacements d'images (règle 14) : dimensions fixées, image provisoire en dégradé ---------- */
.nvc-visual{position:relative; margin:0; width:100%; min-width:0; overflow:hidden; border-radius:var(--r-l);
            background:linear-gradient(135deg, var(--sky-soft) 0%, var(--mist) 55%, var(--cream) 100%); color:var(--steel)}
.nvc-visual > img,.nvc-visual > svg{position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover}
.nvc-visual--dark{background:linear-gradient(135deg, #24384A 0%, #2E5E7C 100%); color:#A9CDE3}
.nvc-visual--band{margin-top:var(--s-7)}
@media (max-width:700px){ .nvc-visual--band{aspect-ratio:4 / 3 !important} }

/* Héros : la photo, et le morceau de produit posé sur son bord bas */
.nvc-shot--photo{background:none; padding:0; display:flex; flex-direction:column; border-radius:0}
.nvc-shot--photo .nvc-runner{position:relative; margin:-22% clamp(12px,5%,32px) 0; gap:12px}
.nvc-shot--solo .nvc-visual{max-width:560px; margin-left:auto}
@media (max-width:860px){ .nvc-shot--photo .nvc-runner{margin-top:-18%} .nvc-shot--solo .nvc-visual{max-width:none} }
/* Ingénieur (18/11/2026) : la carte mord moins sur la photo, les mains et la figure sont dans le tiers bas */
.nvc-shot--low .nvc-runner{margin-top:-9%}
.nvc-shot--schema .nvc-runner{margin-top:-4%}
@media (max-width:860px){ .nvc-shot--low .nvc-runner{margin-top:-7%} .nvc-shot--schema .nvc-runner{margin-top:-3%} }
/* « On ne coche pas, on rédige » : la copie au-dessus, la case réponse posée sur son bord bas */
.nvc-copie{display:flex; flex-direction:column; min-width:0}
.nvc-copie > .n-chunk{position:relative; margin:-14% clamp(12px,6%,40px) 0; box-shadow:var(--shadow-float)}
.nvc-hero__slogan{font:400 clamp(1.375rem, 1.2rem + .8vw, 1.75rem)/1.25 var(--font-serif); font-style:italic; color:var(--gold); letter-spacing:var(--ls-tight)}

/* ---------- « En une minute » : un titre, un paragraphe ---------- */
.nv .nvc-minute__p{font-size:var(--t-lead); line-height:1.6; max-width:64ch; margin-top:var(--s-5)}
.nv .nvc-minute__p--2{margin-top:var(--s-4); color:var(--muted)}
.nvc-inlink{display:inline; color:var(--steel-deep); font-weight:500; text-decoration:underline; text-underline-offset:3px}
.nvc-inlink:hover{color:var(--text)}
.nvc-inlink .n-icon{margin-left:6px; transition:transform var(--d-base) var(--ease)}
.nvc-inlink:hover .n-icon{transform:translateX(3px)}
.nvc-ext{color:var(--steel-deep); text-decoration:underline; text-underline-offset:3px; display:inline-flex; align-items:center; gap:4px}
.nvc-figures h3{font:600 1rem/1.3 var(--font-sans); letter-spacing:0; margin-bottom:var(--s-5)}

/* ---------- Compte à rebours vivant (static/js/nv_countdown.js) ---------- */
.nvc-cd{--nvcd-label:#DCE6EE}
.nvc-cd__end{gap:var(--s-4); flex-wrap:wrap}
.nvc-cd .nvx-countdown__d{display:inline-flex; align-items:flex-end; min-height:1.5em}   /* hauteur réservée : pas de saut quand le script remplace « J-279 » */
@media (max-width:420px){ .nvc-cd .nvx-countdown__d{font-size:1.75rem} .nvc-cd{--nvcd-gap:.55em; padding:16px 18px} }

/* ---------- Carte « Ta place » : la place et l'estimation, côte à côte ---------- */
.nvc-duo{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--s-3)}
.nvc-duo > div{display:flex; flex-direction:column; gap:4px; padding:12px 14px; border-radius:var(--r-s); background:var(--mist); min-width:0}
.nvc-duo b{font:400 1.625rem/1.1 var(--font-mono); letter-spacing:-.02em}
.nvc-duo b i{font-style:normal; font-size:.9375rem; color:var(--muted)}
.nvc-duo small{font-size:.75rem; line-height:1.4; color:var(--muted)}
.nvc-duo .n-eyebrow{font-size:.6875rem}
@media (max-width:420px){ .nvc-duo{grid-template-columns:minmax(0,1fr)} }

/* ---------- Matières : le compte d'exercices de Nerdy, arrondi ---------- */
.nvc-subject__n{flex-wrap:wrap}
.nvx-subject .nvc-subject__n b{font-size:1.25rem}

/* ---------- Programme officiel : chapitres repliables, points numérotés lus de haut en bas ---------- */
.nvc-chaps{max-width:980px; margin-inline:auto; border-top:1px solid var(--line-strong)}
.nvc-chap{border-bottom:1px solid var(--line-strong)}
.nvc-chap > summary{list-style:none; cursor:pointer; display:flex; align-items:baseline; gap:var(--s-4); padding:20px 4px}
.nvc-chap > summary::-webkit-details-marker{display:none}
.nvc-chap > summary::after{content:"+"; font:500 1.25rem/1 var(--font-mono); flex:none; width:24px; text-align:center}
.nvc-chap[open] > summary::after{content:"−"}
.nvc-chap > summary:hover .nvc-chap__t{color:var(--steel-deep)}
.nvc-chap__n{font-size:1.125rem; color:var(--steel-deep); min-width:1.6em}
.nvc-chap__t{font:400 clamp(1.25rem, 1.1rem + .6vw, 1.5rem)/1.25 var(--font-serif); letter-spacing:var(--ls-tight); min-width:0; flex:1 1 auto}
.nvc-chap__c{font:500 .75rem/1.3 var(--font-mono); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); white-space:nowrap}
.nvc-chap__body{padding:0 4px var(--s-5)}
/* Colonnes CSS : la liste remplit la première colonne de haut en bas, puis la seconde. Jamais de lecture en zigzag. */
.nvc-points{columns:2; column-gap:var(--s-7)}
@media (max-width:860px){ .nvc-points{columns:1} }
.nvc-points li{display:grid; grid-template-columns:3.4em minmax(0,1fr); gap:8px; padding:7px 0; break-inside:avoid; font-size:.9375rem; line-height:1.5}
.nvc-points li > .n-num{color:var(--muted); font-size:.875rem; padding-top:1px}
.nvc-points--plain{max-width:980px}
.nvc-chap__go{margin-top:var(--s-4)}
@media (max-width:560px){ .nvc-chap > summary{gap:var(--s-3)} .nvc-chap__c{display:none} }

/* ---------- Guides : carte cliquable (point 51) ----------
   La carte est un lien : toute la surface se clique, la flèche avance au survol, le contour de focus suit la carte.
   « height:100% » sur le lien n'est plus nécessaire : la grille étire déjà ses cases. */
.nvc-guides{align-items:stretch}
.nvc-guides .n-card{height:auto; min-height:148px; text-decoration:none; color:var(--text)}
.nvc-guides .n-card__title{text-wrap:pretty}
.nvc-go .n-icon{transition:transform var(--d-base) var(--ease)}
a.n-card:hover .nvc-go .n-icon,.nvc-chap__go:hover .n-icon{transform:translateX(3px)}
.nvc-guides a.n-card:focus-visible{outline:2px solid var(--focus); outline-offset:3px}
.nvc-guides--few{grid-template-columns:repeat(2,minmax(0,1fr)); max-width:760px; margin-inline:auto}
@media (max-width:560px){ .nvc-guides--few{grid-template-columns:minmax(0,1fr)} }
@media (prefers-reduced-motion:reduce){ .nvc-go .n-icon,.nvc-inlink .n-icon{transition:none} a.n-card:hover .nvc-go .n-icon,.nvc-inlink:hover .n-icon{transform:none} }

/* ---------- Comparaison allongée (point 53) ---------- */
.nvc-versus{display:flex; flex-direction:column; gap:var(--s-4); margin-top:var(--s-5)}
.nvc-versus h3{font-size:var(--t-h3-serif); line-height:var(--lh-h3-serif); margin-top:var(--s-5)}
.nvc-compare--ask table{min-width:560px}
.nvc-compare--ask td:first-child{font-weight:500; width:38%}
.nvc-compare .n-table .nvc-ask td.me,.nvc-compare--ask .n-table td.me{font-weight:400}

/* ---------- Ingénieur : liste des examens blancs ---------- */
.nvc-exlist > .is-all{background:var(--sky-soft); font-weight:600}
.nvc-exlist > .is-all b{color:var(--text)}

/* ---------- ERM : épreuves en cartes, documents officiels ---------- */
.nvc-tests{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--grid-gap)}
@media (max-width:960px){ .nvc-tests{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){ .nvc-tests{grid-template-columns:minmax(0,1fr)} }
.nvc-test{background:var(--paper); border:1px solid var(--line); border-radius:var(--r-m); padding:var(--s-5); display:flex; flex-direction:column; gap:8px; min-width:0}
.nvc-test b{font:600 1.0625rem/1.35 var(--font-sans)}
.nvc-test p{color:var(--muted); font-size:.9375rem; line-height:1.5}
.nvc-docs-card{display:flex; flex-direction:column; gap:var(--s-3)}
.nvc-docs{display:flex; flex-direction:column}
.nvc-docs li + li{border-top:1px solid var(--line)}
.nvc-docs a{display:flex; align-items:center; justify-content:space-between; gap:var(--s-4); padding:14px 0; color:var(--text); text-decoration:none}
.nvc-docs a span{display:flex; flex-direction:column; gap:2px; min-width:0}
.nvc-docs b{font:600 1rem/1.35 var(--font-sans)}
.nvc-docs small{font-size:.875rem; color:var(--muted)}
.nvc-docs a:hover b{color:var(--steel-deep); text-decoration:underline; text-underline-offset:3px}
.nvc-docs .n-icon{color:var(--muted); flex:none}

/* ---------- Guide : identité « papier / journal » (point 52) ----------
   Mêmes valeurs que les articles du blog (bloc « Lot concours » de nv_pages.css) : colonne de 680 px, chapô en serif
   italique, double filet, signature en mono, texte courant un peu plus petit. */
.nvc-guide{max-width:680px}
.nvc-guide__head h1{font-size:clamp(1.875rem, 1.45rem + 1.9vw, 2.75rem); line-height:1.15}
.nv .nvc-guide__lead{margin-top:var(--s-4); font-family:var(--font-serif); font-style:italic; font-size:clamp(1.1875rem, 1.1rem + .4vw, 1.375rem); line-height:1.45}
.nv .nvc-guide__by{display:flex; justify-content:space-between; align-items:baseline; gap:8px 24px; flex-wrap:wrap; margin-top:var(--s-5); padding:12px 0;
               border-top:3px double var(--line-strong); border-bottom:1px solid var(--line-strong);
               font:500 .75rem/1.4 var(--font-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--eyebrow)}
.nvc-guide__band .nvc-guide__head{padding-bottom:clamp(28px,4vw,48px)}
.nvc-guide__body{padding-top:var(--s-7)}
.nvc-guide__body p,.nvc-guide__body li{font-size:clamp(.9688rem, .94rem + .12vw, 1.0625rem); line-height:1.7}
.nvc-guide__body h2{font-size:clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height:1.22}
.nvc-guide__body .n-bigtext{font-size:clamp(1.5rem,1.2rem + 1.2vw,2rem); line-height:1.3}
.nvc-guide__body .n-small{font-size:var(--t-small); line-height:var(--lh-small)}
.nvc-guide__body .nvc-calc__out{font:400 clamp(1.75rem,1.4rem + 1.4vw,2.5rem)/1.1 var(--font-mono)}
.nvc-guide__body .nvc-calc__out.is-ko{font:500 1rem/1.4 var(--font-sans)}
.nvc-guide__body .nvc-formula{font:400 1rem/1.5 var(--font-mono)}
.nvc-endcta p{font:500 1.0625rem/1.4 var(--font-sans)}
.n-sechead + .nvc-chaps{margin-inline:0; max-width:none}

/* ==========================================================================
   Compactage du 18/11/2026 (retour de Jordi : trop d'espacement, sections trop hautes). Aucun bloc ni texte retiré.
   ========================================================================== */
/* Programme officiel : lignes plus serrées, trois colonnes sur grand écran (la liste se lit toujours de haut en bas) */
.nvc-chap > summary{padding:14px 4px}
.nvc-chap__body{padding-bottom:var(--s-4)}
.nvc-points li{padding:4px 0; line-height:1.4}
.nvc-chap__go{margin-top:var(--s-3)}
@media (min-width:1100px){
  .nvc-chaps{max-width:none}
  .nvc-points{columns:3; column-gap:var(--s-6)}
}
/* « On ne coche pas, on rédige » : la copie en 16:9, la case réponse mord davantage dessus */
.nvc-copie > .nvc-visual{aspect-ratio:16 / 9 !important}
.nvc-copie > .n-chunk{margin-top:-18%}
/* Comparaison allongée : moins d'air entre les deux tableaux */
.nvc-versus{gap:var(--s-3); margin-top:var(--s-4)}
.nvc-versus h3{margin-top:var(--s-4)}
/* Cartes des guides : pas de hauteur minimale au-delà du contenu */
.nvc-guides .n-card{min-height:120px}
/* Téléphone : cartes des épreuves (ERM) plus serrées */
@media (max-width:560px){
  .nvc-tests{gap:var(--s-3)}
  .nvc-test{padding:var(--s-4); gap:4px}
}

/* ---------- « Où je me situe » : l'argument des visites d'écoles, en grand (Jordi, 19/11/2026) ---------- */
.nvc-rep{display:flex; flex-direction:column; gap:var(--s-3); background:var(--sky-soft); border:1px solid var(--line); border-left:4px solid var(--gold);
         border-radius:var(--r-m); padding:clamp(20px, 1rem + 1.6vw, 32px) clamp(20px, 1rem + 2vw, 36px); margin-block:var(--s-2) var(--s-3)}
.nv .nvc-rep__t{font-family:var(--font-serif); font-weight:400; font-size:clamp(1.5rem, 1.15rem + 1.5vw, 2.125rem); line-height:1.2; letter-spacing:var(--ls-tight); color:var(--text); max-width:26ch; text-wrap:balance}
.nv .nvc-rep__p{font-size:var(--t-lead); line-height:var(--lh-lead); color:var(--text); max-width:62ch}
