/* ============================================================
   Festa de Halloween 2026 — tokens em ../design-tokens.md
   ATENÇÃO: nenhuma transition CSS para motion perceptível.
   As transitions declaradas nos :hover são lidas pelo morph() do fx.js
   e executadas em WAAPI (no Windows do revisor o Chrome encurta transition).
   ============================================================ */
:root {
  --night: #0b0908;
  --night-2: #15110e;
  --night-3: #211a15;
  --line: rgba(239, 230, 214, 0.12);
  --line-strong: rgba(239, 230, 214, 0.24);
  --bone: #efe6d6;
  --bone-dim: #a89f91;
  --bone-faint: #6f675d;
  --pumpkin: #ff6b1a;
  --pumpkin-deep: #c64a0b;
  --ember: #ffb347;
  --moss: #9ccf6a;
  --blood: #e0412f;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1160px;
  --gutter: 16px;
  --header-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--night);
  color: var(--bone);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Grão de papel por cima de tudo: camada fixa e estática (não repinta na rolagem) */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: 0.07; will-change: transform;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; color: var(--bone); }
[hidden] { display: none !important; }
::selection { background: var(--pumpkin); color: var(--night); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font-weight: 800; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease), border-color .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-fire { background: var(--pumpkin); color: var(--night); }
.btn-fire:hover { background: var(--ember); }
.btn-fire:active { transform: scale(0.97); }
.btn-fire:disabled { background: var(--night-3); color: var(--bone-faint); cursor: not-allowed; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--bone-dim); }
.btn-ghost:hover { border-color: var(--bone-dim); color: var(--bone); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; color: var(--bone-dim);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.icon-btn:hover { background: var(--night-3); color: var(--bone); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--header-h);
  background: rgba(11, 9, 8, 0.82);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(11, 9, 8, 0.66); backdrop-filter: blur(10px); }
}
/* Fio de leitura: a chama corre sob o header conforme a página é lida */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--pumpkin);
  transform: scaleX(var(--read, 0)); transform-origin: left; pointer-events: none;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; color: var(--pumpkin); }
.brand-name { display: block; font-family: 'Creepster', cursive; font-size: 24px; letter-spacing: 0.06em; color: var(--pumpkin); line-height: 1; }
.brand-date { display: block; font-size: 11px; font-weight: 600; color: var(--bone-dim); margin-top: 3px; line-height: 1; }
@media (max-width: 520px) { .hide-sm { display: none; } .header-cta { width: 44px; padding: 0; } }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--header-h) + 36px) 0 clamp(150px, 16vw, 200px);
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(198, 74, 11, 0.20), transparent 60%),
    repeating-linear-gradient(90deg, #120e0c 0 2px, #0f0c0a 2px 118px, #0d0a09 118px 120px),
    var(--night);
}
.hero-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-scene svg { position: absolute; overflow: visible; }

/* Escuridão com o buraco da lanterna: camada única que só se move por transform */
.hero-dark {
  position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none;
  display: none; will-change: transform;
  background: radial-gradient(circle at 50% 50%,
    rgba(255, 170, 80, 0.10) 0, rgba(255, 150, 60, 0.04) 110px, rgba(11, 9, 8, 0.25) 170px,
    rgba(11, 9, 8, 0.72) 250px, rgba(11, 9, 8, 0.93) 330px, rgba(11, 9, 8, 0.975) 420px);
}
html.js .hero-dark { display: block; }

.hero-content { position: relative; z-index: 2; text-align: center; will-change: transform, opacity; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; margin-bottom: 28px;
  border: 1px solid var(--line-strong); background: rgba(11, 9, 8, 0.6);
  font-size: 13px; font-weight: 600; color: var(--bone);
}
.flame-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pumpkin); }
.hero-title {
  font-family: 'Creepster', cursive; font-weight: 400;
  font-size: clamp(64px, 11.5vw, 150px); line-height: 0.9; letter-spacing: 0.04em;
  color: var(--bone); margin: 0 auto 26px; max-width: 12ch;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.55);
}
.hero-title-fire { color: var(--pumpkin); display: inline-block; }
.hero-lead { max-width: 620px; margin: 0 auto 36px; font-size: clamp(16px, 1.6vw, 18px); color: var(--bone-dim); }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.fact {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 12px 18px; border-radius: 12px;
  background: rgba(21, 17, 14, 0.82); border: 1px solid var(--line);
}
.fact .ic { width: 22px; height: 22px; color: var(--pumpkin); }
.fact-label { font-size: 12px; font-weight: 600; color: var(--bone-dim); line-height: 1.3; }
.fact-value { font-size: 15px; font-weight: 800; line-height: 1.3; }

.hero-ground { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: clamp(120px, 18vw, 200px); pointer-events: none; }
.hero-ground svg { width: 100%; height: 100%; }

/* ---------------- Seções ---------------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head h2 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 14px; text-wrap: balance;
}
.section-sub { color: var(--bone-dim); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; justify-content: center; }
.section-kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--pumpkin); margin-bottom: 10px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); flex-shrink: 0; }

/* ---------------- Ingressos (lotes) ---------------- */
.batches { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
@media (min-width: 900px) { .batches { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.ticket {
  --stub: 62px;
  position: relative; display: grid; grid-template-columns: 1fr var(--stub);
  min-height: 210px; border-radius: 14px;
  background: var(--night-2);
  /* Recortes do picote em cima e embaixo */
  -webkit-mask:
    radial-gradient(circle 11px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
          mask:
    radial-gradient(circle 11px at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  transition: transform .5s var(--ease), background-color .4s var(--ease);
}
.ticket::before { /* borda desenhada por dentro, para o recorte não cortar a linha */
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  border: 1px solid var(--line);
}
.ticket:hover { transform: translateY(-4px); }
.ticket-main { padding: 22px 18px 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.ticket-stub {
  position: relative; display: grid; place-items: center;
  border-left: 2px dashed var(--line-strong); margin: 14px 0;
}
.ticket-stub-label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 12px; font-weight: 800; letter-spacing: 0.02em; color: var(--bone-dim); text-align: center;
  max-height: 180px;
}
.ticket-name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.ticket-name .ic { color: var(--bone-faint); }
.ticket-price { display: flex; align-items: baseline; gap: 6px; }
.ticket-price .cur { font-size: 15px; color: var(--bone-dim); font-weight: 600; }
.ticket-price .val { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.ticket-price .per { font-size: 13px; color: var(--bone-faint); }
/* Preço "de" (R$5 a mais) riscado acima do valor atual, em todos os lotes */
.ticket-was { display: inline-block; margin-bottom: 4px; font-size: 16px; font-weight: 700; color: var(--bone-faint);
  text-decoration: line-through; text-decoration-color: var(--blood); text-decoration-thickness: 2px; font-variant-numeric: tabular-nums; }
.ticket-note { font-size: 12px; color: var(--bone-faint); margin-top: -8px; }
.ticket-stock { margin-top: auto; }
.ticket-stock-row { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--bone-dim); margin-bottom: 8px; }
.ticket-stock-row .low { color: var(--pumpkin); font-weight: 800; }
.bar { height: 6px; border-radius: 6px; background: var(--night-3); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--bone-faint); transform-origin: left; border-radius: inherit; }

.ticket.is-current { background: #1d140d; }
.ticket.is-current::before { border-color: rgba(255, 107, 26, 0.55); }
.ticket.is-current .ticket-stub { border-left-color: rgba(255, 107, 26, 0.5); margin: 0; background: var(--pumpkin); border-left-style: dashed; }
.ticket.is-current .ticket-stub-label { color: var(--night); }
.ticket.is-current .ticket-name .ic, .ticket.is-current .ticket-price .val { color: var(--pumpkin); }
.ticket.is-current .bar > i { background: var(--pumpkin); }
.ticket.is-soldout .ticket-main > *:not(.stamp) { opacity: 0.4; }
.ticket.is-soldout .ticket-stub-label { color: var(--blood); }
.ticket.is-soldout:hover { transform: none; }

.stamp {
  position: absolute; right: 16px; top: 50%; translate: 0 -50%; rotate: -12deg;
  padding: 6px 14px; border: 3px solid var(--blood); border-radius: 8px;
  color: var(--blood); font-weight: 800; font-size: 26px; letter-spacing: 0.06em; text-transform: uppercase;
  pointer-events: none; mix-blend-mode: normal;
}

.ticket-skeleton { min-height: 210px; opacity: 0.5; }

/* ---------------- Carrinho ---------------- */
.cart {
  max-width: 820px; margin: 0 auto; border-radius: 18px;
  background: var(--night-2); border: 1px solid var(--line);
  padding: clamp(20px, 4vw, 34px);
}
.cart-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cart-kicker { font-size: 13px; font-weight: 700; color: var(--pumpkin); }
.cart-title { font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-top: 2px; }
.cart-banner { font-size: 13.5px; color: var(--bone-dim); margin-top: 6px; max-width: 460px; }
.cart-banner strong.fire { color: var(--pumpkin); }
.cart-banner .sold { color: var(--blood); font-weight: 800; }

.stepper { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 12px; background: var(--night); border: 1px solid var(--line); }
.stepper-btn {
  width: 46px; height: 46px; border-radius: 9px; display: grid; place-items: center;
  background: var(--night-3); color: var(--bone);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .35s var(--ease);
}
.stepper-btn:hover { background: #2e241d; }
.stepper-btn:active { transform: scale(0.92); }
.stepper-btn-plus { background: var(--pumpkin); color: var(--night); }
.stepper-btn-plus:hover { background: var(--ember); }
.stepper-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper-value {
  position: relative; overflow: hidden; width: 52px; height: 46px;
  display: grid; place-items: center; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.stepper-value > span, .cart-total > span { display: block; }

.cart-breakdown { padding: 16px 0; display: grid; gap: 2px; }
.cart-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; color: var(--bone-dim); border-bottom: 1px solid var(--line); }
.cart-line:last-of-type { border-bottom: 0; }
.cart-line b { color: var(--bone); font-weight: 700; white-space: nowrap; }
.cart-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 10px;
  background: rgba(255, 179, 71, 0.08); border: 1px solid rgba(255, 179, 71, 0.25);
  font-size: 13px; color: var(--ember);
}
.cart-note .ic { width: 16px; height: 16px; margin-top: 2px; }

.cart-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.cart-total-label { font-size: 13px; font-weight: 600; color: var(--bone-dim); }
.cart-total { position: relative; overflow: hidden; font-size: clamp(30px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; color: var(--bone); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .cart-cta { width: 100%; } }

.active-reservation {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(156, 207, 106, 0.08); border: 1px solid rgba(156, 207, 106, 0.3);
  font-size: 14px; color: var(--bone);
}
.active-reservation b { color: var(--moss); font-variant-numeric: tabular-nums; }

/* ---------------- Atrações ---------------- */
.attractions { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 860px) { .attractions { grid-template-columns: 1fr 1fr; gap: 20px; } }
.attr {
  position: relative; overflow: hidden;
  padding: clamp(22px, 3vw, 30px); border-radius: 16px;
  background: var(--night-2); border: 1px solid var(--line);
  transition: border-color .45s var(--ease), transform .55s var(--ease);
}
.attr:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.attr > p { color: var(--bone-dim); font-size: 15px; }
.attr-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.attr-head-split { justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.attr-head-split .attr-head { margin-bottom: 0; }
.attr-icon { width: 30px; height: 30px; fill: none; stroke: var(--pumpkin); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.attr-kicker { display: block; font-size: 12.5px; font-weight: 600; color: var(--bone-dim); }
.attr h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.tag { padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 700; color: var(--bone-dim); }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; margin-top: 22px; height: 190px; }
.podium-col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; }
.podium-prize { font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.podium-bar {
  height: calc(var(--h) * 120px); border-radius: 10px 10px 4px 4px; transform-origin: bottom;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 10px;
  background: var(--night-3); border: 1px solid var(--line);
}
.podium-place { font-size: 11.5px; font-weight: 800; color: var(--bone-dim); }
.p1 .podium-bar { background: var(--pumpkin); border-color: var(--pumpkin); }
.p1 .podium-place { color: var(--night); }
.p1 .podium-prize { color: var(--pumpkin); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { padding: 7px 12px; border-radius: 8px; background: var(--night-3); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }

.candles { display: flex; gap: 18px; margin-top: 22px; height: 46px; align-items: flex-end; }
.candles i { position: relative; width: 12px; border-radius: 3px 3px 2px 2px; background: #d9cdb6; }
.candles i:nth-child(1) { height: 26px; } .candles i:nth-child(2) { height: 36px; } .candles i:nth-child(3) { height: 20px; }
.candles i::before { /* chama */
  content: ''; position: absolute; left: 50%; bottom: 100%; width: 10px; height: 16px; margin-left: -5px; margin-bottom: 2px;
  border-radius: 50% 50% 45% 45% / 65% 65% 35% 35%;
  background: radial-gradient(ellipse at 50% 75%, #fff4d6 0 22%, var(--ember) 40%, var(--pumpkin) 75%, rgba(255,107,26,0) 100%);
  transform-origin: 50% 100%;
}

.eq { display: flex; gap: 5px; align-items: flex-end; height: 46px; margin-top: 22px; }
.eq i { width: 8px; height: 100%; border-radius: 3px; background: var(--pumpkin); transform-origin: bottom; transform: scaleY(0.25); }
.eq i:nth-child(even) { background: var(--ember); }

/* ---------------- Rodapé ---------------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; text-align: center; font-size: 12.5px; color: var(--bone-faint); }
.footer-strong { font-weight: 700; color: var(--bone-dim); margin-bottom: 4px; }
.footer-credit { margin-top: 14px; color: var(--bone-dim); }
.footer-credit a { color: var(--pumpkin); font-weight: 700; }

/* ---------------- Gaveta de checkout ---------------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, 0.72); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%);
  display: flex; flex-direction: column;
  background: var(--night-2); border-left: 1px solid var(--line);
}
@media (max-width: 640px) {
  .drawer-panel { top: auto; left: 0; width: 100%; max-height: 92svh; border-left: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; }
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.drawer-body { padding: 20px; overflow-y: auto; overscroll-behavior: contain; padding-bottom: max(24px, env(safe-area-inset-bottom)); }

.summary { background: var(--night); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--bone-dim); padding: 3px 0; }
.summary-line b { color: var(--bone); font-weight: 700; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--line); }
.summary-total span { font-size: 14px; font-weight: 700; }
.summary-total strong { font-size: 24px; font-weight: 800; color: var(--pumpkin); letter-spacing: -0.02em; }

.form { display: grid; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--bone); margin-bottom: 6px; }
.field input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 10px;
  background: var(--night); border: 1px solid var(--line-strong); font-size: 16px; color: var(--bone);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.field input::placeholder { color: var(--bone-faint); }
.field input:focus { outline: none; border-color: var(--pumpkin); background: #120d0a; }
.field.has-error input { border-color: var(--blood); }
.field-error { display: block; min-height: 0; font-size: 12.5px; color: var(--blood); margin-top: 6px; }
.field-error:empty { display: none; }
.form-error { font-size: 13.5px; color: var(--blood); }
.form-error:empty { display: none; }

.reserved-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.reserved-head strong { display: block; font-size: 18px; font-weight: 800; }
.reserved-ic { width: 34px; height: 34px; color: var(--moss); }
.reserved-id { font-size: 13px; color: var(--bone-dim); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.timer { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bone-dim); }
.timer strong { margin-left: auto; font-size: 20px; font-weight: 800; color: var(--bone); font-variant-numeric: tabular-nums; }
.timer.is-low strong { color: var(--blood); }
.timer .ic { width: 18px; height: 18px; color: var(--ember); }
.timer-track { height: 4px; border-radius: 4px; background: var(--night-3); margin: 10px 0 20px; overflow: hidden; }
.timer-track i { display: block; height: 100%; background: var(--moss); transform-origin: left; }
.timer.is-low + .timer-track i { background: var(--blood); }
.pay-pending {
  display: grid; gap: 4px; padding: 16px; border-radius: 12px; margin-bottom: 14px;
  border: 1px dashed var(--line-strong); font-size: 13.5px; color: var(--bone-dim);
}
.pay-pending strong { font-size: 15px; }
.expired { display: grid; gap: 10px; text-align: center; padding: 20px 0; color: var(--bone-dim); font-size: 14.5px; }
.expired strong { font-size: 20px; color: var(--bone); }
.expired .btn { margin-top: 10px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 80; translate: -50% 0;
  max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 10px;
  background: var(--bone); color: var(--night); font-size: 14px; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   FX — estados iniciais/finais (o motion roda no fx.js)
   ============================================================ */
html.fx .reveal-in { opacity: 0; translate: 0 28px; }
html.fx .reveal-in.is-visible { opacity: 1; translate: none; }
.fx-snap, .fx-snap *, .fx-snap::before, .fx-snap::after, .fx-snap *::before, .fx-snap *::after { transition: none !important; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.14em 0.09em 0.2em; margin: -0.14em -0.09em -0.2em; }
.wi { display: inline-block; will-change: transform; }
.hero-title .w { padding: 0.12em 0.06em 0.16em; margin: -0.12em -0.06em -0.16em; }

/* Scroll para quem não usa o mouse: foco visível */
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

/* ============================================================
   HERO — camadas da cena (montadas pelo fx.js)
   0 .hs-under  : o que só a lanterna revela (teias, aranhas, fantasmas)
   1 .hero-dark : escuridão com o buraco da lanterna
   2 .hs-sky    : lua e brilho do horizonte (luz própria)
   3 .hs-sil    : silhuetas (árvore, casa, morcegos) e olhos que brilham
   4 .hero-ground: morro, abóboras acesas e névoa
   5 .hero-content
   ============================================================ */
/* O fundo da cena é o que a lanterna ilumina: claro e quente por baixo da escuridão */
.hero { background:
  radial-gradient(60% 50% at 50% 45%, #5a4330 0%, rgba(90, 67, 48, 0) 100%),
  linear-gradient(180deg, #3b2b20 0%, #46321f 60%, #4f3418 100%); }
.hero-content { z-index: 5; }
.hero-ground { z-index: 4; }
.hs-under, .hs-sky, .hs-sil { position: absolute; inset: 0; pointer-events: none; }
.hs-sky { z-index: 2; }
.hs-sil { z-index: 3; }
.hs-blackout { position: absolute; inset: 0; z-index: 6; background: var(--night); pointer-events: none; }

.hs-web { position: absolute; top: 0; width: clamp(150px, 22vw, 320px); height: auto; }
.hs-web path { fill: none; stroke: #d8cdb8; stroke-width: 1.1; opacity: 0.7; }
.hs-web-l { left: 0; }
.hs-web-r { right: 0; transform: scaleX(-1); }
.hs-spider { position: absolute; top: 0; width: 44px; transform-origin: 50% 0; will-change: transform; }
.hs-spider line { stroke: #d8cdb8; stroke-width: 1; opacity: 0.6; }
.hs-spider .body { fill: #d8cdb8; }
.hs-spider .legs { fill: none; stroke: #d8cdb8; stroke-width: 1.6; stroke-linecap: round; }
.hs-ghost { position: absolute; width: clamp(54px, 6vw, 84px); will-change: transform; }

.hs-halo {
  position: absolute; width: clamp(260px, 34vw, 520px); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(241, 231, 207, 0.16) 0, rgba(241, 231, 207, 0.05) 38%, rgba(241, 231, 207, 0) 68%);
}
.hs-moon {
  position: absolute; width: clamp(70px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%; translate: -50% -50%;
  background:
    radial-gradient(circle at 34% 38%, rgba(160, 146, 120, 0.45) 0 9%, transparent 10%),
    radial-gradient(circle at 62% 64%, rgba(160, 146, 120, 0.35) 0 13%, transparent 14%),
    radial-gradient(circle at 68% 30%, rgba(160, 146, 120, 0.3) 0 6%, transparent 7%),
    radial-gradient(circle at 40% 40%, #f6edd8, #ddd0b3 70%, #c9b994);
  will-change: transform;
}
.hs-horizon {
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(0deg, rgba(198, 74, 11, 0.34) 0%, rgba(198, 74, 11, 0.12) 35%, rgba(198, 74, 11, 0) 100%);
}

.hs-tree { position: absolute; left: -2%; bottom: clamp(60px, 9vw, 110px); height: clamp(260px, 46vw, 560px); width: auto; will-change: transform; }
.hs-house { position: absolute; right: -1%; bottom: clamp(56px, 8.5vw, 104px); width: clamp(230px, 34vw, 500px); height: auto; will-change: transform; }
.hs-sil-fill { fill: #070605; }
.hs-sil-stroke { fill: none; stroke: #070605; stroke-linecap: round; }
.hs-window { fill: var(--ember); }
.hs-bat { position: absolute; left: 0; top: 0; width: 46px; height: auto; fill: #060504; will-change: transform; visibility: hidden; }
.hs-eyes { position: absolute; width: clamp(34px, 3.4vw, 48px); height: auto; translate: -50% -50%; will-change: transform; }
.hs-eyes .iris { fill: #d9ef6b; }
.hs-eyes .pupil { fill: #0b0908; }

.hg-hill { position: absolute; inset: 0; width: 100%; height: 100%; }
.hg-hill .hs-sil-fill { fill: #070605; }
.pumpkin { position: absolute; bottom: 6%; width: clamp(56px, 7vw, 104px); }
.pumpkin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pumpkin-glow {
  position: absolute; left: 50%; top: 56%; width: 260%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(255, 140, 40, 0.32) 0, rgba(255, 107, 26, 0.1) 32%, rgba(255, 107, 26, 0) 62%);
  will-change: opacity, transform;
}
.pumpkin-size { display: block; padding-top: 84%; }
.fog {
  position: absolute; left: 0; bottom: -10px; width: 200%; height: 70%; pointer-events: none; will-change: transform;
  background-image:
    radial-gradient(ellipse 22% 38% at 12% 70%, rgba(239, 230, 214, 0.08), transparent 70%),
    radial-gradient(ellipse 18% 30% at 34% 80%, rgba(239, 230, 214, 0.06), transparent 70%),
    radial-gradient(ellipse 26% 34% at 62% 74%, rgba(239, 230, 214, 0.07), transparent 70%),
    radial-gradient(ellipse 16% 28% at 86% 82%, rgba(239, 230, 214, 0.06), transparent 70%);
  background-size: 50% 100%; background-repeat: repeat-x;
}
.fog-2 { bottom: -20px; height: 55%; opacity: 0.8; background-position: 25% 0; }

.read-thread { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--pumpkin); transform: scaleX(0); transform-origin: left; will-change: transform; pointer-events: none; }
html.fx .site-header::after { display: none; }

@media (max-width: 720px) {
  .hs-house { opacity: 0.9; }
  .hs-eyes.desk-only, .hs-ghost.desk-only, .pumpkin.desk-only { display: none; }
}

/* ---------------- Faixas de "cuidado" ---------------- */
.tapes { position: relative; z-index: 6; height: clamp(150px, 17vw, 230px); margin-top: clamp(-110px, -8vw, -60px); margin-bottom: clamp(-60px, -4vw, -30px); overflow: hidden; pointer-events: none; }
.tape {
  position: absolute; left: -5%; width: 110%; top: 50%; height: clamp(38px, 4.4vw, 56px);
  display: flex; align-items: center; overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
}
.tape-a { background: var(--pumpkin); color: var(--night); rotate: -3.2deg; translate: 0 -62%; }
.tape-b { background: #120e0b; color: var(--pumpkin); rotate: 2.4deg; translate: 0 -18%; border-top: 1px solid rgba(255,107,26,.35); border-bottom: 1px solid rgba(255,107,26,.35); }
.tape-track { display: flex; white-space: nowrap; will-change: transform; }
.tape-track span { font-weight: 800; font-size: clamp(14px, 1.6vw, 20px); letter-spacing: 0.04em; padding-right: 0.3em; }
.tape-a .tape-track span:nth-child(odd) { font-family: 'Creepster', cursive; font-weight: 400; letter-spacing: 0.08em; }

/* ---------------- Contagem regressiva ---------------- */
.countdown { display: flex; justify-content: center; gap: clamp(8px, 2vw, 18px); margin-top: 28px; }
.cd-unit { display: grid; justify-items: center; gap: 6px; }
.cd-num {
  position: relative; overflow: hidden; display: grid; place-items: center;
  width: clamp(62px, 9vw, 92px); height: clamp(66px, 9.4vw, 96px); border-radius: 12px;
  background: var(--night-2); border: 1px solid var(--line);
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.cd-num::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55); }
.cd-label { font-size: 12px; font-weight: 600; color: var(--bone-dim); }

/* ---------------- Ingresso: inclinação 3D e reflexo ---------------- */
.batches { perspective: 1200px; }
.ticket { transform-style: preserve-3d; will-change: transform; }
.ticket-sheen {
  position: absolute; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  background: radial-gradient(circle, rgba(255, 190, 120, 0.16) 0, rgba(255, 190, 120, 0) 60%);
  pointer-events: none; opacity: 0; will-change: transform, opacity;
}
.ticket-clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }

/* ---------------- Atrações: lanterna dentro do card ---------------- */
.attr-light {
  position: absolute; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 150, 60, 0.13) 0, rgba(255, 150, 60, 0.04) 30%, rgba(255, 150, 60, 0) 62%);
  opacity: 0; will-change: transform, opacity; z-index: 0;
}
.attr > *:not(.attr-light) { position: relative; z-index: 1; }

.bubbles { position: absolute !important; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; }
.bubbles i { position: absolute; bottom: -12px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(255, 179, 71, 0.4); will-change: transform, opacity; }

.attr-music { display: grid; }
.vinyl { position: absolute !important; right: -40px; top: -40px; width: 200px; height: 200px; }
.vinyl-disc {
  width: 100%; height: 100%; border-radius: 50%; will-change: transform;
  background:
    radial-gradient(circle, var(--pumpkin) 0 15%, #0b0908 15.5% 17%, transparent 17.5%),
    repeating-radial-gradient(circle, #2c231d 0 1.5px, #0d0a08 1.5px 4px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.vinyl-disc i { position: absolute; left: 50%; top: 50%; width: 30%; height: 3px; margin-top: -1.5px; background: linear-gradient(90deg, rgba(255,255,255,.12), transparent); transform-origin: left; rotate: -30deg; }
.attr-music .attr-head, .attr-music > p { max-width: calc(100% - 110px); }
@media (max-width: 520px) { .vinyl { width: 140px; height: 140px; right: -50px; top: -50px; } .attr-music .attr-head, .attr-music > p { max-width: none; } .attr-music .attr-head { padding-right: 70px; } }

.deco-web { position: absolute !important; right: 0; top: 0; width: 130px; height: 130px; transform: scaleX(-1); }
.deco-web path { fill: none; stroke: rgba(216, 205, 184, 0.35); stroke-width: 1; }

/* ---------------- Morcegos que saem do botão ---------------- */
.bat-burst { position: fixed; left: 0; top: 0; width: 34px; height: auto; fill: #f1e7cf; pointer-events: none; z-index: 95; will-change: transform, opacity; }

/* ---------------- Brasas ---------------- */
.embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 4; }
.embers i { position: absolute; bottom: 0; width: 3px; height: 3px; border-radius: 1px; background: var(--ember); will-change: transform, opacity; opacity: 0; }

/* ---------------- Rodapé com a palavra gigante ---------------- */
.site-footer { position: relative; overflow: hidden; padding-top: 0; }
.footer-word {
  font-family: 'Creepster', cursive; text-align: center; line-height: 0.8; letter-spacing: 0.02em;
  font-size: clamp(64px, 19vw, 300px); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 107, 26, 0.55);
  padding-top: 40px; margin-bottom: 28px; user-select: none; position: relative;
}
.footer-word .fl { display: inline-block; will-change: transform; }
.footer-word .fl.lit { color: var(--pumpkin); -webkit-text-stroke-color: var(--pumpkin); }

.hero-lead { margin-bottom: 30px; }
.hero-facts { margin-bottom: 30px; }
.tickets-section { padding-top: clamp(40px, 6vw, 72px); }
.vinyl-disc { box-shadow: 0 0 0 1px rgba(239,230,214,.14), 0 18px 40px rgba(0,0,0,.6); }
.ticket-stub-label { font-size: 11.5px; }

/* ---------------- Ingresso enfeitado ---------------- */
.ticket { --tbg: var(--night-2); overflow: hidden; }
.ticket.is-current { --tbg: #1d140d; }
.ticket-main {
  z-index: 1;
  background-image: radial-gradient(rgba(239, 230, 214, 0.06) 1px, transparent 1.6px);
  background-size: 7px 7px;
}
.ticket-num {
  position: absolute; right: calc(var(--stub) + 4px); top: -0.12em; z-index: 0; pointer-events: none;
  font-family: 'Creepster', cursive; font-size: 150px; line-height: 1; letter-spacing: 0;
  color: rgba(239, 230, 214, 0.045);
}
.ticket.is-current .ticket-num { color: rgba(255, 107, 26, 0.13); }
.ticket-art {
  position: absolute; right: calc(var(--stub) + 14px); bottom: 34px; width: 74px; height: 64px; z-index: 0;
  fill: rgba(239, 230, 214, 0.07); stroke: rgba(239, 230, 214, 0.07); pointer-events: none; rotate: -8deg;
}
.ticket-art .cut { fill: var(--tbg); stroke: none; }
.ticket.is-current .ticket-art { fill: rgba(255, 107, 26, 0.2); stroke: rgba(255, 107, 26, 0.2); }
.ticket-eyebrow {
  display: flex; justify-content: space-between; gap: 8px; padding-bottom: 10px; margin-bottom: -2px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--bone-faint);
}
.ticket-eyebrow span:first-child { font-family: 'Creepster', cursive; font-weight: 400; font-size: 13px; letter-spacing: 0.1em; color: var(--bone-dim); }
.ticket.is-current .ticket-eyebrow span:first-child { color: var(--pumpkin); }
.ticket-serial { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--bone-faint); font-variant-numeric: tabular-nums; margin-top: -4px; }
.ticket-stub { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 0; gap: 10px; }
.ticket-barcode { width: 20px; height: 46px; fill: rgba(239, 230, 214, 0.32); flex-shrink: 0; }
.ticket.is-current .ticket-barcode { fill: rgba(11, 9, 8, 0.75); }
.ticket.is-soldout .ticket-barcode { fill: rgba(224, 65, 47, 0.4); }
.ticket-stub-label { max-height: 130px; }
.ticket-sweep {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 200, 140, 0) 0%, rgba(255, 200, 140, 0.12) 50%, rgba(255, 200, 140, 0) 100%);
  transform: translateX(-120%) skewX(-12deg); will-change: transform;
}
.batches.is-offline .t-sold { visibility: hidden; }
.ticket-num { top: auto; bottom: -0.3em; }
.ticket-art { bottom: auto; top: 62px; right: calc(var(--stub) + 18px); width: 58px; height: 50px; }
.ticket-stub-label { max-height: 180px; font-size: 11px; }
