@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: oklch(0.975 0.006 75);
  --panel: oklch(0.995 0.003 75);
  --tint: oklch(0.955 0.008 70);
  --frame: oklch(0.925 0.007 70);
  --ink: oklch(0.24 0.012 60);
  --ink-2: oklch(0.35 0.012 60);
  --body: oklch(0.45 0.012 60);
  --muted: oklch(0.5 0.012 60);
  --faint: oklch(0.6 0.01 60);
  --line: oklch(0.9 0.008 70);
  --line-2: oklch(0.85 0.008 70);
  --accent: oklch(0.6 0.16 32);
  --accent-ink: oklch(0.99 0.004 75);
  --accent-text: oklch(0.55 0.16 32);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Instrument Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
button, input { font-family: inherit; color: inherit; }
button { cursor: pointer; }
input::placeholder { color: oklch(0.55 0.012 60); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; width: 100%; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow.accent { color: var(--accent-text); }
.h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.lead { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.band { border-top: 1px solid var(--line); }
.band > .wrap { padding-top: 80px; padding-bottom: 80px; }
.mono { font-family: var(--mono); }

/* Boutons */
.btn { height: 50px; padding: 0 22px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 15.5px; font-weight: 500; border: 1px solid transparent; background: none; white-space: nowrap; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { color: var(--accent-ink); filter: brightness(1.05); }
.btn-line { border-color: var(--line-2); font-weight: 400; }
.btn-line:hover { color: var(--ink); background: var(--panel); }
.btn-dark { display: inline-flex; align-items: center; font-weight: 500; white-space: nowrap; height: 36px; padding: 0 14px; border-radius: 9px; background: var(--ink); color: var(--accent-ink); font-size: 14px; }
.btn-dark:hover { color: var(--accent-ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 10; background: oklch(0.975 0.006 75 / .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 24px; height: 24px; display: block; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.site-nav a:not(.btn-dark) { color: var(--body); }
.site-nav a:not(.btn-dark):hover { color: var(--accent-text); }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); margin-top: auto; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; }

/* Pages de texte (confidentialité, conditions) */
.doc { max-width: 720px; margin: 0 auto; padding: 72px 24px 96px; width: 100%; }
.doc h1 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font-size: 20px; font-weight: 600; margin: 40px 0 10px; letter-spacing: -.01em; }
.doc p, .doc li { font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .site-nav a.hide-sm { display: none; }
  .band > .wrap { padding-top: 64px; padding-bottom: 64px; }
}

/* Mention légale à compléter : bien visible tant qu'elle n'est pas remplie. */
.todo-legal { background: oklch(0.93 0.1 90); border-radius: 4px; padding: 0 4px; }
