/* Justifbox — feuille de style unique (reconstruction corrigée du 22/10/2026)
   Base : relevé public de justifbox.vercel.app/styles.css (annexe C).
   Corrections appliquées — cf. CHANGELOG.md :
   - placeholders en --muted (contraste 5,41:1 au lieu de 2,43:1)
   - hero : grille au lieu de positions absolues (plus de recouvrement)
   - header 320-400 px : CTA compacté, libellé court, aucune coupure
   - skip-link, focus visible, aria-invalid
   - comparatif : cartes empilées sur téléphone
*/

/* ---------- polices ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/sourceserif4-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/sourceserif4-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- jetons ---------- */
:root {
  --ink: #17191c;
  --paper: #fff;
  --mist: #f2f2f3;
  --fog: #fafafb;
  --slate: #777b86;
  --muted: #666a74;
  --smoke: #a3a6af; /* décoratif uniquement — jamais du texte (2,43:1) */
  --line: #ececec;
  --peach: #fbe1d1;
  --sienna: #5d2a1a;
  --err: #a3271b;
  --serif: "Source Serif 4", "Tiempos Text", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-card: 24px;
  --r-sm: 16px;
  --r-float: 20px;
  --r-img: 12px;
  --r-input: 16px;
  --r-pill: 9999px;
  --sh-float: 0 0 0 1px rgba(4, 23, 43, .05), 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --sh-pop: 0 0 0 1px rgba(0, 0, 0, .05), 0 4px 24px rgba(0, 0, 0, .08);
  --gutter: 32px;
  --max: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.35 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--peach); color: var(--sienna); }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- typo ---------- */
.display, .display-sm, .heading, h1, h2, .legal h2, .foot-big, .code404, .amount { font-family: var(--serif); font-weight: 400; }
.display { font-size: clamp(46px, 7.2vw, 90px); line-height: 1.08; letter-spacing: -.025em; max-width: 980px; margin: 0 auto; }
.display-sm { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.12; letter-spacing: -.015em; }
.heading { font-size: clamp(34px, 4vw, 44px); line-height: 1.18; letter-spacing: -.015em; }
.grad { font-style: italic; } /* italique, pas un dégradé */
h3 { font: 450 22px/1.25 var(--sans); letter-spacing: -.01em; margin: 14px 0 8px; }
.lead { font-size: 20px; line-height: 1.4; color: var(--muted); letter-spacing: -.009em; }
.body { font-size: 17px; line-height: 1.45; color: var(--muted); }
.small { font-size: 15px; line-height: 1.45; color: var(--muted); }
.foot { font-size: 14px; line-height: 1.5; color: var(--muted); }
.label, .eyebrow { font: 400 14px/1.4 var(--sans); color: var(--muted); }
.eyebrow { display: inline-block; }
.mono { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); display: inline-block; }
.todo {
  display: inline; padding: 2px 10px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-size: .88em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 12px 0;
  font-size: 15px; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: var(--r-pill);
  font: 400 16px var(--sans); text-decoration: none;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s;
}
.btn:hover { background: #2c2f34; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost, .btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover, .btn-line:hover { background: var(--mist); }
.btn-cta .arr { transition: transform .2s; }
.btn-cta:hover .arr { transform: translateX(3px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 16px; color: var(--ink);
  text-decoration: none; padding: 10px 4px;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible,
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo {
  display: inline-flex; align-items: center; min-height: 44px; gap: 10px;
  font: 400 24px var(--serif); letter-spacing: -.01em; text-decoration: none; color: var(--ink);
}
.logo i {
  width: 26px; height: 26px; border-radius: 8px; background: var(--ink);
  display: inline-block; position: relative;
}
.logo i:after {
  content: ""; position: absolute; left: 7px; right: 7px; top: 8px; height: 2px;
  background: #fff; box-shadow: 0 5px 0 #fff; border-radius: 2px;
}
.nav-center { display: none; gap: 4px; }
.nav-center a { font-size: 16px; color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: var(--r-pill); }
.nav-center a:hover { background: var(--mist); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .text-link { display: none; }
.nav-cta .lbl-sm { display: none; }
@media (min-width: 960px) {
  .nav-center { display: flex; }
  .nav-right .text-link { display: inline-flex; }
}

/* ---------- sections ---------- */
section { padding: 112px 0; }
section.band { background: var(--fog); }
.section-head { display: grid; gap: 20px; margin-bottom: 56px; }
.section-head .body { max-width: 520px; }
.section-head .eyebrow { margin-bottom: 14px; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
}
.grid3, .grid4 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--mist); border-radius: var(--r-card); padding: 28px 24px; position: relative; }
.card .body { margin-top: 4px; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.step-n { font: 400 28px var(--serif); color: var(--slate); }
.cat { font-size: 14px; color: var(--muted); }
.accent { background: var(--peach) !important; color: var(--sienna); }
.accent .label, .accent .small, .accent .body, .accent li, .accent p,
.accent h3, .accent .amount, .accent .amount small, .accent a:not(.btn) { color: var(--sienna) !important; }
.accent ul li:before { background: var(--sienna) !important; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; text-align: center; overflow: hidden; }
.hero .tag { margin-bottom: 28px; }
.hero .lead { max-width: 600px; margin: 28px auto 0; }
.hero .cta { justify-content: center; margin-top: 36px; }
.hero-note { margin: 18px auto 0; max-width: 520px; }

/* Scène du hero — grille : aucune carte n'en recouvre une autre */
.stage {
  position: relative; max-width: 1100px; margin: 56px auto 0;
  display: grid; gap: 28px 24px; align-items: start; justify-content: center;
  grid-template-columns: 250px minmax(0, 420px) 270px;
  grid-template-rows: auto auto;
}
.art {
  position: relative; background: #fff; border-radius: var(--r-float);
  box-shadow: var(--sh-float); padding: 16px 20px 12px 12px;
  text-align: left; font-size: 14px; line-height: 1.35;
}
.art .art-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 0 10px 8px; }
.art .art-t { font-weight: 500; font-size: 14px; }
.art .ex { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 8px; }
.art-list ul { list-style: none; }
.art-list li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 9px 8px; border-top: 1px solid var(--line); }
.art-list .fi { width: 28px; height: 28px; border-radius: 8px; background: var(--mist); display: grid; place-items: center; font-size: 10px; font-weight: 500; color: var(--muted); }
.art-list .nm { font-weight: 450; }
.art-list .nm small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.st { font-size: 12px; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 9px; white-space: nowrap; }
.st.miss { border-color: var(--ink); font-weight: 500; }
.art-stat .metric { font: 500 20px var(--sans); padding: 0 8px; }
.art-stat .delta { font-size: 14px; color: var(--muted); padding: 2px 8px 0; }
.art-stat svg { margin-top: 6px; width: 100%; height: 64px; }
.art-sent .row { display: flex; gap: 12px; align-items: center; padding: 4px 8px 6px; }
.av {
  width: 40px; height: 40px; border-radius: 50%; background: var(--peach); color: var(--sienna);
  display: grid; place-items: center; font: 500 14px var(--sans); flex: none; position: relative;
}
.art-sent .meta { font-size: 13px; color: var(--muted); }
.art-sent .chk {
  display: flex; gap: 8px; align-items: center; padding: 10px 8px 2px;
  border-top: 1px solid var(--line); margin-top: 8px; font-size: 13px;
}
.art-sent .chk b {
  width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 500;
}
.art-comp { padding: 12px; }
.composer { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-input); padding: 10px 10px 10px 16px; }
.composer > span:first-child { flex: 1; color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer b { color: var(--ink); font-weight: 450; }
.send { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; }
.send svg { width: 16px; height: 16px; }
.art-comp .hint { font-size: 12px; color: var(--muted); padding: 8px 4px 0; }

/* placement bureau */
@media (min-width: 1101px) {
  .art-stat { grid-column: 1; grid-row: 1; }
  .art-list { grid-column: 2; grid-row: 1; }
  .art-sent { grid-column: 3; grid-row: 1; margin-top: 28px; }
  .art-comp { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: 440px; }
}
/* 861-1100 : les cartes latérales passent au-dessus, la liste reste centrée */
@media (min-width: 861px) and (max-width: 1100px) {
  .stage { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  .art-stat { grid-column: 1; grid-row: 1; justify-self: start; }
  .art-sent { grid-column: 2; grid-row: 1; justify-self: end; }
  .art-list { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: min(100%, 420px); }
  .art-comp { grid-column: 1 / -1; grid-row: 3; justify-self: center; width: min(100%, 440px); }
}
/* mobile : flux vertical, aucun chevauchement */
@media (max-width: 860px) {
  .stage { margin-top: 48px; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 0; justify-items: center; }
  .art { width: min(100%, 420px); }
  .art-stat { grid-column: 1; grid-row: 1; order: 1; width: min(78%, 260px); justify-self: start; }
  .art-list { grid-column: 1; grid-row: 2; order: 2; margin-top: 14px; width: min(100%, 420px); }
  .art-comp { grid-column: 1; grid-row: 3; order: 3; margin-top: 16px; width: min(100%, 460px); }
  .art-sent { grid-column: 1; grid-row: 4; order: 4; width: min(82%, 280px); justify-self: end; margin-top: -10px; }
}

/* ---------- récapitulatif ---------- */
.recap { background: var(--paper); border-radius: var(--r-float); box-shadow: var(--sh-float); padding: 8px 24px 14px; max-width: 960px; }
.recap-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; flex-wrap: wrap; }
.recap-row { display: grid; grid-template-columns: 50px 1fr 150px 110px; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.status { justify-self: end; font-size: 13px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 10px; color: var(--ink); }
.status.c-manquants { border-color: var(--ink); font-weight: 500; }

/* ---------- tarifs ---------- */
.price { display: flex; flex-direction: column; gap: 6px; }
.price .amount { font-size: 52px; line-height: 1.05; letter-spacing: -.02em; margin: 10px 0 4px; }
.price .amount small { font: 400 16px var(--sans); color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; display: grid; gap: 8px; margin: 16px 0 24px; font-size: 15px; }
.price li { padding-left: 18px; position: relative; color: var(--ink); }
.price li:before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--ink); }
.price .btn { margin-top: auto; align-self: flex-start; }
.table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-weight: 500; font-size: 14px; color: var(--muted); }
.compare tr:last-child td { border-bottom: 0; }
.compare .us td { font-weight: 500; background: var(--fog); }
.compare .mono { white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; max-width: 900px; }
.faq details { background: var(--mist); border-radius: var(--r-sm); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 32px 22px 0; font: 450 19px/1.35 var(--sans); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; position: absolute; right: 0; top: 18px; font: 300 26px var(--sans); }
.faq details[open] summary:after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); line-height: 1.5; max-width: 760px; }

/* ---------- formulaire ---------- */
.signup { display: grid; gap: 48px; }
@media (min-width: 960px) { .signup { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
form { display: grid; gap: 18px; background: #fff; border-radius: var(--r-float); box-shadow: var(--sh-float); padding: 28px; position: relative; }
form label { display: grid; gap: 8px; font-size: 15px; font-weight: 450; }
input[type="email"], input[type="text"], select {
  height: 52px; border-radius: var(--r-input); border: 1px solid var(--line);
  background: #fff; padding: 0 16px; font: 400 17px var(--sans); color: var(--ink); width: 100%;
}
input::placeholder { color: var(--muted); } /* correction : --smoke échouait le seuil 4,5:1 */
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--err); }
select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px;
}
.consent {
  display: flex !important; grid-template-columns: none; gap: 12px; align-items: flex-start;
  font-size: 15px !important; font-weight: 400 !important; color: var(--muted);
}
.consent a { color: var(--ink); }
.consent input { margin-top: 0; width: 22px; height: 22px; accent-color: var(--ink); flex: none; }
.form-msg { font-size: 16px; color: var(--ink); min-height: 22px; }
.form-msg.err { color: var(--err); font-weight: 500; }
form .btn { width: 100%; height: 52px; }
.waitlist-note {
  font-size: 14px; line-height: 1.45; color: var(--muted);
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; margin-bottom: 4px;
}
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.site-foot { background: var(--fog); border-top: 1px solid var(--line); padding: 96px 0 40px; margin-top: 0; }
.foot-big { font-size: clamp(64px, 12vw, 160px); line-height: 1; letter-spacing: -.03em; margin-bottom: 64px; color: var(--ink); }
.foot-cols { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .foot-cols { grid-template-columns: 2fr 1fr 1fr; gap: 80px; } }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-list { list-style: none; display: grid; gap: 0; margin-top: 6px; }
.foot-list a { color: var(--muted); text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
.foot-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: grid; gap: 8px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-maker { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.foot-maker img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.foot-maker a { color: var(--ink); text-underline-offset: 2px; display: inline-block; padding: 4px 0; white-space: nowrap; }

/* ---------- pages légales ---------- */
.legal-hero { padding: 72px 0 0; }
.legal-hero .disclaimer { margin-top: 32px; }
.disclaimer { border-radius: var(--r-card); padding: 20px 24px; font-size: 16px; line-height: 1.5; background: var(--mist); }
.legal-body { padding: 56px 0 120px; }
.legal { max-width: 900px; }
.legal h2 { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.01em; margin: 64px 0 16px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 20px; margin: 28px 0 8px; }
.legal p { color: var(--muted); margin-top: 12px; max-width: 780px; font-size: 17px; line-height: 1.6; }
.legal p strong, .legal li strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal-list { margin-top: 12px; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.legal-list li { padding-left: 22px; position: relative; }
.legal-list li:before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 1px; background: var(--ink); }
.legal .table-wrap { margin-top: 20px; }
.legal .compare { font-size: 15px; }
.legal-table td { vertical-align: top; }
.kv { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 17px; }
.kv th, .kv td { text-align: left; vertical-align: top; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.kv th { width: 34%; font-weight: 500; color: var(--ink); font-size: 16px; }
.kv td { color: var(--muted); }
.code { margin-top: 12px; padding: 16px 20px; background: var(--mist); border-radius: var(--r-sm); font-family: var(--mono); font-size: 14px; line-height: 1.7; color: var(--ink); overflow-x: auto; }
.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-grid .card h3 { margin-top: 0; }
.legal .card a.text-link { color: var(--ink); }
.legal a.btn { color: #fff; text-decoration: none; }
.legal a.btn-ghost { color: var(--ink); }

/* ---------- 404 ---------- */
.nf { padding: 80px 0 140px; text-align: center; }
.code404 { font-size: clamp(120px, 26vw, 300px); line-height: .9; letter-spacing: -.04em; display: block; margin-top: 12px; }
.nf .heading, .nf .lead { margin-left: auto; margin-right: auto; }
.nf .cta { margin-top: 36px; justify-content: center; }
.nf .accent { max-width: 560px; margin: 48px auto 0; text-align: left; }

/* ---------- révélations ---------- */
.rv-on .rv { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.rv-on .rv.in { opacity: 1; transform: none; }

/* ---------- menu mobile ---------- */
.m-only { display: none; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  place-items: center; flex: none; color: var(--ink);
}
.burger span, .burger span:before, .burger span:after {
  display: block; width: 16px; height: 1.5px; background: currentColor;
  border-radius: 2px; position: relative; transition: transform .2s, background .2s;
}
.burger span:before, .burger span:after { content: ""; position: absolute; left: 0; }
.burger span:before { top: -5px; }
.burger span:after { top: 5px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span:before { transform: translateY(5px) rotate(45deg); }
.nav.open .burger span:after { transform: translateY(-5px) rotate(-45deg); }
.burger:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 959px) {
  .nav { position: relative; }
  .nav .btn-sm { height: 44px; } /* cible tactile ≥ 44 px jusqu'au passage en navigation bureau */
  /* menu JS */
  .nav-js .burger { display: grid; }
  .nav-js .nav.open .nav-center {
    display: grid; position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter);
    z-index: 50; gap: 0; padding: 8px; background: var(--paper);
    border-radius: var(--r-float); box-shadow: var(--sh-pop);
  }
  .nav-js .nav.open .nav-center a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 12px; font-size: 17px; }
  .nav-js .nav.open .nav-center .m-only { display: flex; }
  .nav-js .nav.open .nav-center .nav-cta-menu { margin-top: 8px; justify-content: center; min-height: 48px; }
  /* repli sans JS (ou si main.js échoue) : la navigation reste visible et utilisable */
  html:not(.nav-js) .nav { height: auto; flex-wrap: wrap; padding-bottom: 12px; }
  html:not(.nav-js) .nav-center { display: flex; flex-wrap: wrap; gap: 4px; flex-basis: 100%; }
  html:not(.nav-js) .nav-center a { padding: 8px 12px; font-size: 15px; }
  html:not(.nav-js) .nav-center .m-only { display: inline-flex; }
}

/* ---------- petits écrans ---------- */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  section { padding: 80px 0; }
  .hero { padding: 32px 0 24px; }
  .nav { height: 64px; }
  .logo { font-size: 22px; }
  .nav .btn-sm { height: 44px; padding: 0 16px; font-size: 14px; }
  .card { padding: 24px 20px; }
  .recap { padding: 4px 18px 12px; }
  .recap-row { grid-template-columns: 1fr auto; font-size: 15px; }
  .recap-row .hide-m { display: none; }
  .compare { font-size: 15px; }
  .compare th, .compare td { padding: 12px 14px; }
  form { padding: 20px; }
  .legal-hero { padding: 40px 0 0; }
  .legal-body { padding: 40px 0 80px; }
  .kv th { width: 40%; }
  .legal .table-wrap { border: 0; background: transparent; }
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .legal-table td { border: 0 !important; padding: 4px 0 !important; }
  .legal-table td:before { content: attr(data-label); display: block; font-size: 13px; color: var(--muted); }
  .legal-table td:first-child { color: var(--ink); font-weight: 500; }
  .foot-big { margin-bottom: 40px; }
  .art-list li { grid-template-columns: 28px 1fr auto; gap: 8px; }
  /* comparatif concurrentiel : cartes empilées, plus de scroll horizontal */
  .table-wrap-cards { border: 0; background: transparent; overflow-x: visible; margin-top: 28px; }
  .compare-cards thead { display: none; }
  .compare-cards, .compare-cards tbody, .compare-cards tr, .compare-cards td { display: block; width: 100%; }
  .compare-cards tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .compare-cards tr:last-child { border-bottom: 0; }
  .compare-cards td { border: 0 !important; padding: 4px 0 !important; }
  .compare-cards td:before { content: attr(data-label); display: block; font-size: 13px; color: var(--muted); }
  .compare-cards td:first-child { color: var(--ink); font-weight: 500; }
}
@media (max-width: 400px) {
  .kv th, .kv td { display: block; width: 100%; padding: 4px 0; }
  .kv tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .kv th, .kv td { border: 0; }
  .nav .btn-sm { padding: 0 12px; font-size: 13px; }
}
@media (max-width: 380px) {
  .nav .btn-sm { padding: 0 12px; font-size: 13px; }
  .nav-cta .lbl-lg { display: none; }
  .nav-cta .lbl-sm { display: inline; }
  .logo { font-size: 20px; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rv-on .rv { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .art-stat, .art-sent { animation: drift 9s ease-in-out infinite; }
  .art-sent { animation-delay: -4s; }
}
@keyframes drift { 50% { translate: 0 -8px; } }

/* Bandeau de pré-commande (29/10/2026) — une seule ligne, au-dessus du hero. */
.preorder-strip {
  display: block;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--fg, #111);
  background: var(--accent-soft, #fff6e5);
  border-bottom: 1px solid var(--border, #e5e5e5);
}
.preorder-strip:hover { text-decoration: underline; }
.preorder-strip .arr { margin-left: 6px; }

/* Ligne de prix affichée au-dessus du formulaire de liste d attente. */
.prix-inline { font-size: 15px; line-height: 1.45; color: var(--ink); border: 1px solid var(--ink); border-radius: var(--r-sm, 6px); padding: 12px 14px; margin: 0 0 4px; }
.prix-inline b { font-weight: 600; }


/* --- Fiche tarifaire : 4 offres côte à côte (04-11-2026) --- */
#tarifs .prices { align-items: stretch; }
#tarifs .price { border: 1px solid rgba(0,0,0,.06); height: 100%; }
#tarifs .price.accent { border-color: transparent; }
#tarifs .price .label { font: 600 13px var(--sans); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
#tarifs .price .amount { font-size: 42px; }
#tarifs .price ul { font-size: 14.5px; line-height: 1.45; }
#tarifs .price .btn { width: 100%; justify-content: center; text-align: center; }
@media (min-width: 1100px) {
  #tarifs .prices { gap: 14px; }
  #tarifs .price { padding: 26px 18px; }
  #tarifs .price .amount { font-size: 38px; }
}
