:root {
  --bg: #0b1020;
  --panel: #111827;
  --ink: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --cta: #f59e0b;
  --cta-ink: #111827;
  --border: #1f2937;
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.45);

  /* CONTROLES DO EFEITO DE PULSAÇÃO */
  --pulse-speed: 1s; /* velocidade da animação */
  --pulse-radius: 26px; /* “tamanho” do glow */
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  text-align: center;
  background: white;
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.65;
  color: #111827;
}
a {
  color: var(--accent);
}
.wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 14px;
}

/* HERO */
.hero {
  position: relative;
  background: white;
}
.hero-inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 28px 14px 22px;
}
.adv {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cbd5e1;
  opacity: 0.9;
}
h1 {
  font-size: 28px;
  line-height: 1.2;
  margin: 10px 0 6px;
}
.subq {
  font-size: 18px;
  color: #cbd5e1;
  margin: 0 0 10px;
  font-weight: 700;
}

/* INTRO CAIXA */
.intro {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-top: 18px;
  color: black;
}
.intro p {
  margin: 12px 0;
}

.text-cta a {
  font-weight: 800;
  text-decoration: underline;
  color: white;
  background: red;
  padding: 10px;
  border-radius: 10px;
}

/* VIDEO POSTER */
.poster {
  margin: 16px 0;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);

  /* animação multicolor */
  animation: pulsePosterMulti var(--pulse-speed) infinite ease-in-out;
}
.poster img {
  width: 100%;
  height: auto;
  display: block;
}

/* impede ícones extras de extensões/temas */
.poster::before,
.poster::after {
  content: none !important;
  display: none !important;
}

/* link clicável cobrindo toda a área */
.poster .hit {
  position: absolute;
  inset: 0;
  text-indent: -9999px;
  overflow: hidden;
}

.playbar {
  background: red;
  color: white;
  text-decoration: underline;
  text-align: center;
  font-weight: 800;
  padding: 12px;
  letter-spacing: 0.02em;
}
.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.play-icon:before {
  content: "";
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

/* SECTION TITLE */
h2 {
  font-size: 22px;
  margin: 18px 0 10px;
}

/* CARDS */
.grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 760px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img {
  width: 100%;
  height: auto;
  display: block;
}
.card-body {
  padding: 12px;
}
.card p {
  margin: 8px 0;
}
.watch {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 800;
}

/* FOOTER */
footer {
  margin: 22px 0 30px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
footer a {
  color: var(--ink);
  text-decoration: underline;
}
.legal {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
  border: 0;
}

/* CENTRALIZAÇÃO EM DESKTOP */
@media (min-width: 900px) {
  .hero-inner {
    text-align: center;
  }
  .hero-inner h1,
  .hero-inner .subq {
    text-align: center;
  }
  .intro {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

/* ANIMAÇÃO DE BORDA MULTICOLOR */
@keyframes pulsePosterMulti {
  0% {
    box-shadow: 0 0 0 0 rgba(246, 59, 59, 0.919);
    border-color: rgb(254, 28, 7);
  }
  25% {
    box-shadow: 0 0 var(--pulse-radius) 4px rgba(232, 25, 25, 0.95); /* azul */
    border-color: red;
  }
  50% {
    box-shadow: 0 0 var(--pulse-radius) 4px rgba(248, 56, 56, 0.95); /* ciano */
    border-color: red;
  }
  75% {
    box-shadow: 0 0 var(--pulse-radius) 4px rgba(235, 23, 23, 0.95); /* lilás */
    border-color: #e91919;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    border-color: rgba(249, 14, 14, 0.942);
  }
}
