/* ACL Return to Sport — aclreturntosport.com
   Design system, 2026-08-17. Volontairement different de repriselca.fr :
   Space Grotesk + Schibsted Grotesk + Plex Mono, marine / bleu / vert "cleared".
   Regles de garde :
   - aucune declaration correctrice hors media query (elle ecraserait le mobile)
   - la barre collante mobile est compensee par un padding-bottom sur body
   - contrastes poses en couleurs pleines, pas en alpha
   =========================================================================== */

/* ---------------------------------------------------------------- 0. fonts */
@font-face {
  font-family: "Space Grotesk";
  src: url("/files/space-grotesk-var.woff2") format("woff2-variations"),
       url("/files/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/files/schibsted-var.woff2") format("woff2-variations"),
       url("/files/schibsted-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/files/plex-mono-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------------------------------------------------------------- 1. tokens */
:root {
  --ink: #0C1524;
  --ink-2: #26364C;
  --muted: #52667F;
  --line: #D5DDE8;
  --line-soft: #E7ECF3;
  --bg: #FFFFFF;
  --tint: #F2F5FA;
  --tint-2: #E8EEF7;
  --navy: #16305C;
  --blue: #1D4FD8;
  --blue-dark: #163CA6;
  --blue-tint: #E7EDFC;
  --green: #1B6E37;
  --green-tint: #E3F3E8;
  --amber: #9A5B06;
  --amber-tint: #FCF2E1;
  --red: #A81F13;
  --red-tint: #FBE9E7;

  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Schibsted Grotesk", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --rad: 4px;
  --rad-lg: 10px;
  --shadow: 0 1px 2px rgba(12, 21, 36, .06), 0 8px 24px rgba(12, 21, 36, .07);
  --shadow-sm: 0 1px 2px rgba(12, 21, 36, .08);
  --wrap: 1140px;
  --read: 720px;
}

/* ---------------------------------------------------------------- 2. base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue); }
strong, b { font-weight: 650; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: #C9DAFB; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.05rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.95rem); margin-top: 2.6em; }
h3 { font-size: clamp(1.15rem, 1.03rem + .5vw, 1.32rem); margin-top: 2em; }
h4 { font-size: 1.05rem; margin-top: 1.6em; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.35em; }
li { margin-bottom: .5em; }
li::marker { color: var(--blue); }
ol li::marker { font-family: var(--font-mono); font-size: .9em; }
small { font-size: .875rem; color: var(--muted); }
code, kbd { font-family: var(--font-mono); font-size: .9em; background: var(--tint); padding: .1em .35em; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap--read { max-width: var(--read); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* kicker mono, la signature typographique du site */
.kicker {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin: 0 0 .85rem;
  display: flex; align-items: center; gap: .6rem;
}
.kicker::before {
  content: ""; width: 1.6rem; height: 2px; background: var(--blue); flex: none;
}
.kicker--light { color: #A9C2F5; }
.kicker--light::before { background: #6C97EE; }

/* ---------------------------------------------------------------- 3. header */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex; align-items: center; gap: 1rem;
  min-height: 62px;
}
.brand {
  font-family: var(--font-head); font-weight: 650; font-size: 1.02rem;
  letter-spacing: -.02em; color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: .55rem; flex: none;
}
.brand__mark {
  width: 26px; height: 26px; flex: none;
}
.brand em { font-style: normal; color: var(--blue); }
.nav { display: flex; gap: .15rem; margin-left: auto; align-items: center; }
.nav a {
  font-size: .935rem; color: var(--ink-2); text-decoration: none;
  padding: .45rem .6rem; border-radius: var(--rad); font-weight: 500;
}
.nav a:hover { background: var(--tint); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue-dark); background: var(--blue-tint); }
.nav__cta { margin-left: .4rem; }
.burger {
  margin-left: auto; display: none; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--rad); width: 42px; height: 38px; align-items: center;
  justify-content: center; cursor: pointer; color: var(--ink);
}
.burger svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 62px 0 auto; background: var(--bg);
    border-bottom: 1px solid var(--line); flex-direction: column;
    align-items: stretch; padding: .5rem 1.25rem 1rem; gap: .1rem;
    box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .7rem .5rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__cta { margin: .7rem 0 0; }
}

/* ---------------------------------------------------------------- 4. buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .97rem;
  padding: .78rem 1.25rem; border-radius: var(--rad); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); background: var(--tint); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--light:hover { background: #E7EDFC; color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: #7C9EE8; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--sm { padding: .5rem .85rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------------------------------------------------------------- 5. hero */
.hero {
  background: var(--navy);
  color: #EAF0FA;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.25rem) 0 clamp(2.5rem, 1.5rem + 4vw, 4rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -12%; top: -30%;
  width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #22447E 0%, rgba(22,48,92,0) 68%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 1rem + 3vw, 3.25rem);
  align-items: center; position: relative; z-index: 1;
}
.hero h1 { color: #fff; }
.hero__lede {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.19rem);
  color: #C6D5EE; max-width: 34em; margin-bottom: 1.6rem;
}
.hero__lede strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.35rem; }
.hero__note { font-size: .875rem; color: #9DB4DA; margin: 0; }
.hero__note a { color: #C6D5EE; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* carte de donnees du hero */
.datacard {
  background: #102848;
  border: 1px solid #274D80;
  border-radius: var(--rad-lg);
  padding: 1.35rem;
  box-shadow: 0 18px 40px rgba(4, 14, 30, .35);
}
.datacard h2, .datacard h3 {
  color: #fff; font-size: 1.02rem; margin: 0 0 1rem; letter-spacing: -.01em;
}
.datacard__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .62rem 0; border-bottom: 1px solid #23456F;
}
.datacard__row:last-of-type { border-bottom: 0; }
.datacard__lab { font-size: .9rem; color: #B7C9E6; }
.datacard__val { font-family: var(--font-mono); font-size: 1.02rem; color: #fff; white-space: nowrap; }
.datacard__val em { font-style: normal; color: #8FE0AC; }
.datacard__foot { font-size: .8rem; color: #93AAD2; margin: .9rem 0 0; }

/* ---------------------------------------------------------------- 6. sections */
.section { padding: clamp(2.4rem, 1.6rem + 3vw, 4rem) 0; }
.section--tint { background: var(--tint); border-block: 1px solid var(--line-soft); }
.section--navy { background: var(--navy); color: #DDE7F6; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 40rem; margin-bottom: 2rem; }
.section__head h2 { margin-top: 0; }
.section__head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--navy .section__head p { color: #B7C9E6; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- 7. cards */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--rad-lg);
  padding: 1.3rem 1.35rem; box-shadow: var(--shadow-sm);
}
.card h3 { margin: 0 0 .5rem; font-size: 1.08rem; }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--blue); color: inherit; transform: translateY(-2px); }
.card--link .card__more { color: var(--blue-dark); font-weight: 600; font-size: .93rem; }
.card__num {
  font-family: var(--font-mono); font-size: .8rem; color: var(--blue-dark);
  background: var(--blue-tint); border-radius: 3px; padding: .1rem .4rem;
  display: inline-block; margin-bottom: .7rem;
}

/* ---------------------------------------------------------------- 8. callouts */
.callout {
  border-left: 3px solid var(--blue);
  background: var(--tint);
  padding: 1.05rem 1.15rem;
  border-radius: 0 var(--rad) var(--rad) 0;
  margin: 1.8rem 0;
}
.callout > :last-child { margin-bottom: 0; }
.callout__t {
  font-family: var(--font-head); font-weight: 650; font-size: .95rem;
  letter-spacing: .01em; margin: 0 0 .4rem; display: block; color: var(--ink);
}
.callout--key { border-color: var(--blue); background: var(--blue-tint); }
.callout--pass { border-color: var(--green); background: var(--green-tint); }
.callout--watch { border-color: var(--amber); background: var(--amber-tint); }
.callout--stop { border-color: var(--red); background: var(--red-tint); }
.callout--quote {
  border-left: 0; border-top: 2px solid var(--ink); background: transparent;
  border-radius: 0; padding: 1rem 0 0; font-family: var(--font-head);
  font-size: 1.14rem; line-height: 1.45; letter-spacing: -.01em;
}
.callout--quote cite { display: block; font-family: var(--font-body); font-size: .88rem;
  font-style: normal; color: var(--muted); margin-top: .7rem; }

/* ---------------------------------------------------------------- 9. stats */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: var(--rad-lg); overflow: hidden; margin: 1.8rem 0;
}
.stat { background: var(--bg); padding: 1.05rem 1.1rem; }
.stat__n {
  font-family: var(--font-mono); font-size: 1.62rem; color: var(--navy);
  line-height: 1.1; display: block; letter-spacing: -.02em;
}
.stat__l { font-size: .855rem; color: var(--muted); display: block; margin-top: .3rem; line-height: 1.4; }
.section--navy .stat { background: #102848; }
.section--navy .stat__n { color: #fff; }
.section--navy .stat__l { color: #A9BFE0; }
.section--navy .stat-row { background: #274D80; border-color: #274D80; }

/* ---------------------------------------------------------------- 10. tables */
.table-wrap { overflow-x: auto; margin: 1.8rem 0; border: 1px solid var(--line); border-radius: var(--rad-lg); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; background: var(--bg); }
thead th {
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600;
  text-align: left; padding: .7rem .85rem; font-size: .87rem; letter-spacing: .01em;
  white-space: nowrap;
}
tbody td, tbody th { padding: .68rem .85rem; border-top: 1px solid var(--line-soft); vertical-align: top; text-align: left; }
tbody th { font-weight: 600; font-family: var(--font-head); }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: #FAFCFE; }
td .num, .num { font-family: var(--font-mono); font-size: .93em; white-space: nowrap; }
caption { caption-side: bottom; text-align: left; font-size: .84rem; color: var(--muted); padding: .6rem .85rem; }

/* ---------------------------------------------------------------- 11. timeline */
.phases { list-style: none; padding: 0; margin: 1.8rem 0; counter-reset: ph; }
.phases > li {
  position: relative; padding: 0 0 1.5rem 3.1rem; counter-increment: ph; margin: 0;
}
.phases > li::before {
  content: counter(ph); position: absolute; left: 0; top: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue-dark);
  font-family: var(--font-mono); font-size: .92rem;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #BFD2F8;
}
.phases > li::after {
  content: ""; position: absolute; left: 1.05rem; top: 2.35rem; bottom: .1rem;
  width: 1.5px; background: var(--line);
}
.phases > li:last-child::after { display: none; }
.phases > li.is-past::before {
  background: var(--green-tint); color: var(--green); border-color: #A9D4B8;
}
.phases > li.is-past .phase__when { color: var(--green); }
.phases h3 { margin: .15rem 0 .35rem; font-size: 1.08rem; }
.phases .phase__when {
  font-family: var(--font-mono); font-size: .8rem; color: var(--blue-dark);
  display: block; margin-bottom: .45rem;
}
.phases p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- 12. checklist */
.checklist { list-style: none; padding: 0; margin: 1.6rem 0; }
.checklist li {
  position: relative; padding-left: 1.85rem; margin-bottom: .7rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.05rem; height: 1.05rem; border-radius: 3px;
  border: 1.5px solid var(--green); background: var(--green-tint);
}
.checklist li::after {
  content: ""; position: absolute; left: .28rem; top: .62em;
  width: .48rem; height: .26rem; border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.checklist--plain li::before { border-color: var(--line); background: var(--tint); }
.checklist--plain li::after { border-color: var(--muted); }

/* ---------------------------------------------------------------- 13. FAQ */
.faq { margin: 1.8rem 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: .95rem 2rem .95rem 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.01rem;
  color: var(--ink); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.35rem;
  width: .55rem; height: .55rem; border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue); transform: rotate(45deg);
  transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding: 0 0 1.05rem; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- 14. prose page */
.page { padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem) 0 0; }
.crumbs {
  font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem;
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-dark); }
.crumbs span[aria-hidden] { color: var(--line); }
.page__meta {
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .9rem;
}
.lede {
  font-size: clamp(1.09rem, 1.03rem + .4vw, 1.22rem);
  color: var(--ink-2); line-height: 1.55; margin: 0 0 1.9rem;
  max-width: 36em;
}
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: start;
}
/* `1fr` vaut `minmax(auto, 1fr)` : la piste prend alors la largeur MIN-CONTENT de son contenu,
   et le min-content d'un tableau a en-tetes `white-space: nowrap` depasse 500px. Mesure du
   17/08 : 4 pages a tableau large debordaient de 60 a 189px a 390px de large, l'ascenseur
   horizontal de .table-wrap ne servant jamais. minmax(0, 1fr) borne la piste au conteneur,
   c'est alors le .table-wrap qui defile. */
@media (max-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: var(--read); min-width: 0; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose img { border-radius: var(--rad-lg); border: 1px solid var(--line); margin: 1.8rem 0; }
.prose figure { margin: 1.8rem 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.prose dl { margin: 1.6rem 0; }
.prose dt { font-family: var(--font-head); font-weight: 650; margin-top: 1.1rem; }
.prose dd { margin: .25rem 0 0; padding-left: 0; color: var(--ink-2); }

/* sommaire lateral */
.aside { position: sticky; top: 78px; font-size: .93rem; }
.toc { border-left: 2px solid var(--line); padding: .1rem 0 .1rem 1rem; }
.toc__t {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 .7rem;
}
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: .5rem; line-height: 1.35; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue-dark); text-decoration: underline; }
.toc a.is-active { color: var(--blue-dark); font-weight: 600; }
@media (max-width: 980px) {
  .aside { position: static; margin-bottom: 2rem; }
  .toc { border-left: 0; border-top: 1px solid var(--line); padding: 1rem 0 0; }
}

/* ---------------------------------------------------------------- 15. forms / tools */
.field { margin-bottom: 1.05rem; }
.field > label, .field__lab {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .93rem; margin-bottom: .38rem; color: var(--ink);
}
.field__help { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
input[type="text"], input[type="email"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--rad);
  padding: .62rem .75rem; line-height: 1.4;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-tint); }
input[type="number"] { font-family: var(--font-mono); }
.field--check { display: flex; gap: .65rem; align-items: flex-start; }
.field--check input { width: 1.1rem; height: 1.1rem; margin: .28rem 0 0; flex: none; accent-color: var(--blue); }
.field--check label { font-family: var(--font-body); font-weight: 400; font-size: .93rem; line-height: 1.5; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

.tool {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--rad-lg);
  box-shadow: var(--shadow); padding: 1.4rem; margin: 2rem 0;
}
.tool__head { border-bottom: 1px solid var(--line-soft); padding-bottom: 1rem; margin-bottom: 1.2rem; }
.tool__head h2, .tool__head h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.tool__head p { margin: 0; color: var(--muted); font-size: .93rem; }
.tool__out {
  background: var(--tint); border: 1px solid var(--line); border-radius: var(--rad);
  padding: 1.05rem 1.15rem; margin-top: 1.2rem;
}
.tool__out h4 { margin: 0 0 .6rem; font-size: .96rem; }
.tool__out--pass { background: var(--green-tint); border-color: #B6DCC3; }
.tool__out--watch { background: var(--amber-tint); border-color: #EBD3A8; }
.out-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .45rem 0; border-bottom: 1px solid rgba(12, 21, 36, .08);
}
.out-row:last-child { border-bottom: 0; }
.out-row b { font-family: var(--font-mono); font-weight: 500; }
.big-out {
  font-family: var(--font-mono); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.35rem);
  color: var(--navy); line-height: 1; margin: .2rem 0 .35rem; display: block;
}
.meter { height: 8px; background: var(--tint-2); border-radius: 99px; overflow: hidden; margin: .55rem 0; }
.meter > i { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .3s; }
.meter--pass > i { background: var(--green); }
.meter--watch > i { background: var(--amber); }

/* criteres du bilan */
.crit { border: 1px solid var(--line); border-radius: var(--rad-lg); overflow: hidden; margin-bottom: 1.15rem; }
.crit__h {
  background: var(--tint); padding: .8rem 1rem; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.crit__h h3 { margin: 0; font-size: 1.02rem; }
.crit__badge {
  font-family: var(--font-mono); font-size: .75rem; padding: .12rem .45rem;
  border-radius: 3px; background: var(--blue-tint); color: var(--blue-dark); margin-left: auto;
}
.crit__b { padding: .35rem 1rem .8rem; }
.crit__item { display: flex; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); }
.crit__item:last-child { border-bottom: 0; }
.crit__item input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; flex: none; accent-color: var(--green); }
.crit__item label { font-size: .95rem; line-height: 1.5; }
.crit__item label small { display: block; color: var(--muted); font-size: .84rem; margin-top: .15rem; }
.crit__item.is-done label { color: var(--muted); }

/* barre de bilan collante */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: var(--navy); color: #fff; border-top: 1px solid #274D80;
  padding: .7rem 1.25rem; display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 -6px 24px rgba(4, 14, 30, .22);
}
.stickybar__n { font-family: var(--font-mono); font-size: 1.15rem; }
.stickybar__l { font-size: .88rem; color: #B7C9E6; }
.stickybar .btn { margin-left: auto; flex: none; }
body.has-stickybar { padding-bottom: 5.5rem; }
@media (max-width: 560px) {
  .stickybar { flex-wrap: wrap; gap: .5rem .9rem; padding: .65rem 1rem; }
  .stickybar .btn { width: 100%; margin-left: 0; }
  body.has-stickybar { padding-bottom: 8.5rem; }
}

/* ---------------------------------------------------------------- 16. waitlist */
.waitlist {
  background: var(--navy); color: #DDE7F6; border-radius: var(--rad-lg);
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); margin: 2.5rem 0;
}
.waitlist h2, .waitlist h3 { color: #fff; margin-top: 0; }
.waitlist p { color: #C6D5EE; }
.waitlist .field__lab, .waitlist label { color: #EAF0FA; }
.waitlist input, .waitlist select { background: #0C2141; border-color: #2F5788; color: #fff; }
.waitlist input::placeholder { color: #7F9AC4; }
.waitlist input:focus, .waitlist select:focus { border-color: #7FA8F2; box-shadow: 0 0 0 3px rgba(127, 168, 242, .25); }
.waitlist__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .waitlist__grid { grid-template-columns: 1fr; } }
.waitlist__msg { margin: .9rem 0 0; font-size: .93rem; min-height: 1.3em; }
.waitlist__msg.is-ok { color: #8FE0AC; }
.waitlist__msg.is-ko { color: #FFB4A8; }
.waitlist small { color: #9DB4DA; }
.waitlist small a { color: #C6D5EE; }

/* ---------------------------------------------------------------- 17. footer */
.site-foot {
  background: var(--ink); color: #A9B7CA; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding: 2.5rem 0 2rem; font-size: .93rem;
}
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 780px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot__grid { grid-template-columns: 1fr; } }
.site-foot h2 {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .13em;
  text-transform: uppercase; color: #7C8DA5; margin: 0 0 .9rem;
}
.site-foot a { color: #D3DCE8; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .45rem; }
.site-foot__brand { font-family: var(--font-head); font-size: 1.05rem; color: #fff; margin-bottom: .5rem; }
.site-foot__legal {
  border-top: 1px solid #23303F; margin-top: 2rem; padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .86rem; color: #7C8DA5;
}

/* ---------------------------------------------------------------- 18. divers */
.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em;
  padding: .2rem .5rem; border-radius: 99px; background: var(--tint-2); color: var(--navy);
}
.pill--pass { background: var(--green-tint); color: var(--green); }
.pill--watch { background: var(--amber-tint); color: var(--amber); }
.sources-list { list-style: none; padding: 0; margin: 1.6rem 0; }
.sources-list li {
  border-top: 1px solid var(--line-soft); padding: .95rem 0; margin: 0; font-size: .95rem;
}
.sources-list li:first-child { border-top: 0; }
.sources-list b { display: block; font-family: var(--font-head); }
.sources-list span { color: var(--muted); font-size: .89rem; display: block; margin-top: .2rem; }
.next {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem; margin: 2.5rem 0 0; border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.next a {
  text-decoration: none; color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--rad-lg); padding: .95rem 1.05rem; display: block;
}
.next a:hover { border-color: var(--blue); }
.next a span {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .3rem;
}
.next a b { font-family: var(--font-head); font-weight: 600; font-size: .99rem; }

@media print {
  .site-head, .site-foot, .stickybar, .waitlist, .aside, .next, .burger { display: none !important; }
  body { padding-bottom: 0; font-size: 11pt; }
  .layout { display: block; }
  a { text-decoration: none; color: #000; }
  .tool, .card, .crit { break-inside: avoid; }
}
