/* =====================================================================
   PLAY TECH — CSS completo (versão melhorada)
   ===================================================================== */
:root {
  --bg: #050B14;
  --bg-card: #0C1626;
  --bg-elevated: #111C2E;
  --border: rgba(148, 200, 255, 0.12);
  --border-strong: rgba(148, 200, 255, 0.22);
  --text: #EAF2FB;
  --text-muted: #9AA9C0;
  --text-dim: #B8C4D6;
  --accent: #22D3EE;
  --accent-dark: #04202A;
  --danger: #FF5470;
  --success: #2DD4A8;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
input, button { font-size: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page { overflow-x: hidden; min-height: 100vh; padding-top: var(--header-h); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 0 clamp(16px, 3vw, 40px);
  min-height: var(--header-h);
  background: rgba(5, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.logo-text span { color: var(--accent); }

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(8px, 1.1vw, 20px);
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
}
.navlink {
  color: var(--text-dim);
  padding: 6px 0;
  font-weight: 500;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
}
.navlink:hover,
.navlink.active {
  color: #fff;
}
.navlink.active {
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform 0.15s, filter 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-dark);
  border-color: var(--accent);
}
.btn-lg {
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 12px;
  min-height: 52px;
}
.btn-block { width: 100%; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Layout principal ---------- */
.main-wrap {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - var(--header-h));
}

.side {
  flex: 0 0 148px;
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.sideitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 2px;
}
.sideitem:hover,
.sideitem.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.sideitem svg { flex-shrink: 0; opacity: 0.85; }

.content {
  flex: 1 1 auto;
  min-width: 0;
  padding-bottom: 80px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  padding: 56px clamp(20px, 4vw, 56px) 48px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
}
.hero-art.is-photo { filter: saturate(1.05); }
.hero-art.is-blur {
  filter: blur(26px) saturate(1.35) brightness(0.48);
  transform: scale(1.14);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 11, 20, 0.97) 0%, rgba(5, 11, 20, 0.86) 40%, rgba(5, 11, 20, 0.42) 66%, rgba(5, 11, 20, 0.88) 100%),
    linear-gradient(180deg, rgba(5, 11, 20, 0.3), rgba(5, 11, 20, 0.92));
}
.hero-card {
  position: absolute;
  right: clamp(24px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  width: min(26%, 280px);
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.62);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 24px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dots {
  display: flex;
  gap: 4px;
}
.hero-dot {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.2s, transform 0.2s;
}
.hero-dot.active span {
  background: var(--accent);
  transform: scale(1.15);
}
.hero-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(5, 11, 20, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.hero-nav-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Seções comuns ---------- */
.section {
  padding: 48px clamp(20px, 4vw, 56px);
}
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--text-muted);
  font-size: 14px;
  margin: 4px 0 0;
}

/* ---------- Fileiras / catálogo ---------- */
.row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #23324a transparent;
}
.row::-webkit-scrollbar { height: 8px; }
.row::-webkit-scrollbar-thumb {
  background: #23324a;
  border-radius: 8px;
}

.tile {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  z-index: 2;
}

/* --- cards de capa --- */
.poster { width: 172px; position: relative; }
.poster.rank { width: 206px; }
.tile-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(160deg, #16233a, #0a1220);
}
.poster.rank .tile-media { margin-left: 8%; width: calc(100% - 32px); }
.tile-media img,
.continue-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tile:hover .tile-media img,
.tile:hover .continue-media img { transform: scale(1.06); }

.rank-num {
  position: absolute;
  left: +5px;
  bottom: 64px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 700;
  line-height: 0.8;
  color: #05101f;
  -webkit-text-stroke: 2px rgba(234, 242, 251, 0.55);
  pointer-events: none;
  user-select: none;
}

.poster-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(5, 11, 20, 0.78);
  color: var(--text);
}
.tile-nota {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(5, 11, 20, 0.78);
  color: #FFD166;
}
.tile-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.15), rgba(5, 11, 20, 0.55));
  opacity: 0;
  transition: opacity 0.2s;
}
.tile-play svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.92);
  color: #04202A;
}
.tile:hover .tile-play,
.tile:focus-visible .tile-play { opacity: 1; }

.tile-info { padding: 11px 13px 13px; }
.tile-title {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.25;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile.sem-img .tile-media::after {
  content: 'Capa indisponível';
  position: absolute;
  inset: auto 0 12px 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* --- cards "continue assistindo" --- */
.continue { width: 296px; }
.continue-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #0a1220;
}
.continue-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
}
.continue-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
}

/* ---------- Canais ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.chip.active {
  background: var(--accent);
  color: var(--accent-dark);
  border-color: transparent;
}
.chip:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent);
}

.channels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.channel-tile {
  flex: 1 1 220px;
  max-width: 320px;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.channel-tile:hover { transform: scale(1.03); }
.channel-logo-wrap {
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F6FB;
}
.channel-logo-wrap img {
  max-width: 62%;
  max-height: 64px;
  object-fit: contain;
}
.channel-badge {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(5, 11, 20, 0.65);
  color: #EAF2FB;
}
.channel-badge.cat { bottom: 12px; left: 12px; }
.channel-badge.live {
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  display: inline-block;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 14px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-family: var(--font-display);
}
.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- Dispositivos ---------- */
.devices {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  align-items: center;
}
.device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  min-width: 80px;
}
.device svg {
  width: 36px;
  height: 36px;
  opacity: 0.9;
}

/* ---------- Prova social ---------- */
.social-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  text-align: center;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Planos ---------- */
.plans-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
}
.plans-faq-layout > .section { min-width: 0; padding-top: 0; padding-bottom: 28px; }
.plans-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: none;
}
.planrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.planrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.planrow.featured {
  border: 1.5px solid var(--accent);
  background: linear-gradient(90deg, rgba(34,211,238,0.14), rgba(34,211,238,0.03));
}
.plan-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-info { flex: 1 1 160px; min-width: 0; }
.plan-name {
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 2px;
  font-family: var(--font-display);
}
.plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}
.plan-price {
  text-align: right;
  flex: 0 0 auto;
}
.plan-old {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin: 0;
}
.plan-current {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.plan-current small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.plan-cta {
  flex: 0 0 auto;
}

/* ---------- Teste grátis ---------- */
.trial-box {
  background: linear-gradient(135deg, rgba(34,211,238,0.12), rgba(34,211,238,0.03));
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 20px;
  padding: 36px clamp(20px, 4vw, 48px);
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.trial-box h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 10px;
}
.trial-box > p {
  color: var(--text-muted);
  margin: 0 0 24px;
  font-size: 15.5px;
}
.trial-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.field input::placeholder { color: #5A6A80; }
.trial-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 600;
  font-size: 15.5px;
  transition: background 0.15s;
}
.faq-btn:hover { background: rgba(255, 255, 255, 0.04); }
.faq-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-btn svg { transform: rotate(180deg); }
.faq-body {
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  display: none;
}
.faq-item.open .faq-body { display: block; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px clamp(20px, 4vw, 56px) 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  max-width: 280px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 12px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 14.5px;
  margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  width: 100%;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

/* ---------- Modal ---------- */
.modal-overlay[hidden] { display: none !important; }
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.06); }
.modal h3 {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: 22px;
}
.modal-info { margin: 0; color: var(--text-muted); font-size: 14.5px; }
.modal-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.modal form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 14px 0 6px;
  font-weight: 600;
}
.modal form input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}
.modal-result {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-msg {
  white-space: pre-wrap;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 14px;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 12px 16px;
  background: rgba(5, 11, 20, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  gap: 10px;
}

/* ---------- Mobile ---------- */
@media (max-width: 1180px) {
  .header { justify-content: space-between; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: clamp(16px, 3vw, 40px);
    left: auto;
    width: min(320px, calc(100vw - 32px));
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 10px;
    background: rgba(8, 17, 30, .98);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .navlink { padding: 10px 12px; border-bottom: 0; border-radius: 8px; }
  .navlink:hover, .navlink.active { background: var(--bg-elevated); }
}

@media (max-width: 900px) {
  .plans-faq-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .plans-faq-layout > .section { padding-bottom: 12px; }
  .side { display: none !important; }
  .header { min-height: var(--header-h); }
  .hero { min-height: 400px; padding-bottom: 36px; }
  .hero-card { display: none; }
  .hero-art.is-blur { filter: blur(18px) saturate(1.3) brightness(0.45); }
  .busca-box { max-width: none; }
  .sticky-cta { display: flex; }
  .content { padding-bottom: 120px; }
  .wa-float { bottom: 80px; }
}

@media (max-width: 520px) {
  /* Mobile: centered logo and menu on the same row; CTAs stay in the bottom bar. */
  .header {
    display: grid;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-height: 72px;
  }
  .logo { grid-column: 2; grid-row: 1; justify-self: center; gap: 9px; min-width: 0; }
  .logo svg { width: 42px; height: 42px; flex: 0 0 42px; }
  .logo-text { font-size: 21px; line-height: 1.15; }
  .header-actions {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
  }
  .header-actions > .btn { display: none; }
  .menu-toggle { display: flex; width: 44px; height: 44px; flex: 0 0 44px; }
  .nav { top: calc(100% + 2px); right: 12px; }
  .page { padding-top: 72px; }
  .poster { width: 148px; }
  .poster.rank { width: 178px; }
  .rank-num { font-size: 66px; bottom: 42px; }
  .continue { width: 244px; }
  .tile-title { font-size: 13.5px; }
  .planrow { padding: 18px 16px; }
  .plan-price { text-align: left; width: 100%; }
  .plan-cta { width: 100%; }
  .plan-cta .btn { width: 100%; }
  .detail-body { padding: 4px 18px 22px; }
  .detail-body h3 { font-size: 22px; }
  .detail-actions .btn { flex: 1 1 100%; }
}

/* =====================================================================
   BUSCA E FILTROS
   ===================================================================== */
.busca-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 6px 4px 18px;
  max-width: 620px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.busca-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}
.busca-box svg { color: var(--text-muted); flex: 0 0 auto; }
.busca-box input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 15.5px;
  padding: 12px 0;
}
.busca-box input:focus { outline: none; }
.busca-box input::-webkit-search-cancel-button { display: none; }
.busca-clear {
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  background: transparent;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}
.busca-clear:hover { border-color: var(--accent); color: var(--accent); }
.busca-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.busca-controls .busca-box {
  flex: 1 1 420px;
  max-width: 700px;
  min-width: 240px;
}
.chips-tipo {
  flex: 0 1 auto;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 1100px) {
  .busca-controls { align-items: flex-start; flex-direction: column; gap: 12px; }
  .busca-controls .busca-box { width: 100%; max-width: none; flex: 0 1 auto; }
  .chips-tipo { margin: 0; }
}
.busca-info {
  color: var(--text-muted);
  font-size: 14px;
  margin: 14px 0 0;
}

/* fileiras do catalogo */
.fileira { padding-top: 32px; padding-bottom: 8px; }
.fileira .row { padding-bottom: 10px; }

/* =====================================================================
   MODAL DE DETALHES
   ===================================================================== */
.modal-wide {
  max-width: 660px;
  padding: 0;
  overflow: hidden;
}
.modal-wide .modal-close {
  z-index: 3;
  background: rgba(5, 11, 20, 0.72);
  border-color: var(--border-strong);
}
.detail-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a1220;
}
.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 28, 46, 0) 38%, rgba(17, 28, 46, 1) 100%);
}
.detail-body { padding: 6px 30px 28px; }
.detail-tipo {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.detail-body h3 {
  font-family: var(--font-display);
  font-size: 27px;
  margin: 8px 0 6px;
  letter-spacing: -0.01em;
}
.detail-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 16px;
}
.detail-sin {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 18px;
}
.detail-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
}
.detail-badges li {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 700px) {
  .modal-wide { max-height: 92vh; overflow-y: auto; }
  .detail-body { padding: 6px 20px 24px; }
  .detail-body h3 { font-size: 23px; }
}

/* Player de trailer no modal de detalhes */
.detail-trailer {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}
.detail-trailer[hidden], .trailer-volume[hidden] { display: none !important; }
.detail-trailer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.trailer-volume {
  position: absolute;
  z-index: 4;
  left: 16px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 999px;
  background: rgba(5, 11, 20, .88);
  color: #e5edf8;
  font-size: 12px;
  backdrop-filter: blur(10px);
}
.trailer-volume button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px;
}
.trailer-volume input[type="range"] { width: 96px; accent-color: var(--accent); cursor: pointer; }
@media (max-width: 700px) {
  .trailer-volume { left: 10px; bottom: 28px; padding: 7px 10px; }
  .trailer-volume input[type="range"] { width: 76px; }
}
