*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg, #ffffff);
  color: var(--text, #111111);
  font-family: var(--font-body, 'Poppins', system-ui, sans-serif);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  background: var(--bar);
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 12px 16px;
  line-height: 1.45;
}
.topbar .hl { font-weight: 700; }

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 16px 40px;
}

.headline {
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 auto 14px;
  max-width: 900px;
  text-wrap: balance;
}
.headline { font-family: var(--font-head, inherit); }
.headline .hl, .sub .hl, .block .hl { color: var(--accent); }

/* Blocos extras abaixo do vídeo */
.blocks[hidden] { display: none; }
.blocks.show { animation: ctaIn 0.6s ease-out both; }
.block { max-width: 760px; margin: 44px auto 0; text-align: center; }
.block.left { text-align: left; }
.block h2 {
  font-family: var(--font-head, inherit);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  margin: 0 0 12px;
  text-wrap: balance;
}
.block-body { font-size: 17px; line-height: 1.65; }
.block-img img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 10px; }
.block-img figcaption { font-size: 14px; opacity: 0.7; margin-top: 8px; }
.block.cta-wrap { margin-top: 40px; }

.sub {
  text-align: center;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 500;
  margin: 0 auto 22px;
  opacity: 0.88;
  text-wrap: balance;
}

.video {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.45);
}
.video.vertical { max-width: 420px; }
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #bbb;
  text-align: center;
  font-size: 15px;
}

.cta-wrap {
  text-align: center;
  margin-top: 30px;
}
.cta-wrap[hidden] { display: none; }
.cta-wrap.show { animation: ctaIn 0.6s ease-out both; }

.cta {
  display: inline-block;
  width: 100%;
  max-width: 620px;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(17px, 2.4vw, 22px);
  letter-spacing: 0.01em;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 0 -2px rgba(0, 0, 0, 0.18), 0 14px 30px -10px rgba(0, 0, 0, 0.35);
  animation: pulse 2s ease-in-out infinite;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cta:hover { filter: brightness(1.07); transform: translateY(-1px); }
.cta:active { transform: translateY(2px); }

.cta-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0.7;
  font-size: 14px;
  margin: 14px 0 0;
}

.foot {
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  opacity: 0.6;
  font-size: 12px;
  text-align: center;
  padding: 22px 16px 30px;
  line-height: 1.6;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes ctaIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta, .cta-wrap.show { animation: none; }
}

@media (max-width: 600px) {
  .topbar { font-size: 13px; padding: 10px 12px; }
  .wrap { padding: 20px 12px 32px; }
  .video { border-radius: 6px; }
  .cta { padding: 18px 16px; }
}
