:root { --ink:#17120f; --muted:#6b6865; --line:#dedbd7; --paper:#fff; --bg:#f4f3f1; --brand:#c2410c; --brand-dark:#8f2f0a; --green:#157347; --yellow:#f5c542; --red:#c62828; }
* { box-sizing: border-box; }
html { color-scheme: light; }
body { min-height:100vh; margin:0; display:flex; flex-direction:column; background:var(--bg); color:var(--ink); font-family:"Segoe UI",Arial,sans-serif; font-size:14px; letter-spacing:0; }
a { color:inherit; text-decoration:none; }
button,input,textarea,select { font:inherit; }
.portal-header { position:sticky; top:0; z-index:50; min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:8px max(18px,calc((100vw - 1180px)/2)); border-bottom:1px solid #29231f; background:#17120f; color:#fff; }
.portal-brand { min-width:0; display:flex; align-items:center; gap:10px; font-size:19px; }
.portal-brand img { width:42px; height:42px; object-fit:contain; border-radius:4px; background:#fff; }
.portal-brand strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.portal-header nav,.portal-footer nav { display:flex; align-items:center; gap:18px; }
.portal-header nav a { font-size:13px; font-weight:700; }
.portal-header nav .primary-link { padding:9px 12px; border-radius:4px; background:var(--brand); }
.portal-main { width:min(1180px,calc(100% - 32px)); flex:1; margin:0 auto; padding:26px 0 56px; }
.eyebrow { display:block; margin-bottom:5px; color:var(--brand); font-size:11px; font-weight:900; text-transform:uppercase; }
h1,h2 { letter-spacing:0; }
h1 { margin:0 0 5px; font-size:28px; line-height:1.15; }
h2 { margin:0; font-size:21px; }
p { line-height:1.5; }
.catalog-heading,.page-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:18px; }
.catalog-heading p,.page-heading p { margin:0; color:var(--muted); }
.customer-chip { padding:8px 11px; border:1px solid var(--line); border-radius:4px; background:#fff; font-weight:700; }
.date-rail { display:grid; grid-template-columns:repeat(7,minmax(72px,1fr)); gap:7px; margin-bottom:18px; overflow-x:auto; }
.date-rail a { min-height:80px; display:grid; place-items:center; align-content:center; padding:7px; border:1px solid var(--line); border-radius:5px; background:#fff; }
.date-rail span { color:var(--muted); font-size:10px; font-weight:800; text-transform:uppercase; }
.date-rail strong { font-size:25px; line-height:1; }
.date-rail small { color:var(--muted); }
.date-rail a.active { border-color:var(--brand); background:#fff4ee; box-shadow:inset 0 -3px var(--brand); }
.movie-program { display:grid; gap:12px; }
.program-card { display:grid; grid-template-columns:130px minmax(0,1fr); gap:18px; min-height:196px; padding:12px; border:1px solid var(--line); border-radius:6px; background:#fff; box-shadow:0 5px 16px rgba(23,18,15,.07); }
.poster img,.poster-placeholder { width:130px; height:190px; display:grid; place-items:center; border-radius:4px; object-fit:cover; background:#29231f; color:#fff; font-size:11px; font-weight:800; }
.program-info { min-width:0; display:grid; grid-template-rows:auto 1fr; gap:16px; padding:5px 4px; }
.program-info > div > p { margin:3px 0 0; color:var(--muted); }
.program-info .synopsis { max-width:780px; display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.session-groups { display:flex; align-items:end; flex-wrap:wrap; gap:8px; }
.session-button { min-width:116px; min-height:72px; display:grid; align-content:center; gap:2px; padding:9px 11px; border:1px solid #b7d6c5; border-radius:5px; background:#f1faf5; color:#0d5433; }
.session-button:hover { border-color:var(--green); box-shadow:0 0 0 3px rgba(21,115,71,.12); }
.session-button strong { font-size:20px; }
.session-button span,.session-button small { font-size:11px; }
.session-button.sold-out { border-color:#ddd; background:#f3f3f3; color:#888; cursor:not-allowed; }
.account-shell { width:min(900px,100%); display:grid; grid-template-columns:minmax(220px,.75fr) minmax(320px,1.25fr); gap:38px; margin:34px auto; align-items:start; }
.account-shell.compact { width:min(760px,100%); }
.account-shell > div { padding-top:18px; }
.account-shell > div p { color:var(--muted); }
.portal-form { display:grid; gap:13px; padding:20px; border:1px solid var(--line); border-radius:6px; background:#fff; box-shadow:0 8px 24px rgba(23,18,15,.08); }
.portal-form label { display:grid; gap:5px; color:#4b4744; font-size:12px; font-weight:700; }
.portal-form input,.portal-form textarea { width:100%; min-height:42px; padding:9px 10px; border:1px solid #cfcac5; border-radius:4px; background:#fff; color:var(--ink); outline:none; }
.portal-form input:focus,.portal-form textarea:focus { border-color:var(--brand); box-shadow:0 0 0 3px rgba(194,65,12,.12); }
.form-columns { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.privacy-check { grid-template-columns:20px 1fr !important; align-items:start; }
.privacy-check input { width:18px; min-height:18px; }
.privacy-check a,.text-link { color:var(--brand-dark); text-decoration:underline; }
.portal-button { min-height:42px; display:inline-flex; align-items:center; justify-content:center; padding:9px 14px; border:0; border-radius:4px; font-weight:800; cursor:pointer; }
.portal-button.primary { background:var(--brand); color:#fff; }
.text-link { justify-self:center; font-size:12px; font-weight:700; }
.google-button { min-height:42px; display:flex; align-items:center; justify-content:center; padding:9px 12px; border:1px solid #bdb8b3; border-radius:4px; background:#fff; font-weight:800; }
.google-button::before { content:"G"; width:22px; height:22px; display:grid; place-items:center; margin-right:8px; border-radius:50%; background:#4285f4; color:#fff; font-weight:900; }
.form-divider { position:relative; display:grid; place-items:center; color:var(--muted); font-size:10px; }
.form-divider::before { position:absolute; left:0; right:0; height:1px; content:""; background:var(--line); }
.form-divider span { position:relative; padding:0 8px; background:#fff; }
.portal-notice { margin:0 0 14px; padding:11px 13px; border-radius:4px; font-weight:700; }
.portal-notice.success { border:1px solid #aad1bc; background:#edf9f2; color:#0d5433; }
.portal-notice.error { border:1px solid #e4b1ad; background:#fff1f0; color:#8e1c17; }
.back-link { display:inline-block; margin-bottom:10px; color:var(--brand-dark); font-size:12px; font-weight:800; }
.public-seat-layout { display:grid; grid-template-columns:minmax(0,1fr) 290px; align-items:start; gap:12px; }
.public-seat-map { position:relative; width:100%; aspect-ratio:1040/620; min-width:320px; border:1px solid var(--line); border-radius:6px; background:repeating-linear-gradient(0deg,#fffdf9,#fffdf9 4.8%,#efe7db 5%); overflow:hidden; }
.public-screen { position:absolute; display:grid; place-items:center; border-radius:3px; background:#17120f; color:#fff; font-size:11px; font-weight:900; }
.public-seat { position:absolute; display:grid; place-items:center; margin:0; cursor:pointer; }
.public-seat input { position:absolute; opacity:0; }
.public-seat span { width:96%; height:96%; display:grid; place-items:center; border-radius:7px 7px 3px 3px; background:var(--green); color:#fff; font-size:10px; font-weight:800; }
.public-seat.large span { background:#087f8c; }
.public-seat input:checked + span { background:var(--yellow); color:#17120f; box-shadow:0 0 0 3px rgba(245,197,66,.28); }
.public-seat.blocked { cursor:not-allowed; }
.public-seat.blocked span { background:var(--red); opacity:.78; }
.seat-cart,.checkout-summary { position:sticky; top:78px; display:grid; gap:12px; padding:15px; border:1px solid var(--line); border-radius:6px; background:#fff; box-shadow:0 8px 22px rgba(23,18,15,.08); }
.seat-cart h2,.checkout-summary h2 { font-size:17px; }
.seat-legend { display:flex; flex-wrap:wrap; gap:9px; color:var(--muted); font-size:10px; }
.seat-legend span { display:flex; align-items:center; gap:4px; }
.seat-legend i { width:10px; height:10px; border-radius:2px; background:var(--green); }
.seat-legend span:nth-child(2) i { background:var(--yellow); }
.seat-legend span:nth-child(3) i { background:var(--red); }
.selected-seat-list { display:grid; gap:6px; }
.selected-seat-list > p { margin:0; color:var(--muted); }
.selected-seat-list label { display:grid; grid-template-columns:1fr 145px; align-items:center; gap:6px; }
.selected-seat-list select,.checkout-summary select { width:100%; min-height:36px; border:1px solid var(--line); border-radius:4px; background:#fff; }
.seat-cart-total,.checkout-summary > div { display:flex; align-items:center; justify-content:space-between; gap:10px; padding-top:10px; border-top:1px solid var(--line); }
.seat-cart-total strong,.checkout-summary .grand strong { font-size:21px; }
.hold-timer { min-width:150px; padding:8px 11px; border:1px solid #e2bd68; border-radius:4px; background:#fff8dd; text-align:right; }
.hold-timer span,.hold-timer strong { display:block; }
.hold-timer span { color:#745c20; font-size:10px; font-weight:800; }
.hold-timer strong { font-size:22px; }
.public-checkout { display:grid; grid-template-columns:minmax(0,1fr) 310px; align-items:start; gap:14px; }
.public-checkout > section { display:grid; gap:12px; }
.checkout-lines { display:grid; gap:1px; border:1px solid var(--line); border-radius:5px; overflow:hidden; }
.checkout-lines > div { display:flex; justify-content:space-between; gap:10px; padding:10px 12px; background:#fff; }
.public-product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:8px; }
.public-product-grid article { display:grid; grid-template-columns:52px minmax(0,1fr) 48px; align-items:center; gap:8px; padding:8px; border:1px solid var(--line); border-radius:5px; background:#fff; }
.public-product-grid img { width:52px; height:52px; object-fit:cover; border-radius:3px; }
.public-product-grid article div { display:grid; gap:2px; }
.public-product-grid span { color:var(--muted); font-size:10px; }
.public-product-grid input { width:48px; min-height:36px; border:1px solid var(--line); border-radius:4px; text-align:center; }
.checkout-summary label { display:grid; gap:5px; color:var(--muted); font-size:11px; font-weight:800; }
.checkout-summary small { color:var(--muted); line-height:1.4; }
.card-fields { display:grid; gap:8px; padding:10px; border:1px solid var(--line); border-radius:4px; background:#f8f7f5; }
.card-fields[hidden] { display:none; }
.card-fields > div { display:grid; grid-template-columns:1fr 1fr; gap:7px; padding:0; border:0; }
.card-fields input { width:100%; min-height:38px; padding:8px; border:1px solid var(--line); border-radius:4px; }
.payment-result { width:min(680px,100%); display:grid; justify-items:center; gap:10px; margin:30px auto; padding:28px; border:1px solid var(--line); border-top:5px solid var(--yellow); border-radius:6px; background:#fff; text-align:center; }
.payment-result.paid { border-top-color:var(--green); }
.payment-result p { margin:0; color:var(--muted); }
.payment-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; margin-top:8px; }
.payment-actions .portal-button:not(.primary) { border:1px solid var(--line); }
.pix-box { width:min(360px,100%); display:grid; justify-items:center; gap:8px; }
.pix-box [data-pix-qr] { padding:8px; border:1px solid var(--line); background:#fff; }
.pix-box textarea { width:100%; height:76px; padding:8px; border:1px solid var(--line); border-radius:4px; font-size:10px; resize:none; }
.order-list { display:grid; gap:8px; }
.order-list article { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:18px; padding:13px 15px; border:1px solid var(--line); border-radius:5px; background:#fff; }
.order-list article > div { display:grid; gap:3px; }
.order-list article span,.order-list article small { color:var(--muted); font-size:11px; }
.order-list article nav { display:flex; flex-wrap:wrap; gap:8px; }
.order-list article nav a { color:var(--brand-dark); font-size:12px; font-weight:800; text-decoration:underline; }
.order-status { justify-self:end; padding:4px 7px; border-radius:3px; background:#fff4d6; color:#745c20 !important; font-weight:800; }
.order-status.pago { background:#eaf7ef; color:#0d5433 !important; }
.empty-state { min-height:190px; display:grid; place-items:center; align-content:center; gap:8px; padding:24px; border:1px dashed #bbb5af; border-radius:6px; background:#fff; text-align:center; }
.empty-state strong { font-size:20px; }
.empty-state p { margin:0 0 6px; color:var(--muted); }
.policy { width:min(780px,100%); margin:20px auto; padding:24px; border:1px solid var(--line); border-radius:6px; background:#fff; }
.policy h2 { margin-top:22px; }
.policy p { color:#4f4a46; }
.portal-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px max(18px,calc((100vw - 1180px)/2)); border-top:1px solid var(--line); background:#fff; }
.portal-footer > div { display:grid; gap:3px; }
.portal-footer span,.portal-footer nav { color:var(--muted); font-size:12px; }
.cookie-banner { position:fixed; left:16px; right:16px; bottom:16px; z-index:100; max-width:980px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:15px 16px; border:1px solid #39312c; border-radius:6px; background:#17120f; color:#fff; box-shadow:0 16px 50px rgba(0,0,0,.3); }
.cookie-banner[hidden] { display:none; }
.cookie-banner p { margin:3px 0 0; color:#d3cec9; font-size:12px; }
.cookie-banner > div:last-child { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.cookie-banner button,.cookie-banner a { min-height:36px; padding:8px 10px; border:1px solid #6c625b; border-radius:4px; background:transparent; color:#fff; font-size:12px; font-weight:800; cursor:pointer; }
.cookie-banner button.primary { border-color:var(--brand); background:var(--brand); }
@media(max-width:760px){
  .portal-header { align-items:flex-start; padding:9px 14px; }
  .portal-brand strong { max-width:130px; }
  .portal-header nav { gap:10px; flex-wrap:wrap; justify-content:flex-end; }
  .portal-header nav a { font-size:11px; }
  .portal-main { width:min(100% - 20px,1180px); padding-top:17px; }
  h1 { font-size:24px; }
  .date-rail { grid-template-columns:repeat(7,72px); }
  .program-card { grid-template-columns:82px minmax(0,1fr); gap:11px; min-height:150px; padding:9px; }
  .poster img,.poster-placeholder { width:82px; height:122px; }
  .program-info { padding:2px 0; gap:10px; }
  .program-info .synopsis { display:none; }
  .session-button { min-width:100px; }
  .account-shell { grid-template-columns:1fr; gap:10px; margin:12px auto; }
  .account-shell > div { padding:0; }
  .form-columns { grid-template-columns:1fr; }
  .portal-footer { align-items:flex-start; flex-direction:column; }
  .portal-footer nav { flex-wrap:wrap; }
  .cookie-banner { align-items:stretch; flex-direction:column; }
  .cookie-banner > div:last-child { flex-wrap:wrap; }
  .public-seat-layout,.public-checkout { grid-template-columns:1fr; }
  .public-seat-map { overflow:auto; }
  .seat-cart,.checkout-summary { position:static; }
  .page-heading { align-items:flex-start; flex-direction:column; }
  .hold-timer { text-align:left; }
  .order-list article { grid-template-columns:1fr; gap:9px; }
  .order-status { justify-self:start; }
}
