/* Loadout Legends — vitrine statique. Dépend de /assets/tokens.css (chargé avant).
   Aucune librairie externe : tout l'habillage tient en CSS natif pour que la page
   reste immédiate au chargement. */

/* ==========================================================================
   1. Socle typographique et utilitaires
   ========================================================================== */
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { max-width: 100%; }
body { font-size: 16px; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; display: block; }
/* Les visuels sont servis en <picture> (WebP + repli JPEG). `display: contents` retire le
   conteneur du flux : l'image reste l'enfant direct de sa grille ou de son cadre, et toutes
   les règles écrites pour `img` continuent de s'appliquer sans être dupliquées. */
picture { display: contents; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 700; letter-spacing: -.032em; }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); font-weight: 700; letter-spacing: -.026em; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.012em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { color: var(--ll-text); font-weight: 600; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--ll-volt); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ll-volt); color: var(--ll-bg); padding: 10px 14px; font-family: var(--ll-font-display); font-weight: 600; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--ll-container); margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.12rem; color: var(--ll-muted); max-width: 62ch; }
.lead-lg { font-size: clamp(1.1rem, 2.2vw, 1.32rem); line-height: 1.55; }
.muted { color: var(--ll-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   2. En-tête et navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; height: 66px; background: rgba(8, 8, 11, .72); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.is-stuck { background: rgba(8, 8, 11, .93); border-bottom-color: var(--ll-border); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ll-text); font-family: var(--ll-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand img { width: auto; height: 30px; flex: none; }
/* Dans l'en-tête, le logo porte déjà le nom : le texte serait redondant. */
.site-header .brand { font-size: 0; gap: 0; }
.site-header .brand img { height: 34px; }
@media (min-width: 640px) { .site-header .brand img { height: 40px; } }
/* Dans le pied de page, l'emblème seul accompagne le nom écrit. */
.site-footer .brand img { height: 26px; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--ll-border); border-radius: 10px; color: var(--ll-text); }
.nav-toggle span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { position: fixed; top: 66px; left: 0; right: 0; max-height: calc(100vh - 66px); overflow-y: auto; background: var(--ll-surface); border-bottom: 1px solid var(--ll-border); padding: 12px 20px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .18s, opacity .18s, visibility .18s; }
.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-nav li { margin: 0; }
.site-nav a:not(.ll-btn) { display: block; padding: 12px 8px; color: var(--ll-text); font-family: var(--ll-font-display); font-weight: 600; font-size: 15px; border-radius: 8px; text-decoration: none; }
.site-nav a:not(.ll-btn):hover { color: var(--ll-volt); }
.site-nav a[aria-current="page"]:not(.ll-btn) { color: var(--ll-volt); }
.nav-actions { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ll-border); display: flex; flex-direction: column; gap: 8px; }
.nav-actions .ll-btn { width: 100%; }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; max-height: none; overflow: visible; background: transparent; border: 0; padding: 0; transform: none; opacity: 1; visibility: visible; display: flex; align-items: center; gap: 20px; }
  .site-nav ul { flex-direction: row; gap: 2px; }
  .site-nav a:not(.ll-btn) { padding: 8px 11px; font-size: 14px; color: var(--ll-muted); }
  .site-nav a:not(.ll-btn):hover { color: var(--ll-text); }
  .nav-actions { margin: 0; padding: 0; border: 0; flex-direction: row; }
  .nav-actions .ll-btn { width: auto; padding: 11px 18px; font-size: 14px; }
}

/* ==========================================================================
   3. Sections
   ========================================================================== */
.section { padding: 72px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--ll-bg), var(--ll-bg-deep) 40%, var(--ll-bg)); }
.section-head { max-width: 64ch; margin-bottom: 40px; }
.section-head .ll-eyebrow { display: block; margin-bottom: 12px; color: var(--ll-volt); }
.section-head .lead { margin-bottom: 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }

/* Numéro de chapitre : la colonne vertébrale narrative de la page. */
.chapter-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.chapter-num { font-family: var(--ll-font-display); font-weight: 700; font-size: .82rem; letter-spacing: .22em; color: var(--ll-volt); }
.chapter-rule { flex: 1; height: 1px; max-width: 120px; background: linear-gradient(90deg, var(--ll-volt-dim), transparent); }
.chapter-label { font-family: var(--ll-font-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ll-subtle); }

/* Hero des pages intérieures : même grammaire que la landing, en plus sobre. */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 52px; border-bottom: 1px solid var(--ll-border); background: radial-gradient(70% 80% at 85% -10%, rgba(167, 139, 250, .14), transparent 62%), var(--ll-bg); }
.page-hero h1 { max-width: 17ch; font-size: clamp(2.1rem, 5vw, 3.4rem); }
.page-hero .ll-eyebrow { color: var(--ll-volt); display: block; margin-bottom: 14px; }
.page-hero .container { position: relative; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.6) contrast(1.06) brightness(.72); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ll-bg) 8%, rgba(8, 8, 11, .78) 48%, rgba(8, 8, 11, .46) 100%),
    linear-gradient(180deg, rgba(8, 8, 11, .45), var(--ll-bg) 97%);
}
@media (min-width: 900px) { .page-hero { padding: 116px 0 88px; } }

/* Visuel d'appui à droite d'un hero intérieur, masqué quand la place manque. */
.page-hero-grid { display: grid; gap: 36px; align-items: center; }
.page-hero-aside { display: none; }
@media (min-width: 1000px) {
  .page-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .page-hero-aside { display: block; }
  .page-hero-aside .pcard { max-width: 244px; margin-left: auto; box-shadow: var(--ll-shadow-lift); }
}

/* ==========================================================================
   4. Grilles et blocs génériques
   ========================================================================== */
.grid { display: grid; gap: 20px; }
/* Sans cela, un enfant large (tableau, bloc de code) impose sa largeur à toute la colonne
   et fait déborder la page horizontalement. */
.grid > * { min-width: 0; }
.grid-2, .grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.pillar { position: relative; padding: 28px 26px; background: linear-gradient(165deg, var(--ll-surface), var(--ll-surface-2)); border: 1px solid var(--ll-border); clip-path: var(--ll-clip-card); transition: transform .18s ease, border-color .18s ease; }
.pillar::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 0% 0%, rgba(167, 139, 250, .09), transparent 58%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.pillar:hover { transform: translateY(-3px); border-color: var(--ll-border-strong); }
.pillar:hover::after { opacity: 1; }
.pillar-num { font-family: var(--ll-font-display); color: var(--ll-volt); font-size: .78rem; letter-spacing: .2em; margin-bottom: 14px; }
.pillar p { color: var(--ll-muted); margin: 0; }
.pillar h3 { margin-bottom: .45em; }

.feature { padding: 24px; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: var(--ll-radius-lg); transition: border-color .18s, transform .18s; }
.feature:hover { border-color: var(--ll-border-strong); transform: translateY(-2px); }
.feature h3 { margin-bottom: .45em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feature h3 .tag { margin-left: auto; }
.feature p { color: var(--ll-muted); }
.feature p:last-child, .feature ul:last-child { margin-bottom: 0; }
.feature li { color: var(--ll-muted); }
.feature.locked { border-style: dashed; background: transparent; }
.feature.locked h3 { color: var(--ll-muted); }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--ll-font-display); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--ll-border); color: var(--ll-muted); white-space: nowrap; }
.tag-live { color: var(--ll-win); border-color: rgba(111, 211, 168, .4); background: rgba(111, 211, 168, .07); }
.tag-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ll-win); box-shadow: 0 0 0 3px rgba(111, 211, 168, .18); }
.tag-soon { border-style: dashed; color: var(--ll-subtle); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
.step { position: relative; counter-increment: step; padding: 26px 26px 26px 76px; background: var(--ll-surface); border: 1px solid var(--ll-border); clip-path: var(--ll-clip-card); margin: 0; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 24px; top: 24px; font-family: var(--ll-font-display); font-weight: 700; font-size: 22px; color: var(--ll-volt); }
.step p:last-child, .step ul:last-child { margin-bottom: 0; }
.step li, .step p { color: var(--ll-muted); }
.step h3 { margin-bottom: .4em; }

.stat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.stat-list li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 15px 17px; background: var(--ll-surface); border: 1px solid var(--ll-border); margin: 0; border-radius: 10px; }
.stat-list .k { font-family: var(--ll-font-display); font-weight: 700; color: var(--ll-volt); }
.stat-list .v { color: var(--ll-muted); }

.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } }

.table-wrap { overflow-x: auto; min-width: 0; max-width: 100%; border: 1px solid var(--ll-border); border-radius: var(--ll-radius); }
.table-wrap-compact table { min-width: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
th, td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--ll-border); vertical-align: top; }
th { font-family: var(--ll-font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ll-muted); background: var(--ll-surface); }
tbody tr:last-child td { border-bottom: 0; }

.callout { padding: 22px 24px; border-left: 3px solid var(--ll-volt); background: linear-gradient(90deg, rgba(167, 139, 250, .07), transparent 70%), var(--ll-surface); border-radius: 0 var(--ll-radius) var(--ll-radius) 0; }
.callout p:last-child { margin: 0; }

/* ==========================================================================
   5. Cartes joueur
   ========================================================================== */
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .card-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pcard {
  --rarity: var(--ll-rarity-common);
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: linear-gradient(160deg, var(--rarity), color-mix(in srgb, var(--rarity) 55%, #0B0A10));
  padding: 2px; clip-path: var(--ll-clip-card);
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), filter .3s;
}
.pcard::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; clip-path: var(--ll-clip-card);
  background: var(--rarity); opacity: 0; filter: blur(18px); transition: opacity .3s;
}
.pcard:hover { transform: translateY(-8px) scale(1.015); }
.pcard:hover::before { opacity: .45; }
.pcard-inner { display: flex; flex-direction: column; flex: 1; min-width: 0; background: var(--ll-surface-2); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.pcard-top { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--ll-surface); }
.pcard-top img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.8) contrast(1.06); transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.pcard:hover .pcard-top img { transform: scale(1.06); }
.pcard-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(29, 27, 38, .85) 78%, var(--ll-surface-2) 100%); }
.pcard-rating { position: absolute; top: 8px; left: 8px; z-index: 1; font-family: var(--ll-font-display); font-weight: 700; font-size: 1.32rem; line-height: 1; color: #0A0910; background: var(--rarity); padding: 7px 9px 6px; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.pcard-role { position: absolute; top: 8px; right: 8px; z-index: 1; font-family: var(--ll-font-display); font-weight: 600; font-size: .66rem; letter-spacing: .12em; color: var(--ll-text); background: rgba(8, 8, 11, .82); border: 1px solid var(--ll-border); padding: 4px 7px; }
.pcard-title { position: absolute; left: 8px; bottom: 8px; z-index: 1; font-family: var(--ll-font-display); font-weight: 700; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rarity); }
.pcard-body { padding: 11px 11px 13px; }
.pcard-name { font-family: var(--ll-font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
.pcard-org { color: var(--ll-muted); font-size: .76rem; margin: 3px 0 9px; }
.pcard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-top: 1px solid var(--ll-border); padding-top: 9px; margin-bottom: 8px; }
.pcard-stats div { text-align: center; min-width: 0; }
.pcard-stats dt { font-family: var(--ll-font-display); font-size: .64rem; letter-spacing: .08em; color: var(--ll-muted); }
.pcard-stats dd { margin: 2px 0 0; font-family: var(--ll-font-display); font-weight: 700; font-size: .92rem; color: var(--ll-text); }
.pcard-rarity { display: block; font-family: var(--ll-font-display); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rarity); }

/* ==========================================================================
   6. Révélation au scroll et bandeaux
   ========================================================================== */
.has-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2, .8, .3, 1), transform .6s cubic-bezier(.2, .8, .3, 1); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }
.has-js .reveal[data-delay="1"] { transition-delay: .08s; }
.has-js .reveal[data-delay="2"] { transition-delay: .16s; }
.has-js .reveal[data-delay="3"] { transition-delay: .24s; }
.has-js .reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .has-js .reveal { opacity: 1; transform: none; } }

.anchor-nav a.is-active { color: var(--ll-volt); }
@media (min-width: 980px) {
  .anchor-nav a { position: relative; }
  .anchor-nav a.is-active::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 2px; background: var(--ll-volt); }
}

.anchor-dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 13px; }
.anchor-dots a { position: relative; display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--ll-border-strong); transition: all .22s ease; }
.anchor-dots a:hover { background: var(--ll-muted); transform: scale(1.3); }
.anchor-dots a.active { background: var(--ll-volt); box-shadow: 0 0 0 4px rgba(167, 139, 250, .18); }
.anchor-dots a span { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); padding: 6px 10px; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: 6px; font-size: 12px; color: var(--ll-text); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.anchor-dots a:hover span { opacity: 1; }
@media (max-width: 1200px) { .anchor-dots { display: none; } }

:target, main section[id] { scroll-margin-top: 84px; }

/* ==========================================================================
   7. Landing — Hero
   ========================================================================== */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ll-bg-deep); }
.lp-hero-media { position: absolute; inset: 0; z-index: -3; }
.lp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(.5) contrast(1.1) brightness(.48); }
.lp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 8, 11, .72) 0%, rgba(8, 8, 11, .84) 48%, var(--ll-bg) 100%),
    radial-gradient(75% 65% at 12% 8%, rgba(167, 139, 250, .22), transparent 62%),
    radial-gradient(60% 50% at 92% 78%, rgba(232, 213, 183, .10), transparent 60%);
}
/* Trame fine : donne du grain à l'image de fond sans alourdir la page. */
.lp-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(167, 139, 250, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 25%, #000, transparent 75%);
}
.lp-hero-inner { position: relative; padding: 60px 20px 54px; }
.lp-kicker { display: inline-flex; align-items: center; gap: 11px; color: var(--ll-volt); margin: 0 0 18px; }
.lp-kicker::before { content: ""; width: 32px; height: 2px; background: var(--ll-volt); }
.lp-hero h1 { max-width: 15ch; }
.lp-hero h1 em { font-style: normal; background: linear-gradient(110deg, var(--ll-volt-bright), var(--ll-ion)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero-lead { margin-top: 22px; font-size: 1.14rem; color: var(--ll-text); opacity: .86; max-width: 56ch; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }
.lp-hero-note { margin: 0; font-size: .9rem; color: var(--ll-muted); max-width: 52ch; }
.lp-hero-note strong { color: var(--ll-ion); font-weight: 600; }

/* Éventail de cartes du hero : le produit se montre avant de s'expliquer. */
.lp-hero-grid { display: grid; gap: 40px; align-items: center; }
/* Sous 1060 px l'éventail n'a pas la place de s'ouvrir : les trois cartes passent en rang
   sous le texte plutôt que de disparaître. Montrer le produit prime sur l'effet. */
.lp-hero-fan { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 340px; }
.lp-hero-fan .pcard:nth-child(3) { display: none; }
@media (min-width: 560px) { .lp-hero-fan { grid-template-columns: repeat(3, 1fr); max-width: 540px; } .lp-hero-fan .pcard:nth-child(3) { display: flex; } }
@media (min-width: 1060px) {
  .lp-hero-inner { padding: 118px 20px 104px; }
  .lp-hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .lp-hero h1 { font-size: clamp(3rem, 4.6vw, 4.4rem); }
  .lp-hero-lead { font-size: 1.22rem; }
  .lp-hero-fan { display: block; position: relative; height: 470px; max-width: none; }
  .lp-hero-fan .pcard { position: absolute; width: 178px; box-shadow: var(--ll-shadow-lift); }
  .lp-hero-fan .pcard:nth-child(1) { left: 0; top: 66px; transform: rotate(-7deg); z-index: 1; }
  .lp-hero-fan .pcard:nth-child(2) { left: 34%; top: 0; transform: rotate(-1deg); z-index: 3; }
  .lp-hero-fan .pcard:nth-child(3) { left: 68%; top: 58px; transform: rotate(6deg); z-index: 2; }
  .lp-hero-fan .pcard:hover { transform: translateY(-14px) rotate(0deg) scale(1.04); z-index: 4; }
  .has-js .lp-hero-fan .pcard { animation: card-float 7s ease-in-out infinite; }
  .has-js .lp-hero-fan .pcard:nth-child(2) { animation-delay: -2.3s; }
  .has-js .lp-hero-fan .pcard:nth-child(3) { animation-delay: -4.6s; }
  .has-js .lp-hero-fan .pcard:hover { animation-play-state: paused; }
}
@keyframes card-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Bandeau de chiffres sous le hero */
.lp-statband { position: relative; border-top: 1px solid var(--ll-border); border-bottom: 1px solid var(--ll-border); background: var(--ll-bg-deep); }
.lp-statband dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--ll-border); }
.lp-statband dl > div { background: var(--ll-bg-deep); padding: 20px 12px; text-align: center; }
.lp-statband dt { font-family: var(--ll-font-display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ll-muted); }
.lp-statband dd { margin: 7px 0 0; font-family: var(--ll-font-display); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--ll-ion); }
@media (min-width: 760px) { .lp-statband dl { grid-template-columns: repeat(6, 1fr); } }

/* ==========================================================================
   8. Landing — La boucle de jeu
   ========================================================================== */
.lp-loop { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: loop; }
.lp-loop li { position: relative; counter-increment: loop; margin: 0; padding: 24px 22px; background: linear-gradient(170deg, var(--ll-surface), var(--ll-bg-deep)); border: 1px solid var(--ll-border); clip-path: var(--ll-clip-card); }
.lp-loop li::before { content: counter(loop, decimal-leading-zero); display: block; font-family: var(--ll-font-display); font-weight: 700; font-size: .74rem; letter-spacing: .2em; color: var(--ll-volt); margin-bottom: 12px; }
.lp-loop h3 { margin-bottom: .4em; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; }
.lp-loop p { margin: 0; color: var(--ll-muted); font-size: .95rem; }
@media (min-width: 700px) { .lp-loop { grid-template-columns: repeat(5, 1fr); } }

/* ==========================================================================
   9. Landing — Raretés
   ========================================================================== */
.lp-rarity { display: grid; gap: 36px; align-items: start; margin-top: 52px; }
.lp-pack { margin: 0; position: relative; }
.lp-pack img { width: 100%; max-height: 560px; object-fit: cover; object-position: center; border: 1px solid var(--ll-border); clip-path: var(--ll-clip-card); }
.lp-pack figcaption { margin-top: 14px; font-size: .86rem; color: var(--ll-muted); }
@media (min-width: 960px) { .lp-rarity { grid-template-columns: 1.3fr .7fr; gap: 52px; } }

.rarity-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rarity-row { --rarity: var(--ll-rarity-common); display: grid; grid-template-columns: 3px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--ll-surface); border: 1px solid var(--ll-border); margin: 0; border-radius: 8px; transition: border-color .2s, background .2s; }
.rarity-row:hover { border-color: color-mix(in srgb, var(--rarity) 55%, var(--ll-border)); }
.rarity-row .swatch { align-self: stretch; background: var(--rarity); border-radius: 2px; box-shadow: 0 0 12px color-mix(in srgb, var(--rarity) 50%, transparent); }
.rarity-row h3 { margin: 0 0 3px; color: var(--rarity); font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; }
.rarity-row p { margin: 0; color: var(--ll-muted); font-size: .93rem; }
.rarity-count { font-family: var(--ll-font-display); font-weight: 700; font-size: 1.25rem; color: var(--rarity); white-space: nowrap; }
.rarity-count small { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ll-muted); font-weight: 500; }

/* ==========================================================================
   10. Landing — Roster
   ========================================================================== */
.lp-roster { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .lp-roster { grid-template-columns: .95fr 1.05fr; gap: 52px; } }

.lp-sheet { padding: 26px 24px; background: linear-gradient(170deg, var(--ll-surface), var(--ll-bg-deep)); border: 1px solid var(--ll-border-strong); clip-path: var(--ll-clip-card); }
.lp-sheet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--ll-border); }
.lp-sheet-head h3 { margin: 0; font-size: .88rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ll-muted); }
.lp-sheet-head span { font-family: var(--ll-font-display); font-size: .78rem; color: var(--ll-volt); letter-spacing: .1em; }
.lp-slots { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.lp-slots li { margin: 0; padding: 14px 10px; text-align: center; background: var(--ll-bg-deep); border: 1px solid var(--ll-border); border-radius: 8px; }
.lp-slots .is-starter { border-color: var(--ll-volt); background: linear-gradient(180deg, rgba(167, 139, 250, .12), var(--ll-bg-deep)); }
.lp-slot-role { display: block; font-family: var(--ll-font-display); font-weight: 700; font-size: .82rem; letter-spacing: .04em; }
.lp-slot-tag { display: block; margin-top: 4px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ll-muted); }
.lp-slots .is-starter .lp-slot-tag { color: var(--ll-volt); }
.lp-calls { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-calls li { margin: 0; padding: 9px 14px; background: rgba(232, 213, 183, .06); border: 1px solid var(--ll-ion-dim); border-radius: 999px; font-family: var(--ll-font-display); font-weight: 600; font-size: .82rem; color: var(--ll-ion); }
.lp-sheet-foot { margin: 20px 0 0; font-size: .86rem; color: var(--ll-subtle); }

/* ==========================================================================
   11. Landing — Titres et postes
   ========================================================================== */
.lp-titles { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-titles li { margin: 0; padding: 20px 18px; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: 10px; transition: border-color .2s, transform .2s; }
.lp-titles li:hover { border-color: var(--ll-volt-dim); transform: translateY(-2px); }
.lp-titles h3 { margin: 0 0 6px; font-size: .92rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ll-volt); }
.lp-titles p { margin: 0; font-size: .93rem; color: var(--ll-muted); }
@media (min-width: 900px) { .lp-titles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   12. Landing — Le match
   ========================================================================== */
.lp-match { position: relative; }
.lp-beats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.lp-beat { position: relative; margin: 0; padding: 0 0 34px 40px; border-left: 1px solid var(--ll-border); }
.lp-beat:last-child { padding-bottom: 0; border-left-color: transparent; }
.lp-beat::before { content: ""; position: absolute; left: -6px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--ll-bg); border: 2px solid var(--ll-volt); }
.lp-beat h3 { margin: 0 0 7px; font-size: 1.12rem; }
.lp-beat p { margin: 0; color: var(--ll-muted); }
.lp-beat-when { display: block; font-family: var(--ll-font-display); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ll-subtle); margin-bottom: 6px; }

/* Bandeau image pleine largeur, pour aérer entre deux blocs de texte */
.lp-band { position: relative; height: 280px; overflow: hidden; border-top: 1px solid var(--ll-border); border-bottom: 1px solid var(--ll-border); }
.lp-band img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) brightness(.72) contrast(1.08); }
.lp-band-caption { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 24px; background: radial-gradient(60% 80% at 50% 50%, rgba(8, 8, 11, .82), rgba(8, 8, 11, .52)); }
.lp-band-caption p { margin: 0; font-family: var(--ll-font-display); font-weight: 700; font-size: clamp(1.3rem, 3.6vw, 2.2rem); letter-spacing: -.02em; max-width: 22ch; text-wrap: balance; }
.lp-band-caption em { font-style: normal; color: var(--ll-volt); }
@media (min-width: 900px) { .lp-band { height: 340px; } }

/* ==========================================================================
   13. Landing — Modes, progression, univers
   ========================================================================== */
.lp-modes { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lp-modes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-modes { grid-template-columns: repeat(4, 1fr); } }
.lp-mode { position: relative; display: flex; flex-direction: column; padding: 26px 22px; background: linear-gradient(170deg, var(--ll-surface), var(--ll-bg-deep)); border: 1px solid var(--ll-border); clip-path: var(--ll-clip-card); transition: transform .2s, border-color .2s; }
.lp-mode:hover { transform: translateY(-3px); border-color: var(--ll-border-strong); }
.lp-mode .tag { align-self: flex-start; margin-bottom: 16px; }
.lp-mode h3 { margin: 0 0 8px; font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase; }
.lp-mode p { margin: 0; color: var(--ll-muted); font-size: .94rem; }
.lp-mode.is-locked { background: transparent; border-style: dashed; }
.lp-mode.is-locked h3 { color: var(--ll-muted); }

.lp-prestige { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-prestige li { margin: 0; display: flex; align-items: baseline; gap: 10px; padding: 15px 14px; min-width: 0; background: linear-gradient(170deg, var(--ll-surface), var(--ll-bg-deep)); border: 1px solid var(--ll-border); clip-path: var(--ll-clip-card); }
.lp-prestige-idx { font-family: var(--ll-font-display); font-weight: 700; font-size: .72rem; letter-spacing: .12em; color: var(--ll-subtle); flex: none; }
.lp-prestige-name { font-family: var(--ll-font-display); font-weight: 600; font-size: .96rem; overflow-wrap: anywhere; }
.lp-prestige .is-peak { border-color: var(--ll-ion-dim); background: linear-gradient(170deg, rgba(232, 213, 183, .1), var(--ll-bg-deep)); }
.lp-prestige .is-peak .lp-prestige-idx, .lp-prestige .is-peak .lp-prestige-name { color: var(--ll-ion); }
@media (min-width: 700px) { .lp-prestige { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .lp-prestige { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

.lp-orgs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.lp-orgs li { margin: 0; padding: 10px 15px; background: var(--ll-surface); border: 1px solid var(--ll-border); border-radius: 999px; font-family: var(--ll-font-display); font-weight: 600; font-size: .82rem; color: var(--ll-muted); transition: color .2s, border-color .2s; }
.lp-orgs li:hover { color: var(--ll-text); border-color: var(--ll-border-strong); }
.lp-orgs-note { margin: 16px 0 0; font-size: .86rem; color: var(--ll-subtle); }

.lp-faces { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-faces li { margin: 0; min-width: 0; }
.lp-faces img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 16%; border: 1px solid var(--ll-border); clip-path: var(--ll-clip-card); filter: saturate(.5) contrast(1.06) brightness(.85); transition: filter .3s ease, transform .3s ease; }
.lp-faces img:hover { filter: saturate(1) contrast(1.06) brightness(1); transform: translateY(-4px); }
@media (min-width: 700px) { .lp-faces { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

.lp-subhead { font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ll-subtle); margin: 52px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--ll-border); }
.lp-media { margin: 0; }
.lp-media img { border: 1px solid var(--ll-border); clip-path: var(--ll-clip-card); }
.lp-media figcaption { margin-top: 12px; font-size: .85rem; color: var(--ll-muted); }

/* ==========================================================================
   14. Bandeau de conversion et pied de page
   ========================================================================== */
.cta-band { padding: 76px 0; text-align: center; background: linear-gradient(180deg, var(--ll-surface), var(--ll-bg)); border-top: 1px solid var(--ll-border); }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.lp-final {
  position: relative; overflow: hidden; padding: 96px 0;
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(167, 139, 250, .2), transparent 64%),
    radial-gradient(50% 60% at 80% 100%, rgba(232, 213, 183, .09), transparent 60%),
    linear-gradient(180deg, var(--ll-surface), var(--ll-bg-deep));
}
.lp-final .ll-eyebrow { display: block; margin-bottom: 14px; color: var(--ll-volt); }
.lp-final h2 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); max-width: 18ch; margin-inline: auto; }
.lp-final .actions { margin-top: 34px; }
.lp-final-note { margin: 26px 0 0; font-size: .88rem; color: var(--ll-subtle); }

.site-footer { padding: 46px 0 36px; border-top: 1px solid var(--ll-border); color: var(--ll-muted); font-size: 14px; background: var(--ll-bg-deep); }
.site-footer .container { display: grid; gap: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.site-footer li { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; color: var(--ll-muted); }
.site-footer .brand { min-height: 44px; }
.site-footer a:hover { color: var(--ll-text); }
.site-footer .legal { font-size: 13px; color: var(--ll-subtle); line-height: 1.65; max-width: 90ch; }
@media (min-width: 900px) { .site-footer .container { grid-template-columns: 1fr auto; align-items: center; } .site-footer .legal { grid-column: 1 / -1; } }
