/* Estrutura base da pagina VSL. */
:root {
  --white: #ffffff;
  --black: #111111;
  --red: #e01b1b;
  --red-dark: #b81212;
  --gray: #777777;
  --light-gray: #f4f4f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
}

.page {
  min-height: 100vh;
  background: var(--white);
}

/* Primeira dobra: headline, VSL vertical e CTA. */
.vsl-fold {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  background: var(--white);
}

.content {
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.headline {
  max-width: 900px;
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(20px, 3.36vw, 42px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.headline-alert {
  color: var(--red);
}

.subheadline {
  max-width: 760px;
  margin: 18px 0 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.35;
  color: #222222;
}

.video-shell {
  width: min(100%, 300px, calc((100vh - 340px) * 0.5625));
  min-width: 230px;
  aspect-ratio: 9 / 16;
  background: #0f0f0f;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.video-shell iframe,
.video-shell video,
.video-shell wistia-player,
.video-shell embed,
.video-shell object {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Placeholder da Wistia enquanto o web component ainda nao carregou. */
wistia-player[media-id="xq3qk3l1ro"]:not(:defined) {
  background: center / contain no-repeat
    url("https://fast.wistia.com/embed/medias/xq3qk3l1ro/swatch");
  display: block;
  filter: blur(5px);
  padding-top: 177.78%;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #d9d9d9;
  background: linear-gradient(180deg, #1c1c1c 0%, #050505 100%);
}

/* O botao fica invisivel ate o JS liberar no tempo definido. */
.cta-button {
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  margin-top: 18px;
  padding: 18px 26px;
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 240ms ease, transform 240ms ease, visibility 240ms ease;
}

.cta-button.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  animation: soft-pulse 1.35s ease-in-out infinite;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--red-dark);
}

@keyframes soft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(224, 27, 27, 0.34);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(224, 27, 27, 0);
    transform: scale(1.025);
  }
}

/* Segunda dobra: footer simples com disclaimer. */
.footer {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 18px;
  background: var(--light-gray);
}

.footer-inner {
  width: min(100%, 860px);
  text-align: center;
}

.footer-logo {
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #333333;
}

.disclaimer {
  margin: 0 auto;
  max-width: 780px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray);
}

@media (max-width: 520px) {
  .vsl-fold {
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .headline {
    font-size: clamp(19px, 6vw, 26px);
  }

  .subheadline {
    margin-top: 14px;
    margin-bottom: 18px;
  }

  .video-shell {
    width: min(100%, 280px, calc((100vh - 410px) * 0.5625));
    min-width: 210px;
  }

  .cta-button {
    width: min(100%, 320px);
    padding-right: 18px;
    padding-left: 18px;
  }
}
