:root {
  --bg: #121214; --card: #1c1c20; --card2: #25252a; --txt: #f5f2ee;
  --muted: #b3afb4; --accent: #ff6358; --accent2: #ff8f88; --ok: #91dbb7;
  --line: #38383e; --radius: 18px; --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--txt); line-height: 1.6; }
body::before { content: ""; position: absolute; inset: 90px 0 auto; height: 700px; background: radial-gradient(ellipse at 8% 25%, #53231f33, transparent 56%); pointer-events: none; z-index: -1; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
#conteudo:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; transform: translateY(-150%); background: var(--txt); color: var(--bg); padding: 12px 20px; z-index: 20; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.topbar { border-bottom: 1px solid var(--line); background: #141416; }
.topbar-inner { max-width: var(--max); margin: auto; padding: 22px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 13px; font-size: 25px; font-weight: 750; letter-spacing: -1px; text-decoration: none; line-height: 1.1; }
.brand-light { font-weight: 650; color: var(--accent); }
.brand small { display: block; font-size: 8px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); margin-top: 8px; }
.brand-mark { display: flex; align-items: center; justify-content: center; height: 43px; width: 43px; border-radius: 12px; background: var(--accent); color: #25100e; font-size: 31px; font-weight: 750; letter-spacing: -2px; padding-right: 2px; transform: rotate(-6deg); }
.orders-link { display: flex; gap: 24px; align-items: center; min-height: 44px; padding: 8px 17px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; text-decoration: none; }
.orders-link:hover, .orders-link.is-current { border-color: var(--accent); background: #ff63580a; }
.orders-link span { font-size: 20px; color: var(--accent); }
.account-nav { display: flex; align-items: center; gap: 14px; }
.account-name { color: var(--muted); font-size: 12px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-button { color: var(--muted); border: 0; background: transparent; min-height: 44px; padding: 8px; cursor: pointer; font-size: 12px; }
.logout-button:hover { color: var(--accent); }
.login-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: 1050px; margin: 28px auto; }
.login-intro { padding-top: 60px; }
.login-intro h1 > span { color: var(--accent); }
.login-value { color: var(--txt); font-size: 14px; padding-top: 24px; margin-top: 30px; border-top: 1px solid var(--line); }
.login-card { margin: 0; padding: 32px; }
.login-card .sub { font-size: 13px; }
.login-submit, .google-login { width: 100%; margin-top: 22px; }
.google-login { margin-top: 0; }
.login-error { border: 1px solid var(--accent2); border-radius: 10px; padding: 14px; color: #ffd7d3; font-size: 13px; background: #ff8f880a; }
.login-divider { position: relative; text-align: center; color: var(--muted); font-size: 11px; margin: 24px 0; }
.login-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.login-divider > span { position: relative; background: var(--card); padding: 0 12px; }
.login-help { margin: 22px 0 0; font-size: 12px; color: var(--muted); }
.login-steps { list-style: none; padding: 0; margin: 20px 0 4px; display: grid; gap: 2px; }
.login-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 6px 0; position: relative; }
.login-step:not(:last-child)::before { content: ""; position: absolute; left: 16.5px; top: 44px; bottom: -4px; width: 1px; background: var(--line); }
.login-step-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent); background: #ff635812; color: var(--accent); font-size: 13px; font-weight: 700; align-self: start; position: relative; z-index: 1; }
.login-step-body { min-width: 0; }
.login-step-title { margin: 5px 0 3px; font-size: 14px; font-weight: 650; color: var(--txt); line-height: 1.4; }
.login-step-desc { margin: 0 0 12px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.login-step-desc code { background: #ffffff0d; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-family: ui-monospace, monospace; font-size: 11px; color: var(--txt); }
.login-step-desc kbd { background: #ffffff0d; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font-family: inherit; font-size: 11px; color: var(--txt); }
.login-step-action { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card2); color: var(--txt); font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .18s, background .18s; }
.login-step-action:hover { border-color: var(--accent); background: #33282a; }
.login-step-action > span { color: var(--accent); }
@media (max-width: 760px) {
  .account-nav { gap: 6px; }
  .account-name { display: none; }
  .login-layout { grid-template-columns: 1fr; gap: 22px; margin: 0; }
  .login-intro { padding-top: 8px; }
  .login-intro h1 { font-size: 36px; }
  .login-value { display: none; }
  .login-card { padding: 24px; }
}
@media (max-width: 360px) { .account-nav .orders-link { font-size: 11px; padding: 8px; gap: 5px; } }
.progress { max-width: var(--max); margin: auto; padding: 26px 32px; }
.steps { display: flex; list-style: none; padding: 0; margin: 0; gap: 12px; justify-content: space-between; }
.step { display: flex; align-items: center; gap: 9px; color: #a6a2aa; font-size: 12px; flex: 1; position: relative; }
.step:not(:last-child)::after { content: ""; background: var(--line); height: 1px; flex: 1; margin-left: 8px; }
.step-number { height: 29px; width: 29px; flex: 0 0 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; }
.step.active { color: var(--txt); font-weight: 650; }
.step.active .step-number { color: #25100e; background: var(--accent); border-color: var(--accent); }
.step.complete .step-number { color: var(--ok); border-color: #91dbb766; background: #91dbb710; }
.mobile-progress { display: none; }
.container { max-width: var(--max); margin: auto; padding: 32px 32px 72px; min-height: 65vh; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.13; font-weight: 650; letter-spacing: -1.8px; margin: 0 0 16px; }
h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.6px; margin: 0 0 12px; font-weight: 600; }
.sub { color: var(--muted); margin: 0 0 20px; font-size: 15px; line-height: 1.75; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 2.2px; color: var(--accent); margin: 0 0 22px; }
.page-heading { margin: 30px 0; max-width: 790px; }
.page-heading .eyebrow { margin-bottom: 12px; }
.location-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.location-intro { padding-top: 24px; }
.location-intro h1 { font-size: clamp(40px, 4.4vw, 59px); letter-spacing: -2.6px; line-height: 1.13; }
.location-intro h1 > span { color: var(--accent); }
.location-intro .sub { margin-top: 25px; }
.hero-cta { margin-top: 4px; }
#escolher-localizacao { scroll-margin-top: 24px; }
.half-price-note { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 22px; }
.half-price-note strong { color: var(--accent); display: block; font-size: 13px; font-weight: 600; }
.half-price-note span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.ticket-prices { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 36px; margin: 22px 0 12px; }
.ticket-prices p { margin: 0; }
.ticket-prices span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 7px; }
.ticket-full s { font-size: 20px; color: var(--muted); text-decoration-thickness: 1px; }
.ticket-half strong { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; letter-spacing: -1px; color: var(--accent); }
.ticket-saving { font-size: 12px; color: var(--txt); margin: 0 0 22px; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #ff635815; margin: 0 8px 1px 0; }
.cinema-art { position: relative; overflow: hidden; border: 1px solid #44322f; border-radius: 20px; height: 215px; max-width: 440px; margin-top: 35px; background: radial-gradient(ellipse at 50% 0, #833d3255, transparent 75%), #191517; display: flex; flex-direction: column; align-items: center; justify-content: end; padding: 24px 20px 0; }
.art-screen { position: absolute; top: 27px; width: 72%; height: 64px; border-top: 3px solid #ffcbb4; border-radius: 50% / 12px; background: linear-gradient(#ffbca01a, transparent); box-shadow: 0 -9px 30px #ffb59b13; }
.art-caption { position: absolute; top: 90px; font-size: 8px; color: #e8b5a3; letter-spacing: 2px; }
.art-seats { display: flex; gap: 9px; transform: perspective(350px) rotateX(10deg); }
.art-seats i { display: block; width: 33px; height: 33px; border: 1px solid #8a4b43; border-top: 3px solid #9c594d; border-radius: 10px 10px 4px 4px; background: linear-gradient(#65342f, #2b1b1d); box-shadow: 0 6px 0 2px #2d1c1e; }
.art-seats.second { margin-top: 15px; transform: translateY(5px); }
.art-seats.second i { width: 36px; height: 35px; }
.intro-note { color: var(--muted); font-size: 12px; margin-top: 20px; }
.intro-note span { color: var(--accent); padding-right: 9px; }
.location-panel { border: 1px solid var(--line); background: linear-gradient(150deg, #252125, #1b1b1f 48%); border-radius: 24px; padding: 28px; }
.section-label { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; letter-spacing: 1.5px; margin-bottom: 24px; }
.section-label > span:last-child { color: var(--accent); font-size: 22px; }
.location-panel h2 { font-size: 26px; }
.location-panel .sub { font-size: 13px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0; }
.search-field { display: flex; align-items: center; gap: 12px; border: 1px solid #555159; background: #141417; border-radius: 11px; padding: 0 14px; max-width: 420px; flex: 1; }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px #ff635819; }
.search-field > span[aria-hidden] { font-size: 27px; color: var(--muted); }
.search-field input { background: transparent; color: var(--txt); border: 0; width: 100%; min-width: 0; padding: 12px 0; font-size: 16px; outline: none; }
.search-field input::placeholder { color: var(--muted); font-size: 13px; opacity: 1; }
.result-count { font-size: 11px; color: var(--muted); white-space: nowrap; }
.location-panel .list-toolbar { flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.location-panel .search-field { flex-basis: 100%; max-width: none; }
.location-panel .result-count { margin-left: auto; }
.grid { list-style: none; padding: 0; margin: 20px 0; }
.lista-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lista-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px; min-height: 68px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .18s, background .18s; }
.lista-links a:hover { border-color: var(--accent); background: #2b2224; }
.state-list { grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.state-list a { padding: 12px; min-height: 64px; gap: 10px; background: #ffffff03; font-size: 12px; }
.state-code { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; background: #343037; color: #e1c9c2; border-radius: 8px; font-size: 10px; font-weight: 650; }
.link-name { flex: 1; }
.link-arrow { color: var(--accent); font-size: 20px; flex-shrink: 0; }
.panel-note { margin: 20px 0 0; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 22px; }
.posters a { display: block; text-decoration: none; }
.poster-wrap { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--card2); }
.posters img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; display: block; transition: transform .25s; }
.posters a:hover img { transform: scale(1.035); }
.poster-cta { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 30px 15px 12px; background: linear-gradient(transparent, #000e); font-size: 12px; color: #fff; }
.poster-cta > span { color: #ff8c83; }
.sem-poster { aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 22px; color: var(--muted); background: radial-gradient(ellipse at top right, #71352d88, transparent), var(--card); }
.sem-poster > span { font-size: 50px; font-weight: 850; color: #ff8a8044; letter-spacing: -6px; margin-bottom: 25px; }
.titulo-filme { display: block; margin: 12px 0 3px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.movie-caption { color: var(--muted); font-size: 11px; }
.cinema, .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 18px 0; }
.cinema-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.cinema-heading .eyebrow { font-size: 8px; margin: 0 0 3px; }
.cinema-heading h2 { font-size: 20px; margin: 0; }
.cinema-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #ff635812; color: var(--accent); font-size: 27px; flex-shrink: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; }
.chip { display: flex; flex-direction: column; gap: 4px; position: relative; min-width: 158px; padding: 14px 36px 14px 16px; border: 1px solid #55515a; border-radius: 10px; color: var(--txt); text-decoration: none; background: var(--card2); font-variant-numeric: tabular-nums; }
.chip strong { font-size: 17px; }
.chip > span { color: var(--muted); font-size: 11px; }
.chip .session-arrow { color: var(--accent); position: absolute; right: 12px; top: 12px; font-size: 18px; }
a.chip:hover { border-color: var(--accent); background: #33282a; }
.chip.esgotado { border-style: dashed; background: transparent; }
.chip.esgotado strong { color: var(--muted); text-decoration: line-through; }
.date-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 30px; }
.date-button { border: 1px solid var(--line); padding: 10px 18px; min-height: 44px; border-radius: 30px; background: var(--card); color: var(--muted); cursor: pointer; }
.date-button[aria-pressed="true"] { background: var(--txt); color: var(--bg); border-color: var(--txt); }
.seat-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.seat-panel { padding: 24px 12px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); min-width: 0; }
.seat-hint { color: var(--muted); font-size: 12px; text-align: center; margin: 8px 0 20px; }
.tela { text-align: center; letter-spacing: .5em; color: #eac5b9; border-top: 3px solid var(--accent); border-radius: 50% / 18px; background: linear-gradient(#ff63581c, transparent); margin: 12px auto 26px; max-width: 480px; padding-top: 16px; font-size: 10px; }
.sala { position: relative; overflow: auto; padding: 12px; max-width: 100%; max-height: 560px; overscroll-behavior: contain; scrollbar-width: thin; }
.seat-stage { position: relative; width: max-content; margin-inline: auto; }
.seat-grid { display: flex; flex-direction: column; gap: 8px; align-items: center; width: max-content; transform-origin: top left; }
.map-ready .seat-grid { position: absolute; top: 0; left: 0; transform: scale(var(--map-scale, 1)); }
.map-ready .seat-grid .assento { font-size: var(--seat-label-size, 10px); }
.map-ready .seat-grid .assento:not(.espaco) { border-width: var(--seat-border-size, 1px); }
.map-compact .seat-grid .assento { font-size: 0; }
.map-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 8px 12px; }
.map-toolbar button { min-height: 44px; border: 1px solid var(--line); background: var(--card2); color: var(--txt); border-radius: 10px; cursor: pointer; }
.map-toolbar button:hover { border-color: var(--accent); }
.map-toolbar button:disabled { opacity: .4; cursor: default; }
.map-fit { padding: 8px 12px; font-size: 12px; }
.map-zoom { display: flex; align-items: center; gap: 4px; }
.map-zoom button { width: 44px; font-size: 22px; }
.map-zoom output { min-width: 42px; text-align: center; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fileira { display: grid; grid-auto-flow: column; grid-auto-columns: 38px; grid-template-rows: 38px; height: 38px; gap: 7px; }
.assento { width: 38px; height: 38px; min-width: 38px; border-radius: 10px 10px 5px 5px; border: 1px solid #6c6971; font-size: 10px; display: inline-grid; place-items: center; color: var(--muted); background: var(--card2); padding: 0; position: relative; }
.assento.livre { color: var(--txt); cursor: pointer; border-bottom: 3px solid #807882; }
.assento.livre:hover { border-color: var(--accent); }
.assento.livre.selecionado { background: var(--accent); color: #25100e; border-color: var(--accent); font-weight: 750; }
.assento.livre.selecionado::after { content: "✓"; position: absolute; top: -7px; right: -5px; border-radius: 50%; background: var(--txt); width: 15px; height: 15px; font-size: 10px; color: #25100e; }
.assento.ocupado { background: #a69eaa; border-color: #c9c1cd; color: #241f28; cursor: not-allowed; }
.occupied-mark { font-size: 32px; font-weight: 650; line-height: 1; }
.assento.indisponivel { background: transparent; border-style: dashed; }
.seat-grid .assento.espaco { background: transparent; border: 0; margin: 0; padding: 0; min-height: 0; }
.legenda { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; margin: 18px 8px 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--txt); }
.legenda > span { display: flex; align-items: center; gap: 7px; }
.legenda .assento { width: 24px; height: 24px; min-width: 24px; border-radius: 6px 6px 3px 3px; pointer-events: none; font-style: normal; font-size: 15px; }
.legenda .occupied-mark { font-size: 24px; }
.legenda .assento.selecionado::after { display: none; }
.order-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.order-list > li { min-width: 0; }
.order-link { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .18s; }
.order-link:hover { border-color: var(--accent); }
.order-link { height: 100%; }
.order-list-main { min-width: 0; }
.order-list-main h2 { font-size: 22px; margin: 12px 0 6px; overflow-wrap: anywhere; }
.order-list-main p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.order-code { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.order-list-end { display: grid; gap: 14px; text-align: right; flex-shrink: 0; }
.order-list-end strong { font-size: 22px; }
.order-open { color: var(--accent); font-size: 14px; }
.order-open > span { margin-left: 10px; }
.order-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.order-detail-layout .card { margin: 0 0 18px; }
.order-detail-main { grid-column: 1; grid-row: 1; min-width: 0; }
.order-payment { grid-column: 2; grid-row: 1; position: sticky; top: 24px; }
.order-payment h2 { margin: 18px 0 10px; }
.order-payment .sub { font-size: 14px; margin-bottom: 0; }
.order-payment .botao { width: 100%; margin-top: 22px; }
.order-total { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 20px; display: grid; gap: 8px; }
.order-total > span { font-size: 12px; color: var(--muted); }
.order-total strong { font-size: 30px; }
.order-refresh { display: block; text-align: center; padding: 14px 0 0; font-size: 13px; }
.order-session h2 { font-size: 28px; margin: 14px 0 8px; overflow-wrap: anywhere; }
.order-facts { display: flex; flex-wrap: wrap; gap: 18px 32px; margin: 22px 0 0; }
.order-facts dt { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.order-facts dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.order-id { width: 100%; min-width: 0; }
.order-id dd { font-size: 12px; }
.order-ticket-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--card2); color: var(--muted); font-size: 13px; margin-left: 6px; }
.order-ticket-list { list-style: none; margin: 16px 0 0; padding: 0; }
.order-ticket-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.order-seat { display: grid; place-items: center; min-width: 54px; min-height: 50px; padding: 8px; border-radius: 10px; background: var(--card2); border: 1px solid var(--line); font-weight: 700; }
.order-ticket-list li > div { min-width: 0; overflow-wrap: anywhere; }
.order-ticket-list strong { font-size: 14px; }
.order-ticket-list p { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.order-ticket-price { margin-left: auto; flex-shrink: 0; font-size: 14px; }
.order-receipt summary, .order-cancel summary { cursor: pointer; font-size: 14px; min-height: 24px; }
.order-receipt summary > span { color: var(--muted); margin-left: 12px; font-size: 12px; overflow-wrap: anywhere; }
.order-notice { padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 760px) {
  .order-list { grid-template-columns: minmax(0, 1fr); }
  .order-link { padding: 20px; flex-direction: column; align-items: stretch; gap: 18px; }
  .order-list-main h2 { font-size: 20px; }
  .order-list-end { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
  .order-list-end strong { font-size: 20px; }
  .order-detail-layout { display: flex; flex-direction: column; gap: 0; }
  .order-detail-layout > * { width: 100%; }
  .order-payment { position: static; }
  .order-session h2 { font-size: 24px; }
  .order-ticket-list li { gap: 10px; }
  .order-seat { min-width: 44px; }
  .order-ticket-price { font-size: 13px; }
}
.booking-summary { position: sticky; top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.booking-summary h2 { font-size: 20px; }
.summary-label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 5px; }
.summary-session { font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.selecao { color: var(--muted); font-size: 13px; }
.selecao strong { color: var(--txt); }
.selected-names { min-height: 50px; font-size: 13px; color: var(--txt); }
.summary-note { font-size: 11px; color: var(--muted); margin: 16px 0 0; }
.acoes { margin: 24px 0 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; background: var(--accent); color: #25100e; border: 1px solid transparent; border-radius: 10px; padding: 12px 22px; font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .18s; }
.botao:hover:enabled, a.botao:hover { background: #ff8077; }
.botao:disabled { opacity: .45; cursor: not-allowed; }
.botao.secondary { background: transparent; color: var(--txt); border-color: var(--line); }
.botao.perigo { background: #ff8f8815; border-color: #ff8f8866; color: var(--accent2); }
.booking-summary .botao { width: 100%; }
.campo { display: block; margin: 18px 0; }
.campo > span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.campo select, .campo input, .campo textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: #151518; border: 1px solid #625c68; border-radius: 10px; color: var(--txt); font-size: 16px; }
.campo textarea { resize: vertical; font-family: ui-monospace, monospace; font-size: 12px; word-break: break-all; }
.campo input::placeholder { color: var(--muted); }
.card h2 { font-size: 20px; }
.ingresso:first-child { margin-top: 0; }
.ticket-label { display: inline-flex; color: var(--accent); background: #ff635813; padding: 5px 12px; border-radius: 6px; font-size: 11px; margin-bottom: 16px; }
.lista-resumo { list-style: none; padding: 0; margin: 0; }
.lista-resumo li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.lista-resumo li > span { min-width: 0; overflow-wrap: anywhere; }
.lista-resumo li > span:last-child { text-align: right; }
.lista-resumo li:last-child { border-bottom: 0; }
.ok { color: var(--ok); font-weight: 600; }
.falha { color: var(--accent2); font-weight: 600; }
.pendente { color: #f4d48b; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid currentColor; border-radius: 30px; padding: 6px 13px; font-size: 12px; }
.meia-status { margin: 12px 0 0; }
.meia-status--ok { color: var(--ok); }
.meia-status--bloqueado { color: var(--accent2); }
.meia-status--erro { color: #f4d48b; }
.total { margin: 20px 0 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--muted); font-size: 13px; }
.total strong { color: var(--txt); font-size: 24px; letter-spacing: -.8px; }
.pix { text-align: center; }
.qr { display: block; margin: 22px auto; width: min(240px, 100%); height: auto; background: #fff; border-radius: 12px; padding: 12px; }
.pix .campo { text-align: left; }
.copy-status { color: var(--ok); font-size: 12px; min-height: 24px; }
.payment-instructions { text-align: left; color: var(--muted); font-size: 13px; padding-left: 22px; }
.payment-instructions li { padding: 4px 0 4px 6px; }
.voltar { margin-top: 28px; }
.voltar a, .back-link { color: var(--muted); text-decoration: none; font-size: 13px; display: inline-flex; align-items: center; min-height: 44px; }
.voltar a:hover, .back-link:hover { color: var(--accent); }
.vazio { color: var(--muted); border: 1px dashed var(--line); padding: 24px; border-radius: 12px; font-size: 14px; grid-column: 1 / -1; }
.erro-box { border: 1px solid #ff8f8866; border-radius: 10px; padding: 20px; white-space: pre-wrap; word-break: break-word; color: #ffd7d3; background: #ff8f880a; font-size: 12px; }
.error-details { margin: 24px 0; }
.error-details summary { color: var(--muted); cursor: pointer; min-height: 44px; }
.tag { font-size: 11px; color: var(--muted); flex-shrink: 0; }
.mono { font-family: ui-monospace, monospace; font-size: 12px; }
.footer { display: flex; justify-content: space-between; gap: 20px; max-width: var(--max); margin: auto; border-top: 1px solid var(--line); padding: 26px 32px; font-size: 11px; color: var(--muted); }
.footer-brand { color: #d3cbd0; }
.footer-brand span { margin: 0 12px; color: var(--accent); }
@media (min-width: 1500px) { .container { padding-top: 48px; } }
@media (max-width: 1000px) {
  .location-layout { gap: 32px; grid-template-columns: .9fr 1.1fr; }
  .location-intro h1 { font-size: 44px; }
  .state-list { grid-template-columns: 1fr; }
  .seat-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 18px; }
  .step { font-size: 11px; gap: 6px; }
  .step:not(:last-child)::after { margin-left: 0; }
}
@media (max-width: 760px) {
  .topbar-inner { padding: 17px 20px; }
  .brand { font-size: 22px; }
  .brand small { font-size: 7px; letter-spacing: .8px; }
  .brand-mark { width: 36px; height: 36px; }
  .orders-link { font-size: 12px; padding: 8px 12px; gap: 12px; }
  .progress { padding: 20px; border-bottom: 1px solid var(--line); }
  .steps { gap: 7px; }
  .step { display: block; flex: 1; height: 4px; border-radius: 10px; overflow: hidden; background: var(--line); }
  .step.active { background: var(--accent); }
  .step.complete { background: #a37168; }
  .step > span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
  .step:not(:last-child)::after { display: none; }
  .mobile-progress { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin: 10px 0 0; }
  .mobile-progress strong { color: var(--txt); font-weight: 600; }
  .container { padding: 24px 20px 48px; }
  h1 { letter-spacing: -1.3px; }
  .location-layout { grid-template-columns: 1fr; gap: 30px; }
  .location-intro { padding-top: 5px; }
  .location-intro h1 { font-size: clamp(34px, 7.5vw, 48px); }
  .location-intro .sub { font-size: 14px; margin-top: 18px; margin-bottom: 0; }
  .hero-cta { margin-top: 20px; }
  .location-intro .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .cinema-art, .intro-note { display: none; }
  .location-panel { padding: 22px; }
  .location-panel h2 { font-size: 24px; }
  .state-list { grid-template-columns: 1fr 1fr; }
  .section-label { margin-bottom: 16px; }
  .state-list a { padding: 12px 10px; }
  .seat-layout, .checkout-layout { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .seat-summary { position: static; padding: 20px; }
  .seat-summary .selecao { margin: 0; }
  .seat-summary .selected-names { min-height: 0; margin: 4px 0 10px; }
  .seat-summary .acoes { margin: 0; }
  .seat-panel { padding: 20px 8px; }
  .assento { width: 44px; height: 44px; min-width: 44px; }
  .fileira { grid-auto-columns: 44px; grid-template-rows: 44px; height: 44px; }
  .card, .cinema { padding: 20px; }
  .posters { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 16px; }
  .date-filter { flex-wrap: nowrap; overflow-x: auto; padding: 5px 3px 12px; }
  .date-button { flex-shrink: 0; }
  .list-toolbar { gap: 10px; flex-wrap: wrap; }
  .search-field { flex-basis: 100%; max-width: none; }
  .footer { padding: 24px 20px; flex-direction: column; gap: 8px; }
}
@media (max-width: 420px) {
  .brand small { display: none; }
  .brand { gap: 9px; }
  .orders-link { gap: 8px; }
  .state-list { grid-template-columns: 1fr; }
  .location-panel { padding: 20px; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chip { min-width: 0; padding: 12px; }
  .chip strong { font-size: 15px; }
  .chip .session-arrow { display: none; }
  .botao { width: 100%; }
  .lista-resumo li { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .step.active, .step.complete { background: Highlight; }
  .assento.selecionado { outline: 3px solid Highlight; }
}
@media (max-width: 1000px) {
  .seat-layout { grid-template-columns: minmax(0, 1fr); }
  .seat-summary { position: static; }
}
.unlock-panel { margin: 0 0 20px; padding: 24px; scroll-margin-top: 24px; }
.unlock-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.unlock-heading h2 { margin: 0; font-size: 22px; }
.unlock-heading .summary-note { margin: 4px 0 0; }
.unlock-price { white-space: nowrap; font-size: 30px; font-weight: 700; letter-spacing: -1px; }
.unlock-price span { font-size: 18px; }
.unlock-panel .total { gap: 12px; flex-wrap: wrap; }
.unlock-panel .botao { width: auto; max-width: 100%; margin-top: 12px; }
.unlock-panel .unlock-button { border-radius: 999px; min-height: 44px; padding: 10px 22px; }
.unlock-qr { display: block; width: min(100%, 240px); height: auto; margin: 16px auto; background: white; padding: 12px; border-radius: 12px; }
.unlock-panel textarea { width: 100%; max-width: 100%; box-sizing: border-box; resize: vertical; overflow-wrap: anywhere; }
.unlock-panel label { display: block; margin-bottom: 8px; }
.unlock-title { font-weight: 700; }
.unlock-pix-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 24px; }
.unlock-pix-layout .unlock-qr { width: 220px; max-width: 100%; margin: 0; }
.unlock-pix-instruction { margin: 0; font-size: 18px; font-weight: 600; }
.unlock-pix-actions .summary-note { margin: 8px 0; }
.unlock-pix-actions .unlock-copy { width: 100%; margin-top: 12px; }
.pix-copy-feedback { color: var(--ok); font-size: 13px; margin: 8px 0; }
.pix-copy-feedback:empty { display: none; }
.pix-waiting { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 16px 0 0; color: var(--muted); }
.pix-waiting span { color: var(--accent); font-size: 10px; }
.pix-check-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--muted); }
.pix-code-details { margin-top: 20px; border-top: 1px solid var(--line); }
.pix-code-details summary { cursor: pointer; color: var(--muted); font-size: 13px; padding-block: 12px; }
.pix-code-details textarea { background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 12px; }
.mobile-qr-details, .mobile-pix-instruction { display: none; }
.cinemark-pix-panel .unlock-heading { flex-wrap: wrap; gap: 12px; }
.cinemark-pix-panel .unlock-pix-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
.cinemark-pix-panel .unlock-qr { width: 200px; }
.payment-layout > div { min-width: 0; }
.payment-layout .card { margin-top: 0; }
.payment-movie { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.payment-seats { font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .unlock-pix-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .unlock-pix-layout .unlock-qr { margin-inline: auto; }
  .cinemark-pix-panel .unlock-pix-layout { grid-template-columns: minmax(0, 1fr); }
}
.ticket-mobile-action { display: none; }
@media (max-width: 760px) {
  body:has(.ticket-mobile-action) { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .ticket-mobile-action { position: fixed; inset: auto 0 0; z-index: 30; display: grid; gap: 6px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px #0003; }
  .ticket-mobile-action .botao { width: 100%; }
  .mobile-action-caption { font-size: 12px; text-align: center; color: var(--muted); }
  .ticket-mobile-action [aria-disabled="true"] { opacity: .45; pointer-events: none; }
  .unlock-panel:has(+ .ingresso) .unlock-button { margin-top: 8px; }
  .unlock-panel .unlock-button { display: none; }
  .unlock-pix-actions .unlock-copy { display: none; }
  .unlock-pix-layout { margin-top: 20px; }
  .desktop-pix-qr, .desktop-pix-instruction { display: none; }
  .mobile-pix-instruction { display: inline; }
  .mobile-qr-details { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
  .mobile-qr-details summary { cursor: pointer; padding-block: 12px; }
  .mobile-qr-details .unlock-qr { margin: 12px auto; }
  .pix-code-details { margin-top: 0; }
}

/* Keep the two payments sequential, with one active action at a time. */
.payment-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0 0 24px; list-style: none; }
.payment-steps li { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.payment-steps li > span { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; }
.payment-steps strong, .payment-steps small { display: block; }
.payment-steps strong { font-size: 14px; }
.payment-steps small { margin-top: 4px; font-size: 12px; color: var(--muted); }
.payment-steps .is-current { border-color: var(--accent); }
.payment-steps .is-current > span { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.payment-steps .is-complete > span { color: #8dd6ae; border-color: #8dd6ae; }
.payment-steps .is-locked { color: var(--muted); }
.checkout-costs { margin: 16px 0; border-block: 1px solid var(--line); font-size: 13px; }
.checkout-costs summary { padding: 14px 0; cursor: pointer; }
.checkout-costs dl { margin: 0; }
.checkout-costs dl > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.checkout-costs dd { margin: 0; white-space: nowrap; font-weight: 600; }
.checkout-costs dl > div:last-child { border-top: 1px solid var(--line); margin-top: 8px; }
.next-step-label { margin: 0 0 16px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 1px; }
.next-step-locked { display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .payment-steps { gap: 8px; }
  .payment-steps li { padding: 12px 8px; gap: 8px; }
  .payment-steps strong { font-size: 12px; }
  .payment-steps small { font-size: 11px; }
  .payment-steps li > span { width: 26px; height: 26px; font-size: 12px; }
  .unlock-heading h2 { font-size: 19px; }
}

/* Decorative cinema backdrop stays behind every interactive surface. */
body { isolation: isolate; }
body::after {
  content: "";
  position: fixed;
  inset: 90px 0 0;
  z-index: -2;
  pointer-events: none;
  background: url("cinema-background-people.png") center bottom / cover no-repeat;
  opacity: .22;
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 85%, transparent);
}
@media (max-width: 760px) {
  body::after { inset-block-start: 80px; opacity: .14; background-position: 75% bottom; }
}

.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.footer-links a:hover { color: var(--txt); }
.legal-page { max-width: 900px; margin-inline: auto; }
.legal-page .page-heading h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.15; }
.legal-page .page-heading .sub { font-size: 14px; }
.legal-index { margin-block: 24px; padding: 20px 24px; }
.legal-index summary { cursor: pointer; font-weight: 600; }
.legal-index ol { margin: 20px 0 0; padding-left: 22px; }
.legal-index li { margin-bottom: 8px; }
.legal-index a { font-size: 13px; line-height: 1.6; }
.legal-document { padding: 32px; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-section { scroll-margin-top: 24px; }
.legal-section + .legal-section { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.legal-section h2 { font-size: 19px; line-height: 1.5; margin: 0 0 20px; }
.legal-document p { margin: 0 0 18px; }
.legal-notice { background: #ff635809; border: 1px solid #ff63584d; border-radius: 12px; padding: 22px; margin-bottom: 32px; }
.legal-notice p:last-child { margin-bottom: 0; }
.legal-table-scroll { overflow-x: auto; margin-top: 24px; }
.legal-table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 13px; }
.legal-table caption { text-align: left; font-weight: 600; margin-bottom: 12px; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: 14px; text-align: left; vertical-align: top; }
.legal-table thead th { background: var(--card2); }
.legal-table tbody th { font-weight: 600; }
.legal-back-top { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; }
@media (max-width: 760px) {
  .footer-links { gap: 12px; }
  .legal-index { padding: 18px; }
  .legal-document { padding: 22px 18px; font-size: 14px; }
  .legal-notice { padding: 16px; }
  .legal-section h2 { font-size: 17px; }
}
