/* ═══════════════════════════════════════════════════════════
   TRAVEL VIP — Shibuya Sky
   Identidade visual própria. Mobile-first: o CSS base é o do
   celular; desktops são uma progressão a partir de 720px.
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --abyss: #06070D;
  --abyss-2: #0A0C16;
  --panel: #101322;
  --panel-2: #171B2B;
  --line: #232840;
  --line-2: #2E3550;

  --ink: #F3F5FF;
  --ink-2: #A7AFC8;
  --ink-3: #6C7490;

  --sun: #FFB03A;
  --sun-2: #FFD27A;
  --neon: #FF2E6B;
  --iris: #6C4CFF;
  --cyan: #45E0FF;
  --ok: #35D07F;
  --danger: #FF6B6B;

  --grad: linear-gradient(135deg, #FFB03A 0%, #FF2E6B 52%, #6C4CFF 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,176,58,.16), rgba(255,46,107,.16) 52%, rgba(108,76,255,.16));

  --r: 16px;
  --r-lg: 22px;
  --max: 1180px;
  --nav-h: 58px;

  --shadow: 0 24px 60px -24px rgba(0,0,0,.85);
  --shadow-neon: 0 16px 42px -16px rgba(255,46,107,.6);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-d: "Sora", "Inter", system-ui, sans-serif;

  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--abyss);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; font-size: 16px; color: inherit; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--abyss); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; transition: top .2s ease;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }

/* ── Tipografia ─────────────────────────────────────── */
.h1, .h2, .h3 { font-family: var(--font-d); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.1rem, 11vw, 4.6rem); }
.h2 { font-size: clamp(1.55rem, 7vw, 2.6rem); margin-top: 10px; }
.lead { color: var(--ink-2); font-size: .98rem; margin-top: 12px; max-width: 62ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-d);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--sun);
}

.section { padding-block: 64px; position: relative; }
.section--alt { background: var(--abyss-2); border-block: 1px solid var(--line); }

/* ── Botões ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-d); font-size: .86rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-neon); }
.btn-primary:hover { box-shadow: 0 18px 46px -14px rgba(255,46,107,.75); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--sun); color: var(--sun-2); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .74rem; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── Header ─────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(6,7,13,.92), rgba(6,7,13,0));
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6,7,13,.94); border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-d); font-size: .96rem; font-weight: 800;
  letter-spacing: .16em; color: var(--ink);
}
.brand-text strong em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-left: .28em;
}
.brand-text small {
  font-size: .58rem; font-weight: 600; letter-spacing: .26em;
  color: var(--ink-3); margin-top: 3px;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: 108px;
  padding-top: calc(var(--nav-h) + 24px);
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% 10%, rgba(6,7,13,0) 0%, rgba(6,7,13,.55) 60%, rgba(6,7,13,.92) 100%),
    linear-gradient(180deg, rgba(6,7,13,.55) 0%, rgba(6,7,13,.15) 34%, rgba(6,7,13,.96) 100%);
}
.hero-inner { position: relative; }
.hero .h1 { margin-top: 14px; }
.hero-sub { color: var(--ink-2); font-size: 1rem; margin-top: 16px; max-width: 46ch; }
.hero-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.hero-cta .btn { width: 100%; }

.hero-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-meta li { display: flex; flex-direction: column; font-size: .76rem; color: var(--ink-3); }
.hero-meta strong { color: var(--ink); font-size: .82rem; font-weight: 600; }

/* ── Rail horizontal (padrão mobile) ────────────────── */
.rail, .gallery {
  margin-top: 26px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar, .gallery::-webkit-scrollbar { display: none; }
.rail-track, .gallery-track {
  display: flex; gap: 14px;
  padding-inline: 20px;
  scroll-padding-inline-start: 20px;
}

/* ── Ticket cards ───────────────────────────────────── */
.tcard {
  flex: 0 0 78%; max-width: 330px;
  scroll-snap-align: start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.tcard:active { transform: scale(.99); }
.tcard-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--panel-2); }
.tcard-img img { width: 100%; height: 100%; object-fit: cover; }
.tcard-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-d); font-size: .62rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.tag--hot { background: var(--grad); color: #fff; box-shadow: var(--shadow-neon); }
.tag--vip { background: rgba(6,7,13,.78); color: var(--sun-2); border: 1px solid rgba(255,176,58,.5); }

.tcard-name { font-family: var(--font-d); font-size: 1.18rem; font-weight: 700; line-height: 1.15; }
.tcard-name small { display: block; font-family: var(--font); font-size: .76rem; font-weight: 500; color: var(--ink-3); margin-top: 5px; letter-spacing: .02em; }
.tcard-list { display: grid; gap: 7px; font-size: .86rem; color: var(--ink-2); }
.tcard-list li { display: flex; gap: 9px; }
.tcard-list li::before {
  content: ""; flex: 0 0 6px; width: 6px; height: 6px; margin-top: 8px;
  border-radius: 50%; background: var(--sun);
}
.tcard-price {
  display: flex; align-items: baseline; gap: 6px; margin-top: auto;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.tcard-price strong {
  font-family: var(--font-d); font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tcard-price span { font-size: .78rem; color: var(--ink-3); }

.tcard--hero { border-color: rgba(255,46,107,.45); box-shadow: 0 0 0 1px rgba(255,46,107,.12), var(--shadow); }
.tcard--vip { border-color: rgba(255,176,58,.35); }

/* ── Experience steps ───────────────────────────────── */
.steps { margin-top: 30px; display: grid; gap: 18px; counter-reset: s; }
.steps li {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start;
  padding: 18px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r);
}
.steps-n {
  font-family: var(--font-d); font-size: .82rem; font-weight: 800;
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line-2); color: var(--sun-2);
}
.steps h3 { font-family: var(--font-d); font-size: 1.06rem; font-weight: 700; margin-bottom: 4px; }
.steps p { color: var(--ink-2); font-size: .9rem; }

/* ── Gallery ──────────────────────────��─────────────── */
.gallery figure {
  flex: 0 0 76%; max-width: 380px; scroll-snap-align: center;
  border-radius: var(--r); overflow: hidden; position: relative;
  background: var(--panel); border: 1px solid var(--line);
}
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  font-family: var(--font-d); font-size: .82rem; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(6,7,13,.92));
}

/* ── About ──────────────────────────────────────────── */
.about { display: grid; gap: 26px; }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line); }
.facts {
  margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.facts > div {
  padding: 14px 16px; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--r);
}
.facts dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.facts dd { font-family: var(--font-d); font-size: 1rem; font-weight: 700; margin-top: 4px; }
.about-copy .btn { margin-top: 22px; width: 100%; }

/* ── Reviews ────────────────────────────────────────── */
.reviews { margin-top: 28px; display: grid; gap: 14px; }
.review {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px;
}
.review .stars { color: var(--sun); letter-spacing: 3px; font-size: .9rem; }
.review p { color: var(--ink-2); font-size: .93rem; font-style: italic; margin-top: 10px; }
.review footer { margin-top: 14px; display: flex; flex-direction: column; }
.review footer strong { font-size: .88rem; }
.review footer span { font-size: .78rem; color: var(--ink-3); }

/* ── FAQ ────────────────────────────────────────────── */
.faq { margin-top: 26px; display: grid; gap: 10px; }
.faq details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  cursor: pointer; font-family: var(--font-d); font-weight: 600; font-size: .95rem;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  list-style: none; min-height: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 12px; width: 12px; height: 12px;
  border-right: 2px solid var(--sun); border-bottom: 2px solid var(--sun);
  transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { margin-top: 12px; color: var(--ink-2); font-size: .9rem; }

/* ── Final CTA ──────────────────────────────────────── */
.final { position: relative; overflow: hidden; isolation: isolate; padding-block: 84px; }
.final-media { position: absolute; inset: 0; z-index: -1; }
.final-media img { width: 100%; height: 100%; object-fit: cover; }
.final-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,7,13,.96) 10%, rgba(6,7,13,.55) 60%, rgba(6,7,13,.7) 100%);
}
.final-inner { text-align: center; display: grid; justify-items: center; }
.final .h1 { font-size: clamp(1.9rem, 9vw, 3.4rem); margin-top: 12px; }
.final .btn { margin-top: 26px; width: 100%; max-width: 340px; }

/* ── Footer ─────────────────────────────────────────── */
.foot {
  padding-block: 48px calc(108px + var(--safe-b));
  background: var(--abyss-2); border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: .86rem;
}
.foot-brand p { margin-top: 14px; max-width: 40ch; line-height: 1.65; }
.foot-tm { font-size: .74rem; color: var(--ink-3); opacity: .8; }
.foot-cols { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.foot-cols h4 {
  color: var(--ink); font-family: var(--font-d); font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px;
}
.foot-cols ul { display: grid; gap: 9px; }
.foot-cols a { color: var(--ink-2); }
.foot-cols a:hover { color: var(--sun-2); }

.foot-fineprint {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .76rem; line-height: 1.7;
}
.foot-fineprint strong { color: var(--ink-2); }
.foot-fineprint a { color: var(--sun-2); text-decoration: underline; }
.foot-bottom {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: grid; gap: 8px; font-size: .72rem;
}

/* ── Barra de compra fixa ───────────────────────────── */
.buybar {
  position: fixed; inset: auto 0 0 0; z-index: 55;
  background: rgba(10,12,22,.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + var(--safe-b));
  transform: translateY(120%);
  transition: transform .3s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.buybar.is-on { transform: translateY(0); }
.buybar-in { display: flex; align-items: center; gap: 14px; max-width: var(--max); margin-inline: auto; }
.buybar-price { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.buybar-price span { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.buybar-price strong {
  font-family: var(--font-d); font-size: 1.24rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.buybar .btn { flex: 0 0 auto; }

/* ═══════════ Checkout — bottom sheet ═══════════ */
.ck-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3,4,9,.82);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none;
}
.ck-modal.is-open { display: block; }
.ck-dialog {
  position: absolute; inset: auto 0 0 0;
  max-height: 94svh;
  background: var(--panel);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  animation: sheetUp .28s cubic-bezier(.22,1,.36,1);
}
@keyframes sheetUp { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }

.ck-head {
  position: sticky; top: 0; z-index: 3;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding-top: 8px;
}
.ck-head::before {
  content: ""; display: block; width: 38px; height: 4px; border-radius: 999px;
  background: var(--line-2); margin: 0 auto 10px;
}
.ck-head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 18px; }
.ck-head h3 { font-family: var(--font-d); font-size: 1.06rem; font-weight: 700; }
.ck-close {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2);
}
.ck-close:hover { border-color: var(--neon); color: var(--ink); }

.ck-stepper { display: flex; padding: 12px 18px 0; }
.ck-stepper li {
  flex: 1; padding-bottom: 10px; text-align: center;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-3); border-bottom: 2px solid var(--line);
}
.ck-stepper li.is-on { color: var(--sun-2); border-bottom-color: var(--sun); }

.ck-body { padding: 18px 18px calc(20px + var(--safe-b)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ck-step { display: none; }
.ck-step.is-active { display: block; animation: ckIn .22s ease; }
@keyframes ckIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ck-lede { color: var(--ink-2); font-size: .88rem; margin-bottom: 16px; }

.ck-row { display: grid; gap: 14px; margin-bottom: 14px; }
.ck-field { margin-bottom: 14px; }
.ck-row .ck-field { margin-bottom: 0; }
.ck-field label {
  display: block; font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px;
}
.ck-field input, .ck-field select {
  width: 100%; min-height: 50px;
  background: var(--abyss); border: 1px solid var(--line);
  border-radius: 12px; padding: 0 14px; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.ck-field input:focus, .ck-field select:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(255,46,107,.14); }
.ck-field input::placeholder { color: var(--ink-3); }
.ck-err { color: var(--danger); font-size: .76rem; margin-top: 6px; min-height: 1em; }
.req { color: var(--danger); }

/* ═══════════ Calendário (checkout) ═══════════
 * Largura LIMITADA (nunca acompanha a viewport): sem isso as células de 7
 * colunas cresciam até 99px no tablet e o calendário passava de 790px de altura.
 */
.cal {
  margin: 8px auto 0;
  max-width: 384px;
  background: var(--abyss);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px;
}
.cal-head { display: flex; align-items: center; gap: 6px; }
.cal-nav {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2);
  -webkit-tap-highlight-color: transparent;
}
.cal-nav:hover:not([disabled]) { border-color: var(--neon); color: var(--ink); }
.cal-nav[disabled] { opacity: .3; cursor: not-allowed; }

.cal-title { flex: 1; display: flex; gap: 6px; justify-content: center; min-width: 0; }
.cal-title select {
  min-height: 40px; padding: 0 22px 0 8px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--font-d); font-size: .86rem; font-weight: 700;
  -webkit-appearance: none; appearance: none; text-align: center;
  text-align-last: center; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 15px) 18px, calc(100% - 10px) 18px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.cal-title select:focus { outline: none; border-color: var(--neon); }
/* Larguras FIXAS: sem teto o seletor de mês chegava a 528px no tablet. */
#cal-month { flex: 0 1 108px; min-width: 92px; }
#cal-year { flex: 0 0 76px; }

.cal-dow {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px; margin: 10px 0 5px;
}
.cal-dow span {
  text-align: center; font-size: .6rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}

/* Grelha com teto próprio — é quem define o tamanho da célula, não a viewport.
   Altura FIXA em vez de `aspect-ratio`: com aspect-ratio a célula derivava a
   largura da altura e estourava a grelha em 8px em telas de 320px. A altura
   fixa garante o alvo de toque de 44px; a largura acompanha a coluna. */
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-cell {
  height: 44px; min-width: 0;
  display: grid; place-items: center; border-radius: 10px;
  font-family: var(--font-d); font-size: .9rem; font-weight: 600;
  color: var(--ink-2); border: 1px solid transparent;
  -webkit-tap-highlight-color: transparent;
  transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.cal-cell--empty { pointer-events: none; }
.cal-cell:not(:disabled):hover { background: rgba(255,255,255,.06); color: var(--ink); }
.cal-cell:disabled { color: var(--ink-3); opacity: .28; cursor: not-allowed; }
.cal-cell.is-today { border-color: var(--line-2); color: var(--ink); }
.cal-cell.is-on {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 6px 18px -8px rgba(255,46,107,.8);
}

/* Saltos: grelha 2×2 no mobile (nunca deixa um chip órfão esticado na 2ª linha),
   vira linha única quando há espaço. */
.cal-jump {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
}
.cal-chip {
  min-height: 40px; padding: 0 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2);
  font-size: .74rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.cal-chip:hover { border-color: var(--sun); color: var(--sun-2); }

.cal-selected {
  margin-top: 8px; font-size: .78rem; line-height: 1.4;
  color: var(--ink-3); text-align: center;
}
.cal-selected.is-set { color: var(--sun-2); font-weight: 600; }

/* A partir daqui os 4 saltos cabem numa linha só e a célula respira mais. */
@media (min-width: 420px) {
  .cal-jump { grid-template-columns: repeat(4, 1fr); }
  .cal-cell { height: 48px; }
}

/* Passo 1: data e horário empilhados no mobile, lado a lado no desktop. */
.ck-when { display: grid; gap: 0; }
/* O rótulo acompanha o calendário na mesma coluna centrada. */
.ck-when .ck-field--date { margin-bottom: 18px; max-width: 384px; margin-inline: auto; width: 100%; }
.ck-when .ck-field--time { margin-bottom: 0; }

/* Time slots */
.ck-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ck-slot {
  min-height: 46px; padding: 8px 4px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--abyss);
  font-family: var(--font-d); font-size: .88rem; font-weight: 600; color: var(--ink-2);
  display: grid; place-items: center; line-height: 1.1;
}
.ck-slot small { display: block; font-family: var(--font); font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.ck-slot.is-on { border-color: var(--neon); background: rgba(255,46,107,.14); color: var(--ink); }
.ck-slot[data-prime="1"] { border-color: rgba(255,176,58,.4); }
.ck-slot[data-prime="1"] small { color: var(--sun); }
.ck-slot[data-prime="1"].is-on { border-color: var(--sun); background: rgba(255,176,58,.16); }

/* Tickets inside checkout */
.ck-tickets { display: grid; gap: 10px; margin-top: 6px; }
.ck-ticket {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--abyss); border: 1px solid var(--line); border-radius: 14px; padding: 14px;
}
.ck-ticket h4 { font-family: var(--font-d); font-size: .92rem; font-weight: 600; }
.ck-ticket .ck-price { display: block; color: var(--sun-2); font-size: .86rem; margin-top: 3px; }
.ck-ticket .ck-price small { color: var(--ink-3); margin-left: 5px; }
.ck-qty { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ck-qty button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); font-size: 1.25rem; line-height: 1;
  display: grid; place-items: center; color: var(--ink-2);
}
.ck-qty button:hover { border-color: var(--sun); color: var(--sun-2); }
.ck-qty span { min-width: 24px; text-align: center; font-weight: 700; font-family: var(--font-d); }

.ck-totals {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: .86rem;
}
.ck-totals strong {
  font-family: var(--font-d); font-size: 1.5rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ck-price-note { margin: -2px 0 12px; font-size: .78rem; color: var(--ink-3); line-height: 1.5; }

.ck-actions {
  display: flex; gap: 10px; margin-top: 18px;
  position: sticky; bottom: calc(-20px - var(--safe-b));
  background: linear-gradient(180deg, rgba(16,19,34,0), var(--panel) 26%);
  padding: 12px 0 0;
}
.ck-actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#ck-summary ul { margin-bottom: 12px; }
#ck-summary li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .88rem;
}
.ck-summary-total {
  display: flex; justify-content: space-between; padding-top: 12px;
  font-family: var(--font-d); font-size: 1.16rem; font-weight: 800;
}
.ck-summary-total span:last-child { color: var(--sun-2); }
.ck-summary-meta { color: var(--ink-3); font-size: .82rem; margin-top: 10px; }

.ck-secure {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-top: 16px;
  background: rgba(53,208,127,.08); border: 1px solid rgba(53,208,127,.24);
  border-radius: 12px; font-size: .8rem; color: var(--ink-2); line-height: 1.5;
}
.ck-secure svg { flex-shrink: 0; color: var(--ok); margin-top: 1px; }

.ck-affiliate {
  margin-top: 12px; font-size: .72rem; line-height: 1.6;
  color: var(--ink-3); padding: 10px 12px;
  background: var(--abyss); border: 1px dashed var(--line-2); border-radius: 10px;
}
.ck-affiliate a { color: var(--sun-2); text-decoration: underline; }
.ck-affiliate strong { color: var(--ink-2); }

.ck-cardnum { position: relative; }
.ck-cardnum input { padding-right: 62px; font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .05em; }
.ck-card-brand {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 46px; height: 30px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px; padding: 3px; opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.ck-card-brand.is-on { opacity: 1; }
.ck-card-brand img { width: 100%; height: 100%; object-fit: contain; }
input[data-field="cardName"] { text-transform: uppercase; }

/* Country / phone comboboxes */
.ck-phone { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: relative; }
.ck-country { position: relative; }
.ck-cc-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 50px; padding: 0 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 12px; color: var(--ink); white-space: nowrap;
}
.ck-cc-trigger:hover { border-color: var(--neon); }
/* Bandeiras em 4:3 (proporção do conjunto lipis/flag-icons) */
.ck-cc-trigger img { width: 24px; height: 18px; object-fit: cover; border-radius: 3px; }
.ck-cc-trigger svg { opacity: .6; margin-left: 2px; }
.ck-cc-trigger-wide { width: 100%; justify-content: flex-start; }
.ck-cc-trigger-wide span:first-of-type { flex: 1; text-align: left; }
.ck-phone input[data-field="phone"] { min-width: 0; }

.ck-cc-pop {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 50;
  width: min(320px, calc(100vw - 40px));
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6); overflow: hidden;
}
.ck-cc-pop-wide { width: 100%; min-width: 260px; }
.ck-cc-pop.is-open { display: block; }
.ck-cc-search { padding: 10px; border-bottom: 1px solid var(--line); }
.ck-cc-search input {
  width: 100%; min-height: 42px; padding: 0 12px;
  background: var(--abyss); border: 1px solid var(--line);
  border-radius: 10px; color: var(--ink); outline: none;
}
.ck-cc-search input:focus { border-color: var(--neon); }
.ck-cc-list { max-height: 250px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ck-cc-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 12px; background: transparent; color: var(--ink); text-align: left;
}
.ck-cc-item:hover { background: rgba(255,255,255,.05); }
.ck-cc-item.is-on { background: rgba(255,46,107,.16); color: var(--ink); }
.ck-cc-item img { width: 24px; height: 18px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.ck-cc-name { flex: 1; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-cc-dial { color: var(--ink-3); font-size: .8rem; }

/* ═══════════ 720px — phablet / landscape ═══════════ */
@media (min-width: 720px) {
  .wrap { padding-inline: 32px; }
  .nav { height: 68px; padding-inline: 32px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.06rem; }
  .section { padding-block: 84px; }
  .hero { padding-bottom: 90px; }
  .hero-cta { flex-direction: row; }
  .hero-cta .btn { width: auto; min-width: 180px; }
  .hero-meta { gap: 12px 30px; }
  .ck-slots { grid-template-columns: repeat(5, 1fr); }
  .ck-row { grid-template-columns: 1fr 1fr; }
  .ck-row.full { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot-bottom { display: flex; justify-content: space-between; }
  .about-copy .btn { width: auto; }
  .final .btn { width: auto; }
}

/* ═══════════ 900px — desktop ═══════════ */
@media (min-width: 900px) {
  .buybar { display: none; }
  .foot { padding-block: 64px 40px; }

  .rail, .gallery { overflow: visible; scroll-snap-type: none; }
  .rail-track, .gallery-track { padding-inline: 0; }
  .rail-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .tcard { flex: auto; max-width: none; }
  .tcard:hover { transform: translateY(-6px); border-color: var(--line-2); }
  .tcard-img img { transition: transform .6s ease; }
  .tcard:hover .tcard-img img { transform: scale(1.05); }

  .gallery-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .gallery figure { flex: auto; max-width: none; }

  .steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .about-img img { aspect-ratio: 5/6; }

  .ck-modal {
    display: none; align-items: flex-start; justify-content: center;
    padding: 40px 20px; overflow-y: auto;
  }
  .ck-modal.is-open { display: flex; }
  .ck-dialog {
    position: relative; inset: auto;
    max-width: 820px; width: 100%;
    /* Teto de altura: sem isso o passo 1 chegava a 1257px e o modal inteiro
       virava uma página. O corpo rola; o cabeçalho fica fixo. */
    max-height: calc(100svh - 64px);
    border-radius: var(--r-lg);
    animation: ckIn .25s ease;
  }
  .ck-head { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .ck-actions { position: static; background: none; padding: 0; }
  .ck-body { padding: 24px 24px 26px; }

  /* Data | horário em duas colunas — corta a altura do modal pela metade. */
  .ck-when { grid-template-columns: 384px 1fr; gap: 22px; align-items: start; }
  .ck-when .ck-field--date,
  .ck-when .ck-field--time { margin-bottom: 0; }
  .ck-when .ck-field--date .ck-err,
  .ck-when .ck-field--time .ck-err { min-height: 1.2em; }
  .ck-when .ck-field--date { margin-inline: 0; }
  .cal { margin-top: 8px; }
  .ck-slots { grid-template-columns: repeat(4, 1fr); }

  /* Ingressos em 2 colunas: evita 4 linhas empilhadas esticando o modal. */
  .ck-tickets { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1180px) {
  .hero-sub { font-size: 1.12rem; }
}

/* ═══════════ Páginas de documento (legal / FAQ) ═══════════ */
.doc { max-width: 800px; margin-inline: auto; padding: calc(var(--nav-h) + 40px) 20px 80px; }
.doc h1 {
  font-family: var(--font-d); font-size: clamp(1.9rem, 8vw, 3rem);
  line-height: 1.08; letter-spacing: -.02em; margin-bottom: 8px;
}
.doc .updated { color: var(--ink-3); font-size: .82rem; margin-bottom: 30px; }
.doc h2 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; margin: 34px 0 10px; }
.doc h3 { font-family: var(--font-d); font-size: 1rem; font-weight: 600; margin: 22px 0 8px; color: var(--ink); }
.doc p, .doc li { color: var(--ink-2); line-height: 1.75; margin-bottom: 12px; font-size: .95rem; }
.doc strong { color: var(--ink); }
.doc a { color: var(--sun-2); text-decoration: underline; }
.doc ul, .doc ol { list-style: none; }
.doc li { position: relative; padding-left: 20px; }
.doc li::before {
  content: ""; position: absolute; left: 2px; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sun);
}
.doc li > ul, .doc li > ol { margin-top: 10px; }
.foot--doc { padding-bottom: 44px; }
.foot--doc .foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: space-between; }
.foot--doc .foot-bottom a { color: var(--ink-2); }

/* ── Preferências do usuário ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
