/* Sonder FR — style éditorial : bandeaux bleu nuit, titres serif serrés, filet tricolore discret */
:root {
  --navy: #0b1323;
  --navy-2: #14223d;
  --ink: #10131a;
  --muted: #5b6475;
  --line: #dde3ec;
  --bg: #f5f7fb;
  --card: #ffffff;
  --soft: #eef2f8;
  --gauche: #c8323a;
  --gauche-soft: #fbe9ea;
  --droite: #2453c4;
  --droite-soft: #e7eefb;
  --centre: #7a8296;
  --centre-soft: #eef0f4;
  --on-navy: #ffffff;
  --on-navy-muted: rgba(255, 255, 255, .68);
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 19, 26, .04), 0 12px 32px rgba(16, 19, 26, .06);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--droite); outline-offset: 2px; }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 860px; }

/* ---------- Typo ---------- */
.serif { font-family: var(--serif); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.12; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; flex: none;
  background: linear-gradient(90deg, var(--droite) 0 42%, transparent 42% 58%, var(--gauche) 58%);
}
.eyebrow.plain::before { display: none; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.filet { height: 3px; width: 100px; border-radius: 3px; background: linear-gradient(90deg, var(--droite), #fff 50%, var(--gauche)); }

/* ---------- En-tête ---------- */
.site-header { background: var(--navy); color: var(--on-navy); position: relative; z-index: 20; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--droite), rgba(255,255,255,.5) 50%, var(--gauche)); opacity: .7; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 22px; height: 30px; border-radius: 4px; flex: none; background: linear-gradient(90deg, var(--droite) 0 33.3%, #fff 33.3% 66.6%, var(--gauche) 66.6%); box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 22px; letter-spacing: -.02em; line-height: 1; display: block; }
.brand-tag { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-navy-muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--on-navy-muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-navy); background: rgba(255,255,255,.08); }
.nav .btn { margin-left: 10px; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.2;
  padding: 14px 22px; border-radius: 10px; border: 1px solid transparent;
  background: var(--navy); color: #fff; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 19, 35, .18); }
.btn.light { background: #fff; color: var(--navy); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn.tricolore { background: linear-gradient(100deg, var(--droite), #5a3fa0 50%, var(--gauche)); color: #fff; }
.btn.sm { padding: 10px 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.arrow { transition: transform .15s; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% 20%, #1d3160 0%, transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(200,50,58,.18) 0%, transparent 60%), var(--navy); color: var(--on-navy); padding-block: 72px 140px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--on-navy-muted); }
.hero .lead { color: var(--on-navy-muted); margin-top: 22px; }
.hero h1 { margin-top: 20px; }
.hero h1 em { font-style: italic; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats div { padding: 18px 16px 0 0; }
.hero-stats b { display: block; font-family: var(--serif); font-size: 30px; letter-spacing: -.02em; line-height: 1; }
.hero-stats span { font-size: 13px; color: var(--on-navy-muted); }
.hemi-wrap { position: relative; }
.hemi-wrap svg { width: 100%; height: auto; display: block; }
.hemi-caption { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--on-navy-muted); margin-top: 8px; }
@media (max-width: 900px) {
  .hero { padding-block: 48px 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hemi-wrap { max-width: 520px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Cartes qui chevauchent le hero ---------- */
.overlap { margin-top: -84px; position: relative; z-index: 2; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tile { padding: 28px 26px; border-left: 1px solid var(--line); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tile:first-child { border-left: 0; background: var(--navy-2); color: #fff; }
.tile:first-child p { color: var(--on-navy-muted); }
.tile .mono { color: var(--muted); }
.tile:first-child .mono { color: var(--on-navy-muted); }
.tile h3 { font-size: 24px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .arrow { margin-top: auto; align-self: flex-end; font-size: 20px; }
.tile:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile:nth-child(3) { border-left: 0; } .tile:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { border-left: 0; } .tile + .tile { border-top: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section.tight { padding-block: 64px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 48px; }
.section-head h2 { margin-top: 16px; }
.section-head .lead { justify-self: end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lead { justify-self: start; } .section { padding-block: 64px; } }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: clamp(22px, 4vw, 44px); }

.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cols3 > div { padding: 32px 28px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cols3 > div:first-child { border-left: 0; }
.cols3 p { color: var(--muted); }
.cols3 .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--droite-soft); color: var(--droite); display: grid; place-items: center; }
@media (max-width: 820px) { .cols3 { grid-template-columns: 1fr; } .cols3 > div { border-left: 0; } .cols3 > div + div { border-top: 1px solid var(--line); } }

.link-line { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 3px; align-self: flex-start; margin-top: auto; }

/* Bandeau bleu nuit (confiance) */
.band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; position: relative; overflow: hidden; }
.band .eyebrow, .band p { color: var(--on-navy-muted); }
.band h2 { margin-top: 14px; }
.band-list { display: flex; flex-direction: column; }
.band-list div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; }
.band-list b { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.band-list span.mono { color: var(--on-navy-muted); grid-row: span 2; padding-top: 6px; }
.band-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step-card { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-card .mono { color: var(--muted); }
.step-card p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Nuancier (thèmes) ---------- */
.nuancier { display: flex; flex-direction: column; }
.nrow { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(0, 130px); gap: 8px 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.nrow:last-child { border-bottom: 1px solid var(--line); }
.nrow strong { font-size: 15px; }
.nrow .zone { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.nrow p { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.nrow .best { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.nrow .best b { color: var(--ink); }
.ntrack { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--gauche-soft), var(--centre-soft) 50%, var(--droite-soft)); }
.ntrack::before, .ntrack::after { content: ""; position: absolute; top: -5px; bottom: -5px; width: 1px; background: var(--line); }
.ntrack::before { left: 50%; }
.ntrack::after { display: none; }
.ntrack i { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(16,19,26,.15), 0 2px 6px rgba(16,19,26,.2); transition: left .8s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 640px) { .nrow { grid-template-columns: minmax(0, 1fr) auto; } .ntrack { grid-column: 1 / -1; grid-row: 2; } }

.tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tally div { border-radius: 12px; padding: 16px; text-align: center; }
.tally b { display: block; font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.tally span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.t-g { background: var(--gauche-soft); color: var(--gauche); }
.t-c { background: var(--centre-soft); color: #4b5263; }
.t-d { background: var(--droite-soft); color: var(--droite); }

/* ---------- Quiz ---------- */
.quiz-shell { padding-block: 48px 96px; }
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.format { padding: 32px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.format.main { border: 2px solid var(--navy); }
.format .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: var(--soft); color: var(--muted); }
.chip.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.soon { position: absolute; top: 18px; right: 18px; }
@media (max-width: 720px) { .format-grid { grid-template-columns: 1fr; } }

.qcard { padding: clamp(22px, 4vw, 48px); }
.qtop { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.progress { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: -1px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--droite), var(--gauche)); transition: width .3s; }
.qtheme { margin-top: 28px; display: inline-flex; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--droite); background: var(--droite-soft); padding: 5px 12px; border-radius: 99px; }
.statement { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; margin-top: 16px; max-width: 26ch; text-wrap: balance; min-height: 2.3em; }
.ctx-toggle { margin-top: 16px; background: none; border: 0; padding: 0; color: var(--muted); font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.ctx { margin-top: 12px; background: var(--soft); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: #39404f; max-width: 70ch; }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-align: left; font-weight: 700; font-size: 14.5px; line-height: 1.25; color: var(--ink); transition: border-color .15s, transform .15s, background .15s; }
.opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.opt .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--mono); font-weight: 600; font-size: 13px; border: 1px solid; }
.opt[data-v="-2"] .n, .opt[data-v="-1"] .n { color: var(--gauche); background: var(--gauche-soft); border-color: #f2c4c6; }
.opt[data-v="0"] .n { color: var(--centre); background: var(--centre-soft); border-color: var(--line); }
.opt[data-v="1"] .n, .opt[data-v="2"] .n { color: #16653a; background: #e8f5ec; border-color: #bfe2cb; }
.opt.sel { background: var(--navy); color: #fff; border-color: var(--navy); }
.qfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.skip { background: none; border: 1px dashed var(--line); color: var(--muted); border-radius: 10px; padding: 10px 16px; font-weight: 600; font-size: 14px; }
.skip:hover { border-color: var(--muted); }
@media (max-width: 760px) { .scale { grid-template-columns: 1fr; gap: 8px; } .opt { padding: 13px 14px; } }

.prio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.prio { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 18px; text-align: left; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.prio b { font-size: 16px; }
.prio span { font-size: 13px; color: var(--muted); }
.prio.sel { border: 2px solid var(--navy); background: var(--droite-soft); padding: 17px; }
.prio.sel b::after { content: " · ×2"; color: var(--droite); }
@media (max-width: 760px) { .prio-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .prio-grid { grid-template-columns: 1fr; } }

/* ---------- Résultats ---------- */
.res-hero { background: radial-gradient(900px 400px at 90% 0%, #1d3160 0%, transparent 60%), var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.res-hero .eyebrow { color: var(--on-navy-muted); }
.res-hero h1 { font-size: clamp(42px, 6vw, 72px); margin-top: 14px; }
.res-hero p { color: var(--on-navy-muted); margin-top: 18px; font-size: 17px; max-width: 56ch; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 99px; color: #fff; }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 900px) { .res-hero { grid-template-columns: 1fr; } }

.res-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 860px) { .res-grid { grid-template-columns: 1fr; } }
.topcard { padding: 28px; position: relative; overflow: hidden; }
.topcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--droite), #fff 50%, var(--gauche)); }
.topcard .big { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.topcard .big b { font-family: var(--serif); font-size: 72px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.topcard h3 { margin-top: 8px; font-size: clamp(26px, 3vw, 34px); }
.topcard p { color: var(--muted); margin-top: 12px; }
.topcard .note { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; font-size: 14px; }
.bars { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.bar-row { display: flex; flex-direction: column; gap: 8px; }
.bar-head { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 15px; }
.bar-head small { font-family: var(--mono); color: var(--muted); font-weight: 500; }
.bar { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--droite), #c9d3ea 50%, var(--gauche)); transition: width 1s cubic-bezier(.2,.8,.2,1); }

.robust { border-left: 4px solid var(--droite); padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; }
.robust h3 { margin-top: 8px; }
.robust p { color: var(--muted); margin-top: 10px; }
.robust dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.robust dl div { padding: 14px 16px; border-top: 1px solid var(--line); }
.robust dl div:nth-child(odd) { border-right: 1px solid var(--line); }
.robust dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.robust dd { margin: 4px 0 0; font-family: var(--serif); font-size: 20px; font-weight: 700; }
@media (max-width: 760px) { .robust { grid-template-columns: 1fr; } }

.map-card svg { width: 100%; max-width: 620px; height: auto; display: block; margin: 0 auto; }
.legend { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

.ranking { display: flex; flex-direction: column; }
.rank { display: grid; grid-template-columns: 34px 44px minmax(0, 1fr) minmax(80px, 200px) 56px; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.rank .pos { font-family: var(--mono); color: var(--muted); font-size: 13px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.rank-name { min-width: 0; }
.rank-name b { display: block; font-size: 15px; }
.rank-name small { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .pct { font-family: var(--serif); font-weight: 700; font-size: 20px; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .rank { grid-template-columns: 28px 40px minmax(0, 1fr) 50px; } .rank .bar { display: none; } .avatar { width: 40px; height: 40px; } }

.friend { border: 2px solid var(--navy); padding: 28px; }
.friend .big { font-family: var(--serif); font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.friend-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.friend-cols ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 640px) { .friend-cols { grid-template-columns: 1fr; } }

.share-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 36px; align-items: start; }
.share-grid img { width: 100%; border-radius: 16px; box-shadow: 0 20px 50px rgba(11, 19, 35, .25); display: block; }
.share-actions { display: flex; flex-direction: column; gap: 12px; }
.share-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field input { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.toast { min-height: 1.4em; font-size: 14px; font-weight: 600; color: var(--droite); }
.hint { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .share-grid { grid-template-columns: 1fr; } .share-grid img { max-width: 280px; margin: 0 auto; } .share-row { grid-template-columns: 1fr; } }

.caution { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
.caution p { color: var(--muted); margin-top: 12px; }
.aside { border-left: 3px solid var(--navy); padding: 4px 0 4px 20px; font-size: 14px; color: var(--muted); }
.aside b { color: var(--ink); }
@media (max-width: 760px) { .caution { grid-template-columns: 1fr; } }

.stack { display: flex; flex-direction: column; gap: 20px; }
.banner { background: var(--droite-soft); border: 1px solid #c9d6f3; color: var(--navy); border-radius: 12px; padding: 14px 18px; font-weight: 600; font-size: 15px; }

/* ---------- Pages texte ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: 64px 72px; }
.page-hero .eyebrow, .page-hero .lead { color: var(--on-navy-muted); }
.page-hero h1 { margin-top: 16px; font-size: clamp(38px, 5.4vw, 64px); }
.page-hero .lead { margin-top: 18px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 56px; margin-bottom: 16px; }
.prose h3 { margin-top: 32px; margin-bottom: 10px; font-size: 22px; }
.prose p, .prose li { color: #343b4a; font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.formula { font-family: var(--mono); font-size: 14px; background: var(--navy); color: #dfe6f5; border-radius: 12px; padding: 18px 20px; overflow-x: auto; margin: 16px 0; white-space: pre; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 56px 36px; margin-top: 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--on-navy-muted); }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (max-width: 520px) { .brand-tag { display: none; } .brand-name { font-size: 20px; } }

/* ---------- Navigation mobile, accessibilité, fil d'Ariane ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip-link:focus { left: 12px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; color: #fff; font-weight: 700; font-size: 14px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); background: var(--navy-2); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; min-width: 220px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.menu-panel a { color: #fff; text-decoration: none; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: rgba(255,255,255,.08); }
@media (max-width: 1020px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 1020px) { .menu { display: block; } }
@media (max-width: 520px) { .nav { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-block: 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.crumbs .sep { opacity: .5; }

/* ---------- Portrait typographique ---------- */
.portrait { --tint: #5c6378; position: relative; aspect-ratio: 4 / 5; width: 120px; flex: none; border-radius: 6px; overflow: hidden; background: radial-gradient(120% 90% at 30% 15%, color-mix(in srgb, var(--tint) 55%, #fff) 0%, var(--tint) 45%, #0b1323 100%); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.portrait span { font-family: var(--serif); font-weight: 700; font-size: 48px; line-height: .9; letter-spacing: -.03em; }
.portrait small { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-top: 8px; line-height: 1.3; }
.portrait.big { width: 100%; max-width: 280px; padding: 22px; }
.portrait.big span { font-size: 120px; }
.portrait.big small { font-size: 12px; }

/* ---------- Annuaire ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip-btn { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 700; }
.chip-btn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.pcard { display: flex; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); min-width: 0; }
.pcard-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pcard p { color: var(--muted); font-size: 15px; }
.pcard .pmeta { font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; font-weight: 700; background: var(--soft); color: #4b5263; padding: 4px 9px; border-radius: 4px; }
.pcard .link-line { margin-top: 6px; }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pcard { flex-direction: column; } .portrait { width: 96px; } }

/* ---------- Fiche personnalité ---------- */
.phero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; overflow: hidden; position: relative; }
.phero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--droite), #fff 50%, var(--gauche)); }
.phero-main { padding: clamp(24px, 5vw, 64px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.phero-main h1 { font-size: clamp(42px, 6vw, 76px); }
.phero-sub { font-family: var(--serif); font-weight: 700; font-size: 20px; }
.phero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: #4b5263; }
.phero-meta span + span::before { content: "•"; margin-right: 18px; color: var(--line); }
.phero-side { background: #f2f1ee; display: grid; place-items: center; padding: 32px; }
.oneliner { background: #121418; color: #fff; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: clamp(24px, 4vw, 44px) clamp(24px, 5vw, 64px); border-radius: 0 0 var(--radius) var(--radius); margin-top: -1px; }
.oneliner .mono { color: var(--on-navy-muted); padding-top: 8px; }
.oneliner p { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; letter-spacing: -.015em; max-width: 34ch; }
@media (max-width: 860px) { .phero { grid-template-columns: 1fr; } .phero-side { padding: 24px; } .portrait.big { max-width: 200px; } .portrait.big span { font-size: 84px; } .oneliner { grid-template-columns: 1fr; gap: 8px; } }
.pcols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.pside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.idcard { background: #f2f1ee; border-top: 3px solid var(--ink); padding: 24px; }
.idcard .mono { color: var(--muted); }
.idcard h3 { margin-top: 6px; font-size: 24px; }
.idcard dl { margin: 16px 0 0; }
.idcard dl div { padding: 12px 0; border-top: 1px solid #dcdad4; }
.idcard dt { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.idcard dd { margin: 4px 0 0; font-weight: 700; }
.idcard dd span { font-weight: 400; color: var(--muted); font-size: 14px; }
.cta-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.cta-card .mono { color: var(--on-navy-muted); }
.cta-card p { color: var(--on-navy-muted); font-size: 15px; }
@media (max-width: 960px) { .pcols { grid-template-columns: 1fr; } .pside { position: static; } }
.timeline { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.timeline li { padding: 4px 0 18px 22px; position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--bg); }
.timeline .mono { color: var(--droite); font-weight: 600; }
.timeline p { margin: 0; }
.prose .nuancier, .prose .faq { margin-top: 12px; }
.prose .nrow strong a { text-decoration: none; }
.sources { padding-left: 18px; }

/* ---------- Thèmes ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tcard { padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.tcard:hover { transform: translateY(-2px); }
.tcard .mono { color: var(--muted); }
.tcard p { color: var(--muted); font-size: 15px; }
.tcard .arrow { margin-top: auto; align-self: flex-end; font-size: 20px; }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tgrid { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split .card { display: flex; flex-direction: column; gap: 10px; }
.side-g { border-top: 4px solid var(--gauche); }
.side-d { border-top: 4px solid var(--droite); }
.side-g .mono { color: var(--gauche); }
.side-d .mono { color: var(--droite); }
@media (max-width: 720px) { .split { grid-template-columns: 1fr; } }
.qlist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qitem { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.qitem .serif { font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
@media (max-width: 720px) { .qlist { grid-template-columns: 1fr; } }
.tnav { display: flex; flex-wrap: wrap; gap: 8px; }
.tnav .chip { text-decoration: none; }
.nrow strong .hint { font-weight: 400; }

/* Explorer (accueil) */
.explore { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; }
.explore-list { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px; }
.explore-list h3 { margin-bottom: 12px; }
.explore-list a { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 700; }
.explore-list a:hover { color: #c9d6f3; }
@media (max-width: 860px) { .explore { grid-template-columns: 1fr; } }
.pgrid.compact { grid-template-columns: 1fr; }
.rank-name a, .topcard h3 a { color: inherit; text-decoration: none; }
.rank-name a:hover, .topcard h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.pcard .portrait { align-self: flex-start; }
@media (max-width: 860px) { .phero-side { display: none; } .phero-meta span + span::before { display: none; } .phero-meta { flex-direction: column; } }

/* ---------- Ajustements responsive ---------- */
.tally span { font-size: 11px; letter-spacing: .06em; line-height: 1.3; display: block; }
@media (max-width: 480px) { .tally { gap: 6px; } .tally div { padding: 12px 6px; } .tally b { font-size: 32px; } }
.rank-name small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .rank-name small .rline { display: none; } .rank-name b { font-size: 14.5px; line-height: 1.25; } }
@media (max-width: 900px) {
  .hemi-wrap { max-width: 420px; width: 100%; margin-inline: auto; }
  .hero-grid { gap: 28px; }
  .res-hero { gap: 24px; }
}
.portrait small { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .portrait small { font-size: 8px; } }
.map-card svg { max-width: 680px; }
@media (max-width: 640px) { .map-card { padding-left: 12px; padding-right: 12px; } .map-card .eyebrow, .map-card h2, .map-card .legend { padding-inline: 10px; } }
.legend { max-width: 62ch; margin-inline: auto; }
.statement { min-height: 0; }
@media (max-width: 640px) { .qcard { padding: 20px 18px; } .statement { font-size: 25px; } .res-hero h1 { font-size: 40px; } .topcard .big b { font-size: 60px; } }
.phero-main h1 { overflow-wrap: anywhere; }
.statut { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--navy); background: var(--droite-soft); padding: 8px 14px; border-radius: 99px; align-self: flex-start; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--droite); box-shadow: 0 0 0 4px rgba(36,83,196,.18); flex: none; }

/* ---------- Candidats 2027 ---------- */
.cand-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .cand-cols { grid-template-columns: 1fr; } }
.clist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.crow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cname { font-weight: 800; font-size: 16px; }
.cname a { text-decoration: none; }
.cname a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cparty { color: #39404f; font-size: 15px; }
.cdate { color: var(--muted); font-size: 13px; font-family: var(--mono); letter-spacing: .02em; }
.cfiche { font-size: 13px; font-weight: 700; color: var(--droite); text-decoration: none; white-space: nowrap; }
@media (max-width: 720px) { .crow { grid-template-columns: minmax(0, 1fr) auto; } .cparty, .cdate { grid-column: 1 / -1; } .cfiche { grid-row: 1; grid-column: 2; } }

/* ---------- Comparateur ---------- */
.duel-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: end; }
.duel-pick select { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.vs { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); padding-bottom: 10px; }
@media (max-width: 600px) { .duel-pick { grid-template-columns: 1fr; } .vs { padding: 0; text-align: center; } }
.duel-score { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 18px; }
.duel-score b { font-family: var(--serif); font-size: clamp(48px, 7vw, 72px); line-height: 1; letter-spacing: -.03em; }
.duel-score span { font-size: 14px; color: var(--muted); max-width: 30ch; }
.duel-table { display: flex; flex-direction: column; }
.drow { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 110px; gap: 8px 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.drow:last-child { border-bottom: 1px solid var(--line); }
.drow strong { font-size: 15px; }
.dtrack { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--gauche-soft), var(--centre-soft) 50%, var(--droite-soft)); }
.dtrack::before { content: ""; position: absolute; left: 50%; top: -5px; bottom: -5px; width: 1px; background: var(--line); }
.dtrack i, .duel-legend i { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 1px rgba(16,19,26,.2); }
.da { background: var(--navy); }
.db { background: #e0a526; }
.verdict { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.verdict.ok { color: #16653a; } .verdict.mid { color: #9a6700; } .verdict.far { color: var(--gauche); }
.duel-legend { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; font-weight: 700; }
.duel-legend span { display: inline-flex; align-items: center; gap: 10px; }
.duel-legend i { position: static; transform: none; display: inline-block; }
@media (max-width: 640px) { .drow { grid-template-columns: minmax(0, 1fr) auto; } .dtrack { grid-column: 1 / -1; grid-row: 2; } }
.duel-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center; }
.duel-head .duel-score { margin: 0; }
.duel-side { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; min-width: 0; }
.duel-side.right { justify-content: flex-end; text-align: right; }
.duel-side b { display: block; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; }
.duel-side small { color: var(--muted); font-size: 14px; }
.duel-side .portrait { width: 96px; }
@media (max-width: 720px) { .duel-head { grid-template-columns: 1fr 1fr; } .duel-head .duel-score { grid-column: 1 / -1; grid-row: 2; } .duel-side { flex-direction: column; align-items: flex-start; } .duel-side.right { flex-direction: column-reverse; align-items: flex-end; } .duel-side .portrait { width: 80px; } }

/* ---------- Lexique ---------- */
.lex-cat + .lex-cat { margin-top: 48px; }
.lex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.lex-card { padding: 22px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; transition: transform .15s; }
.lex-card:hover { transform: translateY(-2px); }
.lex-card h3 { font-size: 21px; }
.lex-card p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .lex-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lex-grid { grid-template-columns: 1fr; } }
.page-hero .hero-stats { margin-top: 32px; }
@media (max-width: 1180px) { .nav a:not(.btn) { display: none; } .menu { display: block; } }
.portrait { container-type: inline-size; }
.portrait span { font-size: 40cqw; }
.portrait small { font-size: max(8px, 7.5cqw); }
@container (max-width: 100px) { .portrait small { display: none; } }
.portrait.big span { font-size: 42cqw; }
.portrait.photo { padding: 0; background: #d9dce3; }
.portrait.photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.05); transition: filter .3s; }
.pcard:hover .portrait.photo img, .phero .portrait.photo img { filter: none; }
img.avatar { object-fit: cover; object-position: top; background: var(--soft); }
.credit { font-size: 11.5px; color: var(--muted); margin-top: 10px; max-width: 280px; line-height: 1.4; }
.credit a { color: inherit; }
.phero-side { flex-direction: column; }
.map-keys { text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 10px; }
.signal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid var(--line); margin-top: 40px; font-size: 14px; color: var(--muted); }
.site-footer { margin-top: 0; }
main { padding-bottom: 8px; }
.brand-tag { letter-spacing: .1em; }

/* ---------- Newsletter ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; position: relative; overflow: hidden; }
.nl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--droite), #fff 50%, var(--gauche)); }
.nl .mono { color: var(--on-navy-muted); }
.nl h3 { margin-top: 8px; font-size: clamp(24px, 2.6vw, 32px); }
.nl p { color: var(--on-navy-muted); margin-top: 10px; font-size: 15px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; font: inherit; padding: 13px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; }
.nl-row input::placeholder { color: rgba(255,255,255,.55); }
.nl-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13px; color: var(--on-navy-muted); }
.nl-consent input { margin-top: 3px; }
.nl-consent a { color: #fff; }
.nl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-msg { min-height: 1.3em; font-size: 14px; font-weight: 600; margin-top: 10px !important; }
.nl-msg.ok { color: #9ee6b6; } .nl-msg.err { color: #ffb4b8; }
.nl.card { grid-template-columns: 1fr; padding: 24px; gap: 14px; }
.nl.card h3 { font-size: 22px; }
.nl.card .nl-row { flex-direction: column; }
@media (max-width: 760px) { .nl { grid-template-columns: 1fr; } .nl-row { flex-direction: column; } }
