@charset "utf-8";
/* NETEKA — design system
   Single stylesheet. Every value comes from the design handoff.
   No framework, no gradients, no shadows: elevation is hairlines only. */

/* ---------------------------------------------------------------- fonts */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrainsmono-var.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------- tokens */
/* Light is the default. Dark is offered only to viewers whose system asks for
   it, and is deliberately lifted off pure black — the near-#000 canvas of the
   original handoff read as too heavy. */
:root {
  color-scheme: light;

  --canvas: #F6F7F4;
  --surface-1: #EDEFEA;
  --surface-2: #E3E6E0;
  --surface-3: #D7DBD4;
  --hairline: #D9DCD5;
  --rule-strong: #7C837D;
  --grid-line: #E2E5DE;

  --text-1: #141716;
  --text-2: #3D4341;
  --text-3: #5A615E;

  --accent: #C8F24E;
  --accent-text: #41590A;
  --accent-hover: #BCE73C;
  --accent-ink: #12160B;

  --success: #2F7D4B;
  --warning: #8A6209;
  --danger: #B92E1C;

  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step-5: clamp(40px, 5vw, 61px);
  --step-4: clamp(34px, 4vw, 49px);
  --step-3: clamp(28px, 3.2vw, 39px);
  --step-2: clamp(25px, 2.4vw, 31px);
  --step-1: 25px;
  --step-0-lg: 20px;
  --step-0: 16px;
  --caption: 12px;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  --max-width: 1200px;
  --gutter: 24px;
  --margin: 40px;
  --section: 96px;

  --radius-0: 0;
  --radius-1: 2px;
  --radius-2: 4px;

  --scrim: rgba(20, 23, 22, .58);

  --dur: 160ms;
  --ease: cubic-bezier(.2, 0, 0, 1);
}

/* Dark theme — opt-in only, via the header switch. There is deliberately no
   prefers-color-scheme rule: a visitor whose system is dark still gets the
   light site unless they ask for dark here. */
:root[data-theme="dark"] {
  --canvas: #191C1E;
  --surface-1: #212528;
  --surface-2: #292E31;
  --surface-3: #333A3D;
  --hairline: #2F3538;
  --rule-strong: #79837F;
  --grid-line: #232729;
  --text-1: #F2F4F3;
  --text-2: #B4BAB8;
  --text-3: #949B98;
  --accent: #C8F24E;
  --accent-text: #CBF45B;
  --accent-hover: #D9FA74;
  --accent-ink: #12160B;
  --success: #6FD08C;
  --warning: #E8B54A;
  --danger: #F2705E;
  --scrim: rgba(0, 0, 0, .66);
}

@media (max-width: 900px) {
  :root { --gutter: 16px; --margin: 20px; --section: 64px; }
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

body {
  background: var(--canvas);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ------------------------------------------------------------ typography */
h1, h2, h3, h4 { color: var(--text-1); font-weight: 600; line-height: 1.15; }
h1 { font-size: var(--step-5); line-height: 1.05; letter-spacing: -0.025em; max-width: 22ch; }
h2 { font-size: var(--step-3); letter-spacing: -0.015em; }
h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: var(--step-1); line-height: 1.35; letter-spacing: 0; font-weight: 500; }
p { max-width: 68ch; }
a { color: var(--text-1); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
strong { color: var(--text-1); font-weight: 600; }

.lede { font-size: var(--step-0-lg); line-height: 1.55; color: var(--text-2); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.eyebrow { color: var(--accent-text); }
.muted { color: var(--text-3); }

/* ---------------------------------------------------------------- layout */
.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--margin);
}
.section { padding-block: var(--section); }
.section--surface { background: var(--surface-1); border-block: 1px solid var(--hairline); }
.section__head { margin-bottom: var(--space-12); }
.section__head .mono { margin-bottom: var(--space-4); }

.cols { display: grid; gap: var(--space-20); }
.cols--hero { grid-template-columns: 1fr 440px; align-items: start; }
.cols--split { grid-template-columns: 400px 1fr; }
.cols--build { grid-template-columns: 1fr 420px; }
.cols--person { grid-template-columns: 320px 1fr; }
.cols--contact { grid-template-columns: 1fr 520px; }
.cols--3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

@media (max-width: 1080px) {
  .cols--hero, .cols--build, .cols--contact { grid-template-columns: 1fr; gap: var(--space-12); }
}
@media (max-width: 900px) {
  .cols, .cols--3, .cols--split, .cols--person {
    grid-template-columns: 1fr; gap: var(--space-10);
  }
}

.skip {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-1);
  font-family: var(--font-mono); font-size: var(--caption); letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: var(--space-4); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-6);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-1); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--secondary { border-color: var(--rule-strong); color: var(--text-1); background: none; }
.btn--secondary:hover { border-color: var(--text-1); color: var(--text-1); }
.btn--ghost {
  background: none; color: var(--accent-text); padding: 0; min-height: 0;
  border-bottom: 1px solid currentColor; border-radius: 0;
}
.btn--ghost:hover { color: var(--text-1); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--surface-3); color: #7C8381; border-color: transparent; cursor: not-allowed;
}
.btn--full { width: 100%; }

:where(a, button, summary, input, [tabindex]):focus-visible {
  outline: 2px solid var(--text-1);
  outline-offset: 3px;
  border-radius: var(--radius-1);
}

/* ---------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.header__inner {
  display: flex; align-items: center; gap: var(--space-8);
  padding-block: 18px;
}
.header__brand { display: flex; align-items: center; gap: var(--space-3); color: var(--text-1); text-decoration: none; flex: none; }
.header__brand svg { color: var(--accent-text); }
.header__brand .wordmark { color: var(--text-1); }
.header__nav { display: flex; gap: var(--space-6); margin-left: var(--space-6); }
.header__nav a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2); text-decoration: none; white-space: nowrap;
}
.header__nav a:hover { color: var(--text-1); }
.header__spacer { flex: 1 1 auto; }
.header__wa {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-1);
  text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.header__wa:hover { color: var(--accent-text); }
.header__toggle { display: none; }

.wordmark { height: 15px; width: 105px; flex: none; }
.mark { height: 30px; width: 30px; flex: none; }

@media (max-width: 1080px) {
  .header__nav { display: none; }
  .header__nav.is-open {
    display: flex; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--canvas); border-bottom: 1px solid var(--hairline);
    padding: var(--space-4) var(--margin) var(--space-6);
  }
  .header__nav.is-open a { padding-block: var(--space-3); font-size: 13px; }
  .header__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 1px solid var(--rule-strong);
    border-radius: var(--radius-1); cursor: pointer; color: var(--text-1);
  }
  .header__inner { gap: var(--space-4); }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero { padding-top: var(--section); padding-bottom: var(--space-20); }
.hero h1 { margin-block: var(--space-6) var(--space-6); }
.hero__actions {
  display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap;
  margin-top: var(--space-10);
}
.hero__wa {
  font-family: var(--font-mono); font-size: 19px; color: var(--text-1);
  text-decoration: none; font-variant-numeric: tabular-nums; display: block;
}
.hero__wa:hover { color: var(--accent-text); }
.header__wa, .hero__wa { display: inline-flex; align-items: center; gap: 8px; }
.ico-wa { width: 15px; height: 15px; flex: none; }
.ico-wa--lg { width: 18px; height: 18px; }
.hero__wa-note { margin-top: var(--space-1); }

.strip {
  background: var(--surface-1);
  border-block: 1px solid var(--rule-strong);
  padding-block: var(--space-6);
}
.strip__list {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-4) var(--space-10);
  font-size: 15px; line-height: 1.4; color: var(--text-2);
}
.strip__list li { display: flex; align-items: baseline; gap: var(--space-2); }
.strip__list li::before {
  content: ""; flex: none;
  width: 7px; height: 7px; background: var(--accent-text);
  transform: translateY(-2px);
}
.strip__list b { color: var(--text-1); font-weight: 600; }
@media (max-width: 900px) { .strip__list { gap: var(--space-3) var(--space-6); font-size: 14px; } }
/* ---------------------------------------------------------------- cards */
.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-2);
  padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.card--flat { background: none; }
.card__hr { border: 0; border-top: 1px solid var(--hairline); margin-block: var(--space-2); }
.card__quote { color: var(--text-1); font-size: var(--step-0-lg); line-height: 1.5; }
.card__meta { display: flex; flex-direction: column; gap: var(--space-1); }
.card__foot { max-width: none; margin-top: auto; padding-top: var(--space-4); }

.grid-complaints { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.grid-complaints > li { background: var(--canvas); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.grid-complaints q { color: var(--text-1); quotes: "«\00a0" "\00a0»"; display: block; }
@media (max-width: 720px) { .grid-complaints { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- tables */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: var(--space-4) var(--space-4) var(--space-4) 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.table th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); font-weight: 400; white-space: nowrap; width: 34%;
}
.table td { color: var(--text-2); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table tr.is-us th { color: var(--accent-text); }
.table tr.is-us td { color: var(--text-1); }

/* ----------------------------------------------------------- row lists */
/* A definition list read as a table of claims: term, then what it means.
   Used for "what I handle" and "who this is for". */
.rows { border-top: 1px solid var(--hairline); }
.rows > div {
  display: grid; grid-template-columns: 1fr;
  gap: var(--space-2);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--hairline);
}
.rows dt { color: var(--text-1); font-weight: 500; font-size: var(--step-0-lg); line-height: 1.35; }
.rows dd { color: var(--text-2); }
.rows--wide > div { grid-template-columns: 380px 1fr; gap: var(--space-10); align-items: baseline; }
@media (max-width: 900px) { .rows--wide > div { grid-template-columns: 1fr; gap: var(--space-2); } }

/* ------------------------------------------------------------- diagrams */
.figure { margin: 0; }
.figure__frame {
  position: relative;
  border: 1px solid var(--hairline);
  background:
    repeating-linear-gradient(to right, var(--grid-line) 0 1px, transparent 1px 23px),
    repeating-linear-gradient(to bottom, var(--grid-line) 0 1px, transparent 1px 23px);
  background-color: var(--surface-1);
}
.figure__frame svg { width: 100%; height: auto; }
.figure__frame::before, .figure__frame::after {
  content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none;
  border: 0 solid var(--accent-text);
}
.figure__frame::before { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.figure__frame::after { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }
.figure figcaption {
  display: flex; justify-content: space-between; gap: var(--space-4);
  margin-top: var(--space-3);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3);
}
.figure__alt { margin-top: var(--space-3); }
.figure__alt summary {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); cursor: pointer;
}
.figure__alt summary:hover { color: var(--text-1); }
.figure__alt .table { margin-top: var(--space-4); }
.figure__alt p { font-size: 14px; margin-top: var(--space-3); }

.dgm-line { stroke: var(--rule-strong); stroke-width: 1; fill: none; }
.dgm-line--accent { stroke: var(--accent-text); }
.dgm-node { fill: var(--accent-text); }
.dgm-node--hollow { fill: none; stroke: var(--rule-strong); stroke-width: 1.5; }
.dgm-box { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.dgm-box--accent { stroke: var(--accent-text); }
.dgm-t {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  fill: var(--text-3); text-transform: uppercase;
}
.dgm-t--accent { fill: var(--accent-text); }
.dgm-t--lg { font-size: 15px; letter-spacing: 0.03em; }
.dgm-t--strong { fill: var(--text-1); }

/* ------------------------------------------------------------- scenarios */
.scenario { border: 1px solid var(--hairline); border-radius: var(--radius-2); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.scenario dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--space-1); }
.scenario dd { color: var(--text-2); }
.scenario .is-result { color: var(--text-1); }

/* --------------------------------------------------------------- method */
.method { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-strong); }
.method > li { padding: var(--space-8) var(--space-8) 0; }
.method > li:first-child { padding-left: 0; }
.method > li:last-child { padding-right: 0; }
.method > li + li { border-left: 1px solid var(--hairline); }
.method h3 { margin-block: var(--space-3) var(--space-3); }
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; }
  .method > li { padding: var(--space-8) 0; border-left: 0; border-bottom: 1px solid var(--hairline); }
  .method > li:last-child { border-bottom: 0; }
}

/* ---------------------------------------------------------------- person */
.portrait {
  aspect-ratio: 320 / 400; width: 100%;
  background: var(--surface-2); border: 1px solid var(--hairline);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2);
  text-align: center; padding: var(--space-4);
}
.person__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: var(--space-8); }
.person__facts > div { background: var(--surface-1); padding: var(--space-5); }
.person__facts dt { margin-bottom: var(--space-2); }
.person__facts dd { font-size: 14px; line-height: 1.6; }
@media (max-width: 720px) { .person__facts { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- form */
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.field input {
  min-height: 48px; padding: 0 var(--space-4);
  background: var(--canvas); color: var(--text-1);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-1);
}
.field input:focus { border-color: var(--accent); outline: none; }
.field input:focus-visible { outline: 2px solid var(--text-1); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--danger); min-height: 1em; }
.form__note { font-size: 13px; color: var(--text-3); margin-top: var(--space-4); }

/* ------------------------------------------------------------ scheduler */
.sched { border: 1px solid var(--hairline); border-radius: var(--radius-2); background: var(--surface-1); }
.sched__head { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--hairline); }
.sched__body { padding: var(--space-5); }
.sched__month { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.sched__month h3 { font-size: var(--step-0-lg); font-weight: 500; }
.sched__nav { display: flex; gap: var(--space-2); }
.sched__nav button { width: 36px; height: 36px; background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius-1); color: var(--text-1); cursor: pointer; }
.sched__nav button:hover { border-color: var(--text-1); }
.sched__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--space-1); }
.sched__dow { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); text-align: center; padding-bottom: var(--space-2); }
.sched__day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums;
  background: none; border: 1px solid transparent; border-radius: var(--radius-1);
  color: var(--text-2); cursor: pointer; min-height: 36px;
}
.sched__day:hover:not([disabled]) { border-color: var(--rule-strong); color: var(--text-1); }
.sched__day[disabled] { color: var(--text-3); opacity: .45; cursor: default; }
.sched__day[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.sched__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-top: var(--space-5); }
.sched__slot {
  min-height: 44px; font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums;
  background: none; border: 1px solid var(--rule-strong); border-radius: var(--radius-1);
  color: var(--text-1); cursor: pointer;
}
.sched__slot:hover { border-color: var(--text-1); }
.sched__slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.sched__foot { padding: var(--space-5); border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: var(--space-3); }
.sched__nojs { padding: var(--space-5); }
.sched .js-only { display: none; }
.has-js .sched .js-only { display: block; }
.has-js .sched .nojs-only { display: none; }
/* La flèche de navigation est un conteneur flex : le display:block ci-dessus
   ne doit pas l'aplatir. */
.has-js .sched .sched__nav.js-only { display: flex; }

/* Cases vides en tête de mois, pour que le 1er tombe dans la bonne colonne. */
.sched__day--void { visibility: hidden; pointer-events: none; }

/* Étape 2 — les trois champs, dans le même panneau que le calendrier. */
.sched__form { padding: 0; }
.sched__recap {
  font-size: var(--step-0-lg); line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
.sched__form .field:first-of-type { margin-top: 0; }
.sched__form .btn + .btn { margin-top: var(--space-3); }
.sched__canal {
  border: 0; padding: 0; margin: 0 0 var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.sched__canal legend { margin-bottom: var(--space-2); }
.sched__canal label {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--step-0); color: var(--text-2); cursor: pointer;
}
@media (pointer: coarse) { .sched__canal label { min-height: 44px; } }

/* Étape 3 — le message de sortie. */
.sched__done-lead {
  font-size: var(--step-1); line-height: 1.25; letter-spacing: -0.01em;
  margin-block: var(--space-3) var(--space-4);
}

/* --------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--hairline); padding-block: var(--space-16) var(--space-8); margin-top: var(--section); }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-10); }
.footer h2 { font-size: var(--caption); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-4); }
.footer__col a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer__col a:hover { color: var(--text-1); }
.footer__legal {
  /* a <p> used as a layout row: opt it out of the 68ch reading measure,
     otherwise its hairline stops short of the grid above it */
  max-width: none;
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6);
  margin-top: var(--space-16); padding-top: var(--space-5);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3);
}
.footer__legal a { color: var(--text-3); text-decoration: none; }
.footer__legal a:hover { color: var(--text-1); }
.footer__zero { color: var(--accent-text); }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr; } }

/* --------------------------------------------------- sticky mobile bar */
.dock { display: none; }
@media (max-width: 720px) {
  .dock {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    display: flex; gap: var(--space-2);
    padding: 12px 16px calc(22px + env(safe-area-inset-bottom));
    background: var(--surface-1); border-top: 1px solid var(--hairline);
  }
  .dock .btn { flex: 1; }
  .dock__wa { flex: 1; }
  body { padding-bottom: 96px; }
}

/* -------------------------------------------------------------- utility */
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.note { font-size: 14px; color: var(--text-3); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
@media print {
  .header, .dock, .sched { display: none; }
  body { background: #fff; color: #000; }
}

/* contact facts — three rows, hairline separated, no empty cells */
.facts { border-top: 1px solid var(--hairline); }
.facts > div {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--space-4);
  padding-block: var(--space-4); border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.facts dt { padding-top: 4px; }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: var(--space-1); } }

/* ---------------------------------------------- small screens & touch */
@media (max-width: 420px) {
  .header__inner { gap: var(--space-3); }
  .header__brand .wordmark { display: none; }
  .header__wa { font-size: 12px; }
}

/* WCAG 2.2 — every tap target reaches 44px where the pointer is coarse.
   Applied by pointer type, not width, so desktop density is untouched. */
@media (pointer: coarse) {
  .header__brand,
  .header__wa,
  .hero__wa,
  .btn--ghost,
  .footer__col a,
  .footer__legal a,
  .facts a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .footer__col ul { gap: 0; }
  .sched__day { min-height: 44px; }
  .sched__nav button { width: 44px; height: 44px; }
}

/* Grid children default to min-width:auto, which lets an unshrinkable child
   blow the track out past the viewport. Pin them to 0. */
.cols > *, .cols--3 > * { min-width: 0; }

.hero .lede + p { margin-top: var(--space-5); }

/* ------------------------------------------------------------ logo block */
/* Replaces the founder portrait: the identity, not a person. */
.logo-block {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-6);
  aspect-ratio: 320 / 340;
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  padding: var(--space-8);
}
.logo-block__mark { width: 84px; height: 84px; color: var(--accent-text); }
.logo-block__word { width: 182px; height: 26px; color: var(--text-1); }

/* --------------------------------------------------------- consent banner */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  background: var(--surface-1);
  border-top: 1px solid var(--rule-strong);
}
.consent[hidden] { display: none; }
.consent__inner {
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-5);
}
.consent p { font-size: 14px; line-height: 1.55; max-width: 78ch; }
.consent .mono { margin-bottom: var(--space-2); }
.consent__actions { display: flex; gap: var(--space-3); }
.consent__actions .btn { min-width: 120px; }
@media (max-width: 760px) {
  .consent__inner { grid-template-columns: 1fr; gap: var(--space-4); padding-bottom: calc(var(--space-5) + env(safe-area-inset-bottom)); }
  .consent__actions .btn { flex: 1; min-width: 0; }
}
/* the banner sits above the sticky mobile bar; give the page room for both */
@media (max-width: 720px) {
  .consent { bottom: 96px; }
  body.has-consent-banner { padding-bottom: 260px; }
}

/* a button that has to sit inline among footer links */
.footer__link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3);
  text-decoration: underline; text-underline-offset: 3px;
}
.footer__link:hover { color: var(--text-1); }

/* ------------------------------------------------------------- closing CTA */
.closing__inner {
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-16);
  align-items: center;
}
.closing__actions { display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
@media (max-width: 900px) {
  .closing__inner { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ---------------------------------------------------------- contact modal */
/* Driven by :target, so it works with JavaScript disabled: every contact CTA
   is a link to #reserver, and the scrim and close button are links back to
   #main. The script only refines it — no hash in the URL, focus trap, Escape —
   and is never required for the dialog to open or close. */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: none;
  overflow-y: auto; overscroll-behavior: contain;
}
.modal:target,
.modal.is-open { display: block; }

.modal__scrim {
  position: fixed; inset: 0;
  background: var(--scrim);
  border: 0; display: block;
}
.modal__panel {
  position: relative;
  max-width: 1120px;
  margin: max(4vh, var(--space-8)) auto;
  background: var(--canvas);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-2);
  padding-block: var(--space-12);
}
.modal__wrap { padding-inline: var(--space-12); }
.modal__close {
  display: inline-flex; align-items: center; justify-content: center;
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 44px; height: 44px;
  background: var(--canvas); border: 1px solid var(--rule-strong);
  border-radius: var(--radius-1); color: var(--text-1);
  text-decoration: none;
}
.modal__close:hover { border-color: var(--text-1); color: var(--text-1); }
.modal__cols { margin-top: var(--space-10); }
body.modal-open { overflow: hidden; }
@media (max-width: 900px) {
  .modal__panel { margin: 0; min-height: 100%; border: 0; border-radius: 0; }
  .modal__wrap { padding-inline: var(--margin); }
}

/* ---------------------------------------------------------- theme switch */
.theme {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  background: none; border: 1px solid var(--hairline);
  border-radius: var(--radius-1); color: var(--text-2); cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.theme:hover { border-color: var(--rule-strong); color: var(--text-1); }
.theme .theme__moon { display: none; }
:root[data-theme="dark"] .theme .theme__sun { display: none; }
:root[data-theme="dark"] .theme .theme__moon { display: block; }
@media (pointer: coarse) { .theme { width: 44px; height: 44px; } }

/* =====================================================================
   ADDITIONS — objection block, scope list, sub-pages, self-diagnostics
   Same tokens, same hairline vocabulary. No new colour, no new radius.
   ===================================================================== */

/* ------------------------------------------------------------ objection */
/* The named objection, answered in the open. Marked by a single accent
   rule on the inline start edge — the only emphasis it gets. */
.objection {
  margin-top: var(--space-16);
  border: 1px solid var(--hairline);
  border-inline-start: 2px solid var(--accent-text);
  background: var(--surface-1);
  padding: var(--space-8);
}
.objection > h3 {
  font-size: var(--step-1); line-height: 1.25; color: var(--text-1);
  margin-bottom: var(--space-5); max-width: 34ch;
}
.objection > p + p { margin-top: var(--space-4); }
.objection > p { max-width: 78ch; }

/* ------------------------------------------------------------- checklist */
/* The marker is positioned, not a grid cell: a grid item would put the <b>
   in the text column and push the sentence that follows into the 14px one,
   which wraps it a word per line. */
.checklist { display: grid; gap: var(--space-4); }
.checklist > li {
  position: relative; padding-left: var(--space-6); color: var(--text-2);
}
.checklist > li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border: 1px solid var(--accent-text);
}
.checklist b { color: var(--text-1); font-weight: 500; }

/* --------------------------------------------------------- section parts */
/* Two equal columns: the 400px rail of .cols--split turns a scannable list
   into a very tall one. */
.cols--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .cols--even { grid-template-columns: 1fr; } }

.subhead {
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--rule-strong);
}
.subhead h3 { font-size: var(--step-2); color: var(--text-1); line-height: 1.2; }
.block-gap { margin-top: var(--space-16); }
.figure--wide { margin-top: var(--space-16); }

/* --------------------------------------------------------- page headers */
/* Sub-pages: legal pages and the two tools. */
.pagehead {
  padding-block: var(--space-16) var(--space-10);
  border-bottom: 1px solid var(--rule-strong);
}
.pagehead h1 { max-width: 22ch; }
.pagehead .lede { margin-top: var(--space-5); max-width: 60ch; }
.crumb {
  display: flex; gap: var(--space-3); align-items: center;
  margin-bottom: var(--space-6);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
}
.crumb a { color: var(--text-3); text-decoration: none; }
.crumb a:hover { color: var(--text-1); }

/* ------------------------------------------------------------- documents */
/* Legal prose. One column, generous measure, no decoration. */
.doc { padding-block: var(--space-16); max-width: 70ch; }
.doc h2 {
  font-size: var(--step-2); color: var(--text-1); line-height: 1.2;
  margin-top: var(--space-16); margin-bottom: var(--space-5);
  padding-top: var(--space-4); border-top: 1px solid var(--rule-strong);
}
.doc h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.doc h3 {
  font-size: var(--step-0-lg); color: var(--text-1);
  margin-top: var(--space-8); margin-bottom: var(--space-3);
}
.doc p, .doc ul, .doc dl, .doc .table { margin-top: var(--space-4); }
.doc ul { display: grid; gap: var(--space-3); }
.doc ul > li { position: relative; padding-left: var(--space-6); }
.doc ul > li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 8px; height: 1px; background: var(--rule-strong);
}
.doc .table { width: 100%; }
.doc__updated {
  margin-top: var(--space-16); padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
}

/* ----------------------------------------------------- self-diagnostics */
.diag { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-16); align-items: start; }
@media (max-width: 1080px) { .diag { grid-template-columns: 1fr; gap: var(--space-12); } }

.diag__group + .diag__group { margin-top: var(--space-12); }
.diag__group > h2 {
  font-size: var(--step-1); color: var(--text-1); line-height: 1.25;
  padding-bottom: var(--space-3); border-bottom: 1px solid var(--rule-strong);
}
.diag__group > p { margin-top: var(--space-3); color: var(--text-3); font-size: 14px; }

.diag__q { border: 0; padding: 0; margin: 0; padding-block: var(--space-6); border-bottom: 1px solid var(--hairline); }
.diag__q legend { color: var(--text-1); font-size: var(--step-0-lg); line-height: 1.35; padding: 0; }
.diag__q .note { margin-top: var(--space-2); max-width: 62ch; }
.diag__opts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

.diag__opt {
  display: inline-flex; align-items: center; gap: var(--space-3);
  min-height: 44px; padding: var(--space-2) var(--space-5);
  border: 1px solid var(--hairline); background: var(--canvas);
  color: var(--text-2); cursor: pointer;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.diag__opt:hover { border-color: var(--rule-strong); }
.diag__opt input {
  appearance: none; -webkit-appearance: none;
  width: 14px; height: 14px; flex: none; margin: 0;
  border: 1px solid var(--rule-strong); border-radius: 50%;
  display: grid; place-content: center;
}
.diag__opt input:checked { border-color: var(--accent-text); }
.diag__opt input:checked::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text);
}
.diag__opt:has(input:checked) { border-color: var(--accent-text); background: var(--surface-1); color: var(--text-1); }
.diag__opt:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 2px; }

/* --- the panel ------------------------------------------------------- */
.diag__panel { position: sticky; top: var(--space-10); display: grid; gap: var(--space-6); }
@media (max-width: 1080px) { .diag__panel { position: static; } }
.diag__card { border: 1px solid var(--hairline); background: var(--surface-1); padding: var(--space-6); }
.diag__card > h2 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3); font-weight: 400;
}

.diag__score { display: flex; align-items: baseline; gap: var(--space-3); margin-top: var(--space-4); }
.diag__score b { font-size: var(--step-4); font-weight: 600; color: var(--text-1); font-variant-numeric: tabular-nums; line-height: 1; }
.diag__score span { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.diag__level { margin-top: var(--space-3); color: var(--text-1); font-size: var(--step-0-lg); line-height: 1.3; }
.diag__level + p { margin-top: var(--space-2); color: var(--text-2); font-size: 14px; }
.diag__progress {
  margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-3);
}

.meter { width: 100%; height: 8px; margin-top: var(--space-4); display: block; }
.meter__track { fill: var(--surface-3); }
.meter__fill { fill: var(--accent-text); }

.diag__domains { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.diag__domain { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-4); align-items: baseline; }
.diag__domain > span:first-child { color: var(--text-2); font-size: 14px; }
.diag__domain > span:last-of-type { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.diag__domain .meter { grid-column: 1 / -1; margin-top: 0; height: 4px; }

.diag__todo { margin-top: var(--space-4); display: grid; gap: var(--space-4); }
.diag__todo > li { display: grid; gap: var(--space-1); padding-bottom: var(--space-4); border-bottom: 1px solid var(--hairline); }
.diag__todo > li:last-child { border-bottom: 0; padding-bottom: 0; }
.diag__todo b { color: var(--text-1); font-weight: 500; }
.diag__todo span { color: var(--text-2); font-size: 14px; }
.diag__tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; justify-self: start;
  padding: 2px 6px; border: 1px solid currentColor;
}
.diag__tag--1 { color: var(--danger); }
.diag__tag--2 { color: var(--warning); }
.diag__tag--3 { color: var(--text-3); }
.diag__tag--0 { color: var(--text-3); border-style: dashed; }

.diag__empty { margin-top: var(--space-4); color: var(--text-3); font-size: 14px; }
.diag__privacy {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--text-3); line-height: 1.6;
}
[hidden] { display: none !important; }
.note--spaced { margin-top: var(--space-5); }

/* --------------------------------------------- diagnostics: js / no-js */
.diag .js-only, .diag__out { display: none; }
.has-js .diag .js-only { display: block; }
.has-js .diag__out { display: block; }
.has-js .diag .nojs-only, .has-js .nojs-only.diag__nojs { display: none; }

.diag__out { margin-top: var(--space-16); padding-top: var(--space-10); border-top: 1px solid var(--rule-strong); }
.diag__out > h2 { font-size: var(--step-2); color: var(--text-1); line-height: 1.2; }
.diag__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-10); align-items: center; }

@media print {
  .header, .dock, .consent, .diag__actions, .skip, .footer__cols { display: none !important; }
  .diag { grid-template-columns: 1fr; }
  .diag__panel { position: static; }
  .diag__opt { border-color: #999; }
}

/* Rhythm fixes for the sub-pages: the page header already carries a rule and
   its own bottom padding, so the block that follows does not need a full
   section's worth of air on top. */
.pagehead + .section, .pagehead + .doc { padding-top: var(--space-10); }
.diag__group > p { margin-bottom: var(--space-5); }
.diag { margin-top: var(--space-12); }

/* Wide content never pushes the page sideways: the table scrolls inside its
   own container instead. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .table { min-width: 460px; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}

/* The closing band sits on the canvas so the six sections keep alternating
   (01 canvas / 02 surface / 03 canvas / 04 surface / 05 canvas / 06 surface /
   closing canvas). It keeps its band character from the rule above it. */
.closing { border-top: 1px solid var(--rule-strong); }

/* ------------------------------------------------------------- photos */
/* Real photographs, of real work. They reuse the figure frame (hairline +
   corner ticks + mono caption) so a photo and a diagram read as the same
   family. The technical grid sits behind the image and never shows. */
.figure__frame img { width: 100%; height: auto; display: block; }
.figure--photo .figure__frame { background: var(--surface-2); }

/* Photo à l'intérieur d'une colonne plutôt qu'en bandeau pleine largeur :
   elle accompagne le texte au lieu de couper la page en deux. */
.figure--inline { margin-top: var(--space-10); }

/* Photo en colonne, centrée sur la hauteur de la colonne de texte voisine.
   Classe explicite plutôt que « .cols > .figure » : la Fig. 00 du hero doit
   rester alignée en haut, et .cols--hero le demande déjà. */
.figure--middle { align-self: center; }

/* ---------------------------------------------------------------- doors
   Les trois portes de l'accueil. Depuis le 14/09/2026 elles ne sont plus
   trois sections empilées mais une triade visible d'un seul coup d'œil :
   le prospect choisit sa situation avant de lire quoi que ce soit d'autre.
   Grille en filets, comme .grid-complaints — le trait est la métaphore. */
.doors {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--hairline);
  border: 1px solid var(--hairline);
}
.door {
  position: relative; background: var(--canvas);
  padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-5);
  transition: background var(--dur) var(--ease);
}
.door:hover { background: var(--surface-1); }
.door:focus-within { background: var(--surface-1); }
.door h3 { font-size: var(--step-1); line-height: 1.25; color: var(--text-1); }
.door > p { color: var(--text-2); }
.door .checklist { gap: var(--space-3); font-size: 14px; }
.door .checklist > li::before { top: 7px; }
.door__go {
  margin-top: auto; padding-top: var(--space-5);
  display: inline-flex; align-items: baseline; gap: var(--space-2);
  font-weight: 600; color: var(--accent-text); text-decoration: none;
}
/* Toute la carte est cliquable, mais un seul lien dans l'ordre de tabulation. */
.door__go::after { content: ""; position: absolute; inset: 0; }
.door__go > span:last-child { transition: transform var(--dur) var(--ease); }
.door:hover .door__go > span:last-child { transform: translateX(3px); }
.door__go:focus-visible { outline: 2px solid var(--text-1); outline-offset: 3px; }
@media (max-width: 1080px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px)  { .doors { grid-template-columns: 1fr; } }

/* Rappel de méthode sous la triade — une ligne, jamais un quatrième verbe. */
.doors-foot {
  margin-top: var(--space-6); display: flex; flex-wrap: wrap;
  gap: var(--space-3) var(--space-6); align-items: baseline;
}

/* Version courte de « Et après » : trois lignes, pas trois paragraphes. */
.rows--tight > div { grid-template-columns: 280px 1fr; gap: var(--space-8); padding-block: var(--space-5); align-items: baseline; }
.rows--tight dd { font-size: 14px; }
@media (max-width: 900px) { .rows--tight > div { grid-template-columns: 1fr; gap: var(--space-1); } }
