/* ===========================================================================
   vsl-player.css — player proprio da VSL, no lugar do VTurb.

   Os valores de estilo do botao sao os mesmos que estavam na configuracao do
   player VTurb (cor, sombra, raio, fonte, padding), para a pagina continuar
   igual ao que o trafego ja conhece.
   =========================================================================== */

.vsl-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* o video e vertical: 720x576 -> altura = 125% da largura, igual ao VTurb */
.vsl-stage {
  position: relative;
  width: 100%;
  padding-top: 125%;
  background: #000;
  overflow: hidden;
}

.vsl-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* ---- camada de "toque para ouvir" --------------------------------------- */
/* O video comeca mudo porque e a unica forma de o navegador deixar tocar     */
/* sozinho. Esta camada some no primeiro toque, que e quando o som entra.     */
.vsl-unmute {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  cursor: pointer;
  text-align: center;
  padding: 20px;
  z-index: 3;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.vsl-unmute[hidden] { display: none; }

.vsl-unmute__icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #00ed14;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 216, 11, .55);
}

.vsl-unmute__texto {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  max-width: 15rem;
}

/* ---- barra de progresso ------------------------------------------------- */
.vsl-barra {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: rgba(255, 255, 255, .18);
  z-index: 2;
}

.vsl-barra__cheia {
  height: 100%;
  width: 0;
  background: #3D85C6;
  transition: width .25s linear;
}

/* ---- botao de compra (aparece no minuto configurado) -------------------- */
.vsl-cta {
  display: none;
  margin: 18px auto 0;
  text-align: center;
}

.vsl-cta.vsl-cta--visivel {
  display: block;
  animation: vsl-surge .35s ease-out both;
}

@keyframes vsl-surge {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.vsl-cta a {
  display: inline-block;
  background: #00ed14;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 4px 8px 1px #00d80bbf;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 150%;
  transition: background .15s ease, transform .15s ease;
}

.vsl-cta a:hover {
  background: #06ff01;
  color: #FFFFFF;
}

.vsl-cta a:active { transform: scale(.98); }

@media (prefers-reduced-motion: reduce) {
  .vsl-cta.vsl-cta--visivel { animation: none; }
  .vsl-barra__cheia { transition: none; }
}
