/* ————————————————————————————————————————
   Alphabet du mouvement — site éditorial
   Même langue que l'outil : encre #111, papier #fff,
   gris d'annotation #8a8a8a, filet #e3e3e3, grotesque.
   La ligne de base typographique est la signature.
   ———————————————————————————————————————— */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --note: #8a8a8a;
  --rule: #e3e3e3;
  --rule-strong: #111111;

  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Menlo", "Roboto Mono", monospace;

  --col: 760px;       /* colonne de lecture */
  --rail: 168px;      /* rail de marge (numéros, annotations) */
  --gutter: 40px;

  --step: clamp(13px, 1.1vw, 14px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ——— éléments de texte ——— */
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.mono {
  font-family: var(--mono);
  font-size: var(--step);
  letter-spacing: 0.02em;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--note);
}

/* ——— barre supérieure ——— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 56px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.topbar .wordmark {
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 15px;
}
.topbar nav {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.topbar nav a { text-decoration: none; color: var(--note); transition: color .15s; }
.topbar nav a:hover { color: var(--ink); }
.topbar nav a.cta { color: var(--ink); }
.topbar nav a.cta::before { content: "→ "; }
@media (max-width: 720px) { .topbar nav a:not(.cta) { display: none; } }

/* ——— gabarit : rail de marge + colonne ——— */
.wrap {
  max-width: calc(var(--rail) + var(--gutter) + var(--col));
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}
.band { border-top: 1px solid var(--rule); }
.band:first-of-type { border-top: 0; }

.row {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  gap: var(--gutter);
  padding: clamp(48px, 7vw, 96px) 0;
}
.row > .rail {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--note);
}
.row > .rail .num {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 10px;
}
.row > .rail .annot { display: block; margin-top: 14px; line-height: 1.5; }
.col { max-width: var(--col); }
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; gap: 18px; padding: 44px 0; }
  .row > .rail { display: flex; gap: 16px; align-items: baseline; }
  .row > .rail .num { margin: 0; }
  .row > .rail .annot { display: none; }
}

/* ——— titres ——— */
h2 {
  font-weight: 400;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
h3 {
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.01em;
  margin: 30px 0 8px;
}
.col p { margin-bottom: 16px; max-width: 64ch; }
.col p .lead { }
.col p:first-of-type.lead, p.lead {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.col strong { font-weight: 600; }
.col em { font-style: italic; color: #2a2a2a; }

/* listes sobres, sans puces décoratives */
.defs { margin: 8px 0 4px; }
.defs .item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.defs .item:last-child { border-bottom: 1px solid var(--rule); }
.defs .item dt { font-weight: 600; }
.defs .item dd { color: #333; }
@media (max-width: 540px) {
  .defs .item { grid-template-columns: 1fr; gap: 4px; }
}

/* ——— héros ——— */
.hero { padding: clamp(40px, 9vw, 110px) 0 clamp(36px, 6vw, 72px); }
.hero .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-weight: 300;
  font-size: clamp(40px, 9.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.hero h1 .it { font-style: italic; font-weight: 300; }
/* la ligne de base — signature reprise de l'outil */
.hero .baseline-rule {
  height: 1px;
  background: var(--rule);
  position: relative;
  margin: 18px 0 26px;
}
.hero .baseline-rule::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 1px;
  width: 0;
  background: var(--ink);
  animation: drawbase 1.4s 0.2s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes drawbase { to { width: 38%; } }
.hero .manifesto {
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.4;
  max-width: 34ch;
  letter-spacing: -0.01em;
}
.hero .figure { margin-top: 40px; }

/* ——— boutons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background .16s, color .16s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .16s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ——— figures / svg ——— */
figure { margin: 28px 0; }
figure svg { width: 100%; height: auto; display: block; }
figcaption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--note);
  margin-top: 12px;
  max-width: 60ch;
}
.svg-ink { stroke: var(--ink); fill: none; }
.svg-note { stroke: var(--note); fill: none; }
.svg-fill { fill: var(--ink); stroke: none; }
.svg-lbl { font-family: var(--mono); font-size: 11px; fill: var(--note); letter-spacing: .04em; }

/* ——— bande d'appel finale ——— */
.callout {
  padding: clamp(56px, 9vw, 120px) 0;
  text-align: center;
}
.callout h2 { max-width: 18ch; margin: 0 auto 10px; }
.callout p { color: var(--note); max-width: 48ch; margin: 0 auto 8px; }

/* ——— pied ——— */
footer {
  border-top: 1px solid var(--rule);
  padding: 44px 0 72px;
}
footer .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}
footer h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--note);
  margin-bottom: 10px;
  font-weight: 400;
}
footer p, footer li { font-size: 14px; line-height: 1.6; color: #333; list-style: none; }
footer a { color: #333; text-underline-offset: 3px; }
footer .fine { margin-top: 28px; color: var(--note); font-size: 12.5px; }

/* ——— révélation au défilement ——— */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .baseline-rule::before { animation: none; width: 38%; }
}
