/* ── Polices (hébergées sur le site) ───────────────────── */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ── Jetons ────────────────────────────────────────────── */
:root {
  --bg: #0B0F14;
  --bg-alt: #0E131A;
  --card: #121921;
  --card-2: #161F29;
  --line: #1F2833;
  --line-2: #2B3644;
  --text: #F2F4F7;
  --muted: #9CA6B4;
  --accent: #FF4D1A;
  --accent-hover: #FF6A3D;
  --accent-soft: rgba(255, 77, 26, .12);
  --on-accent: #0B0F14;
  --ok: #3DDC97;
  --err: #FF7A7A;

  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Menlo, monospace;

  --r: 8px;
  --r-lg: 14px;
  --wrap: 1160px;
  --gutter: 20px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

/* ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* grille de fond */
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(242, 244, 247, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 244, 247, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 70% 0%, #000 20%, transparent 75%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.ico { width: 20px; height: 20px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ── Boutons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r);
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(18, 25, 33, .6); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(11, 15, 20, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.nav--scrolled { border-bottom-color: var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: block; padding: 6px 0; border-radius: 4px; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a:not(.btn) {
  padding: 10px 12px; border-radius: 6px;
  color: var(--muted); font-size: .9375rem; font-weight: 500; text-decoration: none;
  transition: color .15s var(--ease);
}
.nav__menu a:not(.btn):hover, .nav__menu a[aria-current="true"] { color: var(--text); }
.nav__cta { margin-left: 10px; }
.nav__burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); cursor: pointer;
}

@media (max-width: 860px) {
  .nav__burger { display: inline-flex; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(11, 15, 20, .97); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav__menu a:not(.btn) { padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { margin: 16px 0 0; min-height: 48px; }
}

/* ── Hero ──────────────────────────────────────────────── */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  font: 400 .8125rem/1.4 var(--f-mono); color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 220, 151, .18); }
.hero__title { margin: 22px 0 20px; font-size: clamp(2.9rem, 7.4vw, 5.4rem); letter-spacing: -.035em; line-height: 1; }
.cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { max-width: 30em; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Terminal */
.term {
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, #10161E, #0C1117);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 77, 26, .04);
  overflow: hidden;
}
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.term__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.term__bar span:first-child { background: var(--accent); }
.term__bar em { margin-left: 8px; font: normal 400 .75rem var(--f-mono); color: var(--muted); }
.term__body {
  margin: 0; padding: 18px 20px 22px; min-height: 300px;
  font: 400 .875rem/1.75 var(--f-mono); color: var(--text);
  white-space: pre-wrap; word-break: break-word;
}
.t-p { color: var(--accent); }
.t-ok { color: var(--ok); }
.t-m { color: var(--muted); }
.t-c { display: inline-block; width: .6em; height: 1.1em; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }

@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; }
  .term__body { min-height: 0; }
}

/* ── Chiffres ──────────────────────────────────────────── */
.stats { border-block: 1px solid var(--line); background: var(--bg-alt); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { order: 2; font: 400 .8125rem/1.4 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat dd { margin: 0 0 6px; font: 700 clamp(2rem, 3.6vw, 2.75rem)/1 var(--f-display); letter-spacing: -.03em; }
.stat { display: flex; flex-direction: column; }
.stat dd .unit { color: var(--accent); }
.stats__live { padding: 0 0 18px; font: 400 .75rem var(--f-mono); color: var(--muted); }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 0 22px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ── Sections ──────────────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.label { margin-bottom: 14px; font: 400 .8125rem/1.4 var(--f-mono); color: var(--accent); letter-spacing: .02em; }
.label::before { content: "// "; color: var(--muted); }
.section__lead { margin-top: 18px; font-size: 1.125rem; color: var(--muted); max-width: 40em; }

/* Valeurs */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: v; }
.values li {
  counter-increment: v; position: relative;
  padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
}
.values li::before { content: "0" counter(v); display: block; margin-bottom: 26px; font: 700 .875rem var(--f-mono); color: var(--accent); }
.values h3 { font-size: 1.375rem; margin-bottom: 10px; }
.values p { color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Catégories */
.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cat {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  transition: border-color .2s var(--ease);
}
.cat:hover { border-color: var(--line-2); }
.cat__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.cat__ico .ico { width: 22px; height: 22px; }
.cat h3 { font-size: 1.25rem; }
.cat p { color: var(--muted); font-size: .9375rem; }
.cat__who { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font: 400 .8125rem/1.5 var(--f-mono); color: var(--muted); }
.cat__who { overflow-wrap: anywhere; }
.cat__who b { color: var(--text); font-weight: 400; }
.pill { padding: 4px 9px; border-radius: 999px; font: 700 .6875rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.pill--hot { background: var(--accent); color: var(--on-accent); }

/* Membres */
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.member {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
}
.member__head { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 60px; height: 60px; flex: none; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2);
  font: 700 1.375rem var(--f-display); color: var(--accent);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.25rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.member__role { font: 400 .8125rem var(--f-mono); color: var(--muted); }
.member__links { display: flex; gap: 4px; margin-top: auto; margin-left: -10px; }
.member__links a, .foot__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r);
  color: var(--muted); transition: color .15s var(--ease), background-color .15s var(--ease);
}
.member__links a:hover, .foot__social a:hover { color: var(--text); background: var(--card-2); }
.member--join { border-style: dashed; border-color: var(--line-2); background: transparent; justify-content: center; align-items: flex-start; }
.member--join p { color: var(--muted); }

.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 .75rem/1.4 var(--f-mono); color: var(--muted); }
.tag--accent { border-color: rgba(255, 77, 26, .5); color: var(--accent); background: var(--accent-soft); }

/* Résultats */
.table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font: 400 .75rem var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; background: var(--card-2); }
.table tr:last-child td { border-bottom: 0; }
.table td.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.table .place { color: var(--accent); font-weight: 700; }
.table a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.table a:hover { text-decoration-color: var(--accent); }
@media (max-width: 640px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; }
  .table tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .table td { padding: 2px 0; border: 0; }
  .table td[data-l]::before { content: attr(data-l) " · "; color: var(--muted); font: 400 .75rem var(--f-mono); }
}
.empty {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 26px; border: 1px dashed var(--line-2); border-radius: var(--r-lg);
}
.empty .ico { color: var(--accent); margin-top: 2px; }
.empty p { color: var(--muted); }
.empty strong { display: block; margin-bottom: 4px; color: var(--text); font-family: var(--f-display); font-size: 1.125rem; }

/* Writeups */
.writeups { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.wu a {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  text-decoration: none; transition: border-color .2s var(--ease);
}
.wu a:hover { border-color: var(--accent); }
.wu h3 { font-size: 1.125rem; }
.wu__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 .8125rem var(--f-mono); color: var(--muted); }
.more { margin-top: 24px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Rejoindre ─────────────────────────────────────────── */
.join { background: radial-gradient(ellipse 60% 50% at 0% 0%, rgba(255, 77, 26, .08), transparent 70%); }
.join__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.join__side { position: sticky; top: calc(var(--nav-h) + 32px); }
.join__h3 { margin: 36px 0 16px; font-size: 1.125rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%; background: var(--card);
  font: 700 .875rem var(--f-mono); color: var(--accent);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 36px; bottom: 2px; width: 1px; background: var(--line-2); }
.steps strong { display: block; font-weight: 600; }
.steps span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 960px) {
  .join__in { grid-template-columns: 1fr; }
  .join__side { position: static; }
}

.form {
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--card);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 600; font-size: .9375rem; }
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-2); border-radius: var(--r);
  font: 400 1rem/1.4 var(--f-body);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA6B4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input::placeholder, .field textarea::placeholder { color: #6E7887; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3A4757; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 77, 26, .2); }
.field [aria-invalid="true"] { border-color: var(--err) !important; }
.field__help { margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.field__err { margin-top: 6px; font-size: .8125rem; color: var(--err); }
.field__err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg);
  font: 400 .875rem var(--f-mono); color: var(--muted); cursor: pointer; user-select: none;
  transition: border-color .15s var(--ease), color .15s var(--ease), background-color .15s var(--ease);
}
.chip span .ico { width: 14px; height: 14px; display: none; }
.chip span:hover { border-color: #3A4757; color: var(--text); }
.chip input:checked + span { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.chip input:checked + span .ico { display: block; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips[aria-invalid="true"] .chip span { border-color: rgba(255, 122, 122, .6); }

.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check a { color: var(--text); text-underline-offset: 3px; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__msg { margin-top: 16px; border-radius: var(--r); font-size: .9375rem; }
.form__msg:empty { display: none; }
.form__msg.is-ok { padding: 16px 18px; border: 1px solid rgba(61, 220, 151, .4); background: rgba(61, 220, 151, .08); color: var(--text); }
.form__msg.is-err { padding: 16px 18px; border: 1px solid rgba(255, 122, 122, .4); background: rgba(255, 122, 122, .08); color: var(--text); }
.form__msg a { color: var(--accent); }
.form.is-sent .field, .form.is-sent .form__grid, .form.is-sent #f-submit { display: none; }
.form.is-sent .form__msg { margin-top: 0; }

/* ── Réseaux ───────────────────────────────────────────── */
.socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.social a {
  display: flex; align-items: center; gap: 16px; min-height: 88px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
  text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.social a:hover { border-color: var(--line-2); background: var(--card-2); }
.social .ico { width: 26px; height: 26px; color: var(--muted); transition: color .2s var(--ease); }
.social a:hover .ico { color: var(--text); }
.social strong { display: block; font-family: var(--f-display); font-size: 1.125rem; }
.social span { display: block; font: 400 .8125rem var(--f-mono); color: var(--muted); overflow-wrap: anywhere; }
.social--main { grid-column: span 2; }
.social--main a { border-color: rgba(255, 77, 26, .45); background: linear-gradient(120deg, rgba(255, 77, 26, .12), var(--card) 60%); }
.social--main .ico { color: var(--accent); width: 32px; height: 32px; }
.social--main a:hover { border-color: var(--accent); }
.social__go { margin-left: auto; }
@media (max-width: 520px) { .social--main { grid-column: auto; } }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font: 600 1.125rem/1.35 var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); color: var(--accent); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 46em; }

/* ── Pied de page ──────────────────────────────────────── */
.foot { padding: 40px 0; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.foot__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.foot__legal { font-size: .875rem; color: var(--muted); }
.foot__legal a { color: var(--muted); text-underline-offset: 3px; }
.foot__legal a:hover { color: var(--text); }

/* ── Pages simples (mentions, 404) ─────────────────────── */
.page { padding: clamp(56px, 8vw, 96px) 0; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 28px; }
.page h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: 12px; }
.page a { color: var(--text); text-underline-offset: 3px; }
.page ul { padding-left: 1.2em; }
.page strong { color: var(--text); }
.notfound { min-height: calc(100vh - var(--nav-h) - 110px); display: grid; place-items: center; text-align: center; }
.notfound .code { font: 700 clamp(4rem, 16vw, 9rem)/1 var(--f-display); letter-spacing: -.05em; }
.notfound .code span { color: var(--accent); }
.notfound p { margin: 12px 0 28px; color: var(--muted); font-family: var(--f-mono); }

/* ── Apparition au défilement ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor, .t-c { animation: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
