@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-sunk: #f1f5f9;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --blue: #1d4ed8;
  --blue-hover: #1e40af;
  --blue-soft: #eff6ff;
  --blue-line: #bfdbfe;
  --ok: #15803d;
  --ok-soft: #f0fdf4;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --bad: #b91c1c;
  --bad-soft: #fef2f2;
  --night-2: #94a3b8;

  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 1px 2px rgba(15, 23, 42, 0.05), 0 14px 24px -12px rgba(15, 23, 42, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; scrollbar-color: var(--line-2) transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  caret-color: var(--blue);
}
::selection { background: #dbeafe; color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.num, table, .figure { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:hover, .skip:focus { color: #fff; }
.skip:focus { top: 12px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font: 600 0.9375rem/1 Inter, sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(29, 78, 216, 0.3); }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 0.875rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* En-tête */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand svg { flex: none; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.site-head__actions { display: flex; align-items: center; gap: 16px; }
.lang { color: var(--ink-2); text-decoration: none; font-size: 0.875rem; font-weight: 600; padding: 6px 8px; border-radius: 6px; }
.lang:hover { color: var(--ink); background: var(--bg-sunk); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 3.75rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
.hero__lead { margin-top: 24px; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.checks { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.9375rem; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { color: var(--ok); flex: none; }

/* Fenêtre produit */
.window { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.window__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.window__bar span { margin-left: 10px; font-size: 0.75rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spot { padding-top: 0; }
.spot .section__head { margin-bottom: 28px; }
.spot__player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0b1220; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 28px 50px -24px rgba(15, 23, 42, 0.45); }
.spot__player img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border: 0; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 36px rgba(15, 23, 42, 0.32); transition: transform 0.2s var(--ease); }
.spot__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.spot__play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.spot__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fictif { margin-top: 12px; font-size: 0.8125rem; color: var(--ink-3); }

/* Mémo (aperçu) */
.memo { padding: clamp(20px, 2.4vw, 28px); }
.memo__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.memo__name { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; }
.memo__head p:not(.memo__name) { font-size: 0.8125rem; color: var(--ink-3); margin-top: 3px; }
.note { flex: none; text-align: right; }
.note__value { display: inline-flex; align-items: baseline; gap: 2px; color: var(--bad); }
.note__value b { font-size: 2.5rem; line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.note__value span { font-size: 1rem; font-weight: 600; color: var(--ink-3); }
.note__scale { display: flex; gap: 3px; justify-content: flex-end; margin-top: 6px; }
.note__scale i { width: 14px; height: 4px; border-radius: 2px; background: var(--line); }
.note__scale i.on { background: var(--bad); }
.note__label { display: block; margin-top: 6px; font-size: 0.75rem; font-weight: 600; color: var(--bad); }
.memo__these { margin-top: 18px; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.9375rem; line-height: 1.55; }
.axes { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.axes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.axes span { font-size: 0.875rem; font-weight: 600; }
.axes small { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--ink-2); }
.axes .st { grid-column: 2; grid-row: 1; }
.st { display: inline-flex; align-items: center; gap: 6px; font-style: normal; padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st--ok { color: var(--ok); background: var(--ok-soft); }
.st--warn { color: var(--warn); background: var(--warn-soft); }
.st--bad { color: var(--bad); background: var(--bad-soft); }

@media (prefers-reduced-motion: no-preference) {
  .hero .axes li { animation: settle 0.7s var(--ease) both; }
  .hero .axes li:nth-child(2) { animation-delay: 0.08s; }
  .hero .axes li:nth-child(3) { animation-delay: 0.16s; }
  .hero .axes li:nth-child(4) { animation-delay: 0.24s; }
  .hero .note__scale i.on { animation: fill 0.5s var(--ease) both; transform-origin: left; }
  .hero .note__scale i.on:nth-child(2) { animation-delay: 0.1s; }
  .hero .note__scale i.on:nth-child(3) { animation-delay: 0.2s; }
}
@keyframes settle { from { opacity: 0; transform: translateY(8px); filter: blur(2px); } }
@keyframes fill { from { transform: scaleX(0); } }

/* Sections */
.section { padding: var(--section) 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; text-wrap: balance; max-width: 22em; }
.section__lead { margin-top: 18px; font-size: 1.125rem; color: var(--ink-2); max-width: 40em; text-wrap: pretty; }
.section__head { margin-bottom: clamp(40px, 5vw, 56px); }

/* Comparaison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.5; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); }
.compare thead th.us { color: var(--blue); }
.compare tbody th { width: 18%; font-weight: 600; color: var(--ink); }
.compare td { width: 41%; color: var(--ink-2); }
.compare td.us { color: var(--ink); background: var(--blue-soft); box-shadow: inset 1px 0 0 var(--blue-line); }
.compare thead th.us { background: var(--blue-soft); box-shadow: inset 1px 0 0 var(--blue-line); }
.source-note { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-3); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.step__n { position: absolute; top: -15px; left: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); font-size: 0.8125rem; font-weight: 700; color: var(--blue); }
.step h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -0.015em; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 1rem; }
.step__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--bg-sunk); color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; }
.steps__foot { margin-top: 40px; display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 0.9375rem; }
.steps__foot svg { color: var(--blue); flex: none; }

/* Mémo annoté */
.annotated { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 36px); }
.doc__block { position: relative; padding: 18px 0; border-top: 1px solid var(--line); }
.doc__block:first-child { padding-top: 0; border-top: 0; }
.doc__block:last-child { padding-bottom: 0; }
.doc__label { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 600; color: var(--ink-3); }
.doc__verdict { display: flex; gap: 20px; align-items: flex-start; }
.doc__verdict .note { text-align: left; }
.doc__verdict .note__scale { justify-content: flex-start; }
.doc__verdict p { font-size: 0.9375rem; line-height: 1.55; }
.doc__table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.doc__table td { padding: 8px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.doc__table tr:first-child td { border-top: 0; padding-top: 0; }
.doc__table td:first-child { font-weight: 600; width: 34%; }
.doc__table td:nth-child(2) { color: var(--ink-2); }
.doc__table td:last-child { text-align: right; }
.doc__alert { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 0.875rem; }
.doc__alert + .doc__alert { margin-top: 8px; }
.doc__alert span { color: var(--ink-2); }
.reco { display: grid; grid-template-columns: 24px 1fr; gap: 2px 12px; font-size: 0.875rem; }
.reco + .reco { margin-top: 12px; }
.reco b { grid-row: span 2; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--bg-sunk); font-size: 0.75rem; color: var(--ink); }
.reco strong { font-weight: 600; }
.reco span { color: var(--ink-3); font-size: 0.8125rem; }
.pin { position: absolute; top: 14px; right: -12px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.75rem; font-weight: 700; box-shadow: 0 0 0 4px #fff; }
.doc__block:first-child .pin { top: -4px; }
.points { display: grid; gap: 28px; }
.point { display: grid; grid-template-columns: 30px 1fr; gap: 4px 16px; }
.point b { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 0.8125rem; font-weight: 700; }
.point h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }
.point p { color: var(--ink-2); font-size: 0.9875rem; }

/* Traçabilité */
.trace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.trace__text { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.trace__text p { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.75; letter-spacing: -0.005em; }
.fig {
  font: inherit; font-weight: 600; color: var(--blue); background: var(--blue-soft); border: 1px solid var(--blue-line);
  border-radius: 6px; padding: 0 6px; margin: 0 1px; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  font-variant-numeric: tabular-nums;
}
.fig:hover { border-color: var(--blue); }
.fig[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.trace__text .trace__hint { margin-top: 18px; font-size: 0.875rem; line-height: 1.5; color: var(--ink-3); }
.prov { background: var(--ink); color: #e2e8f0; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; min-height: 100%; }
.prov__panel[hidden] { display: none; }
.prov__panel { animation: none; }
@media (prefers-reduced-motion: no-preference) { .prov__panel { animation: settle 0.45s var(--ease) both; } }
.kind { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; }
.kind--lu { background: rgba(34, 197, 94, 0.14); color: #86efac; }
.kind--calc { background: rgba(96, 165, 250, 0.16); color: #93c5fd; }
.kind--reg { background: rgba(251, 191, 36, 0.14); color: #fcd34d; }
.prov h3 { margin-top: 18px; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.prov dl { margin-top: 20px; display: grid; gap: 14px; }
.prov dt { font-size: 0.75rem; font-weight: 600; color: var(--night-2); }
.prov dd { margin-top: 3px; font-size: 0.9375rem; line-height: 1.55; color: #e2e8f0; }
.prov code { font: 500 0.875rem/1.5 ui-monospace, "SF Mono", Menlo, monospace; color: #fff; }
.controls { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; }
.controls li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 0.9375rem; color: var(--ink-2); }
.controls svg { color: var(--ok); margin-top: 3px; }

/* Interface */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--bg-sunk); border-radius: 10px; width: fit-content; margin-bottom: 24px; }
.tab { font: 600 0.875rem/1 Inter, sans-serif; color: var(--ink-2); background: transparent; border: 0; border-radius: 7px; padding: 10px 14px; cursor: pointer; transition: color 0.15s, background-color 0.15s, box-shadow 0.15s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.shot { position: relative; aspect-ratio: 16 / 10; background: #fff; }
.shot__panel { position: absolute; inset: 0; display: block; }
.shot__panel[hidden] { display: none; }
.shot__panel img { width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.shot__panel.is-crop { padding: clamp(12px, 3vw, 40px); }
.shot__panel.is-crop img { object-position: center; }
@media (prefers-reduced-motion: no-preference) { .shot__panel:not([hidden]) { animation: show 0.4s var(--ease) both; } }
@keyframes show { from { opacity: 0; transform: scale(0.995); } }
.shot__caption { margin-top: 14px; font-size: 0.875rem; color: var(--ink-3); }

/* Usages */
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.uses li { padding-top: 18px; border-top: 2px solid var(--ink); }
.uses h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }
.uses p { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }

/* Références (masquées tant qu'aucun accord) */
.refs { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; margin-top: 4px; color: var(--ink-3); transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--blue); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-2); }

/* Démo */
.demo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.demo__list { margin-top: 28px; display: grid; gap: 14px; }
.demo__list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--ink-2); }
.demo__list svg { color: var(--blue); margin-top: 4px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 36px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  font: 400 0.9375rem/1.4 Inter, sans-serif; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 12px; width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2364748b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.field ::placeholder { color: #8a97a8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--bad); }
.field__error { display: none; font-size: 0.8125rem; color: var(--bad); }
.field[data-invalid] .field__error { display: block; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { margin-top: 22px; }
.form__status { margin-top: 16px; font-size: 0.9375rem; }
.form__status:empty { display: none; }
.form__status[data-tone="error"] { color: var(--bad); }
.done { text-align: left; }
.done svg { color: var(--ok); }
.done h3 { margin-top: 16px; font-size: 1.375rem; font-weight: 650; letter-spacing: -0.02em; }
.done p { margin-top: 8px; color: var(--ink-2); }

/* Pied */
.site-foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 0.875rem; color: var(--ink-3); }
.site-foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }

/* Pages légales */
.legal { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.legal h1 { font-size: clamp(2rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; }
.legal h2 { margin-top: 48px; font-size: 1.375rem; letter-spacing: -0.02em; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-2); max-width: 44em; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.todo { background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 0 4px; font-weight: 600; }

/* Adaptation */
@media (max-width: 1040px) {
  .site-nav { display: none; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero__grid, .annotated, .trace, .faq, .demo { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pin { right: -8px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .site-head__inner { height: 60px; }
  .site-head .btn--small { padding: 0 12px; }
  .brand { font-size: 1rem; }
  .axes { grid-template-columns: minmax(0, 1fr); }
  .memo__head { flex-direction: column; }
  .memo__head .note { text-align: left; }
  .memo__head .note__scale { justify-content: flex-start; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td, .compare tbody th { display: block; width: auto; }
  .compare tbody th { padding-bottom: 6px; border-bottom: 0; background: var(--bg-soft); }
  .compare td { padding-top: 8px; border-bottom: 0; }
  .compare td::before { content: attr(data-col); display: block; font-size: 0.75rem; font-weight: 600; color: var(--ink-3); margin-bottom: 2px; }
  .compare td.us { border-bottom: 1px solid var(--line); box-shadow: none; }
  .compare td.us::before { color: var(--blue); }
  .uses, .controls, .form__grid { grid-template-columns: minmax(0, 1fr); }
  .doc__verdict { flex-direction: column; gap: 12px; }
  .doc__table, .doc__table tbody { display: block; }
  .doc__table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
  .doc__table tr:first-child { border-top: 0; padding-top: 0; }
  .doc__table td, .doc__table tr:first-child td { display: block; padding: 0; border: 0; width: auto; }
  .doc__table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .doc__table td:last-child { grid-column: 2; grid-row: 1; }
  .doc__alert { flex-direction: column; align-items: flex-start; gap: 6px; }
  .shot { aspect-ratio: auto; height: min(118vw, 560px); }
  .tabs { width: 100%; }
  .tab { flex: 1 1 auto; padding: 9px 10px; }
  .faq details p { padding-right: 0; }
}
.cta-short { display: none; }
@media (max-width: 640px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
