/* ══════════════════════════════════════════════════════════════════════════
   thefilmezone — v2.0
   Identidade visual 100% preservada da landing original.
   Tokens de cor, tipografia, sombras e raios centralizados para reuso.
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Cores — exatamente as da landing original */
  --bg:          #160b30;   /* fundo principal roxo escuro */
  --bg-deep:     #150826;   /* roxo mais profundo (texto sobre roxo / fundos) */
  --bg-footer:   #1c1136;
  --purple:      #4c007d;   /* roxo da marca */
  --purple-2:    #6a1aa8;   /* roxo hover */
  --purple-soft: #9b47d4;
  --purple-glow: #c97fff;
  --card:        #2e2359;   /* card padrão */
  --card-2:      #362a63;   /* card alternativo (planos) */
  --card-3:      #3c2f70;   /* card interno (dores) */
  --card-line:   rgba(150, 110, 220, 0.16);
  --white:       #f7f5fb;
  --text:        #ebe8f5;
  --muted:       #cfc7e6;
  --muted-2:     #b9aedb;
  --muted-3:     #a89ecb;
  --muted-4:     #7a6f9a;
  --gold:        #e0b04a;

  /* Raios */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 100px;

  /* Sombras */
  --shadow-card:   0 24px 60px -24px rgba(0,0,0,0.55);
  --shadow-purple: 0 24px 60px -18px rgba(76,0,125,0.55);
  --shadow-float:  0 40px 90px -20px rgba(0,0,0,0.55);

  /* Gradientes roxos */
  --grad-brand:  linear-gradient(135deg, #4c007d, #6a1aa8);
  --grad-line:   linear-gradient(90deg, #4c007d, #9b47d4, #c97fff);
  --grad-glow:   radial-gradient(closest-side, rgba(120,40,200,0.42), rgba(120,40,200,0));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #c9a3ec; text-decoration: none; }
a:hover { color: #ddbdf5; }
::selection { background: rgba(76,0,125,0.4); }

img { max-width: 100%; }

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

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.container { max-width: 1160px; margin: 0 auto; }

/* ══ HEADER ══════════════════════════════════════════════════════════════ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 40px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22,11,48,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 23px; color: var(--white); white-space: nowrap; }
.logo-text span { color: #4c007d; }
/* Logo em imagem: nome completo no desktop, só o ícone no celular */
.logo img { display: block; width: auto; }
.logo .logo-full { height: 60px; }
.logo .logo-icon { display: none; height: 52px; }
/* Logo do Web Player: só o nome (sem o ícone), como o "prime video" */
.pv-header .logo img { display: none; }
.pv-logo-text { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 26px; line-height: 1; color: #f7f5fb; letter-spacing: -0.5px; white-space: nowrap; }
.pv-logo-text span { color: #9b47d4; }
@media (max-width: 700px) {
  .logo .logo-full { display: none; }
  .logo .logo-icon { display: block; height: 48px; }
}

.nav { display: flex; align-items: center; gap: 4px; background: #2b1f4d; padding: 6px; border-radius: var(--r-pill); }
.nav a { color: #e3ddf0; font-size: 13.5px; font-weight: 600; padding: 9px 15px; border-radius: var(--r-pill); white-space: nowrap; transition: background 0.2s, color 0.2s; }
.nav a:hover { background: #3a2c63; color: var(--white); }
.nav a.active { background: var(--purple); color: var(--white); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.btn-primary {
  background: var(--purple);
  color: #150826;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { background: var(--purple-2); color: #150826; }

/* Botão fantasma (secundário no header, ex.: Área do Cliente) */
.btn-ghost {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(174,130,230,0.35);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(76,0,125,0.35); border-color: rgba(174,130,230,0.6); color: var(--white); }

/* Brilho deslizante nos botões roxos */
.btn-primary::after,
.btn-hero::after,
.btn-final::after,
.btn-cta-glow::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-hero:hover::after,
.btn-final:hover::after,
.btn-cta-glow:hover::after { animation: sheen 0.9s ease; }
@keyframes sheen { to { left: 130%; } }

/* ══ HERO (landing) ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--bg);
  padding: 80px 40px 110px;
  overflow: hidden;
}
.hero-sparkle { position: absolute; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.hero h1 span { color: #4c007d; }
.hero p.subhead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 500px;
  margin: 0 0 34px;
  text-wrap: pretty;
}

/* Selo de topo (avaliação clientes) */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(76,0,125,0.28);
  border: 1px solid var(--card-line);
  padding: 7px 14px 7px 8px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.hero-eyebrow .stars { display: inline-flex; gap: 1px; }
.hero-eyebrow strong { color: var(--white); }

.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.btn-hero {
  background: var(--purple);
  color: #150826;
  font-weight: 700;
  font-size: 16.5px;
  padding: 17px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.btn-hero:hover { background: var(--purple-2); color: #150826; }

/* "Já sou cliente" — link/botão secundário */
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 700; font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(174,130,230,0.4);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(76,0,125,0.3); border-color: rgba(174,130,230,0.7); color: var(--white); }

/* Indicadores de qualidade abaixo dos CTAs */
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust .item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted-2); }
.hero-trust .item svg { flex: none; }
.hero-trust .item strong { color: var(--white); font-weight: 700; }

.hero-visual { position: relative; }
.hero-shot {
  background: var(--bg-deep);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-float);
  position: relative;
}
.hero-shot img { width: 100%; height: auto; display: block; border-radius: var(--r-md); object-fit: cover; }
.badge-rating {
  position: absolute; top: -18px; right: -18px;
  background: var(--white); border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.badge-rating .stars { display: flex; gap: 2px; }
.badge-rating .label { font-size: 11.5px; font-weight: 700; color: #221a35; }
.badge-support {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--purple); border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
}
.badge-support div { font-size: 11.5px; font-weight: 700; color: #150826; }

/* Chips de dispositivos compatíveis no hero */
.device-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.device-chips .lbl { font-size: 12.5px; color: var(--muted-3); }
.device-chips .chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-line);
  padding: 6px 12px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
}

/* ══ ABOUT / STATS ════════════════════════════════════════════════════════ */
.about { padding: 80px 40px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { background: var(--card); border-radius: var(--r-md); padding: 22px; border: 1px solid rgba(255,255,255,0.03); }
.stat-card .num { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 28px; color: var(--white); }
.stat-card .label { font-size: 13px; color: var(--white); }
.about h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 36px; line-height: 1.1; margin: 0 0 18px; text-wrap: pretty; }
.about p { font-size: 16.5px; line-height: 1.65; color: #c3bade; margin: 0 0 28px; text-wrap: pretty; }

.btn-secondary {
  display: inline-block; background: var(--purple); color: #150826;
  font-weight: 700; font-size: 15.5px; padding: 15px 26px;
  border-radius: var(--r-pill); border: none; cursor: pointer;
}
.btn-secondary:hover { background: var(--purple-2); color: #150826; }

/* ══ PAIN ═════════════════════════════════════════════════════════════════ */
.pain-section { padding: 20px 40px 90px; }
.pain-box { background: var(--card); border-radius: var(--r-xl); padding: 60px; }
.pain-box h2 {
  font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 34px; color: var(--white);
  margin: 0 auto 14px; text-wrap: pretty; text-align: center; max-width: 680px;
}
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.pain-card { background: var(--card-3); border-radius: 14px; padding: 20px; font-size: 14.5px; line-height: 1.5; color: #d8d2ea; }

/* ══ SOLUTION / BENEFITS ══════════════════════════════════════════════════ */
.solution { padding: 0 40px 90px; text-align: center; }
.solution-head { max-width: 740px; margin: 0 auto 56px; }
.solution-head h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 38px; line-height: 1.12; margin: 0 0 18px; text-wrap: pretty; }
.solution-head p { font-size: 17px; line-height: 1.6; color: var(--muted-2); text-wrap: pretty; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.benefit-card { background: var(--card); border-radius: var(--r-md); padding: 26px 22px; text-align: left; border: 1px solid rgba(255,255,255,0.03); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-purple); border-color: var(--card-line); }
.benefit-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--purple); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.benefit-card .title { font-weight: 700; font-size: 15.5px; color: var(--white); margin-bottom: 8px; line-height: 1.3; }
.benefit-card .desc { font-size: 13.5px; line-height: 1.5; color: var(--muted-3); }

/* ══ SHOWCASE (Em Alta Hoje + Canais de Esportes) ════════════════════════════ */
.showcase { max-width: 1200px; margin: 56px auto 0; text-align: left; }
.solution .showcase:first-of-type { margin-top: 4px; }
.showcase-head { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 0 2px; }
.showcase-ic { flex: none; display: inline-flex; }
.showcase-head h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 22px; color: var(--white); margin: 0; }

/* trilho horizontal com scroll suave (esconde a barra) */
.poster-row, .chan-row {
  display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden;
  padding: 6px 2px 16px; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--purple) transparent;
}
.poster-row::-webkit-scrollbar, .chan-row::-webkit-scrollbar { height: 8px; }
.poster-row::-webkit-scrollbar-thumb, .chan-row::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 20px; }
.poster-row::-webkit-scrollbar-track, .chan-row::-webkit-scrollbar-track { background: transparent; }

/* ── esteira automática (cards se movendo lateralmente sozinhos) ── */
.poster-row.marquee, .chan-row.marquee {
  display: block; overflow: hidden; padding: 6px 0 16px;
  scroll-snap-type: none; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.poster-row.marquee::-webkit-scrollbar, .chan-row.marquee::-webkit-scrollbar { display: none; }
.marquee .marquee-track {
  display: flex; gap: 14px; width: max-content;
  will-change: transform; animation: tfz-marquee var(--dur, 60s) linear infinite;
}
.chan-row.marquee .marquee-track { animation-duration: var(--dur, 42s); }
/* pausa ao passar o mouse */
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes tfz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .poster-row.marquee, .chan-row.marquee { overflow-x: auto; scrollbar-width: thin; }
  .marquee .marquee-track { animation: none; }
}

/* posters TMDB */
.poster-card {
  position: relative; flex: none; width: 160px; aspect-ratio: 2 / 3; border-radius: 14px;
  overflow: hidden; scroll-snap-align: start; background: var(--card);
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.7); transition: transform 0.25s, box-shadow 0.25s;
}
.poster-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 18px 40px -14px rgba(76,0,125,0.9); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-nota {
  position: absolute; top: 8px; left: 8px; background: rgba(10,5,22,0.82); color: #ffd400;
  font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}

/* cartões de canais de esporte */
.chan-card {
  position: relative; flex: none; width: 168px; height: 92px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; scroll-snap-align: start;
  background: linear-gradient(135deg, var(--c1, #0b3fa8), var(--c2, #1e63e0));
  box-shadow: 0 10px 24px -14px rgba(0,0,0,0.8); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.chan-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.9); }
.chan-name {
  font-family: 'Baloo 2', sans-serif; font-style: italic; font-weight: 800; font-size: 19px;
  color: #fff; text-align: center; padding: 0 12px; line-height: 1.05; z-index: 1;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35); letter-spacing: 0.01em;
}
.chan-trophy { position: absolute; right: 8px; bottom: 4px; font-size: 20px; opacity: 0.32; z-index: 0; }

@media (max-width: 600px) {
  .showcase { margin-top: 40px; }
  .showcase-head h3 { font-size: 19px; }
  .poster-card { width: 128px; border-radius: 12px; }
  .chan-card { width: 140px; height: 82px; }
  .chan-name { font-size: 17px; }
}

/* ══ PRICING ══════════════════════════════════════════════════════════════ */
.pricing { position: relative; background: var(--bg); padding: 90px 40px; overflow: hidden; }
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto 56px; position: relative; z-index: 1; }
.pricing-head h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 38px; color: var(--white); margin: 0 0 16px; }
.pricing-head p { font-size: 17px; color: var(--muted-2); margin: 0; }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; align-items: stretch; position: relative; z-index: 1; }
.plan-card { background: var(--card-2); border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.plan-card:not(.featured):hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.plan-name { font-weight: 700; font-size: 14px; letter-spacing: 0.02em; color: #b1a6cf; text-transform: uppercase; margin-bottom: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan-price .amount { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 36px; color: var(--white); }
.plan-price .period { font-size: 14px; color: var(--muted-3); }
.plan-euro { font-size: 14.5px; font-weight: 600; color: var(--purple-soft); margin: 0 0 22px; }
.plan-card.featured .plan-euro { color: #e2c8fa; }
.plan-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; flex: 1; }
.plan-features div { display: flex; gap: 10px; font-size: 14.5px; color: #d8d2ea; }
.plan-features span.check { color: #a45fd9; }
.btn-plan { text-align: center; background: #4a3d78; color: #f2eefa; font-weight: 700; font-size: 15px; padding: 14px; border-radius: var(--r-pill); border: none; cursor: pointer; display: block; }
.btn-plan:hover { background: #5b4c8f; }
.plan-trial-link { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: #b79be0; text-decoration: none; transition: color 0.2s; }
.plan-trial-link:hover { color: #e2c8fa; text-decoration: underline; }
.plan-card.featured .plan-trial-link { color: #e7d4fb; }
.plan-card.featured { background: var(--purple); position: relative; transform: translateY(-14px); box-shadow: var(--shadow-purple); }
.plan-card.featured .badge { position: absolute; top: -14px; left: 36px; background: var(--bg-deep); color: var(--white); font-weight: 700; font-size: 12.5px; padding: 6px 14px; border-radius: var(--r-pill); }
.plan-card.featured .plan-name { color: #e2c8fa; }
.plan-card.featured .plan-price .period { color: #dcbdf5; }
.plan-card.featured .plan-features div { font-weight: 600; color: #f2eefa; }
.plan-card.featured .plan-features span.check { color: #e2c8fa; }
.plan-card.featured .btn-plan { background: var(--bg-deep); color: var(--white); }
.plan-card.featured .btn-plan:hover { background: #241340; }
.pricing-note { text-align: center; font-size: 14px; color: #b1a6cf; margin: 32px 0 0; position: relative; z-index: 1; }

/* ══ GUARANTEE ════════════════════════════════════════════════════════════ */
.guarantee-section { padding: 80px 40px; }
.guarantee-box { background: var(--card); border-radius: var(--r-xl); padding: 56px; display: flex; align-items: center; gap: 40px; }
.guarantee-icon { flex: none; width: 80px; height: 80px; border-radius: 20px; background: var(--purple); display: flex; align-items: center; justify-content: center; }
.guarantee-box h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 26px; color: var(--white); margin: 0 0 10px; }
.guarantee-box p { font-size: 15.5px; line-height: 1.6; color: var(--muted-2); margin: 0; max-width: 640px; }

/* ══ FAQ ══════════════════════════════════════════════════════════════════ */
.faq-section { padding: 0 40px 100px; }
.faq-section h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 38px; text-align: center; margin: 0 0 44px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border-radius: var(--r-md); overflow: hidden; border: 1px solid transparent; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--card-line); }
.faq-question { width: 100%; text-align: left; background: none; border: none; color: inherit; font: inherit; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.faq-question .q { font-size: 15.5px; font-weight: 700; color: var(--white); }
.faq-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); align-items: center; justify-content: center; display: flex; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon svg .v-line { transition: opacity 0.15s; }
.faq-answer { margin: 0; padding: 0 24px 22px; font-size: 14.5px; line-height: 1.6; color: var(--muted-3); display: none; }
.faq-item.open .faq-answer { display: block; }

/* ══ FINAL CTA ════════════════════════════════════════════════════════════ */
.final-cta { position: relative; background: var(--bg); padding: 100px 40px; text-align: center; overflow: hidden; }
.final-cta h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 42px; line-height: 1.14; color: var(--white); margin: 0 auto 20px; max-width: 760px; text-wrap: pretty; position: relative; z-index: 1; }
.final-cta p { font-size: 17px; color: var(--muted-2); max-width: 600px; margin: 0 auto 36px; line-height: 1.6; position: relative; z-index: 1; }
.btn-final { display: inline-block; position: relative; z-index: 1; background: var(--purple); color: #150826; font-weight: 700; font-size: 17px; padding: 19px 32px; border-radius: var(--r-pill); border: none; cursor: pointer; overflow: hidden; }
.btn-final:hover { background: var(--purple-2); color: #150826; }

/* ══ FOOTER ═══════════════════════════════════════════════════════════════ */
.footer { background: var(--bg-footer); padding: 48px; }

/* Footer simples (página principal — igual ao original) */
.footer-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.footer p.ps { font-size: 13.5px; line-height: 1.6; color: var(--muted-3); margin: 0 0 28px; }
.footer-inner .footer-logo { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; color: var(--white); margin-bottom: 10px; }
.footer-inner .footer-logo span { color: #4c007d; }
.footer p.copy { font-size: 12.5px; color: var(--muted-4); margin: 0; }

/* Footer multi-coluna (páginas internas) */
.footer-top { max-width: 1160px; margin: 0 auto 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; text-align: left; }
.footer-brand .footer-logo { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 22px; color: var(--white); margin-bottom: 12px; }
.footer-brand .footer-logo span { color: #4c007d; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: var(--muted-3); margin: 0; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted-4); margin: 0 0 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 14px; color: var(--muted-2); margin-bottom: 11px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { max-width: 1160px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
.footer-bottom .ps { font-size: 13.5px; line-height: 1.6; color: var(--muted-3); margin: 0 auto 20px; max-width: 640px; }
.footer-bottom .copy { font-size: 12.5px; color: var(--muted-4); margin: 0; }

/* ══ SCROLL PROGRESS ══════════════════════════════════════════════════════ */
#scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: var(--grad-line); z-index: 1000; border-radius: 0 2px 2px 0; pointer-events: none; }

/* ══ HAMBURGER + MOBILE MENU ══════════════════════════════════════════════ */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 10px; z-index: 60; }
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transform-origin: center; transition: none; }
.mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 55; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; opacity: 0; pointer-events: none; }
.mobile-menu.is-open { pointer-events: auto; }
.mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.mobile-nav a { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 24px; color: var(--white); padding: 12px 32px; border-radius: var(--r-md); text-align: center; width: 100%; max-width: 340px; }
.mobile-nav a:hover, .mobile-nav a.active { background: #2b1f4d; color: var(--white); }
.mobile-menu-cta { margin-top: 18px; font-size: 16px !important; padding: 16px 28px !important; text-align: center; }

/* ══════════════════════════════════════════════════════════════════════════
   COMPONENTES COMPARTILHADOS DAS NOVAS PÁGINAS
   ══════════════════════════════════════════════════════════════════════════ */

/* Cabeçalho de página interna (page hero) */
.page-hero { position: relative; padding: 68px 40px 54px; text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 720px; height: 460px; background: var(--grad-glow); pointer-events: none; }
.breadcrumb { position: relative; z-index: 1; font-size: 13px; color: var(--muted-3); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted-2); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.page-eyebrow { position: relative; z-index: 1; display: inline-block; background: rgba(76,0,125,0.3); border: 1px solid var(--card-line); color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 7px 15px; border-radius: var(--r-pill); margin-bottom: 20px; }
.page-hero h1 { position: relative; z-index: 1; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.14; color: var(--white); margin: 0 auto 18px; max-width: 760px; text-wrap: pretty; }
.page-hero h1 span { color: var(--purple-soft); }
.page-hero .lead { position: relative; z-index: 1; font-size: 17.5px; line-height: 1.6; color: var(--muted-2); max-width: 620px; margin: 0 auto; text-wrap: pretty; }

/* Seção genérica */
.section { padding: 20px 40px 80px; }
.section-narrow { max-width: 900px; margin: 0 auto; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.section-head h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 34px; line-height: 1.14; color: var(--white); margin: 0 0 14px; text-wrap: pretty; }
.section-head p { font-size: 16px; line-height: 1.6; color: var(--muted-2); margin: 0; }
.section-title-left { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 28px; color: var(--white); margin: 0 0 24px; }

/* Card glass reutilizável */
.glass {
  background: linear-gradient(160deg, rgba(76,32,120,0.28), rgba(30,17,54,0.55));
  border: 1px solid var(--card-line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Grid de features (institucional) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card { padding: 30px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid rgba(255,255,255,0.03); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-purple); border-color: var(--card-line); }
.feature-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-card .ic svg { stroke: var(--white); }
.feature-card h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin: 0 0 10px; }
.feature-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted-3); margin: 0; }

/* Bloco de conteúdo texto + destaque (Quem somos / história) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 20px 40px 60px; }
.split.reverse .split-text { order: 2; }
.split-text h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 32px; line-height: 1.15; color: var(--white); margin: 0 0 18px; }
.split-text p { font-size: 16px; line-height: 1.7; color: #c3bade; margin: 0 0 16px; }
.split-visual { position: relative; }
.split-visual .glass { padding: 40px; }
.mission-quote { font-family: 'Baloo 2', sans-serif; font-size: 24px; line-height: 1.35; color: var(--white); font-weight: 600; }
.mission-quote span { color: var(--purple-soft); }

/* Linha do tempo (Nossa história) */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--purple), rgba(76,0,125,0.1)); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before { content: ""; position: absolute; left: -33px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--purple); border: 3px solid var(--bg); box-shadow: 0 0 0 3px rgba(76,0,125,0.4); }
.timeline-item .yr { font-family: 'Baloo 2', sans-serif; font-weight: 700; color: var(--purple-soft); font-size: 15px; margin-bottom: 4px; }
.timeline-item h4 { font-size: 17px; color: var(--white); margin: 0 0 6px; font-weight: 700; }
.timeline-item p { font-size: 14.5px; line-height: 1.6; color: var(--muted-3); margin: 0; }

/* Faixa de números */
.metrics-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto; }
.metric { text-align: center; padding: 28px 16px; border-radius: var(--r-lg); }
.metric .n { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 38px; color: var(--white); line-height: 1; }
.metric .l { font-size: 13.5px; color: var(--muted-2); margin-top: 8px; }

/* ══ BAIXAR APP ═══════════════════════════════════════════════════════════ */
.download-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; max-width: 880px; margin: 34px auto 0; }
.big-btn { flex: 1 1 240px; display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--card-line); text-align: left; cursor: pointer; transition: transform 0.22s, box-shadow 0.22s; color: var(--white); }
.big-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); color: var(--white); }
.big-btn .big-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.big-btn .big-ic svg { stroke: var(--white); }
.big-btn .t { display: block; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 17px; color: var(--white); line-height: 1.25; }
.big-btn .s { display: block; font-size: 12.5px; color: var(--muted-3); margin-top: 3px; line-height: 1.3; }
.big-btn.primary { background: var(--grad-brand); border-color: transparent; box-shadow: 0 18px 40px -14px rgba(76,0,125,0.8); }
.big-btn.primary .big-ic { background: rgba(255,255,255,0.16); }
.big-btn.primary .s { color: #e2c8fa; }

/* Filtro de dispositivos */
.device-filter { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 6px auto 40px; max-width: 900px; }
.device-filter button { background: #2b1f4d; color: #d8d2ea; border: 1px solid transparent; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: var(--r-pill); cursor: pointer; transition: background 0.18s, color 0.18s; }
.device-filter button:hover { background: #3a2c63; color: var(--white); }
.device-filter button.active { background: var(--purple); color: var(--white); }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; }
.device-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--card); border: 1px solid rgba(255,255,255,0.04); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.device-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--card-line); }
.device-thumb { position: relative; aspect-ratio: 16/10; background: linear-gradient(150deg, #241448, #17102e); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.device-thumb .glyph { width: 84px; height: 84px; opacity: 0.9; }
.device-thumb .glyph svg { width: 100%; height: 100%; }
.device-thumb .play { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(76,0,125,0.85); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; }
.device-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.device-body h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin: 0 0 8px; }
.device-body p { font-size: 14px; line-height: 1.55; color: var(--muted-3); margin: 0 0 20px; flex: 1; }
.device-actions { display: flex; gap: 10px; }
.device-actions a { flex: 1; text-align: center; font-weight: 700; font-size: 13.5px; padding: 11px; border-radius: var(--r-pill); }
.btn-dl { background: var(--purple); color: var(--white); }
.btn-dl:hover { background: var(--purple-2); color: var(--white); }
.btn-tut { background: transparent; color: var(--white); border: 1px solid rgba(174,130,230,0.4); }
.btn-tut:hover { background: rgba(76,0,125,0.3); color: var(--white); }
.tag-video { position: absolute; left: 14px; top: 14px; background: rgba(21,8,38,0.8); color: #e2c8fa; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 5px; }

/* ══ ÁREA DO CLIENTE (login) ══════════════════════════════════════════════ */
.auth-wrap { min-height: calc(100vh - 74px); display: flex; align-items: center; justify-content: center; padding: 60px 20px; position: relative; overflow: hidden; }
.auth-wrap::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 700px; background: var(--grad-glow); pointer-events: none; }
.auth-card { position: relative; z-index: 1; width: 100%; max-width: 420px; padding: 40px 36px; border-radius: var(--r-xl); }
.auth-card .auth-logo { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 8px; }
.auth-card .auth-logo .logo-text { font-size: 21px; }
.auth-card h1 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 24px; color: var(--white); text-align: center; margin: 6px 0 4px; }
.auth-card .sub { text-align: center; font-size: 14px; color: var(--muted-3); margin: 0 0 28px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.field .input-wrap { position: relative; display: flex; align-items: center; }
.field .input-wrap svg { position: absolute; left: 14px; stroke: var(--muted-3); pointer-events: none; }
.field input, .field select {
  width: 100%; background: rgba(21,8,38,0.6); border: 1px solid var(--card-line);
  border-radius: var(--r-sm); color: var(--white); font: inherit; font-size: 15px;
  padding: 13px 14px; transition: border-color 0.18s, box-shadow 0.18s;
}
.field .input-wrap input { padding-left: 42px; }
.field .input-wrap select { padding-left: 42px; }
.field input::placeholder { color: #7d729c; }
.field input:focus, .field select:focus { outline: none; border-color: var(--purple-soft); box-shadow: 0 0 0 3px rgba(76,0,125,0.35); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a89ecb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* País (busca com bandeira) + WhatsApp com prefixo de DDI */
.field-row { display: grid; grid-template-columns: 1.05fr 1.3fr; gap: 12px; }
.country-select { position: relative; }
.country-trigger {
  width: 100%; display: flex; align-items: center; gap: 9px; height: 47px;
  background: rgba(21,8,38,0.6); border: 1px solid var(--card-line); border-radius: var(--r-sm);
  padding: 0 12px; color: var(--white); font: inherit; font-size: 14.5px; cursor: pointer; text-align: left;
}
.country-trigger:focus { outline: none; border-color: var(--purple-soft); box-shadow: 0 0 0 3px rgba(76,0,125,0.35); }
.country-flag { font-size: 18px; line-height: 1; }
.country-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-caret { flex: none; opacity: .6; }
.country-dropdown {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; min-width: 260px;
  background: #1b0e38; border: 1px solid var(--purple-soft); border-radius: var(--r-sm);
  box-shadow: 0 20px 44px rgba(0,0,0,0.5); overflow: hidden; display: flex; flex-direction: column;
}
.country-search {
  margin: 10px; width: calc(100% - 20px); background: rgba(255,255,255,0.05); border: 1px solid var(--card-line);
  border-radius: 8px; color: var(--white); font: inherit; font-size: 13.5px; padding: 9px 11px;
}
.country-search:focus { outline: none; border-color: var(--purple-soft); }
.country-list { max-height: 240px; overflow-y: auto; padding: 0 6px 8px; }
.country-item { display: flex; align-items: center; gap: 9px; padding: 8px 8px; border-radius: 8px; cursor: pointer; font-size: 13.5px; color: #d8d2ea; }
.country-item:hover { background: rgba(76,0,125,0.35); }
.country-item .ccode { color: var(--muted-3); min-width: 42px; }
.country-item .cnome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-empty { padding: 14px 10px; font-size: 13px; color: var(--muted-3); text-align: center; }
.phone-wrap {
  display: flex; align-items: center; height: 47px; background: rgba(21,8,38,0.6);
  border: 1px solid var(--card-line); border-radius: var(--r-sm); padding: 0 14px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.phone-wrap:focus-within { border-color: var(--purple-soft); box-shadow: 0 0 0 3px rgba(76,0,125,0.35); }
.phone-prefix { color: var(--muted); font-weight: 600; font-size: 14.5px; margin-right: 8px; white-space: nowrap; }
.phone-wrap input { flex: 1; min-width: 0; background: none; border: none; padding: 0; color: var(--white); font: inherit; font-size: 15px; }
.phone-wrap input:focus { outline: none; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Captcha simples */
.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-box { flex: none; display: flex; align-items: center; gap: 10px; background: rgba(21,8,38,0.6); border: 1px solid var(--card-line); border-radius: var(--r-sm); padding: 0 14px; }
.captcha-code { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: 6px; color: var(--white); user-select: none; text-decoration: line-through; text-decoration-color: rgba(174,130,230,0.4); }
.captcha-reload { background: none; border: none; cursor: pointer; padding: 6px; display: flex; }
.captcha-reload svg { stroke: var(--muted-2); }
.btn-block { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; text-align: center; text-decoration: none; box-sizing: border-box; background: var(--purple); color: var(--white); font-weight: 700; font-size: 16px; padding: 15px; border-radius: var(--r-pill); border: none; cursor: pointer; margin-top: 6px; position: relative; overflow: hidden; }

/* Escolha da forma de pagamento (Cartão / PIX) */
.pay-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--card-line); border-radius: var(--r-md); background: rgba(21,8,38,0.5); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.pay-opt:hover { border-color: rgba(155,71,212,0.6); }
.pay-opt.is-active { border-color: var(--purple-2, #9b47d4); background: rgba(76,0,125,0.32); }
.pay-choice .pay-opt input[type="radio"] { width: 18px; min-width: 18px; height: 18px; flex: none; accent-color: var(--purple-2, #9b47d4); margin: 0; }
.pay-opt-ic { font-size: 20px; line-height: 1; }
.pay-opt span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.pay-opt small { color: var(--muted-3, #a89ecb); font-size: 11.5px; font-weight: 500; }
@media (max-width: 480px) { .pay-choice { grid-template-columns: 1fr; } }
.btn-block:hover { background: var(--purple-2); }
.auth-recover { margin-top: 20px; padding: 16px; text-align: center; border-radius: var(--r-md); background: rgba(21,8,38,0.5); border: 1px solid var(--card-line); }
.auth-recover p { margin: 0 0 6px; font-size: 13.5px; color: var(--muted-3); font-weight: 600; }
.auth-recover a { font-weight: 700; color: var(--white); text-decoration: underline; }
.auth-recover a:hover { color: #ddbdf5; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; }
.auth-links a { font-size: 13.5px; color: var(--muted-2); }
.auth-links a:hover { color: var(--white); }
.form-note { font-size: 12.5px; color: var(--muted-4); text-align: center; margin: 18px 0 0; }

/* Checkbox "Manter-me conectado" */
.check-inline { display: flex; align-items: center; gap: 10px; cursor: pointer; margin: 2px 0 4px; font-size: 13.5px; color: var(--muted-2); user-select: none; }
.check-inline input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: var(--purple); cursor: pointer; }
.check-inline:hover span { color: var(--white); }

/* Painel do cliente (simulação — inspirado em painel de revenda) */
.client-panel { position: relative; z-index: 1; width: 100%; max-width: 1040px; }
.demo-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #e2c8fa; background: rgba(76,0,125,0.4); border: 1px solid var(--card-line); padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 12px; }
.cp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cp-head h1 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 30px; color: var(--white); margin: 0 0 6px; }
.cp-sub { font-size: 14.5px; color: var(--muted-2); margin: 0; max-width: 520px; }
.cp-head-right { display: flex; align-items: center; gap: 12px; flex: none; }
.badge-status { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; color: #7ee0a8; background: rgba(46,160,100,0.14); border: 1px solid rgba(46,160,100,0.3); padding: 6px 14px; border-radius: var(--r-pill); }

.cp-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 20px; align-items: start; }
.cp-col { display: flex; flex-direction: column; gap: 20px; }
.cp-card { padding: 28px; border-radius: var(--r-xl); }
.cp-card h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 20px; color: var(--white); margin: 0 0 16px; }

.cp-field { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cp-field:last-child { border-bottom: none; }
.cp-field .k { font-size: 13px; color: var(--muted-3); min-width: 112px; flex: none; }
.cp-field .v { font-size: 14.5px; color: var(--white); font-weight: 600; flex: 1; word-break: break-all; }
.cp-copy { flex: none; background: rgba(255,255,255,0.06); border: 1px solid var(--card-line); color: var(--white); font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: var(--r-pill); cursor: pointer; transition: background 0.15s; }
.cp-copy:hover { background: rgba(76,0,125,0.5); }
.cp-copy.done { background: rgba(46,160,100,0.25); border-color: rgba(46,160,100,0.4); color: #a8f0c8; }

.cp-warn { margin-top: 16px; background: rgba(224,176,74,0.08); border: 1px solid rgba(224,176,74,0.28); border-radius: var(--r-md); padding: 14px 16px; }
.cp-warn strong { color: #e0b04a; font-size: 13px; display: block; margin-bottom: 5px; }
.cp-warn p { font-size: 12.5px; color: var(--muted-2); margin: 0; line-height: 1.55; }
.cp-warn code { background: rgba(255,255,255,0.09); padding: 1px 6px; border-radius: 5px; color: var(--white); font-size: 12px; }

.cp-action { display: block; width: 100%; text-align: center; background: rgba(21,8,38,0.5); border: 1px solid var(--card-line); color: var(--white); font-size: 14px; font-weight: 700; padding: 13px; border-radius: var(--r-pill); cursor: pointer; margin-bottom: 10px; transition: background 0.15s, border-color 0.15s; box-sizing: border-box; }
.cp-action:hover { background: rgba(76,0,125,0.42); color: var(--white); }
.cp-action.done { background: rgba(46,160,100,0.22); border-color: rgba(46,160,100,0.4); color: #a8f0c8; }
.cp-adult { color: #e0b04a; border-color: rgba(224,176,74,0.3); }
.cp-card .btn-block { margin-bottom: 10px; width: 100%; box-sizing: border-box; }
.cp-note { font-size: 13px; color: var(--muted-3); margin: 8px 0 0; }
.cp-note strong { color: var(--white); }
.cp-muted { font-size: 13px; color: var(--muted-3); line-height: 1.55; margin: 0 0 14px; }
.cp-lists { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cp-lists .cp-action, .cp-lists .btn-block { margin-bottom: 0; }

/* ══ WEB PLAYER (estilo streaming) ════════════════════════════════════════ */
.pv { max-width: 1280px; margin: 0 auto; padding: 0 32px 60px; }

/* Barra de abas + busca */
.pv-bar { position: sticky; top: 72px; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; background: linear-gradient(var(--bg) 70%, rgba(22,11,48,0)); }
.pv-tabs { display: flex; gap: 6px; background: #2b1f4d; padding: 5px; border-radius: var(--r-pill); }
.pv-tab { background: none; border: none; color: #e3ddf0; font: inherit; font-size: 14px; font-weight: 700; padding: 9px 18px; border-radius: var(--r-pill); cursor: pointer; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.pv-tab:hover { color: var(--white); }
.pv-tab.active { background: var(--purple); color: var(--white); }
/* Busca do Web Player: ícone que expande ao clicar (estilo Prime) */
.pv-search { position: relative; flex: none; display: flex; align-items: center; height: 40px; }
.pv-search-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; padding: 0; margin: 0; border: none; background: none; cursor: pointer; color: #f2ecff; }
.pv-search-ico:hover { background: rgba(255,255,255,0.08); }
.pv-search-ico svg { stroke: #d8d0ee; display: block; }
.pv-search input { display: none; }
.pv-header.search-open .pv-search { background: #17131f; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-pill); }
.pv-header.search-open .pv-search-ico { width: 38px; }
.pv-header.search-open .pv-search input { display: block; width: 210px; background: none; border: none; color: var(--white); font: inherit; font-size: 14px; padding: 9px 14px 9px 2px; }
.pv-header.search-open .pv-search input:focus { outline: none; }

/* Cabeçalho próprio do Web Player (substitui o header do site) */
/* Header flutuante: encostado no topo com um respiro nas laterais e cantos
   arredondados; fundo fica transparente sobre o banner e só ganha cor ao rolar. */
.pv-header { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 22px; margin: 0 16px; padding: 14px 32px; background: transparent; border-radius: 0 0 16px 16px; border-bottom: none; transition: background .3s; }
/* Scrim de leitura no topo enquanto o header está transparente sobre o banner */
.pv-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); opacity: 1; transition: opacity .3s; }
.pv-header.pv-solid { background: rgba(11,6,24,0.94); backdrop-filter: blur(12px); }
.pv-header.pv-solid::before { opacity: 0; }
.pv-header .logo { flex: none; }
.pv-nav { display: flex; align-items: center; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.pv-nav::-webkit-scrollbar { display: none; }
.pv-nav-link { color: #e3ddf0; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: var(--r-pill); white-space: nowrap; }
.pv-nav-link:hover { background: #3a2c63; color: var(--white); }
.pv-nav .pv-tab { flex: none; }
.pv-header .pv-search { flex: none; }
.pv-header-loader { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(174,130,230,0.25); border-top-color: var(--purple-soft); animation: spin 0.8s linear infinite; display: none; }
.pv-header.loading .pv-header-loader { display: block; }

.pv-view { display: none; }
.pv-view.active { display: block; animation: pvViewIn 0.32s ease; }
@keyframes pvViewIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pv-view.active { animation: none; } }

/* Hero / billboard */
.pv-hero { position: relative; border-radius: 8px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; margin: 8px 0 26px; }
.pv-hero-bg { position: absolute; inset: 0; background: linear-gradient(120deg, #3a1170, #150826 70%); }
.pv-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 80% 20%, rgba(155,71,212,0.45), transparent 55%); }
.pv-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,6,24,0.92) 0%, rgba(11,6,24,0.55) 45%, rgba(11,6,24,0) 75%); }
.pv-hero-content { position: relative; z-index: 1; padding: 40px; max-width: 560px; }
.pv-hero .pv-badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #e2c8fa; background: rgba(76,0,125,0.55); border: 1px solid var(--card-line); padding: 5px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }
.pv-hero h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; color: var(--white); margin: 0 0 12px; }
.pv-hero .meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted-2); margin-bottom: 12px; }
.pv-hero .meta span { display: inline-flex; align-items: center; gap: 5px; }
.pv-hero p { font-size: 15px; line-height: 1.55; color: #d6cff0; margin: 0 0 22px; }
.pv-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Banner estilo Prime (carrossel de destaques) ───────────────────────── */
.pv-hero-cine { position: relative; min-height: clamp(420px, 58vw, 680px); border-radius: 0; align-items: stretch; margin-bottom: 0;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* Degradê que funde o banner no fundo da página (transição para o Top 10) */
.pv-hero-cine::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: 1;
  pointer-events: none; background: linear-gradient(180deg, rgba(var(--pv-bg-rgb),0) 0%, rgba(var(--pv-bg-rgb),.65) 55%, var(--pv-bg) 100%); }
/* Banner no topo de Filmes/Séries: mais baixo que o da home (não fica sob o header) */
.pv-hero-cine.pv-hero-pag { min-height: clamp(300px, 40vw, 440px); }
.pv-hero-cine.pv-hero-pag::after { height: 120px; }
.pvh-slides, .pvh-fade { position: absolute; inset: 0; }
/* Trailer do YouTube por cima do backdrop, abaixo do degradê e do texto */
.pvh-trailer { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pvh-trailer iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; min-width: 100%; min-height: 100%; aspect-ratio: 16 / 9; border: 0; }
.pvh-mute { position: absolute; z-index: 4; right: clamp(16px, 4vw, 48px); bottom: 78px;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer;
  background: rgba(20,12,34,.55); border: 1.6px solid rgba(255,255,255,.55); backdrop-filter: blur(4px);
  transition: background .2s, border-color .2s, transform .2s; }
.pvh-mute:hover { background: rgba(76,0,125,.85); border-color: #fff; transform: scale(1.07); }
.pvh-slide { position: absolute; inset: 0; background-size: cover; background-position: center 12%;
  background-color: #150826; opacity: 0; transition: opacity .9s ease; }
.pvh-slide.on { opacity: 1; }
.pvh-fade { pointer-events: none; z-index: 1; background:
  linear-gradient(90deg, #0b0618 6%, rgba(11,6,24,.82) 32%, rgba(11,6,24,.25) 56%, rgba(11,6,24,0) 74%),
  linear-gradient(0deg, #0b0618 1%, rgba(11,6,24,.55) 20%, rgba(11,6,24,0) 46%); }
.pvh-inner { position: relative; z-index: 2; align-self: flex-end; width: 100%;
  max-width: 640px; padding: clamp(24px, 4vw, 54px); }
.pvh-brand { display: block; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--purple-soft, #b98cf0); margin-bottom: 14px; }
.pvh-logo { display: block; max-width: min(380px, 78%); max-height: 160px; object-fit: contain;
  object-position: left bottom; margin-bottom: 18px; filter: drop-shadow(0 6px 22px rgba(0,0,0,.55)); }
.pvh-title { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.04; color: var(--white); margin: 0 0 16px; text-shadow: 0 3px 24px rgba(0,0,0,.5); }
.pvh-rank { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700;
  color: #3fd07a; margin-bottom: 12px; }
.pvh-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 14px;
  color: #d6cff0; margin-bottom: 12px; }
.pvh-meta .pvh-nota { color: var(--white); font-weight: 800; }
.pvh-sep { opacity: .5; margin: 0 8px; }
.pvh-desc { font-size: 15px; line-height: 1.55; color: #cfc6ea; margin: 0 0 22px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pvh-actions { display: flex; align-items: center; gap: 14px; }
.pvh-round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--white); background: rgba(20,12,34,.55); border: 1.6px solid rgba(255,255,255,.55);
  cursor: pointer; backdrop-filter: blur(4px); transition: background .2s, border-color .2s, transform .2s; }
.pvh-round:hover { background: rgba(76,0,125,.85); border-color: #fff; transform: scale(1.07); }
.pvh-round.on { background: var(--purple-soft, #9b47d4); border-color: var(--purple-soft, #9b47d4); }
.pvh-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px;
  border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer;
  background: rgba(11,6,24,.45); border: none; opacity: 0; transition: opacity .2s, background .2s; }
.pvh-arrow.pvh-prev { left: 14px; } .pvh-arrow.pvh-next { right: 14px; }
.pv-hero-cine:hover .pvh-arrow { opacity: .9; }
.pvh-arrow:hover { background: rgba(76,0,125,.9); opacity: 1; }
.pvh-dots { position: absolute; z-index: 3; bottom: 18px; left: 0; right: 0; display: flex; gap: 8px;
  justify-content: center; }
.pvh-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.4); transition: width .25s, background .25s; }
.pvh-dot.on { width: 22px; border-radius: 4px; background: #fff; }
@media (max-width: 720px) {
  .pv-hero-cine { min-height: 92vw; }
  .pvh-slide { background-position: center 8%; }
  /* Amplia o trailer pra cortar o título do YouTube que aparece no topo */
  .pvh-trailer iframe { transform: translate(-50%, -50%) scale(1.4); }
  /* Degradê forte só embaixo, pra imagem aparecer limpa em cima (estilo Prime) */
  .pvh-fade { background: linear-gradient(0deg, var(--pv-bg) 12%, rgba(var(--pv-bg-rgb),.55) 40%, rgba(var(--pv-bg-rgb),0) 72%); }
  .pvh-inner { max-width: 100%; text-align: left; padding: 20px; }
  .pvh-arrow { display: none; }
  /* No celular mostra pouca info: só o selo, o logo/título e o botão Assistir */
  .pvh-desc, .pvh-meta, .pvh-round { display: none; }
  .pvh-logo { max-width: 60%; max-height: 90px; margin-bottom: 12px; }
  .pvh-title { font-size: clamp(22px, 7vw, 30px); margin-bottom: 10px; }
  .pvh-rank { font-size: 12px; margin-bottom: 8px; }
}

.pv-play { display: inline-flex; align-items: center; gap: 9px; background: var(--white); color: #150826; font-weight: 800; font-size: 15px; padding: 13px 26px; border-radius: var(--r-pill); border: none; cursor: pointer; }
.pv-play:hover { background: #e7defa; color: #150826; }
.pv-ghost2 { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); color: var(--white); font-weight: 700; font-size: 14px; padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,0.2); cursor: pointer; }
.pv-ghost2:hover { background: rgba(255,255,255,0.22); }

/* Linhas / carrosséis */
.pv-row { margin-bottom: 38px; }
.pv-row h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin: 0 0 14px; }
.pv-row h3.pv-row-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pv-vertudo { background: none; border: none; cursor: pointer; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--purple-glow); padding: 4px 6px; white-space: nowrap; transition: color .15s; }
.pv-vertudo:hover { color: #fff; }
.pv-voltar { background: rgba(255,255,255,0.06); border: 1px solid var(--card-line); color: var(--text); font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: var(--r-pill); cursor: pointer; margin: 6px 0 4px; transition: background .15s; }
.pv-voltar:hover { background: var(--purple); color: #fff; }

/* ══ ESPORTES ═══════════════════════════════════════════════════════════════ */
.esp-vazio, .esp-nota { color: var(--muted-2, #a89ecb); font-size: 14px; padding: 10px 0; }
.esp-sec-tit { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin: 26px 0 14px; }

/* ── Banner de esportes (carrossel de jogos) ───────────────────────────── */
.esp-banner { position: relative; overflow: hidden; min-height: clamp(460px, 64vw, 750px); border-radius: 0; margin-bottom: 0;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background: linear-gradient(120deg, #1b1130 0%, #0d0a16 70%); display: flex; align-items: flex-end; }
.esp-banner-slides { position: absolute; inset: 0; }
.esp-banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease;
  display: flex; align-items: center; justify-content: flex-end; gap: 1.5%; padding-right: 6%; }
.esp-banner-slide.on { opacity: 1; }
.esp-banner-slide img { height: 54%; max-height: 260px; width: auto; object-fit: contain; filter: drop-shadow(0 12px 34px rgba(0,0,0,.6)); }
.esp-banner-x { color: rgba(255,255,255,.5); font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(22px, 3vw, 44px); }
.esp-banner::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #0d0a16 24%, rgba(13,10,22,.5) 50%, rgba(13,10,22,0) 80%),
              linear-gradient(0deg, var(--pv-bg) 0%, rgba(var(--pv-bg-rgb),.6) 14%, rgba(var(--pv-bg-rgb),0) 36%); }
.esp-banner-content { position: relative; z-index: 2; padding: clamp(24px, 4vw, 50px); max-width: 560px; }
.esp-banner-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 6px; color: #fff; margin-bottom: 14px; }
.esp-banner-tag.live { background: #e2103a; }
.esp-banner-tag.soon { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.esp-banner-content h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(24px, 3.4vw, 42px);
  color: #fff; margin: 0 0 8px; line-height: 1.08; text-shadow: 0 3px 20px rgba(0,0,0,.5); }
.esp-banner-content p { color: #cfc6ea; font-size: 15px; margin: 0 0 20px; }
.esp-banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px;
  border-radius: 50%; border: none; cursor: pointer; color: #fff; background: rgba(13,10,22,.5); font-size: 24px; line-height: 1;
  opacity: 0; transition: opacity .2s, background .2s; }
.esp-banner-arrow.prev { left: 14px; } .esp-banner-arrow.next { right: 14px; }
.esp-banner:hover .esp-banner-arrow { opacity: .9; }
.esp-banner-arrow:hover { background: rgba(76,0,125,.9); }
.esp-banner-dots { position: absolute; z-index: 3; bottom: 16px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.esp-banner-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: width .25s, background .25s; }
.esp-banner-dot.on { width: 22px; border-radius: 4px; background: #fff; }
@media (max-width: 720px) {
  .esp-banner { min-height: 440px; }
  /* Só o slide ativo aparece (antes TODOS ficavam .3 → escudos sobrepostos/bugados) */
  .esp-banner-slide { justify-content: center; padding-right: 0; opacity: 0; }
  .esp-banner-slide.on { opacity: .28; }
  .esp-banner-slide img { height: 32%; max-height: 160px; }
  .esp-banner::after { background: linear-gradient(0deg, var(--pv-bg) 26%, rgba(var(--pv-bg-rgb),.45) 60%, rgba(var(--pv-bg-rgb),0)); }
  .esp-banner-content { max-width: 100%; padding: 22px; }
  .esp-banner-arrow { display: none; }
}

/* Cartão de evento (vertical, estilo Prime): escudo em cima/embaixo + split de cor */
.esp-evento { flex: none; width: 280px; max-width: 74vw; background: none; border: none; padding: 0; cursor: pointer; }
.esp-evento-art { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 280 / 415; }
.esp-evento:hover .esp-evento-art { box-shadow: 0 12px 32px -12px rgba(0,0,0,.7); }
.esp-evento-liga { position: absolute; top: 10px; left: 10px; z-index: 3; width: 34px; height: 34px; object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.esp-evento .esp-selo { top: 12px; right: 12px; }
.esp-evento-crest { position: absolute; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; }
.esp-evento-crest.top { top: 11%; } .esp-evento-crest.bot { bottom: 17%; }
.esp-evento-crest img { width: 48%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(0,0,0,.5)); }
.esp-evento-nome { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 16px; color: #fff; text-align: center;
  padding: 0 12px; line-height: 1.12; text-shadow: 0 2px 8px rgba(0,0,0,.55);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.esp-evento-data { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 12px 12px 11px;
  font-size: 12.5px; font-weight: 700; color: #fff; line-height: 1.25;
  background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0)); }
@media (max-width: 720px) { .esp-evento { width: 150px; } }

/* Círculos (ligas / canais) */
.esp-circles { display: flex; gap: 20px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: none; }
.esp-circles::-webkit-scrollbar { display: none; }
.esp-circle-cel { flex: none; width: 164px; display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; }
/* Círculo padrão (ligas e canais iguais): fundo escuro, logo centralizado com folga */
.esp-circle { width: 160px; height: 160px; border-radius: 50%; border: none;
  background: #14111c; display: grid; place-items: center; overflow: hidden; cursor: pointer; padding: 14px;
  transition: transform .18s, box-shadow .18s; }
.esp-circle-cel:hover .esp-circle { transform: scale(1.06); border-color: var(--purple-soft, #9b47d4);
  box-shadow: 0 10px 28px -10px rgba(155,71,212,.55); }
.esp-circle img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.esp-circle.txt { padding: 8px; }   /* sem logo: só o texto centralizado */
.esp-circle-lbl { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 13px; color: #fff; text-align: center;
  line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.esp-circle-cap { font-size: 13px; font-weight: 600; color: #cfc6ea; text-align: center; max-width: 164px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Cartão de jogo (vertical) — logo do canal num tile limpo sobre carta escura */
.esp-jogos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
.esp-jogo { flex: none; width: 196px; text-align: left; background: none; border: none; padding: 0; cursor: pointer; }
.esp-jogos-grid .esp-jogo { width: auto; }
.esp-jogo-art { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; display: grid; place-items: center;
  background: linear-gradient(160deg, #241d33 0%, #16121f 100%); border: 1px solid rgba(255,255,255,.06); }
.esp-jogo-logo { width: 58%; aspect-ratio: 1; border-radius: 16px; background: #f4f2f8; display: grid; place-items: center;
  padding: 12px; box-shadow: 0 8px 22px -8px rgba(0,0,0,.6); }
.esp-jogo-logo img { width: 100%; height: 100%; object-fit: contain; }
/* Card com escudos (Time × Time) */
.esp-jogo-art.escudos { background: linear-gradient(160deg, #221a30 0%, #121019 100%); }
.esp-escudos { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; }
.esp-escudos img { width: 38%; max-width: 80px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 5px 12px rgba(0,0,0,.55)); }
.esp-vs { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 17px; color: #8a7fb0; flex: none; }
.esp-jogo:hover .esp-jogo-art { border-color: var(--purple-soft, #9b47d4); box-shadow: 0 12px 32px -12px rgba(155,71,212,.6); }
.esp-selo { position: absolute; top: 9px; right: 9px; font-size: 10px; font-weight: 800; letter-spacing: .05em;
  padding: 4px 8px; border-radius: 6px; color: #fff; text-transform: uppercase; }
.esp-selo.live { background: #e2103a; box-shadow: 0 0 0 3px rgba(226,16,58,.18); }
.esp-selo.soon { background: rgba(10,9,16,.7); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(3px); }
.esp-jogo-info { padding: 11px 2px 0; }
.esp-jogo-info strong { display: block; font-size: 14px; color: #fff; line-height: 1.25; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.esp-jogo-info span { display: block; font-size: 12px; color: #9d93bd; margin-top: 4px; }
/* Sub-página de liga */
.esp-voltar { background: rgba(255,255,255,.1); color: #fff; border: 1px solid var(--card-line, rgba(255,255,255,.12));
  font: inherit; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: var(--r-pill, 999px); cursor: pointer; margin-bottom: 18px; }
.esp-voltar:hover { background: rgba(76,0,125,.85); }
.esp-liga-hero { position: relative; border-radius: 14px; overflow: hidden; min-height: 240px; display: flex; align-items: flex-end;
  margin-bottom: 10px; background: linear-gradient(120deg, #3a1170, #150826 72%); }
.esp-liga-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 85% 15%, rgba(155,71,212,.45), transparent 55%); }
/* Página do canal com banner de fundo — full-bleed (ponta a ponta), imagem inteira */
.esp-liga-hero.banner { min-height: 0; aspect-ratio: 1080 / 405; border-radius: 0; margin-bottom: 20px;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background-color: #0b0b0f; background-size: cover; background-position: center; background-repeat: no-repeat; align-items: flex-end; }
.esp-liga-hero.banner::after { background: linear-gradient(0deg, rgba(11,11,15,.7) 0%, rgba(11,11,15,.1) 26%, rgba(11,11,15,0) 50%); }
.esp-liga-hero.banner .esp-liga-hero-in { padding: clamp(20px, 3vw, 40px); }
/* Página de canal com banner sob o header transparente */
.esp-liga.com-banner .esp-voltar { display: none; }
.esp-liga-back { position: absolute; z-index: 5; top: 76px; left: clamp(14px, 4vw, 40px);
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer; display: grid; place-items: center;
  background: rgba(10,9,16,.5); backdrop-filter: blur(4px); transition: background .2s; }
.esp-liga-back:hover { background: rgba(76,0,125,.9); }
/* Logo (BRASILEIRÃO PREMIERE) sobreposto na esquerda do banner */
.esp-liga-logo { position: absolute; z-index: 2; left: clamp(20px, 5vw, 56px); top: 42%; transform: translateY(-50%);
  width: min(42%, 460px); max-height: 62%; object-fit: contain; object-position: left center;
  filter: drop-shadow(0 6px 22px rgba(0,0,0,.5)); pointer-events: none; }
.esp-liga-play { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; }
.esp-liga-hero-in { position: relative; z-index: 1; padding: 34px 36px; }
.esp-liga-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #e2c8fa; background: rgba(76,0,125,.55); border: 1px solid var(--card-line, rgba(255,255,255,.12)); padding: 5px 12px; border-radius: var(--r-pill, 999px); }
.esp-liga-hero-in h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); color: #fff; margin: 12px 0 6px; }
.esp-liga-hero-in p { color: #d6cff0; font-size: 15px; margin: 0; }
@media (max-width: 720px) {
  .esp-circles { gap: 14px; }
  .esp-circle-cel { width: 124px; } .esp-circle { width: 120px; height: 120px; padding: 18px; }
  .esp-circle-cap { max-width: 124px; font-size: 12px; }
  .esp-circle-lbl { font-size: 12px; }
  .esp-jogos-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
  .esp-jogo { width: 150px; }
}
.pv-track { display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; }
.pv-track::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Grades */
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.pv-grid.land { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* Cartão pôster */
.poster { flex: none; width: 172px; scroll-snap-align: start; cursor: pointer; }
.pv-grid .poster { width: auto; }
.poster .art { position: relative; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; display: flex; align-items: flex-end; padding: 10px; border: none; background: #1d1440; transition: transform 0.22s cubic-bezier(.2,.7,.3,1), box-shadow 0.22s; }
.poster.land .art { aspect-ratio: 16 / 9; }
/* Card deitado (16:9) estilo Prime: arte widescreen + logo do título (o nome
   fica na "capa"), sem o texto embaixo. */
.poster.wide { width: 260px; }
.poster.wide .art { aspect-ratio: 16 / 9; }
.poster .p-logo { display: none; }
.poster.wide .p-logo { display: block; position: absolute; z-index: 2; left: 12px; bottom: 10px;
  max-width: 66%; max-height: 46%; object-fit: contain; object-position: left bottom;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.75)); }
.poster.wide .art.has-logo .p-name { display: none; }
.poster:hover .art { transform: translateY(-6px) scale(1.045); box-shadow: 0 22px 48px -14px rgba(0,0,0,0.72), 0 0 0 1px rgba(201,127,255,0.35); }
/* Skeleton loading: brilho enquanto a capa não carregou (some após ~7s se não houver capa) */
.poster .art:not(.has-img)::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.09) 50%, transparent 80%); background-size: 220% 100%; animation: pvShimmer 1.5s linear infinite, pvShimFade 0.5s ease 7s forwards; }
@keyframes pvShimmer { 0% { background-position: 220% 0; } 100% { background-position: -220% 0; } }
@keyframes pvShimFade { to { opacity: 0; } }
.poster .p-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.poster .art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.78)); }
.poster .p-name { position: relative; z-index: 2; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 13.5px; line-height: 1.2; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.poster .p-cat { display: block; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); margin-top: 2px; }
.poster .p-play { position: absolute; z-index: 2; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(76,0,125,0.9); display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.8); transition: opacity 0.2s, transform 0.2s; }
.poster:hover .p-play { opacity: 1; transform: scale(1); }

/* Coração de favoritar no card */
.poster .p-fav { position: absolute; z-index: 3; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer; background: rgba(10,4,24,0.62); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; padding: 0; opacity: 0; transform: scale(0.8); transition: opacity .2s, transform .2s, background .15s; }
.poster .p-fav svg { fill: #fff; opacity: .9; transition: fill .15s, transform .15s; }
.poster:hover .p-fav { opacity: 1; transform: scale(1); }
.poster .p-fav:hover { background: rgba(10,4,24,0.85); }
.poster .p-fav:hover svg { transform: scale(1.12); }
.poster .p-fav.is-fav { opacity: 1; transform: scale(1); }
.poster .p-fav.is-fav svg { fill: #ff5b8a; opacity: 1; }
.poster.land .p-fav { left: auto; right: 48px; }

/* Barra de progresso "Continuar assistindo" + rótulo de episódio no card */
.poster .p-prog { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,0.55); }
.poster .p-prog span { display: block; height: 100%; background: var(--purple-glow); box-shadow: 0 0 8px rgba(201,127,255,0.7); }
.poster .p-ep { position: absolute; z-index: 2; bottom: 10px; right: 10px; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #fff; background: rgba(76,0,125,0.92); padding: 2px 7px; border-radius: var(--r-pill); }

.poster.land .live-dot { position: absolute; z-index: 2; top: 10px; left: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; color: #fff; background: #c0243a; padding: 3px 8px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 5px; }

/* Modal do player */
/* ── Player personalizado (tela cheia) ───────────────────────────────────── */
.pv-modal { position: fixed; inset: 0; z-index: 1500; background: #000; display: none; }
.pv-modal.open { display: block; }
.pvp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.pv-modal-video { position: absolute; inset: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.pv-modal-video video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.pv-modal-video.fill video { object-fit: cover; }
/* inset:0 + margin:auto centraliza sem usar transform (a animação usa transform) */
.pv-modal-video .video-loader { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.22); border-top-color: var(--purple-soft, #9b47d4); animation: spin 0.8s linear infinite; display: none; }
/* Mensagem "indisponível" no player (em vez de tela preta) */
.pv-video-msg { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px; color: #cfc6ea; background: radial-gradient(60% 60% at 50% 45%, rgba(30,18,52,.6), #000 85%); }
.pv-video-msg svg { color: #e2103a; opacity: .9; }
.pv-video-msg strong { color: #fff; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: clamp(18px, 2.6vw, 24px); }
.pv-video-msg span { font-size: 14px; max-width: 380px; color: #a89ecb; }
.pv-video-msg-acoes { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pv-video-msg-btn { display: inline-flex; align-items: center; text-decoration: none; background: var(--white, #fff); color: #150826; border: none; cursor: pointer; font-weight: 800; font-size: 14px; padding: 11px 22px; border-radius: var(--r-pill, 999px); }
.pv-video-msg-btn:hover { background: #e7defa; }
.pv-video-msg-btn.ghost { background: rgba(255,255,255,0.12); color: #fff; }
.pv-video-msg-btn.ghost:hover { background: rgba(255,255,255,0.22); }
.pv-video-msg-x { position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.12); border: none; border-radius: 50%; cursor: pointer; }
.pv-video-msg-x:hover { background: rgba(255,255,255,0.22); }
.pv-video-msg[hidden] { display: none; }
.pv-modal-video.loading .video-loader { display: block; }

/* Camada de controles */
.pvp-ui { position: absolute; inset: 0; z-index: 2; transition: opacity 0.25s; }
.pvp-ui::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 22%, transparent 62%, rgba(0,0,0,0.8) 100%); }
.pvp.hide-ui .pvp-ui { opacity: 0; pointer-events: none; }
.pvp.hide-ui { cursor: none; }

.pvp-top { position: absolute; top: 0; left: 0; right: 0; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pvp-back { background: none; border: none; cursor: pointer; padding: 6px; display: flex; flex: none; }
.pvp-back:hover svg { transform: scale(1.1); }
.pvp-back svg { transition: transform 0.15s; }
/* Cluster de utilitários no topo-direito (estilo Prime: só ícones, sem fundo) */
.pvp-topright { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
.pvp-topright .pvp-btn { width: 46px; height: 46px; background: transparent; }
.pvp-topright .pvp-btn:hover { background: rgba(255,255,255,0.16); transform: none; }
.pvp-topright .pvp-btn svg { width: 27px; height: 27px; }
.pvp-div { width: 1px; height: 24px; background: rgba(255,255,255,0.35); margin: 0 5px; flex: none; }
.pvp-vol { display: flex; align-items: center; gap: 2px; }
.pvp-volrange { width: 0; opacity: 0; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.35); cursor: pointer; outline: none; transition: width 0.18s, opacity 0.18s; }
.pvp-vol:hover .pvp-volrange, .pvp-volrange:focus { width: 80px; opacity: 1; }
.pvp-volrange::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.pvp-volrange::-moz-range-thumb { width: 13px; height: 13px; border: none; border-radius: 50%; background: #fff; }

/* Controles centrais grandes (Prime-style) */
.pvp-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: min(11vw, 70px); z-index: 1; }
.pvp-cbtn { width: 62px; height: 62px; background: transparent; }
.pvp-cbtn:hover { background: rgba(255,255,255,0.16); }
.pvp-cbtn svg { width: 40px; height: 40px; }
.pvp-btn.pvp-cbig { width: 84px; height: 84px; }
.pvp-btn.pvp-cbig svg { width: 36px; height: 36px; }

.pvp svg[hidden], .pvp [hidden] { display: none !important; }

.pvp-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 26px 22px; }
/* Título no topo-centro (com nome do episódio quando houver) */
.pvp-title { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); max-width: 48%; text-align: center; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: clamp(15px, 1.9vw, 22px); line-height: 1.25; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.pvp-seekrow { display: flex; align-items: center; gap: 14px; }
.pvp-time { font-size: 13px; color: #e8e2f5; font-variant-numeric: tabular-nums; flex: none; min-width: 62px; }
.pvp-time:last-child { text-align: right; }
.pvp-live { color: #ff5a6a; font-weight: 800; font-size: 13px; letter-spacing: 0.04em; flex: 1; }
.pvp-seek { flex: 1; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 4px; background: rgba(255,255,255,0.28); cursor: pointer; outline: none; }
.pvp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; background: var(--purple-soft, #9b47d4); box-shadow: 0 0 0 4px rgba(155,71,212,0.3); }
.pvp-seek::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background: var(--purple-soft, #9b47d4); }

.pvp-extra { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 14px; }
.pvp-btn { width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; transition: background 0.15s, transform 0.15s; flex: none; }
.pvp-btn:hover { background: rgba(255,255,255,0.22); transform: scale(1.06); }
.pvp-btn.pvp-play { width: 60px; height: 60px; background: #fff; }
.pvp-btn.pvp-play:hover { background: #efe6ff; }
.pvp-btn.ativo { background: var(--purple, #4c007d); }
.pvp-fav.on { color: #e0567a; }

.pvp-menu { position: absolute; right: 26px; bottom: 96px; background: rgba(18,12,30,0.96); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 8px; min-width: 190px; box-shadow: 0 20px 50px -12px rgba(0,0,0,0.7); }
.pvp-menu h5 { margin: 8px 12px 6px; font-size: 12px; color: #a89ecb; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.pvp-menu button { display: flex; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: none; border: none; color: #e6dcff; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.pvp-menu button:hover { background: rgba(255,255,255,0.08); }
.pvp-menu button.sel { color: #fff; font-weight: 700; }
.pvp-menu button.sel::after { content: "✓"; color: var(--purple-soft, #9b47d4); }

/* Só-áudio (rádios): quando não há vídeo, mostra a arte central */
.pvp.audio-only .pv-modal-video::after { content: "♪"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 90px; color: rgba(255,255,255,0.15); }

@media (max-width: 600px) {
  .pvp-extra { gap: 8px; }
  .pvp-btn { width: 42px; height: 42px; }
  .pvp-topright { gap: 5px; }
  .pvp-volrange { display: none; }                 /* no celular: só o botão de mudo */
  .pvp-cbtn { width: 54px; height: 54px; }
  .pvp-cbtn svg { width: 32px; height: 32px; }
  .pvp-btn.pvp-cbig { width: 68px; height: 68px; }
  .pvp-center { gap: 14vw; }
  .pvp-title { top: 15px; max-width: 60%; }
  .pvp-bottom { padding: 0 16px 18px; }
}

.pv-empty { text-align: center; color: var(--muted-3); font-size: 14px; padding: 50px 20px; }

/* ══ SUPORTE ══════════════════════════════════════════════════════════════ */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1120px; margin: 0 auto 60px; }
.support-card { display: block; padding: 26px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid rgba(255,255,255,0.04); transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; color: var(--text); }
.support-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-purple); border-color: var(--card-line); color: var(--text); }
.support-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--purple); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.support-card .ic svg { stroke: var(--white); }
.support-card h3 { font-weight: 700; font-size: 16.5px; color: var(--white); margin: 0 0 7px; }
.support-card p { font-size: 13.5px; line-height: 1.55; color: var(--muted-3); margin: 0; }
.support-card .arrow { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--purple-soft); display: inline-flex; align-items: center; gap: 6px; }

.support-help { max-width: 760px; margin: 0 auto; text-align: center; padding: 44px; border-radius: var(--r-xl); }
.support-help h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 24px; color: var(--white); margin: 0 0 10px; }
.support-help p { font-size: 15px; color: var(--muted-2); margin: 0 0 24px; }

/* ══ RENOVAR ══════════════════════════════════════════════════════════════ */
.renew-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; max-width: 1000px; margin: 0 auto; align-items: start; }
.renew-card { padding: 36px; border-radius: var(--r-xl); }
.renew-card h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 24px; color: var(--white); margin: 0 0 6px; }
.renew-card .sub { font-size: 14px; color: var(--muted-3); margin: 0 0 26px; }
.renew-side { padding: 32px; border-radius: var(--r-xl); position: sticky; top: 96px; }
.renew-side h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin: 0 0 18px; }
.renew-steps { list-style: none; margin: 0 0 26px; padding: 0; }
.renew-steps li { display: flex; gap: 14px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.renew-steps .step-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: var(--white); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.pay-methods { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-methods .pill { font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,0.05); border: 1px solid var(--card-line); padding: 6px 12px; border-radius: var(--r-pill); }

/* Resultado do PIX (mock) */
.pix-result { display: none; text-align: center; padding: 30px; border-radius: var(--r-lg); background: rgba(21,8,38,0.5); border: 1px dashed var(--card-line); margin-top: 24px; }
.pix-result.show { display: block; animation: fadeInUp 0.5s ease; }
.pix-qr { width: fit-content; margin: 0 auto 18px; border-radius: 18px; background: #fff; padding: 14px; box-shadow: 0 10px 34px rgba(0,0,0,0.32); line-height: 0; }
.pix-qr img, .pix-qr svg { display: block; width: 190px; height: 190px; border-radius: 6px; }
.pix-code { display: flex; gap: 10px; margin-top: 16px; align-items: stretch; }
.pix-code input { flex: 1 1 auto; min-width: 0; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: 0.2px; color: var(--white); background: rgba(21,8,38,0.7); border: 1px solid var(--card-line); border-radius: var(--r-sm); padding: 12px 14px; text-overflow: ellipsis; box-sizing: border-box; }
.pix-code input:focus { outline: none; border-color: var(--purple-soft, #9b47d4); box-shadow: 0 0 0 3px rgba(76,0,125,0.35); }
.pix-code .btn-ghost { flex: none; white-space: nowrap; padding: 12px 20px; border-radius: var(--r-sm); font-weight: 700; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ══ LOADER + SKELETON ════════════════════════════════════════════════════ */
#page-loader { position: fixed; inset: 0; background: var(--bg); z-index: 2000; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease;
  /* Fallback: some o loader mesmo se o JS não rodar (nunca esconde o site) */
  animation: loaderAutoHide 0s linear 3s forwards; }
#page-loader.hidden { opacity: 0; visibility: hidden; animation: none; }
@keyframes loaderAutoHide { to { opacity: 0; visibility: hidden; } }
.loader-mark { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-ring { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(174,130,230,0.2); border-top-color: var(--purple-soft); animation: spin 0.8s linear infinite; }
.loader-mark .logo-text { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 20px; color: var(--white); }
.loader-mark .logo-text span { color: var(--purple-soft); }
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton { position: relative; overflow: hidden; background: rgba(255,255,255,0.05); }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); transform: translateX(-100%); animation: shimmer 1.4s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
img.lazy-img { opacity: 0; transition: opacity 0.5s ease; }
img.lazy-img.loaded { opacity: 1; }

/* Utilidade de reveal (usada pelo core.js quando GSAP não animar o elemento) */
.reveal { opacity: 0; }
.reveal.is-in { opacity: 1; }

/* ══ FAIXA DE TOPO (anúncio) ══════════════════════════════════════════════ */
.topbar { background: var(--grad-brand); color: #fff; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.01em; padding: 9px 20px; line-height: 1.35; }
.topbar span { opacity: 0.85; font-weight: 600; }

/* ══ BLOCO "ACESSO RÁPIDO" + CHECKLIST (inspirado na DezPila) ─────────────── */
.hub-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; max-width: 1120px; margin: 0 auto; align-items: start; }
.hub-card { padding: 34px; border-radius: var(--r-xl); }
.hub-card h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 26px; color: var(--white); margin: 0 0 14px; }
.hub-card > p { font-size: 15px; line-height: 1.6; color: var(--muted-2); margin: 0 0 20px; }
.check-list { list-style: none; margin: 0 0 26px; padding: 0; }
.check-list li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.5; color: #d8d2ea; margin-bottom: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #a45fd9; font-weight: 800; }
.hub-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.qa-steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: qa; }
.qa-steps li { display: flex; align-items: center; gap: 14px; background: rgba(21,8,38,0.5); border: 1px solid var(--card-line); border-radius: var(--r-pill); padding: 12px 18px; margin-bottom: 12px; font-size: 14.5px; color: #e3ddf0; }
.qa-steps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.qa-note { font-size: 13.5px; color: var(--muted-3); margin: 0; line-height: 1.5; }
.qa-note strong { color: var(--white); }

/* ══ BAIXAR APP — passo a passo (inspirado na DezPila) ────────────────────── */
.install-section { max-width: 1120px; margin: 0 auto 26px; border-radius: var(--r-xl); background: #1d1440; border: 1px solid rgba(255,255,255,0.04); overflow: hidden; }
.install-head { padding: 26px 30px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.install-head .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #e2c8fa; background: rgba(76,0,125,0.4); border: 1px solid var(--card-line); padding: 5px 12px; border-radius: var(--r-pill); }
.install-head h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 22px; color: var(--white); margin: 0; width: 100%; }
.install-head .compat { font-size: 12.5px; color: var(--muted-3); width: 100%; }
.install-body { padding: 22px 30px 30px; }
.install-lead { font-size: 14.5px; line-height: 1.6; color: var(--muted-2); margin: 0 0 22px; max-width: 760px; }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.step { background: #251a4d; border: 1px solid rgba(255,255,255,0.04); border-radius: var(--r-md); padding: 20px; }
.step .st-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.step .num { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--purple); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.step h4 { font-size: 15px; font-weight: 700; color: var(--white); margin: 0; }
.step p { font-size: 13.5px; line-height: 1.55; color: var(--muted-3); margin: 0; }
.step p a { color: #c9a3ec; text-decoration: underline; }
.code-box { margin-top: 12px; background: rgba(21,8,38,0.7); border: 1px dashed var(--card-line); border-radius: var(--r-sm); padding: 12px 14px; }
.code-box .cl { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 3px 0; }
.code-box .cl span:first-child { color: var(--muted-3); }
.code-box .cl span:last-child { color: var(--white); font-weight: 700; font-family: 'Baloo 2', sans-serif; letter-spacing: 1px; }
.dl-highlight { background: var(--grad-brand); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.dl-highlight h4 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; color: #fff; margin: 0; }
.dl-highlight p { font-size: 13px; color: #e9d3fb; margin: 0 0 6px; line-height: 1.5; }
.dl-highlight .btn-dl { display: inline-block; text-align: center; background: var(--bg-deep); color: #fff; font-weight: 700; font-size: 14px; padding: 13px 18px; border-radius: var(--r-pill); }
.dl-highlight .btn-dl:hover { background: #241340; color: #fff; }
.dl-highlight .btn-store { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.dl-highlight .btn-store svg { flex: none; }
.install-note { max-width: 1120px; margin: 0 auto 26px; padding: 22px 28px; border-radius: var(--r-lg); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.install-note .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--purple); display: flex; align-items: center; justify-content: center; }
.install-note h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 17px; color: var(--white); margin: 0 0 4px; }
.install-note p { font-size: 13.5px; color: var(--muted-2); margin: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .nav a { padding: 9px 12px; font-size: 13px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 900px) {
  .header { padding: 16px 22px; }

  .hero { padding: 56px 22px 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: clamp(28px, 7vw, 44px); }
  .hero p.subhead { font-size: 17px; max-width: 100%; }
  .hero-visual { margin: 10px 14px 32px; }
  .hero-trust { gap: 16px; }

  .about { padding: 64px 22px; grid-template-columns: 1fr; gap: 40px; }
  .about h2 { font-size: 30px; }

  .pain-section { padding: 20px 22px 72px; }
  .pain-box { padding: 40px 28px; }
  .pain-box h2 { font-size: 26px; }
  .pain-grid { grid-template-columns: 1fr 1fr; margin-top: 32px; }

  .solution { padding: 0 22px 72px; }
  .solution-head h2 { font-size: 30px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }

  .pricing { padding: 72px 22px; }
  .pricing-head h2 { font-size: 32px; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; }
  .plan-card.featured { transform: none; }
  .plan-card.featured .badge { top: -12px; }

  .guarantee-section { padding: 64px 22px; }
  .guarantee-box { flex-direction: column; align-items: flex-start; padding: 40px 32px; gap: 24px; }
  .guarantee-box h3 { font-size: 22px; }

  .faq-section { padding: 0 22px 84px; }
  .faq-section h2 { font-size: 30px; }

  .final-cta { padding: 84px 22px; }
  .final-cta h2 { font-size: 32px; }

  .footer { padding: 44px 22px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }

  /* Páginas internas */
  .page-hero { padding: 52px 22px 44px; }
  .section { padding: 16px 22px 64px; }
  .feature-grid, .feature-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; padding: 16px 22px 48px; }
  .split.reverse .split-text { order: 0; }
  .metrics-band { grid-template-columns: 1fr 1fr; }
  .device-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .renew-layout { grid-template-columns: 1fr; }
  .renew-side { position: static; }
  .hub-grid { grid-template-columns: 1fr; }
  .cp-grid { grid-template-columns: 1fr; }
  .pv { padding: 0 22px 50px; }
  .pv-hero-content { padding: 28px; }
  .pv-hero-shade { background: linear-gradient(0deg, rgba(11,6,24,0.95) 10%, rgba(11,6,24,0.4) 60%, transparent); }
  .install-head { padding: 22px; }
  .install-body { padding: 20px 22px 24px; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header { padding: 14px 18px; }
  .btn-primary { font-size: 13px; padding: 10px 16px; }

  .hero { padding: 44px 18px 80px; }
  .hero h1 { font-size: 30px; line-height: 1.18; }
  .hero p.subhead { font-size: 15.5px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-hero { font-size: 15px; padding: 16px 22px; text-align: center; }
  .btn-outline { justify-content: center; }
  .hero-visual { margin: 8px 6px 34px; }
  .badge-rating { top: -10px; right: -6px; padding: 10px 12px; }
  .badge-support { bottom: -12px; left: -6px; padding: 10px 14px; }
  .hero-trust { flex-direction: column; gap: 12px; }

  .about { padding: 52px 18px; gap: 32px; }
  .stat-card { padding: 16px; }
  .stat-card .num { font-size: 22px; }
  .about h2 { font-size: 26px; }

  .pain-section { padding: 16px 18px 60px; }
  .pain-box { padding: 28px 20px; border-radius: 20px; }
  .pain-box h2 { font-size: 21px; }
  .pain-grid { grid-template-columns: 1fr; margin-top: 24px; gap: 12px; }

  .solution { padding: 0 18px 60px; }
  .solution-head h2 { font-size: 24px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 12px; }

  .pricing { padding: 60px 18px; }
  .pricing-head h2 { font-size: 26px; }
  .plans-grid { max-width: 100%; gap: 16px; }
  .plan-card { padding: 28px 22px; }

  .guarantee-section { padding: 52px 18px; }
  .guarantee-box { padding: 26px 20px; border-radius: 20px; }
  .guarantee-box h3 { font-size: 19px; }

  .faq-section { padding: 0 18px 68px; }
  .faq-section h2 { font-size: 26px; margin-bottom: 28px; }
  .faq-question { padding: 18px; }
  .faq-question .q { font-size: 14px; }

  .final-cta { padding: 68px 18px; }
  .final-cta h2 { font-size: 26px; }
  .btn-final { font-size: 15px; padding: 16px 22px; width: 100%; }

  .footer { padding: 36px 18px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }

  /* Páginas internas */
  .page-hero { padding: 44px 18px 38px; }
  .section { padding: 14px 18px 54px; }
  .section-head h2 { font-size: 26px; }
  .feature-grid, .feature-grid.cols-2 { grid-template-columns: 1fr; }
  .split-text h2 { font-size: 26px; }
  .metrics-band { grid-template-columns: 1fr 1fr; gap: 12px; }
  .metric { padding: 22px 10px; }
  .metric .n { font-size: 30px; }
  .download-actions { flex-direction: column; }
  .big-btn { flex: 1 1 auto; }
  .device-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 22px; }
  .cp-card { padding: 22px 18px; }
  .cp-head h1 { font-size: 24px; }
  .cp-head { flex-direction: column; }
  .renew-card { padding: 26px 20px; }
  .pv { padding: 0 16px 44px; }
  .pv-header { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .pv-nav { order: 3; width: 100%; }
  .pv-header .pv-search { flex: 1; }
  .pv-search input, .pv-search input:focus { width: 100%; }
  .pv-hero { min-height: 320px; }
  .pv-hero h2 { font-size: 26px; }
  .poster { width: 142px; }
  .poster.wide { width: 208px; }
  .timeline { padding-left: 28px; }
  .hub-card { padding: 26px 20px; }
  .topbar { font-size: 11.5px; padding: 8px 14px; }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   WEB PLAYER — visual estilo streaming (Prime-like) + preloader
   ══════════════════════════════════════════════════════════════════════════ */
/* Fundo mais escuro/neutro só no player (fica com cara de streaming) */
/* Fundo da página: cor original (escura). Só o HEADER é cinza (var --pv-head). */
.pv-body { --pv-bg: #0a0910; --pv-bg-rgb: 10,9,16; --pv-head: #171d26; --pv-head-rgb: 23,29,38; background: var(--pv-bg); }
.pv-body .pv-header { background: transparent; }
.pv-body .pv-header.pv-solid { background: rgba(23,29,38,0.96); }

/* Preloader que cobre a tela até o catálogo montar */
#pv-preloader {
  position: fixed; inset: 0; z-index: 2000; padding: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: #121016;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#pv-preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.pv-pre-icon { width: 92px; height: 92px; filter: drop-shadow(0 8px 26px rgba(155,71,212,0.35)); animation: pv-pre-pulse 1.8s ease-in-out infinite; }
@keyframes pv-pre-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.pv-pre-text { margin: 0; max-width: 440px; text-align: center; font-size: 16px; font-weight: 500; line-height: 1.42; color: #efeaf6; }
.pv-pre-bar { width: min(360px, 74vw); height: 6px; border-radius: 99px; background: rgba(255,255,255,0.14); overflow: hidden; }
.pv-pre-bar span { display: block; width: 38%; height: 100%; border-radius: 99px; background: #9b47d4; animation: pv-pre-slide 1.25s ease-in-out infinite; }
@keyframes pv-pre-slide { 0% { transform: translateX(-130%); } 100% { transform: translateX(330%); } }
.pv-pre-foot { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em; color: #8a80ad; }

/* Fileira Top 10 (número grande atrás do pôster) */
.pv-row-top10 .pv-track { gap: 26px; padding-left: 6px; }
.top10-cell { flex: none; display: flex; align-items: flex-end; }
.top10-cell .top10-rank {
  font-family: 'Baloo 2', sans-serif; font-weight: 800; line-height: 0.8;
  font-size: 120px; color: #17121f;
  -webkit-text-stroke: 2px #4a2c78; text-stroke: 2px #4a2c78;
  margin-right: -26px; margin-bottom: -6px; user-select: none; letter-spacing: -6px;
}
.top10-cell .poster, .top10-cell .poster.wide { position: relative; z-index: 1; width: 230px; }

@media (max-width: 640px) {
  .pv-row-top10 .pv-track { gap: 18px; }
  .top10-cell .top10-rank { font-size: 82px; margin-right: -18px; -webkit-text-stroke-width: 1.5px; }
  .top10-cell .poster, .top10-cell .poster.wide { width: 180px; }
}

/* Web Player ocupa a tela toda (sem limite de largura) */
/* overflow:clip (em vez de hidden) evita rolagem horizontal SEM quebrar o
   position:sticky do header — por isso ele deixa de sumir ao rolar a tela. */
.pv-body .wrap { max-width: none; overflow: clip; }
.pv-body .pv { max-width: none; padding: 0 40px 60px; }
.pv-body .pv-header { padding-left: 24px; padding-right: 24px; }

/* Capa do destaque (hero) */
.pv-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: 0; display: block; }
.pv-hero-bg::after { z-index: 1; }

/* Setas de navegação das fileiras */
.pv-track-wrap { position: relative; }
/* Setas redondas SEMPRE visíveis (some só no início/fim da fileira) */
.pv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; padding: 0; color: #fff;
  background: rgba(10,9,16,0.72); box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  opacity: 1; transition: opacity 0.2s, background 0.2s;
}
.pv-arrow.prev { left: -8px; }
.pv-arrow.next { right: -8px; }
.pv-arrow:hover { background: rgba(76,0,125,0.92); }
.pv-arrow:hover svg { transform: scale(1.18); }
.pv-arrow svg { transition: transform 0.18s; }
.pv-arrow.off { opacity: 0; pointer-events: none; }

@media (max-width: 820px) {
  .pv-body .pv { padding: 0 16px 44px; }
  .pv-arrow { display: none; }   /* no celular rola com o dedo */
}

/* Aviso do Web Player (sem login / erro ao carregar) */
.pv-aviso { max-width: 560px; margin: 60px auto; text-align: center; padding: 40px 28px; border-radius: 12px; background: rgba(21,8,38,0.55); border: 1px solid var(--card-line); }
.pv-aviso h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(21px, 3vw, 28px); color: var(--white); margin: 0 0 12px; }
.pv-aviso p { font-size: 14.5px; line-height: 1.6; color: #b7addb; margin: 0 0 24px; }
.pv-aviso .pv-play { display: inline-flex; text-decoration: none; }

/* Tela de detalhes do título (estilo streaming) */
/* Tela cheia, como a página de título da Amazon Prime */
.pv-detail { position: fixed; inset: 0; z-index: 1500; display: none; background: var(--pv-bg, #0f171e); }
.pv-detail.open { display: block; animation: fadeInUp 0.25s ease; }
.pv-detail-card { position: relative; width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden; border-radius: 0; background: var(--pv-bg, #0f171e); scrollbar-width: thin; }
.pv-detail-card::-webkit-scrollbar { width: 10px; }
.pv-detail-card::-webkit-scrollbar-thumb { background: #33265a; border-radius: 10px; }
.pv-detail-hero { position: relative; min-height: min(74vh, 620px); display: flex; align-items: flex-end; }
.pv-detail-bg { position: absolute; inset: 0; }
.pv-detail-meta { font-size: 13px; color: #a89ecb; margin: 0 0 10px; font-weight: 600; }
.pv-detail-credits { font-size: 12.5px; color: #9c92c0; margin: 16px 0 0; line-height: 1.55; }

/* Lista de episódios */
.pv-detail-eps { position: relative; z-index: 2; padding: 26px 40px 34px; }
.pv-eps-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.pv-eps-head h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin: 0; }
.pv-season { background: rgba(21,8,38,0.8); border: 1px solid var(--card-line); color: var(--white); font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 8px; cursor: pointer; }
.pv-season:focus { outline: none; border-color: var(--purple-soft); }
/* ── TV ao vivo: 3 colunas (categorias · canais · player) ─────────────────── */
.tv-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr) 420px; gap: 20px; align-items: start; margin-top: 8px; }
.tv-cats, .tv-canais, .tv-player-box { background: rgba(21,8,38,0.4); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; }

/* Coluna 1 — categorias */
.tv-cats { padding: 16px; max-height: calc(100vh - 130px); display: flex; flex-direction: column; }
.tv-busca { position: relative; margin-bottom: 12px; }
.tv-busca svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); stroke: #a89ecb; }
.tv-busca input { width: 100%; box-sizing: border-box; background: rgba(10,9,16,0.7); border: 1px solid var(--card-line); border-radius: var(--r-pill); color: var(--white); font: inherit; font-size: 13.5px; padding: 11px 14px 11px 40px; }
.tv-busca input:focus { outline: none; border-color: var(--purple-soft); }
.tv-cat-list { overflow-y: auto; scrollbar-width: thin; }
.tv-cat-list::-webkit-scrollbar { width: 6px; }
.tv-cat-list::-webkit-scrollbar-thumb { background: #33265a; border-radius: 10px; }
.tv-cat { display: block; width: 100%; text-align: left; background: none; border: none; cursor: pointer; color: #d6cff0; font: inherit; font-size: 15px; font-weight: 600; padding: 15px 16px; border-radius: 8px; }
.tv-cat:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.tv-cat.ativa { background: var(--purple, #4c007d); color: #fff; }

/* Coluna 2 — canais */
.tv-canais { padding: 20px 22px; max-height: calc(100vh - 130px); overflow-y: auto; scrollbar-width: thin; }
.tv-canais::-webkit-scrollbar { width: 8px; }
.tv-canais::-webkit-scrollbar-thumb { background: #33265a; border-radius: 10px; }
.tv-canais > h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin: 0 0 16px; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 14px; }
.tv-canal-list { display: flex; flex-direction: column; }
.tv-canal { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: none; border: none; border-radius: 10px; cursor: pointer; padding: 10px 8px; transition: background 0.15s; }
.tv-canal:hover { background: rgba(255,255,255,0.04); }
.tv-canal.ativo { background: rgba(76,0,125,0.4); box-shadow: inset 3px 0 0 var(--purple-soft, #9b47d4); }
.tv-canal-n { flex: none; width: 26px; text-align: right; color: #8d83b0; font-size: 14px; font-weight: 700; }
.tv-canal-logo { flex: none; width: 62px; height: 46px; border-radius: 6px; overflow: hidden; position: relative; }
.tv-canal-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.tv-canal-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tv-canal-info strong { font-size: 14.5px; color: var(--white); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-canal-info span { font-size: 12px; color: #9c92c0; }
.tv-canal-fav { flex: none; background: none; border: none; cursor: pointer; font-size: 18px; color: #5a5175; padding: 4px; }
.tv-canal-fav:hover { color: #c96; }
.tv-canal-fav.on { color: #e0567a; }

/* Coluna 3 — player */
.tv-player { position: sticky; top: 90px; }
.tv-player-box { padding: 18px; }
.tv-player-box > h4 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px; color: var(--white); margin: 0 0 14px; text-align: center; }
.tv-video-shell { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; }
.tv-video-shell video { width: 100%; height: 100%; display: block; background: #000; }
.tv-video-shell .video-loader { position: absolute; inset: 0; margin: auto; display: none; }
.tv-video-shell.loading .video-loader { display: block; }
.tv-erro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(8,7,14,0.9); text-align: center; padding: 20px; }
.tv-erro p { color: #f0a0c0; font-size: 14px; font-weight: 600; margin: 0; }
.tv-player-acoes { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.tv-acao-btn { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); color: #e6dcff; font: inherit; font-size: 13px; font-weight: 700; padding: 11px; border-radius: 8px; cursor: pointer; }
.tv-acao-btn:hover { background: rgba(76,0,125,0.5); border-color: var(--purple-soft, #9b47d4); }

@media (max-width: 1200px) {
  .tv-layout { grid-template-columns: 260px minmax(0, 1fr); }
  .tv-player { grid-column: 1 / -1; position: static; }
  .tv-player-box { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 760px) {
  /* Mobile: player fixo no topo, categorias em chips, canais rolando abaixo */
  .tv-layout { display: flex; flex-direction: column; gap: 14px; }
  .tv-player { order: -1; position: sticky; top: 60px; z-index: 20; }
  .tv-player-box { max-width: none; margin: 0; }
  .tv-cats { max-height: none; padding: 12px; }
  .tv-cat-list { display: flex; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .tv-cat-list::-webkit-scrollbar { display: none; }
  .tv-cat { flex: none; white-space: nowrap; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.06); font-size: 14px; }
  .tv-canais { max-height: none; padding: 16px; }
  .tv-canais > h3 { font-size: 17px; }
}

/* ── TV ao vivo: lista de canais + categorias (estilo app) ────────────────── */
.tv2-bar { display: flex; gap: 12px; align-items: center; margin: 8px 0 16px; }
.tv2-catbtn { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--card-line); color: #fff; font: inherit; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 12px; cursor: pointer; white-space: nowrap; }
.tv2-catbtn:hover { background: rgba(76,0,125,0.42); }
.tv2-catbtn .tv2-chev { opacity: 0.7; }
.tv2-busca { position: relative; flex: 1; max-width: 460px; }
.tv2-busca svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); stroke: #a89ecb; }
.tv2-busca input { width: 100%; box-sizing: border-box; background: rgba(10,9,16,0.7); border: 1px solid var(--card-line); border-radius: 12px; color: #fff; font: inherit; font-size: 14px; padding: 12px 14px 12px 40px; }
.tv2-busca input:focus { outline: none; border-color: var(--purple-soft, #9b47d4); }

/* ── TV ao vivo: layout de 3 colunas (categorias · canais · player) ──────── */
.livetv-catmob { display: none; }   /* só aparece no mobile */

.livetv { display: grid; grid-template-columns: 300px minmax(0, 1fr) 460px; gap: 18px; height: calc(100vh - 150px); min-height: 460px; margin-top: 4px; }
.livetv-cats, .livetv-mid { display: flex; flex-direction: column; min-height: 0; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; }

/* Coluna 1 — busca + categorias */
.livetv-search { position: relative; flex: none; max-width: none; margin: 12px; }
.livetv-catlist { flex: 1; overflow-y: auto; padding: 0 8px 8px; scrollbar-width: thin; }
.livetv-catlist::-webkit-scrollbar { width: 7px; }
.livetv-catlist::-webkit-scrollbar-thumb { background: #2a2340; border-radius: 10px; }
.tv2-cat { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: none; border: none; color: #d9d3ea; font: inherit; font-size: 15px; font-weight: 600; padding: 15px 16px; border-radius: 10px; cursor: pointer; transition: background .14s, color .14s; }
.tv2-cat:hover { background: rgba(255,255,255,0.05); color: #fff; }
.tv2-cat.ativa { color: #fff; background: linear-gradient(90deg, #7a2bd0, #4c007d); box-shadow: 0 6px 18px -6px rgba(124,58,237,.6); }
.tv2-cat em { font-style: normal; color: #8f86ad; font-weight: 600; }
.tv2-cat.ativa em { color: rgba(255,255,255,.75); }
.tv2-cat-chev { display: none; }

/* Coluna 2 — canais da categoria */
.livetv-mid-head { flex: none; padding: 20px 22px 14px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.livetv-mid-head h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; color: #fff; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livetv-canais { flex: 1; overflow-y: auto; padding: 6px 10px 12px; scrollbar-width: thin; }
.livetv-canais::-webkit-scrollbar { width: 8px; }
.livetv-canais::-webkit-scrollbar-thumb { background: #2a2340; border-radius: 10px; }
.tv2-canais { display: flex; flex-direction: column; }
.tv2-canal { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; padding: 12px 10px; border-radius: 10px; transition: background .12s; }
.tv2-canal:hover { background: rgba(255,255,255,0.045); }
.tv2-canal.ativo { background: rgba(255,255,255,0.06); }
.tv2-canal.ativo::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--purple-soft, #9b47d4); }
.tv2-canal-n { flex: none; width: 26px; text-align: center; color: #8f86ad; font-size: 14px; font-weight: 700; }
.tv2-canal.ativo .tv2-canal-n { color: var(--purple-soft, #9b47d4); }
.tv2-canal-logo { flex: none; width: 84px; height: 54px; border-radius: 8px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.tv2-canal-logo img { width: 100%; height: 100%; object-fit: contain; }
.tv2-canal-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tv2-canal-nome { color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv2-canal-sub { color: #8f86ad; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv2-canal-fav { flex: none; font-size: 19px; color: #4a4363; padding: 6px 8px; cursor: pointer; line-height: 1; }
.tv2-canal-fav:hover { color: #e0567a; }
.tv2-canal-fav.on { color: #e0567a; }

/* Coluna 3 — player embutido + info do canal */
.livetv-right { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow-y: auto; }
.livetv-video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); flex: none; }
.livetv-video video { width: 100%; height: 100%; display: block; background: #000; }
/* Esconde os botões nativos de tela cheia e PiP — usamos só o botão roxo */
#tv-video::-webkit-media-controls-fullscreen-button,
#tv-video::-webkit-media-controls-picture-in-picture-button { display: none !important; }
.livetv-video .video-loader { position: absolute; inset: 0; margin: auto; display: none; z-index: 2; }
.livetv-video.loading .video-loader { display: block; }
.livetv-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #6a6088; text-align: center; padding: 20px; }
.livetv-empty p { margin: 0; font-size: 14px; font-weight: 600; color: #8f86ad; }
.livetv-fs { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 10px; border: none; background: rgba(0,0,0,0.55); cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); z-index: 3; }
.livetv-fs:hover { background: rgba(76,0,125,0.9); }
.livetv-now { flex: none; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 16px 18px; }
.livetv-now-hint { margin: 0; color: #8f86ad; font-size: 13.5px; text-align: center; }
.livetv-now-row { display: flex; align-items: center; gap: 14px; }
.livetv-now-logo { flex: none; width: 70px; height: 46px; object-fit: contain; background: #fff; border-radius: 8px; }
.livetv-now-txt { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.livetv-now-txt strong { color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.livetv-now-txt span { color: #b9b0d6; font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.livetv-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-soft, #9b47d4); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(155,71,212,.6); } 70% { box-shadow: 0 0 0 7px rgba(155,71,212,0); } 100% { box-shadow: 0 0 0 0 rgba(155,71,212,0); } }

/* Coração de favorito no player */
.pv-modal-head { display: flex; align-items: center; gap: 12px; }
.pv-modal-head h4 { flex: 1; min-width: 0; }
.pv-modal-fav { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 2px 6px; line-height: 1; }
.pv-modal-fav.on { color: #e0567a; }

/* ── TV ao vivo responsivo ──────────────────────────────────────────────── */
@media (max-width: 1100px) { .livetv { grid-template-columns: 250px minmax(0, 1fr) 360px; gap: 14px; } }
@media (max-width: 900px) {
  /* Mobile: sem coluna de player (canal abre em tela cheia); categorias viram drawer */
  .livetv-catmob { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.06); border: 1px solid var(--card-line); color: #fff; font: inherit; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 12px; cursor: pointer; margin: 8px 0 14px; }
  .livetv { display: block; height: auto; }
  .livetv-right { display: none; }
  .livetv-mid { border: none; background: none; border-radius: 0; }
  .livetv-mid-head { display: none; }
  .livetv-canais { padding: 0; }
  .livetv-cats { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1400; width: min(360px, 86%); border-radius: 0; border: none; background: #0e0b1a; box-shadow: 8px 0 44px rgba(0,0,0,0.6); transform: translateX(-100%); transition: transform .24s ease; }
  .livetv-cats.open { transform: translateX(0); }
}

/* Resultados da busca */
.pv-busca-titulo { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 19px; color: var(--white); margin: 18px 0 18px; }
.pv-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px 16px; }
.pv-grade .poster { width: auto; }
@media (max-width: 640px) {
  .pv-grade { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px 10px; }
}

/* Logo do título (arte com o nome, como no Prime) */
.pv-detail-logo { display: block; max-width: min(420px, 70%); max-height: 150px; object-fit: contain; object-position: left bottom; margin: 4px 0 14px; }

/* Botões redondos de ação (gostei / não gostei / compartilhar) */
.pv-acoes { display: flex; gap: 10px; margin-top: 16px; }
.pv-acao { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #e6dcff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); transition: background 0.15s, color 0.15s, transform 0.15s; }
.pv-acao:hover { background: rgba(255,255,255,0.16); transform: scale(1.06); }
.pv-acao.ativo { background: var(--purple, #4c007d); border-color: var(--purple-soft, #9b47d4); color: #fff; }
.pv-acao.ok { background: #2e7d55; border-color: #3fa06e; color: #fff; }
.pv-ghost2.ativo { background: rgba(76,0,125,0.6); border-color: var(--purple-soft, #9b47d4); }

/* Abas: Episódios | Relacionados | Detalhes */
.pv-detail-abas { position: relative; z-index: 2; display: flex; gap: 26px; padding: 0 40px; }
.pv-aba { background: none; border: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; color: #a89ecb; padding: 14px 2px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.pv-aba:hover { color: var(--white); }
.pv-aba.active { color: var(--white); border-bottom-color: var(--purple-soft, #9b47d4); }
.pv-painel { display: none; }
.pv-painel.active { display: block; }

/* Relacionados */
.pv-rel-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px; }
.pv-rel { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 0; border: none; background: none; cursor: pointer; font: inherit; }
.pv-rel:hover img { transform: translateY(-4px); box-shadow: 0 16px 34px -14px rgba(0,0,0,0.75); }
.pv-rel img { transition: transform 0.18s, box-shadow 0.18s; }
.pv-rel img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 6px; display: block; background: #1d1440; }
.pv-rel span { font-size: 13px; color: #cfc7e6; font-weight: 600; line-height: 1.3; }

/* Detalhes */
.pv-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.pv-info-bloco h4 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 16px; color: var(--white); margin: 0 0 10px; }
.pv-info-bloco p { font-size: 13.5px; line-height: 1.6; color: #b7addb; margin: 0 0 7px; }
.pv-info-bloco strong { color: #e6dcff; font-weight: 700; }
.pv-info-sinopse { grid-column: 1 / -1; }
.pv-info-vazio { font-size: 14px; color: #a89ecb; }

@media (max-width: 640px) {
  .pv-detail-abas { padding: 0 18px; gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .pv-detail-abas::-webkit-scrollbar { display: none; }
  .pv-aba { font-size: 14px; white-space: nowrap; }
  .pv-detail-logo { max-width: 78%; max-height: 110px; }
  .pv-rel-list { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 14px; }
}

.pv-eps-titulo { display: flex; align-items: baseline; gap: 12px; }
.pv-eps-count { font-size: 13px; color: #a89ecb; font-weight: 600; }

/* Grade de episódios (como no Prime) */
.pv-eps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.pv-ep { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 0; border: none; background: none; cursor: pointer; }
.pv-ep-thumb { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; }
.pv-ep-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pv-ep-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,9,16,0.45); opacity: 0; transition: opacity 0.18s; }
.pv-ep:hover .pv-ep-play { opacity: 1; }
.pv-ep:hover .pv-ep-thumb { box-shadow: 0 0 0 2px var(--purple-soft, #9b47d4); }
.pv-ep-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pv-ep-info strong { font-size: 14px; color: var(--white); font-weight: 700; line-height: 1.3; }
.pv-ep-info p { font-size: 12.5px; line-height: 1.45; color: #b0a6d0; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pv-ep-info span { font-size: 11.5px; color: #8d83b0; }
/* Barra de progresso do episódio em andamento (thumb) */
.pv-ep-prog { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(0,0,0,0.55); }
.pv-ep-prog span { display: block; height: 100%; background: var(--purple-glow); box-shadow: 0 0 8px rgba(201,127,255,0.7); }
.pv-ep-info .pv-ep-rest { color: var(--purple-glow, #c97fff); font-weight: 700; }

/* Barra "Retomar" embaixo do botão na tela de detalhes */
.pv-resume { display: flex; align-items: center; gap: 11px; margin-top: 12px; max-width: 430px; }
.pv-resume-bar { flex: 1 1 auto; height: 5px; border-radius: 99px; background: rgba(255,255,255,0.22); overflow: hidden; }
.pv-resume-bar span { display: block; height: 100%; border-radius: 99px; background: var(--purple-glow); box-shadow: 0 0 8px rgba(201,127,255,0.7); }
.pv-resume-txt { flex: none; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.78); white-space: nowrap; }

@media (max-width: 1100px) { .pv-eps-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .pv-eps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pv-detail-eps { padding: 20px 18px 26px; }
  .pv-eps-list { grid-template-columns: 1fr; gap: 16px; }
  .pv-ep { flex-direction: row; gap: 12px; align-items: flex-start; }
  .pv-ep-thumb { flex: none; width: 130px; }
  .pv-ep-info p { -webkit-line-clamp: 2; }
}
.pv-detail-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
/* Trailer no banner: cobre o backdrop (sem tarjas), fica abaixo da sombra/texto */
.pv-trailer { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  animation: pv-trailer-in .6s ease both; }
.pv-trailer iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; min-width: 100%; min-height: 100%; aspect-ratio: 16 / 9; border: 0; }
@keyframes pv-trailer-in { from { opacity: 0; } to { opacity: 1; } }
/* Botão de som do trailer (canto inferior direito, acima da sombra/texto) */
.pv-trailer-mute { position: absolute; z-index: 6; right: 40px; bottom: 34px;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  color: #fff; border: 1.5px solid rgba(255,255,255,.55); background: rgba(10,9,16,.55);
  backdrop-filter: blur(4px); transition: background .2s, border-color .2s, transform .2s;
  animation: pv-trailer-in .6s ease both; }
.pv-trailer-mute:hover { background: rgba(76,0,125,.85); border-color: #fff; transform: scale(1.06); }
@media (max-width: 720px) {
  .pv-trailer-mute { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}
.pv-detail-shade { position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--pv-bg) 3%, rgba(var(--pv-bg-rgb),0.62) 30%, rgba(var(--pv-bg-rgb),0.06) 62%, rgba(var(--pv-bg-rgb),0) 100%),
  linear-gradient(90deg, rgba(var(--pv-bg-rgb),0.9) 0%, rgba(var(--pv-bg-rgb),0.45) 40%, rgba(var(--pv-bg-rgb),0) 70%); }
.pv-detail-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 -70px 130px 10px var(--pv-bg); }
.pv-detail-content { position: relative; z-index: 2; padding: 44px 40px 34px; max-width: 620px; }
.pv-detail-content h2 { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.06; color: var(--white); margin: 6px 0 0; text-shadow: 0 3px 24px rgba(0,0,0,.5); }
.pv-detail-content p { font-size: 14.5px; line-height: 1.6; color: #d6cff0; margin: 0 0 18px; }

/* ── Marca / provedor (linha pequena acima do logo) ─────────────────────── */
.pv-detail-provider { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #9a90c4; margin: 0 0 10px; }

/* ── Tags (Filme/Série/4K/HDR/Dolby/Novo/Dublado/Legendado + classificação) ── */
.pv-detail-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; }
.pv-tag { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; color: #efe7fb; background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(4px); }
.pv-tag.is-tipo { background: rgba(124,58,237,0.3); border-color: rgba(167,110,255,0.55); color: #ecdcff; }
.pv-tag.is-q { background: rgba(56,132,255,0.24); border-color: rgba(110,170,255,0.6); color: #d3e6ff; }
.pv-tag.is-novo { background: rgba(34,197,94,0.22); border-color: rgba(74,222,128,0.5); color: #c9f7d8; }
.pv-tag.is-idi { background: rgba(255,255,255,0.07); }
.pv-tag.is-cls { background: #d61f2b; border-color: #ef4652; color: #fff; }

/* ── Indicadores (IMDb/TMDb/aprovação/temporadas/episódios) ─────────────── */
.pv-detail-ind { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.pv-detail-ind:empty { display: none; }
.pv-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #e8e2f5; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); }
.pv-chip b { font-weight: 800; }
.pv-chip.is-imdb b { color: #f5c518; }
.pv-chip.is-tmdb b { color: #5fb4ff; }
.pv-chip.is-ok { color: #b9f5c9; background: rgba(34,197,94,0.14); border-color: rgba(74,222,128,0.4); }

/* ── Descrição com limite de linhas + "Ler mais" ───────────────────────── */
#pv-detail-desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; max-width: 600px; margin-bottom: 6px; }
#pv-detail-desc.aberta { -webkit-line-clamp: unset; overflow: visible; }
.pv-detail-more { background: none; border: none; color: #6ea8ff; font-weight: 700; font-size: 13.5px; cursor: pointer; padding: 2px 0; margin: 0 0 18px; }
.pv-detail-more:hover { color: #fff; text-decoration: underline; }
/* Fixo: continua visível ao rolar a lista de episódios */
.pv-detail-close { position: fixed; z-index: 10; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; background: rgba(10,9,16,0.8); color: #fff; font-size: 18px; line-height: 1; backdrop-filter: blur(4px); }
.pv-detail-close:hover { background: rgba(76,0,125,0.9); }

@media (max-width: 640px) {
  .pv-detail-hero { min-height: 56vh; }
  .pv-detail-content { padding: 20px 18px 26px; max-width: none; }
  .pv-detail-shade { background: linear-gradient(0deg, rgba(var(--pv-bg-rgb),0.97) 22%, rgba(var(--pv-bg-rgb),0.55) 65%, rgba(var(--pv-bg-rgb),0.2) 100%); }
  .pv-detail-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  /* Banner mais limpo no celular: nome menor e sem sinopse/ano/duração/gêneros
     por cima do trailer (esses dados continuam na aba "Detalhes"). */
  .pv-detail-content h2 { font-size: clamp(22px, 6.4vw, 30px); }
  .pv-detail-logo { max-width: 62%; max-height: 82px; }
  .pv-detail-content .pv-detail-meta,
  .pv-detail-content #pv-detail-desc,
  .pv-detail-content .pv-detail-more { display: none; }
  /* Amplia o trailer para cortar o título do YouTube que aparece no topo */
  .pv-trailer iframe { transform: translate(-50%, -50%) scale(1.35); }
}

/* Botão "Menu" estilo Prime Video (mobile) — sem bordas, só texto */
.pv-menu-toggle { display: none; flex: none; align-items: center; gap: 5px; height: 38px; padding: 0; border: none; background: none; cursor: pointer; color: #f2ecff; }
.pv-menu-label { font-weight: 700; font-size: 15px; line-height: 1; }
.pv-menu-chev { transition: transform 0.25s; }
.pv-header.menu-open .pv-menu-chev { transform: rotate(180deg); }
/* Ícone da área do cliente (substitui o link de texto no header) */
.pv-header-user { display: inline-flex; flex: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; color: #f2ecff; }
.pv-header-user:hover { background: rgba(255,255,255,0.08); }
/* O link "Área do cliente" do nav vira o ícone acima */
.pv-header .pv-nav-link { display: none; }
/* Header fica por cima da tela de detalhes (estilo Prime); o ✕ some pois a
   navegação passa a ser feita pelo próprio header / voltar do navegador. */
.pv-header.over-detail { z-index: 1600; }
.pv-detail-close { display: none; }

@media (max-width: 820px) {
  /* Barra escura, fina e fixa — estilo Prime Video no celular.
     Menu encostado na esquerda e cliente na direita (padding lateral mínimo). */
  .pv-header { position: sticky; top: 0; margin: 0; border-radius: 0; flex-wrap: nowrap; align-items: center; gap: 6px; padding: 7px 6px; background: var(--pv-head); }
  .pv-header::before { display: none; }
  .pv-body .pv-header, .pv-body .pv-header.pv-solid, .pv-header.pv-solid { background: var(--pv-head); }
  .pv-menu-toggle { display: flex; order: 1; }
  /* Só o nome, centralizado e maior (como o "prime video" no meio) */
  .pv-header .logo { order: 2; flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
  .pv-logo-text { font-size: 24px; }
  .pv-header-loader { display: none !important; }
  /* Busca vira só um ícone; expande sobre o header ao tocar */
  .pv-header .pv-search { order: 3; flex: none; width: 40px; height: 40px; padding: 0; border: none; background: none; display: flex; align-items: center; justify-content: center; }
  .pv-search-ico { position: static; transform: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; pointer-events: auto; }
  .pv-search-ico svg { stroke: #f2ecff; }
  .pv-header .pv-search input { display: none; }
  .pv-header.search-open .pv-search { position: absolute; left: 10px; right: 10px; top: 50%; transform: translateY(-50%); z-index: 40; width: auto; height: 42px; padding: 0 8px 0 40px; background: #17131f; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-pill); justify-content: flex-start; }
  .pv-header.search-open .pv-search-ico { position: absolute; left: 6px; }
  .pv-header.search-open .pv-search input, .pv-header.search-open .pv-search input:focus { display: block; flex: 1 1 auto; width: 100%; box-sizing: border-box; background: none; border: none; padding: 9px 8px; }
  /* Ícone da área do cliente à direita */
  .pv-header-user { display: flex; order: 4; }
  /* Nav vira um painel suspenso abaixo do header */
  .pv-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    flex-direction: column; align-items: stretch; gap: 4px; order: 0; width: auto;
    background: #0e0b1a; border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 10px 16px 16px; box-shadow: 0 18px 40px -12px rgba(0,0,0,0.7);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .pv-header.menu-open .pv-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .pv-nav .pv-tab, .pv-nav .pv-nav-link { width: 100%; text-align: left; padding: 13px 16px; border-radius: 10px; font-size: 15px; }
  .pv-nav .pv-nav-link { color: #cbb6ec; border-top: 1px solid rgba(255,255,255,0.07); margin-top: 4px; padding-top: 15px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PAINEL ADMINISTRATIVO (admin.html) — mesma identidade visual
   ══════════════════════════════════════════════════════════════════════════ */
/* Garante que [hidden] sempre esconda, mesmo em elementos com display:flex/grid
   (senão o login e o painel apareceriam juntos). */
[hidden] { display: none !important; }

.adm-body { background: var(--bg); min-height: 100vh; }

/* Toasts */
.adm-toasts { position: fixed; top: 18px; right: 18px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.adm-toast { background: var(--card); color: var(--white); border: 1px solid var(--card-line); border-left: 4px solid var(--purple-soft); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-card); opacity: 0; transform: translateX(20px); transition: opacity .25s, transform .25s; }
.adm-toast.show { opacity: 1; transform: translateX(0); }
.adm-toast.is-ok { border-left-color: #46d18b; }
.adm-toast.is-erro { border-left-color: #f0729a; }

/* Shell: sidebar + main */
.adm-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.adm-side { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 22px 16px; background: var(--bg-deep); border-right: 1px solid var(--card-line); }
.adm-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 18px; }
.adm-brand .logo-text { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 20px; color: var(--white); }
.adm-brand .logo-text span { color: var(--purple-glow); }
.adm-brand-tag { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--purple); padding: 3px 8px; border-radius: var(--r-pill); }
.adm-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.adm-navbtn { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: transparent; border: none; color: var(--muted-2); font-family: inherit; font-size: 14.5px; font-weight: 600; padding: 12px 14px; border-radius: var(--r-sm); cursor: pointer; transition: background .15s, color .15s; }
.adm-navbtn svg { stroke: currentColor; flex: 0 0 18px; }
.adm-navbtn:hover { background: rgba(155,71,212,0.12); color: var(--white); }
.adm-navbtn.active { background: var(--purple); color: var(--white); }
.adm-logout { color: var(--muted-3); margin-top: auto; }
.adm-logout:hover { background: rgba(240,114,154,0.12); color: #f7b5cb; }

/* Main */
.adm-main { padding: 0 0 60px; min-width: 0; }
.adm-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 18px 28px; background: rgba(22,11,48,0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--card-line); }
.adm-topbar h1 { font-family: 'Baloo 2', sans-serif; font-size: 22px; margin: 0; color: var(--white); }
.adm-user-chip { margin-left: auto; font-size: 13.5px; color: var(--muted-2); }
.adm-user-chip strong { color: var(--white); }
.adm-menu-toggle { display: none; flex-direction: column; gap: 4px; background: transparent; border: none; cursor: pointer; padding: 6px; }
.adm-menu-toggle span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }

.adm-view { display: none; padding: 26px 28px; animation: admFade .3s ease; }
.adm-view.active { display: block; }
@keyframes admFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Cards de estatística */
.adm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 26px; }
.adm-card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-card); }
.adm-card-k { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted-3); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.adm-card-v { display: block; font-family: 'Baloo 2', sans-serif; font-size: 32px; font-weight: 800; color: var(--white); line-height: 1; }
.adm-card-v.adm-sm { font-size: 19px; }
.adm-card-v.adm-ok { color: #57d59a; }
.adm-card-v.adm-warn { color: #f0a0c0; }
.adm-card-note { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--muted-4); background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: var(--r-pill); }

/* Painéis */
.adm-panel { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-md); padding: 22px 24px; margin-bottom: 20px; box-shadow: var(--shadow-card); }
.adm-panel h2 { font-family: 'Baloo 2', sans-serif; font-size: 18px; margin: 0 0 16px; color: var(--white); }
.adm-panel.adm-narrow { max-width: 460px; }
.adm-muted { color: var(--muted-3); font-size: 14px; }
.adm-soon { opacity: .85; }

/* Status dos servidores (dashboard) */
.adm-srv-status { display: flex; flex-direction: column; gap: 10px; }
.adm-srv-line { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(255,255,255,0.03); border-radius: var(--r-sm); }
.adm-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.adm-dot.on { background: #46d18b; box-shadow: 0 0 8px rgba(70,209,139,.7); }
.adm-dot.off { background: #f0729a; box-shadow: 0 0 8px rgba(240,114,154,.6); }
.adm-srv-name { font-weight: 700; color: var(--white); }
.adm-srv-name em { font-style: normal; font-size: 11px; color: var(--purple-glow); background: rgba(155,71,212,.16); padding: 2px 7px; border-radius: var(--r-pill); margin-left: 6px; }
.adm-srv-dns { color: var(--muted-3); font-size: 13px; margin-left: auto; }
.adm-srv-ping { font-size: 13px; font-weight: 700; color: var(--muted-2); min-width: 70px; text-align: right; }

/* Cabeçalho da view de servidores */
.adm-view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-view-head h2 { font-family: 'Baloo 2', sans-serif; font-size: 22px; margin: 0 0 4px; color: var(--white); }
.adm-view-actions { display: flex; gap: 10px; align-items: center; }
.adm-btn-inline { width: auto; margin: 0; padding: 11px 18px; font-size: 14px; }
.adm-failover { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 18px; }

/* Cards de servidor */
.adm-servers { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.adm-srv-card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-card); transition: border-color .15s; }
.adm-srv-card.is-off { opacity: .62; }
.adm-srv-card:hover { border-color: var(--purple-soft); }
.adm-srv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.adm-srv-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm-srv-h strong { color: var(--white); font-size: 15.5px; }
.adm-tag { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: var(--r-pill); }
.adm-tag.principal { background: var(--purple); color: #fff; }
.adm-tag.reserva { background: rgba(155,71,212,.16); color: var(--purple-glow); }
.adm-tag.oculto { background: rgba(255,255,255,.08); color: var(--muted-3); }
.adm-badge { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.adm-badge.on { background: rgba(70,209,139,.15); color: #57d59a; }
.adm-badge.off { background: rgba(240,114,154,.15); color: #f0a0c0; }
.adm-badge.test { background: rgba(255,255,255,.06); color: var(--muted-3); }
.adm-srv-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; color: var(--muted-2); font-size: 13.5px; }
.adm-srv-note { color: var(--muted-4); font-size: 12.5px; }
.adm-srv-btns { display: flex; flex-wrap: wrap; gap: 7px; }
.adm-mini { background: rgba(255,255,255,.06); border: 1px solid var(--card-line); color: var(--muted); font-family: inherit; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: var(--r-pill); cursor: pointer; transition: background .15s, color .15s; }
.adm-mini:hover { background: var(--purple); color: #fff; }
.adm-mini.danger:hover { background: #c0335c; color: #fff; }

/* Modal */
.adm-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.adm-modal-backdrop { position: absolute; inset: 0; background: rgba(10,4,24,.72); backdrop-filter: blur(4px); }
.adm-modal-card { position: relative; width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; background: var(--card-2); border: 1px solid var(--card-line); border-radius: var(--r-lg); padding: 24px 26px; box-shadow: var(--shadow-float); }
.adm-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.adm-modal-head h2 { font-family: 'Baloo 2', sans-serif; font-size: 20px; margin: 0; color: var(--white); }
.adm-modal-x { background: transparent; border: none; color: var(--muted-2); font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.adm-modal-x:hover { color: var(--white); }
.adm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.adm-textarea { width: 100%; background: var(--bg-deep); border: 1px solid var(--card-line); border-radius: var(--r-sm); color: var(--text); font-family: inherit; font-size: 14.5px; padding: 12px 14px; resize: vertical; box-sizing: border-box; }
.adm-textarea:focus { outline: none; border-color: var(--purple-soft); box-shadow: 0 0 0 3px rgba(76,0,125,.35); }
.adm-checks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 6px 0 16px; }
.adm-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.adm-modal-foot .btn-ghost { width: auto; }

/* Integrações — blocos de plano */
.adm-int-plan { border:1px solid var(--card-line); border-radius:var(--r-sm); padding:14px 16px 2px; margin-bottom:14px; background:rgba(255,255,255,.02); }
.adm-int-plan-t { font-family:'Baloo 2',sans-serif; font-size:14px; text-transform:capitalize; color:var(--purple-glow); margin:0 0 10px; }

/* Tabela (acessos reserva) */
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th { text-align: left; color: var(--muted-3); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; padding: 8px 12px; border-bottom: 1px solid var(--card-line); }
.adm-table td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--text); }
.adm-table tr:last-child td { border-bottom: none; }
.adm-table td:last-child { text-align: right; }

/* Spinner */
.adm-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: admSpin .7s linear infinite; vertical-align: middle; }
@keyframes admSpin { to { transform: rotate(360deg); } }

/* Responsivo */
@media (max-width: 860px) {
  .adm-shell { grid-template-columns: 1fr; }
  .adm-side { position: fixed; z-index: 60; width: 250px; left: -270px; transition: left .25s ease; }
  body.adm-side-open .adm-side { left: 0; }
  .adm-menu-toggle { display: flex; }
  .adm-view, .adm-topbar { padding-left: 18px; padding-right: 18px; }
  .adm-grid2 { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ÁREA DO CLIENTE — Servidor Atual + Selecionar Servidor
   ══════════════════════════════════════════════════════════════════════════ */
.cp-servers { margin-top: 20px; }
.cp-srv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cp-srv-head h3 { margin: 0; }
.cp-srv-current { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.cp-srv-cur-k { color: var(--muted-3); }
.cp-srv-cur-v { color: var(--white); font-weight: 700; }
.cp-srv-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-pill); }
.cp-srv-badge.on { background: rgba(70,209,139,.15); color: #57d59a; }
.cp-srv-badge.off { background: rgba(240,114,154,.15); color: #f0a0c0; }
.cp-srv-sync { width: 100%; font-size: 12px; color: var(--muted-4); }

.cp-server-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.cp-srv-item { background: rgba(255,255,255,0.03); border: 1px solid var(--card-line); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s; }
.cp-srv-item.is-atual { border-color: var(--purple-soft); box-shadow: 0 0 0 1px var(--purple-soft) inset; }
.cp-srv-item.is-off { opacity: .6; }
.cp-srv-i-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cp-srv-i-name { font-weight: 700; color: var(--white); font-size: 14.5px; }
.cp-srv-i-name em { font-style: normal; font-size: 10.5px; font-weight: 800; text-transform: uppercase; color: var(--purple-glow); background: rgba(155,71,212,.16); padding: 2px 7px; border-radius: var(--r-pill); margin-left: 4px; }
.cp-srv-i-status { font-size: 12px; font-weight: 700; white-space: nowrap; }
.cp-srv-i-status.on { color: #57d59a; }
.cp-srv-i-status.off { color: #f0a0c0; }
.cp-srv-i-dns { font-size: 13px; color: var(--muted-3); }
.cp-srv-i-atual { align-self: flex-start; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--purple-glow); }
.cp-srv-conectar { margin-top: 4px; background: var(--purple); border: none; color: #fff; font-family: inherit; font-size: 13.5px; font-weight: 700; padding: 9px 14px; border-radius: var(--r-pill); cursor: pointer; transition: background .15s; }
.cp-srv-conectar:hover { background: var(--purple-2); }
.cp-srv-conectar:disabled { background: rgba(255,255,255,.08); color: var(--muted-4); cursor: not-allowed; }

/* Dados do acesso — servidor reserva */
.cp-reserva-bloco { padding: 12px 0; border-top: 1px solid var(--card-line); }
.cp-reserva-bloco:first-child { border-top: none; padding-top: 4px; }
.cp-reserva-srv { font-weight: 700; color: var(--purple-glow); font-size: 13.5px; margin-bottom: 6px; }

/* ══════════════════════════════════════════════════════════════════════════
   PLAYER — Pular +85s, Próximo episódio e contagem regressiva (5E)
   ══════════════════════════════════════════════════════════════════════════ */
.pvp-btn.pvp-skip { width: auto; padding: 0 12px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 13px; color: #fff; }
.pvp-next-ov { position: absolute; inset: 0; z-index: 6; display: flex; align-items: flex-end; justify-content: flex-end; padding: clamp(18px, 5vw, 60px); pointer-events: none; }
.pvp-next-card { pointer-events: auto; background: rgba(14,8,28,0.92); border: 1px solid var(--card-line); border-radius: var(--r-md); padding: 18px 20px; max-width: 340px; box-shadow: var(--shadow-float); backdrop-filter: blur(6px); }
.pvp-next-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-3); }
.pvp-next-title { display: block; font-family: 'Baloo 2', sans-serif; font-size: 20px; color: #fff; margin: 4px 0 14px; }
.pvp-next-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pvp-next-go { background: #fff; color: #150826; border: none; font-family: inherit; font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: var(--r-pill); cursor: pointer; }
.pvp-next-go:hover { background: #e6dbf6; }
.pvp-next-cancel { background: rgba(255,255,255,0.12); color: #fff; border: none; font-family: inherit; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: var(--r-pill); cursor: pointer; }
.pvp-next-cancel:hover { background: rgba(255,255,255,0.2); }


/* ══════════ Controle Financeiro (painel admin) ══════════ */
.fin-kpis { margin-bottom: 6px; }
.fin-card-luc { background: linear-gradient(150deg, rgba(123,47,247,0.22), rgba(76,0,125,0.12)); border-color: rgba(155,71,212,0.4); }
.fin-card-luc .adm-card-v { color: #d7b8ff; }
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .fin-grid { grid-template-columns: 1fr; } }

.fin-table { width: 100%; border-collapse: collapse; }
.fin-table th, .fin-table td { padding: 9px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
.fin-table tfoot td { border-bottom: 0; border-top: 2px solid rgba(255,255,255,0.16); padding-top: 12px; }
.fin-r { text-align: right; font-variant-numeric: tabular-nums; }

.fin-inp { font: inherit; color: #efe9fb; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 8px 10px; outline: none; }
.fin-inp:focus { border-color: #9b47d4; box-shadow: 0 0 0 3px rgba(155,71,212,0.25); }
.fin-alloc { width: 90px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.fin-custo-row { display: grid; grid-template-columns: 1fr 130px 38px; gap: 8px; margin-bottom: 8px; align-items: center; }
.fin-custo-row .fin-inp { width: 100%; }
.fin-c-del { width: 38px; padding: 0; height: 38px; }

.fin-saude-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 14px; }
.fin-saude-top .k { color: #a99ec8; }
.fin-bar { height: 11px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; margin: 4px 0 14px; }
.fin-bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #9b47d4, #c97fff); box-shadow: 0 0 10px rgba(201,127,255,0.5); transition: width 0.4s ease; }
.stat-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,0.09); }
.stat-row:last-child { border-bottom: 0; }
.stat-row .k { color: #a99ec8; font-size: 14px; }
.stat-row .v { font-weight: 800; font-variant-numeric: tabular-nums; }
.fin-good { color: #38d98a; }

.fin-cpa { text-align: center; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 14px; margin: 12px 0; }
.fin-cpa-cap { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #a99ec8; font-weight: 700; }
.fin-cpa-v { display: block; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; margin: 2px 0 6px; color: #efe9fb; }
.fin-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.fin-pill.good { color: #38d98a; background: rgba(56,217,138,0.15); }
.fin-pill.warn { color: #f2c14e; background: rgba(242,193,78,0.15); }
.fin-pill.bad  { color: #ff6b7a; background: rgba(255,107,122,0.15); }

.fin-conn { margin-bottom: 14px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 4px 12px; background: rgba(255,255,255,0.03); }
.fin-conn summary { cursor: pointer; padding: 8px 0; font-size: 13.5px; color: #c9bfe6; font-weight: 600; }
.fin-conn[open] summary { margin-bottom: 6px; }

/* Financeiro — tabela de planos por período */
.fin-c { text-align: center; }
.fin-table td .fin-inp { width: 100%; padding: 6px 8px; }
.fin-t-nome { min-width: 120px; }
.fin-t-preco, .fin-t-cli { width: 84px; }
.fin-t-meses { min-width: 104px; }
.fin-t-sub { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fin-t-del { width: 32px; height: 32px; padding: 0; }
.fin-table select.fin-inp { color: #efe9fb; }
.fin-table select.fin-inp option { background: #241650; color: #efe9fb; }
@media (max-width: 640px) { .fin-table, .fin-table thead, .fin-table tbody, .fin-table tr, .fin-table td, .fin-table th { font-size: 12.5px; } .fin-t-nome { min-width: 90px; } }
.fin-per { color: #8a80ab; font-weight: 600; font-size: 12px; }

/* Financeiro — abas de período, cards Sigma e gráfico */
.fin-periodtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.fin-periodtabs button { font: inherit; font-size: 13px; font-weight: 600; color: #c9bfe6; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 99px; padding: 8px 16px; cursor: pointer; transition: background .15s, color .15s; }
.fin-periodtabs button:hover { background: rgba(255,255,255,0.1); }
.fin-periodtabs button.active { background: #2563eb; border-color: #2563eb; color: #fff; }
.fin-tagp { font-size: 9.5px; font-weight: 800; letter-spacing: .05em; color: #c9bfe6; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); padding: 1px 6px; border-radius: 99px; vertical-align: middle; }
.fin-up { color: #38d98a; font-weight: 700; }
.fin-down { color: #ff6b7a; font-weight: 700; }
.fin-chart-head { margin-bottom: 8px; font-size: 26px; font-weight: 800; }
.fin-chart-head .adm-muted { font-size: 13px; font-weight: 500; }
.fin-chart-svg { width: 100%; height: 150px; display: block; }

/* ══════════════════════════════════════════════════════════════════════════
   Seletor de plano do checkout (assinar + renovar)
   ──────────────────────────────────────────────────────────────────────────
   Os botões ficam no painel "Resumo", não dentro do formulário: o cliente
   troca de plano e vê o valor mudar ao lado, sem procurar um <select>.
   Vale para as duas páginas de pagamento — por isso mora aqui e não solto
   dentro de um .html.
   ══════════════════════════════════════════════════════════════════════════ */
.plan-switch { display:flex; gap:8px; margin:2px 0 18px; }
.plan-pill { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; padding:10px 9px; border-radius:12px;
  cursor:pointer; text-align:left; color:#cfc7e6; transition:.15s ease;
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.10); }
.plan-pill:hover { border-color:rgba(174,130,230,.55); color:#f7f5fb; }
.plan-pill:focus-visible { outline:2px solid #ae82e6; outline-offset:2px; }
.plan-pill.is-active { background:linear-gradient(135deg,#4c007d,#9b47d4); border-color:transparent; color:#fff;
  box-shadow:0 6px 18px rgba(120,40,190,.35); }
.plan-pill .pp-nome { font-weight:700; font-size:13.5px; line-height:1.1; white-space:nowrap; }
.plan-pill .pp-preco { font-size:11px; opacity:.85; white-space:nowrap; }
@media (max-width:520px){ .plan-switch { flex-direction:column; } }
