/* NyleClub — feuille de style unique.
   Direction : un club éditorial sombre et chaleureux. Charbon chaud, typographie Kanit lourde, UNE couleur d'action (l'or des
   deux logos). Chaque univers garde sa lumière dans ses images (ciel de NyleRP, nuit violette de Pokényle), jamais dans l'UI. */

@font-face { font-family: 'Kanit'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/kanit-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Kanit'; font-weight: 800; font-style: normal; font-display: swap; src: url('/assets/fonts/kanit-extrabold.woff2') format('woff2'); }

:root {
  --bg: #110F0F;
  --bg-2: #161312;
  --surface: #1C1817;
  --surface-2: #241F1D;
  --line: rgba(243, 237, 230, 0.09);
  --line-2: rgba(243, 237, 230, 0.16);
  --text: #F3EDE6;
  --muted: #ABA196;
  --faint: #948A80;
  --gold: #F2A93B;
  --gold-2: #FFC86B;
  --gold-ink: #1C1206;
  --sky: #3E9BD6;
  --night: #2A1C44;
  --ok: #7BD389;
  --radius: 22px;
  --radius-s: 14px;
  --gutter: clamp(16px, 4.2vw, 44px);
  --max: 1240px;
  --display: 'Kanit', ui-sans-serif, system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.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 { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 10px; font-family: var(--display); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

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

/* ---------- typographie ---------- */
.display, h1, h2, h3, .label { font-family: var(--display); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.015em; line-height: 1.02; }
.label { font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 58ch; }
.lead strong { color: var(--text); font-weight: 600; }

/* ---------- boutons ---------- */
.btn {
  --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 24px;
  border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-or { background: var(--gold); color: var(--gold-ink); }
.btn-or:hover { background: var(--gold-2); }
.btn-ligne { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ligne:hover { border-color: var(--text); }
.btn svg { width: 18px; height: 18px; flex: none; }
.lien-fleche { font-family: var(--display); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--text); }
.lien-fleche svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.lien-fleche:hover svg { transform: translateX(4px); }

/* ---------- en-tête ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background-color .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.entete.solide { background: rgba(17, 15, 15, 0.82); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line); }
.entete .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: 0.02em; }
.marque .n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--gold); color: var(--gold-ink); }
.marque .n svg { width: 19px; height: 19px; }
.marque b { font-weight: 800; color: var(--gold); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--muted); padding: 10px 14px; border-radius: 999px; transition: color .25s, background-color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(243, 237, 230, 0.06); }
.entete .btn { --h: 44px; padding: 0 18px; font-size: 15px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.feuille { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--bg); padding: 28px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s; overflow-y: auto; }
.feuille.ouverte { opacity: 1; transform: none; visibility: visible; transition: opacity .3s, transform .45s var(--ease); }
.feuille a.grand { font-family: var(--display); font-weight: 800; font-size: 34px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feuille small { color: var(--muted); font-size: 15px; display: block; font-family: var(--body); font-weight: 400; }
.feuille .btn { margin-top: 24px; }

/* ---------- héros de l'accueil ---------- */
.heros { overflow-x: clip; position: relative; padding-top: calc(var(--header-h) + clamp(32px, 7vh, 88px)); padding-bottom: clamp(56px, 9vh, 110px); min-height: min(100dvh, 980px); display: flex; align-items: center; isolation: isolate; }
.heros::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 50% at 78% 38%, rgba(242, 169, 59, 0.10), transparent 70%),
  radial-gradient(40% 40% at 12% 85%, rgba(62, 155, 214, 0.06), transparent 70%); }
.heros .wrap { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.heros h1 { font-size: clamp(44px, 5.8vw, 84px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.95; }
.heros h1 .ligne { display: block; overflow: hidden; padding-bottom: 0.04em; }
.heros h1 .ligne > span { display: inline-block; }
.heros h1 em { font-style: normal; color: var(--gold); }
.heros .lead { margin: 26px 0 34px; }
.heros .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.heros .preuves { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; color: var(--muted); font-size: 15px; }
.heros .preuves span { display: inline-flex; align-items: center; gap: 8px; }
.heros .preuves span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .8; }

/* portails : les deux mondes en cartes hautes, superposées et inclinées */
.portails { position: relative; height: clamp(440px, 46vw, 600px); perspective: 1400px; }
.portail {
  position: absolute; width: 57%; height: 80%; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
  border: 1px solid var(--line-2); transform-style: preserve-3d; transition: transform .7s var(--ease), box-shadow .5s; will-change: transform;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.portail.rp { left: 0; top: 0; transform: rotate(-4deg); background: #3E8ECB; }
.portail.poke { right: 0; bottom: 0; transform: rotate(5deg); background: radial-gradient(90% 70% at 50% 25%, #46307A 0%, #241743 55%, #140D26 100%); }
.portail:hover { z-index: 3; }
.portail .fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portail .voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 15, 15, 0) 40%, rgba(17, 15, 15, 0.86) 100%); }
.portail .haut { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; align-items: center; }
.etat { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(17, 15, 15, 0.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; }
.etat i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(123, 211, 137, 0.18); }
.etat.attente i { background: var(--gold); box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.2); }
.portail .bas { position: absolute; left: 22px; right: 22px; bottom: 20px; }
.portail .bas img.logo { height: 54px; width: auto; margin-bottom: 10px; }
.portail.rp .bas { right: 42%; }
.portail.rp .bas img.logo { height: auto; width: 100%; max-width: 180px; }
.portail .bas p { margin: 0; font-family: var(--display); font-weight: 600; font-size: 15px; color: rgba(243, 237, 230, 0.86); }
.portail .perso { position: absolute; left: 10%; bottom: 24%; width: 46%; height: auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); }
.portail.poke .pk { position: absolute; height: auto; filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .45)); }
.portail.poke .pk.a { width: 48%; left: 6%; bottom: 31%; }
.portail.poke .pk.b { width: 40%; right: 4%; bottom: 33%; }

/* ---------- bandeau défilant ---------- */
.bandeau { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--bg-2); }
.bandeau .piste { display: flex; gap: 48px; width: max-content; animation: defile 38s linear infinite; }
.bandeau span { font-family: var(--display); font-weight: 800; font-size: clamp(18px, 2vw, 26px); text-transform: uppercase; letter-spacing: 0.02em; color: var(--faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.bandeau span::after { content: ''; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); opacity: .7; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-titre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-titre h2 { font-size: clamp(34px, 4.6vw, 64px); text-transform: uppercase; }
.section-titre p { margin: 0; color: var(--muted); max-width: 52ch; }

/* mondes : deux colonnes asymétriques, chaque monde a sa scène */
.mondes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.monde { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: grid; grid-template-rows: auto 1fr; }
.monde .scene { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.monde.rp .scene { background: #3E8ECB; }
.monde.poke .scene { background: radial-gradient(90% 80% at 50% 30%, #46307A 0%, #241743 55%, #140D26 100%); }
.monde .scene .fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.monde .scene .logo { position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -58%); filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); }
.monde.poke .scene .logo { width: 56%; top: 30%; }
.monde.poke .scene .pk { position: absolute; bottom: -4%; height: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); }
.monde.poke .scene .pk.a { width: 28%; left: 12%; }
.monde.poke .scene .pk.b { width: 30%; left: 38%; }
.monde.poke .scene .pk.c { width: 30%; right: 8%; }
.monde .corps { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; gap: 18px; }
.monde .corps .haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.monde h3 { font-size: clamp(26px, 2.6vw, 36px); text-transform: uppercase; }
.monde .accroche { margin: 0; color: var(--muted); }
.faits { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 0; }
.faits li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.faits li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.faits li strong { font-weight: 600; }
.monde .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* chiffres vérifiables : une ligne typographique, pas des cartes */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.chiffre { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); }
.chiffre:last-child { border-right: 0; }
.chiffre + .chiffre { padding-left: 24px; }
.chiffre b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chiffre span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; max-width: 26ch; }
.chiffre small { display: block; margin-top: 6px; color: var(--faint); font-size: 13px; }

/* étapes : une ligne qui se trace */
.etapes { position: relative; display: grid; gap: 0; counter-reset: e; max-width: 880px; }
.etapes::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-2); }
.etapes .trace { position: absolute; left: 27px; top: 28px; width: 2px; height: calc(100% - 56px); background: var(--gold); transform-origin: top; transform: scaleY(0); }
.etapes ol { list-style: none; margin: 0; padding: 0; }
.etape { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 18px 0 34px; }
.etape .num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font-family: var(--display); font-weight: 800; font-size: 20px; position: relative; z-index: 1; }
.etape h3 { font-size: clamp(22px, 2.2vw, 30px); margin: 10px 0 8px; text-transform: uppercase; }
.etape p { margin: 0; color: var(--muted); max-width: 60ch; }
.etape code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95em; color: var(--gold-2); }

/* blog : liste éditoriale */
.liste-articles { display: grid; border-top: 1px solid var(--line); }
.article-ligne { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease); }
.article-ligne:hover { padding-left: 10px; }
.article-ligne time { color: var(--faint); font-size: 14px; font-variant-numeric: tabular-nums; }
.article-ligne h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.article-ligne p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.article-ligne .tag { font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 1.7vw, 21px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .45s var(--ease), background-color .3s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--surface-2); }
.faq .reponse { padding: 0 0 24px; color: var(--muted); max-width: 70ch; }
.faq .reponse p { margin: 0 0 10px; }

/* appel final */
.appel { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); padding: clamp(36px, 6vw, 84px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px; align-items: center; }
.appel::after { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 169, 59, 0.18), transparent 65%); pointer-events: none; }
.appel h2 { font-size: clamp(34px, 4.4vw, 60px); text-transform: uppercase; }
.appel p { color: var(--muted); margin: 18px 0 0; max-width: 48ch; }
.appel .cote { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; position: relative; z-index: 1; }
.compteur { font-family: var(--display); font-weight: 600; color: var(--muted); font-size: 15px; min-height: 22px; }
.compteur b { color: var(--text); font-weight: 800; }
.adresse { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 38px); color: var(--gold); text-decoration: none; letter-spacing: -0.01em; }

/* ---------- pages intérieures ---------- */
.page-tete { padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px)); padding-bottom: clamp(28px, 4vw, 48px); }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); margin-bottom: 22px; }
.fil a { color: var(--muted); text-decoration: none; }
.fil a:hover { color: var(--text); }
.page-tete h1 { font-size: clamp(36px, 5.4vw, 72px); text-transform: uppercase; max-width: 18ch; }
.page-tete .lead { margin-top: 22px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--faint); font-size: 14px; margin-top: 20px; }

.prose { max-width: 72ch; font-size: 18px; line-height: 1.72; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.8vw, 36px); margin-top: 2.2em; text-transform: uppercase; line-height: 1.08; }
.prose h3 { font-size: clamp(20px, 2vw, 24px); margin-top: 1.8em; line-height: 1.2; }
.prose p, .prose li { color: #DCD3C9; }
.prose strong { color: var(--text); font-weight: 650; }
.prose a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose .reponse-tete { font-size: clamp(19px, 1.8vw, 22px); color: var(--text); line-height: 1.6; padding: 24px 26px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--line); }
.prose .note { font-size: 15px; color: var(--muted); padding: 16px 20px; border-radius: var(--radius-s); border: 1px dashed var(--line-2); }
.prose .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.prose .actions a { text-decoration: none; }
.prose a.btn-or, .prose a.btn-or:hover { color: var(--gold-ink); text-decoration: none; }
.prose a.btn-ligne, .prose a.btn-ligne:hover { color: var(--text); text-decoration: none; }
.table-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-s); margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.prose thead th { font-family: var(--display); font-weight: 600; color: var(--text); background: var(--surface); font-size: 14px; letter-spacing: .02em; }
.prose tbody th { font-family: var(--display); font-weight: 600; color: var(--text); width: 26%; }
.prose tr:last-child td, .prose tr:last-child th { border-bottom: 0; }
.prose .yes { color: var(--ok); font-weight: 600; }
.prose .no { color: #F08A7E; font-weight: 600; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold); color: var(--text); font-size: 19px; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--radius-s); width: 100%; height: auto; background: var(--surface); }
.prose figcaption { font-size: 14px; color: var(--faint); margin-top: 10px; }

.colonnes { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.aside h2 { font-size: 20px; text-transform: uppercase; }
.aside p { margin: 0; color: var(--muted); font-size: 15px; }
.aside .btn { width: 100%; }
.aside nav { display: grid; gap: 2px; margin-top: 4px; }
.aside nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.aside nav a:hover { color: var(--text); }

/* pages reprises de nylerp.fr */
.prose .faq { margin-top: 1.2em; }
.prose .faq summary { font-size: 18px; }
.prose .faq details > p { margin: 0; padding: 0 0 22px; color: var(--muted); }
.prose .crazytown-callout { padding: 22px 24px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--line); }
.prose .crazytown-callout p { margin: 0 0 12px; }
.prose .callout-link { font-family: var(--display); font-weight: 600; color: var(--gold-2); text-decoration: none; }
.prose .about-updated { font-size: 14px; color: var(--faint); }
.prose .dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prose .dl-card { padding: 22px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.prose .dl-card h3 { margin: 0; font-size: 22px; }
.prose .dl-meta, .prose .dl-alt { margin: 0; font-size: 14px; color: var(--muted); }
.prose .dl-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-family: var(--display); font-weight: 600; text-decoration: none; margin: 6px 0; }
.prose .dl-btn:hover { background: var(--gold-2); color: var(--gold-ink); }
.prose .join-steps, .prose .fact-list { padding-left: 1.3em; }
@media (max-width: 1040px) { .prose .dl-grid { grid-template-columns: 1fr; } }

/* bloc monde de page (NyleRP / Pokényle) */
.monde-tete { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(40px, 8vh, 90px)); padding-bottom: clamp(48px, 7vw, 96px); isolation: isolate; }
.monde-tete .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.monde-tete h1 { font-size: clamp(40px, 5.6vw, 80px); text-transform: uppercase; line-height: .96; }
.monde-tete .visuel { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; border: 1px solid var(--line-2); }
.monde-tete .visuel .fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.monde-tete .visuel .logo { position: absolute; left: 8%; right: 8%; top: 9%; width: 84%; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35)); }
.monde-tete .visuel .perso { position: absolute; right: 8%; bottom: 0; width: 52%; }
.monde-tete.poke .visuel { background: radial-gradient(90% 80% at 50% 30%, #46307A 0%, #241743 55%, #140D26 100%); }
.monde-tete.poke .visuel .pk { position: absolute; bottom: 4%; height: auto; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .45)); }

/* pied de page */
.pied { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 40px; margin-top: clamp(64px, 9vw, 120px); }
.pied .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.pied h2 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied a { color: var(--muted); text-decoration: none; font-size: 15px; }
.pied a:hover { color: var(--text); }
.pied .apropos p { color: var(--muted); font-size: 15px; max-width: 40ch; margin: 14px 0 0; }
.pied .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 13px; }

/* barre d'action mobile */
.barre-mobile { display: none; }

/* apparitions : le contenu reste visible sans JS ; le script ne fait que l'animer */
.js .revele { opacity: 0; transform: translateY(22px); }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav, .entete .btn { display: none; }
  .burger { display: block; }
  .heros .wrap, .monde-tete .wrap { grid-template-columns: minmax(0, 1fr); }
  .heros { min-height: auto; }
  .portails { height: clamp(380px, 92vw, 560px); max-width: 620px; width: 100%; }
  .section-titre { grid-template-columns: 1fr; }
  .colonnes { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .appel { grid-template-columns: 1fr; }
  .pied .wrap { grid-template-columns: 1fr 1fr; }
  .pied .apropos { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .mondes { grid-template-columns: 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffre { padding: 22px 12px 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .chiffre + .chiffre { padding-left: 0; }
  .chiffre:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
  .chiffre:nth-child(even) { padding-left: 16px; }
  .article-ligne { grid-template-columns: 1fr; gap: 8px; }
  .article-ligne .tag { justify-self: start; }
  .heros .actions .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }
  .portails { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; perspective: none; }
  .portail { position: relative; width: auto; height: auto; aspect-ratio: 3 / 4.2; inset: auto; transform: none !important; }
  .portail .bas, .portail.rp .bas { left: 14px; right: 14px; bottom: 14px; }
  .portail .bas img.logo { height: auto; width: 100%; max-width: 150px; margin-bottom: 6px; }
  .portail .bas p { font-size: 12.5px; line-height: 1.3; }
  .portail .haut { left: 12px; right: 12px; top: 12px; }
  .etat { font-size: 12px; padding: 5px 10px; }
  .portail .perso { width: 58%; left: auto; right: 2%; bottom: 30%; }
  .portail.poke .pk.a { width: 56%; left: 2%; bottom: 34%; }
  .portail.poke .pk.b { width: 46%; right: 2%; bottom: 36%; }
  .prose { font-size: 17px; }
  .barre-mobile { display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); gap: 10px; padding: 8px; border-radius: 999px; background: rgba(28, 24, 23, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-2); transform: translateY(140%); transition: transform .5s var(--ease); }
  .barre-mobile.visible { transform: none; }
  .barre-mobile .btn { --h: 48px; flex: 1; font-size: 15px; }
  .barre-mobile .txt { display: flex; flex-direction: column; justify-content: center; padding-left: 14px; font-size: 13px; color: var(--muted); line-height: 1.25; }
  .barre-mobile .txt b { color: var(--text); font-family: var(--display); font-weight: 600; font-size: 14px; }
  .pied { padding-bottom: 110px; }
}
@media (max-width: 420px) {
  .heros h1 { font-size: 40px; }
  .pied .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .bandeau .piste { animation: none; }
  .js .revele { opacity: 1; transform: none; }
}
