/* ==========================================================================
   Billetterie page — template-billetterie.php.
   Loaded only on that template (see functions.php), after main.css.
   Values follow html/billetrie.html; --ac is the per-item accent.
   ========================================================================== */

/* ---- Shared -------------------------------------------------------------- */

/* Visually hidden but read aloud. The theme has no sr-only utility of its own,
   so this stays scoped to the page rather than claiming a global class name. */
.bl-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.bl-hero-section,
.bl-video-section,
.bl-offers-section,
.bl-help-section,
.bl-stats-section,
.bl-testi-section,
.bl-faq-section,
.bl-recall-section,
.bl-cta-section {
  background: #111;
}

.bl-video-section {
  padding: clamp(28px, 3.4vw, 56px) clamp(20px, 4vw, 60px) clamp(36px, 4.4vw, 72px);
}

.bl-offers-section {
  padding: clamp(44px, 5.5vw, 96px) clamp(20px, 4vw, 60px);
}

.bl-help-section {
  padding: clamp(44px, 5.5vw, 96px) clamp(20px, 4vw, 60px) clamp(32px, 4vw, 56px);
}

.bl-stats-section {
  padding: 0 clamp(20px, 4vw, 60px) clamp(32px, 4vw, 56px);
}

.bl-testi-section {
  padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 60px);
}

.bl-faq-section {
  padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 60px) clamp(44px, 5.5vw, 96px);
}

/* section heading: title left, mention/link right, thick green rule under */
.bl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  padding-bottom: clamp(16px, 2vw, 26px);
  margin-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 8px solid #c3ff74;
}

.bl-head-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 70px);
  line-height: 0.92;
  letter-spacing: -2.8px;
  text-transform: uppercase;
  color: #fff;
}

.bl-head-note,
.bl-head-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #575757;
}

.bl-head-link {
  color: #c3ff74;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bl-head-link:hover {
  color: #fff;
}

/* shared button — hover is the mockup's blue */
.bl-send {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: #c3ff74;
  color: #111;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.bl-send svg {
  flex: none;
}

.bl-send--dark {
  background: #111;
  color: #c3ff74;
  gap: 10px;
  padding: 16px 28px;
  font-size: 18px;
  letter-spacing: normal;
}

.bl-send:hover,
.bl-send--dark:hover {
  background: #0082fe;
  color: #fff;
}

/* ---- Hero ---------------------------------------------------------------- */
.bl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
}

.bl-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 30px);
  padding: clamp(40px, 5.5vw, 104px) clamp(20px, 4vw, 60px);
}

.bl-hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #c3ff74;
}

.bl-hero-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(38px, 7.4vw, 116px);
  line-height: 0.84;
  letter-spacing: -4.5px;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  color: #fff;
}

/* only the hero button hugs the left edge; elsewhere it follows the row's
   own alignment (the reminder band bottom-aligns it with the title) */
.bl-hero-cta {
  align-self: flex-start;
}

.bl-hero-lead {
  margin: 0;
  max-width: 480px;
  font-size: 19px;
  font-weight: 500;
  line-height: 155%;
  color: #c9c9c9;
}

.bl-hero-media {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.bl-hero-shot {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: #161616;
}

.bl-hero-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bl-hero-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: clamp(18px, 2.2vw, 30px);
  background: #c3ff74;
}

.bl-hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(60px, 7.4vw, 120px);
  line-height: 0.86;
  letter-spacing: -4px;
  color: #111;
}

.bl-hero-stat-lbl {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #1d2122;
}

/* ---- Trailer ------------------------------------------------------------- */
.bl-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #161616;
  border: 1px solid #575757;
}

.bl-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Offers -------------------------------------------------------------- */

/* Scroll target for #billetterie. The header is sticky, so the jump has to
   clear it — otherwise the first row of cards lands underneath. main.js keeps
   --header-h in sync with the real header height. */
.bl-anchor {
  display: block;
  scroll-margin-top: calc(var(--header-h, 64px) + 12px);
}

.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.bl-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 2.8vw, 38px);
  background: #161616;
  border: 1px solid #575757;
  border-top: 8px solid var(--ac, #c3ff74);
  color: #fff;
  transition:
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* Highlighted offer — solid green fill, dark ink. The accent flips to #111 so
   the price, rule and button all follow without further overrides. */
.bl-card.is-featured {
  background: var(--fill, #c3ff74);
  border-color: var(--fill, #c3ff74);
  border-top-color: var(--ac);
  color: #111;
}

.bl-card:hover {
  transform: translateY(-6px);
  border-color: var(--ac, #c3ff74);
}

.bl-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.bl-card-id {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.bl-card-name {
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.04;
  letter-spacing: -0.9px;
}

.bl-card-sub {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.62;
}

.bl-card-badge {
  flex: none;
  padding: 5px 10px;
  background: var(--ac, #c3ff74);
  color: #111;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bl-card.is-featured .bl-card-badge {
  color: var(--fill, #c3ff74);
}

.bl-card-price {
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: -2px;
  color: var(--ac, #c3ff74);
}

.bl-card-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bl-card-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
  font-weight: 500;
  line-height: 150%;
}

.bl-card.is-featured .bl-card-item {
  border-top-color: rgba(0, 0, 0, 0.16);
}

.bl-card-mark {
  color: var(--ac, #c3ff74);
}

/* On a highlighted card the design draws the tick in the fill colour, which
   reads as a subtle emboss on the green rather than a hard dark mark. */
.bl-card.is-featured .bl-card-mark {
  color: var(--fill, #c3ff74);
  filter: brightness(0.72);
}

.bl-card-item.is-out {
  opacity: 0.45;
}

.bl-card-item.is-out .bl-card-mark {
  color: #8a8a8a;
}

.bl-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border: 1px solid var(--ac, #c3ff74);
  color: var(--ac, #c3ff74);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.bl-btn svg {
  flex: none;
}

.bl-card.is-featured .bl-btn {
  background: var(--ac);
  color: var(--fill, #c3ff74);
}

.bl-card:hover .bl-btn {
  background: var(--ac, #c3ff74);
  color: #111;
}

.bl-card.is-featured:hover .bl-btn {
  color: var(--fill, #c3ff74);
}

/* ---- Which ticket (guide cards) ------------------------------------------ */
.bl-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.bl-guide {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px);
  background: #161616;
  border: 1px solid #575757;
  border-left: 8px solid var(--ac, #c3ff74);
  transition:
    border-color 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.bl-guide:hover {
  transform: translateY(-4px);
  border-color: var(--ac, #c3ff74);
}

.bl-guide-situation {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ac, #c3ff74);
}

.bl-guide-offer {
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.06;
  letter-spacing: -0.7px;
  color: #fff;
}

.bl-guide-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  color: #8a8a8a;
}

/* ---- Key figures --------------------------------------------------------- */
.bl-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 36px);
}

.bl-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: clamp(14px, 1.8vw, 22px);
  border-top: 8px solid var(--ac, #c3ff74);
}

.bl-stat-num {
  font-weight: 500;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -2.4px;
  color: #fff;
}

.bl-stat-lbl {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8a8a8a;
}

/* ---- Testimonials (marquee) ---------------------------------------------- */
.bl-marquee {
  overflow: hidden;
}

.bl-track {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2vw, 26px);
  width: max-content;
  animation: bl-scroll 110s linear infinite;
}

.bl-track-clone {
  display: flex;
  align-items: stretch;
  gap: clamp(16px, 2vw, 26px);
}

.bl-marquee:hover .bl-track {
  animation-play-state: paused;
}

@keyframes bl-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.bl-testi {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 clamp(300px, 26vw, 400px);
  margin: 0;
  padding: clamp(22px, 2.6vw, 34px);
  background: #161616;
  border: 1px solid #575757;
  transition:
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 0.7, 0.2, 1);
}

.bl-testi:hover {
  transform: translateY(-6px);
  border-color: var(--ac, #c3ff74);
}

/* short accent rule above the quote */
.bl-testi-rule {
  width: 56px;
  height: 8px;
  background: var(--ac, #c3ff74);
}

.bl-testi-quote {
  flex: 1;
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.7px;
  color: #fff;
}

.bl-testi-by {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #333;
}

.bl-testi-by--nophoto {
  grid-template-columns: minmax(0, 1fr);
}

.bl-testi-photo {
  position: relative;
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: #111;
}

.bl-testi-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl-testi-id {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.bl-testi-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.bl-testi-role {
  font-size: 14px;
  font-weight: 500;
  line-height: 140%;
  color: #8a8a8a;
}

/* ---- FAQ ----------------------------------------------------------------- */
.bl-faq-list {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #575757;
}

.bl-faq {
  border-top: 1px solid #575757;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.bl-faq:hover {
  background: #161616;
  border-color: #8a8a8a;
}

.bl-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.16;
  letter-spacing: -0.7px;
  color: #fff;
  transition: color 0.3s ease;
}

.bl-faq-q::-webkit-details-marker {
  display: none;
}

.bl-plus {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid #c3ff74;
  color: #c3ff74;
  transition:
    transform 0.35s cubic-bezier(0.22, 0.7, 0.2, 1),
    color 0.25s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

/* the + is drawn rather than typed, so it stays crisp while the box rotates */
.bl-plus::before,
.bl-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.bl-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.bl-faq:hover .bl-plus {
  transform: rotate(90deg);
  color: #c3ff74;
}

.bl-faq[open] .bl-plus {
  background: #c3ff74;
  border-color: #c3ff74;
  color: #111;
}

.bl-faq-a {
  overflow: hidden;
  max-width: 900px;
}

.bl-faq-a p {
  margin: 0 0 12px;
  padding-bottom: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 165%;
  color: #c9c9c9;
}

.bl-faq-a p:first-child {
  margin-top: 0;
}

.bl-faq-a > :last-child {
  margin-bottom: clamp(18px, 2.2vw, 26px);
}

/* Rich-text extras now that the answer is a WYSIWYG field. */
.bl-faq-a ul,
.bl-faq-a ol {
  margin: 0 0 12px;
  padding-left: 1.3em;
  font-size: 17px;
  font-weight: 500;
  line-height: 165%;
  color: #c9c9c9;
}

.bl-faq-a ul {
  list-style: disc;
}

.bl-faq-a ol {
  list-style: decimal;
}

.bl-faq-a li {
  margin: 0 0 6px;
}

.bl-faq-a li::marker {
  color: #c3ff74;
}

.bl-faq-a a {
  color: #c3ff74;
  text-decoration: underline;
}

.bl-faq-a a:hover {
  color: #eaff66;
}

.bl-faq-a strong,
.bl-faq-a b {
  color: #fff;
}

/* ---- Reminder band ------------------------------------------------------- */
.bl-recall-section {
  padding: 0 clamp(20px, 4vw, 60px) clamp(44px, 5.5vw, 96px);
}

.bl-recall {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(28px, 3.4vw, 56px);
  background: #161616;
  border: 1px solid #575757;
  border-top: 8px solid #c3ff74;
}

.bl-recall-body {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 20px);
}

.bl-recall-eyebrow {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #c3ff74;
}

.bl-recall-title {
  margin: 0;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4.6vw, 70px);
  line-height: 0.92;
  letter-spacing: -2.8px;
  text-transform: uppercase;
  color: #fff;
}

/* ---- Closing CTA --------------------------------------------------------- */
.bl-cta-section {
  padding: 0 clamp(20px, 4vw, 30px) clamp(48px, 6vw, 90px);
}

.bl-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
  background: #c3ff74;
}

.bl-cta-text {
  max-width: 760px;
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  color: #111;
}

/* ---- Scroll reveal ------------------------------------------------------- */
.bl-reveal.js-armed {
  opacity: 0;
  transform: translateY(28px);
}

.bl-reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .bl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .bl-guide-grid,
  .bl-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .bl-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .bl-hero-media {
    grid-template-rows: none;
  }

  .bl-hero-shot {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .bl-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .bl-guide-grid,
  .bl-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .bl-testi {
    flex-basis: min(82vw, 340px);
  }
}

/* Phones. Button sizing is shared across every page in mobile.css — only the
   page-specific bits live here: the display titles need their tracking
   relaxed once they drop to their clamp minimum. */
@media (max-width: 520px) {
  .bl-send {
    gap: 10px;
  }

  .bl-hero-title {
    letter-spacing: -1.6px;
  }

  .bl-head-title,
  .bl-recall-title {
    letter-spacing: -1px;
  }

  .bl-hero-stat-num {
    letter-spacing: -2px;
  }

  .bl-stat-num {
    letter-spacing: -1.2px;
  }

  .bl-card-price {
    letter-spacing: -1px;
  }

  .bl-faq-q {
    gap: 14px;
  }

  /* let the badge drop below the name rather than squeezing the subtitle */
  .bl-card-head {
    flex-wrap: wrap;
  }

  .bl-card-id {
    flex: 1 1 100%;
  }
}

/* Reduced motion: stop the marquee and let it scroll by hand instead. */
@media (prefers-reduced-motion: reduce) {
  .bl-track {
    animation: none;
  }

  .bl-marquee {
    overflow-x: auto;
  }

  .bl-card,
  .bl-testi,
  .bl-guide,
  .bl-plus {
    transition: none;
  }
}
