/* =============================================================================
   Vídeo narrado — palco de cinema (sempre escuro, independe do tema do painel)
   Tamanhos em cqw: tudo escala junto com o palco (TV da sala, notebook, celular).
   ============================================================================= */
.vd {
  position: fixed; inset: 0; z-index: 10000; display: grid; grid-template-rows: auto 1fr auto;
  background: radial-gradient(120% 90% at 50% 0%, #1b2a44 0%, #0b1220 60%, #070b14 100%); color: #eef3fb;
  font-family: "Barlow", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.vd button { font-family: inherit; }
.vd-topo { display: flex; align-items: center; gap: 14px; padding: 14px 22px 6px; min-height: 52px; }
.vd-topo-it { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.vd-topo-it b { font: 700 1rem "Barlow Condensed", "Barlow", sans-serif; letter-spacing: .06em; background: #ffd23f; color: #161d2b; padding: 3px 9px; border-radius: 6px; }
.vd-topo-it span { color: #c9d5e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-topo-etapa { margin-left: auto; color: #8ea2bd; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }

.vd-palco-caixa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 4px 22px; min-height: 0; }
.vd-palco {
  position: relative; container-type: inline-size; aspect-ratio: 16 / 9;
  width: min(100%, calc((100vh - 230px) * 16 / 9)); border-radius: 22px; overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 4cqw 4cqw,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 4cqw 4cqw,
    linear-gradient(180deg, #1a2740 0%, #121c2f 70%, #0e1626 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.06);
}
.sem-legenda .vd-palco { width: min(100%, calc((100vh - 150px) * 16 / 9)); }

/* Legenda: palavra a palavra, acompanhando a voz */
.vd-legenda { width: min(100%, calc((100vh - 230px) * 16 / 9)); display: flex; gap: 14px; align-items: flex-start; min-height: 64px; }
.sem-legenda .vd-legenda { display: none; }
.vd-leg-chip { flex: none; margin-top: 6px; font: 700 .72rem "Barlow", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 99px; background: #24344f; color: #b9c8dc; }
.vd-leg-chip.t-passo, .vd-leg-chip.t-epis { background: #0f3d26; color: #6ee7a0; }
.vd-leg-chip.t-proibido { background: #4a1616; color: #ff9b9b; }
.vd-leg-chip.t-atencao { background: #4a3305; color: #ffd27a; }
.vd-leg-chip.t-comparar { background: linear-gradient(90deg, #0f3d26 50%, #4a1616 50%); color: #fff; }
.vd-leg-texto { font-size: clamp(17px, 1.9vw, 30px); line-height: 1.35; font-weight: 500; text-wrap: pretty; }
.vd-leg-texto span { color: rgba(238, 243, 251, .38); transition: color .18s; }
.vd-leg-texto span.dita { color: #fff; }

/* Controles */
.vd-controles { display: flex; align-items: center; gap: 8px; padding: 10px 18px 16px; }
.vd-bt { height: 40px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-size: 1rem; cursor: pointer; }
.vd-bt:hover { background: rgba(255,255,255,.16); }
.vd-bt:focus-visible, .vd-sel-voz:focus-visible { outline: 2px solid #ffd23f; outline-offset: 2px; }
.vd-bt.vd-play { background: #ffd23f; color: #161d2b; min-width: 52px; font-weight: 800; }
.vd-bt.desligado { opacity: .45; text-decoration: line-through; }
.vd-bt.vd-fechar { background: #b42323; }
.vd-sel-voz { height: 40px; max-width: 190px; border-radius: 10px; border: 0; background: rgba(255,255,255,.08); color: #fff; padding: 0 8px; }
.vd-sel-voz option { color: #111; }
.vd-barra { flex: 1; display: flex; gap: 3px; min-width: 80px; }
.vd-barra i { flex: 1; height: 8px; border-radius: 3px; background: rgba(255,255,255,.14); cursor: pointer; transition: transform .15s; }
.vd-barra i:hover { transform: scaleY(1.6); }
.vd-barra i.t-proibido { background: rgba(239, 68, 68, .35); } .vd-barra i.t-atencao { background: rgba(245, 158, 11, .35); }
.vd-barra i.t-comparar { background: linear-gradient(90deg, rgba(34,197,94,.4) 50%, rgba(239,68,68,.4) 50%); }
.vd-barra i.feito { background: #5aa3ff; } .vd-barra i.feito.t-proibido { background: #ef4444; } .vd-barra i.feito.t-atencao { background: #f59e0b; }
.vd-barra i.feito.t-comparar { background: linear-gradient(90deg, #22c55e 50%, #ef4444 50%); }
.vd-barra i.atual { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.vd-contador { color: #9db0c8; font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; font-size: .9rem; }

/* Cenas */
.vd-cena { position: absolute; inset: 0; opacity: 0; transform: translateX(3%) scale(.99); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.vd-cena.entrou { opacity: 1; transform: none; }
.vd-cena.saindo { opacity: 0; transform: translateX(-3%) scale(.99); }
.vd.pausado .vd-cena * { animation-play-state: paused !important; }

.vd-selo { position: absolute; top: 3cqw; left: 3cqw; z-index: 5; font: 800 1.45cqw "Barlow", sans-serif; letter-spacing: .1em; text-transform: uppercase;
  padding: .7cqw 1.3cqw; border-radius: 99px; background: #24344f; color: #dbe6f5; animation: vd-pop .5s cubic-bezier(.3,1.6,.5,1) both .15s; }
.vd-selo.ok { background: #16a34a; color: #fff; } .vd-selo.erro { background: #dc2626; color: #fff; } .vd-selo.alerta { background: #f59e0b; color: #241500; }

/* Ícones e operador */
.vd-ic { position: absolute; width: calc(var(--s, 1) * 15cqw); aspect-ratio: 1; }
.vd-ic svg, .vd-op svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 1.2cqw 1.4cqw rgba(0,0,0,.35)); }
.vd-ic.ic-rebocador, .vd-ic.ic-prateleira, .vd-ic.ic-empilhadeira { aspect-ratio: 140 / 120; width: calc(var(--s, 1) * 19cqw); }
.vd-ic.ic-linha, .vd-ic.ic-area { aspect-ratio: 160 / 120; width: calc(var(--s, 1) * 22cqw); }
.vd-ic.ic-tl { aspect-ratio: 120 / 160; }
.vd-op { position: absolute; bottom: 13%; height: 64%; aspect-ratio: 120 / 230; animation: vd-respira 3.2s ease-in-out infinite; }
.vd-op.esq { left: 9%; } .vd-op.centro { left: 50%; translate: -50% 0; }
.vd-op .epi { opacity: 0; transform: translateY(-8px); transition: opacity .4s ease, transform .4s cubic-bezier(.3,1.5,.5,1); }
.vd-op.veste-tudo .epi, .vd-op.veste-oculos .epi-oculos, .vd-op.veste-protetor .epi-protetor, .vd-op.veste-luva .epi-luva,
.vd-op.veste-mangote .epi-mangote, .vd-op.veste-botina .epi-botina, .vd-op.veste-camiseta .epi-camiseta, .vd-op.veste-capacete .epi-capacete { opacity: 1; transform: none; }
.vd-op .op-braco-d { transform-origin: 94px 88px; } .vd-op .op-braco-e { transform-origin: 26px 88px; }
.vd-op.pegando .op-braco-d { animation: vd-alcancar 4s ease-in-out infinite; }
.vd-op.colocando .op-braco-d { animation: vd-entregar 4s ease-in-out infinite; }
.vd-op.apontando .op-braco-d { animation: vd-apontar 3s ease-in-out infinite; }
.vd-op.escrevendo .op-braco-d { animation: vd-escrever 1.4s ease-in-out infinite; }
.vd-op.chamando .op-braco-d { transform: rotate(-150deg); }
.vd-op.acenando .op-braco-d { animation: vd-acenar 1.2s ease-in-out infinite; }
.vd-op.olhando .op-cabeca { animation: vd-olhar 4s ease-in-out infinite; transform-origin: 60px 70px; }
.vd-op.pronto { animation: vd-pulo .6s ease-out 1, vd-respira 3.2s ease-in-out .6s infinite; }

.vd-ilus { position: absolute; inset: 0; }
.vd-chao { position: absolute; left: 0; right: 0; bottom: 0; height: 15%;
  background: linear-gradient(180deg, #2b3a52 0%, #1b263a 100%); border-top: .35cqw solid #3a4b66; }
.vd-chao::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: .9cqw;
  background: repeating-linear-gradient(135deg, #f2b705 0 1.4cqw, #1b263a 1.4cqw 2.8cqw); opacity: .75; }
.vd-ilus.compacta { --s: .55; }
.vd-ilus.compacta .vd-op { height: 70%; }

/* destacar (padrão) */
.vd-objetos { position: absolute; left: 34%; right: 4%; bottom: 15%; height: 60%; display: flex; align-items: flex-end; justify-content: center; gap: 2cqw; }
.vd-objetos .vd-ic { position: relative; animation: vd-pop .6s cubic-bezier(.3,1.6,.5,1) both, vd-flutua 3.4s ease-in-out infinite .6s; }
.vd-objetos .o1 { animation-delay: .25s, .85s; } .vd-objetos .o2 { animation-delay: .5s, 1.1s; }
.compacta .vd-objetos { left: 36%; }

/* conduzir */
.acao-conduzir .destino { right: 3%; bottom: 13%; }
.vd-comboio { position: absolute; bottom: 12%; left: 0; display: flex; align-items: flex-end; gap: .6cqw; flex-direction: row-reverse; animation: vd-conduzir 5s cubic-bezier(.45,.05,.4,1) infinite; }
.vd-comboio .vd-ic { position: relative; }
.vd-comboio .reboque { width: calc(var(--s, 1) * 12cqw); }
.vd-rastro { position: absolute; right: 100%; bottom: 30%; width: 10cqw; height: .5cqw; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4)); border-radius: 9px; }

/* engatar / desengatar */
.acao-engatar .parte-a, .acao-desengatar .parte-a { left: 14%; bottom: 13%; }
.acao-engatar .parte-b { bottom: 13%; animation: vd-engatar 4s cubic-bezier(.5,0,.3,1) infinite; }
.acao-desengatar .parte-b { bottom: 13%; animation: vd-desengatar 4s cubic-bezier(.5,0,.3,1) infinite; }
.vd-clique { position: absolute; left: 33%; bottom: 40%; font: 800 2.6cqw "Barlow Condensed", sans-serif; color: #ffd23f; opacity: 0; animation: vd-clique 4s infinite; }

/* pegar / colocar / descartar */
.acao-pegar .origem { right: 5%; bottom: 13%; }
.acao-pegar .ao-lado { left: 32%; bottom: 13%; width: calc(var(--s, 1) * 11cqw); opacity: .9; }
.acao-pegar .movel, .acao-colocar .movel, .acao-descartar .movel { width: calc(var(--s, 1) * 9cqw); z-index: 3; }
.acao-pegar .movel { animation: vd-pegar 4s ease-in-out infinite; }
.acao-colocar .destino, .acao-descartar .destino { right: 8%; bottom: 13%; }
.acao-colocar .movel, .acao-descartar .movel { animation: vd-colocar 4s ease-in-out infinite; }

/* inspecionar */
.acao-inspecionar .foco, .acao-escanear .foco, .acao-escrever .foco, .acao-apertar .foco, .acao-cortar .foco, .acao-aguardar .foco { left: 52%; bottom: 20%; width: calc(var(--s, 1) * 20cqw); }
.acao-inspecionar .lupa { left: 52%; bottom: 30%; width: calc(var(--s, 1) * 11cqw); animation: vd-lupa 3.6s ease-in-out infinite; z-index: 3; }
.carimbo { left: 66%; bottom: 52%; width: calc(var(--s, 1) * 7cqw); animation: vd-carimbo 3.6s ease-in-out infinite; z-index: 4; }

/* escrever */
.acao-escrever .papel .lin { animation: vd-linha 3.6s ease-in-out infinite; }
.acao-escrever .papel .lin:nth-of-type(2) { animation-delay: .5s; } .acao-escrever .papel .lin:nth-of-type(3) { animation-delay: 1s; }
.acao-escrever .caneta { left: 58%; bottom: 40%; width: calc(var(--s, 1) * 8cqw); animation: vd-caneta 1.2s ease-in-out infinite; z-index: 3; }

/* escanear */
.acao-escanear .scanner { left: 28%; bottom: 34%; width: calc(var(--s, 1) * 9cqw); transform: rotate(60deg); }
.vd-feixe { position: absolute; left: 36%; bottom: 40%; width: 18%; height: 1cqw; background: linear-gradient(90deg, rgba(255,60,60,.9), rgba(255,60,60,0)); border-radius: 9px; transform-origin: left center; animation: vd-feixe 1.8s ease-in-out infinite; }
.acao-escanear .carimbo { animation-duration: 1.8s; }

/* apertar */
.acao-apertar .dedo { left: 60%; bottom: 46%; width: calc(var(--s, 1) * 9cqw); animation: vd-apertar 2.4s ease-in-out infinite; z-index: 3; transform: rotate(180deg); }
.acao-apertar .luz { animation: vd-luz 2.4s ease-in-out infinite; }

/* cortar */
.vd-corte { position: absolute; left: 54%; bottom: 36%; height: .5cqw; width: 0; border-top: .5cqw dashed #ff5d5d; animation: vd-corte 3s ease-in-out infinite; }
.acao-cortar .lamina { left: 52%; bottom: 34%; width: calc(var(--s, 1) * 9cqw); animation: vd-lamina 3s ease-in-out infinite; z-index: 3; }

/* chamar */
.acao-chamar .radio { left: 25%; bottom: 58%; width: calc(var(--s, 1) * 6cqw); z-index: 3; }
.acao-chamar .ondas { left: 30%; bottom: 52%; width: calc(var(--s, 1) * 10cqw); }
.acao-chamar .ondas path { animation: vd-onda 1.6s ease-out infinite; } .acao-chamar .ondas .o2 { animation-delay: .25s; } .acao-chamar .ondas .o3 { animation-delay: .5s; }
.acao-chamar .tl { right: 10%; bottom: 13%; width: calc(var(--s, 1) * 13cqw); animation: vd-pop .6s cubic-bezier(.3,1.6,.5,1) both 1s, vd-flutua 3s ease-in-out infinite 1.6s; }

/* aguardar / organizar */
.acao-aguardar .ponteiro { transform-origin: 60px 62px; animation: vd-gira 2.5s linear infinite; }
.acao-aguardar .extra { right: 5%; bottom: 13%; }
.vd-arrumar { position: absolute; left: 34%; right: 6%; bottom: 15%; height: 40%; display: flex; align-items: flex-end; justify-content: center; gap: 1.5cqw; }
.vd-arrumar .vd-ic { position: relative; width: calc(var(--s, 1) * 12cqw); animation: vd-arrumar 4s ease-in-out infinite; }
.vd-arrumar .a1 { --rx: 18deg; --ty: -6cqw; } .vd-arrumar .a2 { --rx: -24deg; --ty: -3cqw; } .vd-arrumar .a0 { --rx: -14deg; --ty: -8cqw; }
.acao-organizar .brilho { right: 4%; top: 12%; width: calc(var(--s, 1) * 8cqw); animation: vd-pop .5s both 2s, vd-flutua 3s ease-in-out infinite 2.5s; }

/* vestir */
.acao-vestir .vd-op.centro { height: 70%; }
.vd-epis-voando .voa { width: calc(var(--s, 1) * 7cqw); animation: vd-voar 2.2s ease-in both; }
.vd-epis-voando .v0 { left: 8%; top: 8%; } .vd-epis-voando .v1 { right: 8%; top: 14%; animation-delay: .3s; }
.vd-epis-voando .v2 { left: 12%; bottom: 22%; animation-delay: .6s; } .vd-epis-voando .v3 { right: 12%; bottom: 26%; animation-delay: .9s; }

/* tons */
.tom-proibido { background: radial-gradient(70% 70% at 50% 50%, rgba(239,68,68,.12), transparent 70%); }
.tom-proibido .vd-op, .tom-proibido .vd-ic:not(.carimbo-proibido) { filter: saturate(.55) brightness(.85); }
.carimbo-proibido { left: 50%; top: 50%; width: calc(var(--s, 1) * 34cqw); translate: -50% -55%; z-index: 6; opacity: .92; animation: vd-carimbar .7s cubic-bezier(.3,1.6,.5,1) both .5s; }
.carimbo-xis { right: 6%; top: 8%; width: calc(var(--s, 1) * 12cqw); z-index: 6; animation: vd-carimbar .6s cubic-bezier(.3,1.6,.5,1) both .4s; }
.tom-atencao { background: radial-gradient(70% 70% at 50% 50%, rgba(245,158,11,.12), transparent 70%); }

/* passo com foto */
.vd-passo { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; }
.vd-passo.com-foto { grid-template-columns: 1.25fr 1fr; }
.vd-passo-arte { position: relative; }
.vd-passo-fotos { display: flex; flex-direction: column; gap: 1.2cqw; padding: 3cqw 3cqw 3cqw 0; }
.vd-foto-card { position: relative; flex: 1; margin: 0; border-radius: 1.6cqw; overflow: hidden; background: #0b111d; box-shadow: 0 1cqw 3cqw rgba(0,0,0,.4); animation: vd-pop .6s cubic-bezier(.3,1.4,.5,1) both .3s; }
.vd-foto-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-foto-card figcaption { position: absolute; left: 1cqw; bottom: 1cqw; font: 700 1.1cqw "Barlow", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(7,11,20,.8); color: #ffd23f; padding: .5cqw .9cqw; border-radius: 99px; }
.vd-kb { animation: vd-kb 14s ease-in-out infinite alternate; }
.vd-kb1 { animation-name: vd-kb1; } .vd-kb2 { animation-name: vd-kb2; } .vd-kb3 { animation-name: vd-kb3; }

/* certo × errado */
.vd-comparar { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5cqw; align-items: stretch; padding: 3cqw; }
.vd-vs { align-self: center; font: 800 2.4cqw "Barlow Condensed", sans-serif; color: #7f93ad; letter-spacing: .1em; }
.vd-lado { position: relative; display: flex; flex-direction: column; border-radius: 2cqw; background: rgba(255,255,255,.04); border: .3cqw solid rgba(255,255,255,.08); overflow: hidden; transition: opacity .4s, transform .4s, border-color .4s, box-shadow .4s, filter .4s; }
.vd-lado-cab { font: 800 1.9cqw "Barlow Condensed", sans-serif; letter-spacing: .12em; padding: 1.1cqw 1.6cqw; }
.vd-lado.certo .vd-lado-cab { background: #16a34a; color: #fff; } .vd-lado.errado .vd-lado-cab { background: #dc2626; color: #fff; }
.vd-lado-arte { position: relative; flex: 1; min-height: 0; }
.vd-lado-arte .vd-foto-card { position: absolute; inset: 1.2cqw; border-radius: 1.2cqw; }
.vd-lado p { margin: 0; padding: 1.2cqw 1.6cqw 1.6cqw; font-size: 1.75cqw; line-height: 1.3; color: #e6edf7; }
.vd-lado.ativo { transform: scale(1.02); }
.vd-lado.certo.ativo { border-color: #22c55e; box-shadow: 0 0 0 .4cqw rgba(34,197,94,.25), 0 2cqw 5cqw rgba(0,0,0,.4); }
.vd-lado.errado.ativo { border-color: #ef4444; box-shadow: 0 0 0 .4cqw rgba(239,68,68,.25), 0 2cqw 5cqw rgba(0,0,0,.4); }
.vd-lado.apagado { opacity: .38; filter: grayscale(.6); transform: scale(.97); }
.carimbo-lado { right: 1.6cqw; bottom: 1.6cqw; width: 7cqw; opacity: 0; transform: scale(2); z-index: 7; }
.vd-lado.mostrado .carimbo-lado { animation: vd-carimbar .55s cubic-bezier(.3,1.6,.5,1) forwards .35s; }

/* abertura / seção / objetivo */
.vd-abertura { position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; padding: 0 5cqw; }
.vd-ab-cod { display: inline-block; font: 800 2cqw "Barlow Condensed", sans-serif; letter-spacing: .12em; background: #ffd23f; color: #161d2b; padding: .5cqw 1.4cqw; border-radius: .8cqw; animation: vd-pop .5s both .2s; }
.vd-abertura h1 { font: 800 5.4cqw/1.02 "Barlow Condensed", sans-serif; margin: 1.6cqw 0 1cqw; letter-spacing: -.01em; text-wrap: balance; animation: vd-sobe .7s both .35s; }
.vd-ab-est { color: #9fb3cc; font-size: 1.8cqw; animation: vd-sobe .7s both .5s; }
.vd-ab-faixa { margin-top: 2.4cqw; height: 1.1cqw; width: 22cqw; border-radius: 99px; background: repeating-linear-gradient(135deg, #f2b705 0 1.4cqw, #161d2b 1.4cqw 2.8cqw); animation: vd-cresce 1s both .6s; transform-origin: left; }
.vd-ab-arte { position: relative; height: 80%; }
.vd-ab-arte .vd-op { left: 18%; bottom: 0; height: 92%; }
.vd-ab-icones .vd-ic { width: 11cqw; animation: vd-pop .6s both, vd-flutua 3.6s ease-in-out infinite; }
.vd-ab-icones .f0 { right: 4%; top: 6%; animation-delay: .6s, 1.2s; } .vd-ab-icones .f1 { right: 22%; top: 46%; animation-delay: .8s, 1.4s; } .vd-ab-icones .f2 { right: 0; bottom: 4%; animation-delay: 1s, 1.6s; }
.vd-secao { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 8cqw; }
.vd-secao-num { font: 800 2.2cqw "Barlow Condensed", sans-serif; letter-spacing: .3em; text-transform: uppercase; color: #ffd23f; animation: vd-sobe .5s both .1s; }
.vd-secao h2 { font: 800 5cqw/1.05 "Barlow Condensed", sans-serif; margin: 1.2cqw 0 0; text-wrap: balance; animation: vd-sobe .6s both .25s; }
.vd-secao-icones { position: relative; height: 13cqw; width: 50cqw; margin-top: 2.2cqw; display: flex; justify-content: center; gap: 2cqw; }
.vd-secao-icones .vd-ic { position: relative; width: 11cqw; animation: vd-pop .6s both, vd-flutua 3.6s ease-in-out infinite; }
.vd-secao-icones .f1 { animation-delay: .2s, .8s; } .vd-secao-icones .f2 { animation-delay: .4s, 1s; }
.vd-faixa-zebra { position: absolute; left: 0; right: 0; bottom: 0; height: 2.2cqw; background: repeating-linear-gradient(135deg, #f2b705 0 2cqw, #161d2b 2cqw 4cqw); animation: vd-cresce .9s both .2s; transform-origin: left; }
.vd-cartao-centro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.6cqw; padding: 0 10cqw; }
.vd-cartao-centro .vd-ic { position: relative; width: 14cqw; }
.vd-cartao-centro .vd-selo { position: static; }
.vd-cartao-centro p { font: 600 3cqw/1.25 "Barlow", sans-serif; margin: 0; text-wrap: balance; animation: vd-sobe .6s both .3s; }
.pulsa { animation: vd-pulsa 1.8s ease-in-out infinite; }

/* EPIs */
.vd-epis { position: absolute; inset: 0; }
.vd-epis-grade { position: absolute; inset: 9cqw 4cqw 3cqw; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: minmax(0, 1fr); gap: 3cqw; align-items: center; }
.vd-epis-grade > .vd-op { position: relative; left: auto; bottom: auto; height: 100%; width: auto; aspect-ratio: 120 / 230; justify-self: center; align-self: stretch; }
.vd-epis-col { display: flex; flex-direction: column; gap: 1.4cqw; }
.vd-epis-col:first-child { align-items: flex-end; }
.vd-epi { display: flex; align-items: center; gap: 1.2cqw; padding: 1cqw 1.6cqw 1cqw 1cqw; border-radius: 1.4cqw; background: rgba(255,255,255,.05); border: .25cqw solid transparent; width: min(100%, 30cqw); opacity: .5; transition: all .35s; position: relative; }
.vd-epis-col:first-child .vd-epi { flex-direction: row-reverse; padding: 1cqw 1cqw 1cqw 1.6cqw; text-align: right; }
.vd-epi .vd-ic { position: relative; width: 6.5cqw; flex: none; }
.vd-epi span { font: 600 1.9cqw/1.15 "Barlow", sans-serif; }
.vd-epi.ativo { opacity: 1; background: rgba(34,197,94,.14); border-color: #22c55e; transform: scale(1.06); }
.vd-epi.feito { opacity: 1; }
.vd-epi.feito::after { content: "✓"; position: absolute; top: -.8cqw; right: -.8cqw; width: 2.6cqw; height: 2.6cqw; display: grid; place-items: center; border-radius: 50%; background: #22c55e; color: #fff; font: 800 1.5cqw sans-serif; }
.vd-epis-col:first-child .vd-epi.feito::after { right: auto; left: -.8cqw; }

/* Riscos */
.vd-riscos { position: absolute; inset: 0; }
.vd-riscos-grade { position: absolute; inset: 10cqw 5cqw 4cqw; display: grid; grid-template-columns: repeat(auto-fit, minmax(26cqw, 1fr)); gap: 1.6cqw; align-content: center; }
.vd-risco { display: flex; align-items: center; gap: 1.4cqw; padding: 1.4cqw 1.8cqw; border-radius: 1.6cqw; background: rgba(239,68,68,.1); border: .25cqw solid rgba(239,68,68,.25); opacity: 0; transform: translateY(1.5cqw) scale(.96); transition: all .4s cubic-bezier(.3,1.4,.5,1); }
.vd-risco .vd-ic { position: relative; width: 4.6cqw; flex: none; }
.vd-risco span { font: 600 2cqw/1.2 "Barlow", sans-serif; }
.vd-risco.visivel { opacity: 1; transform: none; }
.vd-risco.ativo { background: rgba(239,68,68,.22); border-color: #ef4444; }

/* Encerramento */
.vd-fim { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2.4cqw; padding: 3cqw 5cqw; }
.vd-fim-listas { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; }
.vd-fim-col h3 { margin: 0 0 1cqw; font: 800 2.4cqw "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.vd-fim-col.ok h3 { color: #4ade80; } .vd-fim-col.erro h3 { color: #f87171; }
.vd-fim-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1cqw; }
.vd-fim-col li { font: 500 1.8cqw/1.3 "Barlow", sans-serif; padding: 1.1cqw 1.4cqw; border-radius: 1.2cqw; background: rgba(255,255,255,.05); border-left: .5cqw solid; opacity: .3; transition: all .4s; }
.vd-fim-col.ok li { border-color: #22c55e; } .vd-fim-col.erro li { border-color: #ef4444; }
.vd-fim-col li.visivel { opacity: 1; } .vd-fim-col li.ativo { background: rgba(255,255,255,.1); transform: translateX(.6cqw); }
.vd-fim-tl { display: flex; align-items: center; gap: 2cqw; align-self: center; padding: 1.4cqw 3cqw 1.4cqw 1.4cqw; border-radius: 99px; background: rgba(47,128,237,.16); border: .25cqw solid rgba(47,128,237,.5); opacity: 0; transform: translateY(1cqw); transition: all .5s; }
.vd-fim-tl.visivel { opacity: 1; transform: none; }
.vd-fim-tl .vd-ic { position: relative; width: 7cqw; }
.vd-fim-tl b { display: block; font: 800 2.4cqw "Barlow Condensed", sans-serif; } .vd-fim-tl span { font-size: 1.8cqw; color: #c6d6ea; }

/* Animações */
@keyframes vd-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes vd-sobe { from { opacity: 0; transform: translateY(2cqw); } to { opacity: 1; transform: none; } }
@keyframes vd-cresce { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vd-flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1cqw; } }
@keyframes vd-respira { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.4cqw); } }
@keyframes vd-pulo { 0% { transform: translateY(0); } 40% { transform: translateY(-2cqw); } 100% { transform: translateY(0); } }
@keyframes vd-pulsa { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes vd-gira { to { transform: rotate(360deg); } }
@keyframes vd-alcancar { 0%, 15% { transform: rotate(0); } 40%, 60% { transform: rotate(-75deg); } 85%, 100% { transform: rotate(-20deg); } }
@keyframes vd-entregar { 0%, 15% { transform: rotate(-30deg); } 45%, 60% { transform: rotate(-85deg); } 85%, 100% { transform: rotate(0); } }
@keyframes vd-apontar { 0%, 100% { transform: rotate(-60deg); } 50% { transform: rotate(-80deg); } }
@keyframes vd-escrever { 0%, 100% { transform: rotate(-55deg); } 50% { transform: rotate(-65deg); } }
@keyframes vd-acenar { 0%, 100% { transform: rotate(-150deg); } 50% { transform: rotate(-120deg); } }
@keyframes vd-olhar { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg); } }
@keyframes vd-conduzir { 0% { left: -45%; opacity: 0; } 8% { opacity: 1; } 65%, 88% { left: 30%; opacity: 1; } 100% { left: 30%; opacity: 0; } }
@keyframes vd-engatar { 0% { left: 80%; } 45%, 100% { left: 40%; } }
@keyframes vd-desengatar { 0%, 30% { left: 40%; } 75%, 100% { left: 74%; } }
@keyframes vd-clique { 0%, 42% { opacity: 0; transform: scale(.5); } 48% { opacity: 1; transform: scale(1.3); } 70% { opacity: 1; transform: scale(1); } 85%, 100% { opacity: 0; } }
@keyframes vd-pegar { 0%, 15% { right: 12%; bottom: 46%; left: auto; opacity: 1; } 45% { right: 52%; bottom: 62%; } 65%, 100% { right: 68%; bottom: 34%; } }
@keyframes vd-colocar { 0%, 12% { left: 24%; bottom: 36%; } 45% { left: 50%; bottom: 66%; } 70% { left: 74%; bottom: 34%; } 78% { left: 74%; bottom: 31%; } 100% { left: 74%; bottom: 32%; } }
@keyframes vd-lupa { 0% { translate: -4cqw 2cqw; } 25% { translate: 4cqw -2cqw; } 50% { translate: 6cqw 4cqw; } 75% { translate: -2cqw 5cqw; } 100% { translate: -4cqw 2cqw; } }
@keyframes vd-carimbo { 0%, 55% { opacity: 0; transform: scale(1.8); } 65%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes vd-carimbar { from { opacity: 0; transform: scale(2.2) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes vd-linha { 0%, 20% { opacity: .15; } 35%, 100% { opacity: 1; } }
@keyframes vd-caneta { 0%, 100% { translate: 0 0; } 25% { translate: 2cqw -.6cqw; } 50% { translate: 4cqw 0; } 75% { translate: 2cqw .6cqw; } }
@keyframes vd-feixe { 0%, 100% { opacity: .2; transform: scaleX(.6) rotate(4deg); } 50% { opacity: 1; transform: scaleX(1) rotate(-4deg); } }
@keyframes vd-apertar { 0%, 30% { translate: 0 -3cqw; } 45%, 60% { translate: 0 0; } 80%, 100% { translate: 0 -3cqw; } }
@keyframes vd-luz { 0%, 45% { fill: #22c55e; filter: drop-shadow(0 0 6px #22c55e); } 55%, 100% { fill: #374151; filter: none; } }
@keyframes vd-corte { 0%, 10% { width: 0; } 70%, 100% { width: 14%; } }
@keyframes vd-lamina { 0%, 10% { translate: 0 0; } 70%, 100% { translate: 9cqw 0; } }
@keyframes vd-onda { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vd-arrumar { 0%, 15% { transform: rotate(var(--rx)) translateY(var(--ty)); } 55%, 100% { transform: none; } }
@keyframes vd-voar { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.3); left: 46%; top: 40%; right: auto; bottom: auto; } }
@keyframes vd-kb { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -2%); } }
@keyframes vd-kb1 { from { transform: scale(1.16) translate(2%, 1%); } to { transform: scale(1.04) translate(-1%, 0); } }
@keyframes vd-kb2 { from { transform: scale(1.05) translate(-2%, 2%); } to { transform: scale(1.15) translate(2%, -1%); } }
@keyframes vd-kb3 { from { transform: scale(1.14) translate(0, -2%); } to { transform: scale(1.04) translate(0, 2%); } }

@media (max-width: 700px) {
  .vd-topo { padding: 10px 12px 4px; } .vd-topo-etapa { display: none; }
  .vd-palco-caixa { padding: 4px 8px; } .vd-palco { border-radius: 12px; }
  .vd-controles { flex-wrap: wrap; padding: 8px 10px 12px; gap: 6px; } .vd-barra { order: -1; flex-basis: 100%; }
  .vd-sel-voz { max-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { .vd-cena * { animation-duration: .01s !important; animation-iteration-count: 1 !important; } }
