/* Jennesys Studio — identité v2 : nuit violette, or, pièce « J ». */
@font-face {
    font-family: "Fredoka";
    src: url("/fonts/fredoka-latin-wght-normal.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fredoka";
    src: url("/fonts/fredoka-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Nunito";
    src: url("/fonts/nunito-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 1000;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Nunito";
    src: url("/fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 200 1000;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --night-0: #14122a;
    --night-1: #1f1b3a;
    --night-2: #262147;
    --night-3: #2f2957;
    --night-4: #3a3268;
    --line: rgba(185, 166, 255, .16);
    --line-strong: rgba(185, 166, 255, .32);
    --text: #f3efff;
    --text-soft: #c9bff0;
    --text-mute: #9a8fc7;
    --gold: #f0853a;
    --gold-hi: #ffa25e;
    --gold-lo: #d96a26;
    --gold-ink: #1f1b3a;
    --lilac: #b9a6ff;
    --play: #3ddc84;
    --play-ink: #062814;
    --danger: #ff6b8a;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 18px 40px rgba(5, 2, 20, .45);
    --wrap: 1180px;
    --font-title: "Fredoka", "Segoe UI Rounded", "Segoe UI", system-ui, sans-serif;
    --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--night-1);
    background-image:
        radial-gradient(1200px 600px at 85% -10%, rgba(155, 107, 255, .18), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(240, 133, 58, .07), transparent 60%);
    background-attachment: fixed;
    color: var(--text);
    font: 400 1.0625rem/1.65 var(--font-body);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--text-mute); }
.lead { font-size: 1.2rem; color: var(--text-soft); }
.note { color: var(--text-mute); font-size: .95rem; margin-top: 1.5rem; }
.eyebrow { font-family: var(--font-title); text-transform: uppercase; letter-spacing: .16em; font-size: .85rem; color: var(--gold); margin-bottom: .6rem; font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.wrap--narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--gold-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font: 600 1rem/1 var(--font-title); letter-spacing: .02em;
    padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { font-size: 1.12rem; padding: 1em 1.7em; }
.btn--sm { font-size: .9rem; padding: .6em 1.1em; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: var(--gold-ink); box-shadow: 0 6px 0 #a84e17, 0 12px 24px rgba(224, 106, 38, .25); }
.btn--gold:hover { color: var(--gold-ink); box-shadow: 0 8px 0 #a84e17, 0 16px 28px rgba(224, 106, 38, .3); }
.btn--play { background: linear-gradient(180deg, #6ff0a6, var(--play)); color: var(--play-ink); box-shadow: 0 6px 0 #1f9b56, 0 12px 24px rgba(61, 220, 132, .22); }
.btn--play::before { content: ""; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.btn--play:hover { color: var(--play-ink); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--text); border-color: var(--gold); background: rgba(240, 133, 58, .08); }

/* En-tête */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(20, 18, 42, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__logo { display: block; height: 52px; width: auto; }
.brand__name { font: 700 1.3rem/1 var(--font-title); letter-spacing: .04em; text-transform: uppercase; display: flex; flex-direction: column; }
.brand__name small { font-size: .62rem; letter-spacing: .42em; color: var(--gold); margin-top: 3px; font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a { color: var(--text-soft); text-decoration: none; font: 500 1rem var(--font-title); padding: 8px 12px; border-radius: 999px; }
.nav > a:hover, .nav > a.on { color: var(--text); background: rgba(185, 166, 255, .12); }
.nav > a.on { color: var(--gold); }
.langs { position: relative; margin-left: 6px; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font: 600 .9rem var(--font-title); color: var(--text-soft); }
.langs summary::-webkit-details-marker { display: none; }
.globe { width: 16px; height: 16px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.globe::after { content: ""; position: absolute; inset: -2px 3px; border: 2px solid currentColor; border-radius: 50%; border-top: 0; border-bottom: 0; }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--night-2); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); min-width: 160px; }
.langs li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-soft); text-decoration: none; }
.langs li a:hover { background: rgba(185, 166, 255, .12); color: var(--text); }
.langs li a.on { color: var(--gold); }
.menu-toggle, .menu-btn { display: none; }

@media (max-width: 960px) {
    .menu-btn { display: flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: 12px; border: 1px solid var(--line-strong); }
    .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .2s; }
    .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
    .menu-btn span::before { top: -6px; }
    .menu-btn span::after { top: 6px; }
    .menu-toggle:checked + .menu-btn span { background: transparent; }
    .menu-toggle:checked + .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
    .menu-toggle:checked + .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
    .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; background: var(--night-0); border-bottom: 1px solid var(--line); }
    .menu-toggle:checked ~ .nav { display: flex; }
    .nav > a { padding: 12px 14px; font-size: 1.1rem; }
    .langs { margin: 8px 0 0; }
    .langs ul { position: static; margin-top: 8px; box-shadow: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* Accueil */
.hero { position: relative; overflow: hidden; min-height: min(78vh, 720px); display: flex; align-items: center; padding: 72px 0 96px; isolation: isolate; }
.hero__art { position: absolute; inset: 0; z-index: -1; }
.hero__art img { position: absolute; top: auto; bottom: 0; height: 160%; width: 62%; object-fit: cover; object-position: 50% 100%; filter: blur(2px) saturate(1.15); }
.hero__left { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.hero__right { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent); mask-image: linear-gradient(270deg, #000 55%, transparent); }
.hero__art::after { content: ""; position: absolute; inset: 0; background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(20, 18, 42, .86), rgba(20, 18, 42, .6) 70%, rgba(20, 18, 42, .35)),
    linear-gradient(180deg, rgba(20, 18, 42, .2), rgba(31, 27, 58, 1) 98%); }
.hero__in { text-align: center; }
.hero h1 { max-width: 16ch; margin: 0 auto .35em; text-shadow: 0 4px 24px rgba(0, 0, 0, .55); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--text); max-width: 46ch; margin: 0 auto 2rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.spotlight__text .hero__actions, .game-hero .hero__actions { justify-content: flex-start; }

.spotlight { margin-top: -48px; position: relative; z-index: 2; }
.spotlight__in { display: grid; gap: 32px; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--night-2)), var(--night-2) 60%); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .spotlight__in { grid-template-columns: 1fr 1.1fr; padding: 40px; } }
.spotlight__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.spotlight .eyebrow { color: var(--accent); filter: brightness(1.25); }

.section { padding: 72px 0; }
.section--tight { padding: 32px 0 72px; }
.section--alt { background: linear-gradient(180deg, rgba(47, 41, 87, .45), rgba(47, 41, 87, .15)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section__head p { color: var(--text-soft); font-size: 1.1rem; }
.section__head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; text-align: left; max-width: none; flex-wrap: wrap; }
.section__title { margin-bottom: 28px; }
.link-more { font: 600 1rem var(--font-title); text-decoration: none; }
.link-more::after { content: " →"; }
.link-back { font: 600 .95rem var(--font-title); text-decoration: none; display: inline-block; margin-bottom: 18px; }
.link-back::before { content: "← "; }

.grid { display: grid; gap: 24px; }
.grid--games { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid--news { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Cartes de jeu */
.game-card { background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.game-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); box-shadow: 0 22px 44px rgba(5, 2, 20, .5), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.game-card__media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.game-card:hover .game-card__media img { transform: scale(1.04); }
.game-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.game-card__head { display: flex; gap: 14px; align-items: center; margin-top: -54px; }
.game-card__icon { width: 76px; height: 76px; border-radius: 18px; border: 3px solid var(--night-2); box-shadow: 0 8px 18px rgba(0, 0, 0, .45); position: relative; z-index: 1; background: var(--night-3); }
.game-card__head > div { padding-top: 34px; }
.game-card h3 { margin: 0; font-size: 1.45rem; }
.game-card h3 a { color: var(--text); text-decoration: none; }
.game-card__genre { margin: 0; color: var(--accent); font: 600 .85rem var(--font-title); text-transform: uppercase; letter-spacing: .1em; filter: brightness(1.2); }
.game-card__tagline { color: var(--text-soft); margin: 0; }
.game-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.badge { position: absolute; top: 14px; left: 14px; font: 700 .8rem/1 var(--font-title); letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.badge--new { background: var(--gold); color: var(--gold-ink); box-shadow: 0 4px 14px rgba(240, 133, 58, .4); }

.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.stats li { font: 600 .9rem var(--font-title); color: var(--text-soft); background: rgba(185, 166, 255, .1); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.stats__live { color: var(--play) !important; }
.stats__live .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--play); margin-right: 7px; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* Piliers */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.pillar { background: rgba(38, 33, 71, .7); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pillar h3 { margin: 14px 0 6px; }
.pillar p { color: var(--text-soft); margin: 0; }
.pillar__icon svg { width: 30px; height: 30px; }
.pillar__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(160deg, var(--gold-hi), var(--gold-lo)); color: var(--gold-ink); font-size: 28px; line-height: 1; box-shadow: 0 6px 16px rgba(224, 106, 38, .25); }

/* Actualités */
.news-card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.news-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.news-card__media { aspect-ratio: 16/9; overflow: hidden; display: block; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 18px 20px 22px; }
.news-card__body h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.news-card__body h3 a { color: var(--text); text-decoration: none; }
.news-card__body h3 a:hover { color: var(--gold); }
.news-card__body p { color: var(--text-soft); margin: 0; font-size: .98rem; }
.news-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--text-mute); font-size: .9rem; margin: 0 0 4px !important; }
.tag { --accent: var(--lilac); display: inline-block; font: 600 .78rem/1 var(--font-title); text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, transparent); text-decoration: none; filter: brightness(1.15); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text-soft); text-decoration: none; font-family: var(--font-title); }
.pager a.on { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }

.post__head { padding-top: 48px; }
.post__head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.post__cover { border-radius: var(--radius); margin: 8px 0 36px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.play-band { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 40px 0 0; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, var(--night-2)), var(--night-2)); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.play-band img { border-radius: 16px; }
.play-band div { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.play-band strong { font: 600 1.2rem var(--font-title); }
.play-band span { color: var(--text-soft); }

/* Bandeau communauté */
.cta-band { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 32px; border-radius: 28px; background:
    radial-gradient(600px 240px at 0% 0%, rgba(240, 133, 58, .16), transparent 70%),
    linear-gradient(135deg, var(--night-4), var(--night-2)); border: 1px solid rgba(240, 133, 58, .3); box-shadow: var(--shadow); }
.cta-band img { width: 104px; height: 104px; border-radius: 24px; }
.cta-band > div { flex: 1; min-width: 240px; }
.cta-band h2 { font-size: 1.8rem; }
.cta-band p { color: var(--text-soft); margin: 0; }

/* Fil d'Ariane */
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .9rem; color: var(--text-mute); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--text-mute); }
.crumbs a { color: var(--text-soft); text-decoration: none; }
.crumbs a:hover { color: var(--gold); text-decoration: underline; }
.crumbs li[aria-current] { color: var(--text-soft); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-hero .crumbs a, .game-hero .crumbs li { color: rgba(255, 255, 255, .85); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }

/* En-têtes de page */
.page-head { padding: 64px 0 24px; }
.page-head h1 { margin-bottom: .3em; }
.page-head--error { text-align: center; padding: 96px 0; }
.page-head--error .hero__actions { justify-content: center; }
.error-code { font: 700 clamp(4rem, 12vw, 7rem)/1 var(--font-title); color: var(--gold); margin: 0 0 12px; text-shadow: 0 8px 30px rgba(240, 133, 58, .3); }

/* Fiche jeu */
.game-hero { position: relative; overflow: hidden; padding: 120px 0 56px; isolation: isolate; min-height: 560px; display: flex; align-items: flex-end; }
.game-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; z-index: -2; }
.game-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 42, .1) 0%, rgba(20, 18, 42, .55) 45%, var(--night-1) 100%), linear-gradient(90deg, rgba(20, 18, 42, .7), transparent 70%); }
.game-hero__in { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.game-hero__icon { width: 132px; height: 132px; border-radius: 30px; border: 4px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.game-hero__text { flex: 1; min-width: 280px; }
.game-hero h1 { margin: .15em 0 .2em; text-shadow: 0 4px 22px rgba(0, 0, 0, .6); }
.game-hero .lead { color: var(--text); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.game-hero .stats { margin-bottom: 22px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.chip { font: 600 .82rem/1 var(--font-title); letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(20, 18, 42, .65); border: 1px solid var(--line-strong); color: var(--text); }
.chip--accent { background: var(--accent); border-color: transparent; color: #1f1b3a; }

.game-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .game-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.facts { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; }
.facts h2 { font-size: 1.3rem; }
.facts dl { margin: 0 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.facts dt { color: var(--text-mute); font-size: .92rem; }
.facts dd { margin: 0; text-align: right; font-weight: 700; }
.facts__link { display: block; text-align: center; margin-top: 14px; font-size: .95rem; }
.features ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.features li { position: relative; padding: 12px 16px 12px 46px; background: rgba(47, 41, 87, .55); border: 1px solid var(--line); border-radius: 12px; }
.features li::before { content: "★"; position: absolute; left: 16px; top: 11px; color: var(--accent, var(--gold)); filter: brightness(1.2); }

.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.gallery__item { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 3, 18, .92); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-height: 88vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .3); width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; }
.lightbox .lb-next { right: 16px; top: 50%; }

.callout { background: linear-gradient(135deg, rgba(58, 50, 104, .7), rgba(38, 33, 71, .7)); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 28px; }
.callout--small { padding: 20px 24px; margin-bottom: 28px; }
.callout--small h2 { font-size: 1.2rem; }
.callout--small p { margin: 0; color: var(--text-soft); }

/* Texte riche */
.prose { color: var(--text-soft); }
.prose h2 { color: var(--text); margin-top: 1.6em; font-size: 1.7rem; }
.prose h3 { color: var(--text); margin-top: 1.4em; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); }
.prose blockquote { margin: 1.2em 0; padding: 4px 20px; border-left: 4px solid var(--gold); color: var(--text); }
.prose > :first-child { margin-top: 0; }

/* Parents */
.safety-card { background: var(--night-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 18px; }
.safety-card header { display: flex; gap: 16px; align-items: center; margin-bottom: 10px; }
.safety-card img { border-radius: 14px; }
.safety-card h3 { margin: 0 0 2px; }
.safety-card h3 a { color: var(--text); text-decoration: none; }
.safety-card header p { margin: 0; font-size: .95rem; }

/* Presse */
.press-studio { display: grid; gap: 40px; }
@media (min-width: 900px) { .press-studio { grid-template-columns: 1.2fr 1fr; } }
.facts-inline { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.facts-inline dt { color: var(--text-mute); }
.facts-inline dd { margin: 0; color: var(--text); font-weight: 700; }
.press-kit h3 { margin-bottom: 14px; }
.press-files { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 16px; }
.press-files--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-top: 20px; }
.press-file { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text-soft); font-size: .85rem; }
.press-file img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--night-3); }
.press-file:hover { color: var(--gold); }
.press-file--contain img { object-fit: contain; background: var(--night-0); }
.press-game__head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.press-game__head img { border-radius: 16px; }
.press-game__head div { flex: 1; min-width: 220px; }
.press-game__head h2 { margin: 0; }
.press-game__head p { margin: 0; }

/* Formulaire */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 6px; }
.form label { font: 600 .98rem var(--font-title); color: var(--text); }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--text); background: var(--night-0); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240, 133, 58, .2); }
.form textarea { resize: vertical; min-height: 160px; }
.form__check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.form__check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); }
.form__check label { font: 400 .98rem var(--font-body); color: var(--text-soft); }
.form__check .form__err { grid-column: 1 / -1; }
.form__err { color: var(--danger); font-size: .9rem; display: flex; gap: 6px; align-items: baseline; }
.form__err::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--danger); color: var(--night-0); font: 700 .7rem/1 var(--font-body); }
.form__row.is-bad input, .form__row.is-bad textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 107, 138, .15); }
.form__check.is-bad input { outline: 2px solid var(--danger); outline-offset: 2px; }
.form__err:empty { display: none; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button { justify-self: start; }
.alert { padding: 18px 22px; border-radius: 14px; margin-bottom: 22px; }
.alert--ok { background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .45); }
.alert--ok h2 { color: var(--play); font-size: 1.5rem; }
.alert--error { background: rgba(255, 107, 138, .1); border: 1px solid rgba(255, 107, 138, .45); color: #ffd0da; }

/* Pied de page */
.footer { margin-top: 40px; background: var(--night-0); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer__brand { grid-column: span 2; max-width: 380px; }
@media (max-width: 560px) { .footer__brand { grid-column: auto; } }
.footer__brand p { color: var(--text-mute); margin: 14px 0 18px; }
.footer h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-mute); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--text-soft); text-decoration: none; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--text-mute); }
.footer__bottom p { margin: 0 0 6px; }

/* Téléphone : espaces verticaux resserrés. */
@media (max-width: 720px) {
    .section { padding: 48px 0; }
    .section--tight { padding: 20px 0 48px; }
    .page-head { padding: 36px 0 12px; }
    .game-hero { min-height: 0; padding: 88px 0 32px; }
    .hero { padding: 48px 0 80px; }
    .section__head { margin-bottom: 28px; }
    .cta-band { padding: 24px; gap: 18px; }
}

/* Confort tactile (téléphone et tablette) : cibles d'au moins 44 px, cartes cliquables en entier. */
.news-card { position: relative; }
.news-card__body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.news-card .tag { position: relative; z-index: 1; }
.news-card:focus-within { border-color: var(--gold); }
.press-game__head p a, .facts-inline a, .prose a { overflow-wrap: anywhere; }
@media (pointer: coarse), (max-width: 720px) {
    .btn--sm { min-height: 44px; padding: .7em 1.2em; }
    .link-more, .link-back, .facts__link { display: inline-flex; align-items: center; min-height: 44px; }
    .facts__link { display: flex; justify-content: center; }
    .game-card h3 a, .safety-card h3 a { display: inline-block; padding-block: 8px; margin-block: -8px; }
    .tag { padding: 8px 12px; }
    .crumbs a { display: inline-block; padding-block: 10px; }
    .crumbs ol { margin-bottom: 4px; }
    .footer ul { gap: 2px; }
    .footer ul a { display: inline-block; padding-block: 10px; }
    .form__check input { width: 24px; height: 24px; margin-top: 1px; }
    .form__check label { padding-block: 2px; }
    .langs li a { padding: 12px; }
    .pager a { min-width: 44px; height: 44px; }
}

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