/* Billetterie Notiè — noir / rouge #FE060F / blanc, typo affiche (Anton). */

:root {
  --noir: #0b0b0a;
  --noir-surface: #151513;
  --rouge: #fe060f;
  --rouge-sombre: #8e0409;
  --blanc: #faf9f6;
  --gris: #8d8c86;
  --papier: #faf9f6;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blanc); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }

/* ---------- topbar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.topbar-logo { height: 30px; width: auto; }
.topbar-centre { justify-content: center; padding-top: 22px; }
.topbar-logo-grand { height: 58px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-block;
  background: var(--rouge);
  color: var(--blanc);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn:active { background: var(--rouge-sombre); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-big { padding: 16px 32px; font-size: 19px; }

/* ---------- hero ---------- */
.hero { padding: 8vh 20px 48px; max-width: 900px; margin: 0 auto; }
.eyebrow {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--gris); margin: 0 0 12px;
}
.hero-title { margin: 0 0 28px; font-family: var(--display); font-weight: 400; line-height: 0.92; text-transform: uppercase; }
.hero-title .line { display: block; }
.hero-logo { display: block; width: min(86vw, 620px); height: auto; margin: 0 0 18px; }
.topbar-sans-logo { justify-content: flex-end; }
.line-red { color: var(--rouge); font-size: clamp(72px, 21vw, 190px); letter-spacing: 0.01em; }
.line-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--blanc);
  font-size: clamp(34px, 9.6vw, 88px);
  letter-spacing: 0.04em;
}
.hero-date { display: flex; align-items: center; gap: 18px; margin: 0 0 30px; }
.date-big { font-family: var(--display); font-size: clamp(44px, 11vw, 84px); color: var(--blanc); line-height: 1; }
.date-detail { font-size: 15px; color: var(--gris); text-transform: uppercase; letter-spacing: 0.08em; }

@media (prefers-reduced-motion: no-preference) {
  .hero > * { opacity: 0; transform: translateY(14px); animation: rise 0.55s ease-out forwards; }
  .hero > *:nth-child(2) { animation-delay: 0.08s; }
  .hero > *:nth-child(3) { animation-delay: 0.18s; }
  .hero > *:nth-child(4) { animation-delay: 0.28s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--rouge); color: var(--noir);
  font-family: var(--display); text-transform: uppercase;
  font-size: 16px; letter-spacing: 0.1em;
  padding: 9px 0;
  transform: rotate(-1.2deg) scale(1.02);
}
.marquee-inner { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-inner { animation: defile 28s linear infinite; }
  @keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}

/* ---------- sections ---------- */
.section { padding: 64px 20px; max-width: 720px; margin: 0 auto; }
.section-title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(30px, 7vw, 44px); letter-spacing: 0.03em; margin: 0 0 28px;
}

/* ---------- ticket (signature) ---------- */
.ticket {
  position: relative;
  background: var(--papier);
  color: var(--noir);
  border-radius: 14px;
  max-width: 620px;
}
.ticket-main { padding: 26px 24px 22px; }
.ticket-stub {
  position: relative;
  border-top: 3px dashed #c9c7c0;
  padding: 16px 24px 20px;
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
/* encoches de perforation */
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; top: -14px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--noir);
}
.ticket-stub::before { left: -14px; }
.ticket-stub::after { right: -14px; }

.stub-label { font-family: var(--display); text-transform: uppercase; font-size: 15px; letter-spacing: 0.12em; color: #6b6a64; }
.stub-total { font-family: var(--display); font-size: 40px; color: var(--rouge); line-height: 1; }
.stub-note { font-size: 13px; color: #6b6a64; }

.tarif-bloc { margin: 0 0 20px; padding: 12px 14px; background: #f0eee8; border-left: 5px solid var(--rouge); }
.tarif-ligne { margin: 0; font-size: 17px; }
.tarif-ligne strong { font-family: var(--display); font-size: 22px; color: var(--rouge); letter-spacing: 0.02em; }
.tarif-urgence { margin: 4px 0 0; font-size: 13.5px; color: #5c5b55; white-space: pre-line; }

/* ---------- formulaire ---------- */
.stepper-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.stepper-label { font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper-btn {
  width: 44px; height: 44px; font-size: 24px; line-height: 1;
  background: var(--noir); color: var(--blanc); border: none; cursor: pointer; border-radius: 6px;
}
.stepper-btn:disabled { opacity: 0.25; cursor: default; }
.stepper output { min-width: 52px; text-align: center; font-family: var(--display); font-size: 26px; }

.champ { margin-bottom: 14px; }
.champ label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.champ input {
  width: 100%; padding: 12px; font-size: 16px; border: 2px solid #262521;
  border-radius: 6px; background: #ffffff; color: var(--noir); font-family: var(--body);
}
.champ input:focus-visible { outline-offset: 0; }
.hint { font-weight: 400; color: #77766f; font-size: 12.5px; }
.champ-facultatif label { color: #55544e; }

/* honeypot hors écran (les bots le remplissent) */
.champ-hp { position: absolute; left: -9999px; top: -9999px; }

.case { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 14px 0 18px; }
.case input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--rouge); }

.btn-ticket { width: 100%; }
.btn-ticket:disabled { opacity: 0.5; cursor: default; }
.paiement-note { font-size: 13px; color: #6b6a64; margin: 12px 0 0; }
.erreur { color: var(--rouge-sombre); font-weight: 600; font-size: 14.5px; min-height: 1em; margin: 0 0 10px; }

.succes { padding: 6px 0; }
.succes-titre { font-size: 19px; font-weight: 700; margin: 0 0 10px; }

/* ---------- finalisation ---------- */
.choix-moyens { display: flex; gap: 12px; margin-bottom: 20px; }
.btn-moyen {
  flex: 1; padding: 16px 8px; font-family: var(--display); font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.2;
  background: #ffffff; color: var(--noir); border: 3px solid var(--noir);
  border-radius: 8px; cursor: pointer;
}
.btn-moyen:disabled { opacity: 0.3; cursor: default; }
.btn-moyen-actif { background: var(--noir); color: var(--blanc); }
.numero-bloc {
  background: #0b0b0a; color: var(--blanc); border-radius: 10px;
  padding: 18px 16px; text-align: center; margin-bottom: 20px;
}
.numero-intro { margin: 0 0 6px; font-size: 15px; }
.numero-gros {
  font-family: var(--display); font-size: clamp(26px, 8vw, 38px);
  color: var(--rouge); margin: 0; letter-spacing: 0.05em;
}
.numero-nom { margin: 4px 0 10px; color: #b9b8b2; font-size: 14px; }
.numero-consigne { margin: 8px 0 10px; color: #f4c657; font-size: 13.5px; font-weight: 600; }
.numero-ref { margin: 0; font-size: 14px; border-top: 1px solid #33322e; padding-top: 10px; }

/* ---------- billet ---------- */
.billet-carte { text-align: center; }
.billet-holder { font-family: var(--display); font-size: clamp(26px, 7vw, 36px); text-transform: uppercase; margin: 0 0 4px; }
.billet-event { color: #55544e; font-size: 14.5px; margin: 0 0 18px; }
.billet-qr { width: min(65vw, 260px); height: auto; display: block; margin: 0 auto; }
.billet-etat { display: inline-block; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-top: 16px; }
.etat-valide { background: #0d7a2d; color: #ffffff; }
.etat-scanne { background: #6b6a64; color: #ffffff; }

/* ---------- groupe ---------- */
.section-groupe { padding-top: 24px; }
/* mix-blend-mode lighten : les pixels noirs purs de la photo prennent la
   couleur du fond de page (#0b0b0a) -> la photo se fond sans détourage. */
.groupe-photo { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto 24px; mix-blend-mode: lighten; }
.roster { list-style: none; margin: 0; padding: 0; }
.roster li {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid #23231f;
}
.roster-nom { font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 6vw, 34px); letter-spacing: 0.03em; }
.roster-role { color: var(--gris); font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- footer ---------- */
.footer { padding: 48px 20px 60px; text-align: center; border-top: 1px solid #23231f; margin-top: 40px; }
.footer-socials { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.footer-socials a {
  font-family: var(--display); text-transform: uppercase; font-size: 15px;
  letter-spacing: 0.1em; text-decoration: none;
}
.footer-socials a:hover { color: var(--rouge); }
.footer-note { color: var(--gris); font-size: 13.5px; }
.footer-note a { color: var(--gris); }
