/* CrossFit Volt — couleurs (refonte du 21 novembre 2026).
   Jaune = séance d’essai et HYROX ; bleu = repères, navigation et WOD.
   Le bleu est interprété depuis le logo, ce n’est pas une couleur officielle. */
:root {
  --anthracite: #151515;
  --navy: #142c40;
  --cream: #f2f0e9;
  --white: #fff;
  --blue: #176b9b;
  --blue-light: #78bce5;
  --yellow: #e8c530;
  --ink: #151515;
}

/* Trois surfaces seulement : anthracite, bleu nuit, clair. */
.theme-dark,
.theme-navy,
.header,
.footer {
  --text: var(--cream);
  --text-soft: #d6d3ca;
  --accent: var(--blue-light);
  --focus: var(--blue-light);
  --rule: rgba(242, 240, 233, 0.18);
}
.theme-light {
  --text: var(--ink);
  --text-soft: #33332f;
  --accent: var(--blue);
  --focus: var(--blue);
  --rule: #c9c5b8;
}
body,
.theme-dark,
.header,
.footer {
  background: var(--anthracite);
}
.theme-navy,
.header-band {
  background: var(--navy);
}
.theme-light {
  background: var(--cream);
}
body,
.theme-dark,
.theme-navy,
.theme-light,
.header,
.footer {
  color: var(--text);
}
.eyebrow,
.rubric-number,
.step-number,
.intro-text .accent {
  color: var(--accent);
}
.hero-lead,
.rubric-copy,
.intro-text,
.method-note,
.steps p,
.contact-inner > p {
  color: var(--text-soft);
}
.intro-text strong:not(.accent),
.method-goal {
  color: var(--text);
}
.intro-highlight {
  color: var(--text);
  border-color: var(--blue);
}
.intro-welcome,
.qualities-list li,
.extras-list li,
.schedule-note {
  border-color: var(--rule);
}
.steps li {
  border-color: var(--text);
}
.qualities-list li::before {
  background: var(--accent);
}

/* En-tête */
.header-band-inner > p {
  color: var(--text-soft);
}
#navigation a,
.menu-button {
  color: var(--cream);
}
#navigation a:hover,
.back-top:hover {
  color: var(--yellow);
}
#navigation a {
  border-color: #2e2e2e;
}
.footer {
  border-top: 1px solid #2e2e2e;
}
.footer-inner {
  color: #b9b6ac;
}
.page-back:hover,
.footer-small a:hover {
  color: var(--yellow);
}
.page-content p,
.page-content li {
  color: var(--text-soft);
}
.a-completer {
  background: var(--yellow);
  color: var(--ink);
}

/* Boutons : jaune pour l’essai, bleus pour l’information */
.button-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.button-yellow:hover {
  background: #f0d45f;
}
.button-sky {
  background: var(--blue-light);
  color: var(--ink);
}
.button-sky:hover {
  background: #9bcdec;
}
.button-blue {
  background: var(--blue);
  color: var(--white);
}
.button-blue:hover {
  background: #1d7db3;
}
.skip:focus {
  background: var(--yellow);
  color: var(--ink);
}

/* Offre de lancement : bleu nuit et jaune, comme la bande de l’en-tête */
.tag-yellow {
  background: var(--yellow);
  color: var(--ink);
}
.tag-sky {
  background: var(--blue-light);
  color: var(--ink);
}
.hero-launch {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--yellow);
}
.hero-launch-offer {
  border-color: var(--rule);
}
.hero-launch-offer strong,
.hero-launch:hover .hero-launch-more,
.launch-surprise strong {
  color: var(--yellow);
}
.launch-discovery {
  background: var(--white);
}
.launch-tag,
.launch-price strong {
  color: var(--blue);
}
.launch-dates,
.launch-price span {
  color: #4a4a46;
}
.launch-lead,
.launch-list span {
  color: var(--text-soft);
}
.launch-list li::before {
  background: var(--yellow);
}
.launch-list li::after {
  border-color: var(--ink);
}

/* Tarifs */
.plan {
  background: var(--white);
}
.plan-price strong {
  color: var(--blue);
}
.plan-price,
.extra-detail {
  color: #4a4a46;
}
.extra-price {
  color: var(--blue);
}

/* Planning : grille de la semaine, un jour à la fois sur téléphone. */
.volt-schedule {
  --muted: #b6c1ca;
}
.schedule-week {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}
.schedule-day {
  min-width: 0;
}
/* Every day lists the same time slots with a fixed height, so rows line up across the week. */
.schedule-day h3 {
  height: 34px;
  margin: 0;
  font-family: DM, Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: none;
}
.schedule-times {
  display: none;
}
.schedule-day ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}
.session,
.session-none {
  box-sizing: border-box;
  height: 62px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: space-between;
  column-gap: 6px;
}
/* WOD : teinte du bleu clair ; HYROX : teinte du jaune. */
.session {
  background: #182a37;
  border-left: 3px solid var(--blue-light);
}
.session-hyrox {
  background: #2b2815;
  border-left-color: var(--yellow);
}
.session-hyrox strong {
  color: var(--cream);
}
.session-none {
  background: #1f1f1f;
  border-left: 3px solid transparent;
  color: var(--muted);
}
.slot-break {
  margin-top: 12px;
}
.session > span,
.session-none > span {
  grid-column: 1 / -1;
  font-size: 0.6875rem;
  white-space: nowrap;
  color: #d1dae0;
  font-variant-numeric: tabular-nums;
}
.session time:first-child {
  color: var(--cream);
  font-weight: 600;
}
.session strong {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.session-places {
  align-self: end;
  font-size: 0.6875rem;
  color: var(--cream);
  white-space: nowrap;
}
/* Empty slots are blank boxes on every screen; their text stays for screen readers. */
.session-none small,
.session-none > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.schedule-note {
  color: var(--muted);
}
.schedule-days {
  display: none;
}
/* Wide screens: one time column on the left; cells keep their times for screen readers. */
@media (min-width: 1101px) {
  .schedule-week {
    padding-left: 76px;
  }
  .schedule-times {
    position: absolute;
    top: 34px;
    left: 0;
    width: 64px;
    display: grid;
    gap: 6px;
  }
  .schedule-times li {
    height: 62px;
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cream);
    font-variant-numeric: tabular-nums;
  }
  .session,
  .session-none {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
  }
  .session > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .session-places {
    align-self: auto;
  }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .schedule-week {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 14px;
  }
}
@media (max-width: 700px) {
  .volt-schedule.is-enhanced .schedule-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    margin-top: 20px;
  }
  .schedule-days button {
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    border-bottom: 2px solid #454545;
    background: transparent;
    color: var(--cream);
    font-size: 0.75rem;
  }
  .schedule-days button[aria-pressed='true'] {
    background: var(--blue-light);
    color: var(--ink);
    border-color: var(--blue-light);
    font-weight: 600;
  }
  .schedule-days button:hover {
    background: #28485f;
  }
  .schedule-days button[aria-pressed='true']:hover {
    background: var(--blue-light);
  }
  .schedule-week {
    grid-template-columns: 1fr;
    margin-top: 20px;
    gap: 24px;
  }
  .volt-schedule.is-enhanced .schedule-day:not(.is-selected) {
    display: none;
  }
  /* Same logic as wide screens: start time on the left, blank box for empty slots. */
  .session,
  .session-none {
    display: grid;
    grid-template-columns: 4.6em minmax(0, 1fr) auto;
    grid-template-rows: minmax(54px, auto);
    align-content: stretch;
    align-items: center;
    height: auto;
    padding: 0;
    background: none;
    border: 0;
  }
  .session::before,
  .session-none::before {
    content: '';
    grid-column: 2 / 4;
    grid-row: 1;
    align-self: stretch;
    background: #182a37;
    border-left: 3px solid var(--blue-light);
  }
  .session-hyrox::before {
    background: #2b2815;
    border-left-color: var(--yellow);
  }
  .session-none::before {
    background: #1f1f1f;
    border-left-color: transparent;
  }
  .slot-break {
    margin-top: 10px;
  }
  .session > span,
  .session-none > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    grid-column: 1;
    grid-row: 1;
    font-size: 0;
  }
  .session time:first-child,
  .session-none time:first-child {
    font-size: 0.8125rem;
    color: var(--cream);
  }
  .session time:last-child,
  .session-none time:last-child {
    display: none;
  }
  .session strong {
    grid-column: 2;
    grid-row: 1;
    padding-left: 16px;
    font-size: 1rem;
  }
  .session-places {
    grid-column: 3;
    grid-row: 1;
    padding-right: 14px;
    font-size: 0.75rem;
    align-self: center;
  }
  .schedule-note {
    font-size: 0.8125rem;
  }
}
