@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geist-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;
}

:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8c8c8c;
  --rule: #262626;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* En-tête */
.site-head { padding: 28px 0; }
.site-head .wrap { display: flex; justify-content: space-between; align-items: baseline; }
.brand { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; }
.lang { color: var(--muted); font-size: 0.9375rem; display: flex; gap: 14px; }
.lang a:hover, .lang [aria-current] { color: var(--fg); }

/* Contenu */
main { flex: 1; }

.intro { padding: clamp(48px, 10vw, 128px) 0 clamp(48px, 8vw, 96px); }

.hero {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
  font-size: clamp(2.5rem, 7.2vw, 6.5rem);
  animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.list { list-style: none; margin: 0 0 clamp(64px, 10vw, 120px); padding: 0; }
.list a, .list .item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.list li:last-child a, .list li:last-child .item { border-bottom: 1px solid var(--rule); }
.name { font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.desc { color: var(--muted); max-width: 46ch; transition: color 0.2s; }
.list a:hover .desc, .list a:focus-visible .desc { color: var(--fg); }

@media (min-width: 800px) {
  .list a, .list .item { grid-template-columns: 5fr 7fr; gap: 32px; align-items: baseline; }
}

/* Pied de page */
.site-foot { padding: 22px 0 30px; color: var(--muted); font-size: 0.875rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.site-foot a:hover { color: var(--fg); }

/* Pages légales */
.doc { max-width: 68ch; padding: 40px 0 96px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 8px; }
.doc h2 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; margin: 40px 0 8px; }
.doc p { margin: 0 0 14px; }
.doc .updated { color: var(--muted); margin-bottom: 8px; }
.doc a { border-bottom: 1px solid var(--muted); }
.doc a:hover { border-color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  * { transition: none !important; }
}
