/* BQ Réservations — page Réserver : bandeau « À l'affiche » et liste des expériences.
 * La liste reprend les classes du thème et du raccord (reserve-experiences, bqrr-offer-*) :
 * seuls le bandeau et quelques détails sont définis ici. Polices et couleurs du site. */

/* La page d'origine (en-tête et liste React) est masquée seulement quand la nouvelle page est montée. */
.reserve--page.bqc-on > .reserve-experiences:not(.bqc-list) { display: none !important; }
.reserve--page.bqc-has-banner > .reserve-heading { display: none !important; }

/* ---------------- Bandeau ---------------- */
.bqc-banner {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 520px;
  max-height: calc(100vh - 24px);
  overflow: hidden;
  background: #47483f;
  color: #f8f5ef;
}
.bqc-banner-media, .bqc-banner-copy { grid-area: 1 / 1; }
.bqc-banner-media { position: relative; min-height: 0; }
.bqc-banner-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  object-position: var(--bqc-focus, 50% 50%);
}
.bqc-banner-copy {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  /* Marge gauche généreuse : la languette du logo, fixe en haut à gauche, ne doit jamais recouvrir le texte. */
  padding: clamp(72px, 8vw, 140px) 8vw clamp(56px, 7vw, 110px) max(8vw, 176px);
  max-width: min(760px, 62%);
}
.bqc-banner.is-center .bqc-banner-copy { justify-self: center; align-items: center; text-align: center; max-width: min(900px, 80%); padding-left: 8vw; }
.bqc-banner.is-right .bqc-banner-copy { justify-self: end; }
.bqc-banner.is-top .bqc-banner-copy { align-self: start; }
.bqc-banner.is-middle .bqc-banner-copy { align-self: center; }
.bqc-banner.is-bottom .bqc-banner-copy { align-self: end; }
.bqc-banner.is-light { color: #f8f5ef; }
.bqc-banner.is-dark { color: #292621; }

.bqc-banner .bqc-kicker {
  margin: 0 0 28px;
  text-wrap: balance; /* sur deux lignes, des lignes de longueur équilibrée plutôt qu'un mot seul en dessous */
  font: 500 15px/1.5 'Minion Variable', Georgia, serif;
  letter-spacing: .08em;
  text-transform: uppercase; font-variant-caps: all-small-caps; }
.bqc-banner .bqc-title {
  margin: 0;
  font: 700 clamp(48px, 6.2vw, 104px)/.94 'Minion Variable', Georgia, serif;
  letter-spacing: -.035em;
  color: inherit;
}
.bqc-banner .bqc-title em { font-style: normal; color: #da322c; }
.bqc-banner.is-dark .bqc-title em { color: #b52a24; }
.bqc-banner .bqc-text {
  margin: 30px 0 0;
  max-width: 30em;
  font-size: 21px;
  line-height: 1.5;
}
.bqc-banner .bqc-button {
  margin-top: 44px;
  min-width: 300px; height: 58px; padding: 0 22px;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid currentColor;
  color: inherit; background: transparent; text-decoration: none;
  font: 500 15px/1 'Minion Variable', Georgia, serif; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .2s, color .2s; font-variant-caps: all-small-caps; }
.bqc-banner.is-light .bqc-button:hover, .bqc-banner.is-light .bqc-button:focus-visible { background: #f8f5ef; color: #292621; }
.bqc-banner.is-dark .bqc-button:hover, .bqc-banner.is-dark .bqc-button:focus-visible { background: #292621; color: #f8f5ef; }
.bqc-banner .bqc-button:focus-visible { outline: 2px solid #b52a24; outline-offset: 4px; }

/* Voile facultatif (0.3.16) : dégradé sombre du côté du texte, pour un texte clair sur une photo chargée. */
.bqc-banner.has-shade .bqc-banner-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(24, 22, 18, .38); }
.bqc-banner.has-shade.is-top .bqc-banner-media::after { background: linear-gradient(180deg, rgba(24, 22, 18, .62) 0%, rgba(24, 22, 18, .38) 45%, rgba(24, 22, 18, 0) 75%); }
.bqc-banner.has-shade.is-bottom .bqc-banner-media::after { background: linear-gradient(0deg, rgba(24, 22, 18, .62) 0%, rgba(24, 22, 18, .38) 45%, rgba(24, 22, 18, 0) 75%); }
.bqc-banner.has-shade.is-middle.is-left .bqc-banner-media::after { background: linear-gradient(90deg, rgba(24, 22, 18, .62) 0%, rgba(24, 22, 18, .38) 45%, rgba(24, 22, 18, 0) 75%); }
.bqc-banner.has-shade.is-middle.is-right .bqc-banner-media::after { background: linear-gradient(270deg, rgba(24, 22, 18, .62) 0%, rgba(24, 22, 18, .38) 45%, rgba(24, 22, 18, 0) 75%); }

/* Téléphone : la photo est recadrée sur son sujet, le texte passe dessous sur le fond anthracite du site. */
@media (max-width: 760px) {
  .bqc-banner { display: block; aspect-ratio: auto; min-height: 0; max-height: none; color: #f8f5ef; }
  .bqc-banner.is-dark { color: #f8f5ef; }
  .bqc-banner.has-shade .bqc-banner-media::after { display: none; }
  .bqc-banner-media { aspect-ratio: 1 / 1; }
  .bqc-banner-media img { object-position: var(--bqc-focus-m, 50% 50%); }
  .bqc-banner-copy,
  .bqc-banner.is-center .bqc-banner-copy { max-width: none; align-items: flex-start; text-align: left; padding: 40px 20px 48px; }
  .bqc-banner .bqc-kicker { margin-bottom: 20px; }
  .bqc-banner .bqc-title { font-size: clamp(44px, 13vw, 58px); }
  .bqc-banner .bqc-title em, .bqc-banner.is-dark .bqc-title em { color: #da322c; }
  .bqc-banner .bqc-text { margin-top: 22px; font-size: 18px; }
  .bqc-banner .bqc-button { width: 100%; min-width: 0; margin-top: 32px; }
  .bqc-banner.is-dark .bqc-button:hover, .bqc-banner.is-dark .bqc-button:focus-visible { background: #f8f5ef; color: #292621; }
}

/* ---------------- Liste ---------------- */
.bqc-list .bqc-intro {
  max-width: 1120px; margin: 0 auto 8px;
  font: 500 15px/1.5 'Minion Variable', Georgia, serif; letter-spacing: .08em; text-transform: uppercase; font-variant-caps: all-small-caps; }
.bqc-list > .bqc-exp { scroll-margin-top: 90px; }
.bqc-list .bqc-when {
  margin: 0 0 6px;
  font: 700 clamp(26px, 2.4vw, 34px)/1.15 'Minion Variable', Georgia, serif;
  letter-spacing: -.015em;
}
.bqc-list .bqc-left { margin: 2px 0 10px; font: 500 15px/1.5 'Minion Variable', Georgia, serif; letter-spacing: .08em; text-transform: uppercase; color: #b52a24; font-variant-caps: all-small-caps; }
.bqc-list .bqc-price { margin: 0 0 4px; max-width: 560px; font-size: 19px; line-height: 1.5; }
.bqc-list .bqc-choose { margin-top: 32px; font: 500 15px/1.4 'Minion Variable', Georgia, serif; letter-spacing: .08em; text-transform: uppercase; font-variant-caps: all-small-caps; }
.bqc-list .bqc-choose span { font: inherit; letter-spacing: inherit; }
/* Les noms d'événements sont plus longs qu'« Discovery » : titre un cran plus petit. */
.bqc-list > .bqc-exp.is-event .bqrr-offer-title > h2 { font-size: clamp(44px, 4.8vw, 72px); }
.bqc-list .bqc-choose[aria-expanded="true"] span[aria-hidden] { transform: rotate(90deg); }
.bqc-list .bqc-choose span[aria-hidden] { transition: transform .2s; }
.bqc-list .bqc-cal { margin-top: 44px; }
.bqc-list .bqc-status { margin: 0 auto 40px; max-width: 1120px; }
.bqc-list > .reserve-experience--upcoming .bqrr-offer-details { display: none; }

/* Indications réservées aux administrateurs (aperçu, éléments à compléter). */
.bqc-admin {
  max-width: 1120px; margin: 0 auto 20px; padding: 10px 14px;
  border-left: 3px solid #b52a24; background: #fff3cd; color: #5c4400;
  font: 15px/1.5 'Minion Variable', Georgia, serif;
}
.bqc-admin a { color: inherit; text-decoration: underline; }
.bqc-admin-page { margin: 0; max-width: none; padding: 10px 200px; text-align: center; border-left: 0; }
@media (max-width: 760px) { .bqc-admin-page { padding: 64px 20px 10px; } }

@media (max-width: 760px) {
  .bqc-list .bqc-intro { margin-bottom: 0; }
  .bqc-list .bqc-choose { width: 100%; }
  .bqc-list .bqc-cal { margin-top: 32px; }
}

/* Bouton « Choisir cette expérience » : plein, couleurs du site (encre → rouge au survol, texte crème). */
.bqc-list .bqc-choose {
  background: #292621;
  border: 1px solid #292621;
  color: #f8f5ef;
  transition: background-color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.bqc-list .bqc-choose:hover,
.bqc-list .bqc-choose:focus-visible,
.bqc-list .bqc-choose[aria-expanded="true"] {
  background: #b52a24;
  border-color: #b52a24;
  color: #f8f5ef;
}
.bqc-list .bqc-choose:focus-visible { outline: 2px solid #292621; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .bqc-list .bqc-choose { transition: none; } }

/* Compteur des événements datés, réservé à l'équipe connectée (0.3.25). */
.bqc-counter { margin: 18px 0 6px; padding: 14px 16px; border: 1px dashed #b52a24; border-radius: 0; background: #fbf7f1; font-family: 'Minion Variable', Georgia, serif; color: #292621; }
.bqc-counter-head { margin: 0 0 8px; font-size: 15px; }
.bqc-counter-head strong { font-size: 20px; color: #b52a24; }
.bqc-counter-head span { font-size: 12px; color: #6b645a; }
.bqc-counter-bar { height: 8px; border-radius: 0; background: #e5e1d9; overflow: hidden; }
.bqc-counter-bar span { display: block; height: 100%; background: #b52a24; }
.bqc-counter-text { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #6b645a; }
/* 0.3.27 — Le texte des boutons hérite des petites capitales (le thème met ses span en Arial). */
.bqc-banner .bqc-button span, .bqc-banner .bqc-button b { font: inherit; letter-spacing: inherit; }

/* 0.3.32 — Logo de l'événement : tampon sur le bandeau, petit au-dessus du titre de la carte. */
.bqc-banner .bqc-seal {
  position: absolute; z-index: 3; top: auto; left: auto; right: 56px; bottom: 56px;
  object-fit: contain;
  width: clamp(140px, 13vw, 190px); height: auto; max-width: none;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .3));
  pointer-events: none;
}
.bqc-exp .bqc-seal-card { display: block; width: 120px; height: auto; max-width: 100%; margin: 0 0 18px; }
@media (max-width: 760px) {
  /* À cheval entre la photo et le texte, en bas à droite : le bouton « Réserver » reste visible. */
  .bqc-banner .bqc-seal { right: 18px; bottom: -14px; width: 112px; }
  .bqc-exp .bqc-seal-card { width: 96px; }
}
/* La description des cartes est un texte, pas un petit titre : même style que le prix. */
#bq-root .bqrr-offers .bqrr-offer-head > p.bqrr-offer-description {
  font-family: 'Minion Variable', Georgia, serif; font-size: 19px; line-height: 1.5; font-weight: 400;
  letter-spacing: 0; font-variant-caps: normal; font-feature-settings: normal; text-transform: none; color: #292621;
}
@media (max-width: 760px) { #bq-root .bqrr-offers .bqrr-offer-head > p.bqrr-offer-description { font-size: 18px; } }
