/* V14.5 : police Oswald de la page d'accueil (chargée ici pour que ce seul fichier suffise à changer le style) */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@600;700&display=swap");

/* =========================================================
   RAPZODY — pages publiques (accueil, présentation, FAQ…)
   Noir · rouge · or — même identité que le jeu.
   ========================================================= */

:root {
    --bg: #050505;
    --bg2: #0b0b0d;
    --card: #101013;
    --line: rgba(255,255,255,.09);
    --red: #FF1738;
    --red-d: #7A0718;
    --white: #F5F5F5;
    --grey: #a0a0a8;
    --gold: #FFC83D;
    --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
    --body: Inter, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --wrap: 1120px;
    --pad: clamp(18px, 4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; background: var(--bg); }
body {
    margin: 0; background: var(--bg); color: var(--white);
    font-family: var(--body); font-size: 17px; line-height: 1.65;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a, li a, dd a { color: #ff5a72; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, li a:hover, dd a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px; border-radius: 999px;
    font-family: var(--display); font-size: 21px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; line-height: 1;
    border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-red { background: linear-gradient(135deg, #ff3a57, var(--red) 45%, #c40020); color: #fff; box-shadow: 0 10px 34px rgba(255,23,56,.4), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.22); color: var(--white); }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
    .btn-red:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,23,56,.55); }
    .btn-ghost:hover { border-color: var(--red); background: rgba(255,23,56,.1); }
}

/* ---------- En-tête ---------- */
.sh { position: sticky; top: 0; z-index: 50; background: rgba(8,8,8,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,23,56,.2); padding-top: env(safe-area-inset-top, 0px); }
.sh-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.sh-logo { font-family: var(--display); font-size: 30px; letter-spacing: .02em; text-decoration: none; color: #fff; line-height: 1; flex-shrink: 0; }
.sh-logo span, .brand-red { color: var(--red); text-shadow: 0 0 18px rgba(255,23,56,.5); }
.sh-nav { flex: 1; min-width: 0; }
.sh-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; justify-content: center; }
.sh-nav a { display: block; padding: 10px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #cfcfd6; text-decoration: none; white-space: nowrap; }
.sh-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.sh-nav a[aria-current="page"] { color: #fff; background: rgba(255,23,56,.16); box-shadow: inset 0 0 0 1px rgba(255,23,56,.5); }
.sh-play { min-height: 42px; padding: 9px 20px; font-size: 19px; flex-shrink: 0; }
@media (max-width: 920px) {
    .sh-in { flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
    .sh-logo { order: 1; }
    .sh-play { order: 2; margin-left: auto; }
    .sh-nav { order: 3; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
    .sh-nav::-webkit-scrollbar { display: none; }
    .sh-nav ul { justify-content: flex-start; padding: 6px 0 8px; }
    .sh-nav a { padding: 8px 12px; font-size: 13px; }
}

/* ---------- Fil d'Ariane ---------- */
.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--grey); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--red); }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Héros d'accueil ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 8vw, 90px) 0 clamp(50px, 8vw, 90px); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 70% at 78% 40%, rgba(255,23,56,.32), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(122,7,24,.45), transparent 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1; opacity: .35; background: repeating-linear-gradient(90deg, rgba(255,23,56,.55) 0 6px, transparent 6px 14px); -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero h1 { margin: 0; line-height: .85; font-weight: 400; }
.h1-brand { display: block; font-family: var(--display); font-size: clamp(86px, 15vw, 190px); letter-spacing: .01em; font-style: italic; transform: skewX(-4deg); }
.h1-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.h1-tag { display: block; margin-top: 14px; font-family: var(--display); font-size: clamp(30px, 4.6vw, 52px); letter-spacing: .04em; color: var(--white); line-height: 1; }
.hero-lead { margin: 22px 0 28px; max-width: 34em; font-size: clamp(17px, 2vw, 19px); color: #d5d5dc; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--grey); }
.hero-facts li::before { content: "●"; color: var(--red); margin-right: 8px; font-size: 9px; vertical-align: 2px; }
.hero-art { position: relative; height: 420px; }
.hero-art img { position: absolute; width: 56%; border-radius: 18px; border: 2px solid var(--red); box-shadow: 0 30px 60px rgba(0,0,0,.7), 0 0 40px rgba(255,23,56,.25); }
.hero-art img:nth-child(1) { left: 0; top: 50px; transform: rotate(-8deg); }
.hero-art img:nth-child(2) { left: 22%; top: 0; z-index: 2; }
.hero-art img:nth-child(3) { right: 0; top: 50px; transform: rotate(8deg); }
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 10px; }
    .hero-art { height: auto; aspect-ratio: 1.45; max-width: 460px; width: 100%; margin: 26px auto 0; }
    .hero-art img { width: 50%; }
    .hero-art img:nth-child(2) { left: 25%; }
}

/* ---------- En-tête de page ---------- */
.ph { position: relative; padding: clamp(26px, 5vw, 50px) 0 clamp(24px, 4vw, 40px); }
.ph::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 100% at 85% 0%, rgba(255,23,56,.22), transparent 70%); }
.ph h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(50px, 9vw, 96px); line-height: .9; letter-spacing: .02em; }
.ph-lead { margin: 16px 0 0; max-width: 40em; font-size: clamp(17px, 2vw, 19px); color: #d5d5dc; }

/* ---------- Sections ---------- */
.sec { padding: clamp(36px, 6vw, 70px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec h2, .prose h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.4vw, 56px); line-height: .95; letter-spacing: .02em; }
.sec h3, .prose h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; line-height: 1.3; }
.sec-intro { max-width: 46em; color: #d5d5dc; margin: 0 0 26px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } }

/* Texte long (pages de contenu) */
.prose { max-width: 760px; }
.prose > section { padding: 26px 0 8px; }
.prose > section + section { border-top: 1px solid var(--line); }
.prose p, .prose li { color: #d9d9df; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose strong { color: #fff; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }

/* Captures du jeu */
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 22px; border: 1px solid rgba(255,23,56,.35); box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 40px rgba(255,23,56,.12); background: var(--bg2); }
.shot figcaption { margin-top: 10px; font-size: 13px; color: var(--grey); text-align: center; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shot-sm { max-width: 320px; margin-inline: auto; }
@media (max-width: 760px) {
    .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 12px; scrollbar-width: none; }
    .shots::-webkit-scrollbar { display: none; }
    .shots .shot { flex: 0 0 68%; scroll-snap-align: center; }
}

/* Cartes */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.card {
    position: relative; padding: 22px; border-radius: 20px; min-width: 0;
    background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.012) 60%), var(--card);
    border: 1px solid var(--line);
}
.card p { margin: 0; color: #c9c9d0; font-size: 15.5px; line-height: 1.6; }
.card .ico { display: block; font-size: 30px; line-height: 1; margin-bottom: 12px; }
.card-link { text-decoration: none; display: block; transition: transform .2s ease, border-color .2s ease; }
@media (hover: hover) { .card-link:hover { transform: translateY(-3px); border-color: rgba(255,23,56,.55); } }
.card-hot { border-color: rgba(255,23,56,.45); background: radial-gradient(120% 90% at 100% 0%, rgba(255,23,56,.25), transparent 60%), var(--card); }
.more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--red); }

/* Chiffres réels du jeu */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.facts div { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-size: clamp(40px, 6vw, 60px); line-height: .9; color: #fff; }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--grey); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Étapes (Comment jouer) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps > li { counter-increment: s; position: relative; padding: 24px 0 24px 78px; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: 18px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 32px; color: #fff; background: radial-gradient(circle at 35% 30%, #ff4d66, var(--red) 55%, var(--red-d)); box-shadow: 0 8px 24px rgba(255,23,56,.35); }
.steps h2 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.4vw, 40px); line-height: 1; letter-spacing: .02em; }
.steps p { margin: 0 0 8px; color: #d9d9df; }
@media (max-width: 520px) { .steps > li { padding-left: 64px; } .steps > li::before { width: 46px; height: 46px; font-size: 26px; } }

/* FAQ */
.faq-item { padding: 22px 0; border-top: 1px solid var(--line); }
.faq-item h2 { margin: 0 0 8px; font-family: var(--body); font-weight: 800; font-size: clamp(19px, 2.4vw, 22px); line-height: 1.35; letter-spacing: 0; }
.faq-item p { margin: 0 0 8px; color: #d9d9df; }

/* Actualités */
.news-list { display: grid; gap: 18px; }
.news-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none; }
.news-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 14px; }
.news-card h2 { margin: 6px 0 8px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 38px); line-height: 1; letter-spacing: .02em; }
.news-card p { margin: 0; color: #c9c9d0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--grey); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--gold); background: rgba(255,200,61,.1); border: 1px solid rgba(255,200,61,.35); }
@media (hover: hover) { .news-card:hover { border-color: rgba(255,23,56,.5); } }
@media (max-width: 620px) { .news-card { grid-template-columns: 1fr; } .news-card img { aspect-ratio: 16 / 10; } }
.article-hero { max-width: 760px; }
.article-hero .shot { margin-top: 24px; max-width: 360px; }

/* Bandeau d'appel à jouer */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 70px) var(--pad); border-radius: 28px; background: radial-gradient(70% 100% at 50% 120%, rgba(255,23,56,.5), transparent 70%), linear-gradient(180deg, #0c0c0e, #120205); border: 1px solid rgba(255,23,56,.3); }
.cta-band h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 7vw, 70px); line-height: .92; }
.cta-band p { margin: 0 auto 24px; max-width: 32em; color: #d5d5dc; }

/* Pied de page */
.sf { margin-top: clamp(40px, 7vw, 80px); border-top: 1px solid rgba(255,23,56,.25); background: #070707; padding: 40px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.sf-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 30px; }
.sf-brand { font-family: var(--display); font-size: 40px; line-height: 1; }
.sf-tag { margin: 6px 0 0; color: var(--grey); font-size: 15px; }
.sf nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.sf nav a { display: inline-block; padding: 7px 0; color: #d0d0d6; text-decoration: none; font-size: 15px; }
.sf nav a:hover { color: #fff; }
.sf-copy { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: #8b8b93; }
@media (max-width: 700px) { .sf-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.h1-brand { text-transform: uppercase; }
.news-card h3.news-title { margin: 8px 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 36px); line-height: 1; letter-spacing: .02em; color: #fff; }

/* Ajustements : jamais de débordement, même si la police d'affichage ne charge pas */
.hero-grid > * { min-width: 0; }
.h1-brand { font-size: clamp(64px, 12vw, 160px); overflow-wrap: anywhere; }
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .h1-brand { font-size: clamp(64px, 20vw, 120px); }
    .hero-art { width: 86%; }
}
.hero-cta .btn { max-width: 100%; }
.hero-art { z-index: 0; }
.h1-brand { white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 860px) { .h1-brand { font-size: min(18vw, 120px); } }

/* V14.3 : même logo que la page d'accueil (Inter très gras italique · RAP blanc · ZODY rouge) */
.sh-logo, .sf-brand { font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif; font-style: italic; font-weight: 900; letter-spacing: -0.045em; text-transform: uppercase; color: #fff; padding-right: .08em; }
.sh-logo { font-size: 26px; }
.sf-brand { font-size: 32px; }
.sh-logo span, .sf-brand .brand-red { color: #ff202b; text-shadow: none; }

/* =========================================================
   V14.5 : même style que la page d'accueil sur toutes les pages du site
   (Le jeu, Actualités, À propos, Mentions légales…). Seul ce fichier change : les pages HTML restent les mêmes.
   ========================================================= */
:root { --red: #ff202b; --display: Oswald, 'Bebas Neue', Impact, 'Arial Narrow', sans-serif; }
body { background: #050505; }

/* En-tête : barre noire, liens en capitales espacées, soulignement rouge sur la page en cours */
.sh { background: rgba(5,5,5,.82); border-bottom: 1px solid rgba(255,255,255,.07); }
.sh-in { max-width: 1320px; min-height: 76px; gap: clamp(20px, 3.4vw, 56px); }
.sh-logo { font-size: 28px; }
.sh-nav ul { gap: clamp(20px, 3.4vw, 56px); }
.sh-nav a, .sh-nav a:hover, .sh-nav a[aria-current="page"] { background: none; box-shadow: none; border-radius: 0; }
.sh-nav a {
    position: relative; padding: 10px 0;
    font: 600 12.5px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255,255,255,.86); transition: color .2s;
}
.sh-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--red); transform: scaleX(0); transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.sh-nav a:hover { color: #fff; }
.sh-nav a:hover::after, .sh-nav a[aria-current="page"]::after { transform: scaleX(1); }
.sh-nav a[aria-current="page"] { color: #fff; }

/* Boutons : rouge plein, Oswald en capitales (comme « Commencer → ») */
.btn { font: 600 15px/1 Oswald, Inter, sans-serif; letter-spacing: .09em; }
.btn-red { background: var(--red); box-shadow: 0 10px 30px -8px rgba(255,32,43,.6); }
@media (hover: hover) { .btn-red:hover { background: #ff4650; box-shadow: 0 16px 38px -8px rgba(255,32,43,.75); } }
.sh-play { min-height: 44px; padding: 0 30px; font-size: 0; }          /* le texte « Jouer » reste lu par les lecteurs d'écran */
.sh-play::before { content: "Commencer \2192"; font-size: 14px; }

/* Titres : Oswald gras en capitales, comme « Bientôt disponible. » */
.ph h1, .sec h2, .prose h2, .news-card h2, .news-card h3.news-title, .cta-band h2, .steps h2, .facts dt {
    font-family: Oswald, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .01em;
}
.ph h1 { font-size: clamp(44px, 8vw, 92px); line-height: .95; }
.sec h2, .prose h2 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.02; }
.ph::before { background: radial-gradient(60% 100% at 50% 0%, rgba(255,32,43,.16), transparent 70%); }
.crumbs li + li::before { color: var(--red); }

/* Cartes et liens : rouge de l'accueil */
p a, li a, dd a { color: #ff4650; }
@media (hover: hover) { .card-link:hover { border-color: rgba(255,32,43,.55); } }

/* Pied de page centré, discret, comme l'accueil */
.sf { background: #050505; border-top: 1px solid rgba(255,255,255,.07); padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px)); }
.sf-in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
.sf-brand { font-size: 20px; margin: 0; }
.sf-tag { display: none; }
.sf nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.sf nav a { padding: 0; font-size: 13px; color: rgba(255,255,255,.5); }
.sf-copy { margin: 0; padding: 0; border: 0; color: rgba(255,255,255,.5); }

@media (max-width: 920px) {
    .sh-in { min-height: 0; }
    .sh-logo { font-size: 24px; }
    .sh-play { min-height: 38px; padding: 0 18px; }
    .sh-play::before { font-size: 13px; }
    .sh-nav { -webkit-mask-image: none; mask-image: none; }
    .sh-nav ul { justify-content: space-between; gap: 12px; padding: 10px 0 12px; }
    .sh-nav a { padding: 8px 0; font-size: 11px; letter-spacing: .1em; }
}
