/* La landing « note de mon contrat » (BYZ-3771) : la maquette validée par Maxime
   (claude.ai/artifact/54rDzsnSWBdAeUtmddZ6Hh, v5), cantonnée à `.ndmc` pour ne rien
   changer à emergence.css. Inter Tight vient d'emergence.css (police du site).
   Les classes déjà connues d'emergence.css ou de page.js portent le préfixe `n-`.
   Fichier tiré une fois de la maquette, puis modifié à la main. */
.ndmc {
  --encre: #16141e;
  --encre-2: #68647a;
  --encre-3: #97939f;
  --blanc: #ffffff;
  --doux: #f8f7fb;
  --filet: #e7e5ee;
  --filet-2: #d8d5e2;
  --indigo: #3b2fa8;
  --indigo-doux: #edecf7;
  --lavande: #ded7f1;
  --peche: #f2c5ad;
  --peche-doux: #fbe9df;
  --violet-12: #e4e0f5;
  --violet-26: #c3baea;
  --violet-42: #8e81d6;
  --vert: #0a8a52;
  --nuit: #16141e;
  --nuit-texte: #c9c6d6;
  --nuit-pale: #8f8ba0;
  --voile: rgba(22, 20, 30, .45);
  --balayage: rgba(59, 47, 168, .16);
  --nuit-carte: #1d1a29;
  --nuit-filet: #2f2b42;
  --nuit-texte-1: #f1eff8;
  --nuit-texte-2: #aaa5bf;
  --nuit-texte-3: #7a7590;
  --lilas: #b5aaf3;
  --vert-doux: #e3f3ea;
  --brique: #9a4b23;
  --voile-fort: rgba(18, 16, 26, .95);
  --blanc-12: rgba(255, 255, 255, .12);
  --blanc-04: rgba(255, 255, 255, .04);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ombre: 0 1px 2px rgba(22,20,30,.06), 0 12px 32px -12px rgba(22,20,30,.18);
  --ombre-douce: 0 1px 2px rgba(22,20,30,.05), 0 6px 16px -8px rgba(22,20,30,.16);

}
.ndmc * { box-sizing: border-box; }
.ndmc [hidden] { display: none !important; }
.ndmc { margin: 0; background: var(--blanc); color: var(--encre); font: 400 16px/1.55 var(--sans); }
.ndmc img { max-width: 100%; }
.ndmc a { color: var(--indigo); }
.ndmc button, .ndmc input { font: inherit; }
.ndmc svg text { font-family: var(--sans); }
.ndmc :focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
/* Onglets de la proposition (hors maquette) */
.ndmc .n-cadre { max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
/* Barre du site */
.ndmc .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--filet-2); background: var(--blanc); color: var(--indigo); font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; }
.ndmc .btn-plein { background: var(--indigo); border-color: var(--indigo); color: var(--blanc); }
.ndmc .btn-grand { min-height: 52px; padding: 0 24px; font-size: 16px; }
/* Héros : la promesse et le dépôt, au centre */
.ndmc .heros { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 5vw, 64px); background: radial-gradient(70% 60% at 50% 0%, var(--indigo-doux), transparent 70%), linear-gradient(180deg, var(--blanc), var(--doux)); }
.ndmc .heros .n-cadre { display: grid; justify-items: center; max-width: 920px; text-align: center; }
.ndmc .pastilles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 20px; }
.ndmc .n-pastille { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--filet); color: var(--indigo); font-size: 13px; font-weight: 500; }
.ndmc h1 { margin: 0; max-width: 17ch; font-weight: 300; font-size: clamp(38px, 6vw, 66px); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance; }
.ndmc .n-sous { margin: 20px auto 30px; max-width: 58ch; color: var(--encre-2); font-size: clamp(17px, 1.6vw, 20px); font-weight: 300; line-height: 1.45; }
.ndmc .depot { position: relative; display: grid; justify-items: center; gap: 10px; width: min(640px, 100%); padding: 32px 22px; border: 2px dashed var(--filet-2); border-radius: 16px; background: var(--blanc); box-shadow: var(--ombre-douce); text-align: center; transition: border-color .15s, background .15s; }
.ndmc .depot.survol { border-color: var(--indigo); background: var(--indigo-doux); }
.ndmc .depot > svg { width: 48px; height: 48px; }
.ndmc .depot b { font-size: 19px; font-weight: 500; }
.ndmc .depot small { color: var(--encre-2); font-size: 13px; }
.ndmc .depot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ndmc .prive { display: flex; justify-content: center; gap: 8px; align-items: center; margin: 14px 0 0; color: var(--encre-2); font-size: 13px; }
.ndmc .mini-etapes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 22px; color: var(--encre-2); font-size: 14px; }
.ndmc .mini-etapes span { display: inline-flex; gap: 8px; align-items: center; }
.ndmc .mini-etapes i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--encre); color: var(--blanc); font: 500 12px var(--mono); font-style: normal; }
/* Jauge et tuiles du résultat (fin du parcours) */
.ndmc .n-jauge { width: 112px; height: 112px; }
.ndmc .n-jauge .fond { stroke: var(--indigo-doux); }
.ndmc .n-jauge .n-arc { stroke: var(--indigo); }
.ndmc .n-jauge .chiffre { fill: var(--encre); font-size: 30px; font-weight: 300; }
.ndmc .n-jauge .sur { fill: var(--encre-2); font-size: 11px; }
.ndmc .manque { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 16px; }
.ndmc .manque div { padding: 12px 14px; border-radius: 10px; background: var(--doux); }
.ndmc .manque span { display: block; color: var(--encre-2); font-size: 12.5px; }
.ndmc .manque strong { display: block; margin-top: 2px; font-size: 26px; font-weight: 300; letter-spacing: -0.02em; color: var(--indigo); font-variant-numeric: tabular-nums; }
/* Sections */
.ndmc section.bloc { padding-block: clamp(56px, 8vw, 104px); }
.ndmc section.bloc.n-gris { background: var(--doux); }
.ndmc .surtitre { margin: 0 0 10px; color: var(--encre-2); font-size: 14px; font-weight: 500; }
.ndmc h2 { margin: 0 0 14px; font-weight: 300; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; max-width: 22ch; }
.ndmc .n-chapeau { margin: 0 0 40px; max-width: 62ch; color: var(--encre-2); font-size: 18px; font-weight: 300; }
/* ── 01. Comment ça marche : le film des trois étapes ───────────────────── */
.ndmc .explication { --duree: 8.5s; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ndmc .etapes-liste { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.ndmc .etapes-liste button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s; }
.ndmc .etapes-liste button:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.ndmc .etapes-liste button:hover { background: var(--doux); }
.ndmc .etapes-liste .n-actif button { background: var(--blanc); border-color: var(--filet); box-shadow: var(--ombre-douce); }
.ndmc .num-rond { grid-row: 1 / span 4; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-doux); color: var(--indigo); font: 500 14px var(--mono); transition: background .2s, color .2s; }
.ndmc .n-actif .num-rond { background: var(--indigo); color: var(--blanc); }
.ndmc .etape-duree { font: 12px var(--mono); color: var(--encre-3); }
.ndmc .etape-titre { font-size: 20px; font-weight: 400; letter-spacing: -0.01em; }
.ndmc .etape-texte { margin-top: 4px; color: var(--encre-2); font-size: 15px; }
.ndmc .progression { height: 3px; margin-top: 12px; border-radius: 2px; background: var(--filet); overflow: hidden; opacity: 0; }
.ndmc .n-actif .progression { opacity: 1; }
.ndmc .progression i { display: block; height: 100%; width: 0; background: var(--indigo); }
.ndmc .n-actif .progression i { animation: remplir var(--duree) linear forwards; }
.ndmc .scene-cadre { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 480 / 400; border-radius: 22px; background: radial-gradient(120% 90% at 0% 0%, var(--lavande), var(--doux) 62%); overflow: hidden; }
.ndmc .plateau { position: absolute; left: 0; top: 0; width: 480px; height: 400px; transform-origin: 0 0; transform: scale(var(--k, 1)); }
.ndmc .n-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.ndmc .n-scene.active { opacity: 1; visibility: visible; }
.ndmc .lecture { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--filet); border-radius: 50%; background: var(--blanc); color: var(--encre); cursor: pointer; box-shadow: var(--ombre-douce); }
.ndmc .lecture .icone-lire { display: none; }
.ndmc .n-pause .lecture .icone-lire { display: block; }
.ndmc .n-pause .lecture .icone-pause { display: none; }
.ndmc .n-pause .n-scene *, .ndmc .hors-champ .n-scene *, .ndmc .n-pause .progression i, .ndmc .hors-champ .progression i { animation-play-state: paused !important; }
/* Mécanique commune : chaque élément animé part de son état final (la scène au repos est complète),
   et `.joue` rejoue l'entrée, à l'instant --t (fraction de la durée de la scène). */
.ndmc .n-scene.joue .an { animation-duration: var(--dd, .55s); animation-delay: calc(var(--duree) * var(--t, 0)); animation-fill-mode: both; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
.ndmc .n-scene.joue .a-apparait { animation-name: apparait; }
.ndmc .n-scene.joue .a-disparait { animation-name: disparait; }
.ndmc .n-scene.joue .a-marque { animation-name: marque; }
.ndmc .n-scene.joue .a-pop { animation-name: pop; }
.ndmc .n-scene.joue .a-devoile { animation-name: devoile; }
.ndmc .n-scene.joue .a-clic { animation-name: clic; }
.ndmc .n-scene.joue .a-actif { animation-name: actif; }
.ndmc .n-scene.joue .a-vole { animation-name: vole; }
.ndmc .n-scene.joue .a-scan { animation-name: scan; animation-timing-function: linear; }
.ndmc .n-scene.joue .a-survol { animation-name: survol; animation-timing-function: ease; }
.ndmc .n-scene.joue .a-allume { animation-name: allume; }
.ndmc .n-scene.joue .a-jauge { animation-name: jauge; }
.ndmc .n-scene.joue .s1-curseur { animation: s1-curseur var(--duree) cubic-bezier(.45, 0, .25, 1) both; }
.ndmc .n-scene.joue .s2-fichier { animation: s2-fichier var(--duree) cubic-bezier(.45, 0, .25, 1) both; }
.ndmc .n-scene.joue .s2-curseur { animation: s2-curseur var(--duree) cubic-bezier(.45, 0, .25, 1) both; }
@keyframes remplir { to { width: 100%; } }
@keyframes apparait { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes disparait { from { opacity: 1; } to { opacity: 0; } }
@keyframes marque { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes devoile { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes clic { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 1% { opacity: .5; transform: translate(-50%, -50%) scale(.3); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
@keyframes actif { from { background: transparent; color: var(--encre-2); } to { background: var(--indigo-doux); color: var(--indigo); } }
@keyframes vole { 0% { opacity: 0; transform: translate(40px, -228px) scale(.4); } 25% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes scan { 0% { opacity: 1; transform: translateY(0); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateY(228px); } }
@keyframes survol { 0% { opacity: 0; } 25%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes allume { from { background: var(--filet-2); transform: scale(.6); } to { background: var(--indigo); transform: scale(1); } }
@keyframes jauge { from { stroke-dashoffset: 276.5; } }
@keyframes s1-curseur {
  0%, 6% { transform: translate(300px, 300px); opacity: 0; }
  10% { opacity: 1; }
  24%, 31% { transform: translate(72px, 168px); }
  50%, 100% { transform: translate(392px, 114px); opacity: 1; }
}
@keyframes s2-fichier {
  0% { opacity: 0; transform: translate(318px, 120px); }
  6% { opacity: 1; transform: translate(318px, 120px); }
  24% { opacity: 1; transform: translate(64px, 128px) rotate(-3deg); }
  28% { opacity: 1; transform: translate(70px, 136px) scale(.9); }
  32%, 100% { opacity: 0; transform: translate(70px, 140px) scale(.6); }
}
@keyframes s2-curseur {
  0% { opacity: 0; transform: translate(440px, 146px); }
  6% { opacity: 1; transform: translate(440px, 146px); }
  24% { opacity: 1; transform: translate(186px, 154px); }
  30% { opacity: 1; transform: translate(190px, 160px); }
  38%, 100% { opacity: 0; transform: translate(200px, 172px); }
}
@media (prefers-reduced-motion: reduce) {
.ndmc .n-scene *, .ndmc .progression i { animation: none !important; }
.ndmc .progression, .ndmc .lecture { display: none; }
}
/* Éléments du plateau (coordonnées en px du plateau 480 × 400) */
.ndmc .plateau .x { position: absolute; }
.ndmc .curseur { position: absolute; left: 0; top: 0; width: 18px; height: 22px; filter: drop-shadow(0 1px 1px rgba(22,20,30,.25)); }
.ndmc .curseur path { fill: var(--encre); stroke: var(--blanc); stroke-width: 1.4; stroke-linejoin: round; }
.ndmc .clic { position: absolute; width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); opacity: 0; transform: translate(-50%, -50%); }
.ndmc .puce-fichier { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 10px; border-radius: 10px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre); font-size: 13px; white-space: nowrap; }
.ndmc .puce-fichier small { color: var(--vert); font-weight: 500; font-size: 12px; }
.ndmc .icone-pdf { flex: none; }
.ndmc .icone-pdf .feuille-pdf { fill: var(--peche-doux); stroke: var(--peche); }
.ndmc .icone-pdf .coin { fill: var(--peche); }
.ndmc .icone-pdf text { fill: var(--encre); font-size: 6.5px; font-weight: 600; }
.ndmc .n-fenetre { left: 20px; top: 22px; width: 440px; height: 304px; background: var(--blanc); border: 1px solid var(--filet); border-radius: 12px; box-shadow: var(--ombre); overflow: hidden; }
.ndmc .n-fenetre-barre { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--filet); background: var(--doux); }
.ndmc .pts { display: flex; gap: 5px; }
.ndmc .pts i { width: 8px; height: 8px; border-radius: 50%; background: var(--filet-2); }
.ndmc .url { flex: 1; margin-right: 34px; padding: 3px 8px; border-radius: 6px; background: var(--blanc); color: var(--encre-3); font: 10.5px var(--mono); text-align: center; }
.ndmc .s1-menu { position: absolute; left: 0; top: 30px; bottom: 0; width: 120px; display: grid; align-content: start; gap: 2px; padding: 16px 10px; border-right: 1px solid var(--filet); }
.ndmc .s1-menu span { display: flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; color: var(--encre-2); font-size: 13px; }
.ndmc .s1-menu .s1-docs { background: var(--indigo-doux); color: var(--indigo); font-weight: 500; }
.ndmc .s1-panneau { position: absolute; left: 120px; right: 0; top: 30px; bottom: 0; padding: 16px; }
.ndmc .s1-contrat { opacity: 0; }
.ndmc .libelle { color: var(--encre-3); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.ndmc .s1-contrat .n-nom { margin-top: 6px; font-size: 17px; }
.ndmc .s1-contrat .numero { color: var(--encre-3); font: 10.5px var(--mono); }
.ndmc .s1-contrat .valeur { margin-top: 14px; font-size: 32px; font-weight: 300; letter-spacing: -0.02em; }
.ndmc .s1-contrat .date { color: var(--encre-2); font-size: 12px; }
.ndmc .s1-contrat svg { margin-top: 12px; }
.ndmc .s1-contrat .spark { fill: none; stroke: var(--indigo); stroke-width: 1.6; }
.ndmc .s1-contrat .spark-fond { fill: var(--indigo-doux); }
.ndmc .s1-ligne { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 52px; border-bottom: 1px solid var(--filet); }
.ndmc .s1-ligne b { display: block; font-size: 13px; font-weight: 500; }
.ndmc .s1-ligne small, .ndmc .s1-ligne b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ndmc .s1-ligne small { color: var(--encre-3); font-size: 11px; }
.ndmc .s1-btn { position: relative; width: 96px; white-space: nowrap; height: 28px; border: 1px solid var(--filet-2); border-radius: 7px; font-size: 12px; }
.ndmc .s1-btn em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; color: var(--indigo); }
.ndmc .s1-btn .avant { opacity: 0; }
.ndmc .s1-btn .ok { color: var(--vert); font-weight: 500; }
.ndmc .s1-btn.discret { color: var(--encre-3); display: grid; place-items: center; }
.ndmc .astuce { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; color: var(--encre-2); font-size: 12.5px; line-height: 1.35; }
.ndmc .astuce .rond-icone { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blanc); box-shadow: var(--ombre-douce); }
.ndmc .astuce b { color: var(--encre); font-weight: 500; }
.ndmc .s2-zone { left: 20px; top: 22px; width: 250px; height: 280px; border: 2px dashed var(--filet-2); border-radius: 14px; background: var(--blanc); }
.ndmc .s2-survol { position: absolute; inset: -2px; border: 2px dashed var(--indigo); border-radius: 14px; background: var(--indigo-doux); opacity: 0; }
.ndmc .s2-invite { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 500; opacity: 0; }
.ndmc .s2-invite small { color: var(--encre-3); font-weight: 400; font-size: 12px; }
.ndmc .papier { left: 34px; top: 34px; width: 222px; height: 256px; padding: 14px 14px 10px; border-radius: 6px; background: var(--blanc); border: 1px solid var(--filet); box-shadow: var(--ombre-douce); color: var(--encre-2); font-size: 9.5px; line-height: 1.35; overflow: hidden; }
.ndmc .papier .haut { display: flex; justify-content: space-between; color: var(--encre-3); font-size: 8.5px; }
.ndmc .papier .titre { margin-top: 8px; color: var(--encre); font-size: 11.5px; font-weight: 600; }
.ndmc .papier .rang { position: relative; display: flex; justify-content: space-between; gap: 8px; margin: 0 -5px; padding: 3px 5px; font-variant-numeric: tabular-nums; }
.ndmc .papier .rang > span { position: relative; }
.ndmc .papier .rang > i { position: absolute; inset: 0; border-radius: 4px; background: var(--lavande); transform-origin: 0 50%; }
.ndmc .papier .rang.date > i { background: var(--peche-doux); }
.ndmc .papier .rang.total > i { background: var(--indigo-doux); }
.ndmc .papier .rang.total { color: var(--encre); font-weight: 600; }
.ndmc .papier .entete-table { display: flex; justify-content: space-between; margin-top: 10px; padding-bottom: 3px; border-bottom: 1px solid var(--filet); color: var(--encre-3); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.ndmc .papier .bas { position: absolute; left: 14px; right: 14px; bottom: 10px; color: var(--encre-3); font-size: 8px; }
.ndmc .s2-scan { position: absolute; left: 0; right: 0; top: 8px; height: 22px; border-bottom: 1.5px solid var(--indigo); background: linear-gradient(180deg, transparent, var(--balayage)); opacity: 0; }
.ndmc .s2-titre { left: 286px; top: 24px; color: var(--encre-2); font-size: 12px; font-weight: 500; }
.ndmc .lus { left: 286px; top: 50px; width: 176px; display: grid; gap: 10px; }
.ndmc .lu { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 1px 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--blanc); box-shadow: var(--ombre-douce); font-size: 12.5px; line-height: 1.3; }
.ndmc .lu .ic { grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
.ndmc .lu .ic.peche { background: var(--peche-doux); }
.ndmc .lu .ic.lavande { background: var(--indigo-doux); }
.ndmc .lu b { font-weight: 500; color: var(--encre); }
.ndmc .lu small { color: var(--encre-3); font-size: 11px; }
.ndmc .s2-frise { left: 20px; top: 318px; width: 440px; height: 66px; padding: 10px 16px; border-radius: 12px; background: var(--blanc); box-shadow: var(--ombre-douce); font-size: 12.5px; color: var(--encre-2); }
.ndmc .s2-frise b { color: var(--encre); font-weight: 500; }
.ndmc .noeuds { display: flex; align-items: center; margin-top: 8px; }
.ndmc .noeud { display: grid; justify-items: center; gap: 2px; font: 10px var(--mono); color: var(--encre-3); }
.ndmc .noeud i { width: 10px; height: 10px; border-radius: 50%; background: var(--indigo); }
.ndmc .lien-noeud { flex: 1; height: 2px; margin: 0 4px 14px; background: var(--lavande); transform-origin: 0 50%; }
.ndmc .noeuds .fin { margin-left: 12px; margin-bottom: 14px; color: var(--indigo); font-size: 12px; font-weight: 500; white-space: nowrap; }
.ndmc .s3-carte { left: 20px; top: 18px; width: 440px; height: 364px; border-radius: 16px; background: var(--blanc); box-shadow: var(--ombre); }
.ndmc .s3-carte .x { position: absolute; }
.ndmc .s3-carte .n-tete small { display: block; color: var(--encre-2); font-size: 12px; font-weight: 500; }
.ndmc .s3-carte .n-tete b { font-size: 17px; font-weight: 400; }
.ndmc .s3-jauge { width: 104px; height: 104px; }
.ndmc .s3-jauge .fond { stroke: var(--indigo-doux); }
.ndmc .s3-jauge .n-arc { stroke: var(--indigo); }
.ndmc .s3-chiffre { display: grid; place-content: center; justify-items: center; width: 104px; height: 104px; line-height: 1; }
.ndmc .s3-chiffre b { font-size: 28px; font-weight: 300; font-variant-numeric: tabular-nums; }
.ndmc .s3-chiffre small { margin-top: 4px; color: var(--encre-2); font-size: 10.5px; }
.ndmc .s3-texte { color: var(--encre-2); font-size: 14px; line-height: 1.4; }
.ndmc .s3-texte b { color: var(--encre); font-weight: 500; }
.ndmc .n-tuile { padding: 9px 12px; border-radius: 10px; background: var(--doux); }
.ndmc .n-tuile small { display: block; color: var(--encre-2); font-size: 11px; line-height: 1.3; }
.ndmc .n-tuile b { display: block; line-height: 1.2; font-size: 22px; font-weight: 300; letter-spacing: -0.02em; color: var(--indigo); font-variant-numeric: tabular-nums; }
/* Courbes communes (film et pages du rapport) */
.ndmc .ligne-byz { fill: none; stroke: var(--indigo); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ndmc .ligne-contrat { fill: none; stroke: var(--encre-2); stroke-width: 1.6; stroke-dasharray: 4 3; stroke-linejoin: round; }
.ndmc .ecart { fill: var(--lavande); }
.ndmc .axe-annee { fill: var(--encre-3); font-size: 10px; }
.ndmc .fin-byz { fill: var(--indigo); font-size: 11px; font-weight: 500; }
.ndmc .fin-contrat { fill: var(--encre-2); font-size: 11px; }
.ndmc .trait { display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--indigo); }
.ndmc .trait.pointille { border-top: 2px dashed var(--encre-2); }
/* ── Bande « compatible » : 15 logos, la liste complète sur demande ───── */
.ndmc .compat { padding-block: 34px 38px; background: var(--doux); border-bottom: 1px solid var(--filet); }
.ndmc .compat-titre { display: grid; gap: 4px; margin: 0 0 18px; text-align: center; }
.ndmc .compat-titre b { font-size: 17px; font-weight: 500; }
.ndmc .compat-titre span { color: var(--encre-2); font-size: 14.5px; }
.ndmc .logos-rang { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ndmc .logos-rang img, .ndmc .plus-logos { display: block; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--filet); background: var(--blanc); object-fit: cover; box-shadow: var(--ombre-douce); }
.ndmc .plus-logos { display: grid; place-items: center; padding: 0; color: var(--indigo); font: 500 13px var(--sans); cursor: pointer; transition: border-color .15s, background .15s; }
.ndmc .plus-logos:hover { border-color: var(--indigo); background: var(--indigo-doux); }
.ndmc .compat.n-ouvert .logos-rang { display: none; }
.ndmc .logos-tous { display: grid; gap: 12px; max-width: 1000px; margin: 0 auto; }
.ndmc .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ndmc .catalogue-tete { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.ndmc .cherche { width: min(440px, 100%); height: 44px; padding: 0 14px; border: 1px solid var(--filet-2); border-radius: 8px; background: var(--blanc); color: var(--encre); }
.ndmc .cherche:focus-visible { outline: 2px solid var(--indigo); outline-offset: 1px; }
.ndmc .compte-catalogue { color: var(--encre-3); font-size: 13px; }
.ndmc .liste-catalogue { max-height: 300px; overflow: auto; margin: 0; padding: 6px; border: 1px solid var(--filet); border-radius: 12px; background: var(--blanc); list-style: none; }
.ndmc .liste-catalogue li { display: grid; gap: 1px; padding: 6px 10px; border-radius: 6px; font-size: 13.5px; break-inside: avoid; }
.ndmc .liste-catalogue li:hover { background: var(--doux); }
.ndmc .liste-catalogue.colonnes { columns: 4 200px; column-gap: 8px; }
.ndmc .liste-catalogue.colonnes li { display: flex; justify-content: space-between; gap: 10px; }
.ndmc .liste-catalogue b { font-weight: 500; }
.ndmc .liste-catalogue span { color: var(--encre-3); font-size: 12.5px; white-space: nowrap; }
.ndmc .liste-catalogue .vide { color: var(--encre-2); }
.ndmc .note-catalogue { margin: 0; color: var(--encre-3); font-size: 13px; text-align: center; }
.ndmc .lien-replier { justify-self: center; display: block; margin: 4px auto 0; padding: 4px 8px; border: 0; background: none; color: var(--indigo); font: 500 14px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ndmc #replier-pages { margin-top: 18px; }
.ndmc .tuile-pages { all: unset; box-sizing: border-box; display: grid; place-content: center; justify-items: center; gap: 4px; width: 100%; aspect-ratio: 300 / 426; border: 1.5px dashed var(--filet-2); border-radius: 6px; background: var(--doux); color: var(--indigo); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.ndmc .tuile-pages:hover { border-color: var(--indigo); background: var(--indigo-doux); }
.ndmc .tuile-pages:focus-visible { outline: 2px solid var(--indigo); outline-offset: 4px; }
.ndmc .tuile-pages svg { margin-bottom: 6px; }
.ndmc .tuile-pages b { font-size: clamp(18px, 1.8vw, 24px); font-weight: 300; letter-spacing: -0.02em; }
.ndmc .tuile-pages span { padding-inline: 8px; color: var(--encre-2); font-size: 12.5px; line-height: 1.3; }
.ndmc .logos { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ndmc .logos li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--filet); border-radius: 999px; background: var(--blanc); font-size: 14.5px; white-space: nowrap; transition: border-color .15s, box-shadow .15s; }
.ndmc .logos li:hover { border-color: var(--filet-2); box-shadow: var(--ombre-douce); }
.ndmc .logos img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--filet); background: var(--blanc); object-fit: cover; }
/* ── 03. Quatre chiffres, une seule histoire (bandeau de nuit) ──────────── */
.ndmc .nuit-bloc { background: var(--nuit); color: var(--nuit-texte-1); }
.ndmc .nuit-bloc .surtitre { color: var(--nuit-texte-2); }
.ndmc .nuit-bloc h2 { color: var(--nuit-texte-1); }
.ndmc .nuit-bloc .n-chapeau { color: var(--nuit-texte-2); }
.ndmc .histoire { --duree-h: 7s; border: 1px solid var(--nuit-filet); border-radius: 22px; background: linear-gradient(180deg, var(--nuit-carte), var(--nuit) 85%); overflow: hidden; }
.ndmc .chapitres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--nuit-filet); }
.ndmc .chapitres button { all: unset; box-sizing: border-box; position: relative; display: grid; align-content: start; gap: 6px; padding: 22px 24px 20px; border-right: 1px solid var(--nuit-filet); color: var(--nuit-texte-3); cursor: pointer; transition: background .2s, color .2s; }
.ndmc .chapitres button:last-child { border-right: 0; }
.ndmc .chapitres button:hover { background: var(--blanc-04); color: var(--nuit-texte-2); }
.ndmc .chapitres button:focus-visible { outline: 2px solid var(--lilas); outline-offset: -4px; border-radius: 6px; }
.ndmc .chapitres button[aria-selected="true"] { background: var(--blanc-04); color: var(--nuit-texte-1); }
.ndmc .chap-num { font: 12px var(--mono); letter-spacing: .02em; }
.ndmc .chap-chiffre { font-size: clamp(26px, 2.7vw, 38px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ndmc .chap-chiffre small { font-size: .45em; letter-spacing: 0; }
.ndmc .chapitres button[aria-selected="true"] .chap-chiffre { color: var(--lilas); }
.ndmc .chap-nom { font-size: 14.5px; }
.ndmc .chapitres .progression { position: absolute; left: 0; right: 0; top: -1px; height: 2px; margin: 0; border-radius: 0; background: transparent; opacity: 1; }
.ndmc .chapitres .progression i { background: var(--lilas); }
.ndmc .histoire:not(.manuel) [aria-selected="true"] .progression i { animation: remplir var(--duree-h) linear forwards; }
.ndmc .histoire.manuel [aria-selected="true"] .progression i { width: 100%; }
.ndmc .histoire.hors-champ .progression i { animation-play-state: paused !important; }
.ndmc .histoire-corps { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.42fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(20px, 3vw, 40px); }
.ndmc .panneau-h h3 { margin: 0 0 12px; color: var(--nuit-texte-1); font-size: clamp(24px, 2.4vw, 30px); font-weight: 300; letter-spacing: -0.02em; }
.ndmc .panneau-h p { margin: 0 0 20px; color: var(--nuit-texte-2); font-size: 16px; }
.ndmc .panneau-h p b { color: var(--nuit-texte-1); font-weight: 500; }
.ndmc .formule { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, .8fr); align-items: stretch; gap: 6px; margin-bottom: 18px; }
.ndmc .formule > div { display: grid; align-content: center; gap: 2px; min-width: 0; padding: 10px 11px; border: 1px solid var(--nuit-filet); border-radius: 12px; background: var(--blanc-04); }
.ndmc .formule b { color: var(--nuit-texte-1); font-size: clamp(18px, 1.7vw, 22px); font-weight: 300; letter-spacing: -0.02em; white-space: nowrap; }
.ndmc .formule span { color: var(--nuit-texte-2); font-size: 11.5px; line-height: 1.3; }
.ndmc .formule i { align-self: center; color: var(--nuit-texte-3); font-size: 18px; font-style: normal; }
.ndmc .formule .egal { border-color: var(--lilas); }
.ndmc .formule .egal b { color: var(--lilas); }
.ndmc .echelle-h { display: block; width: 100%; max-width: 340px; height: auto; }
.ndmc .echelle-h .z1 { fill: var(--peche); }
.ndmc .echelle-h .z2 { fill: var(--nuit-texte-3); }
.ndmc .echelle-h .z3 { fill: var(--lilas); }
.ndmc .echelle-h .repere-h { fill: var(--nuit-texte-1); stroke: var(--nuit); stroke-width: 3; }
.ndmc .echelle-h text { fill: var(--nuit-texte-2); font-size: 11px; }
.ndmc .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.ndmc .duo div { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--nuit-filet); border-radius: 12px; background: var(--blanc-04); }
.ndmc .duo span { color: var(--nuit-texte-2); font-size: 12.5px; }
.ndmc .duo b { color: var(--nuit-texte-1); font-size: 28px; font-weight: 300; }
.ndmc .duo b.lilas { color: var(--lilas); }
.ndmc .panneau-h .conclusion-h { margin: 0; }
.ndmc .horizon-h { display: grid; gap: 8px; color: var(--nuit-texte-2); }
.ndmc .horizon-h b { color: var(--nuit-texte-1); font-weight: 500; }
.ndmc .horizon-h output { color: var(--lilas); font-size: 44px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ndmc .horizon-h input[type=range] { width: 100%; accent-color: var(--lilas); }
.ndmc .reglettes { display: flex; justify-content: space-between; color: var(--nuit-texte-3); font: 12px var(--mono); }
.ndmc .panneau-h .avertissement-h { margin: 14px 0 0; color: var(--nuit-texte-3); font-size: 13px; }
.ndmc .graphe-h-cadre { min-width: 0; }
.ndmc .graphe-h { display: block; width: 100%; height: auto; overflow: visible; }
.ndmc .graphe-h .grille { stroke: var(--nuit-filet); stroke-width: 1; }
.ndmc .graphe-h .grille-texte { fill: var(--nuit-texte-3); font-size: 11px; }
.ndmc .graphe-h .annee { fill: var(--nuit-texte-3); font-size: 11.5px; }
.ndmc .graphe-h .stop-haut { stop-color: var(--lilas); stop-opacity: .26; }
.ndmc .graphe-h .stop-bas { stop-color: var(--lilas); stop-opacity: 0; }
.ndmc .graphe-h .aire-c { fill: url(#degrade-h); }
.ndmc .graphe-h .c-seul { fill: none; stroke: var(--nuit-texte-1); stroke-width: 2.4; stroke-linejoin: round; }
.ndmc .graphe-h .c { fill: none; stroke: var(--nuit-texte-2); stroke-width: 1.8; stroke-dasharray: 5 4; stroke-linejoin: round; }
.ndmc .graphe-h .b { fill: none; stroke: var(--lilas); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.ndmc .graphe-h .ecart-h { fill: var(--lilas); fill-opacity: .3; }
.ndmc .graphe-h .bande-h { fill: var(--peche); fill-opacity: .1; }
.ndmc .graphe-h .bande-texte-h { fill: var(--peche); font-size: 12px; }
.ndmc .graphe-h .point-c { fill: var(--nuit-texte-1); stroke: var(--nuit); stroke-width: 3; }
.ndmc .graphe-h .point-b { fill: var(--lilas); stroke: var(--nuit); stroke-width: 3; }
.ndmc .graphe-h .etq-fin { fill: var(--nuit-texte-1); font-size: 17px; font-weight: 300; }
.ndmc .graphe-h .etq-fin.lilas { fill: var(--lilas); }
.ndmc .graphe-h .etq-sous { fill: var(--nuit-texte-2); font-size: 11.5px; }
.ndmc .graphe-h .crochet { fill: none; stroke: var(--nuit-texte-1); stroke-width: 1.4; }
.ndmc .graphe-h .gros { fill: var(--nuit-texte-1); font-size: 21px; font-weight: 300; }
.ndmc .graphe-h .aujourdhui { stroke: var(--nuit-texte-3); stroke-width: 1; stroke-dasharray: 2 4; }
.ndmc .graphe-h .attenue { opacity: .3; }
.ndmc .graphe-h.h-fondu { animation: fondu .5s both; }
.ndmc .graphe-h .h-trace { animation: devoile 1.3s cubic-bezier(.3, .6, .2, 1) both; }
.ndmc .graphe-h .h-trace-tard { animation: devoile 1.4s .35s cubic-bezier(.3, .6, .2, 1) both; }
.ndmc .graphe-h .h-fond { animation: fondu .7s .2s both; }
.ndmc .graphe-h .h-tard { animation: fondu .5s 1.1s both; }
@keyframes fondu { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
.ndmc .graphe-h, .ndmc .graphe-h * { animation: none !important; }
}
/* ── 04. Les 14 pages du rapport ───────────────────────────────────────── */
.ndmc .pages-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.ndmc .vignette { display: grid; gap: 9px; cursor: zoom-in; border-radius: 6px; }
.ndmc .vignette:focus-visible { outline: 2px solid var(--indigo); outline-offset: 5px; }
.ndmc .vignette .feuille-cadre { transition: transform .2s, box-shadow .2s; }
.ndmc .vignette:hover .feuille-cadre, .ndmc .vignette:focus-visible .feuille-cadre { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(22,20,30,.06), 0 20px 38px -14px rgba(22,20,30,.32); }
.ndmc .legende-page { display: flex; gap: 7px; color: var(--encre-2); font-size: 13px; line-height: 1.3; }
.ndmc .legende-page b { color: var(--encre-3); font: 500 11px/1.5 var(--mono); }
.ndmc .indice-pages { margin: 20px 0 0; color: var(--encre-3); font-size: 13.5px; text-align: center; }
.ndmc .cta-rapport { display: grid; justify-items: center; gap: 10px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--filet); }
.ndmc .cta-rapport span { color: var(--encre-2); font-size: 14px; }
.ndmc .feuille-cadre { position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 300 / 426; border-radius: 4px; background: var(--blanc); box-shadow: var(--ombre); overflow: hidden; }
.ndmc .fp { position: absolute; left: 0; top: 0; display: block; width: 300px; height: 426px; padding: 20px 20px 16px; overflow: hidden; transform-origin: 0 0; transform: scale(var(--k, 1)); background: var(--blanc); color: var(--encre-2); font-size: 9px; line-height: 1.4; text-align: left; }
.ndmc .fp .haut { display: flex; justify-content: space-between; align-items: center; color: var(--encre-3); font-size: 7.5px; }
.ndmc .fp .haut img { width: auto; height: 14px; }
.ndmc .fp .num-fp { margin-top: 16px; color: var(--indigo); font: 500 7.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.ndmc .fp h4 { margin: 4px 0 3px; color: var(--encre); font-size: 17px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.ndmc .fp h4.grand { font-size: 25px; line-height: 1.08; }
.ndmc .fp .sous-fp { color: var(--encre-3); font-size: 8.5px; }
.ndmc .fp .bas { position: absolute; left: 20px; right: 20px; bottom: 12px; display: flex; justify-content: space-between; padding-top: 5px; border-top: 1px solid var(--filet); color: var(--encre-3); font-size: 7px; }
.ndmc .fp svg { display: block; width: 100%; height: auto; }
.ndmc .fp .bloc-fp { margin-top: 12px; }
.ndmc .fp .axe-annee { font-size: 7px; }
.ndmc .fp .fin-byz, .ndmc .fp .fin-contrat { font-size: 7.5px; }
.ndmc .fp .ligne-byz { stroke-width: 1.6; }
.ndmc .fp .ligne-contrat { stroke-width: 1.2; }
.ndmc .fp .texte-fp { margin: 10px 0 0; font-size: 9px; }
.ndmc .fp .texte-fp b { color: var(--encre); font-weight: 500; }
.ndmc .fp .legende-fp { display: flex; gap: 10px; margin-bottom: 4px; font-size: 7.5px; }
.ndmc .fp .legende-fp span { display: inline-flex; gap: 4px; align-items: center; }
.ndmc .fp .legende-fp .trait { width: 14px; border-top-width: 1.5px; }
.ndmc .fp .legende-fp .n-carre { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--encre-3); }
.ndmc .fp .legende-fp .n-carre.b { background: var(--indigo); }
.ndmc .fp-chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 12px; }
.ndmc .fp-chiffres.trois { grid-template-columns: repeat(3, 1fr); }
.ndmc .fp-chiffres div { padding: 7px 9px; border-radius: 6px; background: var(--doux); }
.ndmc .fp-chiffres small { display: block; color: var(--encre-3); font-size: 7px; line-height: 1.2; }
.ndmc .fp-chiffres b { display: block; margin-top: 2px; color: var(--encre); font-size: 16px; font-weight: 300; white-space: nowrap; }
.ndmc .fp-chiffres.trois b { color: var(--indigo); font-size: 14px; }
.ndmc .fp-chiffres em { display: block; color: var(--encre-3); font-size: 7px; font-style: normal; }
.ndmc .verdict-fp { margin-top: 10px; padding: 9px 10px; border-radius: 6px; background: var(--indigo-doux); color: var(--indigo); font-size: 9.5px; line-height: 1.35; }
.ndmc .verdict-fp b { font-weight: 600; }
.ndmc .points-fp { display: grid; gap: 3px; margin: 10px 0 0; padding-left: 12px; font-size: 8.5px; }
.ndmc .points-fp b { color: var(--encre); font-weight: 500; }
.ndmc .couv-fond { position: absolute; left: 0; right: 0; top: 0; height: 200px; background: linear-gradient(180deg, var(--lavande), var(--blanc)); }
.ndmc .fp .couv-fond ~ *:not(.bas) { position: relative; }
.ndmc .couv-titre { margin-top: 22px; }
.ndmc .repartition { display: flex; gap: 2px; height: 10px; margin-top: 12px; }
.ndmc .repartition i { border-radius: 2px; }
.ndmc .c1 { background: var(--indigo); }
.ndmc .c2 { background: var(--violet-42); }
.ndmc .c3 { background: var(--violet-26); }
.ndmc .c4 { background: var(--peche); }
.ndmc .table-fp { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 8.5px; }
.ndmc .table-fp th { padding: 4px 0; border-bottom: 1px solid var(--filet); color: var(--encre-3); font-size: 7px; font-weight: 500; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.ndmc .table-fp td { padding: 5px 0; border-bottom: 1px solid var(--filet); color: var(--encre); }
.ndmc .table-fp td + td, .ndmc .table-fp th + th { padding-left: 6px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ndmc .table-fp td > i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 2px; }
.ndmc .table-fp .total td { font-weight: 600; border-bottom: 0; }
.ndmc .table-fp .indigo { color: var(--indigo); }
.ndmc .table-fp .discret { color: var(--encre-3); font-size: 7px; }
.ndmc .cout-fp { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding: 9px 11px; border-radius: 6px; background: var(--indigo-doux); color: var(--indigo); font-size: 9px; }
.ndmc .cout-fp b { font-size: 17px; font-weight: 300; }
.ndmc .pastille-fp { display: inline-block; padding: 1px 6px; border-radius: 999px; font-size: 7px; font-weight: 500; }
.ndmc .pastille-fp.bon { background: var(--vert-doux); color: var(--vert); }
.ndmc .pastille-fp.moyen { background: var(--peche-doux); color: var(--brique); }
.ndmc .comparatifs-fp { display: grid; gap: 4px; margin-top: 10px; }
.ndmc .comparatifs-fp > div { display: grid; grid-template-columns: minmax(0, 1fr) 54px 54px; gap: 6px; align-items: center; padding: 5px 9px; border-radius: 6px; background: var(--doux); }
.ndmc .comparatifs-fp small { font-size: 8px; }
.ndmc .comparatifs-fp span { display: grid; text-align: right; }
.ndmc .comparatifs-fp b { color: var(--encre); font-size: 14px; font-weight: 300; }
.ndmc .comparatifs-fp .b b { color: var(--indigo); }
.ndmc .comparatifs-fp em { color: var(--encre-3); font-size: 6.5px; font-style: normal; }
.ndmc .empile-fp { display: grid; gap: 10px; margin-top: 14px; }
.ndmc .empile-fp > div { display: grid; gap: 4px; }
.ndmc .empile-fp .n-nom { display: flex; justify-content: space-between; color: var(--encre); font-size: 9px; }
.ndmc .empile-fp .barre-empilee { display: flex; gap: 2px; height: 16px; }
.ndmc .empile-fp .barre-empilee i { display: grid; place-items: center; border-radius: 3px; color: var(--blanc); font-size: 7px; font-style: normal; }
.ndmc .empile-fp .fonds-seg { background: var(--encre-3); }
.ndmc .empile-fp .contrat-seg { background: var(--filet-2); color: var(--encre) !important; }
.ndmc .empile-fp .b .fonds-seg { background: var(--indigo); }
.ndmc .jauges-fp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; text-align: center; }
.ndmc .jauges-fp svg { width: 96px; margin: 0 auto; }
.ndmc .jauges-fp .fond { stroke: var(--doux); }
.ndmc .jauges-fp .arc-c { stroke: var(--encre-3); }
.ndmc .jauges-fp .arc-b { stroke: var(--indigo); }
.ndmc .jauges-fp text { fill: var(--encre); font-size: 24px; font-weight: 300; }
.ndmc .jauges-fp .calcul-fp { margin-top: 4px; font-size: 8px; }
.ndmc .nuage-fp .axe { stroke: var(--filet-2); }
.ndmc .nuage-fp .grille-fp { stroke: var(--filet); }
.ndmc .nuage-fp text { fill: var(--encre-2); font-size: 6.5px; }
.ndmc .nuage-fp .titre-axe { fill: var(--encre-3); font-size: 6.5px; }
.ndmc .nuage-fp .pt-c { fill: var(--encre); }
.ndmc .nuage-fp .pt-b { fill: var(--indigo); }
.ndmc .nuage-fp .pt-f { fill: var(--blanc); stroke: var(--encre-3); stroke-width: 1; }
.ndmc .nuage-fp .mandats { fill: none; stroke: var(--violet-26); stroke-width: 1.5; }
.ndmc .nuage-fp .pt-m { fill: var(--violet-26); }
.ndmc .nuage-fp .fort { fill: var(--encre); font-weight: 600; }
.ndmc .nuage-fp .fort-b { fill: var(--indigo); font-weight: 600; }
.ndmc .annees-fp .zero { stroke: var(--filet-2); }
.ndmc .annees-fp .bc { fill: var(--encre-3); }
.ndmc .annees-fp .bb { fill: var(--indigo); }
.ndmc .annees-fp text { fill: var(--encre-2); font-size: 6.5px; }
.ndmc .annees-fp .an { fill: var(--encre-3); font-size: 7px; }
.ndmc .carte-mini { margin-top: 10px; border-radius: 4px; background: var(--doux); }
.ndmc .carte-mini path { fill: var(--filet-2); stroke: var(--blanc); stroke-width: .6; }
.ndmc .carte-mini path.p4 { fill: var(--indigo); }
.ndmc .carte-mini path.p3 { fill: var(--violet-42); }
.ndmc .carte-mini path.p2 { fill: var(--violet-26); }
.ndmc .carte-mini path.p1 { fill: var(--violet-12); }
.ndmc .paliers { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 7px; }
.ndmc .paliers span { display: inline-flex; gap: 4px; align-items: center; }
.ndmc .paliers i { width: 8px; height: 8px; border-radius: 2px; }
.ndmc .methode-fp { display: grid; gap: 8px; margin-top: 12px; font-size: 8.5px; }
.ndmc .methode-fp p { margin: 0; }
.ndmc .methode-fp b { color: var(--encre); font-weight: 500; }
/* Lire une page en grand */
.ndmc .visionneuse { position: fixed; inset: 0; z-index: 40; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: auto minmax(0, 1fr); align-items: center; justify-items: center; padding: 12px 8px 20px; background: var(--voile-fort); }
.ndmc .vis-barre { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 920px; padding: 4px 8px 12px; color: var(--blanc); font-size: 14px; }
.ndmc .vis-fermer, .ndmc .vis-nav { display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--blanc-12); color: var(--blanc); cursor: pointer; }
.ndmc .vis-fermer { width: 36px; height: 36px; font-size: 20px; line-height: 1; }
.ndmc .vis-nav { width: 44px; height: 44px; }
.ndmc .vis-page { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.ndmc .feuille-cadre.n-grande { width: min(100%, calc((100vh - 110px) * 300 / 426)); border-radius: 6px; }
/* Confiance */
.ndmc .confiance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ndmc .confiance div { padding: 22px; border-radius: 14px; border: 1px solid var(--filet); background: var(--blanc); }
.ndmc .confiance h3 { margin: 10px 0 6px; font-size: 18px; font-weight: 500; }
.ndmc .confiance p { margin: 0; color: var(--encre-2); font-size: 15px; }
.ndmc .badges { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 28px; color: var(--encre-2); font-size: 14px; }
.ndmc .badges b { color: var(--encre); font-weight: 500; }
/* FAQ */
.ndmc .faq { max-width: 820px; }
.ndmc .faq details { border-bottom: 1px solid var(--filet); }
.ndmc .faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 18px; cursor: pointer; list-style: none; }
.ndmc .faq summary::-webkit-details-marker { display: none; }
.ndmc .faq summary::after { content: "+"; color: var(--encre-3); font-weight: 300; font-size: 24px; line-height: 1; }
.ndmc .faq details[open] summary::after { content: "–"; }
.ndmc .faq details p { margin: 0 0 18px; color: var(--encre-2); max-width: 70ch; }
.ndmc .n-final { padding: clamp(40px, 6vw, 72px); border-radius: 20px; background: linear-gradient(135deg, var(--lavande), var(--doux) 70%); text-align: center; }
.ndmc .n-final h2 { margin-inline: auto; }
.ndmc .n-final p { margin: 0 auto 26px; max-width: 54ch; color: var(--encre-2); font-size: 18px; font-weight: 300; }
.ndmc .mentions { padding-block: 28px 48px; color: var(--encre-3); font-size: 12.5px; line-height: 1.5; }
/* La fin du parcours (démo) : lecture, résultat, puis seulement l'inscription */
.ndmc .analyse { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: var(--voile); }
.ndmc .boite { position: relative; width: min(500px, 100%); max-height: calc(100% - 8px); overflow: auto; padding: 28px; border-radius: 18px; background: var(--blanc); box-shadow: var(--ombre); }
.ndmc .fermer { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--doux); color: var(--encre-2); font-size: 18px; line-height: 1; cursor: pointer; }
.ndmc .boite h3 { margin: 0 0 4px; font-weight: 400; font-size: 23px; letter-spacing: -0.01em; }
.ndmc .boite > section > p { margin: 0 0 18px; color: var(--encre-2); font-size: 14.5px; }
.ndmc .etapes-lecture { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ndmc .etapes-lecture li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; color: var(--encre-3); }
.ndmc .etapes-lecture li.fait, .ndmc .etapes-lecture li.encours { color: var(--encre); }
.ndmc .etapes-lecture .rond { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--filet-2); }
.ndmc .etapes-lecture li.encours .rond { border-color: var(--indigo); border-top-color: transparent; animation: tourne .8s linear infinite; }
.ndmc .etapes-lecture li.fait .rond { border-color: var(--vert); background: var(--vert); }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
.ndmc .etapes-lecture li.encours .rond { animation: none; }
}
.ndmc .res-ligne { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin: 6px 0 16px; }
.ndmc .res-ligne p { margin: 0; color: var(--encre-2); font-size: 14.5px; }
.ndmc .res-ligne b { color: var(--encre); font-weight: 500; }
.ndmc .boite .manque { padding-top: 0; margin-bottom: 22px; }
.ndmc .boite .btn-grand { width: 100%; }
.ndmc .apercu-rapport { display: flex; gap: 10px; margin: 18px 0 20px; }
.ndmc .apercu-rapport span { flex: 1; display: grid; gap: 4px; padding: 10px; border-radius: 10px; background: var(--doux); color: var(--encre-2); font-size: 12px; line-height: 1.3; }
.ndmc .apercu-rapport b { color: var(--encre); font-weight: 500; font-size: 13px; }
/* Onglet proposition */
@media (max-width: 1100px) {
.ndmc .pages-grille { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
.ndmc .deux, .ndmc .explication, .ndmc .histoire-corps { grid-template-columns: 1fr; }
.ndmc .explication .scene-cadre { order: -1; }
.ndmc .confiance { grid-template-columns: 1fr; }
.ndmc .chapitres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ndmc .chapitres button:nth-child(2) { border-right: 0; }
.ndmc .chapitres button:nth-child(-n+2) { border-bottom: 1px solid var(--nuit-filet); }
}
@media (max-width: 700px) {
.ndmc .pages-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
.ndmc .legende-page { font-size: 11.5px; }
.ndmc .visionneuse { grid-template-columns: 40px minmax(0, 1fr) 40px; padding-inline: 4px; }
.ndmc .vis-nav { width: 34px; height: 34px; }
}
@media (max-width: 520px) {
.ndmc .manque { grid-template-columns: 1fr; }
.ndmc .apercu-rapport { flex-direction: column; }
.ndmc .chapitres button { padding: 16px; }
.ndmc .logos-rang { gap: 8px; }
.ndmc .logos-rang img, .ndmc .plus-logos { width: 40px; height: 40px; }
}
.ndmc .heros .prive { width: min(640px, 100%); margin-inline: auto; justify-content: flex-start; text-align: left; }
.ndmc .lien-texte { border: 0; background: none; padding: 0; color: var(--indigo); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ndmc .avis { width: min(640px, 100%); margin: 0 auto 16px; padding: 12px 16px; border-radius: 10px; background: var(--peche-doux); color: var(--encre); font-size: 14px; text-align: center; }
.ndmc .en-direct { min-height: 1.4em; margin: 16px 0 0; color: var(--encre-2); font-size: 13.5px; }
.ndmc .actions-boite { display: grid; gap: 10px; margin-top: 6px; }
.ndmc .actions-boite .secondaires { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; }
.ndmc .reference-res { margin: -6px 0 18px; color: var(--encre-3); font-size: 13px; }
.ndmc .liste-fichiers { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; font-size: 13.5px; }
.ndmc .liste-fichiers li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 8px; background: var(--doux); }
.ndmc .liste-fichiers .ok { color: var(--vert); }
.ndmc .liste-fichiers .ko { color: var(--brique); }
/* La fin du parcours (Maxime, 23/10) : deux options, puis l'inscription. */
.ndmc .n-options { display: grid; gap: 10px; margin: 2px 0 14px; }
.ndmc .n-options-titre { margin: 0; color: var(--encre); font-size: 15px; font-weight: 500; }
.ndmc .n-option { all: unset; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; padding: 14px 16px; border: 1px solid var(--filet-2); border-radius: 12px; background: var(--blanc); cursor: pointer; transition: border-color .15s, background .15s; }
.ndmc .n-option:hover { border-color: var(--indigo); background: var(--indigo-doux); }
.ndmc .n-option:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.ndmc .n-option[hidden] { display: none; }
.ndmc .n-option b { grid-column: 1; color: var(--indigo); font-size: 16px; font-weight: 500; }
.ndmc .n-option span { grid-column: 1; color: var(--encre-2); font-size: 13.5px; line-height: 1.4; }
.ndmc .n-option i { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--indigo); font-size: 18px; font-style: normal; }
.ndmc .n-anti-robot { display: flex; justify-content: center; }
.ndmc .n-anti-robot:empty { display: none; }
.ndmc .n-aide { margin: 10px 0 0; color: var(--encre-3); font-size: 13px; }
.ndmc .n-message { display: grid; gap: 6px; margin: 14px 0 18px; }
.ndmc .n-message span { color: var(--encre-3); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.ndmc .n-message textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--filet-2); border-radius: 10px; background: var(--doux); color: var(--encre-2); font: 13px/1.5 var(--sans); resize: vertical; }
.ndmc .n-message textarea:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
