/* NoTag F.A | NYC — site v2 (29-11-2026)
   Noir / blanc / gris uniquement. Un seul accent : le blanc.
   Verre fumé neutre façon UI de trailer, typo fine, rayons 10–14 px. */

:root {
  --bg: #000;
  --bg-2: #0a0a0a;
  --ink: #f4f4f4;
  --mute: #a8a8a8;      /* 8.9:1 sur noir */
  --dim: #858585;       /* 5.6:1 sur noir */
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --glass: rgba(20, 20, 20, .56);
  --glass-2: rgba(12, 12, 12, .72);
  --r: 12px;
  --r-s: 10px;
  --r-l: 14px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --hdr: 68px;
  --f: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 17px/1.65 var(--f);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: var(--r-s); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

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

/* ---------- Verre ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(0%);
  backdrop-filter: blur(22px) saturate(0%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 60px -30px rgba(0, 0, 0, .9);
  border-radius: var(--r);
}

/* ---------- Typo ---------- */
.label {
  font: 400 11px/1.2 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--line-2); flex: none; }
.h-xl, .h-l, .h-m { font-weight: 200; letter-spacing: -.025em; margin: 0; color: #fff; }
.h-xl { font-size: clamp(40px, 6.4vw, 92px); line-height: 1.02; }
.h-l  { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.06; }
.h-m  { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 300; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: #d6d6d6; max-width: 60ch; margin: 22px 0 0; }
.muted { color: var(--mute); }
strong { font-weight: 500; color: #fff; }
code, kbd { font-family: var(--mono); font-size: .88em; }
kbd { border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: #fff; background: #111; white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: var(--r-s);
  font: 500 15px/1 var(--f); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--solid { background: #fff; color: #000; }
.btn--solid:hover { background: #dcdcdc; }
.btn--ghost {
  color: #fff; border-color: var(--line-2);
  background: rgba(18, 18, 18, .5);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(40, 40, 40, .6); }
.btn--s { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn:active { transform: translateY(1px); }

/* ---------- En-tête ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hdr);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(8, 8, 8, .62);
  -webkit-backdrop-filter: blur(20px) saturate(0%); backdrop-filter: blur(20px) saturate(0%);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr__logo { display: block; flex: none; }
.hdr__logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; color: #cfcfcf; font-size: 14px; font-weight: 400;
  padding: 8px 12px; border-radius: 8px; transition: color .2s, background-color .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: #fff; }
.nav a.btn--solid, .nav a.btn--solid:hover { color: #000; background: #fff; }
.nav a.btn--solid:hover { background: #dcdcdc; }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 1px; background: #fff; margin-top: 3px; }
.hdr__cta { margin-left: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: transparent; color: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1px; background: #fff; margin: 0 auto; position: relative; transition: transform .25s, background-color .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.hdr.is-open .burger span { background: transparent; }
.hdr.is-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.hdr.is-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  :root { --hdr: 60px; }
  .hdr__logo img { height: 36px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--hdr); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--pad) 20px;
    background: rgba(6, 6, 6, .94);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .hdr.is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .hdr__cta { margin: 16px 0 0; }
  .nav .btn { width: 100%; border-bottom: 1px solid transparent; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(100svh, 680px);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: #000;
}
.hero__city { position: absolute; inset: 0; z-index: -3; }
.hero__city img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: contrast(1.06) brightness(.97); }
.hero__city::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 22%),
    linear-gradient(to bottom, rgba(0,0,0,0) 46%, rgba(0,0,0,.72) 76%, #000 100%);
}
.hero__perso { position: absolute; bottom: 0; z-index: -2; pointer-events: none; }
.hero__perso img {
  height: 100%; width: auto; max-width: none;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.9) 70%, #000 100%); }
.hero__perso--h { left: max(-90px, calc(50% - 860px)); height: min(90%, 900px); }
.hero__perso--f { right: max(-70px, calc(50% - 840px)); height: min(86%, 860px); }

.hero__body { position: relative; z-index: 1; padding-bottom: clamp(40px, 8vh, 88px); text-align: center; }
.hero__plate {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 30px clamp(20px, 4vw, 48px) 32px;
  border-radius: var(--r-l);
  max-width: 640px;
}
.hero__logo { width: clamp(220px, 26vw, 340px); height: auto; margin: 0 auto; }
.hero__tag { margin: 18px 0 0; font-size: clamp(16px, 1.45vw, 19px); color: #e2e2e2; }
.hero__tag b { font-weight: 500; color: #fff; letter-spacing: .04em; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hud {
  position: absolute; z-index: 1; top: calc(var(--hdr) + 22px); left: 0; right: 0;
  display: flex; justify-content: space-between; gap: 16px;
  font: 400 11px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.hud span { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); }
.hero__scroll { display: block; width: 1px; height: 46px; margin: 26px auto 0; background: linear-gradient(#fff, transparent); opacity: .6; }

@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: var(--hdr); }
  .hero__city { position: relative; inset: auto; height: 64vw; min-height: 260px; }
  .hero__city img { object-position: 50% 30%; }
  .hero__perso { bottom: auto; }
  .hero::after { top: calc(var(--hdr) + 62vw); bottom: auto; height: 40vw; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.8) 60%, #000); }
  .hero__perso--h { left: -16vw; top: calc(var(--hdr) + 16vw); height: 84vw; }
  .hero__perso--f { right: -12vw; top: calc(var(--hdr) + 18vw); height: 82vw; }
  .hero__body { padding-top: 30vw; padding-bottom: 48px; }
  .hero__plate { padding: 24px 18px 24px; width: 100%; }
  .hud { top: calc(var(--hdr) + 12px); }
  .hud span:last-child { display: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
}

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec--tight { padding: clamp(56px, 7vw, 90px) 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.split p { color: #cfcfcf; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.print { margin: 0; padding: 10px; }
.print img { width: 100%; height: auto; border-radius: var(--r-s); aspect-ratio: 1672 / 941; object-fit: cover; }
.print figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 6px 4px; font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { padding: 18px 16px 0 0; }
.facts dt { font: 400 11px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin: 8px 0 0; font-size: 20px; font-weight: 300; color: #fff; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:last-child { grid-column: 1 / -1; } }

/* Piliers : liste numérotée sur filets, pas de cartes */
.pillars { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: p; }
.pillars li {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px;
  padding: 30px 0; border-bottom: 1px solid var(--line); counter-increment: p;
  transition: background-color .25s;
}
.pillars li::before { content: counter(p, decimal-leading-zero); font: 400 13px/1.9 var(--mono); color: var(--dim); letter-spacing: .1em; }
.pillars h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 300; letter-spacing: -.015em; line-height: 1.25; color: #fff; }
.pillars p { margin: 0; color: #c4c4c4; }
@media (max-width: 760px) {
  .pillars li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px 0; }
}

/* Bandeau rejoindre */
.join { position: relative; overflow: hidden; border-radius: var(--r-l); isolation: isolate; }
.join picture, .join > img { position: absolute; inset: 0; z-index: -2; }
.join picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: grayscale(1) contrast(1.05); }
.join::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 45%, rgba(0,0,0,.35) 100%); }
.join__in { padding: clamp(32px, 6vw, 72px); max-width: 720px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: baseline; counter-increment: s; color: #e4e4e4; }
.steps li::before { content: counter(s); flex: none; width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: 8px; font: 400 12px/1 var(--mono); color: #fff; transform: translateY(-2px); }

/* ---------- Pages internes ---------- */
.phead { position: relative; isolation: isolate; padding: calc(var(--hdr) + clamp(56px, 9vw, 110px)) 0 clamp(40px, 6vw, 70px); overflow: hidden; border-bottom: 1px solid var(--line); }
.phead picture { position: absolute; inset: 0; z-index: -2; }
.phead picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,.86) 60%, #000); }
.phead .lead { color: #d8d8d8; }
.crumbs { font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--mute); }
.crumbs a:hover { color: #fff; }

/* Règlement */
.rules { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 56px; padding-bottom: 120px; }
.toc { position: sticky; top: calc(var(--hdr) + 20px); padding: 20px 10px 14px; max-height: calc(100vh - var(--hdr) - 40px); overflow: auto; overscroll-behavior: contain; }
.toc__t { font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); padding: 0 12px 14px; margin: 0; border-bottom: 1px solid var(--line); }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 12px; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: #c8c8c8; font-size: 14.5px; line-height: 1.35; }
.toc a::before { content: counter(t, decimal-leading-zero); font: 400 11px/1.75 var(--mono); color: var(--dim); flex: none; }
.toc a:hover { background: rgba(255,255,255,.05); color: #fff; }
.toc a.is-on { background: rgba(255,255,255,.09); color: #fff; }
.toc a.is-on::before { color: #fff; }
.toc-m { display: none; }

.doc { max-width: 780px; min-width: 0; }
.doc > section { padding-top: 8px; margin-bottom: 72px; }
.doc h2 { display: flex; align-items: baseline; gap: 16px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 200; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 8px; color: #fff; }
.doc h2 .n { font: 400 13px/1 var(--mono); color: var(--dim); letter-spacing: .1em; flex: none; transform: translateY(-4px); }
.doc .intro { color: var(--mute); margin: 0 0 22px; }
.doc h3 { font-size: 18px; font-weight: 500; margin: 34px 0 10px; color: #fff; letter-spacing: 0; }
.art { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.art:target { background: rgba(255,255,255,.04); box-shadow: -14px 0 0 rgba(255,255,255,.04), 14px 0 0 rgba(255,255,255,.04); }
.art > a { font: 400 12px/1.9 var(--mono); color: var(--dim); text-decoration: none; letter-spacing: .04em; }
.art > a:hover { color: #fff; }
.art p, .art ul { margin: 0; color: #d4d4d4; }
.art p + p, .art p + ul, .art ul + p { margin-top: 10px; }
.art ul { padding-left: 18px; }
.art li { margin: 4px 0; }
.art li::marker { color: var(--dim); }
.def { font-weight: 500; color: #fff; }
.note { margin: 24px 0 0; padding: 16px 18px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: #0b0b0b; color: #d0d0d0; font-size: 15.5px; }
.note b { color: #fff; font-weight: 500; }
.tbl { width: 100%; overflow-x: auto; margin: 16px 0 6px; border: 1px solid var(--line); border-radius: var(--r-s); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); background: #0b0b0b; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td { color: #dadada; }
.meta-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font: 400 12px/1.4 var(--mono); letter-spacing: .08em; color: var(--mute); }
.meta-line span { display: inline-flex; gap: 8px; align-items: center; }
.meta-line span::before { content: ""; width: 5px; height: 5px; background: #fff; border-radius: 50%; opacity: .7; }

@media (max-width: 980px) {
  .rules { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .toc { display: none; }
  .toc-m { display: block; margin-bottom: 40px; }
  .toc-m summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-weight: 400; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: "+"; font: 300 22px/1 var(--f); }
  .toc-m[open] summary::after { content: "−"; }
  .toc-m ol { margin: 0; padding: 0 6px 10px; list-style: none; counter-reset: t; }
  .toc-m li { counter-increment: t; }
  .toc-m a { display: flex; gap: 12px; padding: 10px; text-decoration: none; color: #d0d0d0; border-top: 1px solid var(--line); font-size: 15px; }
  .toc-m a::before { content: counter(t, decimal-leading-zero); font: 400 11px/1.9 var(--mono); color: var(--dim); }
  .art { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Jouer */
.how { display: grid; gap: 16px; margin-top: 8px; }
.how > li { list-style: none; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; padding: 28px clamp(18px, 3vw, 32px); }
.how__n { font: 200 44px/1 var(--f); color: #fff; letter-spacing: -.04em; }
.how h2 { margin: 2px 0 10px; font-size: clamp(22px, 2vw, 28px); font-weight: 300; letter-spacing: -.015em; color: #fff; }
.how p { margin: 0 0 10px; color: #cfcfcf; }
.how ul { margin: 8px 0 0; padding-left: 18px; color: #cfcfcf; }
.how .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 640px) { .how > li { grid-template-columns: minmax(0, 1fr); gap: 10px; } .how__n { font-size: 34px; } }
.ol { padding: 0; margin: 0; }

.connect { display: flex; align-items: stretch; margin-top: 16px; border: 1px solid var(--line-2); border-radius: var(--r-s); overflow: hidden; background: #070707; max-width: 520px; }
.connect code { flex: 1; min-width: 0; padding: 14px 16px; font-size: 15px; color: #fff; overflow-x: auto; white-space: nowrap; }
.connect button { flex: none; border: 0; border-left: 1px solid var(--line-2); background: #fff; color: #000; font: 500 14px/1 var(--f); padding: 0 18px; cursor: pointer; }
.connect button:hover { background: #dcdcdc; }

.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-size: 18px; font-weight: 400; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 200 26px/0.9 var(--f); color: var(--mute); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 22px; color: #c8c8c8; max-width: 70ch; }

/* ---------- Pied ---------- */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 40px; background: #000; }
.ftr__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.ftr__logo img { height: 64px; width: auto; }
.ftr__claim { margin: 14px 0 0; color: var(--mute); font-size: 15px; max-width: 34ch; }
.ftr nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
.ftr nav a { text-decoration: none; color: #cfcfcf; font-size: 15px; }
.ftr nav a:hover { color: #fff; text-decoration: underline; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font: 400 12px/1.6 var(--mono); color: var(--dim); letter-spacing: .04em; }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--hdr) + 40px) var(--pad) 60px; position: relative; isolation: isolate; }
.nf picture { position: absolute; inset: 0; z-index: -2; }
.nf picture img { width: 100%; height: 100%; object-fit: cover; }
.nf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.82); }
.nf .code { font: 200 clamp(90px, 18vw, 200px)/1 var(--f); letter-spacing: -.05em; margin: 0; color: #fff; }

/* Apparition douce (désactivée si mouvement réduit) */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .rv.is-in { opacity: 1; transform: none; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 60; padding: 12px 18px; font-size: 14px; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .join::before { background: rgba(0,0,0,.84); }
  .connect code { font-size: 13px; padding: 14px 12px; }
  .connect button { padding: 0 14px; }
}

/* Logo FiveM (monochrome) */
.fm { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -0.14em; }
.fmw { display: inline-flex; align-items: baseline; gap: .32em; white-space: nowrap; }
.fmw .fm { align-self: center; transform: translateY(-.02em); }
.btn svg.fm--btn { width: 20px; height: 20px; }
.connect__ic { flex: none; display: grid; place-items: center; padding: 0 0 0 14px; color: #fff; }
.connect__ic .fm { width: 20px; height: 20px; }
