/* Aperçu type billetterie Fever — pages locales */
:root {
  --bf-purple: #6200ee;
  --bf-purple-hover: #5000c9;
  --bf-text: #1a1a1a;
  --bf-muted: #5f6368;
  --bf-border: #e8eaed;
  --bf-bg: #fafafa;
  --bf-max: 680px;
}

.page-billet-fever {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--bf-text);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page-billet-fever * {
  box-sizing: border-box;
}

.bf-skip {
  position: absolute;
  left: -9999px;
}
.bf-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #fff;
  outline: 2px solid var(--bf-purple);
}

.bf-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--bf-border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.bf-topbar a {
  color: var(--bf-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.bf-topbar a:hover {
  color: var(--bf-purple);
}
.bf-topbar__brand {
  font-weight: 700;
  color: var(--bf-text) !important;
  margin-right: auto;
}

.bf-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 2rem 1.25rem;
  background: #111 center / cover no-repeat;
  color: #fff;
}
.bf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}
.bf-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
.bf-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.bf-hero__sub {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
  font-weight: 400;
}

.bf-hero--pay {
  min-height: 240px;
}

.bf-hero__visit {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  opacity: 0.98;
  line-height: 1.55;
  font-weight: 400;
}

.bf-hero__visit strong {
  font-weight: 600;
}

.bf-hero__back {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.95;
}

.bf-hero__back:hover {
  opacity: 1;
  color: #fff;
}

.bf-wrap {
  max-width: var(--bf-max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.bf-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--bf-muted);
}
.bf-rating strong {
  color: var(--bf-text);
}

.bf-lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.bf-section-title {
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.bf-infos {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.bf-infos li {
  margin-bottom: 0.65rem;
  padding-left: 0;
  font-size: 0.9375rem;
}

.bf-divider {
  height: 1px;
  background: var(--bf-border);
  margin: 2rem 0;
  border: 0;
}

.bf-tickets-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.bf-ticket-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bf-ticket {
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: var(--bf-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bf-ticket:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(98, 0, 238, 0.08);
}
.bf-ticket h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.bf-ticket p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--bf-muted);
}

.bf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff !important;
  text-decoration: none;
  background: var(--bf-purple);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
}
.bf-cta:hover {
  background: var(--bf-purple-hover);
  color: #fff !important;
}
.bf-cta svg {
  flex-shrink: 0;
}

.bf-form {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  background: #fff;
}
.bf-form label {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.bf-form label:first-of-type {
  margin-top: 0;
}
.bf-form input,
.bf-form select {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  border: 1px solid var(--bf-border);
  border-radius: 8px;
}
.bf-form input:focus,
.bf-form select:focus {
  outline: 2px solid var(--bf-purple);
  outline-offset: 1px;
}
.bf-form .bf-cta {
  margin-top: 1.25rem;
  width: 100%;
}

.bf-note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--bf-muted);
}

.bf-merci {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: #e8f5e9;
  border-radius: 8px;
  font-size: 0.875rem;
}
.bf-merci.is-on {
  display: block;
}

.bf-map {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--bf-bg);
  border-radius: 12px;
  font-size: 0.9rem;
}
.bf-map strong {
  display: block;
  margin-bottom: 0.25rem;
}

/* Grille type Fever : ligne tarif + stepper */
.bf-ticket-rows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bf-ticket-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bf-ticket-row.is-selected {
  border-color: var(--bf-purple);
  box-shadow: 0 0 0 1px var(--bf-purple);
}

.bf-ticket-row__left {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.bf-ticket-row__left h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--bf-text);
  line-height: 1.3;
}

.bf-ticket-more {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bf-purple);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bf-ticket-more:hover {
  color: var(--bf-purple-hover);
}

.bf-ticket-detail {
  margin: 0;
  font-size: 0.75rem;
  color: var(--bf-muted);
  line-height: 1.45;
  max-width: 100%;
}

.bf-ticket-detail.is-collapsed {
  display: none;
}

.bf-ticket-price {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bf-text);
}

.bf-ticket-row__sep {
  width: 0;
  flex-shrink: 0;
  border-left: 2px dotted #cfd3dc;
  margin: 0.65rem 0;
  align-self: stretch;
}

.bf-ticket-row__qty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  min-width: 118px;
  flex-shrink: 0;
  background: #fafafa;
  transition: background 0.15s;
}

.bf-ticket-row.is-selected .bf-ticket-row__qty {
  background: rgba(98, 0, 238, 0.1);
}

.bf-stepper {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #dadce0;
  background: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #5f6368;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bf-stepper:hover:not(:disabled) {
  border-color: var(--bf-purple);
  color: var(--bf-purple);
}

.bf-stepper:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.bf-stepper--plus {
  background: var(--bf-purple);
  border-color: var(--bf-purple);
  color: #fff;
}

.bf-stepper--plus:hover:not(:disabled) {
  background: var(--bf-purple-hover);
  border-color: var(--bf-purple-hover);
  color: #fff;
}

.bf-stepper-val {
  min-width: 1.25rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bf-text);
}

.bf-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--bf-bg);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.bf-total-bar span:last-child {
  font-size: 1.05rem;
  color: var(--bf-text);
}

.bf-hidden {
  display: none !important;
}

.bf-payment-panel {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  background: #fff;
}

.bf-payment-panel h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.bf-card-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .bf-card-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.bf-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.bf-field input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  font: inherit;
  border: 1px solid var(--bf-border);
  border-radius: 8px;
  box-sizing: border-box;
}

.bf-field input:focus {
  outline: 2px solid var(--bf-purple);
  outline-offset: 1px;
}

.bf-verification-host {
  margin-top: 1.25rem;
  border: 1px solid var(--bf-border);
  border-radius: 12px;
  background: #fafafa;
  min-height: 80px;
}

.bf-error-msg {
  color: #c0392b;
  font-size: 0.8125rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .bf-hero {
    min-height: 280px;
    padding: 2.5rem 2rem;
  }
  .bf-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
