/* SOCBoard — système visuel v4 « instrument »
   Base v2 (sections, rapport, scan, offres) + surcouche inspirée
   de jamiemckaye.com : noir, poussière de particules, grotesque grasse
   en casse normale, cartes inclinées en 3D, boutons carrés monochromes. */

:root {
  color-scheme: dark;

  --ink: #100e0c;
  --night: #171513;
  --panel: #211e1a;
  --panel-2: #24201c;
  --line: rgba(226, 213, 198, 0.10);
  --line-strong: rgba(226, 213, 198, 0.22);
  --text: #f2f5f9;
  --muted: #9aa6b6;
  --faint: #6f7b8c;

  --paper: #eef2f5;
  --paper-card: #fffdfa;
  --paper-text: #171513;
  --paper-muted: #73695f;
  --paper-line: rgba(23, 21, 19, 0.10);

  --signal: #bd805f;
  --signal-strong: #eadcc9;
  --signal-soft: rgba(189, 128, 95, 0.12);
  --signal-glow: rgba(189, 128, 95, 0.35);

  --risk-high: #d87570;
  --risk-mid: #d98a52;
  --risk-low: #77aa8a;

  --font-display: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --radius: 4px;
  --radius-lg: 22px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 72px;

  /* jetons de surface, redéfinis par .section--light */
  --bg: var(--ink);
  --fg: var(--text);
  --fg-muted: var(--muted);
  --fg-faint: var(--faint);
  --rule: var(--line);
  --rule-strong: var(--line-strong);
  --card: var(--night);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

::selection { background: var(--signal); color: var(--ink); }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; background: var(--text); color: var(--ink);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Grille de colonnes, façon plan technique */
.grid-lines { position: relative; isolation: isolate; }
.grid-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(226, 213, 198, 0.05) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  background-position: 0 0;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
@media (max-width: 720px) { .grid-lines::after { background-size: calc(100% / 3) 100%; } }
.grid-lines > * { position: relative; z-index: 1; }

/* ---------- Typographie ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1rem + 6.6vw, 8.25rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  font-weight: 200;
}
.display em { font-style: normal; font-weight: 800; display: block; letter-spacing: -0.04em; }
.display .dot { color: var(--signal); }

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: var(--fg);
}
.h2 em { font-style: normal; color: var(--fg-faint); }

.h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 40em;
}
.lead strong { color: var(--fg); font-weight: 500; }
.muted { color: var(--fg-muted); }
.num { font-variant-numeric: tabular-nums; }

.mono-lead {
  font-family: var(--font-mono);
  font-size: clamp(0.8125rem, 0.75rem + 0.3vw, 1rem);
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 46em;
}
.mono-lead b { color: var(--text); font-weight: 500; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow::after {
  content: "";
  width: clamp(40px, 12vw, 180px);
  height: 1px;
  background: var(--rule-strong);
}
.eyebrow--plain::after { display: none; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 0;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { border-color: var(--fg); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}
.btn--primary:hover { background: var(--signal-strong); border-color: var(--signal-strong); color: var(--ink); }
.section--light .btn--primary:hover { background: #342a23; border-color: #342a23; color: #fff; }

.btn .arrow { display: inline-block; transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn--sm { min-height: 44px; padding: 10px 18px; }
.btn__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.7;
  padding-left: 12px;
  border-left: 1px solid currentColor;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.3s;
}
.link-arrow:hover { border-color: var(--fg); }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(5, 7, 11, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(5, 7, 11, 0.82); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  font-family: "Space Grotesk", var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.brand svg { display: block; width: 30px; height: 30px; flex: none; color: var(--sand); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 12px;
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn--primary { --fg: var(--text); --bg: var(--ink); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 1.5px; background: var(--text); position: relative;
  transition: transform 0.3s var(--ease-out), background-color 0.2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--ink);
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  padding: 14px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 28px; --fg: var(--text); --bg: var(--ink); }

@media (max-width: 1080px) {
  .nav, .header-actions .btn--ghost-desktop { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 440px) { .header-actions .btn--primary { display: none; } }

.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 7, 11, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
}
.cta-bar .btn { width: 100%; }
.cta-bar.is-visible { transform: none; }
@media (max-width: 720px) { .cta-bar { display: block; } }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(80px, 11vw, 160px);
  background: var(--bg);
  color: var(--fg);
}
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 22px; max-width: 900px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--center .eyebrow::after { display: none; }

.section--light {
  --bg: var(--paper);
  --fg: var(--paper-text);
  --fg-muted: var(--paper-muted);
  --fg-faint: #a09589;
  --rule: var(--paper-line);
  --rule-strong: rgba(23, 21, 19, 0.22);
  --card: var(--paper-card);
  color-scheme: light;
}
.section--light .h2 em {
  background: linear-gradient(90deg, #786453 0%, #b9ada1 55%, #eadcc9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--light .btn--primary { background: var(--paper-text); border-color: var(--paper-text); color: #fff; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(56px, 11vh, 140px));
  min-height: min(100svh, 980px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero__fluid {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(60% 50% at 70% 35%, rgba(130, 85, 60, 0.35), transparent 70%),
    radial-gradient(40% 40% at 20% 70%, rgba(74, 52, 38, 0.35), transparent 70%),
    var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.hero__grid { display: grid; gap: clamp(28px, 4vw, 44px); }
.hero .display { max-width: 16ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn--primary { --fg: var(--text); --bg: var(--ink); }

.hero__foot { margin-top: auto; padding-top: clamp(40px, 6vw, 72px); }
.signal-band { position: relative; }
.signal-band canvas { width: 100%; height: clamp(90px, 11vw, 150px); }
.signal-band__labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-block: 14px 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.signal-band__labels span:nth-child(2) { text-align: center; }
.signal-band__labels span:last-child { text-align: right; color: var(--signal); }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 0;
  padding: 0 0 28px;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted);
}
.hero__proof li { display: inline-flex; align-items: center; gap: 10px; }
.hero__proof svg { width: 14px; height: 14px; color: var(--signal); flex: none; }

/* ---------- Apparitions ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .hero [data-intro], .js .page-hero [data-intro] {
  opacity: 0;
  transform: translateY(18px);
  animation: intro 1.1s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
.js .display .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.js .display .line > span { display: block; transform: translateY(105%); animation: lineUp 1.2s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes intro { to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: none; } }

/* ---------- Manifeste ---------- */

.manifesto { background: var(--ink); }
.manifesto__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.manifesto__keys {
  display: flex;
  gap: clamp(14px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226, 213, 198, 0.28);
}
.manifesto__keys li { display: inline-flex; align-items: center; gap: 12px; transition: color 0.5s; }
.manifesto__keys li::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: 0; transition: opacity 0.5s; }
.manifesto__keys li.is-on { color: var(--text); }
.manifesto__keys li.is-on::before { opacity: 1; }
@media (max-width: 720px) { .manifesto__keys { display: none; } }

.manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 0.9rem + 4.1vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  font-weight: 200;
  margin: 0;
}
.manifesto__text .w { color: var(--text); transition: color 0.6s var(--ease-out), -webkit-text-stroke-color 0.6s; }
.manifesto__text .k { font-weight: 800; }
.js .manifesto__text .w { color: rgba(242, 245, 249, 0.16); }
.js .manifesto__text .k { color: transparent; -webkit-text-stroke: 1px rgba(242, 245, 249, 0.3); }
.js .manifesto__text .w.is-lit { color: var(--text); }
.js .manifesto__text .k.is-lit { color: var(--text); -webkit-text-stroke-color: transparent; }

/* ---------- Principe ---------- */

.principle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}
.principle > div { padding: 32px 32px 8px 0; display: grid; gap: 12px; align-content: start; }
.principle > div + div { padding-left: 32px; border-left: 1px solid var(--rule); }
.principle .big { font-family: var(--font-display); font-weight: 200; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 0.9; letter-spacing: -0.05em; }
.principle .big small { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-muted); margin-left: 12px; font-weight: 400; }
@media (max-width: 800px) {
  .principle { grid-template-columns: 1fr; }
  .principle > div, .principle > div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- Scan ---------- */

.scan__track { height: 250vh; position: relative; }
.scan__sticky {
  position: sticky;
  top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: 32px;
}
.scan__copy { display: grid; gap: 22px; }
.scan__status { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 24px; flex-wrap: wrap; }
.scan__status b { color: var(--text); font-weight: 500; }
.scan__status .found b { color: var(--signal); }
.scan__note { font-size: 0.8125rem; color: var(--faint); }

.scan__field {
  position: relative;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--night);
  padding: clamp(14px, 2vw, 22px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  overflow: hidden;
  isolation: isolate;
}
.scan__field::before, .scan__field::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--signal);
  z-index: 3;
}
.scan__field::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.scan__field::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.scan__line {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--signal);
  box-shadow: 0 0 16px 1px var(--signal-glow);
  transform: translateY(calc(var(--scan, 0) * (var(--field-h, 400px) - 1px)));
  z-index: 2;
  pointer-events: none;
}
.scan__line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 80px;
  background: linear-gradient(to top, rgba(189, 128, 95, 0.09), transparent);
}
.node {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(33, 30, 26, 0.9);
  border: 1px solid var(--line);
  transition: border-color 0.5s var(--ease-out), background-color 0.5s var(--ease-out), opacity 0.5s;
}
.js .node { opacity: 0.5; }
.node__name { font-weight: 500; font-size: 0.9375rem; display: flex; justify-content: space-between; gap: 8px; }
.node__state { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); white-space: nowrap; padding-top: 3px; }
.node__finding { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); overflow: hidden; transition: max-height 0.6s var(--ease-out), opacity 0.6s var(--ease-out); }
.js .node__finding { max-height: 0; opacity: 0; }
.js .node.is-scanned { opacity: 1; }
.node.is-weak.is-scanned { border-color: rgba(189, 128, 95, 0.55); background: linear-gradient(180deg, rgba(189, 128, 95, 0.08), rgba(33, 30, 26, 0.95)); }
.node.is-weak.is-scanned .node__state { color: var(--signal); }
.js .node.is-weak.is-scanned .node__finding { max-height: 6em; opacity: 1; }

@media (max-width: 900px) {
  .scan__track { height: auto; }
  .scan__sticky { position: relative; top: 0; min-height: 0; grid-template-columns: 1fr; padding-block: 0; }
}

/* ---------- Rapport (panneau produit) ---------- */

.report-stage { position: relative; }
.report {
  border-radius: 6px;
  background: #171513;
  color: var(--text);
  box-shadow: 0 50px 100px -40px rgba(23, 21, 19, 0.55), 0 0 0 1px rgba(23, 21, 19, 0.08);
  overflow: hidden;
  --fg: var(--text);
  --fg-muted: var(--muted);
  --rule: var(--line);
}
.report__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}
.report__title { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.report__title svg { width: 22px; height: 22px; }
.report__meta { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tag-sample { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; border: 1px dashed var(--line-strong); color: var(--muted); }

.report__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.report__body > * { padding: clamp(20px, 3vw, 36px); }
.report__score {
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
  background:
    radial-gradient(90% 90% at 70% 100%, rgba(189, 128, 95, 0.16), transparent 65%),
    linear-gradient(90deg, rgba(226, 213, 198, 0.05) 1px, transparent 1px) 0 0 / 20% 100%;
  border-right: 1px solid var(--line);
}
.score__label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.score__row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.score__num { font-family: var(--font-display); font-weight: 500; font-size: clamp(4rem, 3rem + 4vw, 6.5rem); line-height: 0.85; letter-spacing: -0.05em; }
.score__num small { font-size: 0.3em; color: var(--muted); letter-spacing: -0.02em; font-weight: 400; }
.delta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(119, 170, 138, 0.35);
  background: rgba(119, 170, 138, 0.08);
  color: var(--risk-low);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.delta svg { width: 14px; height: 14px; }
.score__sub { color: var(--muted); font-size: 0.9375rem; }
.risk-pill {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  font-size: 0.8125rem; font-weight: 500;
  background: rgba(217, 138, 82, 0.10);
  color: var(--risk-mid);
  border: 1px solid rgba(217, 138, 82, 0.3);
}
.risk-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.bars { position: relative; margin-top: 8px; }
.bars svg { width: 100%; height: auto; overflow: visible; }
.bars .gridline { stroke: rgba(226, 213, 198, 0.1); stroke-width: 1; }
.bars .axis { fill: var(--faint); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; }
.bars .bar { fill: rgba(226, 213, 198, 0.28); transform-box: fill-box; transform-origin: bottom; }
.bars .bar--now { fill: var(--signal); }
.bars .tick { fill: rgba(226, 213, 198, 0.14); }
.bars .tip rect { fill: #171513; stroke: rgba(226, 213, 198, 0.25); }
.bars .tip text { font-family: var(--font-body); font-size: 11px; fill: var(--text); }
.bars .tip .tip-sub { fill: var(--muted); font-size: 9px; }
.bars .tip .tip-val { fill: var(--signal); font-weight: 600; }
.bars .marker { fill: #171513; stroke: var(--text); stroke-width: 2; }

.report__detail { display: grid; gap: 24px; align-content: start; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kpi { padding: 14px; border: 1px solid var(--line); display: grid; gap: 4px; }
.kpi__num { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; letter-spacing: -0.04em; font-weight: 400; }
.kpi__label { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.kpi--alert .kpi__num { color: var(--risk-high); }

.priorities { display: grid; }
.priorities__head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); padding-bottom: 6px; }
.prio { display: grid; grid-template-columns: 3px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prio:last-child { border-bottom: 0; }
.prio__sev { align-self: stretch; background: var(--risk-mid); }
.prio--high .prio__sev { background: var(--risk-high); }
.prio--low .prio__sev { background: var(--risk-low); }
.prio__text { display: grid; gap: 2px; }
.prio__title { font-size: 0.9375rem; font-weight: 500; }
.prio__why { font-size: 0.8125rem; color: var(--muted); }
.prio__effort { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--muted); padding: 4px 8px; border: 1px solid var(--line); white-space: nowrap; }

.report__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
.validated { display: flex; align-items: center; gap: 12px; }
.validated svg.sig { width: 96px; height: 30px; color: var(--signal-strong); }
.validated svg.sig path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.validated b { color: var(--text); font-weight: 500; }

.js .report [data-rise] { opacity: 0; transform: translateY(10px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0s); }
.js .report.is-live [data-rise] { opacity: 1; transform: none; }
.js .report .bars .bar { transform: scaleY(0); transition: transform 1.1s var(--ease-out); transition-delay: calc(0.3s + var(--i, 0) * 0.08s); }
.js .report.is-live .bars .bar { transform: none; }
.js .report .bars .tip, .js .report .bars .marker { opacity: 0; transition: opacity 0.6s var(--ease-out) 1.2s; }
.js .report.is-live .bars .tip, .js .report.is-live .bars .marker { opacity: 1; }
.js .report .validated .sig path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease-in-out) 1.4s; }
.js .report.is-live .validated .sig path { stroke-dashoffset: 0; }

@media (max-width: 900px) {
  .report__body { grid-template-columns: 1fr; }
  .report__score { border-right: 0; border-bottom: 1px solid var(--line); }
}

.report-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.report-legend > div { display: grid; gap: 8px; padding: 24px 28px 0 0; align-content: start; }
.report-legend > div + div { padding-left: 28px; border-left: 1px solid var(--rule); }
.report-legend p { color: var(--fg-muted); font-size: 0.9375rem; }
.report-legend .h3 { color: var(--fg); }
@media (max-width: 760px) {
  .report-legend { grid-template-columns: 1fr; }
  .report-legend > div, .report-legend > div + div { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- Parcours ---------- */

.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.path__step { position: relative; padding: 32px 32px 0 0; display: grid; gap: 14px; align-content: start; }
.path__step + .path__step { padding-left: 32px; border-left: 1px solid var(--rule); }
.path__marker b { font-family: var(--font-display); font-weight: 200; font-size: 4rem; line-height: 0.8; letter-spacing: -0.05em; color: var(--fg-faint); }
.path__step--entry .path__marker b { color: var(--signal); }
.path__when { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-muted); }
.path__step p { color: var(--fg-muted); }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; }
  .path__step, .path__step + .path__step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- Accordéon offres (carte claire) ---------- */

.acc-card {
  background: var(--paper-card);
  color: var(--paper-text);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -40px rgba(23, 21, 19, 0.25);
  padding: clamp(24px, 4.5vw, 64px);
}
.acc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.acc-btn {
  grid-column: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  width: 100%;
  padding: 26px 0;
  border: 0;
  border-bottom: 1px solid var(--paper-line);
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--paper-text);
  transition: color 0.3s;
}
.acc-btn:nth-of-type(1) { grid-row: 1; }
.acc-btn:nth-of-type(2) { grid-row: 2; }
.acc-btn:nth-of-type(3) { grid-row: 3; }
.acc-btn[aria-expanded="true"] { font-weight: 600; border-bottom-color: var(--paper-text); }
.acc-btn__meta { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--paper-muted); font-weight: 400; margin-left: auto; white-space: nowrap; }
.acc-btn__icon {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(23, 21, 19, 0.3);
  position: relative;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}
.acc-btn__icon::before, .acc-btn__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor;
  transform: translate(-50%, -50%);
}
.acc-btn__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-btn__icon { transform: rotate(45deg); border-color: var(--paper-text); }
.acc-btn:hover { color: #725844; }

.acc-panel { grid-column: 2; grid-row: 1 / span 4; display: grid; gap: 24px; padding-top: 20px; }
.js .acc-panel.is-anim { animation: panelIn 0.6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.acc-panel .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.acc-panel .price__amount { font-family: var(--font-display); font-size: clamp(3rem, 2.4rem + 2vw, 4.25rem); line-height: 1; font-weight: 300; letter-spacing: -0.05em; }
.acc-panel .price__unit { color: var(--paper-muted); }
.acc-panel .price__note { color: var(--paper-muted); font-size: 0.9375rem; }
.diamonds { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.diamonds li { display: grid; grid-template-columns: 14px 1fr; gap: 16px; }
.diamonds li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; background: #81583f; transform: rotate(45deg); }
.diamonds b { display: block; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.diamonds span { color: var(--paper-muted); }
.acc-panel .btn { justify-self: start; }
@media (max-width: 860px) {
  .acc { grid-template-columns: 1fr; }
  .acc-btn, .acc-panel { grid-column: 1; grid-row: auto !important; }
  .acc-panel { padding: 24px 0 32px; border-bottom: 1px solid var(--paper-line); }
}

/* ---------- Offres (page tarifs) ---------- */

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.offer { position: relative; display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--card); }
.offer--entry { background: linear-gradient(180deg, rgba(189, 128, 95, 0.08), var(--card) 55%); }
.offer__badge { align-self: flex-start; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(189, 128, 95, 0.4); color: var(--signal-strong); }
.offer__badge--muted { border-color: var(--rule-strong); color: var(--fg-muted); }
.offer__name { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; font-weight: 300; letter-spacing: -0.04em; text-transform: uppercase; }
.offer__desc { color: var(--fg-muted); font-size: 0.9375rem; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__amount { font-family: var(--font-display); font-size: 3.5rem; line-height: 1; font-weight: 300; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.price__unit { color: var(--fg-muted); font-size: 0.9375rem; }
.price__note { font-size: 0.8125rem; color: var(--fg-muted); min-height: 1.4em; }
.price__note b { color: var(--signal-strong); font-weight: 500; }
.offer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.9375rem; }
.offer li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; align-items: start; }
.offer li svg { width: 14px; height: 14px; margin-top: 5px; color: var(--signal); }
.offer .btn { margin-top: auto; width: 100%; }
@media (max-width: 960px) { .offers { grid-template-columns: 1fr; } }

.billing { display: inline-flex; padding: 4px; border: 1px solid var(--rule-strong); position: relative; }
.billing button { position: relative; z-index: 1; min-height: 42px; padding: 8px 18px; border: 0; background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); transition: color 0.3s; }
.billing button[aria-pressed="true"] { color: var(--ink); font-weight: 500; }
.billing__thumb { position: absolute; top: 4px; bottom: 4px; left: 0; background: var(--text); transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out); }
.billing button .save { margin-left: 6px; opacity: 0.75; }
.pricing-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }

/* ---------- Pour qui ---------- */

.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.audience { padding: clamp(24px, 3.5vw, 48px); background: var(--card); display: grid; gap: 18px; align-content: start; }
.audience h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; }
.audience ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.audience li { padding-left: 24px; position: relative; color: var(--fg-muted); }
.audience li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--signal); transform: rotate(45deg) scale(0.8); }
.audience li b { color: var(--fg); font-weight: 600; }
.split .audience { border: 1px solid var(--rule); }
@media (max-width: 820px) { .audiences { grid-template-columns: 1fr; } }

/* ---------- Est / n'est pas ---------- */

.honest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.honest__list { display: grid; margin: 0; border-top: 1px solid var(--rule); }
.honest__row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.honest__row dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-faint); padding-top: 4px; }
.honest__row dd { margin: 0; }
.honest__row dd b { font-weight: 600; }
.honest__row dd span { display: block; color: var(--fg-muted); font-size: 0.9375rem; }
@media (max-width: 860px) { .honest { grid-template-columns: 1fr; } .honest__row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Fondateur ---------- */

.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.founder__card {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, rgba(226, 213, 198, 0.05) 1px, transparent 1px) 0 0 / 25% 100%,
    radial-gradient(80% 60% at 50% 35%, rgba(189, 128, 95, 0.25), transparent 70%),
    var(--night);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.founder__monogram { font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 16vw, 12rem); line-height: 1; letter-spacing: -0.06em; }
.founder__creds { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.cred { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 10px; background: rgba(5, 7, 11, 0.8); border: 1px solid var(--line-strong); }
.founder blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.03em; font-weight: 300; text-wrap: balance; }
.founder__body { display: grid; gap: 24px; }
.founder__who { color: var(--muted); }
.founder__who b { color: var(--text); font-weight: 600; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder__card { max-width: 380px; } }

/* ---------- FAQ ---------- */

.faq { display: grid; border-top: 1px solid var(--rule); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; min-height: 44px; font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--rule-strong); border-radius: 50%; transition: transform 0.4s var(--ease-out); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 0 26px; color: var(--fg-muted); max-width: 66ch; display: grid; gap: 12px; }
.faq .answer b { color: var(--fg); font-weight: 600; }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group h2 { margin-bottom: 20px; }

/* ---------- CTA final ---------- */

.final__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--rule-strong);
}
.final .display { font-size: clamp(2.2rem, 1rem + 5vw, 6rem); }
.final__side { display: grid; gap: 14px; }
.final__side .btn { width: 100%; }
.final__facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; color: var(--fg-muted); font-size: 0.9375rem; }
.final__facts li { display: flex; gap: 10px; }
.final__facts svg { width: 14px; height: 14px; margin-top: 5px; color: var(--signal); flex: none; }
@media (max-width: 860px) { .final__inner { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures ---------- */

.page-hero { padding-top: clamp(56px, 9vw, 128px); padding-bottom: clamp(48px, 7vw, 96px); background: var(--ink); }
.page-hero .display { font-size: clamp(2.2rem, 1rem + 5.4vw, 6.5rem); max-width: 16ch; }
.page-hero__grid { display: grid; gap: 28px; }

.steps { display: grid; border-top: 1px solid var(--rule); }
.step { display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(20px, 4vw, 64px); padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.step__index { display: grid; gap: 10px; align-content: start; }
.step__index b { font-family: var(--font-display); font-size: 5rem; line-height: 0.8; font-weight: 200; letter-spacing: -0.06em; color: var(--signal); }
.step__index span { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint); }
.step__main { display: grid; gap: 16px; align-content: start; }
.step__main h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; }
.step__main p { color: var(--fg-muted); }
.step__aside { align-self: start; padding: 22px; border: 1px solid var(--rule); background: var(--card); display: grid; gap: 12px; font-size: 0.9375rem; }
.step__aside h3 { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-faint); font-weight: 500; }
.step__aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.step__aside li { padding-left: 18px; position: relative; }
.step__aside li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--signal); transform: rotate(45deg) scale(0.8); }
@media (max-width: 900px) { .step { grid-template-columns: 1fr; } .step__index { grid-auto-flow: column; justify-content: start; align-items: end; gap: 16px; } }

.compare-wrap { overflow-x: auto; margin-top: 64px; border: 1px solid var(--rule); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.9375rem; }
.compare caption { text-align: left; padding: 24px 22px 10px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; }
.compare th, .compare td { padding: 15px 22px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); font-weight: 500; }
.compare tbody th { font-weight: 400; color: var(--fg-muted); }
.compare td { text-align: center; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--signal); }
.no { color: var(--fg-faint); }

.prose { display: grid; gap: 18px; max-width: 68ch; color: var(--fg-muted); }
.prose h2 { color: var(--fg); font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.03em; margin-top: 20px; }
.prose b, .prose strong { color: var(--fg); font-weight: 600; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; border-left: 1px solid var(--rule-strong); }
.timeline li { position: relative; padding: 0 0 30px 26px; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--signal); transform: rotate(45deg); }
.timeline b { font-weight: 600; }
.timeline span { color: var(--fg-muted); font-size: 0.9375rem; }

/* ---------- Formulaire ---------- */

.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.9375rem; font-weight: 500; }
.field .hint { font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px;
  border-radius: 0; border: 1px solid var(--line-strong);
  background: var(--night); color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.field [aria-invalid="true"] { border-color: var(--risk-high); }
.field .error { font-size: 0.8125rem; color: var(--risk-high); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .choice-group { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: grid; gap: 2px; padding: 16px; border: 1px solid var(--line-strong); background: var(--night); transition: border-color 0.2s, background-color 0.2s; font-size: 0.9375rem; font-weight: 500; }
.choice span small { color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.choice input:checked + span { border-color: var(--text); background: rgba(226, 213, 198, 0.06); }
.choice input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.form__status { padding: 16px; border: 1px solid rgba(189, 128, 95, 0.4); background: rgba(189, 128, 95, 0.06); font-size: 0.9375rem; }
.form__legal { font-size: 0.8125rem; color: var(--faint); }
.form button[type="submit"] { --fg: var(--text); --bg: var(--ink); }

.contact-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card { padding: 26px; border: 1px solid var(--line); background: var(--night); display: grid; gap: 14px; }
.contact-card h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.copy-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copy-line code { font-family: var(--font-mono); font-size: 0.9375rem; user-select: all; }
.copy-btn { min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.copy-btn:hover { color: var(--text); }
@media (max-width: 860px) { .contact-aside { position: static; } }

/* ---------- Pied de page ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-grid p { color: var(--muted); font-size: 0.9375rem; max-width: 36ch; margin-top: 16px; }
.footer-grid h2 { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-grid a { color: var(--muted); text-decoration: none; display: inline-block; padding: 6px 0; font-size: 0.9375rem; }
.footer-grid a:hover { color: var(--text); }
.footer-wordmark {
  margin-top: 56px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 1rem + 13vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(226, 213, 198, 0.16);
  user-select: none;
}
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero [data-intro], .js .page-hero [data-intro], .js .report [data-rise] { opacity: 1; transform: none; }
  .js .display .line > span { transform: none; }
  .js .manifesto__text .w { color: var(--text); }
  .js .manifesto__text .k { color: var(--text); -webkit-text-stroke-color: transparent; }
  .scan__track { height: auto; }
  .scan__sticky { position: relative; top: 0; min-height: 0; }
  .scan__line { display: none; }
}

/* ======================================================================
   Surcouche v4 « instrument »
   ====================================================================== */

:root {
  --ink: #171513;
  --night: #211e1a;
  --panel: #2b2621;
  --panel-2: #332c25;
  --line: rgba(246, 241, 233, 0.09);
  --line-strong: rgba(246, 241, 233, 0.2);
  --text: #f6f1e9;
  --muted: #b9ada1;
  --faint: #7c7367;

  --paper: #f3eee5;
  --paper-text: #171513;
  --paper-muted: #6d6257;
  --paper-line: rgba(23, 21, 19, 0.1);

  /* monochrome : le « signal » est le blanc */
  --signal: #bd805f;
  --signal-strong: #eadcc9;
  --signal-soft: rgba(189, 128, 95, 0.14);
  --signal-glow: rgba(189, 128, 95, 0.28);

  --font-display: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1400px;
  --header-h: 80px;
}

body { letter-spacing: -0.011em; }
.grid-lines::after { display: none; }

/* Titres : grotesque grasse, casse normale, dernier mot en dégradé */
.display {
  text-transform: none;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
  font-size: clamp(2.6rem, 1rem + 6.2vw, 7.5rem);
}
.display em {
  display: inline;
  font-weight: 700;
  letter-spacing: -0.055em;
  background: linear-gradient(180deg, #f6f1e9 15%, #93877a 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section--light .display em, .section--light .h2 em { background: none; color: #a09589; -webkit-background-clip: initial; background-clip: initial; }
.h2 { font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.h2 em { color: #93877a; }
.section--light .h2 em { color: #9a654b; }

.eyebrow { font-size: 0.8125rem; letter-spacing: 0.02em; text-transform: none; color: var(--fg-muted); }
.eyebrow::after { display: none; }
.mono-lead { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 1.25rem; }

/* Boutons carrés, sans capitales */
.btn {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 500;
  min-height: 56px;
  padding: 14px 30px;
  border-color: rgba(246, 241, 233, 0.35);
}
.btn:hover { background: rgba(246, 241, 233, 0.06); border-color: #f6f1e9; }
.btn--primary { background: #f6f1e9; border-color: #f6f1e9; color: #171513; }
.btn--primary:hover { background: #eadcc9; border-color: #eadcc9; color: #171513; }
.section--light .btn { border-color: rgba(23, 21, 19, 0.3); }
.section--light .btn--primary { background: #171513; border-color: #171513; color: #f6f1e9; }
.section--light .btn--primary:hover { background: #3e3128; border-color: #3e3128; }
.btn__meta { font-family: var(--font-mono); }
.link-arrow { font-family: var(--font-body); font-size: 1rem; letter-spacing: -0.01em; text-transform: none; border-bottom-color: currentColor; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--fg);
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
  text-decoration-color: rgba(246, 241, 233, 0.45);
  transition: text-decoration-color 0.3s;
}
.text-link:hover { text-decoration-color: currentColor; }

/* En-tête : domaine + signature, navigation en minuscules */
.site-header { background: rgba(23, 21, 19, 0.72); border-bottom-color: var(--line); }
.site-header.is-scrolled { background: rgba(23, 21, 19, 0.9); }
.brand { font-family: "Space Grotesk", var(--font-body); letter-spacing: 0.09em; text-transform: uppercase; font-weight: 700; font-size: 1.05rem; gap: 10px; }
.brand svg { display: block; }
.brand::after { content: none; }
@media (max-width: 1180px) { .brand::after { display: none; } }
.nav a { text-transform: none; font-size: 1rem; color: #ddd1c4; }
.nav a:hover, .nav a[aria-current="page"] { color: #f6f1e9; }
.header-actions .btn { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.header-actions .btn--ghost-desktop { display: none; }
.mobile-nav a:not(.btn) { font-family: var(--font-body); text-transform: none; font-weight: 700; letter-spacing: -0.04em; }
.menu-btn { border-color: var(--line-strong); }

/* ---------- Hero « instrument » ---------- */

.ihero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(28px, 5vh, 64px));
  min-height: min(100svh, 1000px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.ihero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ihero--parallax::before { display: none; }
.ihero__parallax { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.parallax__glow {
  position: absolute; right: -15%; top: 0; width: min(68vw, 920px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 128, 95, 0.16), rgba(189, 128, 95, 0.055) 34%, transparent 68%);
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transition: translate 850ms cubic-bezier(.2,.7,.2,1);
  animation: parallaxGlow 9s ease-in-out infinite alternate;
}
.parallax__orbits {
  position: absolute; left: 74%; top: 51%; width: min(80vw, 1120px); height: min(53vw, 700px);
  transform: translate(-50%, -50%);
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transition: translate 720ms cubic-bezier(.2,.7,.2,1);
}
.parallax__orbit { position: absolute; display: block; border: 1px solid; border-radius: 50%; transform: rotate(-22deg) scaleY(.58); }
.parallax__orbit--outer {
  inset: 2% -3%; border-color: rgba(246, 241, 233, .17);
  animation: orbitDrift 22s ease-in-out infinite alternate;
}
.parallax__orbit--middle {
  inset: 14% 10%; border-color: rgba(246, 241, 233, .22);
  animation: orbitDrift 16s ease-in-out -5s infinite alternate-reverse;
}
.parallax__orbit--inner {
  inset: 28% 23%; border-color: rgba(189, 128, 95, .42);
  box-shadow: 0 0 44px rgba(189, 128, 95, .08), inset 0 0 34px rgba(189, 128, 95, .035);
  animation: orbitDrift 13s ease-in-out -2s infinite alternate;
}
.parallax__lines {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9;
  mask-image: radial-gradient(ellipse 66% 72% at 73% 52%, #000 0%, rgba(0,0,0,.9) 42%, transparent 78%);
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transition: translate 600ms cubic-bezier(.2,.7,.2,1);
}
.parallax__contours path { fill: none; stroke: rgba(246, 241, 233, .18); stroke-width: 1.15; vector-effect: non-scaling-stroke; }
.parallax__signals path {
  fill: none; stroke: rgba(215, 145, 108, .9); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 44 956; stroke-dashoffset: 0; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(215, 145, 108, .45));
  animation: signalTravel 5.4s linear infinite;
}
.parallax__signals path:nth-child(2) { animation-delay: -2.1s; }
.parallax__signals path:nth-child(3) { animation-delay: -3.8s; }
.parallax__sweep {
  position: absolute; top: 7%; bottom: 7%; left: 66%; width: 1px;
  background: linear-gradient(transparent, rgba(215, 145, 108, .46), rgba(246, 241, 233, .24), transparent);
  box-shadow: 0 0 22px rgba(189, 128, 95, .2);
  opacity: 0; transform: rotate(27deg); transform-origin: center;
  animation: parallaxSweep 8s cubic-bezier(.45,0,.25,1) infinite;
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transition: translate 520ms cubic-bezier(.2,.7,.2,1);
}
@keyframes signalTravel { to { stroke-dashoffset: -1000; } }
@keyframes parallaxGlow { from { transform: scale(.92); opacity: .66; } to { transform: scale(1.06); opacity: 1; } }
@keyframes orbitDrift {
  from { transform: rotate(-25deg) scaleY(.58) scale(1); }
  to { transform: rotate(-17deg) scaleY(.58) scale(1.035); }
}
@keyframes parallaxSweep {
  0%, 12% { left: 51%; opacity: 0; }
  30% { opacity: .7; }
  76% { opacity: .45; }
  100% { left: 91%; opacity: 0; }
}
.ihero > .wrap { position: relative; z-index: 1; }
.form__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ihero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.ihero__copy { display: grid; gap: clamp(20px, 2.4vw, 30px); align-content: start; padding-top: clamp(0px, 2vw, 24px); }
.ihero__crumb { font-size: 1rem; color: #ddd1c4; }
.ihero__title {
  font-size: clamp(3rem, 1rem + 6vw, 7.75rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  font-weight: 700;
  max-width: 11.5ch;
}
.ihero__title .fade {
  background: linear-gradient(180deg, #f6f1e9 10%, #93877a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ihero__lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem); line-height: 1.5; color: #cfc0b0; max-width: 34em; }
.ihero__ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }
.ihero__ctas .text-link { margin-left: 14px; }

.ihero__foot {
  margin-top: auto;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.ihero__foot::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); margin-top: -28px; height: 1px; background: var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.9375rem; color: var(--faint); }
.crumbs a { color: #b9ada1; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: #f6f1e9; }
.crumbs span { align-self: center; }
.status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ddd1c4;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  background: rgba(23, 21, 19, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.status b { font-weight: 500; margin-right: 8px; }

/* L'instrument : pile de cartes en 3D + onglets */
.instrument { display: grid; gap: 22px; align-content: start; }
.instrument__kicker { font-size: 1rem; color: #ddd1c4; }
.deck {
  position: relative;
  height: clamp(250px, 26vw, 400px);
  perspective: 1400px;
  --rx: 0deg;
  --ry: 0deg;
}
.deck__card {
  position: absolute;
  left: 0;
  top: 6%;
  width: 78%;
  aspect-ratio: 1.45;
  border-radius: 6px;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}
.deck__card--front {
  z-index: 3;
  background: linear-gradient(160deg, #fffdfa 0%, #ece2d5 100%);
  color: #171513;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(246, 241, 233, 0.4) inset;
  transform: rotateX(calc(12deg + var(--rx))) rotateY(calc(-22deg + var(--ry))) rotateZ(-8deg) translateZ(0);
  padding: clamp(14px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.deck__card--back1, .deck__card--back2 {
  background: linear-gradient(160deg, rgba(39, 53, 72, 0.92), rgba(33, 30, 26, 0.96));
  border: 1px solid rgba(246, 241, 233, 0.14);
  color: rgba(246, 241, 233, 0.4);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 18px;
  display: flex;
  justify-content: flex-end;
}
.deck__card--back1 { z-index: 2; transform: rotateX(calc(12deg + var(--rx))) rotateY(calc(-22deg + var(--ry))) rotateZ(-8deg) translate3d(14%, -4%, -70px); }
.deck__card--back2 { z-index: 1; transform: rotateX(calc(12deg + var(--rx))) rotateY(calc(-22deg + var(--ry))) rotateZ(-8deg) translate3d(26%, -8%, -140px); opacity: 0.8; }
.deck:hover .deck__card--back1 { transform: rotateX(calc(12deg + var(--rx))) rotateY(calc(-22deg + var(--ry))) rotateZ(-8deg) translate3d(19%, -6%, -70px); }
.deck:hover .deck__card--back2 { transform: rotateX(calc(12deg + var(--rx))) rotateY(calc(-22deg + var(--ry))) rotateZ(-8deg) translate3d(36%, -11%, -140px); }
.deck__head { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 500; color: #61574e; padding-bottom: 8px; border-bottom: 1px solid rgba(45, 32, 22, 0.14); position: relative; z-index: 1; }
.deck__waves { position: absolute; inset: 18% 0 10% 18%; z-index: 0; }
.deck__waves svg { width: 100%; height: 100%; }
.deck__waves polyline { fill: none; stroke: rgba(74, 58, 36, 0.38); stroke-width: 0.7; vector-effect: non-scaling-stroke; }
.deck__big {
  position: relative; z-index: 1;
  margin-top: auto;
  font-size: clamp(1.5rem, 0.9rem + 2.2vw, 2.75rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.055em;
  animation: cardIn 0.6s var(--ease-out);
}
.deck__big em { font-style: normal; color: #725844; }
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.deck__foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 8px; border-top: 1px solid rgba(45, 32, 22, 0.14); font-size: 0.6875rem; color: #76685b; }
.deck__foot b { font-size: 0.875rem; font-weight: 800; letter-spacing: -0.03em; color: #171513; }

.tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-strong); }
.tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px;
  border: 0; background: none; cursor: pointer;
  font-size: 1.0625rem; color: #a09589;
  transition: color 0.3s;
}
.tab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-selected="true"], .tab:hover { color: #f6f1e9; }
.tabs__bar { position: absolute; left: 0; bottom: -1px; width: calc(100% / 3); height: 2px; background: #f6f1e9; transform: translateX(calc(var(--tab, 0) * 100%)); transition: transform 0.5s var(--ease-out); }
.tabpanel { display: grid; gap: 12px; padding-top: 8px; animation: cardIn 0.5s var(--ease-out); }
.tabpanel__label { font-family: var(--font-mono); font-size: 0.8125rem; color: #a09589; }
.tabpanel__title { font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.tabpanel p:not(.tabpanel__label) { color: #cfc0b0; max-width: 36em; }
.tabpanel .text-link { justify-self: start; }

@media (max-width: 980px) {
  .ihero { min-height: 0; }
  .ihero__grid { grid-template-columns: 1fr; }
  .ihero__title { max-width: 11ch; }
  .deck { height: clamp(220px, 58vw, 380px); }
  .deck__card { width: 74%; left: 4%; }
  .ihero__ctas .text-link { margin-left: 0; }
}
@media (max-width: 520px) {
  .tab { font-size: 0.9375rem; gap: 6px; }
  .tab svg { display: none; }
  .status { width: 100%; }
}

/* Sections suivantes, en monochrome */
.manifesto__keys li.is-on { color: #f6f1e9; }
.manifesto__text { font-family: var(--font-body); text-transform: none; font-weight: 700; letter-spacing: -0.05em; font-size: clamp(2rem, 0.9rem + 4vw, 4.75rem); line-height: 1.02; }
.js .manifesto__text .k { color: rgba(246, 241, 233, 0.16); -webkit-text-stroke: 0; }
.js .manifesto__text .k.is-lit { color: #f6f1e9; }
.node.is-weak.is-scanned { border-color: rgba(246, 241, 233, 0.6); background: linear-gradient(180deg, rgba(246, 241, 233, 0.07), rgba(27, 26, 23, 0.95)); }
.scan__line { box-shadow: 0 0 18px 2px rgba(246, 241, 233, 0.35); }
.scan__line::after { background: linear-gradient(to top, rgba(246, 241, 233, 0.07), transparent); }
.report { background: #211e1a; }
.report__score { background: radial-gradient(90% 90% at 70% 100%, rgba(246, 241, 233, 0.07), transparent 65%); }
.bars .bar--now { fill: #f6f1e9; }
.bars .tip .tip-val { fill: #f6f1e9; }
.path__step--entry .path__marker b { color: var(--fg); }
.path__marker b { font-weight: 700; letter-spacing: -0.06em; }
.offer__name, .step__index b, .principle .big { text-transform: none; font-weight: 700; letter-spacing: -0.05em; }
.step__index b { color: var(--fg); }
.diamonds li::before { background: #171513; }
.audience li::before, .step__aside li::before { background: var(--fg); }
.footer-wordmark { font-family: var(--font-body); text-transform: none; font-weight: 800; letter-spacing: -0.07em; -webkit-text-stroke: 0; color: rgba(246, 241, 233, 0.06); }
.page-hero .display { max-width: 14ch; }
.final .display em { display: block; }
.node { background: rgba(32, 30, 26, 0.92); }
.scan__field { background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--night); }
.scan__field::before, .scan__field::after { border-color: #f6f1e9; }


/* ---------- Palette claire chaleureuse — ivoire, sable et terre cuite ---------- */
:root {
  --sand: #bd805f;       /* terre cuite : accent chaleureux */
  --sand-deep: #81583f;
  --dust: #efede9;       /* grains ivoire clair, proches du blanc dans le halo */
  --signal: var(--sand);
  --signal-strong: #eadcc9;
  --signal-soft: rgba(189, 128, 95, 0.14);
  --signal-glow: rgba(189, 128, 95, 0.28);
  --paper-card: #fffdfa;
  --risk-high: #d87570;
  --risk-mid: #d98a52;
  --risk-low: #77aa8a;
}
::selection { background: var(--sand); color: #171513; }
:focus-visible { outline-color: var(--sand); }
.ihero__title .fade, .display em { background: linear-gradient(180deg, #f6f1e9 10%, #d7bca1 100%); -webkit-background-clip: text; background-clip: text; }
.ihero__crumb, .instrument__kicker { color: var(--sand); }
.tabs__bar { background: var(--sand); }
.tab[aria-selected="true"] { color: #f6f1e9; }
.status b, .scan__status .found b { color: var(--sand); }
.btn--primary:hover { background: var(--sand); border-color: var(--sand); color: #171513; }
.section--light .btn--primary:hover { background: #3e3128; border-color: #3e3128; color: #f6f1e9; }
.deck__foot b { color: #81583f; }
.deck__big em { color: #725844; }
.node.is-weak.is-scanned { border-color: rgba(189, 128, 95, 0.7); background: linear-gradient(180deg, rgba(189, 128, 95, 0.1), rgba(33, 30, 26, 0.95)); }
.node.is-weak.is-scanned .node__state { color: var(--sand); }
.scan__line { background: var(--sand); box-shadow: 0 0 18px 2px rgba(189, 128, 95, 0.35); }
.scan__field::before, .scan__field::after { border-color: var(--sand); }
.manifesto__keys li.is-on { color: var(--sand); }
.js .manifesto__text .k.is-lit { color: var(--sand); }
/* sections claires : ivoire et sable */
.section--light { --bg: #f3eee5; --fg: #171513; --fg-muted: #6d6257; --fg-faint: #93877a; --rule: rgba(23, 21, 19, 0.1); --rule-strong: rgba(23, 21, 19, 0.2); --card: #fffdfa; }
.section--light .h2 em { color: #9a654b; }
.acc-card { background: #fffdfa; box-shadow: 0 30px 80px -40px rgba(45, 32, 22, 0.22); }
.acc-btn { color: #171513; border-bottom-color: rgba(23, 21, 19, 0.12); }
.acc-btn[aria-expanded="true"] { border-bottom-color: #171513; }
.acc-btn__meta, .acc-panel .price__unit, .acc-panel .price__note, .diamonds span { color: #6d6257; }
.diamonds li::before { background: var(--sand-deep); }
/* rapport : panneau cacao profond */
.report { background: #211e1a; box-shadow: 0 50px 100px -40px rgba(45, 32, 22, 0.36); }
.kpi { border-color: rgba(246, 241, 233, 0.1); }
.report__score { background: radial-gradient(90% 90% at 70% 100%, rgba(189, 128, 95, 0.12), transparent 65%); border-right-color: rgba(246, 241, 233, 0.1); }
.bars .bar { fill: rgba(246, 241, 233, 0.22); }
.bars .bar--now { fill: var(--sand); }
.bars .gridline { stroke: rgba(246, 241, 233, 0.1); }
.bars .tip rect { fill: #171513; stroke: rgba(189, 128, 95, 0.4); }
.bars .tip .tip-val { fill: var(--sand); }
.validated svg.sig { color: var(--sand); }
.delta { background: rgba(119, 170, 138, 0.12); border-color: rgba(119, 170, 138, 0.35); }
.site-footer { background: #171513; }
.footer-wordmark { color: rgba(189, 128, 95, 0.08); }
.cta-bar { background: rgba(23, 21, 19, 0.9); }
.site-footer .brand svg { display: block; }
.site-footer .brand svg path { stroke: var(--sand); }
.site-footer .brand::after { display: none; }

/* ======================================================================
   Parcours de message (inspiré de la version Codex), habillage v4
   ====================================================================== */

.ihero__note { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; color: #b9ada1; }
.ihero__note .dots { display: inline-flex; }
.ihero__note .dots i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #171513; margin-left: -6px; background: linear-gradient(140deg, #e7dacc, #a09589); }
.ihero__note .dots i:first-child { margin-left: 0; background: linear-gradient(140deg, #eadcc9, #9a654b); }
.ihero__note .dots i:last-child { background: linear-gradient(140deg, #cfc0b0, #61574e); }

/* Bandeau défilant */
.band { overflow: hidden; background: var(--sand); color: #171513; border-block: 1px solid rgba(23, 21, 19, 0.2); }
.band__track { display: flex; align-items: center; gap: 36px; width: max-content; padding: 20px 0 20px 28px; animation: bandMove 32s linear infinite; }
.band__track span { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.band__track i { font-style: normal; font-size: 1rem; color: #81583f; }
.band:hover .band__track { animation-play-state: paused; }
@keyframes bandMove { to { transform: translateX(-50%); } }

/* Problème : vue d'ensemble */
.problem__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.problem__copy { display: grid; gap: 18px; padding-top: 10px; color: var(--fg-muted); font-size: 1.0625rem; max-width: 34em; }
.problem__copy b { color: var(--fg); font-weight: 600; }
.frictions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(44px, 6vw, 80px); }
.friction { position: relative; display: grid; gap: 10px; align-content: start; min-height: 190px; padding: 24px 22px; border: 1px solid var(--rule); background: #fffdfa; transition: transform 0.4s var(--ease-out), background-color 0.3s; }
.friction:nth-child(2), .friction:nth-child(4) { margin-top: 36px; }
.friction::after { content: ""; position: absolute; right: 18px; top: 20px; width: 18px; height: 18px; border-top: 1px solid var(--sand-deep); border-right: 1px solid var(--sand-deep); }
.friction:hover { transform: translateY(-4px); background: #faf6f0; }
.friction__num { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: #93877a; }
.friction h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 12px; }
.friction p { font-size: 0.9375rem; color: var(--fg-muted); }
@media (max-width: 960px) { .problem__intro { grid-template-columns: 1fr; } .frictions { grid-template-columns: repeat(2, minmax(0, 1fr)); } .friction:nth-child(2), .friction:nth-child(4) { margin-top: 0; } }
@media (max-width: 520px) { .frictions { grid-template-columns: 1fr; } .friction { min-height: 0; } }

/* Barre « prochaine action » dans le rapport */
.next-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 24px 18px; padding: 12px 16px; border: 1px solid rgba(189, 128, 95, 0.35); background: rgba(189, 128, 95, 0.08); font-size: 0.9375rem; }
.next-action p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.next-action p > span { color: var(--sand); font-size: 1.125rem; }
.next-action b { font-weight: 600; color: #f6f1e9; }
.next-action small { font-family: var(--font-mono); font-size: 0.75rem; color: #b9ada1; }
.next-action a { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); text-decoration: none; }
.next-action a:hover { text-decoration: underline; }

/* Traduction : constat → impact → action */
.translation__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.translation__index { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #a09589; }
.translation__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: end; margin: 32px 0 clamp(36px, 5vw, 56px); }
.finding { border: 1px solid rgba(246, 241, 233, 0.14); background: #211e1a; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.5); }
.finding__bar, .finding__foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 14px 22px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: #b9ada1; }
.finding__bar { border-bottom: 1px solid rgba(246, 241, 233, 0.12); }
.finding__bar span:first-child { color: var(--sand); }
.finding__foot { border-top: 1px solid rgba(246, 241, 233, 0.12); align-items: center; }
.finding__foot b { color: var(--sand); padding: 0 6px; font-weight: 400; }
.finding__foot i { font-style: normal; color: #eadcc9; }
.finding__body { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); min-height: 340px; }
.finding__fact { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 40px); border-right: 1px solid rgba(246, 241, 233, 0.12); }
.finding__fact::after { content: ""; position: absolute; width: 260px; height: 260px; right: -160px; bottom: -150px; border: 1px solid rgba(189, 128, 95, 0.22); border-radius: 50%; box-shadow: 0 0 0 28px rgba(189, 128, 95, 0.04), 0 0 0 58px rgba(189, 128, 95, 0.025); }
.finding__label { display: block; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: #ddcdbb; }
.finding__fact strong { font-size: clamp(6rem, 4rem + 8vw, 10.5rem); line-height: 0.85; font-weight: 600; letter-spacing: -0.08em; color: var(--sand); margin: 14px 0 10px; }
.finding__fact p { color: #e9dfd3; }
.finding__rule { display: flex; gap: 4px; margin-top: 26px; }
.finding__rule i { width: 26px; height: 3px; background: var(--sand); }
.finding__rule i:nth-child(2) { opacity: 0.5; }
.finding__rule i:nth-child(3) { opacity: 0.22; }
.finding__story { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 40px); }
.story { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; position: relative; }
.story__idx { font-family: var(--font-mono); font-size: 0.75rem; color: var(--sand); padding-top: 2px; }
.story h3 { font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.5rem); line-height: 1.25; font-weight: 500; letter-spacing: -0.03em; color: #f6f1e9; margin: 10px 0 8px; max-width: 32em; }
.story p { color: #b9ada1; font-size: 0.9375rem; max-width: 34em; }
.story__link { display: flex; align-items: center; gap: 12px; height: 44px; margin-left: 13px; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; color: #ddcdbb; }
.story__link i { width: 1px; height: 14px; background: #81583f; }
.story--action { padding: 16px 56px 16px 18px; border: 1px solid rgba(189, 128, 95, 0.32); background: rgba(189, 128, 95, 0.09); }
.story--action h3 { color: #f0e6da; }
.story--action > a { position: absolute; right: 14px; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(189, 128, 95, 0.35); color: #eadcc9; text-decoration: none; transition: background-color 0.2s; }
.story--action > a:hover { background: rgba(189, 128, 95, 0.18); }
@media (max-width: 860px) {
  .translation__head { grid-template-columns: 1fr; gap: 16px; }
  .finding__body { grid-template-columns: 1fr; }
  .finding__fact { border-right: 0; border-bottom: 1px solid rgba(246, 241, 233, 0.12); min-height: 220px; }
  .finding__bar span:last-child, .finding__foot span:last-child { display: none; }
}

/* Méthode : moins de bruit, plus de progrès */
.method { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.method__copy { display: grid; gap: 20px; justify-items: start; }
.steps-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.steps-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 36px; gap: 16px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--rule-strong); }
.steps-list__num { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--sand-deep); padding-top: 4px; }
.steps-list h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 6px; }
.steps-list p { color: var(--fg-muted); max-width: 32em; }
.steps-list__icon { width: 36px; height: 36px; border: 1px solid var(--rule-strong); border-radius: 50%; display: grid; place-items: center; }
.steps-list__icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .method { grid-template-columns: 1fr; } .steps-list li { grid-template-columns: 36px minmax(0, 1fr) 30px; gap: 12px; } }

/* Offres sur fond sombre + ligne de confiance */
#offres .acc-card { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8); }
.trust-line { list-style: none; margin: 28px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: #b9ada1; }
.trust-line li { display: inline-flex; align-items: center; gap: 8px; }
.trust-line svg { width: 13px; height: 13px; color: var(--sand); }

/* FAQ d'accueil */
.faq-home { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-home > div:first-child { display: grid; gap: 18px; }
.section--light .faq summary .plus::before, .section--light .faq summary .plus::after { background: #171513; }
.section--light .text-link { color: #171513; text-decoration-color: rgba(23, 21, 19, 0.4); }
@media (max-width: 860px) { .faq-home { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .band__track { animation: none; } }

/* Hero sans onglets : la pile de cartes occupe seule la colonne droite */
.instrument { align-self: center; }
.deck { height: clamp(260px, 30vw, 460px); }

/* Responsive refinement — small screens, touch and safe areas */
@media (max-width: 760px) {
  :root { --gutter: clamp(16px, 5vw, 24px); --header-h: 68px; }
  body { font-size: 1rem; }
  .section { padding-block: clamp(64px, 12vw, 92px); }
  .section--tight { padding-block: 48px; }
  .parallax__glow { right: -42%; top: 42%; width: 112vw; }
  .parallax__orbits { left: 66%; top: 68%; width: 142vw; height: 92vw; }
  .parallax__lines { mask-image: radial-gradient(ellipse 78% 58% at 68% 68%, #000 0%, rgba(0,0,0,.82) 46%, transparent 82%); }
  .parallax__sweep { top: 36%; bottom: 10%; }
  .mobile-nav a:not(.btn) { font-size: clamp(1.45rem, 7.2vw, 1.9rem); padding-block: 12px; }
  .ihero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 24px; }
  .ihero__grid { gap: 26px; }
  .ihero__copy { gap: 18px; }
  .ihero__title { max-width: 12ch; font-size: clamp(2.8rem, 10.8vw, 5.3rem); line-height: .96; }
  .ihero__lead { max-width: 38ch; font-size: clamp(1rem, 3.8vw, 1.2rem); }
  .ihero__ctas { align-items: stretch; gap: 10px; }
  .ihero__ctas .btn { min-height: 48px; padding-inline: 18px; }
  .ihero__foot { padding-top: 38px; padding-bottom: 22px; align-items: stretch; }
  .status { font-size: .68rem; letter-spacing: .1em; padding: 10px 12px; }
  .deck { height: clamp(246px, 70vw, 340px); margin-inline: -4px; overflow: hidden; perspective: 1000px; }
  .deck__card { width: 74%; left: 7%; top: 8%; }
  .deck__card--front { padding: clamp(13px, 4vw, 20px); }
  .deck__card--back1 { transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-15deg + var(--ry))) rotateZ(-5deg) translate3d(10%, -3%, -45px); }
  .deck__card--back2 { transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-15deg + var(--ry))) rotateZ(-5deg) translate3d(16%, -6%, -90px); }
  .deck__head { gap: 8px; font-size: .65rem; }
  .deck__big { font-size: clamp(1.4rem, 6.2vw, 2rem); }
  .deck__foot { gap: 8px; font-size: .6rem; }
  .instrument { gap: 14px; }
  .tabs { min-height: 52px; }
  .tab { min-height: 52px; font-size: .9rem; }
  .tabpanel { gap: 10px; }
  .scan__copy { gap: 16px; }
  .scan__status { gap: 8px 16px; font-size: .68rem; }
  .report__bar { padding: 14px 16px; }
  .report__body > * { padding: 20px 16px; }
  .report__foot { align-items: flex-start; flex-direction: column; gap: 10px; }
  .report-legend > div, .report-legend > div + div { padding-block: 18px; }
  .translation__top { align-items: flex-start; }
  .translation__index { font-size: .63rem; white-space: nowrap; }
  .finding__bar, .finding__foot { gap: 8px 14px; padding: 12px 14px; font-size: .6rem; }
  .finding__fact { min-height: 190px; padding: 24px 20px; }
  .finding__fact strong { font-size: clamp(6rem, 25vw, 8rem); }
  .finding__story { padding: 22px 16px; }
  .story { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
  .story h3 { font-size: clamp(1.1rem, 4.8vw, 1.35rem); }
  .story--action { padding: 14px 48px 14px 12px; }
  .story--action > a { right: 9px; top: 9px; width: 25px; height: 25px; }
  .steps-list li { padding-block: 22px; }
  .faq summary { gap: 12px; padding-block: 18px; font-size: 1.05rem; line-height: 1.4; }
  .faq summary .plus { width: 30px; height: 30px; }
  .acc-card { padding: clamp(18px, 5vw, 28px); }
  .acc-btn { gap: 10px; flex-wrap: wrap; padding-block: 20px; font-size: clamp(1.15rem, 5.2vw, 1.55rem); }
  .acc-btn__meta { font-size: .65rem; letter-spacing: .06em; white-space: normal; }
  .acc-btn__icon { width: 32px; height: 32px; margin-left: auto; }
  .acc-panel { gap: 18px; }
  .diamonds { gap: 16px; }
  .form__row { gap: 14px; }
  .choice-group { gap: 8px; }
  .form input, .form select, .form textarea { min-width: 0; max-width: 100%; }
  .compare-wrap { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
  .compare { min-width: 600px; }
  .compare caption { padding-inline: 16px; }
  .site-footer { padding-top: 48px; }
  .footer-grid { gap: 24px 16px; }
  .footer-wordmark { max-width: 100%; overflow: hidden; font-size: clamp(3.1rem, 15vw, 7rem); letter-spacing: -.075em; }
  .footer-base { font-size: .58rem; letter-spacing: .06em; line-height: 1.6; }
}
@media (max-width: 520px) {
  .ihero__ctas { display: grid; grid-template-columns: 1fr; }
  .ihero__ctas .btn, .ihero__ctas .text-link { justify-content: center; width: 100%; margin: 0; }
  .ihero__note { align-items: flex-start; font-size: .82rem; }
  .ihero__note .dots { flex: none; }
  .deck { height: clamp(238px, 72vw, 300px); }
  .deck__card { width: 78%; left: 5%; }
  .deck__card--back1 { transform: rotateX(calc(6deg + var(--rx))) rotateY(calc(-12deg + var(--ry))) rotateZ(-4deg) translate3d(8%, -2%, -40px); }
  .deck__card--back2 { transform: rotateX(calc(6deg + var(--rx))) rotateY(calc(-12deg + var(--ry))) rotateZ(-4deg) translate3d(12%, -4%, -80px); }
  .deck__foot span:first-child { max-width: 65%; }
  .scan__field { grid-template-columns: minmax(0, 1fr); }
  .node__name { flex-wrap: wrap; align-items: baseline; }
  .node__state { white-space: normal; }
  .translation__top { flex-direction: column; gap: 8px; }
  .translation__index { white-space: normal; }
  .finding__bar span:nth-child(2) { margin-left: auto; }
  .finding__foot { align-items: flex-start; flex-direction: column; }
  .story--action { padding-right: 42px; }
  .final__facts { font-size: .875rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid a { overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .ihero__title { font-size: clamp(2.65rem, 11vw, 3.6rem); }
  .ihero__ctas .btn { font-size: .92rem; padding-inline: 14px; }
  .deck { height: 238px; }
  .deck__card { width: 80%; left: 3%; }
  .deck__head { font-size: .58rem; }
  .deck__foot { font-size: .55rem; }
  .scan__status { flex-direction: column; gap: 4px; }
  .report__bar { align-items: flex-start; }
  .report__title { font-size: .875rem; }
  .kpi__num { font-size: 1.8rem; }
  .next-action { margin-inline: 12px; padding: 12px; }
  .acc-btn { font-size: 1.1rem; }
  .acc-btn__meta { max-width: 100%; }
  .billing { width: 100%; }
  .billing button { flex: 1; padding-inline: 8px; font-size: .64rem; letter-spacing: .05em; }
  .footer-wordmark { font-size: 3.05rem; }
}
@media (hover: none) {
  .deck:hover .deck__card--back1 { transform: rotateX(calc(12deg + var(--rx))) rotateY(calc(-22deg + var(--ry))) rotateZ(-8deg) translate3d(14%, -4%, -70px); }
  .deck:hover .deck__card--back2 { transform: rotateX(calc(12deg + var(--rx))) rotateY(calc(-22deg + var(--ry))) rotateZ(-8deg) translate3d(26%, -8%, -140px); }
}

/* Tarif comparison becomes readable cards instead of a squeezed wide table. */
@media (max-width: 640px) {
  .compare-wrap { overflow: visible; border: 0; }
  .compare { display: block; min-width: 0; width: 100%; border-collapse: separate; }
  .compare caption { display: block; text-align: left; padding: 0 0 16px; font-size: 1.4rem; }
  .compare thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .compare tbody { display: grid; gap: 10px; }
  .compare tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 8px; padding: 12px; border: 1px solid var(--rule); background: var(--card); }
  .compare tbody th[scope="row"] { grid-column: 1 / -1; padding: 3px 0 10px; text-align: left; border: 0; border-bottom: 1px solid var(--rule); font-size: .84rem; line-height: 1.35; }
  .compare tbody td { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 0 2px; border: 0; text-align: left; font-size: .73rem; line-height: 1.35; overflow-wrap: anywhere; }
  .compare tbody td::before { font-family: var(--font-mono); font-size: .53rem; line-height: 1.25; letter-spacing: .03em; color: var(--fg-faint); }
  .compare tbody td:nth-of-type(1)::before { content: "DIAGNOSTIC"; }
  .compare tbody td:nth-of-type(2)::before { content: "RADAR"; }
  .compare tbody td:nth-of-type(3)::before { content: "SHIELD"; }
}
@media (hover: none) and (max-width: 760px) {
  .deck:hover .deck__card--back1 { transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-15deg + var(--ry))) rotateZ(-5deg) translate3d(10%, -3%, -45px); }
  .deck:hover .deck__card--back2 { transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-15deg + var(--ry))) rotateZ(-5deg) translate3d(16%, -6%, -90px); }
}

/* CTA d'en-tête repris de la version Instrument3 : point pulsant,
   remplissage terracotta gauche → droite et pastille flèche animée. */
.header-actions .btn--primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 42px;
  padding: 5px 5px 5px 16px;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid rgba(189, 128, 95, 0.55);
  background: rgba(189, 128, 95, 0.06) linear-gradient(90deg, var(--sand), #eadcc9) no-repeat 0 0 / 0% 100%;
  color: #f6f1e9;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background-size 0.55s var(--ease-out), color 0.35s, border-color 0.35s;
}
.header-actions .btn--primary::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 0 rgba(189, 128, 95, 0.48);
  animation: ctaPulse 2.4s ease-out infinite;
}
.header-actions .btn--primary::after {
  content: "↗";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--sand);
  color: #171513;
  font-size: 0.875rem;
  transition: transform 0.45s var(--ease-out), background-color 0.35s, color 0.35s;
}
.header-actions .btn--primary:hover,
.header-actions .btn--primary:focus-visible {
  background-color: rgba(189, 128, 95, 0.06);
  background-size: 100% 100%;
  border-color: var(--sand);
  color: #171513;
}
.header-actions .btn--primary:hover::before,
.header-actions .btn--primary:focus-visible::before {
  background: #171513;
  box-shadow: none;
  animation: none;
}
.header-actions .btn--primary:hover::after,
.header-actions .btn--primary:focus-visible::after {
  background: #171513;
  color: var(--sand);
  transform: rotate(45deg);
}
.header-actions .btn--primary:focus-visible { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--sand); }
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(189, 128, 95, 0.48); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(189, 128, 95, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .header-actions .btn--primary,
  .header-actions .btn--primary::after { transition: none; }
  .header-actions .btn--primary::before { animation: none; }
}

/* Direction chaleureuse + détails de mouvement */
.ihero { background-color: #171513; }
.ihero::before {
  content: "";
  position: absolute;
  inset: -14% -8%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38% 34% at 76% 34%, rgba(189, 128, 95, 0.15), transparent 76%),
    radial-gradient(ellipse 25% 28% at 18% 76%, rgba(215, 188, 161, 0.08), transparent 78%);
  animation: warmDrift 20s ease-in-out infinite alternate;
}
@keyframes warmDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(0.98); opacity: 0.72; }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); opacity: 1; }
}
.section--light .h2 em {
  background: linear-gradient(100deg, #75513d 0%, #a86b4b 52%, #c18a67 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.friction, .acc-card, .story--action, .steps-list li {
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.friction:hover, .friction:focus-within {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(189, 128, 95, 0.45);
  box-shadow: 0 22px 50px -32px rgba(70, 45, 30, 0.38);
}
.steps-list li:hover { transform: translateX(5px); }
.steps-list li:hover h3 { color: #81583f; }
.story--action:hover, .story--action:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px -32px rgba(70, 45, 30, 0.55);
}
.deck__card--front { box-shadow: 0 44px 90px -30px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 253, 250, 0.65) inset; }
.deck:hover .deck__card--front { box-shadow: 0 54px 100px -32px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(255, 253, 250, 0.76) inset; }
.btn--primary, .header-actions .btn--primary { transition-timing-function: var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .ihero::before { animation: none; }
  .friction, .acc-card, .story--action, .steps-list li { transition-duration: 0.01ms; }
}
