/* style.css — site de Platine (platine.gameduo.app).
   Charte de l'app (01_App/CONCEPTION.md § 13) : studio d'enregistrement et
   vinyle, noir chaud, or platine, Archivo + Inter. Pas de mascotte, pas de
   fluo, pas d'émoji comme icône.
   Les animations (apparition, titre mot par mot, halo, reflets…) viennent de
   anim.css, copie de Game Duo/partage : ici, seulement leurs couleurs. */

@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-latinext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #121014; --bg-0: #0B0A0C; --s1: #1E1A20; --s2: #2A2430;
  --ivory: #F2EDE4; --muted: #B9AFA6; --line: rgba(242, 237, 228, .12); --line-2: rgba(242, 237, 228, .22);
  --gold: #D9B26A; --gold-hi: #F0CF8E; --gold-lo: #A9853F; --red: #E0483E; --green: #7FB77E;
  --title: "Archivo", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Couleurs des animations communes (anim.css). */
  --fx-a: var(--gold); --fx-b: var(--red); --fx-c: var(--gold-hi);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ivory);
  font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--gold-hi); }
h1, h2, h3 { font-family: var(--title); margin: 0; letter-spacing: -.02em; line-height: 1.1; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right)); }

/* Lueur de fond : une lampe de studio, chaude, qui dérive. */
.glow { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.glow::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(30vmax 30vmax at 78% 18%, rgba(217, 178, 106, .13), transparent 60%),
    radial-gradient(26vmax 26vmax at 12% 70%, rgba(224, 72, 62, .07), transparent 60%);
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(6%, -4%, 0) rotate(8deg); } }

/* ─── Barre du studio, langues, en-tête ─── */
.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; position: relative; z-index: 6; }
.studio-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); text-decoration: none; }
.studio-back:hover { color: var(--ivory); }
.langs { position: relative; }
.langs summary {
  list-style: none; cursor: pointer; font-size: 14px; color: var(--muted);
  padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 999px;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " ▾"; }
.langs ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; margin: 0; padding: 6px; list-style: none;
  min-width: 160px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line-2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}
.langs li a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--ivory); text-decoration: none; font-size: 15px; }
.langs li a:hover, .langs li a[aria-current] { background: var(--s2); color: var(--gold-hi); }
.top { padding-top: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); text-decoration: none; font: 800 20px/1 var(--title); letter-spacing: .32em; text-transform: uppercase; }
.brand img { transition: transform .9s var(--ease); }
.brand:hover img { transform: rotate(200deg); }

/* ─── Boutons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 16px; cursor: pointer;
  font: 700 17px/1 var(--title); text-decoration: none; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 17px; height: 21px; fill: currentColor; }
.btn-gold {
  color: #1B1406; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 4px 0 #7A5E28, 0 16px 30px rgba(217, 178, 106, .22);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-gold.soon { cursor: default; }
.btn-gold.soon:hover { transform: none; }
.btn-line { color: var(--ivory); border-color: var(--line-2); background: rgba(242, 237, 228, .03); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions.center { justify-content: center; margin-top: 44px; }

/* ─── Accroche ─── */
.hero { display: grid; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.kicker { margin: 0 0 16px; color: var(--gold); font: 700 13px/1.3 var(--title); letter-spacing: .22em; text-transform: uppercase; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -.035em; text-wrap: balance; }
.lead { margin: 22px 0 0; max-width: 34em; color: var(--muted); font-size: 18.5px; }
.hero .kicker, .hero .lead, .hero .actions { animation: rise .9s var(--ease) both; }
.hero .lead { animation-delay: .45s; }
.hero .actions { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

/* La platine : un disque noir qui tourne derrière le téléphone, étiquette or. */
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.disc {
  position: absolute; width: min(430px, 88vw); aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 17%, rgba(255, 255, 255, .05) 17.4%, transparent 18%),
    repeating-radial-gradient(circle, #141116 0 2px, #0c0a0d 2px 4px);
  box-shadow: 0 0 0 1px rgba(242, 237, 228, .08), 0 40px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(217, 178, 106, .08);
  animation: spin 9s linear infinite, discIn 1.3s var(--ease) .2s both;
  translate: 18% -2%;
}
.disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 20%, rgba(255, 255, 255, .07) 25%, transparent 32% 70%, rgba(255, 255, 255, .05) 76%, transparent 82%);
}
.disc .label {
  position: absolute; inset: 33%; border-radius: 50%;
  background: radial-gradient(circle, #0c0a0d 0 7%, transparent 7.5%), radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
}
@keyframes spin { to { rotate: 360deg; } }
@keyframes discIn { from { opacity: 0; scale: .7; } }

.phone {
  position: relative; width: min(270px, 64vw); padding: 7px; border-radius: 40px;
  background: linear-gradient(160deg, #2b2630, #121014);
  box-shadow: 0 0 0 1px rgba(242, 237, 228, .14), 0 30px 70px rgba(0, 0, 0, .65);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 33px; }
.hero-art .phone { animation: phoneIn 1s var(--ease) .35s both; }
@keyframes phoneIn { from { opacity: 0; translate: 0 30px; } }

/* ─── Sections ─── */
.block { padding-top: 70px; padding-bottom: 70px; }
.section-title { text-align: center; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: .04em; text-transform: none; margin-bottom: 40px; }
.duo { display: grid; gap: 40px; align-items: center; }
.duo-text h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .06em; color: var(--gold-hi); }
.duo-text h2 + p { margin: 12px 0 34px; color: var(--muted); font-size: 18px; max-width: 34em; }
.duo-text p:last-child { margin-bottom: 0; }
.duo > .phone { justify-self: center; }

.modes-wrap { display: grid; gap: 40px; align-items: center; }
.modes-wrap > .phone { justify-self: center; }
.modes { display: grid; gap: 14px; grid-template-columns: 1fr; }
.mode {
  --fx-glow-tint: var(--red);
  position: relative; padding: 20px 22px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line);
  transition: opacity .9s var(--ease) var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms), filter .9s ease var(--d, 0ms), border-color .3s ease;
}
.mode:hover { border-color: var(--line-2); }
.mode h3 { font-size: 19px; font-weight: 800; color: var(--gold-hi); margin-bottom: 6px; }
.mode p { margin: 0; color: var(--muted); font-size: 15.5px; }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  position: relative; padding: 26px 24px 24px; border-radius: 22px;
  background: linear-gradient(180deg, var(--s1), #18151a); border: 1px solid var(--line);
}
.card-num { display: block; font: 800 13px/1 var(--title); letter-spacing: .2em; color: var(--gold); margin-bottom: 14px; }
.card h3 { font-size: 18px; letter-spacing: .06em; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.card li + li { margin-top: 8px; }
.card ul + p, .card p + ul { margin-top: 12px; }

/* ─── Bandeau « Du même studio » (catalogue.mjs, othersBand) ─── */
.others-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.other-game {
  display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-radius: 22px;
  background: var(--s1); border: 1px solid var(--line); color: var(--ivory); text-decoration: none;
  transition: border-color .3s ease, transform .3s ease;
}
.other-game:hover { border-color: var(--line-2); transform: translateY(-2px); }
.other-game img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.other-game > span:first-of-type { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.other-game b { font: 800 20px/1.2 var(--title); }
.other-game small { color: var(--muted); font-size: 15.5px; }
.other-go { flex: none; color: var(--gold-hi); font-weight: 700; white-space: nowrap; }
.center-note { text-align: center; color: var(--muted); margin: 22px auto 0; }

/* ─── Contact, pied de page ─── */
.help-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  padding: 30px 32px; border-radius: 26px; background: var(--s1); border: 1px solid var(--line);
}
.help-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.help-band p { margin: 0; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; padding-top: 30px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: var(--gold-hi); }

/* ─── Grand écran (paysage compris) : deux colonnes ─── */
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding-top: 60px; }
  .duo { grid-template-columns: minmax(0, 1fr) auto; gap: 70px; }
  .modes-wrap { grid-template-columns: auto minmax(0, 1fr); gap: 60px; }
  .modes { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Cinq cartes : la dernière (la plus longue) prend les deux colonnes restantes. */
  .card:last-child:nth-child(3n + 2) { grid-column: span 2; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .modes, .cards { grid-template-columns: 1fr 1fr; }
}
/* Téléphone à l'horizontale : l'accroche tient sur une ligne, la platine se fait petite. */
@media (orientation: landscape) and (max-height: 500px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding-top: 20px; }
  .hero-art { min-height: 300px; }
  .disc { width: 300px; }
  .phone { width: 190px; }
}
@media (max-width: 520px) {
  .hero-art { min-height: 0; padding: 20px 0; }
  .disc { translate: 12% 0; }
  .help-band { padding: 26px 22px; }
  .other-game { flex-wrap: wrap; }
  .other-game > span:first-of-type { flex-basis: calc(100% - 82px); }
  .other-go { width: 100%; padding-left: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─── Politique de confidentialité ─── */
.legal { max-width: 860px; padding-top: 40px; padding-bottom: 70px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.legal-date { margin: 14px 0 0; color: var(--gold); font: 700 13px/1.3 var(--title); letter-spacing: .16em; text-transform: uppercase; }
.legal .lead { margin-bottom: 36px; }
.legal-list { display: grid; gap: 14px; }
.legal-list h2 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.01em; }
.legal-list a, .legal .lead a { overflow-wrap: anywhere; }

/* ─── Assistance : questions dépliables ─── */
.legal-h2 { font-size: clamp(22px, 3vw, 28px); margin: 44px 0 18px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--s1); border: 1px solid var(--line); transition: border-color .3s ease; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font: 700 17.5px/1.35 var(--title);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--s2); color: var(--gold-hi); font: 700 20px/1 var(--title); transition: rotate .35s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 16px; }
