/* Site público do OverMagic (TAR-096). Identidade do jogo: noite violeta, ouro velho, pedra.
   Sem estilos embutidos nas páginas: a política de segurança só aceita este arquivo. */

/* Montserrat (licença SIL OFL), servida daqui mesmo: a política de segurança não aceita fontes de fora. Um arquivo variável cobre todos os pesos (100 a 900). */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/fonts/montserrat-latin-wght-italic.woff2") format("woff2"); }

:root {
  --night: #0b0814;
  --night-2: #120d20;
  --stone: #1a1430;
  --stone-2: #231a40;
  --line: #3a2c66;
  --violet: #8f5bff;
  --violet-soft: #b9a0ff;
  --gold: #e8c46a;
  --gold-deep: #b98a2e;
  --text: #ece6fb;
  --muted: #a99fc6;
  --danger: #ff7a8a;
  --ok: #7be0a4;
  --tone: var(--gold);
  --radius: 14px;
  --wrap: 1160px;
  /* Respiro lateral de todo o conteúdo (TAR-104): cresce com a tela, nunca menos de 20 px. */
  --gutter: clamp(20px, 5vw, 64px);
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1b1304; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--stone-2); color: var(--text);
  font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { border-color: var(--violet-soft); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-off { opacity: .55; cursor: not-allowed; transform: none; }
.btn-gold {
  background: linear-gradient(180deg, #f6dc94, var(--gold) 45%, var(--gold-deep)); color: #201603; border-color: #f6dc94;
  box-shadow: 0 6px 22px rgba(232, 196, 106, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-gold:hover { box-shadow: 0 10px 30px rgba(232, 196, 106, .42), inset 0 1px 0 rgba(255, 255, 255, .5); border-color: #fff1c4; }
.btn-violet { background: linear-gradient(180deg, #a57bff, var(--violet) 55%, #5a32c8); border-color: #b99cff; color: #fff; box-shadow: 0 6px 22px rgba(143, 91, 255, .35); }
.btn-ghost { background: rgba(255, 255, 255, .04); }
.btn-big { min-height: 58px; padding: 0 34px; font-size: 1.1rem; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-danger { border-color: #7a3040; color: #ffc2ca; }

/* ---------------------------------------------------------------- Cabeçalho */
.top {
  position: sticky; top: 0; z-index: 50; background: rgba(11, 8, 20, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 196, 106, .18);
}
.top-row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .96rem; opacity: .86; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; background: rgba(143, 91, 255, .16); color: #fff; }
.top-actions { display: flex; gap: 10px; align-items: center; flex: none; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--stone-2); color: var(--text); font-size: 1.3rem; cursor: pointer; }
.bonus-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(232, 196, 106, .14); border: 1px solid rgba(232, 196, 106, .45); color: var(--gold); font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------------------------------------------------------------- Abertura */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: -12px; z-index: -2; background: url("../img/selecao.jpg") center 68% / cover no-repeat; transform: scale(1.22); transform-origin: 50% 78%; filter: blur(2.5px) saturate(1.15); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(ellipse at 50% 45%, rgba(11, 8, 20, .5), rgba(11, 8, 20, .88) 72%),
  linear-gradient(180deg, rgba(11, 8, 20, .55), rgba(11, 8, 20, .2) 35%, var(--night) 98%); }
.hero-inner { text-align: center; padding-top: 70px; padding-bottom: 90px; }
.hero-logo { width: min(620px, 84vw); height: auto; margin: 0 auto 18px; filter: drop-shadow(0 12px 44px rgba(143, 91, 255, .5)); }
.hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .8); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { max-width: 640px; margin: 0 auto 28px; font-size: 1.15rem; color: #e3daf7; text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 820px; margin: 44px auto 0; }
.fact { background: rgba(18, 13, 32, .72); border: 1px solid rgba(232, 196, 106, .22); border-radius: var(--radius); padding: 14px 8px; backdrop-filter: blur(4px); }
.fact b { display: block; font: 700 1.9rem var(--display); color: var(--gold); line-height: 1.1; }
.fact span { font-size: .84rem; color: var(--muted); }

/* ---------------------------------------------------------------- Seções */
.section { padding: 84px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--night-2), var(--night)); border-top: 1px solid rgba(143, 91, 255, .14); border-bottom: 1px solid rgba(143, 91, 255, .14); }
.kicker { display: inline-block; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.kicker::before { content: "✦ "; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.frame { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(232, 196, 106, .35); box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 6px rgba(143, 91, 255, .08); background: #000; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 16 / 9; }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); }
.quote { font: italic 1.25rem/1.5 var(--display); color: #e9defc; border-left: 3px solid var(--gold); padding: 6px 0 6px 20px; margin: 0 0 22px; }

.cards { display: grid; gap: 18px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: linear-gradient(180deg, var(--stone-2), var(--stone)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { color: #fff; }
.card p:last-child { margin-bottom: 0; }

/* Mapas */
.maps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--stone); min-height: 250px; display: flex; align-items: flex-end; isolation: isolate; }
.map:first-child { grid-column: span 2; }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.map:hover img { transform: scale(1.06); }
.map::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 8, 20, 0) 25%, rgba(11, 8, 20, .93) 88%); }
.map-body { padding: 18px; }
.map-body h3 { margin-bottom: 4px; }
.map-body p { margin: 0; font-size: .92rem; color: #d6cdee; }
.tag { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(232, 196, 106, .16); border: 1px solid rgba(232, 196, 106, .45); color: var(--gold); margin-bottom: 8px; }

/* Asas */
.wings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wing { text-align: center; padding: 26px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--tone) 26%, transparent), transparent 62%), var(--stone); }
.wing img { width: 190px; height: 190px; object-fit: contain; margin: 0 auto 6px; filter: drop-shadow(0 0 26px color-mix(in srgb, var(--tone) 70%, transparent)); }
.wing h3 { color: var(--tone); }

/* Galeria de magias */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shots figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); position: relative; aspect-ratio: 16 / 10; }
.shots img { width: 100%; height: 100%; object-fit: cover; }
.shots figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; font-size: .86rem; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(11, 8, 20, .92)); }

/* ---------------------------------------------------------------- Tickets */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.ticket {
  position: relative; display: flex; flex-direction: column; border-radius: 18px; padding: 26px 22px 22px;
  background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--tone) 22%, transparent), transparent 55%), linear-gradient(180deg, var(--stone-2), var(--stone));
  border: 1px solid color-mix(in srgb, var(--tone) 55%, var(--line));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}
.ticket.is-best { box-shadow: 0 0 0 2px var(--tone), 0 22px 60px color-mix(in srgb, var(--tone) 26%, transparent); }
.ticket-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--tone); color: #1d1503; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.ticket-stub {
  position: relative; margin: 0 auto 16px; width: 100%; max-width: 250px; padding: 16px 10px; text-align: center; border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 92%, #fff), color-mix(in srgb, var(--tone) 62%, #000));
  color: #1b1304; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 10px 26px rgba(0, 0, 0, .45);
}
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--stone); transform: translateY(-50%); }
.ticket-stub::before { left: -11px; }
.ticket-stub::after { right: -11px; }
.ticket-bonus { display: block; font: 800 3rem/1 var(--display); letter-spacing: -.02em; }
.ticket-stub small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.ticket h3 { text-align: center; color: var(--tone); margin-bottom: 4px; font-size: 1.4rem; }
.ticket-desc { text-align: center; color: var(--muted); font-size: .95rem; min-height: 3em; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 6px 0 16px; border: 0; padding: 0; min-width: 0; }
.plans legend { padding: 0; margin-bottom: 8px; font-size: .82rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.plan { position: relative; }
.plan input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.plan span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .28); font-size: .74rem; color: var(--muted); line-height: 1.15; transition: border-color .15s, background .15s; }
.plan span b { font-size: 1.15rem; color: var(--text); }
.plan input:checked + span { border-color: var(--tone); background: color-mix(in srgb, var(--tone) 20%, transparent); color: var(--text); box-shadow: 0 0 0 1px var(--tone); }
.plan input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.price { text-align: center; margin: auto 0 14px; }
.price-main { font: 800 2.3rem/1.1 var(--display); color: #fff; }
.price-main small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.price-day { font-size: .88rem; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #1d1503; font: 800 1.1rem var(--display); margin-bottom: 12px; }
.steps b { display: block; margin-bottom: 4px; }
.notice { border: 1px solid rgba(232, 196, 106, .45); background: rgba(232, 196, 106, .08); border-radius: var(--radius); padding: 16px 18px; color: #f3e6c2; }
.notice.warn { border-color: rgba(255, 122, 138, .5); background: rgba(255, 122, 138, .08); color: #ffd3d9; }
.notice.ok { border-color: rgba(123, 224, 164, .5); background: rgba(123, 224, 164, .08); color: #d2f7e1; }
.notice b { color: #fff; }

/* ---------------------------------------------------------------- Página interna (loja, download, conta) */
.page-head { padding: 64px 0 34px; text-align: center; background: radial-gradient(ellipse at 50% 0, rgba(143, 91, 255, .28), transparent 62%); }
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.page-body { padding: 20px 0 84px; }
.stack > * + * { margin-top: 26px; }

.dl-box { max-width: 760px; margin: 0 auto; text-align: center; padding: 38px 26px; border-radius: 20px; border: 1px solid rgba(232, 196, 106, .4); background: radial-gradient(circle at 50% 0, rgba(232, 196, 106, .16), transparent 60%), var(--stone); }
.dl-meta { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.req { width: 100%; border-collapse: collapse; }
.req th, .req td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.req th { width: 34%; color: var(--muted); font-weight: 600; }

/* Conta */
.auth { max-width: 460px; margin: 0 auto; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--stone); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.tabs button { min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 600 1rem var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--violet); color: #fff; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.field input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: #0d0919; color: var(--text); font: 1rem var(--body); }
.field input:focus { border-color: var(--violet-soft); outline: none; box-shadow: 0 0 0 3px rgba(143, 91, 255, .28); }
.field small { color: var(--muted); font-size: .8rem; }
.form-error { color: var(--danger); min-height: 1.4em; margin: 4px 0 10px; font-size: .94rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.panel { background: linear-gradient(180deg, var(--stone-2), var(--stone)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { font-size: 1.35rem; }
.bonus-card { border-color: rgba(232, 196, 106, .55); background: radial-gradient(circle at 0 0, rgba(232, 196, 106, .18), transparent 60%), var(--stone); }
.bonus-big { font: 800 2.6rem/1 var(--display); color: var(--gold); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .22); }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; }
.row-main span { font-size: .86rem; color: var(--muted); }
.badge { flex: none; display: grid; place-items: center; min-width: 62px; height: 46px; padding: 0 8px; border-radius: 10px; font: 800 1.05rem var(--display); color: #1b1304; background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 92%, #fff), color-mix(in srgb, var(--tone) 60%, #000)); }
.state { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.state.on { color: var(--ok); border-color: rgba(123, 224, 164, .5); }
.state.wait { color: var(--gold); border-color: rgba(232, 196, 106, .5); }
.row.is-over { opacity: .55; }
.empty { color: var(--muted); padding: 10px 2px; }

/* Janela de confirmação */
dialog.modal { border: 1px solid rgba(232, 196, 106, .5); border-radius: 16px; background: var(--stone-2); color: var(--text); padding: 26px; width: min(480px, calc(100vw - 32px)); box-shadow: 0 30px 90px rgba(0, 0, 0, .8); }
dialog.modal::backdrop { background: rgba(5, 3, 10, .78); backdrop-filter: blur(3px); }
.modal h2 { font-size: 1.45rem; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
/* Pagamento por Pix (TAR-098): QR Code sobre fundo branco (os leitores precisam do contraste) e o código copia e cola. */
.modal-pix { text-align: center; }
.modal-pix h2 { margin-bottom: .3em; }
.pix-qr { width: 208px; height: 208px; margin: 2px auto 12px; padding: 10px; background: #fff; border-radius: 12px; image-rendering: pixelated; }
.pix-code { width: 100%; resize: none; margin-bottom: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #0d0919; color: var(--text); font: .78rem/1.4 ui-monospace, Consolas, monospace; word-break: break-all; }
.pix-code:focus { border-color: var(--violet-soft); outline: none; box-shadow: 0 0 0 3px rgba(143, 91, 255, .28); }
.pix-state { margin: 14px 0 2px; color: var(--gold); font-weight: 600; }
.pix-left { display: block; margin-bottom: 12px; font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: #1f1738; border: 1px solid var(--gold); color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .6); max-width: calc(100vw - 32px); }
.toast.is-error { border-color: var(--danger); }

/* ---------------------------------------------------------------- Chamada final e rodapé */
.final { text-align: center; padding: 90px 0; background: radial-gradient(ellipse at 50% 100%, rgba(143, 91, 255, .32), transparent 65%); }
.foot { border-top: 1px solid rgba(232, 196, 106, .18); padding: 34px 0 44px; color: var(--muted); font-size: .9rem; }
.foot-row { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--gold); }

/* ---------------------------------------------------------------- Telas menores */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 2px; margin: 0; padding: 10px 14px 16px; background: rgba(11, 8, 20, .98); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; font-size: 1.05rem; }
  .menu-btn { display: block; }
  .top-row { gap: 10px; }
  .top-actions { margin-left: auto; }
  .split, .grid2 { grid-template-columns: 1fr; gap: 28px; }
  .split.flip > :first-child { order: 0; }
  .maps { grid-template-columns: repeat(2, 1fr); }
  .tickets, .wings, .cards.c3 { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .cards.c4, .steps, .shots { grid-template-columns: repeat(2, 1fr); }
  .frame.tall { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --gutter: 20px; }
  .section { padding: 58px 0; }
  .brand img { height: 42px; }
  .top-actions .btn-ghost, .top-actions .bonus-chip { display: none; }
  .top-actions .btn { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 36px; }
  .top-row { min-height: 60px; }
  .bonus-big { font-size: 2rem; }
  .page-head { padding: 40px 0 24px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 44px; padding-bottom: 60px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
  .maps { grid-template-columns: 1fr; }
  .map:first-child { grid-column: auto; }
  .map { min-height: 210px; }
  .cards.c4, .steps { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .row { flex-wrap: wrap; }
  .row .btn { width: 100%; }
  .plan span { min-height: 52px; }
  .modal-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------------------------------------------------------------- Leitura e minimalismo (TAR-105)
   Títulos em peso médio (não mais em negrito pesado), textos que não quebram em viúvas nem no meio de uma ideia,
   colunas de leitura com largura confortável e caixas discretas: linha fina, sem fundo carregado nem sombra forte. */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(1.55rem, 6.2vw, 3.4rem); line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.3rem); line-height: 1.18; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.08rem; margin: 0; }
p, li, figcaption { text-wrap: pretty; hyphens: manual; overflow-wrap: break-word; }
strong, b { font-weight: 600; }
.line { display: block; }
@media (min-width: 420px) { .line { white-space: nowrap; } }
.hero h1 em { font-weight: 600; }
.hero-lead { max-width: 56ch; font-size: 1.1rem; line-height: 1.65; text-wrap: balance; }
.section-head p, .page-head p, .journey-head p, .ticket-desc, .map-body p, .chapters p, .voice span { text-wrap: balance; }
.btn, .btn-big { font-weight: 600; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--night-2); border: 0; }
.kicker { font-size: .74rem; letter-spacing: .26em; font-weight: 500; margin-bottom: 14px; }
.kicker::before { content: none; }
.section-head { max-width: 62ch; margin-bottom: 52px; }
.section-head p { font-size: 1.04rem; line-height: 1.7; }
.split { gap: clamp(32px, 5vw, 72px); }
.prose > p, .prose > ul { max-width: 58ch; }
.prose > p { line-height: 1.75; color: #d9d1ee; }
.lead { font-size: 1.16rem; line-height: 1.65; color: var(--text) !important; }
.question { font-size: 1.16rem; color: var(--gold) !important; margin-top: 1.4em; }
.quote { font-style: normal; border-left-width: 1px; }
.ticks { gap: 12px; margin: 22px 0 28px; }
.ticks li { padding-left: 22px; line-height: 1.6; color: #d9d1ee; }
.ticks li::before { content: ""; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .8; }

/* Caixas discretas */
.frame { border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); border-radius: 16px; }
.facts { gap: 0; max-width: 760px; margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); }
.fact { background: none; border: 0; border-radius: 0; backdrop-filter: none; padding: 20px 10px 0; }
.fact + .fact { border-left: 1px solid rgba(255, 255, 255, .1); }
.fact b { font-weight: 600; font-size: 1.8rem; }
.fact span { font-size: .82rem; line-height: 1.4; display: block; margin-top: 4px; }
.card, .panel, .steps li, .row { background: rgba(255, 255, 255, .025); border-color: rgba(255, 255, 255, .08); }
.card, .panel { padding: 28px; border-radius: 16px; }
.steps li { padding: 24px 22px; border-radius: 16px; }
.steps li::before { background: none; border: 1px solid var(--gold); color: var(--gold); font-weight: 600; width: 34px; height: 34px; font-size: 1rem; }
.map { border-color: rgba(255, 255, 255, .08); border-radius: 16px; min-height: 270px; }
.map-body { padding: 22px; }
.map-body p { line-height: 1.55; max-width: 44ch; }
.tag { font-weight: 500; font-size: .7rem; letter-spacing: .12em; background: none; border-color: rgba(232, 196, 106, .4); padding: 3px 10px; }
.wing { background: none; border-color: rgba(255, 255, 255, .08); border-radius: 16px; padding: 34px 24px 28px; }
.wing h3 { font-weight: 600; }
.shots { gap: 16px; }
.shots figure { border-color: rgba(255, 255, 255, .08); border-radius: 14px; }
.shots figcaption { font-weight: 500; padding: 22px 14px 10px; }
.ticket { box-shadow: none; padding: 30px 26px 26px; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--tone) 14%, transparent), transparent 55%), rgba(255, 255, 255, .025); border-color: color-mix(in srgb, var(--tone) 40%, rgba(255, 255, 255, .08)); }
.ticket.is-best { box-shadow: 0 0 0 1px var(--tone); }
.ticket-flag, .ticket-stub small, .state { font-weight: 600; }
.ticket-bonus, .price-main, .bonus-big, .badge { font-weight: 700; }
.ticket-desc { line-height: 1.55; }
.notice { border-radius: 16px; padding: 18px 22px; line-height: 1.6; }
.dl-box { border-color: rgba(232, 196, 106, .3); padding: 46px 32px; }
.page-head { padding: clamp(48px, 7vw, 84px) 0 40px; }
.page-head p { max-width: 58ch; line-height: 1.7; }
.final { padding: clamp(72px, 10vw, 130px) 0; }
.foot { border-top-color: rgba(255, 255, 255, .08); }

/* A jornada: sete capítulos em linhas, sem caixas */
.journey { margin-top: clamp(56px, 8vw, 104px); }
.journey-head { max-width: 58ch; margin-bottom: 30px; }
.journey-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .5em; }
.journey-head p { color: var(--muted); line-height: 1.7; margin: 0; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); border-top: 1px solid rgba(255, 255, 255, .1); }
.chapters li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; padding: 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.chapter-n { font: 500 1.5rem/1.2 var(--display); color: var(--gold); opacity: .85; font-variant-numeric: tabular-nums; }
.chapter-place { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 5px 0 8px; }
.chapters p { margin: 0; color: #d9d1ee; line-height: 1.6; max-width: 46ch; }
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(24px, 4vw, 56px); margin-top: clamp(44px, 6vw, 72px); }
.voices-title { grid-column: 1 / -1; margin: 0 0 6px; color: var(--muted); font-size: .98rem; }
.voice { border-left: 1px solid rgba(232, 196, 106, .5); padding: 2px 0 2px 18px; }
.voice b { display: block; margin-bottom: 4px; }
.voice span { color: #cfc6e6; font-size: .96rem; line-height: 1.6; display: block; max-width: 34ch; }

@media (max-width: 980px) {
  .chapters { grid-template-columns: minmax(0, 1fr); }
  .voices { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .voice span { max-width: 52ch; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
  .fact:nth-child(odd) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); padding-bottom: 4px; }
  .fact { padding: 18px 8px; }
  .card, .panel, .ticket { padding: 24px 20px; }
  .chapters li { grid-template-columns: 34px minmax(0, 1fr); padding: 20px 0; }
  .section-head { margin-bottom: 36px; }
}

/* ---------------------------------------------------------------- Diagramação dos textos (TAR-106)
   Escala: título > subtítulo > descrição. Títulos um pouco maiores, subtítulos menores que os títulos, descrições
   menores que o texto corrido. E nenhuma linha final com duas ou três palavras sozinhas: todo texto curto (avisos,
   descrições, legendas, itens de lista) tem as linhas equilibradas; o texto corrido longo evita a última linha curta. */
body { font-size: 16px; }
h1 { font-size: clamp(1.7rem, 6.4vw, 3.8rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.7rem); line-height: 1.15; margin-bottom: .55em; }
h3 { font-size: 1.14rem; line-height: 1.3; }
h4 { font-size: 1rem; }
.panel h2, .modal h2 { font-size: 1.25rem; }
.journey-head h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p, li, dd, dt, figcaption, legend, label, small, td, th, .notice, .empty, .hero-note, .price-day, .row-main span, .dl-meta, .form-error, .pix-state { text-wrap: balance; }
.prose > p { text-wrap: pretty; font-size: .98rem; }
.lead { font-size: 1.08rem; }
.question { font-size: 1.08rem; }

.hero-lead { font-size: 1.04rem; }
.hero-note { font-size: .84rem; }
.section-head p, .page-head p { font-size: 1rem; }
.journey-head p { font-size: .96rem; }
.ticks li { font-size: .95rem; }
.chapters p, .voice span { font-size: .92rem; }
.chapter-place { font-size: .7rem; }
.map-body p { font-size: .88rem; }
.wing p, .card p, .panel p, .steps li, .ticket-desc, .row-main span { font-size: .9rem; line-height: 1.6; }
.steps b { font-size: 1rem; }
.muted.small, .small { font-size: .84rem; }
.fact span { font-size: .78rem; }

/* Avisos: texto mais contido, numa coluna que cabe em duas linhas parecidas, centrada na caixa. */
.notice { font-size: .93rem; }
.notice > p, .notice { max-inline-size: none; }
.notice p { max-width: 68ch; margin-left: auto; margin-right: auto; }
.notice p:last-child { margin-bottom: 0; }
.dl-box p { max-width: 52ch; margin-left: auto; margin-right: auto; font-size: .95rem; }
.foot { font-size: .86rem; }
