/* Helianthe — jetons et base commune à tous les sites de la maison.
   Paire de polices de l'Atelier « Bricolage · Instrument » ; les deux gris du système. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/_shared/fonts/BricolageGrotesque_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/_shared/fonts/BricolageGrotesque_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/_shared/fonts/InstrumentSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/_shared/fonts/InstrumentSans_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/_shared/fonts/InstrumentSans_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --clair: #EEEDEA;
  --sombre: #141412;
  --bg: var(--clair);
  --ink: var(--sombre);
  --muted: color-mix(in oklab, var(--ink) 62%, var(--bg));
  --line: color-mix(in oklab, var(--ink) 14%, var(--bg));
  --accent: #BE710F;
  --f-head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --track-head: -.03em;
  --gutter: clamp(16px, 5vw, 64px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: var(--sombre); --ink: var(--clair); }
}
:root[data-theme="dark"] { --bg: var(--sombre); --ink: var(--clair); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: color-mix(in oklab, var(--ink) 18%, var(--bg)); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; letter-spacing: var(--track-head); line-height: 1.02; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Le statut d'une app pas encore sortie : un point de sa couleur (--app) d'où part une onde lente. */
.status { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; }
.status::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--app, currentColor); }
.status::after { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; border: 1px solid var(--app, currentColor); box-sizing: border-box; animation: onde 2.8s cubic-bezier(.2, .6, .35, 1) infinite; }
@keyframes onde { from { transform: scale(1); opacity: .9; } to { transform: scale(3.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .status::after { animation: none; opacity: 0; } }
