/* Site de paiement VOD Drama : mêmes couleurs que l'application (noir et or), très léger. */
:root {
  --fond: #0e0b0c;
  --surface: #1c1618;
  --surface2: #2a2124;
  --bordure: #3a2e32;
  --or: #f2c14e;
  --or-fonce: #3a2e1a;
  --sur-or: #0e0b0c;
  --texte: #ffffff;
  --texte2: #e4d3d8;
  --gris: #a8959b;
  --succes: #5fd38d;
  --danger: #ff8a9a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--fond); color: var(--texte); }
body {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 480px; margin: 0 auto; padding: 20px 16px 48px; display: flex; flex-direction: column; gap: 18px; }
h1 { font-size: 24px; line-height: 1.2; margin: 0; font-weight: 800; }
h2 { font-size: 17px; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--or); }
.entete { display: flex; align-items: center; gap: 10px; }
.entete img { width: 30px; height: 34px; }
.marque { font-weight: 800; font-size: 19px; letter-spacing: 0.2px; }
.marque span { color: var(--or); }
.muet { color: var(--gris); font-size: 14px; }
.petit { font-size: 13px; }
.carte { background: var(--surface); border: 1px solid var(--surface2); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.bandeau-test { background: #3a2e1a; color: var(--or); border: 1px dashed var(--or); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.compte { display: flex; align-items: center; gap: 12px; }
.initiale { width: 44px; height: 44px; border-radius: 50%; background: var(--or-fonce); color: var(--or); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.compte strong { display: block; font-size: 17px; }
.etiquette { font-size: 13px; font-weight: 600; color: var(--texte2); }
select, input[type='text'], input[type='email'] {
  width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--bordure); background: var(--fond); color: var(--texte);
  padding: 0 14px; font-size: 16px; font-family: inherit;
}
select:focus, input:focus { outline: 2px solid var(--or); outline-offset: 1px; }
.formules { display: flex; flex-direction: column; gap: 10px; }
.formule { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--bordure); background: var(--surface); cursor: pointer; }
.formule input { accent-color: var(--or); width: 20px; height: 20px; margin: 0; flex: none; }
.formule .nom { font-weight: 700; }
.formule .duree { color: var(--gris); font-size: 13px; }
.formule .prix { margin-left: auto; font-weight: 800; font-size: 18px; white-space: nowrap; }
.formule:has(input:checked) { border-color: var(--or); background: #241c12; }
.badge { display: inline-block; white-space: nowrap; margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--or); color: var(--sur-or); font-size: 10px; font-weight: 800; vertical-align: 2px; }
.bouton {
  height: 52px; border-radius: 14px; border: none; background: var(--or); color: var(--sur-or); font-weight: 800; font-size: 16px;
  font-family: inherit; cursor: pointer; width: 100%; padding: 0 16px;
}
.bouton:disabled { opacity: 0.55; cursor: default; }
.bouton.secondaire { background: var(--surface2); color: var(--texte); }
.message { border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.message.erreur { background: #3a1820; border: 1px solid #5a2a33; color: var(--danger); }
.message.info { background: var(--surface2); color: var(--texte2); }
.message.succes { background: #12301f; border: 1px solid #1f5a37; color: var(--succes); }
.recu { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 15px; }
.recu dt { color: var(--gris); }
.recu dd { margin: 0; font-weight: 600; text-align: right; word-break: break-all; }
.grand-ok { width: 64px; height: 64px; border-radius: 50%; background: #12301f; color: var(--succes); display: grid; place-items: center; font-size: 34px; font-weight: 800; margin: 0 auto; }
.centre { text-align: center; }
.roue { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--surface2); border-top-color: var(--or); margin: 6px auto; animation: tourne 0.9s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.cache { display: none !important; }
footer { max-width: 480px; margin: 0 auto; padding: 0 16px 32px; color: var(--gris); font-size: 12px; display: flex; gap: 14px; flex-wrap: wrap; }
footer a { color: var(--gris); }
@media (prefers-reduced-motion: reduce) { .roue { animation-duration: 3s; } }
.espace-haut { margin-top: 10px; }
