/* Direction « Relecture » : graphite chaud, un seul accent surligneur, les produits en vedette. */

:root {
  --bg: #0f0f0e;
  --surface: #161614;
  --surface-2: #1d1d1a;
  --line: #2a2a26;
  --line-strong: #3a3a35;
  --text: #edebe6;
  --muted: #a3a097;
  --dim: #8a877f;
  --accent: #ffc83d;
  --accent-soft: rgba(255, 200, 61, 0.16);
  --accent-ink: #1a1300;
  --ok: #7fd1a6;
  --warn: #ffb35c;
  --bad: #ff7a6b;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.muted { color: var(--muted); }

/* Surligneur : le geste du relecteur, tracé quand le mot entre à l'écran */
.hl {
  background-image: linear-gradient(transparent 58%, var(--accent-soft) 58%, var(--accent-soft) 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.9s var(--ease) 0.2s;
}
.hl.is-in { background-size: 100% 100%; }
.hl-strong {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 0% 0.14em;
  transition: background-size 0.9s var(--ease) 0.25s;
}
.hl-strong.is-in { background-size: 100% 0.14em; }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 14, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.brand__mark { width: 28px; height: 28px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); white-space: nowrap; }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 209, 166, 0.15); }
.nav { margin-left: auto; display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--muted); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Accueil ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 88px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; margin: 18px 0 22px; text-wrap: balance; }
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.hero__lead strong { color: var(--text); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.fact { padding: 18px 18px 0 0; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--line); }
.fact__n { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.fact__t { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Fenêtre de produit */
.window { position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02); }
.window__bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 14px; background: #1b1b19; border-bottom: 1px solid var(--line); }
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a35; }
.window__url { flex: 1; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window video, .window img { width: 100%; height: auto; }
.window--dark { background: var(--surface); }

.stage { position: relative; }
.note {
  position: absolute; z-index: 3; max-width: 230px;
  font-family: var(--mono); font-size: 12.5px; line-height: 1.45; color: var(--accent-ink);
  background: var(--accent); padding: 9px 12px; border-radius: 8px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  opacity: 0; transform: translateY(8px) rotate(-1deg);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.note.is-on { opacity: 1; transform: translateY(0) rotate(-1deg); }
.note::before { content: ""; position: absolute; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); }
.note--left { left: -34px; }
.note--left::before { right: 18px; bottom: -4px; }
.note--right { right: -26px; }
.note--right::before { left: 20px; top: -4px; }
.note b { font-weight: 700; }

.stage__caption { margin-top: 14px; color: var(--dim); font-family: var(--mono); font-size: 12px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section__head h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; margin: 14px 0 0; }
.section__head p { color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); margin: 0; max-width: 38em; }

/* Point de départ */
.origin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--surface); margin-bottom: clamp(56px, 8vw, 104px); }
.origin h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; margin: 12px 0 12px; font-weight: 600; line-height: 1.2; }
.origin p { color: var(--muted); margin: 0; }

.gen { display: grid; grid-template-columns: 38% 1fr; min-height: 260px; background: #faf9f6; color: #22211d; border-radius: 10px; overflow: hidden; font-size: 12px; line-height: 1.4; }
.gen__plan { background: #efede7; padding: 16px 14px; border-right: 1px solid #e0ddd4; }
.gen__plan b { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #8a867a; margin-bottom: 10px; font-weight: 600; }
.gen__plan ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gen__plan li { padding: 6px 8px; border-radius: 6px; }
.gen__plan li.on { background: #fff; box-shadow: 0 1px 0 #e0ddd4; font-weight: 600; }
.gen__plan li small { display: block; color: #8a867a; font-weight: 400; }
.gen__unit { padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.gen__unit h4 { margin: 0; font-size: 15px; }
.gen__line { height: 7px; border-radius: 4px; background: #e6e3db; }
.gen__line.s { width: 72%; }
.gen__media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gen__img { aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, #d9d4c7, #c9c2b0); position: relative; }
.gen__img::after { content: "image générée"; position: absolute; bottom: 6px; left: 8px; font-family: var(--mono); font-size: 10px; color: #6f6a5c; }
.gen__schema { aspect-ratio: 4 / 3; border-radius: 8px; border: 1px dashed #cfc9ba; display: grid; place-items: center; }
.gen__schema svg { width: 80%; }
.gen__tag { justify-self: start; font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: #22211d; color: #faf9f6; }

/* Projets */
.project { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.project + .project { margin-top: clamp(80px, 12vw, 160px); }
.project--flip .project__visual { order: 2; }
.project__index { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.project h3 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.03em; line-height: 1.05; margin: 10px 0 12px; font-weight: 600; }
.project__pitch { font-size: 19px; color: var(--text); margin: 0 0 22px; line-height: 1.45; }
.meta { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 22px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meta dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); padding-top: 2px; }
.meta dd { margin: 0; font-size: 15px; color: var(--muted); }
.meta dd .chip { margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 12px; color: var(--text); white-space: nowrap; }
.chip--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.chip--build::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.does { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.does li { position: relative; padding-left: 22px; color: var(--muted); }
.does li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--accent); }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s, gap 0.2s; }
.more:hover { border-color: var(--accent); gap: 14px; }

/* Matrice de couverture (reconstitution) */
.matrix { background: #faf9f6; color: #22211d; border-radius: 10px; overflow: hidden; font-size: 13px; }
.matrix__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #e3e0d7; }
.matrix__head b { font-size: 14px; }
.matrix__head span { font-family: var(--mono); font-size: 11px; color: #7b776b; }
.matrix__sum { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #e3e0d7; }
.matrix__sum div { padding: 10px 18px; font-family: var(--mono); font-size: 11px; color: #7b776b; }
.matrix__sum div + div { border-left: 1px solid #e3e0d7; }
.matrix__sum strong { display: block; font-family: var(--font); font-size: 22px; color: #22211d; letter-spacing: -0.02em; }
.matrix__row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 11px 18px; border-bottom: 1px solid #efece5; }
.matrix__row:last-child { border-bottom: 0; }
.st { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.st--no { background: #fde2dd; color: #9a2b1d; }
.st--part { background: #fdf0cf; color: #7a5600; }
.matrix__row.is-open { background: #fffbea; }
.matrix__proof { margin: 0 18px 14px; padding: 12px 14px; border-left: 3px solid #e3b21f; background: #fff; border-radius: 0 8px 8px 0; font-size: 12.5px; }
.matrix__proof q { display: block; font-style: italic; margin: 4px 0 8px; quotes: "« " " »"; }
.matrix__proof small { display: block; font-family: var(--mono); font-size: 10.5px; color: #7b776b; }
.matrix__proof .miss { color: #9a2b1d; }

/* Journal des agents (extrait réel) */
.term { background: #0b0b0a; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8); }
.term__body { padding: 18px 20px 22px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #cfccc4; overflow-x: auto; }
.term__line { white-space: pre; opacity: 1; }
.js .term.is-armed .term__line { opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s; }
.js .term.is-armed .term__line.is-on { opacity: 1; transform: none; }
.t-dim { color: var(--dim); }
.t-ok { color: var(--ok); }
.t-acc { color: var(--accent); }
.t-warn { color: var(--warn); }
.guards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.guards .chip { border-color: rgba(255, 200, 61, 0.35); color: var(--accent); }

/* Parcours */
.track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.stop { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--surface); min-height: 380px; }
.stop__years { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.stop h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; line-height: 1.2; }
.stop__role { color: var(--muted); font-size: 15px; margin: 0; }
.stop__big { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.stop__big div { display: grid; grid-template-columns: max-content 1fr; gap: 12px; align-items: baseline; }
.stop__big strong { font-size: 28px; letter-spacing: -0.03em; font-weight: 600; }
.stop__big span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.stop__lesson { font-size: 14.5px; color: var(--text); border-left: 2px solid var(--accent); padding-left: 12px; margin: 0; }
.stop--now { background: linear-gradient(180deg, rgba(255, 200, 61, 0.07), var(--surface) 60%); border-color: rgba(255, 200, 61, 0.28); }
.track__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.track__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-size: 18px; cursor: pointer; transition: border-color 0.2s; }
.track__nav button:hover { border-color: var(--accent); }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--surface); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.step h3 { margin: 0; font-size: 24px; letter-spacing: -0.02em; font-weight: 600; }
.step p { margin: 0; color: var(--muted); }
.step__artifact { margin-top: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); padding: 14px; font-size: 13px; }
.step__artifact .label { margin-bottom: 8px; }
.step__artifact p { color: var(--text); font-size: 13.5px; line-height: 1.5; }
.step__artifact img { border-radius: 6px; }
.rule { margin-top: clamp(40px, 5vw, 64px); text-align: center; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; font-weight: 600; }
.rule small { display: block; margin-top: 10px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* Contact */
.doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.door { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--surface); text-decoration: none; transition: border-color 0.25s, transform 0.25s var(--ease); }
.door:hover { border-color: var(--accent); transform: translateY(-2px); }
.door h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.025em; font-weight: 600; line-height: 1.15; }
.door p { margin: 0; color: var(--muted); }
.door ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.door__go { margin-top: auto; padding-top: 16px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.door:hover .arrow { transform: translateX(3px); }
.door .arrow { transition: transform 0.2s var(--ease); }
.signoff { display: flex; align-items: center; gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.signoff svg { width: 72px; height: 72px; flex: none; }
.signoff p { margin: 0; color: var(--muted); max-width: 44em; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--dim); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Études de cas ---------- */
.case-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.crumb { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-family: var(--mono); font-size: 13px; }
.crumb:hover { color: var(--text); }
.case-hero h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -0.04em; line-height: 1; margin: 22px 0 16px; font-weight: 600; }
.case-hero__pitch { font-size: clamp(19px, 1.8vw, 24px); color: var(--muted); max-width: 30em; margin: 0 0 36px; line-height: 1.4; }
.summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.summary div { padding: 16px 18px; }
.summary div + div { border-left: 1px solid var(--line); }
.summary dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.summary dd { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.45; }
.case-visual { margin: clamp(32px, 5vw, 56px) 0 0; }

.case { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); margin-top: clamp(48px, 7vw, 96px); }
.toc { position: sticky; top: 96px; align-self: start; display: grid; gap: 2px; }
.toc a { text-decoration: none; color: var(--dim); font-family: var(--mono); font-size: 12.5px; padding: 6px 0 6px 14px; border-left: 1px solid var(--line); transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--text); }
.toc a.is-current { color: var(--text); border-left-color: var(--accent); }
.prose { max-width: 720px; }
.prose section { scroll-margin-top: 96px; }
.prose section + section { margin-top: clamp(48px, 6vw, 72px); }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.025em; margin: 8px 0 18px; font-weight: 600; line-height: 1.15; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; font-weight: 600; }
.prose p { color: #d6d3cc; margin: 0 0 16px; }
.prose ul, .prose ol { color: #d6d3cc; padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose figure { margin: 28px 0; }
.prose figcaption { margin-top: 10px; color: var(--dim); font-family: var(--mono); font-size: 12px; line-height: 1.5; }
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface); padding: 16px 18px; margin: 22px 0; }
.callout p { margin: 0; }
.callout .label { margin-bottom: 6px; }
.limits li::marker { color: var(--warn); }
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.numbers div { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--surface); }
.numbers strong { display: block; font-size: 26px; letter-spacing: -0.03em; }
.numbers span { color: var(--muted); font-size: 13.5px; line-height: 1.4; display: block; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--surface); text-decoration: none; margin-bottom: clamp(64px, 8vw, 112px); transition: border-color 0.25s; }
.next:hover { border-color: var(--accent); }
.next strong { display: block; font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.03em; margin-top: 6px; }
.next .arrow { font-size: 28px; transition: transform 0.2s var(--ease); }
.next:hover .arrow { transform: translateX(4px); }
.shots { display: grid; grid-template-columns: 3fr 1fr; gap: 16px; align-items: end; }
.shots img { border-radius: 10px; border: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .note--left { left: 8px; }
  .note--right { right: 8px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .status { display: none; }
  .nav { gap: 18px; }
  .hero__grid, .section__head, .origin, .project, .case { grid-template-columns: minmax(0, 1fr); }
  .project--flip .project__visual { order: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact { padding-bottom: 16px; }
  .steps, .doors { grid-template-columns: minmax(0, 1fr); }
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .summary div:nth-child(-n+2) { border-top: 0; }
  .toc { position: static; grid-auto-flow: column; overflow-x: auto; gap: 0; }
  .toc a { white-space: nowrap; border-left: 0; border-bottom: 1px solid var(--line); padding: 8px 12px; }
  .toc a.is-current { border-bottom-color: var(--accent); }
  .shots { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .nav a:not(.nav__keep) { display: none; }
  .top__row { height: 58px; }
  .hero h1 { font-size: 40px; }
  .note { position: static; opacity: 1; transform: none; margin-top: 10px; max-width: none; display: none; }
  .note.is-on { display: block; }
  .note::before { display: none; }
  .stage { display: flex; flex-direction: column; }
  .window__url { display: none; }
  .gen { grid-template-columns: 1fr; }
  .gen__plan { border-right: 0; border-bottom: 1px solid #e0ddd4; }
  .track { grid-auto-columns: 86%; }
  .matrix__row { grid-template-columns: 1fr; gap: 6px; }
  .matrix__row .st { justify-self: start; }
  .signoff { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hl { background-size: 100% 100%; }
  .hl-strong { background-size: 100% 0.14em; }
  .js .term.is-armed .term__line { opacity: 1; transform: none; }
}

/* ---------- V3 : offres, contact direct, méthode en quatre temps ---------- */
.hero__where { margin: 22px 0 0; color: var(--dim); }

.offers { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
.offer { display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--surface); }
.offer--main { border-color: rgba(255, 200, 61, 0.35); background: linear-gradient(180deg, rgba(255, 200, 61, 0.07), var(--surface) 55%); }
.offer h3 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.025em; font-weight: 600; line-height: 1.12; }
.offer > p { margin: 0; color: var(--muted); }
.offer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer__list li { position: relative; padding-left: 22px; color: var(--muted); }
.offer__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--accent); }
.offer__list strong { color: var(--text); font-weight: 600; }
.offer__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; }
.offer__meta { font-family: var(--mono); font-size: 12.5px; color: var(--dim); }

.nav__keep { white-space: nowrap; }
@media (max-width: 1180px) { .status { display: none; } }
@media (max-width: 820px) { .nav a:not(.nav__keep) { display: none; } }

/* Pour démarrer : la marche d'entrée, sous les offres */
.start { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: clamp(20px, 2.4vw, 28px) clamp(22px, 3vw, 40px); border: 1px dashed rgba(255, 200, 61, 0.35); border-radius: calc(var(--radius) + 4px); }
.start__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; flex: 1 1 420px; }
.start__step { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; }
.start__step > span:nth-child(3) { grid-column: 2; color: var(--muted); font-size: 15px; }
.start__n { color: var(--dim); font-size: 12.5px; grid-row: 1 / span 2; }
.start__price { grid-column: 3; grid-row: 1; color: var(--accent); font-size: 13px; }

.reach { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.reach__item { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--surface); text-decoration: none; transition: border-color 0.25s, transform 0.25s var(--ease); min-width: 0; }
.reach__item:hover { border-color: var(--accent); transform: translateY(-2px); }
.reach__item strong { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; overflow-wrap: anywhere; }
.reach__item--main { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.reach__item--main .label { color: rgba(26, 19, 0, 0.7); }
.reach__go { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 12.5px; display: inline-flex; gap: 8px; align-items: center; overflow-wrap: anywhere; }
.reach__item .arrow { transition: transform 0.2s var(--ease); }
.reach__item:hover .arrow { transform: translateX(3px); }
.door--static:hover { border-color: var(--line); transform: none; }

.next--cta { margin-bottom: 16px; border-color: rgba(255, 200, 61, 0.35); }

.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .offers, .reach, .steps--4 { grid-template-columns: minmax(0, 1fr); }
}
.section__head h2.h2--phrase { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.15; max-width: 22ch; }
.start__vat { flex-basis: 100%; margin: 0; font-size: 12px; color: var(--dim); }
.start__price { white-space: nowrap; }
.start__price s { color: var(--dim); margin-right: 6px; }

/* Logiciel de gestion pour organismes de formation (section 02) */
.erp-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "text text" "visual detail"; gap: clamp(24px, 3.4vw, 48px) clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--line-strong); border-radius: calc(var(--radius) + 6px); background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%); }
.erp-feature h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.08; margin: 12px 0 14px; font-weight: 600; }
.erp-feature .btn { margin-top: 4px; }
.erp { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: #f4f2ec; color: #1f1d18; font-size: 11.5px; line-height: 1.35; min-height: 330px; }
.erp__nav { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: #fbfaf6; border-right: 1px solid #e3dfd4; }
.erp__logo { display: flex; align-items: center; gap: 7px; font-size: 13px; margin-bottom: 8px; color: #1f1d18; }
.erp__logo i { width: 16px; height: 16px; border-radius: 5px; background: #1f1d18; box-shadow: inset 0 -5px 0 #ffc83d; }
.erp__nav small { margin: 8px 0 2px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #a09a8c; }
.erp__nav span { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px; border-radius: 6px; color: #57534a; }
.erp__nav span.is-on { background: rgba(255, 200, 61, 0.28); color: #1f1d18; font-weight: 600; }
.erp__nav em { font-style: normal; font-size: 9.5px; padding: 0 6px; border-radius: 999px; background: #1f1d18; color: #ffc83d; }
.erp__nav em.erp__ok { background: #dcf1e2; color: #1d6b3a; }
.erp__main { padding: 14px; min-width: 0; }
.erp__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.erp__top b { font-size: 15px; letter-spacing: -0.01em; }
.erp__tabs { display: flex; gap: 6px; }
.erp__tabs i { font-style: normal; padding: 3px 9px; border-radius: 999px; border: 1px solid #e3dfd4; color: #6f6a5e; background: #fbfaf6; }
.erp__tabs i.is-on { border-color: #1f1d18; background: #1f1d18; color: #ffc83d; }
.erp__board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.erp__col { display: flex; flex-direction: column; gap: 7px; padding: 8px; border-radius: 9px; background: #e9e6dc; }
.erp__col p { display: flex; justify-content: space-between; margin: 0 0 2px; font-weight: 600; font-size: 10.5px; color: #3d3a33; }
.erp__col p em { font-style: normal; color: #a09a8c; font-weight: 500; }
.erp__card { display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 7px; background: #fdfcf8; box-shadow: 0 1px 2px rgba(31, 29, 24, 0.08); }
.erp__card b { font-size: 11px; }
.erp__card span { color: #7a7568; font-size: 10px; }
.erp__card strong { color: #1f1d18; font-size: 11px; }
.erp__card u { text-decoration: none; font-family: var(--mono); font-size: 9.5px; color: #8a6400; }
.erp__card--ok { box-shadow: 0 0 0 1.5px #9fd9b4; }
.erp__card u.erp__check { color: #1d6b3a; }
.erp-feature__visual { grid-area: visual; }
.erp-feature__text { grid-area: text; max-width: 900px; }
.erp-feature__text .project__pitch { margin: 0; }
.erp-feature__detail { grid-area: detail; }
@media (max-width: 900px) { .erp-feature { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "visual" "detail"; } }
@media (max-width: 640px) {
  .erp { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .erp__nav { display: none; }
  .erp__board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .erp__col:nth-child(n+3) { display: none; }
}

/* ---------- Homepage commerciale (2026-09-29) ---------- */
.guarantee { margin: 0; padding: 12px 16px; border-radius: var(--radius); background: var(--accent-soft); color: var(--text); font-size: 15px; line-height: 1.5; }
.guarantee b { color: var(--accent); font-weight: 600; }

/* Hero */
.hero__sub { margin: 16px 0 0; color: var(--muted); font-size: 15px; max-width: 34em; }
.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav__min { font-weight: 400; opacity: 0.7; }

/* Problèmes : trois cartes courtes */
.problems .step { gap: 10px; }
.problems .step h3 { font-size: 21px; line-height: 1.25; }

/* Offres : deux portes d'entrée à parts égales */
.offers { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.offer__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.offer__steps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: baseline; }
.offer__steps li > span:last-child { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.offer__steps strong { font-weight: 600; }
.offer__price { grid-column: 2; grid-row: 1; color: var(--accent); font-size: 13px; white-space: nowrap; }
.offer__price s { color: var(--dim); margin-right: 6px; }
.offer__steps li strong { grid-column: 1; grid-row: 1; }
.offer .offer__team { font-size: 15px; color: var(--muted); margin: 0; }

/* Preuves : problème, ce que j'ai fait, état réel, ce que cela démontre */
.proof { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--surface); padding: clamp(22px, 3vw, 36px); }
.proof h3 { margin: 10px 0 12px; letter-spacing: -0.025em; line-height: 1.15; font-weight: 600; }
.proof--lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.proof--lead h3 { font-size: clamp(28px, 3vw, 40px); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.proof--small { display: flex; flex-direction: column; align-items: flex-start; }
.proof--small h3 { font-size: clamp(22px, 2vw, 28px); }
.proof--small .more { margin-top: auto; }
.proof__rows { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; margin: 16px 0 20px; }
.proof__rows dt { font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.04em; padding-top: 3px; }
.proof__rows dd { margin: 0; color: var(--muted); }
.proof__rows dt:nth-of-type(4) + dd, .proof__rows dt:last-of-type + dd { color: var(--text); }

/* Qui est derrière + parcours condensé */
.who { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.who__photo { margin: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line-strong); background: #000; aspect-ratio: 4 / 5; }
.who__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 26%; display: block; }
.who__text h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; margin: 14px 0 18px; }
.who__text p { color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); margin: 0 0 14px; max-width: 36em; }
.who__text .who__where { font-size: 12.5px; color: var(--dim); }
.timeline { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 11em minmax(0, 15em) minmax(0, 1fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline__years { color: var(--dim); font-size: 12.5px; }
.timeline strong { font-weight: 600; }
.timeline li > span:last-child { color: var(--muted); font-size: 15px; }
.timeline .is-now strong { color: var(--accent); }

/* Méthode : ce que vous obtenez, ce qui réduit le risque */
.step__get { margin-top: auto !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.step__get b { color: var(--text); font-weight: 600; }
.risk { margin-top: 16px; padding: clamp(22px, 3vw, 36px); border: 1px solid rgba(255, 200, 61, 0.28); border-radius: calc(var(--radius) + 4px); background: linear-gradient(180deg, rgba(255, 200, 61, 0.05), var(--surface) 70%); display: grid; gap: 16px; }
.risk__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.risk__list li { color: var(--muted); }
.risk__list strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.methode .next, #methode .next { margin: clamp(32px, 4vw, 48px) 0 0; }

/* CTA final */
.cta-final { text-align: center; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(32px, 6vw, 72px) 0; }
.cta-final h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; margin: 0; }
.cta-final p { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); margin: 0; }
.btn--lg { padding: 17px 28px; font-size: 17px; }
.cta-final .cta-final__alt { font-size: 15px; color: var(--dim); }
.cta-final__alt a { color: var(--muted); }

@media (max-width: 1100px) {
  .timeline li { grid-template-columns: 9em minmax(0, 1fr); }
  .timeline li > span:last-child { grid-column: 2; }
}
@media (max-width: 900px) {
  .offers, .proof--lead, .proof-grid, .who, .risk__list { grid-template-columns: minmax(0, 1fr); }
  .facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts--3 .fact:nth-child(3) { padding-left: 18px; border-left: 1px solid var(--line); }
  .who__photo { max-width: 340px; aspect-ratio: 1 / 1; }
}
@media (max-width: 640px) {
  .nav__min { display: none; }
  .facts--3 .fact { padding-right: 8px; }
  .facts--3 .fact + .fact { padding-left: 10px; }
  .fact__t { font-size: 12.5px; }
  .proof__rows { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .proof__rows dt { padding-top: 8px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); }
  .timeline li > span:last-child { grid-column: 1; }
  .offer__steps li { grid-template-columns: minmax(0, 1fr); }
  .offer__price { grid-column: 1; grid-row: auto; }
  .offer__steps li strong { grid-row: auto; }
  .cta-final { padding: 24px 0 8px; }
}

/* ---------- Passe conversion (2026-09-29, retours) ---------- */
.hero__lead { color: var(--text); }
.section--tight { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.who--compact { grid-template-columns: 180px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.who--compact .who__photo { aspect-ratio: 1 / 1; max-width: 180px; }
.who--compact .who__text h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 10px 0 6px; }
.who__role { font-size: 12.5px; color: var(--dim); margin: 0 0 12px !important; }
.timeline--compact { margin-top: clamp(24px, 3vw, 36px); }
.timeline--compact li { grid-template-columns: 10em minmax(0, 18em) minmax(0, 1fr); padding: 10px 0; }
.steps--short .step p { color: var(--muted); }
.steps--short .step h3 { font-size: 21px; }
.next--small { margin-top: clamp(28px, 4vw, 40px) !important; margin-bottom: 0; padding: clamp(20px, 3vw, 28px); }
.next--small strong { font-size: clamp(18px, 2vw, 24px); }
@media (max-width: 900px) {
  .who--compact { grid-template-columns: 96px minmax(0, 1fr); }
  .who--compact .who__photo { max-width: 96px; }
}
@media (max-width: 640px) {
  .timeline--compact li { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline--compact li > span:last-child { font-size: 14px; }
  .section__head p { font-size: 16px; }
  .proof--small .proof__rows dt:first-of-type, .proof--small .proof__rows dt:first-of-type + dd { display: none; }
}
.offers { align-items: start; }
.who__text .who__role { font-size: 12.5px; }
@media (max-width: 900px) { .who--compact { align-items: start; } }
@media (max-width: 640px) {
  .who--compact { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .who--compact .who__photo { max-width: none; width: 100%; aspect-ratio: 4 / 3; }
}

/* ---------- JOG.IA (2026-09-30) : mot-symbole, tarifs, bloc personne ---------- */
.wordmark { font-weight: 700; font-size: 21px; letter-spacing: -0.035em; line-height: 1; color: var(--text); }
.wordmark b { color: var(--accent); font-weight: 700; }
.brand { gap: 12px; }
.brand__desc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 400; padding-left: 12px; border-left: 1px solid var(--line-strong); line-height: 1.2; }

.offer__from { margin: -4px 0 0 !important; font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -0.02em; color: var(--accent) !important; }
.offer__from .mono { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-right: 6px; font-weight: 400; }
.offer__steps--after { padding-top: 16px; border-top: 1px solid var(--line); }

.person { display: flex; align-items: center; gap: 16px; text-align: left; margin-top: 18px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 560px; }
.person__photo { width: 64px; height: 64px; flex: none; border-radius: 50%; object-fit: cover; object-position: 46% 26%; border: 1px solid var(--line-strong); }
.person__text p { margin: 0; }
.person__name { font-weight: 600; color: var(--text) !important; font-size: 17px !important; }
.person__role { color: var(--dim) !important; font-size: 12px !important; margin: 2px 0 6px !important; }
.cta-final .person__line { font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) {
  .brand__desc { display: none; }
  .person { align-items: flex-start; }
  .person__photo { width: 52px; height: 52px; }
}

/* ---------- Notes (2026-09-30) : index, article, largeur de lecture ---------- */
.note-page { padding-bottom: clamp(48px, 7vw, 96px); }
.note-draft { margin: 0; padding: 8px var(--gutter); background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 12.5px; }
.note-art { max-width: calc(760px + 2 * var(--gutter)); }
.note__head { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 3vw, 36px); }
.note__head h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; margin: 22px 0 16px; text-wrap: balance; }
.note__meta { color: var(--dim); margin: 0 0 28px; }
.note__resume { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface); padding: 18px 20px; }
.note__resume .label { margin: 0 0 6px; }
.note__resume p:last-child { margin: 0; font-size: 18px; line-height: 1.55; color: var(--text); }
.note__body { max-width: none; }
.note__body h2 { margin-top: clamp(40px, 5vw, 56px); }
.note__body a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.note__body blockquote { margin: 22px 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--line-strong); color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 12px; }
.note__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.note__body th, .note__body td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); color: #d6d3cc; }
.note__body th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); font-weight: 500; background: var(--surface); }
.note__body tr:last-child td { border-bottom: 0; }
mark.a-valider { background: rgba(255, 122, 107, 0.18); color: #ffb3a8; padding: 1px 4px; border-radius: 4px; }
.note__sources { margin-top: clamp(40px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); }
.note__sources h2 { margin: 0 0 10px; font-weight: 400; }
.note__sources ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.note__sources li { margin-bottom: 6px; }
.note__sources a { color: var(--muted); }
.note__cta { margin-top: clamp(40px, 5vw, 56px); padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(255, 200, 61, 0.35); border-radius: calc(var(--radius) + 4px); background: linear-gradient(180deg, rgba(255, 200, 61, 0.07), var(--surface) 70%); display: grid; gap: 12px; justify-items: start; }
.note__cta p { margin: 0; color: var(--muted); }
.note__cta .note__cta-q { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: var(--text); }
.note__cta-alt { font-size: 14.5px; }
.note__cta-alt a { color: var(--text); }
.note__author { display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.note__author img { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; object-position: 46% 26%; border: 1px solid var(--line-strong); }
.note__author p { margin: 0; }
.note__author-line { color: var(--muted); font-size: 15px; line-height: 1.5; }
.note__related { margin-top: clamp(40px, 5vw, 56px); }
.note-list { display: grid; gap: 12px; margin-top: 12px; }
.note-card { display: grid; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--surface); text-decoration: none; transition: border-color 0.25s, transform 0.25s var(--ease); }
.note-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.note-card strong { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; }
.note-card__meta { color: var(--dim); font-size: 12px; }
.note-card__meta em { font-style: normal; color: var(--accent); }
.note-card__resume { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.note-index { padding-top: clamp(40px, 7vw, 88px); max-width: calc(860px + 2 * var(--gutter)); }
.note-index h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 600; margin: 16px 0 18px; text-wrap: balance; }
.note-index__intro { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 40em; margin: 0 0 clamp(32px, 4vw, 48px); }
.foot a { color: inherit; }
@media (max-width: 640px) {
  .note__body table { font-size: 13.5px; }
  .note__body th, .note__body td { padding: 8px 10px; }
}

/* ---------- Retours du 2026-09-30 (2) : deux chiffres, navigation mobile ---------- */
.facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.facts--2 .fact + .fact { padding-left: 18px; border-left: 1px solid var(--line); }
/* Les ancres ne passent jamais sous l'en-tête fixe (ordinateur) */
html { scroll-padding-top: 88px; }
/* Mobile et tablette : l'en-tête ne suit plus le défilement, il ne peut donc jamais masquer un texte ou couper une carte */
@media (max-width: 900px) {
  .top { position: relative; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); border-bottom-color: var(--line); }
  html { scroll-padding-top: 16px; }
}
/* Confort de lecture des Notes : environ 70 caractères par ligne sur ordinateur, texte un peu plus grand */
.note-art { max-width: calc(700px + 2 * var(--gutter)); }
.note__body p, .note__body li { font-size: 18.5px; line-height: 1.7; }
@media (max-width: 640px) { .note__body p, .note__body li { font-size: 17px; line-height: 1.65; } }

.offer__vat { display: block; margin-top: 2px; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0; color: var(--dim); }

/* Bloc « Outils du quotidien » (fin de Méthode) : noms seuls, monochrome, survol jaune */
.tools { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 18px clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); text-align: left; }
.tools__head .label { margin: 0 0 8px; }
.tools__disclaimer { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--dim); max-width: 22em; }
.tools__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(20px, 3vw, 40px); }
.tools__group-name { margin: 0 0 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.tools__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tool { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 14px; letter-spacing: 0.01em; color: var(--muted); cursor: default; }
.tool__name { background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: color 0.2s, background-size 0.3s var(--ease); }
.tool:hover .tool__name { color: var(--accent); background-size: 100% 1px; }
@media (max-width: 900px) { .tools { grid-template-columns: minmax(0, 1fr); } .tools__disclaimer { max-width: none; } }
@media (max-width: 640px) { .tools__groups { grid-template-columns: minmax(0, 1fr); gap: 16px; } .tool { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .tool__name { transition: none; } }
/* ---------- Système visuel des Notes (2026-10-01) : couverture, vignettes, figures informatives ---------- */
/* Règles : texte réel (jamais d'image de texte), petits textes en --muted pour le contraste AA, un seul accent. */
.note__cover { margin: 0 0 28px; }
.note__cover img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.note-card--img { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); column-gap: 24px; align-items: start; }
.note-card--img .note-card__img { grid-row: 1 / span 3; width: 100%; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 640px) {
  .note-card--img { grid-template-columns: minmax(0, 1fr); }
  .note-card--img .note-card__img { grid-row: auto; }
}

.nv { margin: 32px 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.nv__titre { margin: 0 0 18px !important; font-family: var(--mono); font-size: 12.5px !important; line-height: 1.4 !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted) !important; }
.nv p, .nv li { font-size: 15px !important; line-height: 1.5 !important; }
.nv ul, .nv ol { margin: 0; }
.prose .nv figcaption { margin-top: 16px; color: var(--muted); }
.nv strong { color: var(--text); }

/* Trois colonnes de classement (Automatisable / Sous contrôle humain / Humain seul) */
.nv-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nv-col { padding: 14px 14px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.nv-col__tete { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 4px 10px; margin: 0 0 6px !important; font-weight: 600; color: var(--text) !important; font-size: 16px !important; line-height: 1.25 !important; }
.nv-col__n { grid-column: 2; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.04em; color: var(--muted); }
.nv-col__def { margin: 0 0 10px !important; color: var(--muted) !important; }
.nv-col ul { padding-left: 18px; }
.nv-col li { margin-bottom: 6px; color: #d6d3cc; }
.nv-case { width: 16px; height: 16px; flex: none; border-radius: 4px; }
.nv-case--plein { background: var(--accent); }
.nv-case--contour { border: 2px solid var(--accent); }
.nv-case--gris { background: var(--line-strong); }
.nv__regle { margin: 16px 0 0 !important; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--text) !important; }

/* Règles de décision + barres de score */
.nv-regles { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 20px !important; }
.nv-regles li { color: #d6d3cc; margin: 0; }
.nv-barres { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.nv-barre { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 0 !important; }
.nv-barre::marker { content: none; }
.nv-barre__lib { color: #d6d3cc; }
.nv-barre__piste { position: relative; height: 14px; border-radius: 7px; background: var(--line); }
.nv-barre__piste::after { content: ""; position: absolute; left: calc(9 / 12 * 100%); top: -6px; bottom: -6px; width: 2px; background: var(--text); border-radius: 1px; }
.nv-barre__val { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / 12 * 100%); border-radius: 7px; background: var(--muted); }
.nv-barre--accent .nv-barre__val { background: var(--accent); }
.nv-barre__n { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.nv-barre--accent .nv-barre__n, .nv-barre--accent .nv-barre__lib { color: var(--text); font-weight: 600; }

/* Chaîne processus réel → IA → contrôle humain → résultat */
.nv-chaine { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: nv; }
.nv-chaine li { position: relative; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.nv-chaine li::marker { content: none; }
.nv-chaine li + li::before { content: "→"; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; line-height: 1; }
.nv-chaine p { margin: 0 !important; color: #d6d3cc; }
.nv-chaine .nv-chaine__etape { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px !important; font-weight: 600; color: var(--text); }
.nv-chaine--ia { border-color: var(--accent) !important; }
.nv-chaine--humain { border-color: var(--text) !important; }
.nv-tag { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--text); color: var(--text); }
.nv-tag--ia { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.nv-boucle { margin-top: 16px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; }
.nv-boucle p { margin: 0 !important; color: #d6d3cc; }
.nv-boucle .nv-boucle__titre { margin-bottom: 4px !important; font-weight: 600; color: var(--text); }

@media (max-width: 720px) {
  .nv-cols { grid-template-columns: minmax(0, 1fr); }
  .nv-chaine { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .nv-chaine li + li::before { content: "↓"; left: 50%; top: -22px; transform: translateX(-50%); }
  .nv-barre { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .nv-barre__lib { grid-column: 1 / -1; }
}

/* Texte réservé aux lecteurs d'écran et aux robots : ancres descriptives sans changement visuel */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.risk__more { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; }
.risk__more a { color: var(--text); text-underline-offset: 3px; }
.shots picture { display: block; }
