/* LawLess RP - styles du site */

:root {
  /* --- palette --- */
  --bg: #0a0a10;
  --bg-soft: #0f0f17;
  --surface: #14141e;
  --surface-2: #1a1a26;
  --border: #262635;
  --border-strong: #34344a;

  --red: #e63946;
  --red-deep: #b3202c;
  --red-glow: rgba(230, 57, 70, 0.35);

  --sunset-1: #ff8c42;
  --sunset-2: #ff3864;
  --sunset-3: #8338ec;

  --text: #eef0f6;
  --text-soft: #c3c7d4;
  --muted: #8b90a0;

  --radius: 14px;
  --radius-sm: 9px;

  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --container: 1160px;

  --shadow-card: 0 18px 45px -18px rgba(0, 0, 0, 0.65);
  --shadow-red: 0 10px 40px -8px var(--red-glow);
}

/* --- reset minimal --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

/* grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ==========================================================================
   Typographie
   ========================================================================== */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(3.4rem, 10vw, 7.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); letter-spacing: 0.04em; }
p { margin: 0 0 1em; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--sunset-1), var(--red));
}

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.text-gradient {
  background: linear-gradient(92deg, var(--sunset-1) 0%, var(--sunset-2) 55%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Boutons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px var(--red-glow); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--red); background: rgba(230, 57, 70, 0.08); }

.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 16, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo .mark {
  width: 40px; height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}
.nav-logo .rp { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 0.4rem 0;
  position: relative;
  transition: color 180ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 220ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  color: var(--text);
}
.nav-burger svg { width: 22px; height: 22px; display: block; }

/* menu mobile */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(10, 10, 16, 0.97);
  backdrop-filter: blur(10px);
  padding: 6rem 2rem 2rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  padding: 0.55rem 0;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--red); }
.mobile-menu .btn { margin-top: 2rem; width: 100%; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(110% 80% at 50% 106%, rgba(255, 140, 66, 0.2) 0%, rgba(255, 56, 100, 0.1) 40%, transparent 70%),
    linear-gradient(180deg, #0b0a18 0%, #150e26 42%, #2c1440 66%, #6d2150 86%, #b03d4d 100%);
}
/* étoiles */
.hero-stars {
  position: absolute;
  inset: 0 0 30% 0;
  z-index: -2;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 43% 30%, rgba(255,255,255,0.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 12%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 74% 26%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 9%, rgba(255,255,255,0.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 95% 33%, rgba(255,255,255,0.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 5%, rgba(255,255,255,0.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 18%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 81% 41%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 18% 48%, rgba(255,255,255,0.3) 50%, transparent 51%);
}
.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-skyline svg { width: 100%; height: auto; display: block; }

.hero-content {
  position: relative;
  padding: 8rem 0 10rem;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border-strong);
  background: rgba(20, 20, 30, 0.55);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 2rem;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 10px #3ddc84;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero-logo {
  width: clamp(190px, 26vw, 300px);
  height: auto;
  margin: 0 auto 1.4rem;
  filter: drop-shadow(0 14px 50px rgba(0, 0, 0, 0.55));
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 2.6rem;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll svg { width: 18px; height: 18px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section { padding: 6.5rem 0; position: relative; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }

/* bandeau de stats sous le hero */
.stats {
  border-block: 1px solid var(--border);
  background: rgba(15, 15, 23, 0.75);
  backdrop-filter: blur(8px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat {
  padding: 2rem 1rem;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  line-height: 1;
}
.stat .num em { font-style: normal; color: var(--red); }
.stat .label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}

/* cartes */
.card {
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: var(--red);
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* split lore teaser */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }

.lore-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.lore-visual svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.lore-quote {
  position: absolute;
  left: 1.4rem; right: 1.4rem; bottom: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
.lore-quote span { color: var(--sunset-1); }

/* règlement teaser : liste de principes */
.rules-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rules-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
}
.rules-list .n {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1.2;
  min-width: 2.2rem;
}
.rules-list strong { display: block; font-size: 1.02rem; }
.rules-list span { color: var(--muted); font-size: 0.92rem; }

/* boutique */
.shop-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.shop-card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: var(--shadow-card); }
.shop-card.featured { border-color: var(--red); box-shadow: var(--shadow-red); }
.shop-visual {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 120% at 50% 120%, rgba(230, 57, 70, 0.25) 0%, transparent 60%),
    linear-gradient(180deg, #171722 0%, #10101a 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.shop-visual svg { width: 64px; height: 64px; color: var(--red); opacity: 0.9; }
.shop-visual svg.poster { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; }
.shop-tag {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.shop-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.shop-body h3 { margin-bottom: 0.4rem; }
.shop-body .desc { color: var(--muted); font-size: 0.94rem; flex: 1; }
.shop-price {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 1rem 0;
  font-variant-numeric: tabular-nums;
}
.shop-price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
.shop-list { margin: 0 0 1.2rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.shop-list li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.92rem; color: var(--text-soft); }
.shop-list svg { width: 15px; height: 15px; color: var(--red); flex: none; }

/* réseaux sociaux */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .social-grid { grid-template-columns: 1fr; } }
.social-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.social-card.x:hover { border-color: #e7e9ea; }
.social-card.tiktok:hover { border-color: #25f4ee; }
.social-card.youtube:hover { border-color: #ff0000; }
.social-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  flex: none;
}
.social-card .icon svg { width: 24px; height: 24px; }
.social-card strong { display: block; font-size: 1.05rem; }
.social-card span { color: var(--muted); font-size: 0.88rem; }
.social-card .arrow { margin-left: auto; color: var(--muted); transition: transform 200ms ease, color 200ms ease; }
.social-card:hover .arrow { transform: translateX(4px); color: var(--text); }
.social-card .arrow svg { width: 20px; height: 20px; }

/* CTA final */
.cta-final {
  text-align: center;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 50% 110%, rgba(230, 57, 70, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final h2 { margin-bottom: 1rem; }
.cta-final p { color: var(--muted); max-width: 520px; margin: 0 auto 2.4rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: #08080d;
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer ul a { color: var(--text-soft); font-size: 0.95rem; transition: color 160ms ease; }
.footer ul a:hover { color: var(--red); }
.footer-brand p { color: var(--muted); font-size: 0.93rem; max-width: 300px; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--text); }

/* ==========================================================================
   Pages intérieures (règlement, lore, boutique)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 10rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(230, 57, 70, 0.1) 0%, transparent 60%),
    linear-gradient(180deg, #0c0b14 0%, var(--bg) 100%);
}
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.page-hero p { color: var(--muted); max-width: 620px; font-size: 1.08rem; margin-top: 1rem; }

/* layout règlement avec sommaire */
.doc-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0 6rem;
}
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 2rem; } }
.doc-toc {
  position: sticky;
  top: 96px;
  border-left: 2px solid var(--border);
}
@media (max-width: 900px) { .doc-toc { position: static; } }
.doc-toc a {
  display: block;
  padding: 0.45rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.doc-toc a:hover { color: var(--text); }
.doc-toc a.active { color: var(--red); border-left-color: var(--red); font-weight: 600; }

.prose { max-width: 74ch; }
.prose h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 3.2rem 0 1.2rem;
  padding-top: 1rem;
  scroll-margin-top: 100px;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h2 .idx { color: var(--red); font-size: 0.7em; }
.prose h3 { margin: 2rem 0 0.8rem; scroll-margin-top: 100px; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 1.3rem; margin: 0 0 1.2em; display: grid; gap: 0.45rem; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--text); }
.prose em { color: var(--sunset-1); font-style: normal; font-weight: 500; }

.callout {
  border: 1px solid rgba(230, 57, 70, 0.35);
  background: rgba(230, 57, 70, 0.07);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  margin: 1.6rem 0;
  display: flex;
  gap: 0.9rem;
}
.callout svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 0.2rem; }
.callout p { margin: 0; font-size: 0.95rem; }

.def-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  margin: 1rem 0;
}
.def-box dt {
  font-weight: 700;
  color: var(--text);
  display: inline;
}
.def-box dt::after { content: " : "; color: var(--muted); font-weight: 400; }
.def-box dd { display: inline; margin: 0; color: var(--text-soft); font-size: 0.97rem; }

/* chapitres du lore */
.lore-chapter { padding: 4.5rem 0; border-bottom: 1px solid var(--border); }
.lore-chapter:last-of-type { border-bottom: none; }
.lore-chapter .chapter-num {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-strong);
  margin-bottom: 0.5rem;
}
.lore-chapter h2 { margin-bottom: 1.4rem; }
.lore-chapter p { color: var(--text-soft); max-width: 70ch; font-size: 1.05rem; }
.lore-chapter .lead {
  font-size: 1.25rem;
  color: var(--text);
  border-left: 3px solid var(--red);
  padding-left: 1.2rem;
}

/* factions */
.faction-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
  border-top: 3px solid var(--faction, var(--red));
}
.faction-card h3 { margin-bottom: 0.5rem; }
.faction-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faction, var(--red));
  margin-bottom: 0.8rem;
}
.faction-card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* note boutique */
.shop-note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  max-width: 760px;
  margin: 3rem auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.shop-note svg { width: 20px; height: 20px; flex: none; color: var(--sunset-1); margin-top: 0.15rem; }
.shop-note p { margin: 0; }

/* ==========================================================================
   Apparitions au scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* accessibilité clavier */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
