/* Still Standing Games — site (v1, 18/11/2026). Couleurs et polices de la marque (identite/). */
@font-face { font-family: 'Cinzel'; font-weight: 400 900; font-display: swap; src: url(fonts/cinzel.woff2) format('woff2'); }
:root {
  --nuit: #16121b; --nuit2: #221b28; --ciel: #433541; --creme: #f3ead8; --or: #e0ad4b; --rouge: #8a1f1f;
  --texte: #e9e1d2; --doux: #b8ad9c;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nuit); color: var(--texte); font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--or); }
img, video { display: block; max-width: 100%; }
.titre { font-family: 'Cinzel', serif; font-weight: 500; letter-spacing: .08em; color: var(--creme); }

/* --- haut de page : le samouraï fait le I de STILL --- */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--ciel); }
.hero video, .hero .lettres, .hero .lettres-large { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .lettres-large { display: none; }
.hero .lettres, .hero .lettres-large { opacity: 0; animation: apparait 1.2s .6s ease forwards; }
@keyframes apparait { to { opacity: 1; } }
/* écran plus allongé que 9:16 : toute la largeur, image calée en bas, ciel prolongé au-dessus */
@media (max-aspect-ratio: 9/16) { .hero video, .hero .lettres { object-fit: contain; object-position: 50% 100%; } }
/* écran large (ordinateur, tablette en paysage) : la vidéo 16:9 (choisie dans index.html) et ses lettres */
@media (min-aspect-ratio: 4/5) {
  .hero .lettres { display: none; }
  .hero .lettres-large { display: block; }
}
.descendre { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--creme); background: rgba(22,18,27,.45); text-decoration: none; font-size: 22px; }
.langue { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(22,18,27,.55); color: var(--creme);
  border: 1px solid rgba(243,234,216,.35); border-radius: 20px; padding: 6px 14px; font: 600 14px system-ui, sans-serif; cursor: pointer; }

/* --- sections --- */
section { padding: 72px 16px; }
.boite { max-width: 980px; margin: 0 auto; }
h2 { font-family: 'Cinzel', serif; font-weight: 500; color: var(--creme); font-size: clamp(26px, 5vw, 38px); letter-spacing: .06em; margin: 0 0 8px; }
.sur { color: var(--or); font: 600 13px system-ui, sans-serif; letter-spacing: .25em; text-transform: uppercase; margin: 0 0 6px; }

.jeu { background: linear-gradient(180deg, var(--nuit) 0, var(--nuit2) 100%); }
.jeu .entete { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.jeu .entete img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 6px 20px rgba(0,0,0,.45); }
.captures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; max-width: 720px; }
.captures img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
@media (max-width: 600px) {
  .captures { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .captures img { scroll-snap-align: center; }
}
.badge { display: inline-block; padding: 10px 18px; border-radius: 10px; border: 1px solid rgba(224,173,75,.6); color: var(--or); font-weight: 600; }

.studio .grille { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; }
.studio .grille img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
@media (max-width: 600px) { .studio .grille { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.suivre { background: var(--nuit2); text-align: center; }
.liens { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.liens a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; background: rgba(243,234,216,.07);
  border: 1px solid rgba(243,234,216,.18); color: var(--creme); text-decoration: none; font-weight: 600; }
.liens a:hover { border-color: var(--or); }
.liens svg { width: 22px; height: 22px; fill: currentColor; }

footer { padding: 28px 16px 40px; text-align: center; color: var(--doux); font-size: 14px; }
footer a { color: var(--doux); }

/* --- page de texte (confidentialité) --- */
.page { max-width: 760px; margin: 0 auto; padding: 40px 16px 60px; }
.page header { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.page header img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.page header a { text-decoration: none; }
.page h1 { font-family: 'Cinzel', serif; font-weight: 500; color: var(--creme); font-size: clamp(24px, 5vw, 32px); margin: 0 0 6px; }
.page h3 { color: var(--creme); margin: 26px 0 4px; font-size: 18px; }
.page .date { color: var(--doux); margin: 0 0 20px; }
.page hr { border: 0; border-top: 1px solid rgba(243,234,216,.15); margin: 46px 0; }
.sommaire { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.sommaire a { padding: 6px 14px; border-radius: 20px; border: 1px solid rgba(243,234,216,.25); text-decoration: none; color: var(--creme); font-size: 14px; }

[data-lang="en"] .fr, [data-lang="fr"] .en { display: none; }
