/* Dop*Ness RP : site public. Memes jetons que les PDF, le F6 (dp_UI) et dp_Notify. */

@font-face { font-family: "Barlow SC"; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/r400.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-style: normal; font-weight: 500; font-display: swap; src: url(../assets/fonts/r500.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-style: normal; font-weight: 600; font-display: swap; src: url(../assets/fonts/r600.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-style: normal; font-weight: 700; font-display: swap; src: url(../assets/fonts/r700.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-style: italic; font-weight: 600; font-display: swap; src: url(../assets/fonts/i600.woff2) format("woff2"); }
@font-face { font-family: "Barlow SC"; font-style: italic; font-weight: 800; font-display: swap; src: url(../assets/fonts/i800.woff2) format("woff2"); }
/* Montserrat (variable) : logo NOVA de l'accueil */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/montserrat.woff2) format("woff2"); }

:root {
  --bg: #121212;
  --bg-deep: #0b0b0b;
  --panel: #1b1b1a;
  --panel-2: #222220;
  --line: rgba(239, 232, 210, 0.14);
  --line-strong: rgba(239, 232, 210, 0.32);
  --cream: #efe8d2;
  --bright: #fff8e4;
  --muted: rgba(239, 232, 210, 0.72);
  --faint: rgba(239, 232, 210, 0.46);
  --red: #d03939;
  --red-hi: #e46a6a;
  --red-soft: rgba(208, 57, 57, 0.14);
  --green: #7fb37a;
  --green-soft: rgba(127, 179, 122, 0.13);
  --amber: #d9a441;
  --amber-soft: rgba(217, 164, 65, 0.13);
  --radius: 3px;
  --wrap: 1120px;
  --gutter: 24px;
  --header: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: "Barlow SC", "Arial Narrow", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { color: var(--bright); font-weight: 700; }
p { margin: 0 0 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- En-tete ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  background: rgba(14, 14, 14, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; text-decoration: none;
  font-weight: 600; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  transition: color 0.15s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.2s;
}
.nav a:hover { color: var(--cream); }
.nav a[aria-current="true"], .nav a[aria-current="page"] { color: var(--bright); }
.nav a[aria-current="true"]::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #b92f2f; }
.btn-line { border-color: var(--line-strong); color: var(--cream); background: rgba(239, 232, 210, 0.03); }
.btn-line:hover { border-color: var(--cream); }
.btn-amber { background: var(--amber); color: #161310; }
.btn-amber:hover { background: #e6b65a; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn:active { transform: translateY(1px); }

/* ---------- Bandeau maquette ---------- */
.mockup-ribbon {
  background: repeating-linear-gradient(-45deg, rgba(217, 164, 65, 0.16) 0 12px, rgba(217, 164, 65, 0.08) 12px 24px);
  border-bottom: 1px solid rgba(217, 164, 65, 0.45);
  color: var(--amber); text-align: center; padding: 6px 16px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------- Accueil ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 72px;
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(208, 57, 57, 0.16), transparent 62%),
    radial-gradient(60% 60% at 0% 100%, rgba(239, 232, 210, 0.05), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  /* trame fine, rappel des menus en jeu */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(239, 232, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 232, 210, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 80% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000 30%, transparent 75%);
}
/* Visage de NOVA en fondu, a gauche derriere le titre (elle regarde vers la page) */
/* Source de 290 px (planche) : cadre limite a ~680 px pour ne pas trop l'agrandir, grain par-dessus */
.hero-face {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: min(52%, 680px); height: min(100%, 700px); pointer-events: none;
}
.hero-face::after {
  content: ""; position: absolute; inset: 0; opacity: 0.22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  -webkit-mask-image: radial-gradient(50% 56% at 44% 46%, #000 38%, transparent 98%);
  mask-image: radial-gradient(50% 56% at 44% 46%, #000 38%, transparent 98%);
}
.hero-face img {
  /* photo entiere (visage, badge N* sur la veste, lumieres de la ville), en couleur */
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  filter: saturate(0.85) brightness(0.85) contrast(1.06) blur(0.4px); opacity: 0.44;
  /* le fondu s'eteint avant le bord droit du cadre : pas de coupure nette au milieu de la page */
  -webkit-mask-image: radial-gradient(50% 56% at 44% 46%, #000 38%, transparent 98%);
  mask-image: radial-gradient(50% 56% at 44% 46%, #000 38%, transparent 98%);
}
/* Filigrane d* de Dop*Ness, a droite */
.hero-mark {
  position: absolute; right: -60px; top: 50%; width: 560px; transform: translateY(-50%) rotate(-6deg);
  opacity: 0.06; pointer-events: none;
}
.hero .wrap { position: relative; }
/* Accroche « À reprendre » au-dessus du titre */
.announce {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  padding: 7px 16px 7px 8px; border-radius: 30px;
  border: 1px solid rgba(217, 164, 65, 0.5); background: rgba(217, 164, 65, 0.09);
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background 0.15s, border-color 0.15s;
}
.announce:hover { background: rgba(217, 164, 65, 0.18); border-color: var(--amber); }
.announce > span:last-child { color: var(--amber); transition: transform 0.15s; }
.announce:hover > span:last-child { transform: translateX(3px); }

/* En-tete des pages secondaires */
.page-head {
  position: relative; padding: 72px 0 48px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(208, 57, 57, 0.14), transparent 62%),
    var(--bg);
}
.page-head h1 {
  margin: 0; font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 84px); line-height: 0.92;
}
.page-head .lede { margin: 18px 0 0; max-width: 640px; font-size: 19px; color: var(--muted); }
.kicker {
  font-weight: 600; font-size: 14px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0; max-width: 820px;
  font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(48px, 9vw, 112px); line-height: 0.9; letter-spacing: 0.005em;
}
.hero h1 span { color: var(--red); }
/* Logo NOVA (charte de l'IA : blanc, Montserrat espacee, carre N + etoile) a la place du titre */
.hero h1.hero-nova { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); font-style: normal; }
.hero-nova .n-mark { width: clamp(78px, 10vw, 132px); height: clamp(78px, 10vw, 132px); color: #fff; flex: none; }
.hero-nova .n-word {
  display: inline-flex; align-items: center; color: #fff;
  font-family: "Montserrat", "Segoe UI", sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: clamp(50px, 9vw, 118px); letter-spacing: 0.26em; line-height: 1;
}
.hero-nova .n-word svg { width: 0.84em; height: 0.84em; margin: 0 0.26em 0 0.02em; flex: none; }
.hero-nova-sub {
  display: inline-block; margin-top: 18px; padding-top: 14px; border-top: 2px solid #fff;
  font-family: "Montserrat", "Segoe UI", sans-serif; font-weight: 500; font-size: 13px;
  letter-spacing: 0.34em; text-transform: uppercase; color: #fff;
}
.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; }
.hero .lede { margin: 26px 0 0; max-width: 600px; font-size: 20px; color: var(--muted); }
.hero .rule { width: 72px; height: 2px; background: var(--cream); margin: 30px 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 64px;
}
.fact { background: rgba(27, 27, 26, 0.86); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.fact .n { font-style: italic; font-weight: 800; font-size: 34px; line-height: 1; color: var(--bright); }
.fact .n em { color: var(--red); font-style: italic; }
.fact .t { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.3; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--bg-deep); }
.section-head { margin-bottom: 36px; max-width: 720px; }
h2 {
  margin: 0; padding-left: 14px; border-left: 4px solid var(--red);
  font-style: italic; font-weight: 800; text-transform: uppercase;
  font-size: clamp(32px, 4.6vw, 48px); line-height: 1; letter-spacing: 0.015em;
}
.section-head p { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 18px; }
h3 { margin: 0; font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; }

/* Etapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.step .num { font-style: italic; font-weight: 800; font-size: 54px; line-height: 0.8; color: var(--red); margin-bottom: 14px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step .btn { margin-top: 16px; }

/* Lore */
.lore { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: start; }
.lore-quote {
  position: sticky; top: calc(var(--header) + 32px);
  font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.02;
}
.lore-quote span { color: var(--red); }
.lore-text p { font-size: 18px; color: var(--cream); }

/* Bloc a completer */
.todo {
  position: relative; border: 1px dashed rgba(217, 164, 65, 0.55); border-radius: var(--radius);
  background: var(--amber-soft); padding: 20px 22px; color: var(--muted); font-size: 16px;
}
.todo .tag {
  display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 20px;
  border: 1px solid rgba(217, 164, 65, 0.55); color: var(--amber);
  font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.todo p:last-child { margin-bottom: 0; }

/* ---------- Reglement ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab {
  font: inherit; cursor: pointer;
  padding: 10px 18px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); border-left: 3px solid transparent;
  background: var(--panel); color: var(--muted);
  font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.tab:hover { color: var(--cream); }
.tab[aria-selected="true"] { color: var(--bright); border-left-color: var(--red); background: var(--panel-2); }
.tab-panel[hidden] { display: none; }

.rules { display: grid; gap: 10px; counter-reset: rule; }
.rule-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 6px 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 14px;
}
.rule-card::before {
  counter-increment: rule; content: counter(rule, decimal-leading-zero);
  grid-row: span 2; font-style: italic; font-weight: 800; font-size: 30px; line-height: 1; color: var(--red); text-align: center;
}
.rule-card h3 { font-size: 19px; align-self: center; }
.rule-card p, .rule-card ul { margin: 0; color: var(--muted); font-size: 16px; }
.rule-card ul { padding: 0; list-style: none; display: grid; gap: 4px; }
.rule-card li { position: relative; padding-left: 16px; }
.rule-card li::before { content: ""; position: absolute; left: 1px; top: 10px; width: 6px; height: 6px; background: var(--red); border-radius: 1px; }
.rules-sub {
  margin: 26px 0 12px; font-weight: 700; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint);
}
.sanctions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sanction { background: var(--red-soft); border: 1px solid rgba(208, 57, 57, 0.4); border-radius: var(--radius); padding: 14px 16px; font-size: 16px; }
.sanction b { display: block; color: var(--red-hi); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 2px; }
.rules-note {
  margin-top: 18px; padding: 14px 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--muted); font-size: 16px;
}

/* ---------- Metiers ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  font: inherit; cursor: pointer; padding: 7px 14px; border-radius: 20px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
}
.chip:hover { color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: #141414; }

.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.job {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 18px 23px;
}
.job::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: var(--radius) 0 0 var(--radius); background: var(--green); }
.job[data-kind="libre"]::before { background: var(--cream); }
.job[data-kind="reprendre"]::before { background: var(--amber); }
.job[data-kind="reprendre"] { border-style: dashed; border-color: rgba(217, 164, 65, 0.4); }
.job[data-kind="gang"]::before { background: var(--red); }
.job[data-kind="dossier"]::before { background: var(--cream); }
.job[data-kind="dossier"] { border-style: dashed; background: rgba(27, 27, 26, 0.6); }
.job[hidden] { display: none; }
.job-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.job h3 { font-size: 24px; }
.job .sub { color: var(--faint); font-size: 15px; margin-bottom: 12px; }
.job .sub b { color: var(--muted); font-weight: 600; }
.job > p { color: var(--muted); font-size: 16px; }
.job .foryou {
  margin-top: auto; padding: 12px 14px; border-radius: var(--radius);
  background: var(--red-soft); border: 1px solid rgba(208, 57, 57, 0.35); font-size: 15px; line-height: 1.4;
}
.job .foryou b { display: block; margin-bottom: 2px; color: var(--red-hi); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.job[data-kind="libre"] .foryou, .job[data-kind="dossier"] .foryou { background: rgba(239, 232, 210, 0.05); border-color: var(--line); }
.job[data-kind="libre"] .foryou b, .job[data-kind="dossier"] .foryou b { color: var(--muted); }
.job[data-kind="reprendre"] .foryou { background: var(--amber-soft); border-color: rgba(217, 164, 65, 0.4); }
.job[data-kind="reprendre"] .foryou b { color: var(--amber); }

/* Legende des statuts */
.legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: -6px 0 22px; color: var(--muted); font-size: 15px; }
.legend > div { display: flex; align-items: center; gap: 10px; }

/* Section illegale : lueur rouge plus marquee */
.section-dark {
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(208, 57, 57, 0.12), transparent 60%),
    var(--bg-deep);
}
.crews { margin-bottom: 18px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 2px 10px 3px; border-radius: 20px; border: 1px solid;
  font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--green); background: var(--green-soft); border-color: rgba(127, 179, 122, 0.4); }
.pill.free { color: var(--cream); background: rgba(239, 232, 210, 0.06); border-color: var(--line-strong); }
.pill.take { color: var(--amber); background: var(--amber-soft); border-color: rgba(217, 164, 65, 0.45); }
.pill.gang { color: var(--red-hi); background: var(--red-soft); border-color: rgba(208, 57, 57, 0.45); }

.key {
  display: inline-block; min-width: 24px; text-align: center; padding: 0 6px;
  border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: var(--radius);
  font-weight: 700; font-size: 0.85em; background: #0c0c0c; color: var(--bright);
}

.pay {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px;
}
.pay > div { border-top: 2px solid var(--red); padding-top: 12px; font-size: 16px; color: var(--muted); }
.pay b { display: block; color: var(--bright); font-weight: 700; margin-bottom: 2px; }

/* ---------- Devenir patron ---------- */
.featured {
  position: relative; margin-bottom: 44px; padding: 28px 28px 28px;
  border: 1px solid rgba(217, 164, 65, 0.45); border-radius: var(--radius);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(217, 164, 65, 0.16), transparent 60%),
    var(--panel);
}
.featured::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); border-radius: var(--radius) 0 0 var(--radius); }
.featured-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.featured-head .kicker { color: var(--amber); margin-bottom: 8px; }
.featured-head h3 { font-size: clamp(26px, 3.2vw, 36px); }
.featured-head p { margin: 10px 0 0; max-width: 620px; color: var(--muted); }
.featured .job { background: rgba(14, 14, 14, 0.55); }

/* ---------- Bandeaux (reglement, Discord) ---------- */
.section-tight { padding: 52px 0; }
.section-first { padding-top: 44px; }
.band, .cta-discord {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(208, 57, 57, 0.22), transparent 60%),
    var(--panel);
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 32px 36px;
}
.band h2, .cta-discord h2 { border: 0; padding: 0; font-size: clamp(28px, 3.6vw, 40px); }
.band .kicker { margin-bottom: 6px; }
.band p, .cta-discord p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Pied de page ---------- */
.footer { padding: 48px 0 40px; color: var(--faint); font-size: 15px; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer img { height: 34px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; font-size: 14px; }
.footer nav a:hover { color: var(--cream); }
.footer .legal { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 18px; font-size: 14px; }

/* ---------- Apparition au defilement ---------- */
/* masque seulement si le script tourne (classe posee dans <head>) : sans JS, tout reste visible */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Ecrans etroits ---------- */
@media (max-width: 960px) {
  .jobs { grid-template-columns: repeat(2, 1fr); }
  .facts, .pay { grid-template-columns: repeat(2, 1fr); }
  .lore { grid-template-columns: 1fr; gap: 24px; }
  .lore-quote { position: static; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header: 104px; }
  body { font-size: 16px; }
  .header { height: auto; }
  .header .wrap { flex-wrap: wrap; gap: 10px 16px; padding-top: 12px; padding-bottom: 8px; }
  .header .btn { margin-left: auto; }
  .nav { order: 3; flex-basis: 100%; margin: 0 -8px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 8px; font-size: 14px; }
  .nav a::after { left: 8px; right: 8px; }
  .hero { padding: 56px 0 48px; }
  .hero-face { width: 100%; height: 100%; }
  .hero-face img { opacity: 0.3; object-position: 60% 18%; }
  .hero-mark { width: 360px; right: -120px; }
  .hero .lede { font-size: 18px; }
  .facts { margin-top: 40px; }
  .section { padding: 60px 0; }
  .steps, .jobs, .sanctions { grid-template-columns: 1fr; }
  .rule-card { grid-template-columns: 40px 1fr; padding: 16px 16px 16px 10px; }
  .rule-card::before { font-size: 24px; }
  .band, .cta-discord { grid-template-columns: 1fr; padding: 24px 20px; }
  .featured { padding: 22px 16px 16px 20px; }
  .featured-head { flex-direction: column; align-items: flex-start; }
  .announce { font-size: 14px; }
}
@media (max-width: 420px) {
  .brand img { height: 24px; }
  .header .btn { padding: 8px 10px; letter-spacing: 0.08em; }
  .pay { grid-template-columns: 1fr; }
  .fact { padding: 14px; }
  .fact .n { font-size: 28px; }
}
