/* Kinésia Lab — site de Bradley
   Une seule famille (Archivo, variable en largeur et en graisse) :
   étirée pour les titres, normale pour le texte, condensée pour les chiffres. */

:root {
  --paper: #F3F4F6;
  --panel: #FFFFFF;
  --ink: #142039;
  --ink-2: #4B5568;
  --line: #D8DDE6;
  --cobalt: #2B4BFF;
  --cobalt-deep: #1A33C9;
  --cobalt-light: #9DABFF;
  --cobalt-wash: #E8ECFF;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 6px;
  --r-l: 14px;

  --t-14: 0.875rem;
  --t-16: 1rem;
  --t-18: 1.125rem;
  --t-22: 1.375rem;
  --t-28: 1.75rem;
  --t-36: 2.25rem;
  --t-48: 3rem;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-18);
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; }

a { color: inherit; }
:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  background: var(--cobalt);
  color: #fff;
  font-weight: 650;
  font-size: var(--t-16);
  font-stretch: 108%;
  text-decoration: none;
  border-radius: var(--r-s);
  transition: background-color .15s ease;
}
.btn:hover { background: var(--cobalt-deep); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: var(--t-14); }
.btn--light { background: #fff; color: var(--cobalt); }
.btn--light:hover { background: var(--cobalt-wash); }

.link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--cobalt);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.link:hover { color: var(--cobalt); }

/* ---------- En-tête ---------- */
.top { border-bottom: 1px solid var(--line); }
.top__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo__mark { width: 32px; height: 32px; flex: none; }
.logo__name { font-weight: 800; font-stretch: 118%; font-size: var(--t-18); letter-spacing: -0.01em; white-space: nowrap; }
.top__nav { display: none; gap: 26px; font-size: var(--t-16); }
.top__nav a { text-decoration: none; color: var(--ink-2); }
.top__nav a:hover { color: var(--ink); }
@media (min-width: 980px) { .top__nav { display: flex; } }
@media (max-width: 420px) { .top .btn--small { padding: 0 12px; font-size: 0.8125rem; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px); }

.hero__title {
  font-weight: 820;
  font-stretch: 125%;
  font-size: clamp(2.6rem, 7.4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin-bottom: clamp(24px, 3vw, 36px);
}
/* À partir de 900px, le titre partage la ligne avec la photo : taille calée sur la colonne */
@media (min-width: 900px) {
  .hero__title { font-size: min(4.7vw, 4.4rem); }
}
.hero__title .line { display: block; }

/* Le seul mouvement automatique du site : le titre s'étire (kinésia = mouvement).
   Lignes fixes à partir de 860px pour que l'étirement ne fasse pas sauter les retours à la ligne. */
@media (min-width: 860px) {
  .hero__title .line { white-space: nowrap; }
}
@media (min-width: 860px) and (prefers-reduced-motion: no-preference) {
  .js .hero__title .line { font-stretch: 62%; }
  .js .hero__title.is-ready .line {
    animation: stretch 1.1s cubic-bezier(.2, .7, .1, 1) forwards;
  }
  .js .hero__title.is-ready .line:nth-child(2) { animation-delay: .09s; }
  .js .hero__title.is-ready .line:nth-child(3) { animation-delay: .18s; }
}
@keyframes stretch {
  from { font-stretch: 62%; }
  to   { font-stretch: 125%; }
}

.hero__grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
}
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); max-width: 60ch; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

.hero__photo { margin: 0; }
.hero__photo img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 50%;
  border-radius: var(--r-l);
}
@media (min-width: 900px) { .hero__photo img { aspect-ratio: 4 / 5; } }

.facts { margin: 36px 0 0; border-top: 2px solid var(--ink); max-width: 36rem; }
.facts > div {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--ink-2); font-size: var(--t-16); }
.facts dd { margin: 0; font-weight: 600; font-size: var(--t-16); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.h2 {
  font-weight: 780;
  font-stretch: 118%;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 22ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.intro { display: grid; gap: 0 72px; margin-bottom: clamp(32px, 4vw, 56px); }
.intro .h2 { margin-bottom: 20px; }
.intro p { max-width: 56ch; color: var(--ink-2); }
@media (min-width: 900px) {
  .intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .intro .h2 { margin-bottom: 0; }
}

/* ---------- Expertises : quatre secteurs avec photo ---------- */
.expertises { display: grid; gap: 40px 32px; }
@media (min-width: 760px) { .expertises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.exp { display: grid; gap: 20px; align-content: start; }
.exp__img {
  width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-l);
}
.exp__title {
  font-weight: 760; font-stretch: 115%;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  margin-bottom: 10px;
}
.exp__pain { color: var(--ink-2); max-width: 52ch; }
.exp__list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.exp__list li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); font-size: var(--t-16); position: relative; }
.exp__list li::before {
  content: ""; position: absolute; left: 2px; top: 1.05em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--cobalt);
}

/* ---------- Projets : stratégies déjà livrées ---------- */
.projects { display: grid; gap: 40px; }
@media (min-width: 980px) { .projects { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.projects__photo { margin: 0; }
.projects__photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 85%; border-radius: var(--r-l); }
@media (min-width: 980px) { .projects__photo { position: sticky; top: 24px; } .projects__photo img { aspect-ratio: 4 / 5; } }
.projects__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.project { padding: 24px 0; border-bottom: 1px solid var(--line); }
.project__sector { font-size: var(--t-14); font-weight: 650; color: var(--cobalt); margin-bottom: 6px; }
.project__title { font-weight: 740; font-stretch: 110%; font-size: var(--t-22); line-height: 1.2; margin-bottom: 10px; }
.project p:last-child { color: var(--ink-2); max-width: 60ch; }

/* ---------- Méthode : titre + photo ---------- */
.method-head { display: grid; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.method-head .h2 { margin-bottom: 0; }
.method-head__img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-l); }
@media (max-width: 600px) { .method-head__img { aspect-ratio: 16 / 10; } }

/* ---------- Pour qui : rangées, pas des cartes ---------- */
.who { border-top: 2px solid var(--ink); }
.who__row {
  display: grid; gap: 10px 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.who__name {
  font-weight: 760; font-stretch: 115%;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
}
.who__pain { color: var(--ink-2); }
.who__fix { font-weight: 560; }
@media (min-width: 900px) {
  .who__row { grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); align-items: baseline; }
}

/* ---------- Simulateur ---------- */
.section--sim { background: var(--panel); border-block: 1px solid var(--line); }

.sim { display: grid; gap: 40px; }
@media (min-width: 980px) {
  .sim { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}

.sim__inputs { display: grid; gap: 22px; }
.sim__mode { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.sim__mode legend { font-weight: 650; margin-bottom: 8px; padding: 0; }
.sim__mode label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.sim__mode input { accent-color: var(--cobalt); width: 18px; height: 18px; }

.field { display: grid; gap: 8px; }
.field label { font-size: var(--t-16); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.field output {
  font-weight: 700; font-stretch: 80%;
  font-size: var(--t-22);
  font-variant-numeric: tabular-nums;
  color: var(--cobalt);
  white-space: nowrap;
}
.field input[type="number"] {
  font: inherit;
  font-weight: 650;
  font-stretch: 80%;
  font-size: var(--t-22);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 10px 12px;
  width: 100%;
  max-width: 16rem;
}
.field input[type="number"]:focus-visible { outline-offset: 1px; }

/* Curseurs */
.field input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer;
}
.field input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(to right, var(--cobalt) var(--fill, 50%), var(--line) var(--fill, 50%));
}
.field input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
.field input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--cobalt); }
.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--cobalt);
}
.field input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--cobalt);
}

.note { font-size: var(--t-14); color: var(--ink-2); }

.sim__result { display: grid; gap: 28px; }

/* Le tunnel en chiffres */
.flow { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.flow li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.flow__label { font-size: var(--t-16); }
.flow__count {
  font-weight: 750; font-stretch: 78%;
  font-size: var(--t-28);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  text-align: right;
}
.flow__lost { grid-column: 1 / -1; font-size: var(--t-14); color: var(--ink-2); }

.total { display: grid; gap: 4px; }
.total__label { color: var(--ink-2); font-size: var(--t-16); }
.total__value {
  font-weight: 820; font-stretch: 80%;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.chart-card {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 20px 20px 16px;
}
.chart-card figcaption { display: grid; gap: 2px; margin-bottom: 16px; }
.chart-card__title { font-weight: 680; font-size: var(--t-16); }
.chart-card__sub { font-size: var(--t-14); color: var(--ink-2); }

/* Barres horizontales des leviers */
.levers { display: grid; gap: 14px; }
.lever { display: grid; gap: 6px; }
.lever__head { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-14); }
.lever__name { color: var(--ink); }
.lever__val { font-weight: 700; font-stretch: 80%; font-size: var(--t-16); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lever__track { height: 12px; background: var(--paper); border-radius: 0 4px 4px 0; }
.lever__bar {
  height: 100%;
  background: var(--cobalt-light);
  border-radius: 0 4px 4px 0;
  min-width: 2px;
}
.lever.is-max .lever__bar { background: var(--cobalt); }
.lever.is-max .lever__name { font-weight: 650; }

.verdict { font-size: var(--t-18); max-width: 52ch; }
.verdict strong { font-weight: 700; }
.sim__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sim__cta p { font-size: var(--t-14); color: var(--ink-2); max-width: 32ch; }

/* ---------- Méthode (vraie séquence : numérotée) ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0;
}
.step {
  position: relative;
  padding: 0 0 36px 64px;
}
.step::before {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px;
  width: 2px; background: var(--line);
}
.step:last-child::before { display: none; }
.step__num {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cobalt); color: #fff;
  font-weight: 760; font-stretch: 85%; font-size: var(--t-18);
}
.step__title { font-weight: 740; font-stretch: 112%; font-size: var(--t-22); margin: 4px 0 8px; }
.step p { color: var(--ink-2); max-width: 40ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step { padding: 64px 0 0; }
  .step::before { left: 48px; right: -32px; top: 19px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Livrables ---------- */
.build { display: grid; gap: 36px 48px; }
@media (min-width: 700px) { .build { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .build { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.build__group h3 {
  font-weight: 740; font-stretch: 112%; font-size: var(--t-22);
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.build__group ul { list-style: none; margin: 0; padding: 0; }
.build__group li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-16);
  color: var(--ink);
}

/* ---------- Résultats ---------- */
.cases { display: grid; gap: clamp(48px, 6vw, 80px); }
.case { display: grid; gap: 28px; }
@media (min-width: 980px) {
  .case { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
}
.case__type { font-size: var(--t-14); color: var(--ink-2); margin-bottom: 6px; }
.case__title { font-weight: 760; font-stretch: 112%; font-size: var(--t-28); line-height: 1.12; margin-bottom: 14px; }
.case__context { color: var(--ink-2); }
.case__actions { margin: 16px 0 0; padding-left: 1.1em; font-size: var(--t-16); }
.case__actions li { margin-bottom: 4px; }
.case__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 16px; margin: 24px 0 0; }
.case__stats div { border-top: 2px solid var(--ink); padding-top: 10px; }
.case__stats dt { font-size: var(--t-14); color: var(--ink-2); }
.case__stats dd {
  margin: 2px 0 0;
  font-weight: 800; font-stretch: 80%; font-size: var(--t-36);
  line-height: 1.05; font-variant-numeric: tabular-nums;
}
.case__quote { margin: 24px 0 0; font-size: var(--t-18); font-weight: 520; }
.case__quote p::before { content: "« "; color: var(--cobalt); font-weight: 800; }
.case__quote p::after { content: " »"; color: var(--cobalt); font-weight: 800; }
.case__quote cite { display: block; margin-top: 6px; font-style: normal; font-size: var(--t-14); color: var(--ink-2); }

.badge-exemple {
  display: inline-block;
  background: #FFF3C4; color: #5C4400;
  border: 1px solid #E9CF6A;
  font-size: var(--t-14); font-weight: 650;
  padding: 4px 10px; border-radius: var(--r-s);
  margin-bottom: 12px;
}

.bars { position: relative; }
.bars svg { width: 100%; height: auto; overflow: visible; }
.bars .grid line { stroke: var(--line); stroke-width: 1; }
.bars .axis text { fill: var(--ink-2); font-size: 12px; font-family: inherit; font-stretch: 85%; font-variant-numeric: tabular-nums; }
.bars .marker line { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 4; }
.bars .marker text { fill: var(--ink); font-size: 12px; font-weight: 650; font-family: inherit; }
.bars .hit { fill: transparent; }
.bars .col { outline: none; }
.bars .col.is-hover .bar, .bars .col:focus-visible .bar { opacity: .78; }
.bars .col:focus-visible .hit { stroke: var(--cobalt); stroke-width: 2; }

.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; font-size: var(--t-14); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.table-view { margin-top: 12px; font-size: var(--t-14); }
.table-view summary { cursor: pointer; color: var(--ink-2); }
.table-view table { border-collapse: collapse; margin-top: 10px; width: 100%; }
.table-view th, .table-view td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.table-view td:last-child, .table-view th:last-child { text-align: right; }

.empty { border: 1px dashed var(--line); border-radius: var(--r-l); padding: 32px; color: var(--ink-2); max-width: 60ch; }

/* ---------- À propos ---------- */
.about { display: grid; gap: 32px; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; } }
.about__photo {
  aspect-ratio: 1 / 1;
  max-width: 180px;
  border-radius: var(--r-l);
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  overflow: hidden;
}
@media (min-width: 900px) { .about__photo { aspect-ratio: 4 / 5; max-width: 360px; } }
.about__photo span { font-weight: 900; font-stretch: 125%; font-size: clamp(5rem, 14vw, 10rem); line-height: 1; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text p { max-width: 58ch; }
.about__text .h2 { margin-bottom: 24px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; } }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 20px 0;
  font-weight: 650; font-size: var(--t-18);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-weight: 500; font-size: var(--t-28); line-height: 1; color: var(--cobalt);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 60ch; }

/* ---------- CTA final ---------- */
.final { background: var(--cobalt); color: #fff; padding-block: clamp(80px, 11vw, 152px); }
.final__title {
  font-weight: 820; font-stretch: 125%;
  font-size: clamp(2.4rem, 6.4vw, 5.6rem);
  line-height: 0.98; letter-spacing: -0.02em;
  max-width: 14ch;
  margin-bottom: 28px;
}
.final__text { font-size: clamp(1.125rem, 1.6vw, 1.3rem); max-width: 50ch; margin-bottom: 36px; color: #E8ECFF; }
.final__grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .final__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; } }
.contact { margin: 0; border-top: 2px solid #fff; }
.contact > div { display: grid; grid-template-columns: 7rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.contact dt { color: #D5DCFF; font-size: var(--t-16); }
.contact dd { margin: 0; font-weight: 650; font-size: var(--t-16); overflow-wrap: anywhere; }
.contact a { color: #fff; text-underline-offset: 4px; }
.final :focus-visible { outline-color: #fff; }

/* ---------- Pied de page ---------- */
.foot { padding-block: 32px; font-size: var(--t-14); color: var(--ink-2); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; }
.foot__links { display: flex; gap: 20px; }
.foot__links a { color: var(--ink-2); }
.foot__links a:hover { color: var(--ink); }

/* ---------- Pages légales ---------- */
.legal-page { padding-block: clamp(48px, 7vw, 96px); }
.legal-page h1 { font-weight: 800; font-stretch: 118%; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin-bottom: 32px; }
.legal-page h2 { font-weight: 720; font-stretch: 108%; font-size: var(--t-22); margin: 36px 0 12px; }
.legal-page p, .legal-page li { max-width: 68ch; }
.legal-page dl { margin: 0; border-top: 2px solid var(--ink); max-width: 44rem; }
.legal-page dl > div { display: grid; grid-template-columns: 11rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .legal-page dl > div { grid-template-columns: 1fr; gap: 2px; } }
.legal-page dt { color: var(--ink-2); }
.legal-page dd { margin: 0; font-weight: 600; }
.legal-page .back { display: inline-block; margin-bottom: 28px; }
.todo-field, .contact a.todo-field { background: #FFF3C4; color: #5C4400; padding: 0 6px; border-radius: 4px; font-weight: 600; text-decoration: none; }

/* ---------- Infobulle des graphiques ---------- */
.tooltip {
  position: fixed; z-index: 50; pointer-events: none;
  background: var(--ink); color: #fff;
  padding: 8px 10px; border-radius: var(--r-s);
  font-size: var(--t-14); line-height: 1.35;
  box-shadow: 0 6px 20px rgba(20, 32, 57, .18);
  max-width: 220px;
}
.tooltip strong { display: block; font-stretch: 85%; font-size: var(--t-16); font-variant-numeric: tabular-nums; }

/* ---------- Liste de contrôle avant mise en ligne (visible seulement s'il manque quelque chose) ---------- */
.checklist {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  max-width: min(380px, calc(100vw - 32px));
  background: #FFF3C4; color: #3D2E00;
  border: 1px solid #E9CF6A; border-radius: var(--r-l);
  padding: 14px 16px; font-size: var(--t-14);
  box-shadow: 0 8px 28px rgba(20, 32, 57, .16);
}
.checklist strong { display: block; margin-bottom: 6px; font-size: var(--t-16); }
.checklist ul { margin: 0; padding-left: 1.1em; }
.checklist button {
  margin-top: 10px; font: inherit; font-weight: 650; cursor: pointer;
  background: transparent; border: 1px solid #C9A93A; border-radius: var(--r-s); padding: 4px 10px; color: inherit;
}
