/* ============================================================
   CINEPIPOQUEIRA + OMNIPLAY — Folha de estilos principal
   ============================================================ */

/* ---------- Variáveis de identidade visual ---------- */
:root {
  --purple: #7c3aed;
  --purple-deep: #4c1d95;
  --purple-dark: #2e1065;
  --purple-glow: rgba(124, 58, 237, 0.45);
  --yellow: #ffc42e;
  --yellow-soft: #ffd868;
  --gold: #d4af37;
  --black: #0a0a10;
  --graphite: #14141c;
  --graphite-2: #1b1b26;
  --card: #191924;
  --card-border: rgba(124, 58, 237, 0.22);
  --white: #ffffff;
  --text: #eceaf4;
  --text-muted: #a7a4b8;
  --green-wa: #25d366;
  --green-wa-dark: #128c4a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --header-h: 74px;
  --container: 1160px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

section {
  position: relative;
  padding: 88px 0;
}

/* ---------- Tipografia de seção ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 196, 46, 0.09);
  border: 1px solid rgba(255, 196, 46, 0.28);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--white);
}

.section-title .hl {
  color: var(--yellow);
}

.section-sub {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn svg {
  flex-shrink: 0;
}

.btn--primary {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffb300 100%);
  color: #1c1400;
  box-shadow: 0 10px 30px rgba(255, 196, 46, 0.32);
}

.btn--primary:hover {
  box-shadow: 0 14px 38px rgba(255, 196, 46, 0.45);
}

.btn--ghost {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
  border-color: var(--purple);
  background: rgba(124, 58, 237, 0.16);
  box-shadow: 0 10px 30px var(--purple-glow);
}

.btn--purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 30px var(--purple-glow);
}

.btn--purple:hover {
  box-shadow: 0 14px 38px var(--purple-glow);
}

.btn--wa {
  background: linear-gradient(135deg, var(--green-wa) 0%, var(--green-wa-dark) 100%);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.28);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 0.92rem;
}

/* ============================================================
   CABEÇALHO
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header.is-scrolled {
  background: rgba(10, 10, 16, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__brand img {
  height: 48px;
  width: auto;
}

.header__brand .brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--white);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a:not(.btn) {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  opacity: 0.85;
  white-space: nowrap;
  transition: opacity 0.2s, color 0.2s;
}

.nav a:not(.btn):hover {
  opacity: 1;
  color: var(--yellow);
}

.nav .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid var(--card-border);
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.is-open .icon-menu {
  display: none;
}

.nav-toggle.is-open .icon-close {
  display: block;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 70px;
  background:
    linear-gradient(180deg, rgba(10, 10, 16, 0.72) 0%, rgba(10, 10, 16, 0.55) 45%, var(--black) 100%),
    url("../assets/img/bg-cinematic.jpg") center / cover no-repeat;
}

.hero__content {
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yellow);
  background: rgba(20, 20, 28, 0.65);
  border: 1px solid rgba(255, 196, 46, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2.15rem, 5.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 .hl {
  color: var(--yellow);
}

.hero__sub {
  margin-top: 18px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: #d5d2e4;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  margin-top: 38px;
  border-radius: var(--radius);
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: rgba(15, 12, 26, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 8px;
  max-width: 560px;
}

.hero__stats .stat {
  flex: 1 1 0;
  min-width: 150px;
  text-align: center;
  padding: 0 16px;
}

.hero__stats .stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__num {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.15;
}

.stat__label {
  display: block;
  font-size: 0.78rem;
  color: #c4c1d4;
  margin-top: 3px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 26px;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #cfccdf;
}

.hero__trust svg {
  width: 17px;
  height: 17px;
  fill: var(--yellow);
  flex-shrink: 0;
}

/* ============================================================
   BENEFÍCIOS
   ============================================================ */
.benefits {
  background: var(--black);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.b-card {
  background: linear-gradient(165deg, var(--card) 0%, var(--graphite) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.b-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.55);
  box-shadow: 0 18px 44px rgba(76, 29, 149, 0.35);
}

.b-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(76, 29, 149, 0.4));
  border: 1px solid rgba(124, 58, 237, 0.4);
  margin-bottom: 20px;
}

.b-card__icon svg {
  width: 27px;
  height: 27px;
  fill: var(--yellow);
}

.b-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.b-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTEÚDOS
   ============================================================ */
.contents {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(76, 29, 149, 0.28), transparent 70%),
    var(--graphite);
}

.contents__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.c-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--card);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.c-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/img/bg-cinematic.jpg") no-repeat;
  background-size: 340%;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.c-card:nth-child(1)::before { background-position: 8% 12%; }
.c-card:nth-child(2)::before { background-position: 85% 15%; }
.c-card:nth-child(3)::before { background-position: 50% 40%; }
.c-card:nth-child(4)::before { background-position: 90% 80%; }
.c-card:nth-child(5)::before { background-position: 15% 75%; }
.c-card:nth-child(6)::before { background-position: 55% 90%; }

.c-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 16, 0.15) 0%, rgba(10, 10, 16, 0.9) 78%);
}

.c-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(76, 29, 149, 0.4);
}

.c-card:hover::before {
  opacity: 0.75;
}

.c-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 196, 46, 0.14);
  border: 1px solid rgba(255, 196, 46, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.c-card__icon svg {
  width: 23px;
  height: 23px;
  fill: var(--yellow);
}

.c-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.c-card p {
  font-size: 0.88rem;
  color: #c4c1d4;
  margin: 8px 0 16px;
}

.c-card .link-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--yellow);
  transition: gap 0.2s ease;
}

.c-card .link-more:hover {
  gap: 11px;
}

.c-card .link-more svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* --- Em alta agora (títulos populares) --- */
[hidden] {
  display: none !important;
}

.trending {
  margin-bottom: 56px;
}

.trending__group + .trending__group {
  margin-top: 40px;
}

.trending__title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.trending__sub {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 6px 0 24px;
}

.trending__row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent;
}

.trending__row::-webkit-scrollbar {
  height: 8px;
}

.trending__row::-webkit-scrollbar-thumb {
  background: var(--purple-deep);
  border-radius: 99px;
}

.trending__row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
}

.poster {
  position: relative;
  flex: 0 0 152px;
  scroll-snap-align: start;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.poster:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 196, 46, 0.5);
  box-shadow: 0 14px 34px rgba(76, 29, 149, 0.45);
}

.poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.poster__tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #241a00;
  background: linear-gradient(135deg, var(--yellow), #ffb300);
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.poster figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 10px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(5, 5, 10, 0.92) 55%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Faixa de logos (canais / esportes) --- */
.logo-strip {
  margin-top: 56px;
}

.logo-strip h3 {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  animation: marquee 42s linear infinite;
  padding-block: 8px;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track img {
  height: 42px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(18%);
  transition: opacity 0.2s, filter 0.2s, transform 0.2s;
}

.marquee__track img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
}

.marquee--sports .marquee__track {
  animation-duration: 30s;
  animation-direction: reverse;
  gap: 64px;
}

.marquee--sports .marquee__track img {
  height: 58px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.strip-note {
  text-align: center;
  font-size: 0.74rem;
  color: #6f6c82;
  margin-top: 26px;
  max-width: 640px;
  margin-inline: auto;
}

/* ============================================================
   PLANOS
   ============================================================ */
.plans {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(76, 29, 149, 0.3), transparent 70%),
    var(--black);
}

.plans__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  max-width: 860px;
  margin: 0 auto 50px;
}

.perk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
  background: var(--graphite-2);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 8px 16px;
}

.perk svg {
  width: 15px;
  height: 15px;
  fill: var(--yellow);
  flex-shrink: 0;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--card) 0%, var(--graphite) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.p-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(76, 29, 149, 0.35);
}

.p-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}

.p-card__badge--popular {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: var(--white);
  box-shadow: 0 6px 18px var(--purple-glow);
}

.p-card__badge--best {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--gold) 100%);
  color: #241a00;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.p-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--white);
}

.p-card__period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.p-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--white);
}

.p-card__price .cur {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.p-card__price .val {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

/* Preço cheio riscado (ancoragem: o que custaria pagando mensal) */
.p-card__from {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.p-card__from s {
  color: #8b8799;
  text-decoration-thickness: 1.5px;
}

.p-card__from--none {
  visibility: hidden;
}

.p-card--featured .p-card__from {
  color: #cfc7e8;
}

.p-card--featured .p-card__from s {
  color: #a79ec4;
}

.p-card__permonth {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Selo de garantia logo abaixo do botão */
.p-card__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.p-card__guarantee svg {
  width: 15px;
  height: 15px;
  fill: var(--yellow);
  flex-shrink: 0;
}

.p-card--featured .p-card__guarantee {
  color: #d9d2f0;
}

.p-card--featured .p-card__permonth {
  color: #d9d2f0;
}

.p-card__save {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(255, 196, 46, 0.1);
  border: 1px solid rgba(255, 196, 46, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
}

.p-card__save--none {
  visibility: hidden;
}

.p-card ul {
  margin: 22px 0 26px;
  display: grid;
  gap: 11px;
  flex-grow: 1;
}

.p-card ul li {
  display: flex;
  gap: 10px;
  font-size: 0.87rem;
  color: #c9c6d8;
}

.p-card ul svg {
  width: 16px;
  height: 16px;
  fill: var(--purple);
  flex-shrink: 0;
  margin-top: 4px;
}

.p-card .btn {
  width: 100%;
}

/* Destaque: Plano Anual */
.p-card--featured {
  background: linear-gradient(170deg, #241640 0%, var(--purple-dark) 60%, #1a0f33 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 196, 46, 0.12), 0 18px 50px rgba(76, 29, 149, 0.5);
  transform: scale(1.045);
  z-index: 2;
}

.p-card--featured:hover {
  transform: scale(1.045) translateY(-6px);
  box-shadow: 0 0 0 1px rgba(255, 196, 46, 0.2), 0 24px 60px rgba(76, 29, 149, 0.65);
}

.p-card--featured ul svg {
  fill: var(--yellow);
}

.p-card--featured .p-card__price .val {
  color: var(--yellow);
}

.plans__trial {
  margin-top: 56px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(76, 29, 149, 0.2));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 38px 30px;
}

.plans__trial p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 22px;
}

.plans__trial strong {
  color: var(--yellow);
}

/* ============================================================
   DEMONSTRAÇÃO EM VÍDEO
   ============================================================ */
.demo {
  background:
    radial-gradient(ellipse 55% 50% at 20% 10%, rgba(76, 29, 149, 0.28), transparent 70%),
    var(--graphite);
}

.demo__player {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid #3a3a4a;
  background: #000;
  box-shadow: var(--shadow), 0 0 60px rgba(124, 58, 237, 0.25);
}

.demo__player video {
  display: block;
  width: 100%;
  max-height: 72vh;
  background: #000;
  cursor: pointer;
}

/* Botão "Assistir com som" sobreposto ao preview */
.demo__expand {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1c1400;
  background: linear-gradient(135deg, var(--yellow) 0%, #ffb300 100%);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.demo__expand:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 196, 46, 0.5);
}

.demo__expand svg {
  width: 20px;
  height: 20px;
  fill: #1c1400;
}

/* Selo "PRÉVIA" no canto */
.demo__live {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  background: rgba(10, 10, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  padding: 5px 12px;
  border-radius: 999px;
}

.demo__live::first-letter {
  color: #ff4d4d;
}

.demo__cta {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.how {
  background: var(--graphite);
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  background: linear-gradient(165deg, var(--card) 0%, var(--graphite-2) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 196, 46, 0.4);
}

.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #241a00;
  background: linear-gradient(135deg, var(--yellow), #ffb300);
  box-shadow: 0 8px 22px rgba(255, 196, 46, 0.3);
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.how__cta {
  text-align: center;
  margin-top: 46px;
}

/* ============================================================
   DISPOSITIVOS
   ============================================================ */
.devices {
  background:
    radial-gradient(ellipse 55% 45% at 80% 20%, rgba(76, 29, 149, 0.3), transparent 70%),
    var(--black);
}

.devices__stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 34px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.device {
  text-align: center;
}

.device__label {
  margin-top: 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
}

.device__frame {
  position: relative;
  border: 3px solid #3a3a4a;
  background: #000;
  box-shadow: var(--shadow), 0 0 40px rgba(124, 58, 237, 0.18);
  overflow: hidden;
}

.device__screen {
  position: absolute;
  inset: 0;
  background: #05050a;
  overflow: hidden;
}

.device__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* brilho de tela + leve escurecimento nas bordas para dar realismo */
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, transparent 32%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 62%, rgba(0, 0, 0, 0.45) 100%);
}

.device__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device--tv .device__screen img,
.device--laptop .device__screen img {
  object-position: center;
}

.device--tablet .device__screen img,
.device--phone .device__screen img {
  /* foca nas capas (lado direito da tela) ao cortar em retrato */
  object-position: 72% center;
}

.device--tv .device__frame {
  width: 380px;
  height: 218px;
  border-radius: 10px;
  border-width: 5px;
}

.device--tv .device__stand {
  width: 120px;
  height: 9px;
  margin: 8px auto 0;
  background: #2c2c38;
  border-radius: 0 0 8px 8px;
}

.device--laptop .device__frame {
  width: 260px;
  height: 160px;
  border-radius: 10px 10px 0 0;
}

.device--laptop .device__base {
  width: 300px;
  height: 12px;
  margin: 0 auto;
  background: linear-gradient(180deg, #3a3a4a, #23232e);
  border-radius: 0 0 14px 14px;
}

.device--tablet .device__frame {
  width: 130px;
  height: 182px;
  border-radius: 14px;
}

.device--phone .device__frame {
  width: 92px;
  height: 186px;
  border-radius: 18px;
}

.devices__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
  margin-bottom: 26px;
}

.devices__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.devices__note svg {
  width: 15px;
  height: 15px;
  fill: var(--yellow);
  vertical-align: -2px;
  margin-right: 6px;
}

/* ============================================================
   DESTAQUE COMERCIAL
   ============================================================ */
.promo {
  background:
    linear-gradient(120deg, rgba(46, 16, 101, 0.92) 0%, rgba(76, 29, 149, 0.88) 50%, rgba(46, 16, 101, 0.94) 100%),
    url("../assets/img/bg-cinematic.jpg") center / cover no-repeat;
  padding: 96px 0;
}

.promo__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.promo h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.promo h2 .hl {
  color: var(--yellow);
}

.promo p {
  margin: 18px auto 32px;
  font-size: 1.06rem;
  color: #e2ddf2;
  max-width: 560px;
}

/* ============================================================
   DEPOIMENTOS (oculta até haver depoimentos reais no config.js)
   ============================================================ */
.testimonials {
  display: none;
  background: var(--graphite);
}

.testimonials.has-items {
  display: block;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.t-card {
  background: linear-gradient(165deg, var(--card) 0%, var(--graphite-2) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.t-card__quote {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
}

.t-card__author {
  margin-top: 18px;
  font-weight: 700;
  color: var(--yellow);
  font-size: 0.9rem;
}

.t-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--black);
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: linear-gradient(165deg, var(--card) 0%, var(--graphite) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(124, 58, 237, 0.55);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.faq-item__q svg {
  width: 20px;
  height: 20px;
  fill: var(--yellow);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__q svg {
  transform: rotate(180deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item__a p {
  padding: 0 24px 22px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ============================================================
   CHAMADA FINAL
   ============================================================ */
.final-cta {
  background:
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(76, 29, 149, 0.45), transparent 75%),
    var(--graphite);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--white);
}

.final-cta h2 .hl {
  color: var(--yellow);
}

.final-cta p {
  margin: 16px auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer {
  background: #07070c;
  border-top: 1px solid rgba(124, 58, 237, 0.18);
  padding: 60px 0 30px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__brand img.f-logo-cine {
  height: 74px;
  width: auto;
}

.footer__brand p {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer__links li + li {
  margin-top: 11px;
}

.footer__links a {
  font-size: 0.89rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--graphite-2);
  border: 1px solid var(--card-border);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.footer__social a:hover {
  background: var(--purple-deep);
  border-color: var(--purple);
  transform: translateY(-3px);
}

.footer__social svg {
  width: 19px;
  height: 19px;
  fill: var(--text);
}

.footer__contact {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer__contact li {
  margin-top: 11px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  fill: var(--yellow);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__bottom {
  padding-top: 26px;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: #6f6c82;
}

.footer__bottom p + p {
  margin-top: 8px;
}

/* ============================================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-wa), var(--green-wa-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================================
   MODAL (detalhes de categorias)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.8);
  backdrop-filter: blur(6px);
}

.modal__box {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: linear-gradient(170deg, #1e1e2b 0%, var(--graphite) 100%);
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--radius);
  padding: 38px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: modal-in 0.28s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal__close:hover {
  background: rgba(124, 58, 237, 0.3);
}

.modal__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
}

.modal__box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  padding-right: 40px;
}

.modal__box .modal__desc {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modal__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
  margin-top: 24px;
  padding: 20px;
  background: rgba(10, 10, 16, 0.5);
  border-radius: var(--radius-sm);
}

.modal__logos img {
  height: 34px;
  width: auto;
}

.modal__note {
  margin-top: 16px;
  font-size: 0.74rem;
  color: #6f6c82;
}

.modal__box .btn {
  margin-top: 26px;
  width: 100%;
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA (scroll reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .wa-float { animation: none; }
}

/* ============================================================
   PÁGINAS LEGAIS
   ============================================================ */
.legal-page {
  padding: calc(var(--header-h) + 50px) 0 80px;
  min-height: 70vh;
}

.legal-page .container {
  max-width: 820px;
}

.legal-page h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 36px;
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yellow);
  margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 22px;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

/* Entre o menu completo e o hambúrguer o espaço aperta:
   mostra só o logo (sem o nome) e aproxima os itens do menu. */
@media (min-width: 769px) and (max-width: 1180px) {
  .header__brand .brand-name { display: none; }
  .nav { gap: 20px; }
  .nav a:not(.btn) { font-size: 0.88rem; }
  .nav .btn { padding: 9px 16px; font-size: 0.85rem; }
}

@media (max-width: 1024px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .plans__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .p-card--featured { transform: none; }
  .p-card--featured:hover { transform: translateY(-6px); }
  .contents__grid { grid-template-columns: repeat(2, 1fr); }
  .device--tv .device__frame { width: 320px; height: 184px; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }

  section { padding: 66px 0; }

  /* No celular usa a versão leve do fundo (48 KB em vez de 144 KB).
     Todos os pontos que usam a arte apontam para o mesmo arquivo,
     então o aparelho baixa uma imagem só. */
  .hero {
    background-image:
      linear-gradient(180deg, rgba(10, 10, 16, 0.72) 0%, rgba(10, 10, 16, 0.55) 45%, var(--black) 100%),
      url("../assets/img/bg-cinematic-mobile.jpg");
  }

  .c-card::before {
    background-image: url("../assets/img/bg-cinematic-mobile.jpg");
  }

  .promo {
    background-image:
      linear-gradient(120deg, rgba(46, 16, 101, 0.92) 0%, rgba(76, 29, 149, 0.88) 50%, rgba(46, 16, 101, 0.94) 100%),
      url("../assets/img/bg-cinematic-mobile.jpg");
  }

  .header__brand img { height: 40px; }
  .header__brand .brand-name { font-size: 0.95rem; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--card-border);
    padding: 12px 6vw 24px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a:not(.btn) {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1rem;
  }

  .nav .btn {
    margin-top: 18px;
    justify-content: center;
  }

  .hero { min-height: auto; }

  .hero__actions .btn {
    width: 100%;
  }

  .how__grid,
  .testimonials__grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }

  .devices__stage { gap: 22px; }
  .device--tv .device__frame { width: min(340px, 88vw); height: auto; aspect-ratio: 16 / 9; }
  .device--laptop { display: none; }
}

@media (max-width: 560px) {
  .benefits__grid,
  .contents__grid,
  .plans__grid { grid-template-columns: 1fr; }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 16px 4px;
  }

  .hero__stats .stat {
    min-width: 0;
    padding: 0 10px;
  }

  .stat__num { font-size: 1.12rem; }
  .stat__label { font-size: 0.68rem; }

  .poster { flex-basis: 128px; }

  /* Mantém o Plano Anual em evidência no topo da lista no celular */
  .p-card--featured { order: -1; }

  .marquee__track { gap: 38px; }
  .marquee__track img { height: 34px; }
  .marquee--sports .marquee__track img { height: 46px; }

  .device--tablet, .device--phone { flex: 0 0 auto; }

  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 27px; height: 27px; }

  .modal__box { padding: 30px 22px; }

  .plans__trial { padding: 30px 20px; }

  .plans__trial .btn { width: 100%; }

  .promo .btn, .final-cta .btn { width: 100%; max-width: 380px; }
}
