/* =====================================================================
   ReelsBox — sistema visual "Camarote"
   Vinho profundo, marfim, rubi e ouro antigo. Títulos em Bodoni Moda
   (o mesmo desenho elegante dos cartazes), texto em Figtree.
   ===================================================================== */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #1a0b12;          /* vinho profundo */
  --bg-deep: #12060b;     /* rodapé, fundo do player */
  --surface: #26111b;     /* veludo */
  --surface-2: #341a27;   /* veludo claro */
  --line: rgba(247, 238, 227, .12);
  --line-strong: rgba(247, 238, 227, .22);
  --text: #f7eee3;        /* marfim */
  --muted: #c4a5a9;       /* rosé apagado */
  --accent: #c8264f;      /* rubi */
  --accent-hi: #dc3a63;
  --gold: #d6b06a;        /* ouro antigo */
  --gold-soft: rgba(214, 176, 106, .35);
  --ok: #5fd3a1;
  --warn: #f0b45a;
  --bad: #ff7b8d;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 6px;   /* pôsteres, miniaturas */
  --r-md: 10px;  /* botões, campos */
  --r-lg: 16px;  /* cartões grandes */

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --shadow: 0 18px 50px rgba(8, 2, 5, .55);
  --header-h: 64px;

  /* nomes usados pelo painel admin */
  --bg-2: #12060b;
  --border: rgba(247, 238, 227, .12);
  --grad: #c8264f;
  --accent-2: var(--gold);
  --muted-2: var(--muted);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: #4a2535 var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .faq a, .small a, .muted a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.012em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 max(22px, env(safe-area-inset-left)); }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
a, button, summary, label, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a, button, summary, .btn, .pill, [role="button"] { touch-action: manipulation; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #4a2535; border-radius: 10px; border: 2px solid var(--bg); }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: .6em 1em; border-radius: var(--r-md);
  background: var(--gold); color: #2a1306; font-weight: 700; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Ícones ---------- */
.ico { flex: none; vertical-align: middle; }
.ico-inline { display: inline-flex; vertical-align: -3px; margin-right: 4px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.4em; border-radius: var(--r-md); border: 1px solid transparent;
  font: 650 .97rem/1.2 var(--font-body); letter-spacing: .005em; cursor: pointer; white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 22px rgba(200, 38, 79, .28); }
.btn-ghost { background: rgba(247, 238, 227, .08); color: var(--text); border-color: var(--line); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--gold-soft); }
.btn-sm { padding: .5em 1.05em; font-size: .88rem; }
.btn-lg { padding: .88em 1.7em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn .ico { margin-left: -.15em; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-hi); }
  .btn-ghost:hover { background: rgba(247, 238, 227, .14); border-color: var(--line-strong); }
  .btn-outline:hover { background: rgba(214, 176, 106, .1); border-color: var(--gold); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top);
  background: rgba(26, 11, 18, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease;
}
.site-header.scrolled { background: rgba(26, 11, 18, .9); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.035em; line-height: 1; font-optical-sizing: auto; }
.brand .wordmark { display: inline-block; padding-bottom: .06em; }
.brand em { font-style: normal; color: var(--gold); }
.brand svg { border-radius: 9px; }
.main-nav { display: flex; gap: 6px; }
.main-nav a { position: relative; padding: .5em .8em; color: var(--muted); font-weight: 550; font-size: .95rem; transition: color .18s ease; }
.main-nav a.active { color: var(--text); }
.main-nav a.active::after { content: ""; position: absolute; left: .8em; right: .8em; bottom: .1em; height: 1px; background: var(--gold); }
@media (hover: hover) { .main-nav a:hover { color: var(--text); } }
.search { margin-left: auto; position: relative; }
.search input {
  width: 220px; padding: .55em 1em .55em 2.5em; border-radius: 999px; border: 1px solid var(--line); color: var(--text);
  background: rgba(247, 238, 227, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4a5a9' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") 12px 50% / 17px no-repeat;
  font: inherit; font-size: .9rem; transition: width .25s var(--ease-out), border-color .2s ease, background-color .2s ease;
}
.search input::placeholder { color: #9d8186; }
.search input:focus { width: 290px; border-color: var(--gold-soft); background-color: rgba(247, 238, 227, .1); outline: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

.user-menu { position: relative; }
.user-menu summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--gold-soft); color: var(--gold); display: grid; place-items: center; font: 700 .95rem var(--font-display); }
.user-menu .menu {
  position: absolute; right: 0; top: calc(100% + 12px); min-width: 240px; padding: 8px; transform-origin: top right;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.user-menu[open] .menu { animation: pop 160ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.menu-head { padding: 10px 12px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.user-menu .menu a { display: block; padding: 9px 12px; border-radius: 8px; transition: background-color .15s ease; }
.user-menu .menu a:hover { background: var(--surface-2); }
.user-menu .menu a.highlight { color: var(--gold); font-weight: 650; }

/* ---------- Chips, selos e avisos ---------- */
.chip { display: inline-block; padding: .22em .8em; border-radius: 999px; font-size: .78rem; font-weight: 650; border: 1px solid var(--line-strong); color: var(--text); }
.chip-plan { color: var(--gold); border-color: var(--gold-soft); }
.chip-gold { color: var(--gold); border-color: var(--gold-soft); background: rgba(214, 176, 106, .08); }
.badges { position: absolute; top: 0; left: 0; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; }
.badge { padding: .3em .65em; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 0 0 var(--r-sm) 0; }
.badge-new { background: var(--gold); color: #2a1306; }
.badge-vip, .badge-premium { background: var(--surface-2); color: var(--gold); border: 1px solid var(--gold-soft); border-top: 0; border-left: 0; }

/* Classificação indicativa brasileira: a cor muda conforme a faixa etária */
.age { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 4px; font: 800 .8rem/1 var(--font-body); color: #fff; background: #1a8a4a; }
.age-10 { background: #1478c9; }
.age-12 { background: #e8b100; color: #2a1d00; }
.age-14 { background: #e5791c; }
.age-16 { background: #d0262b; }
.age-18 { background: #111; border: 1px solid #555; }

.flashes { position: relative; z-index: 2; padding-top: 16px; }
.alert { padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 14px; border: 1px solid; }
.alert-success { background: rgba(95, 211, 161, .1); border-color: rgba(95, 211, 161, .4); color: #9fe9c8; }
.alert-error { background: rgba(255, 123, 141, .1); border-color: rgba(255, 123, 141, .4); color: #ffb0bb; }
.alert-info { background: rgba(214, 176, 106, .1); border-color: var(--gold-soft); color: #ecd29c; }
.alert a { text-decoration: underline; }

/* ---------- Metadados em linha (duração, gênero, classificação) ---------- */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0 0 16px; padding: 0; list-style: none; font-size: .95rem; color: var(--muted); }
.meta > * + *::before { content: ""; display: inline-block; width: 1px; height: .95em; margin: 0 14px; background: var(--line-strong); vertical-align: -1px; }
.meta a:hover { color: var(--text); }
.meta .gold { color: var(--gold); }

/* ---------- Hero: "Em cartaz" ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); background: var(--bg); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-ambient { position: absolute; inset: -10%; z-index: -1; overflow: hidden; background-size: cover; }
.hero-ambient img { width: 100%; height: 100%; object-fit: cover; filter: blur(46px) saturate(1.15); opacity: .38; transform: scale(1.25); }
.hero-ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 11, 18, .25) 0%, var(--bg) 96%); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 27vw, 340px); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-top: clamp(40px, 7vh, 80px); padding-bottom: clamp(40px, 7vh, 72px); min-height: clamp(460px, 66vh, 660px);
}
.hero-text { max-width: 620px; }
.hero-text h1 { font-size: clamp(2.5rem, 5.8vw, 4.9rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: .32em; font-weight: 800; }
.hero-text > p { color: #e5d6cb; font-size: 1.08rem; max-width: 52ch; margin-bottom: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-poster { position: relative; display: block; justify-self: end; width: 100%; aspect-ratio: 2 / 3; border-radius: var(--r-sm); box-shadow: 0 40px 80px rgba(6, 1, 3, .6); }
.hero-poster::before { content: ""; position: absolute; inset: -11px; border: 1px solid var(--gold-soft); border-radius: calc(var(--r-sm) + 8px); pointer-events: none; }
.hero-poster .poster-play { display: none; }

/* Entrada: um único momento orquestrado quando o destaque aparece */
.hero-slide.is-active .hero-text > * { animation: rise .62s var(--ease-out) backwards; }
.hero-slide.is-active .hero-text > :nth-child(2) { animation-delay: 70ms; }
.hero-slide.is-active .hero-text > :nth-child(3) { animation-delay: 130ms; }
.hero-slide.is-active .hero-text > :nth-child(4) { animation-delay: 200ms; }
.hero-slide.is-active .hero-poster { animation: unveil .8s var(--ease-out) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); opacity: .4; } to { clip-path: inset(-14px); } }

/* Seletor: as capas dos próximos destaques (o mini-carrossel é a navegação) */
.hero-thumbs { display: flex; gap: 12px; padding-bottom: 36px; margin-top: -26px; position: relative; }
.hero-thumb {
  position: relative; flex: none; width: 46px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .5;
  transition: opacity .2s ease, transform 140ms var(--ease-out);
}
.hero-thumb:active { transform: scale(.94); }
.hero-thumb .poster { border-radius: 4px; box-shadow: none; }
.hero-thumb .poster-fallback { font-size: 0; }
.hero-thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-thumb.is-active { opacity: 1; }
.hero-thumb.is-active::after { animation: fill 8s linear forwards; }
.hero.is-paused .hero-thumb.is-active::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
@media (hover: hover) { .hero-thumb:hover { opacity: .9; } }

/* ---------- Faixa de preço ---------- */
.band { margin-top: 8px; }
.band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 4px;
  border-top: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft);
}
.band-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 22px; }
.band-title { font: 700 clamp(1.2rem, 2.2vw, 1.5rem)/1.2 var(--font-display); margin: 0; }
.band-copy p { margin: 0; color: var(--muted); }
.band-link { color: var(--gold); font-weight: 650; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.band-link .ico { transition: transform 200ms var(--ease-out); }
@media (hover: hover) { .band-link:hover .ico { transform: translateX(4px); } }

/* ---------- Fileiras e pôsteres ---------- */
.row { position: relative; margin: 44px auto; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.row-head h2 { margin: 0; }
.row-head a { color: var(--muted); font-size: .9rem; font-weight: 550; display: inline-flex; align-items: center; gap: 4px; transition: color .15s ease; }
.row-head a:hover { color: var(--gold); }
.row-scroll { display: flex; gap: 18px; overflow-x: auto; padding: 8px 2px 10px; margin-top: -8px; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll .poster-card { flex: 0 0 176px; scroll-snap-align: start; }
.grid-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 30px 18px; }

.poster-card { display: block; }
.poster { position: relative; aspect-ratio: 2 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); container-type: inline-size; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster-card .poster { box-shadow: 0 8px 22px rgba(6, 1, 3, .45); transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
.poster-card:active .poster { transform: scale(.97); }
.poster-play {
  position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: var(--accent); opacity: 0; transform: scale(.9); transition: opacity 180ms ease, transform 220ms var(--ease-out);
}
.poster-play svg { margin-left: 2px; }
@media (hover: hover) and (pointer: fine) {
  .poster-card:hover .poster { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(6, 1, 3, .6), 0 0 0 1px var(--gold-soft); }
  .poster-card:hover .poster-play, .top-card:hover .poster-play { opacity: 1; transform: none; }
  .poster-card:hover .poster-meta strong { color: var(--gold); }
}
.poster-fallback { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 8cqw; overflow: hidden; }
.pf-pattern { position: absolute; inset: 0; background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 12px),
    linear-gradient(0deg, rgba(14, 4, 8, .85), rgba(14, 4, 8, .1) 65%); }
.pf-initial { position: absolute; right: -3cqw; top: -4cqw; font: 800 70cqw/1 var(--font-display); color: rgba(255, 255, 255, .12); pointer-events: none; }
.pf-text { position: relative; display: flex; flex-direction: column; gap: 2cqw; max-width: 100%; }
.pf-cat { font-style: normal; font-size: max(.6rem, 5.4cqw); font-weight: 700; color: rgba(255, 255, 255, .8); }
.pf-title { font: 800 clamp(.95rem, 11cqw, 2.1rem)/1.05 var(--font-display); overflow-wrap: anywhere; }
.poster-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(247, 238, 227, .25); z-index: 3; }
.poster-progress i { display: block; height: 100%; background: var(--gold); }
.poster-meta { padding: 11px 1px 0; display: flex; flex-direction: column; gap: 1px; }
.poster-meta strong { font-size: .95rem; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s ease; }
.poster-meta small { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .8rem; }

/* Top 10: números grandes em contorno, no mesmo desenho dos títulos */
.top-card { position: relative; flex: 0 0 auto; display: flex; align-items: flex-end; scroll-snap-align: start; padding-left: 2px; }
.top-num {
  font: 800 clamp(7.5rem, 12vw, 10.5rem)/.76 var(--font-display); letter-spacing: -.06em; color: var(--bg);
  -webkit-text-stroke: 2px rgba(214, 176, 106, .6); margin-right: -.04em; z-index: 1; min-width: .55em; text-align: right; padding-bottom: 6px;
  transition: -webkit-text-stroke-color .25s ease;
}
.top-card:hover .top-num { -webkit-text-stroke-color: var(--gold); }
.top-card .poster { width: 150px; flex: none; z-index: 2; box-shadow: 0 8px 22px rgba(6, 1, 3, .5); }
.top-row { gap: 10px; }

/* Setas das fileiras (só com mouse) */
.row-arrow {
  position: absolute; z-index: 5; top: calc(50% - 4px); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer;
  background: rgba(26, 11, 18, .88); color: var(--text); display: grid; place-items: center; opacity: 0;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: opacity .2s ease, background-color .2s ease, transform 140ms var(--ease-out);
}
.row-arrow:active { transform: scale(.94); }
.row-arrow.prev { left: 4px; }
.row-arrow.next { right: 4px; }
.row:hover .row-arrow:not([hidden]) { opacity: 1; }
.row-arrow:hover { background: var(--accent); }
@media (hover: none) { .row-arrow { display: none; } }

/* ---------- Páginas, filtros, paginação ---------- */
.page-head { padding-top: 44px; padding-bottom: 6px; }
.page-head.center { text-align: center; }
.page-head p { max-width: 56ch; }
.page-head.center p { margin-inline: auto; }
.filters { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin: 14px auto 28px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: .42em 1.05em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; font-weight: 550; transition: color .15s ease, border-color .15s ease, background-color .15s ease; }
@media (hover: hover) { .pill:hover { color: var(--text); border-color: var(--line-strong); } }
.pill.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.sorts { display: flex; gap: 18px; font-size: .9rem; color: var(--muted); }
.sorts a { padding-bottom: 2px; border-bottom: 1px solid transparent; }
.sorts a.active { color: var(--text); border-bottom-color: var(--gold); }
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0; }
.pagination a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-md); border: 1px solid var(--line); }
.pagination a.active { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.empty { text-align: center; padding: 80px 20px; }
.empty h2, .empty h3 { font-family: var(--font-display); }
.empty .btn { margin-top: 10px; }

/* ---------- Página do drama ---------- */
.series-hero { position: relative; overflow: hidden; isolation: isolate; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.series-bg { position: absolute; inset: -10%; z-index: -1; overflow: hidden; background-size: cover; }
.series-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(46px) saturate(1.15); opacity: .34; transform: scale(1.25); }
.series-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 11, 18, .3), var(--bg) 96%); }
.series-hero-inner { display: grid; grid-template-columns: clamp(220px, 24vw, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: 56px; padding-bottom: 56px; }
.series-poster .poster { box-shadow: 0 34px 70px rgba(6, 1, 3, .6); }
.series-poster { position: relative; }
.series-poster::before { content: ""; position: absolute; inset: -11px; border: 1px solid var(--gold-soft); border-radius: calc(var(--r-sm) + 8px); pointer-events: none; }
.series-info h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.04; letter-spacing: -.022em; font-weight: 800; margin-bottom: .35em; }
.synopsis { color: #e5d6cb; font-size: 1.05rem; max-width: 62ch; }
.series-info .synopsis { margin-bottom: .8em; }
.series-poster .poster-play { display: none; }
.series-note { color: var(--muted); font-size: .9rem; }

[data-fav] .fav-on { display: none; }
[data-fav][aria-pressed="true"] .fav-on { display: inline; }
[data-fav][aria-pressed="true"] .fav-off { display: none; }
[data-fav][aria-pressed="true"] { border-color: var(--gold-soft); color: var(--gold); }

/* Episódios (séries com mais de um vídeo) */
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.ep-item { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); transition: background-color .18s ease, border-color .18s ease; }
@media (hover: hover) { .ep-item:hover { background: var(--surface); border-color: var(--line-strong); } }
.ep-item:active { background: var(--surface); }
.ep-num { flex: 0 0 38px; height: 38px; border-radius: 8px; background: var(--surface); display: grid; place-items: center; font: 700 1.05rem var(--font-display); }
.ep-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ep-body strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-body small { color: var(--muted); }
.ep-bar { display: block; height: 3px; margin-top: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.ep-bar i { display: block; height: 100%; background: var(--gold); }
.ep-state { color: var(--muted); font-size: .85rem; }
.ep-item.is-locked { opacity: .65; }
.ep-item.is-done .ep-num { color: var(--ok); }
.ep-item.is-current { border-color: var(--gold-soft); background: var(--surface); }
.ep-item.is-current .ep-num { background: var(--accent); color: #fff; }

/* ---------- Player ---------- */
.watch-ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.watch-ambient img { width: 100%; height: 100%; object-fit: cover; filter: blur(70px) saturate(1.2); opacity: .26; transform: scale(1.3); }
.watch-ambient::after { content: ""; position: absolute; inset: 0; background: rgba(18, 6, 11, .55); }
main { position: relative; isolation: isolate; }
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-top: 20px; padding-bottom: 56px; align-items: start; }
.watch-crumbs { margin-bottom: 14px; color: var(--muted); font-size: .92rem; }
.watch-crumbs a { display: inline-flex; align-items: center; gap: 6px; transition: color .15s ease; }
.watch-crumbs a:hover { color: var(--text); }
.player-wrap { display: flex; justify-content: center; }
.player {
  position: relative; background: #000; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(4, 0, 2, .6); height: min(78vh, 780px); aspect-ratio: 9 / 16; max-width: 100%;
}
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
/* ---- Controles do player ---- */
.pc { position: absolute; inset: 0; z-index: 3; color: #fff; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.pc-surface { position: absolute; inset: 0; touch-action: manipulation; cursor: pointer; }
.pc:not(.on) { cursor: none; }
.pc-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; opacity: 0; transition: opacity .22s var(--ease-out); }
.pc.on .pc-ui { opacity: 1; }
.pc.on .pc-ui > * { pointer-events: auto; }
.pc-ui::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(to top, rgba(10, 3, 6, .86), rgba(10, 3, 6, 0)); z-index: -1; pointer-events: none; }
.pc-mid { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 6vw, 30px); pointer-events: none !important; }
.pc-mid .pc-btn { pointer-events: auto; }
.pc-btn { display: inline-grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 50%; padding: 0; transition: transform .16s var(--ease-out), background-color .16s ease, opacity .16s ease; }
.pc-btn:active { transform: scale(.92); }
.pc-btn:focus-visible, .pc-bar:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pc-skip { width: 54px; height: 54px; background: rgba(10, 3, 6, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pc-main { width: 76px; height: 76px; background: var(--accent); box-shadow: 0 10px 30px rgba(10, 3, 6, .5); }
.pc-main .pc-ico { margin-left: 3px; }
.pc-main .pc-ico:has(rect) { margin-left: 0; }
.pc-sm { width: 44px; height: 44px; }
.pc-bottom { margin-top: auto; padding: 0 14px 10px; }
.pc-bar { position: relative; height: 30px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.pc-track { position: relative; width: 100%; height: 4px; border-radius: 2px; background: rgba(247, 238, 227, .26); transition: height .15s var(--ease-out); }
.pc-bar:hover .pc-track, .pc-bar.drag .pc-track { height: 6px; }
.pc-buf, .pc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; }
.pc-buf { background: rgba(247, 238, 227, .32); }
.pc-fill { background: var(--gold); }
.pc-thumb { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(214, 176, 106, .25); transform: scale(.85); transition: transform .15s var(--ease-out); }
.pc-bar:hover .pc-thumb, .pc-bar.drag .pc-thumb, .pc-bar:focus-visible .pc-thumb { transform: scale(1.15); }
.pc-tip { position: absolute; bottom: 30px; transform: translateX(-50%); padding: 3px 9px; border-radius: 6px; background: rgba(10, 3, 6, .85); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.pc-row { display: flex; align-items: center; gap: 2px; margin-top: -2px; }
.pc-sp { flex: 1; }
.pc-time { font-size: .86rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #f1e6da; }
.pc-time i { font-style: normal; opacity: .55; margin: 0 2px; }
.pc-flash { position: absolute; top: 0; bottom: 0; width: 38%; display: grid; place-items: center; pointer-events: none; opacity: 0; background: rgba(247, 238, 227, .12); }
.pc-flash.l { left: 0; border-radius: 0 60% 60% 0 / 0 50% 50% 0; }
.pc-flash.r { right: 0; border-radius: 60% 0 0 60% / 50% 0 0 50%; }
.pc-flash-in { display: grid; justify-items: center; gap: 2px; font-size: .95rem; }
.pc-flash-in .pc-ico { margin: 0 -6px; }
.pc-flash.l .pc-ico { transform: scaleX(-1); }
.pc-flash-in .pc-ico + .pc-ico { display: none; }
.pc-flash.go { animation: pc-flash .75s var(--ease-out); }
@keyframes pc-flash { 0% { opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
.pc-spin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid rgba(247, 238, 227, .22); border-top-color: var(--gold); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.is-wait .pc-spin { opacity: 1; animation: pc-spin .8s linear infinite; }
.is-wait .pc-main { opacity: .0; }
@keyframes pc-spin { to { transform: rotate(360deg); } }
.player.is-fs, .player:fullscreen { width: 100% !important; height: 100% !important; max-width: none; aspect-ratio: auto; border-radius: 0; border: 0; box-shadow: none; }
.player:-webkit-full-screen { width: 100% !important; height: 100% !important; max-width: none; aspect-ratio: auto; border-radius: 0; border: 0; }
.player-overlay { z-index: 6; }
/* ---- Player imersivo (abre cobrindo a tela toda) ---- */
.pc-top { display: flex; align-items: center; gap: 6px; padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 28px; background: linear-gradient(to bottom, rgba(10, 3, 6, .7), rgba(10, 3, 6, 0)); }
.pc-back { width: 44px; height: 44px; flex: none; }
.pc-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 1.05rem/1.2 var(--font-display); }
.player:not(.is-immersive):not(.is-fs) .pc-top { display: none; }
body.watch-immersive { overflow: hidden; }
body.watch-immersive .site-header, body.watch-immersive .tabbar, body.watch-immersive .site-footer, body.watch-immersive .watch-ambient, body.watch-immersive .watch-crumbs, body.watch-immersive .flashes { display: none; }
.player.is-immersive {
  position: fixed; inset: 0; z-index: 2000; width: 100vw !important; width: 100dvw !important; height: 100vh !important; height: 100dvh !important;
  max-width: none; aspect-ratio: auto; border-radius: 0; border: 0; box-shadow: none; margin: 0;
}
.player.is-immersive .pc-bottom { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.player.is-immersive .pc-bottom, .player.is-immersive .pc-top { padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .player.is-immersive .pc-bottom { padding-left: 28px; padding-right: 28px; padding-bottom: 18px; } .player.is-immersive .pc-top { padding-left: 22px; } }
@media (hover: hover) { .pc-btn:hover { background-color: rgba(247, 238, 227, .14); } .pc-main:hover { background-color: var(--accent-hi); } }
@media (prefers-reduced-motion: reduce) { .pc-ui, .pc-btn, .pc-track, .pc-thumb { transition: none; } .is-wait .pc-spin { animation-duration: 1.6s; } }
.player-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18, 6, 11, .9); padding: 22px; text-align: center; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.ov-box h3 { font: 700 1.4rem/1.2 var(--font-display); margin-bottom: .35em; }
.ov-box .hero-cta { justify-content: center; }
.lock { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; color: var(--gold); background: rgba(214, 176, 106, .08); border: 1px solid var(--gold-soft); }
.lock .ico { width: 28px; height: 28px; }
.paywall { display: grid; place-items: center; text-align: center; background: var(--surface); }
.paywall-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(10px) saturate(1.1); transform: scale(1.08); opacity: .9; }
.paywall::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 6, 11, .35), rgba(18, 6, 11, .82) 55%); z-index: 1; }
.paywall-inner { position: relative; z-index: 2; padding: 24px; max-width: 340px; }
.paywall-inner h2 { font-size: 1.55rem; }
.paywall-inner .hero-cta { justify-content: center; flex-direction: column; }
.watch-info { margin-top: 24px; text-align: center; }
.watch-info h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .2em; }
.watch.watch-single { grid-template-columns: minmax(0, 1fr); }
.watch-synopsis { max-width: 60ch; margin: 14px auto 0; color: var(--muted); }
.watch-nav { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.watch-side { position: sticky; top: 86px; }
.watch-side h3 { margin-bottom: 12px; }
.ep-list { display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - 170px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: #4a2535 transparent; }
.ep-item.compact { padding: 9px 12px; }
.ep-item.compact .ep-num { flex-basis: 32px; height: 32px; }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; max-width: 880px; margin: 36px auto 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.plan h2 { margin: 0 0 2px; font-size: 1.6rem; }
.plan > p { margin-bottom: 0; }
.plan-featured { background: linear-gradient(180deg, #321825, var(--surface) 70%); border: 1.5px solid var(--gold); box-shadow: 0 30px 70px rgba(6, 1, 3, .5); }
.plan-ribbon { position: absolute; top: 0; right: 24px; transform: translateY(-50%); background: var(--gold); color: #2a1306; padding: .28em 1em; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.plan-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: var(--gold); border: 1px solid var(--gold-soft); background: rgba(214, 176, 106, .06); }
.plan-featured .plan-icon { background: var(--gold); color: #2a1306; border-color: var(--gold); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 2px; font-family: var(--font-display); }
.price .currency { font: 600 1.15rem var(--font-body); color: var(--muted); }
.price .amount { font-size: clamp(3.4rem, 8vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: .95; }
.price .per { font: 500 1rem var(--font-body); color: var(--muted); }
.price-day { margin: 0 0 4px; color: var(--gold); font-size: .9rem; font-weight: 600; }
.features { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.features li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); }
.features li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 16px; height: 16px; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq { max-width: 760px; margin: 64px auto 30px; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); padding: 4px 2px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; padding: 14px 28px 14px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--font-body); color: var(--gold); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 14px; color: var(--muted); max-width: 62ch; }

/* ---------- Cartões e formulários ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: .88rem; color: var(--muted); font-weight: 550; }
.field input, .field select, .field textarea, textarea.input {
  width: 100%; padding: .78em 1em; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--bg);
  color: var(--text); font: inherit; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder { color: #8c7075; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(214, 176, 106, .18); }
.field input:disabled { opacity: .55; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.err { display: block; color: var(--bad); font-size: .83rem; margin-top: 5px; font-style: normal; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; color: var(--muted); font-size: .9rem; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.auth { display: grid; place-items: center; padding-top: 56px; padding-bottom: 64px; }
.auth-card { width: 100%; max-width: 440px; padding: 34px 30px; }
.auth-card h1 { font-size: 2rem; }
.auth-card form .btn-block { margin: 6px 0 20px; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding-top: 44px; padding-bottom: 64px; align-items: start; }
.checkout-summary { border-color: var(--gold-soft); }
.checkout-summary h2 { font-size: 1.5rem; }
.checkout-summary .features { margin-bottom: 10px; }
.price-old { color: var(--muted); font-size: .9rem; margin: 6px 0 -4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.coupon-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.coupon-form .field { margin-bottom: 0; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .06em; }
.field em.ok { display: block; margin-top: 6px; font-style: normal; font-size: .85rem; color: var(--ok); }

/* ---------- Pagamento (Pix) ---------- */
.pay { padding-top: 44px; padding-bottom: 64px; max-width: 880px; }
.pay-head { text-align: center; margin-bottom: 24px; }
.pay-body { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; }
.qr { margin-inline: auto; background: #fff; padding: 12px; border-radius: var(--r-md); width: 260px; height: 260px; box-shadow: 0 0 0 1px var(--gold-soft), 0 0 0 8px rgba(214, 176, 106, .07); }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-note { text-align: center; margin: 14px 0 0; }
.pay-code label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .88rem; }
.pay-code textarea { width: 100%; resize: none; padding: .75em; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: .78rem/1.4 ui-monospace, Consolas, monospace; margin-bottom: 12px; word-break: break-all; }
.pay-status { margin-top: 16px; display: flex; align-items: center; gap: 10px; color: var(--warn); font-weight: 600; font-size: .92rem; }
.pay-status.ok { color: var(--ok); }
.spinner { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { margin: 28px 0 0; padding-left: 1.3em; color: var(--muted); }
.steps li { margin-bottom: 4px; }

/* ---------- Conta ---------- */
.account { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-bottom: 64px; align-items: start; }
.account .wide { grid-column: 1 / -1; }
.card h2 { font-size: 1.4rem; }
.card h3 { margin-top: 1.6em; font-size: 1rem; }
.account .card .btn + .btn { margin-left: 6px; }
.sub-status { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.plain { list-style: none; padding: 0; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .82rem; }
.table th, .table td { padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tag { padding: .18em .7em; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid; }
.tag-ok { color: var(--ok); border-color: rgba(95, 211, 161, .4); }
.tag-warn { color: var(--warn); border-color: rgba(240, 180, 90, .4); }
.tag-bad { color: var(--bad); border-color: rgba(255, 123, 141, .4); }
.tag-muted { color: var(--muted); border-color: var(--line-strong); }
.prose { max-width: 740px; padding-top: 44px; padding-bottom: 64px; }
.prose h2 { margin-top: 1.7em; font-size: 1.3rem; }
.prose p, .prose li { color: #dccdc3; }

/* ---------- Rodapé ---------- */
.site-footer { margin-top: 72px; background: var(--bg-deep); border-top: 1px solid var(--line); padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font: 700 .88rem var(--font-body); color: var(--gold); margin-bottom: .8em; }
.footer-grid a:not(.brand) { display: block; padding: 4px 0; color: #dccdc3; transition: color .15s ease; }
.footer-grid a:not(.brand):hover { color: var(--gold); }
.footer-grid .brand + p { margin-top: 12px; max-width: 30ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; margin-top: 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Mobile: busca grande e barra de abas ---------- */
.m-search-wrap { display: none; }
.tabbar { display: none; }

/* ---------- Telas médias ---------- */
@media (max-width: 1040px) {
  .header-inner { gap: 16px; }
  .search input { width: 150px; }
  .search input:focus { width: 210px; }
}
@media (max-width: 960px) {
  .watch { grid-template-columns: minmax(0, 1fr); }
  .watch-side { position: static; }
  .ep-list { max-height: none; }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .series-hero-inner { grid-template-columns: 190px minmax(0, 1fr); gap: 28px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: 36px; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  :root { --header-h: 58px; }
  .container { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .header-inner { gap: 8px; }
  .nav-toggle, .main-nav, .search { display: none !important; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-ghost { display: none; }
  .brand { font-size: 1.3rem; min-height: 44px; }

  /* Hero: capa em destaque, título logo abaixo */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding-top: 22px; padding-bottom: 28px; justify-items: center; text-align: center; }
  .hero-poster { order: -1; width: min(58vw, 236px); justify-self: center; margin-bottom: 30px; }
  .hero-text h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .hero-text > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 1rem; margin-inline: auto; }
  .hero-text .meta { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-thumbs { justify-content: center; margin-top: -10px; padding-bottom: 28px; }

  .band-inner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 2px; }
  .row { margin: 36px auto; }
  .row-scroll { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; scroll-padding-left: 18px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
  .row-scroll .poster-card { flex-basis: 142px; }
  .row-scroll .poster-card:last-child { margin-right: 18px; }
  .grid-posters { grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 24px 14px; }
  .top-num { font-size: 6.8rem; }
  .top-card .poster { width: 116px; }

  .series-hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 24px; padding-bottom: 36px; text-align: center; justify-items: center; }
  .series-poster { width: min(52vw, 210px); margin-bottom: 14px; }
  .series-info .meta, .series-info .hero-cta { justify-content: center; }
  .series-info .hero-cta .btn { flex: 1 1 100%; }
  .series-info .synopsis, .series-info .series-note { text-align: left; }

  .pay-body { grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: stretch; }
  .pay-code { order: 1; }
  .qr-wrap { order: 2; justify-self: center; }
  .qr { width: 220px; height: 220px; }
  .pay-code textarea { font-size: 12px; }
  #copy-pix { min-height: 52px; font-size: 1.05rem; }
  .account, .field-row { grid-template-columns: minmax(0, 1fr); }
  .field-row { row-gap: 0; }
  .checkout-form .btn-block + p { margin-top: 14px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .page-head { padding-top: 26px; }
  .prose { padding-top: 26px; }
  .checkout { padding-top: 24px; gap: 18px; }
  .checkout-summary { order: -1; }
  .checkout-form, .checkout-summary { padding: 22px; }
  .plans { gap: 28px; }
  h1 { overflow-wrap: anywhere; }

  /* Player: cabe inteiro na altura útil (dvh acompanha a barra do navegador) */
  .player-wrap { background: #000; }
  .player { width: min(100%, calc((100vh - 130px) * 9 / 16)); width: min(100%, calc((100dvh - 130px) * 9 / 16)); height: auto; max-height: none; margin-inline: auto; border: 0; }
  body.page-watch .watch { padding-left: 0; padding-right: 0; }
  body.page-watch .watch > * { padding: 0 18px; }
  body.page-watch .player-wrap { padding: 0; }
  body.page-watch .player { border-radius: 0; }

  /* Busca grande, com teclado já aberto pela aba "Buscar" */
  .m-search-wrap { display: block; }
  .m-search { position: relative; display: block; margin: 6px 0 4px; }
  .m-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
  .m-search input { width: 100%; min-height: 50px; padding: 0 16px 0 46px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
  .m-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 176, 106, .18); }

  /* Filtros em uma linha rolável */
  .filters { flex-direction: column; align-items: stretch; gap: 6px; margin-bottom: 16px; }
  .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; scroll-padding: 0 18px; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; white-space: nowrap; }
  .sorts { gap: 18px; }

  /* Barra de abas */
  .tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 6px max(6px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-right));
    background: rgba(18, 6, 11, .9); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border-top: 1px solid var(--line);
  }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: var(--r-md); color: var(--muted); font-size: .68rem; font-weight: 600; transition: color .18s ease, transform 120ms var(--ease-out); }
  .tabbar a:active { transform: scale(.94); }
  .tabbar a.active { color: var(--text); }
  .tabbar a.active svg { color: var(--gold); }
  .tabbar a.active::before { content: ""; position: absolute; top: -7px; width: 24px; height: 2px; background: var(--gold); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  body.page-watch, body.no-tabbar { padding-bottom: 0; }
  body.page-watch .tabbar, body.no-tabbar .tabbar { display: none; }
  .site-footer { margin-top: 44px; }
}

/* ---------- Toque: alvos de 44px e campos que não dão zoom no iOS ---------- */
@media (max-width: 760px), (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .pill { min-height: 44px; display: inline-flex; align-items: center; padding: .4em 1.15em; }
  .sorts a, .row-head a { min-height: 44px; display: inline-flex; align-items: center; }
  .user-menu summary { min-height: 44px; }
  .user-menu .menu a { padding: 13px 12px; }
  .pagination a { width: 44px; height: 44px; }
  .footer-grid a:not(.brand) { padding: 9px 0; }
  .check input { width: 20px; height: 20px; }
  .field input, .field select, .field textarea, .search input { font-size: 16px; }
  .field input, .field select { min-height: 48px; }
  .watch-crumbs a, .checkout-summary a.small, .auth-card .small a { padding: 12px 0; }
}

/* ---------- Movimento reduzido: sem deslocamentos, só esmaecer ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide.is-active .hero-text > *, .hero-slide.is-active .hero-poster { animation: fade .3s ease backwards; animation-delay: 0s; }
  .hero-thumb.is-active::after { animation: none; transform: scaleX(1); }
  .poster-card:hover .poster { transform: none; }
  .btn:active, .poster-card:active .poster, .tabbar a:active { transform: none; }
}
