/* Versão B do teste A/B: fundo preto + VSL. Até o minuto da oferta, o resto da página não existe (display: none). */
.vsl { display: none; }
html[data-ab="b"] .vsl, html[data-ab="c"] .vsl { display: block; }
html.js[data-ab="b"]:not(.liberado) main > :not(.vsl),
html.js[data-ab="b"]:not(.liberado) .dock, html.js[data-ab="b"]:not(.liberado) .consent { display: none !important; }

.vsl { position: relative; padding: max(12px, env(safe-area-inset-top)) 12px 28px; background: #000; }
.vsl__quadro { position: relative; width: min(100%, calc((100svh - 40px) * 9 / 16)); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; }
.vsl__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; cursor: pointer; }

/* "Seu vídeo já começou · toque para ouvir" (some quando o som liga) */
.vsl__som { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; width: min(78%, 300px);
  padding: 22px 18px; border: 0; border-radius: 20px; background: rgba(20, 24, 19, .86); color: #fff; font: 700 19px/1.2 var(--fonte); letter-spacing: -.02em;
  text-align: center; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-tap-highlight-color: transparent; }
.vsl__som small { font: 500 15px/1.25 var(--fonte); color: #c9d1c6; }
.vsl__som svg { width: 46px; height: 46px; color: var(--gramado, #8bd450); }
.vsl__som:active { transform: translate(-50%, -50%) scale(.97); }
.vsl--som .vsl__som { display: none; }
.vsl--parado .vsl__som small::before { content: "Toque para assistir · "; }

.vsl__pausa { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(0, 0, 0, .35); cursor: pointer; }
.vsl__pausa[hidden] { display: none; }
.vsl:not(.vsl--som) .vsl__pausa { display: none; }
.vsl__pausa svg { width: 76px; height: 76px; color: #fff; }

.vsl__barra { position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: rgba(255, 255, 255, .18); pointer-events: none; }
.vsl__barra i { display: block; height: 100%; background: var(--gramado, #8bd450); transform: scaleX(0); transform-origin: left; }

/* botão de compra embaixo do vídeo: aparece junto com a página */
.vsl__cta { display: none; flex-direction: column; align-items: center; gap: 12px; margin: 22px auto 0; width: min(100%, 424px); text-align: center; }
.vsl--liberado .vsl__cta { display: flex; animation: vsl-entra .6s var(--ease, ease-out) both; }
.vsl__cta .borda-viva { margin-top: 0; }
.vsl__cta p { margin: 0; font: 500 16px/1.35 var(--fonte); color: #c9d1c6; }
.vsl__cta p b { color: #fff; }
.vsl--erro .vsl__quadro { display: none; }
/* ThumbSniper: tela de pausa antes da oferta. Tamanhos em cqw (largura do vídeo): ocupa a tela em qualquer aparelho */
.vsl__quadro { container-type: inline-size; }
.vsl__sniper { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4.5cqw; padding: 8cqw 6cqw;
  background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); text-align: center; animation: vsl-aparece .25s var(--ease, ease-out) both; }
.vsl__sniper[hidden] { display: none; }
.vsl__alerta { width: 30cqw; height: auto; filter: drop-shadow(0 0 4cqw rgba(255, 59, 48, .55)); animation: vsl-pisca .9s steps(1) infinite, vsl-mexe .9s ease-in-out infinite; }
.vsl__sniper-t { margin: 1cqw 0 0; font: 700 9.6cqw/1.1 var(--monu, var(--fonte)); text-transform: uppercase; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.vsl__sniper-s { margin: 0; max-width: 20ch; font: 600 6.4cqw/1.28 var(--fonte); color: #e4e9e1; text-wrap: balance; }
.vsl__continua { display: inline-flex; align-items: center; justify-content: center; gap: 2.6cqw; width: 92%; margin-top: 3cqw; min-height: 18cqw; padding: 0 4cqw; white-space: nowrap; border: 0; border-radius: 999px;
  background: var(--gramado, #62E63C); color: #0b1a05; font: 700 6.6cqw/1 var(--fonte); letter-spacing: -.02em; cursor: pointer; animation: vsl-pulsa 1.4s ease-in-out infinite; }
.vsl__continua svg { width: 6.6cqw; height: 6.6cqw; flex: none; }
.vsl__continua:active { transform: scale(.97); }
.vsl__inicio { border: 0; background: none; padding: 2cqw; color: #b4bdb1; font: 500 4.6cqw/1 var(--fonte); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
/* pisca (some e volta) + balança */
@keyframes vsl-pisca { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }
@keyframes vsl-mexe { 0%, 100% { transform: rotate(0) scale(1); } 15% { transform: rotate(-10deg) scale(1.08); } 30% { transform: rotate(9deg) scale(1.08); } 45% { transform: rotate(-5deg); } 60% { transform: rotate(0); } }
@keyframes vsl-pulsa { 0%, 100% { box-shadow: 0 0 0 0 rgba(98, 230, 60, .6); transform: scale(1); } 50% { transform: scale(1.04); } 70% { box-shadow: 0 0 0 5cqw rgba(98, 230, 60, 0); } }
@keyframes vsl-aparece { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vsl__alerta, .vsl__continua { animation: none; } }
@keyframes vsl-entra { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .vsl--liberado .vsl__cta { animation: none; } }
