/* VOICE   salle d'arcade de nuit : néons, bornes, records — jamais criard, toujours lisible
   IDEA    le site se comporte comme la façade d'une salle : enseigne, vitrine des 11 bornes, comptoir d'infos
   PICTURE bannière NeonPixL en fond, trois téléphones allumés sur les vrais écrans d'accueil du jeu
   COLOUR  nuit #07060f, rose néon #ff3fbf, cyan #3cf2ff, or #ffd21f (pièces, étoiles) — même palette que l'app
   TYPE    Audiowide pour l'enseigne et les titres, Nunito pour le texte
   LAYOUT  barre collante, bandeau, grille de bornes, bande de captures défilante, atouts, FAQ, appel final, pied */
:root {
  --night: #07060f; --panel: #120d1f; --panel2: #191127; --pink: #ff3fbf; --cyan: #3cf2ff; --gold: #ffd21f;
  --ink: #eeeaf8; --muted: #a99fc4; --line: #2a2140;
  --display: "Audiowide", "Arial Black", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--night); color: var(--ink); font: 17px/1.6 var(--body); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* barre du haut */
.top { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(7,6,15,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 19px; letter-spacing: .5px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 0; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.lang { display: flex; padding: 4px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); }
.lang a { min-width: 46px; min-height: 36px; display: grid; place-items: center; border-radius: 99px; color: var(--muted); text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: .06em; }
.lang a[aria-current] { background: linear-gradient(#ff5fc9, #d0179a); color: #fff; box-shadow: 0 0 14px rgba(255,63,191,.55); }

/* bandeau */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px;
  background: linear-gradient(90deg, rgba(7,6,15,.95) 0%, rgba(7,6,15,.82) 46%, rgba(7,6,15,.5) 100%), linear-gradient(180deg, rgba(7,6,15,.15), var(--night) 97%), url("img/banniere.jpg") center 35% / cover no-repeat; }
.hero::after { content: ""; position: absolute; left: -20%; right: -20%; bottom: -1px; height: 42%; pointer-events: none;
  background: linear-gradient(transparent 0 94%, rgba(255,63,191,.35) 94%) 0 0/100% 46px, linear-gradient(90deg, transparent 0 96%, rgba(60,242,255,.22) 96%) 0 0/60px 100%;
  transform: perspective(420px) rotateX(62deg); transform-origin: bottom; -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 40px; align-items: center; }
.hero .logo { width: min(460px, 100%); margin-left: -10px; }
.hero h1 { font-size: 0; }
.lead { font-size: clamp(19px, 2vw, 22px); max-width: 36ch; margin: 16px 0 28px; }
.lead b { color: var(--gold); font-weight: 800; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 10px 22px; border-radius: 14px; font-weight: 800; text-decoration: none; font-size: 17px; border: 0; cursor: pointer; font-family: inherit; }
.btn.play { background: var(--ink); color: var(--night); box-shadow: 0 0 0 2px var(--cyan), 0 0 30px rgba(60,242,255,.45); }
.btn.play svg { width: 26px; height: 26px; flex: none; }
.btn.play small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #4b4560; line-height: 1; }
.btn.play span { line-height: 1.15; text-align: left; }
.btn.ghost { color: var(--ink); background: transparent; border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--pink); }
.facts { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: 15px; }
.facts strong { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 24px; display: block; font-variant-numeric: tabular-nums; white-space: nowrap; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 236px; height: auto; border-radius: 26px; overflow: hidden; border: 3px solid var(--pink); box-shadow: 0 0 34px rgba(255,63,191,.5), 0 30px 60px #000a; background: var(--panel); }
.phone:nth-child(1) { left: 0; top: 50px; transform: rotate(-7deg); }
.phone:nth-child(2) { right: 0; top: 0; transform: rotate(6deg); border-color: var(--cyan); box-shadow: 0 0 34px rgba(60,242,255,.5), 0 30px 60px #000a; }
.phone:nth-child(3) { left: 24%; top: 74px; z-index: 2; border-color: var(--gold); box-shadow: 0 0 34px rgba(255,210,31,.45), 0 30px 60px #000a; }

/* sections */
.band { padding: 72px 0; }
.band.alt { background: linear-gradient(180deg, transparent, #0d0918 12%, #0d0918 88%, transparent); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }

/* les 11 bornes */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.game { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.game:hover { border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 30%, transparent); }
.game .art { aspect-ratio: 2 / 1; width: 100%; height: auto; object-fit: cover; }
.game .body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.game .kind { font-size: 13px; font-weight: 800; color: var(--c); }
.game p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.game .foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.game .count { font-weight: 800; color: var(--gold); font-size: 14px; }
.shots { min-height: 40px; padding: 6px 14px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); background: transparent; color: var(--ink); font: 800 14px var(--body); cursor: pointer; }
.shots:hover { background: color-mix(in srgb, var(--c) 18%, transparent); }

/* captures défilantes */
.strip { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; scrollbar-color: var(--pink) transparent; }
.strip figure { margin: 0; flex: none; width: 210px; scroll-snap-align: start; }
.strip img { height: auto; border-radius: 20px; border: 2px solid var(--line); background: var(--panel); }
.strip figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 700; text-align: center; }

/* atouts */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 30px; }
.perk { padding: 18px 0 0; border-top: 2px solid var(--line); }
.perk h3 { margin-bottom: 8px; color: var(--c); }
.perk p { margin: 0; color: var(--muted); font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pink); font-family: var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* appel final */
.cta { text-align: center; padding: 80px 0; background: radial-gradient(60% 80% at 50% 100%, rgba(255,63,191,.22), transparent 70%); }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); margin: 0 auto 26px; max-width: 46ch; }
.cta .ctas { justify-content: center; }

/* fenêtre des captures */
dialog { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); color: var(--ink); padding: 22px; width: min(620px, 100% - 24px); }
dialog::backdrop { background: rgba(4,3,10,.8); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog .dh { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
dialog .x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel2); color: var(--ink); font-size: 20px; cursor: pointer; }
dialog .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
dialog figure { margin: 0; }
dialog img { height: auto; border-radius: 18px; border: 2px solid var(--line); }
dialog figcaption { text-align: center; color: var(--muted); font-size: 14px; font-weight: 700; margin-top: 8px; }

/* pages de texte */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin-bottom: 8px; }
.doc .date { color: var(--muted); margin: 0 0 30px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; color: var(--cyan); }
.doc p, .doc li { max-width: 70ch; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 10px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 700; }
.scroll { overflow-x: auto; }
.todo { background: rgba(255,210,31,.16); color: var(--gold); padding: 0 5px; border-radius: 5px; font-weight: 700; }

/* pied de page */
footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; gap: 16px 28px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0,1fr); }
  .phones { height: 470px; max-width: 520px; }
  .phone { width: 196px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 520px) {
  .hero { padding: 40px 0 60px; }
  .phones { height: 360px; }
  .phone { width: 150px; border-radius: 18px; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .strip figure { width: 170px; }
  dialog .pair { gap: 10px; }
  .facts { gap: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s, box-shadow .15s; }
  .btn:hover { transform: translateY(-2px); }
  .phone { animation: float 6s ease-in-out infinite; }
  .phone:nth-child(2) { animation-delay: -2s; } .phone:nth-child(3) { animation-delay: -4s; }
  @keyframes float { 50% { translate: 0 -10px; } }
}
