/* =============================================================================
   Lisibilité (2026-11-25)
   - Toutes les zones de lecture passent en texte foncé sur fond clair.
   - Les chiffres (statistiques, prix, horaires, compte à rebours…) passent en Manrope gras.
   - Les très petits textes sont agrandis.
   Restent « de nuit », car ce sont des moments visuels : le haut de page, les jeux animés,
   la carte d'accès, l'illustration du château et le pied de page.
   Chargée après les autres feuilles de style : la retirer suffit à revenir à l'ancien rendu.
   ============================================================================= */

:root {
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
}

/* ---------- Zones de lecture : fond papier, texte encre ---------- */
.manifesto,
.awards,
.evening,
.tickets,
.faq,
.alert,
.jeux-cta,
body.page-claire {
  --night: #f6f1e6;
  --night-2: #fffdf8;
  --night-3: #ece3cf;
  --ivory: #141a2e;
  --mist: #3f465d;
  --gold: #553a0a;      /* or foncé : 9,3:1 sur la crème (lecture confortable) */
  --gold-hi: #4a3208;   /* 10,6:1 */
  --gold-lo: #9c7631;
  --line: rgba(122, 87, 24, .34);
  --line-soft: rgba(20, 26, 46, .14);
  --glass: rgba(246, 241, 230, .92);
  --danger: #b3261e;
  --ok: #1d7a38;
  background-color: var(--night);
  color: var(--ivory);
  /* Contrôles natifs (cases à cocher, champs) en version claire : sinon une case vide paraît cochée. */
  color-scheme: light;
}
.faq { background-color: var(--night-2); }
body.page-claire::after { opacity: .035; }

/* Titres : Playfair Display (2026-11-25), aux déliés assez épais pour rester lisibles partout. */

/* Boutons : l'or reste lumineux avec un texte foncé, le bouton sombre reste sombre */
:is(.manifesto, .awards, .evening, .tickets, .faq, .alert, .jeux-cta, body.page-claire) .btn--gold {
  --gold-hi: #f4dfac;
  --gold: #d7b46c;
  --gold-lo: #9a773a;
  color: #0b0e19;
}
:is(.manifesto, .awards, .evening, .tickets, .faq, .alert, .jeux-cta, body.page-claire) .btn--ghost {
  color: var(--ivory);
  background: rgba(255, 255, 255, .75);
  border-color: rgba(20, 26, 46, .28);
}
:is(.manifesto, .awards, .evening, .tickets, .faq, .alert, .jeux-cta, body.page-claire) .btn--ghost:hover {
  color: var(--gold-hi);
  border-color: var(--gold);
}
:is(.manifesto, .awards, .evening, .tickets, .faq, .alert, .jeux-cta, body.page-claire) .btn--dark {
  color: #f4dfac;
  background: #141a2e;
  border-color: #141a2e;
}
:is(.manifesto, .awards, .evening, .tickets, .faq, .alert, .jeux-cta, body.page-claire) .btn--dark:hover { background: #232b45; }

/* Petits libellés dorés sur fond crème : or foncé (variables ci-dessus) et en gras */
:is(.manifesto, .awards, .evening, .tickets, .faq, .alert, .jeux-cta, body.page-claire)
  :is(.eyebrow, .award__kind, .award__status, .awards__count b, .awards__hint, .countdown__label,
      .field label, .person__title, .legal__facts dt, .pay__facts dt, .manifesto__label,
      .booking__badge, .order-card__ref, .pay__tickets small, .ticketpage__qr figcaption) {
  font-weight: 700;
}
:is(.manifesto, .awards, .evening, .tickets, .faq, .alert, .jeux-cta, body.page-claire)
  :is(.legal a, .account__switch a, .account__note a, .account__empty a, .booking__hint a,
      .booking .check a, .order__alert-link, .legal__back, .manifesto__more a) {
  font-weight: 700;
}

/* Carte « Et vous ? » des trophées : or lumineux, texte foncé */
.awards .award--cta {
  --gold-hi: #f4dfac;
  --gold: #d7b46c;
  --gold-lo: #9a773a;
  --night: #0b0e19;
}
.awards .award--cta .award__kind,
.awards .award--cta .award__text { opacity: 1; }

/* Cartes et encadrés : fond blanc cassé bien visible */
.tickets .order,
body.page-claire .account__form,
body.page-claire .order-card,
body.page-claire .pay__tickets a,
.booking .person {
  background: #fffdf8;
}

/* Le billet d'exemple garde son aspect réel (billet de nuit) */
.tickets .ticket {
  --night: #0b0e19;
  --night-2: #10152a;
  --night-3: #182040;
  --ivory: #f3ece0;
  --mist: #c3c7d6;
  --gold: #d7b46c;
  --gold-hi: #f4dfac;
  --gold-lo: #9a773a;
  --line: rgba(215, 180, 108, .3);
  --line-soft: rgba(243, 236, 224, .12);
  color: var(--ivory);
}

/* ---------- Chiffres : Manrope gras, partout ---------- */
.stats__num,
.timeline__time,
.countdown__num,
.ticket__price,
.order__total output,
.booking__amount strong,
.btn__price,
.race__num,
.race__rank,
.access__num,
.awards__count {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums lining-nums;
}
.stats__num { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 5.2rem); }
.timeline__time { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.4rem); }
.countdown__num { font-size: clamp(2.3rem, 1.3rem + 4.2vw, 6rem); }
.order__total output { font-size: 2.1rem; }
.btn__price { font-size: 1em; }

/* Petits textes d'information (dates, lieux, questions) : Manrope, plus lisible qu'une police à empattements en petit */
.hero__meta dd,
.venue__facts dd,
.pay__facts dd {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}
.faq__item summary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem);
}

/* ---------- Très petits textes agrandis ---------- */
.hero__meta dt,
.venue__facts dt,
.awards__hint,
.scroll-cue { font-size: .8rem; }
.chip,
.person__title { font-size: .8125rem; }
.map-label small { font-size: 12.5px; }

/* ---------- Barre de menu : toujours bien sombre, même au-dessus des zones claires ---------- */
.nav.is-scrolled { background: rgba(11, 14, 25, .96); }
.nav__links a { color: #d6d9e4; }

/* ---------- Haut de page : textes posés sur l'illustration, détachés par une ombre douce ---------- */
.hero__lede,
.hero__meta {
  text-shadow: 0 1px 2px rgba(5, 7, 15, .9), 0 0 18px rgba(5, 7, 15, .85), 0 0 36px rgba(5, 7, 15, .6);
}
.hero__meta dt { color: #f4dfac; }

/* ---------- Château (texte sur l'illustration) : fond plus sombre, texte plein ---------- */
.venue__frame::after {
  background: linear-gradient(0deg, rgba(11, 14, 25, .97) 0%, rgba(11, 14, 25, .86) 38%, rgba(11, 14, 25, 0) 74%);
}
.venue__text { opacity: 1; color: #f3ece0; }

/* Case à cocher sur fond clair : vide = fond blanc et bord foncé bien visible ; cochée = or foncé. */
:is(.manifesto, .awards, .evening, .tickets, .faq, .alert, .jeux-cta, body.page-claire) .check input {
  accent-color: #553a0a;
}
