/* Le Pairon — feuille de style
   Palette tirée du plumage : humus, feuille morte, gris lichen, rose du bec.
   Polices hébergées sur le site (pas de requête vers Google). */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Thèmes : jour (clair) et nuit (sombre) ---------- */
:root {
  --bg: #e3e5d8;
  --surface: #d9dccd;
  --text: #241e15;
  --muted: #5a5648;
  --rule: #b7b9a6;
  --accent: #8d3a33;
  --accent-soft: #c58277;
  --on-accent: #fbf6ee;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Bricolage", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --measure: 66ch;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-h: 4rem;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #211b14;
  --surface: #2b231a;
  --text: #dfdccd;
  --muted: #a8a390;
  --rule: #4b4233;
  --accent: #e3a698;
  --accent-soft: #8a5b50;
  --on-accent: #211b14;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #211b14;
    --surface: #2b231a;
    --text: #dfdccd;
    --muted: #a8a390;
    --rule: #4b4233;
    --accent: #e3a698;
    --accent-soft: #8a5b50;
    --on-accent: #211b14;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  line-height: 1.68;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--on-accent); }
.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; z-index: 100; font-family: var(--sans); }
.skip:focus { top: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 5vw, 5.25rem); font-weight: 780; letter-spacing: -0.035em; line-height: .98; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem); margin-top: 3.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: .5rem; letter-spacing: -0.012em; }
p { margin: 0 0 1.15em; }
.wrap { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }

/* Motif « barres de nuque » : le signe du plumage de la bécasse */
.bars { display: block; width: 4.5rem; height: 1rem; background:
  linear-gradient(var(--text) 0 0) 0 0 / 100% 22% no-repeat,
  linear-gradient(var(--text) 0 0) 0 46% / 72% 22% no-repeat,
  linear-gradient(var(--text) 0 0) 0 92% / 44% 22% no-repeat; opacity: .85; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 60%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--sans); font-weight: 760; font-size: 1.35rem; letter-spacing: -.03em; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand svg { width: 2rem; height: 2rem; }
.nav { display: flex; align-items: center; gap: .15rem; font-family: var(--sans); font-size: .98rem; font-weight: 500; }
.nav a { text-decoration: none; padding: .5rem .7rem; border-radius: .5rem; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-toggle, .theme-toggle { font: inherit; font-family: var(--sans); font-size: .92rem; font-weight: 500; background: transparent; color: var(--text); border: 1px solid var(--rule); border-radius: 999px; padding: .4rem .85rem; cursor: pointer; }
.nav-toggle:hover, .theme-toggle:hover { border-color: var(--accent); }
.nav-toggle { display: none; }
.header-tools { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 62rem) {
  .nav-toggle { display: inline-block; }
  .nav { position: absolute; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; background: var(--bg); padding: .5rem var(--gutter) 1.2rem; border-bottom: 1px solid var(--rule); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .2rem; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
}

/* ---------- Accueil : scène de la lampe ---------- */
.hero { --night: #1b150e; position: relative; min-height: min(100svh - var(--header-h), 54rem); height: calc(100svh - var(--header-h)); background: var(--night); color: #e4e0cf; overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-fallback { position: absolute; inset: 0; background:
  radial-gradient(60% 60% at 30% 40%, #5a3d22 0, transparent 70%),
  radial-gradient(50% 50% at 75% 65%, #3f2c19 0, transparent 70%), var(--night); z-index: 0; }
.lamp { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle var(--r, 17rem) at var(--x, 62%) var(--y, 52%), rgba(27,21,14,0) 0, rgba(27,21,14,0) 34%, rgba(27,21,14,.82) 70%, rgba(27,21,14,.985) 100%);
  transition: opacity 1.4s ease; }
.hero.found .lamp { opacity: 0; }
.hero-surface { position: absolute; inset: 0; z-index: 2; touch-action: pan-y; cursor: crosshair; }
.hero-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding-bottom: clamp(1.5rem, 5vh, 3.5rem); pointer-events: none; }
.hero-copy .wrap { display: grid; gap: 1.2rem; }
.hero h1 { color: #eeeadb; max-width: 11ch; text-shadow: 0 2px 30px rgba(20,14,8,.9); }
.hero-lead { max-width: 34rem; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: #d4cfba; margin: 0; text-shadow: 0 1px 18px rgba(20,14,8,.95); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; pointer-events: auto; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: .8rem 1.3rem; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--accent); background: var(--accent); color: var(--on-accent); cursor: pointer; }
.btn:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn.ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 45%, transparent); }
.btn.ghost:hover { color: inherit; border-color: currentColor; }
.hero .btn { --accent: #e3a698; --on-accent: #211b14; }
.hero .btn.ghost { color: #e4e0cf; }
.found-note { position: absolute; z-index: 3; right: var(--gutter); top: 1.4rem; max-width: 18rem; font-family: var(--sans); font-size: .95rem; color: #efe9d8; text-align: right; opacity: 0; transform: translateY(-.4rem); transition: opacity .8s ease .5s, transform .8s ease .5s; pointer-events: none; }
.hero.found .found-note { opacity: 1; transform: none; }
.lamp-hint { position: absolute; z-index: 3; right: var(--gutter); top: 1.4rem; font-family: var(--sans); font-size: .95rem; color: #cfc9b4; max-width: 15rem; text-align: right; transition: opacity .6s ease; pointer-events: none; }
.hero.found .lamp-hint, .hero.touched .lamp-hint { opacity: 0; }
@media (max-width: 40rem) { .hero h1 { max-width: 9ch; } }

/* ---------- Sections générales ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section + .section { border-top: 1px solid var(--rule); }
.section-title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); margin: 0 0 1.2rem; max-width: 20ch; }
.lede { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.55rem); line-height: 1.5; max-width: 44ch; color: var(--text); }
.muted { color: var(--muted); }

/* Journée de bécasse : cadran + passages */
.day { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.clock-wrap { position: sticky; top: calc(var(--header-h) + 2rem); }
.clock { width: 100%; max-width: 20rem; height: auto; margin-inline: auto; }
.clock .arc { fill: none; stroke: var(--rule); stroke-width: 22; transition: stroke .5s ease; }
.clock[data-active="jour"] .arc-jour,
.clock[data-active="crepuscule"] .arc-crepuscule,
.clock[data-active="nuit"] .arc-nuit,
.clock[data-active="aube"] .arc-aube { stroke: var(--accent); }
.clock text { font-family: var(--sans); font-size: 13px; fill: var(--muted); font-weight: 500; }
.clock .clock-label { font-size: 17px; font-weight: 700; fill: var(--text); letter-spacing: -.01em; }
.passages { display: grid; gap: 0; }
.passage { padding-block: clamp(2rem, 6vh, 4.5rem); border-top: 1px solid var(--rule); min-height: 14rem; }
.passage:first-child { border-top: 0; padding-top: 0; }
.passage h3 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem); margin: 0 0 .7rem; }
.passage p { max-width: 46ch; }
.go { font-family: var(--sans); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: .1em; }
@media (max-width: 52rem) {
  .day { grid-template-columns: 1fr; }
  .clock-wrap { position: static; }
  .clock { max-width: 13rem; }
}

/* Liste des articles */
.index { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--rule); }
.index li { border-bottom: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 2rem; padding: 1.5rem .2rem; text-decoration: none; transition: padding-left .25s ease, background-color .25s ease; }
.index a:hover { padding-left: 1rem; background: color-mix(in srgb, var(--surface) 70%, transparent); color: inherit; }
.index .t { font-family: var(--sans); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); letter-spacing: -.025em; line-height: 1.1; }
.index .d { grid-column: 1; color: var(--muted); max-width: 52ch; font-size: 1.02rem; line-height: 1.5; }
.index .m { grid-column: 2; grid-row: 1; align-self: center; font-family: var(--sans); font-size: .9rem; color: var(--muted); white-space: nowrap; }
.index .soon .t { color: var(--muted); }
@media (max-width: 40rem) { .index a { grid-template-columns: 1fr; } .index .m { grid-column: 1; grid-row: auto; } }

/* Pourquoi « Le Pairon » */
.pairon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.pairon-mark { background: var(--surface); border-radius: 1.5rem; padding: clamp(1.5rem, 5vw, 3rem); }
.pairon-mark svg { width: 100%; height: auto; }
.def { font-family: var(--serif); font-size: 1.2rem; }
.def dt { font-family: var(--sans); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem); letter-spacing: -.03em; }
.def dd { margin: .3rem 0 0; }
@media (max-width: 52rem) { .pairon { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { background: var(--surface); border-radius: 1.5rem; padding: clamp(1.5rem, 5vw, 3.2rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.newsletter h2 { margin: 0 0 .6rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.newsletter p { margin: 0; }
.form { display: grid; gap: .8rem; }
.form label { font-family: var(--sans); font-weight: 600; font-size: .95rem; }
.form .row { display: flex; gap: .6rem; flex-wrap: wrap; }
.form input[type="email"] { flex: 1 1 14rem; font: inherit; font-family: var(--sans); padding: .8rem 1rem; border-radius: .7rem; border: 1.5px solid var(--rule); background: var(--bg); color: var(--text); }
.form input[type="email"]:focus-visible { border-color: var(--accent); outline-offset: 2px; }
.form-note { font-size: .92rem; color: var(--muted); }
.form-status { font-family: var(--sans); font-size: .95rem; min-height: 1.4em; color: var(--accent); }
@media (max-width: 52rem) { .newsletter { grid-template-columns: 1fr; } }

/* ---------- Pages d'articles ---------- */
.article-head { padding-block: clamp(2.5rem, 7vw, 5rem) 1.5rem; }
.article-head h1 { max-width: 16ch; margin-top: 1.4rem; font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4.6rem); }
.article-head .lead { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); line-height: 1.5; max-width: 40ch; margin: 1.6rem 0 0; color: var(--text); }
.meta { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin-top: 1.6rem; font-family: var(--sans); font-size: .92rem; color: var(--muted); }
.article-body { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(0, 15rem); gap: clamp(2rem, 6vw, 6rem); padding-bottom: clamp(3rem, 7vw, 5rem); align-items: start; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 3.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 640; }
.prose blockquote { margin: 2rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--accent); font-size: 1.25rem; line-height: 1.5; font-style: italic; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-family: var(--sans); font-size: .93rem; line-height: 1.35; }
.toc p { font-weight: 700; margin: 0 0 .8rem; font-size: .95rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: .38rem 0 .38rem 1rem; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); border-left-color: var(--accent); font-weight: 600; }
.toc-mobile { display: none; }
@media (max-width: 62rem) {
  .article-body { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .toc-mobile { display: block; margin: 0 0 2rem; font-family: var(--sans); font-size: .98rem; border: 1px solid var(--rule); border-radius: .8rem; padding: .2rem 1rem; }
  .toc-mobile summary { cursor: pointer; font-weight: 600; padding: .7rem 0; }
  .toc-mobile ol { padding: 0 0 .8rem 1.1rem; margin: 0; }
  .toc-mobile li { padding: .25rem 0; }
}
.keyfacts { margin: 0 0 2.4rem; padding: 1.3rem 1.4rem; background: var(--surface); border-radius: 1rem; border-left: 4px solid var(--accent); font-family: var(--sans); }
.keyfacts h2 { margin: 0 0 .8rem; font-size: 1.1rem; letter-spacing: -.01em; }
.keyfacts dl { margin: 0; display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr; gap: .5rem 1.2rem; font-size: .98rem; line-height: 1.4; }
.keyfacts dt { font-weight: 700; }
.keyfacts dd { margin: 0; color: var(--text); font-family: var(--serif); font-size: 1.02rem; }
@media (max-width: 36rem) { .keyfacts dl { grid-template-columns: 1fr; gap: .1rem; } .keyfacts dd { margin-bottom: .6rem; } }
.note { margin: 2rem 0; padding: 1.1rem 1.3rem; border: 1px solid var(--rule); border-radius: 1rem; font-size: 1rem; line-height: 1.55; }
.note strong:first-child { font-family: var(--sans); }
figure { margin: 2.4rem 0; }
figure svg { width: 100%; height: auto; border-radius: 1rem; }
figcaption { margin-top: .7rem; font-family: var(--sans); font-size: .9rem; color: var(--muted); line-height: 1.4; }
.compare { margin: 1.5rem 0 2rem; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.compare > div { display: grid; grid-template-columns: minmax(8rem, 11rem) 1fr; gap: 1.2rem; padding: .9rem 0; border-bottom: 1px solid var(--rule); }
.compare dt { font-family: var(--sans); font-weight: 700; }
.compare dd { margin: 0; }
@media (max-width: 36rem) { .compare > div { grid-template-columns: 1fr; gap: .2rem; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin: 1.5rem 0 2rem; }
.two-col h3 { margin-top: 0; }
.two-col ul { padding-left: 1.2rem; margin: 0; }
@media (max-width: 40rem) { .two-col { grid-template-columns: 1fr; } }

/* Calendrier de migration */
.calendar { width: 100%; border-collapse: separate; border-spacing: 2px; margin: 1.5rem 0 .5rem; font-family: var(--sans); font-size: .85rem; table-layout: fixed; }
.calendar th { font-weight: 600; color: var(--muted); padding: .3rem 0; text-align: center; }
.calendar th[scope="row"] { text-align: left; width: 28%; color: var(--text); font-size: .9rem; line-height: 1.25; padding-right: .6rem; }
.calendar td { height: 2.1rem; background: color-mix(in srgb, var(--rule) 35%, transparent); border-radius: 3px; }
.calendar td.on { background: var(--accent); }
.calendar td.on.soft { background: var(--accent-soft); }
.calendar td.on.now { outline: 2px solid var(--text); outline-offset: 1px; }
@media (max-width: 40rem) { .calendar { font-size: .72rem; } .calendar th[scope="row"] { width: 34%; font-size: .78rem; } .calendar td { height: 1.7rem; } }

/* Outil : heure de la croule */
.tool { margin: 2rem 0; padding: clamp(1.2rem, 4vw, 2rem); background: var(--surface); border-radius: 1.2rem; font-family: var(--sans); }
.tool h3 { margin: 0 0 1rem; font-size: 1.3rem; }
.tool .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin-bottom: 1rem; align-items: end; }
.tool label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.tool select, .tool input[type="date"] { font: inherit; font-family: var(--sans); padding: .65rem .8rem; border-radius: .6rem; border: 1.5px solid var(--rule); background: var(--bg); color: var(--text); min-height: 2.9rem; }
.tool .btn { justify-self: start; padding: .65rem 1.1rem; font-size: .95rem; min-height: 2.9rem; }
.tool-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.tool-out div { border-top: 3px solid var(--accent); padding-top: .5rem; }
.tool-out .k { font-size: .85rem; color: var(--muted); }
.tool-out .v { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 720; letter-spacing: -.03em; line-height: 1.1; }
.tool-msg { margin: 1.1rem 0 0; font-family: var(--serif); font-size: 1.02rem; line-height: 1.5; }
.dusk { margin-top: 1.4rem; }
.dusk svg { width: 100%; height: auto; border-radius: .8rem; }

/* Sources et navigation */
.sources { margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); font-size: .95rem; line-height: 1.5; }
.sources h2 { font-size: 1.15rem; margin: 0 0 .8rem; letter-spacing: -.01em; }
.sources ul { padding-left: 1.1rem; margin: 0; }
.sources li { margin-bottom: .45rem; overflow-wrap: anywhere; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.pager a { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; border: 1px solid var(--rule); border-radius: 1rem; text-decoration: none; font-family: var(--sans); }
.pager a:hover { border-color: var(--accent); }
.pager .dir { font-size: .85rem; color: var(--muted); }
.pager .nm { font-weight: 700; font-size: 1.1rem; letter-spacing: -.015em; }
.pager .next { text-align: right; grid-column: 2; }
.pager .prev { grid-column: 1; }

/* Outils (à venir) */
.soon-list { display: grid; gap: 1.2rem; margin: 2rem 0; padding: 0; list-style: none; }
.soon-list li { padding: 1.3rem 1.5rem; border-left: 4px solid var(--accent); background: var(--surface); border-radius: .3rem 1rem 1rem .3rem; }
.soon-list strong { font-family: var(--sans); font-size: 1.15rem; display: block; margin-bottom: .2rem; }
.todo { background: #ffe38a; color: #3b2a00; padding: 0 .25em; border-radius: 3px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--rule); padding-block: 3rem 2.5rem; font-family: var(--sans); font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: .98rem; margin: 0 0 .7rem; color: var(--text); letter-spacing: -.01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .small { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: .88rem; }
@media (max-width: 40rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .toc, .toc-mobile, .newsletter, .hero, .site-footer .nav { display: none !important; }
  body { background: #fff; color: #000; }
}

/* compléments */
[hidden] { display: none !important; }
.hero canvas.halo { opacity: 0; transition: opacity 1.2s ease .3s; }
.hero.found canvas.halo { opacity: 1; }
ul.check { list-style: none; padding: 0; display: grid; gap: .6rem; }
ul.check li { padding-left: 1.6rem; position: relative; }
ul.check li::before { content: ""; position: absolute; left: 0; top: .65em; width: .9rem; height: 2px; background: var(--accent); }
