/* Topo da landing (entrega 27): título centralizado e, embaixo, o palco do laboratório no
   desenho aprovado (public/assets/images/lab/hero-stage.webp: vídeo original, frasco da
   ClipLab AI, três cortes e o cientista no canto). Por cima da arte, numa camada do mesmo
   tamanho (1448 × 562), entram os vídeos em perspectiva nas telas e os efeitos — raios,
   partículas no frasco e a barra do progresso (public/assets/js/lab-hero-stage.js). */
.lx-hero3 { overflow:clip; padding:clamp(100px, 9vw, 128px) 0 0; position:relative; text-align:center; }
.lx-hero3-copy { position:relative; z-index:3; }
.lx-site .lx-hero3-copy h1 { color:#fff; font-size:clamp(2.45rem, 5.5vw, 5.3rem); font-weight:800; letter-spacing:-.035em; line-height:.98; margin:0; }
.lx-hero3-copy h1 span { display:block; }
.lx-hero3-copy h1 .lx-accent { color:var(--lx-cyan); text-shadow:0 0 42px rgb(68 237 218 / 30%); }
.lx-hero3-lede { color:#D3DCDE; font-size:clamp(1.05rem, 1.5vw, 1.4rem); line-height:1.45; margin:1rem auto 1.6rem; max-width:640px; }
.lx-hero3-actions { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; }
.lx-hero3-actions .lp-btn { min-width:0; padding-inline:1.7rem; }

.lx-hero3-art { margin:-.6rem auto 0; max-width:1448px; position:relative; }
.lx-hero3-art figcaption { color:#6E7C80; font-size:.68rem; letter-spacing:.14em; margin-top:.2rem; position:relative; text-transform:uppercase; z-index:3; }

.lx-hstage { aspect-ratio:1448 / 562; container-type:inline-size; overflow:hidden; position:relative; -webkit-mask:linear-gradient(180deg, transparent 0, #000 7%, #000 88%, transparent 100%); mask:linear-gradient(180deg, transparent 0, #000 7%, #000 88%, transparent 100%); }
.lx-hs-art { display:block; height:100%; inset:0; object-fit:cover; position:absolute; width:100%; }
/* Camada em pixels da arte; o script aplica a escala da largura da tela (largura / 1448). */
.lx-hs-layer { height:562px; left:0; pointer-events:none; position:absolute; top:0; transform-origin:0 0; width:1448px; }

/* Vídeos encaixados nas telas da arte (cantos medidos na imagem → matrix3d). */
.lx-hs-media { background:#000; display:block; left:0; overflow:hidden; position:absolute; top:0; transform-origin:0 0; }
.lx-hs-screen { border-radius:6px; height:360px; width:640px; transform:matrix3d(0.98467076,0.13326165,0,0.00050733,-0.00491323,0.80989718,0,0.00001189,0,0,1,0,56,75,0,1); }
.lx-hs-clip { border-radius:14px; height:640px; width:360px; }
.lx-hs-clip-1 { transform:matrix3d(0.10833333,-0.05677778,0,-0.00019444,0,0.4359375,0,0,0,0,1,0,984,106,0,1); }
.lx-hs-clip-2 { transform:matrix3d(0.10469535,-0.04861862,0,-0.00018127,-0.02720702,0.47952676,0,-0.00002414,0,0,1,0,1127,82,0,1); }
.lx-hs-clip-3 { transform:matrix3d(0.10334029,-0.05661444,0,-0.00018439,-0.02812262,0.49426265,0,-0.00002194,0,0,1,0,1282,82,0,1); }
.lx-hs-media iframe { border:0; height:124%; left:-12%; position:absolute; top:-12%; width:124%; }
.lx-hs-media video, .lx-hs-media img { display:block; height:100%; object-fit:cover; width:100%; }
.lx-hs-media::after { background:linear-gradient(180deg, rgb(2 8 10 / 55%), transparent 18%, transparent 82%, rgb(2 8 10 / 50%)); content:""; inset:0; position:absolute; }
.lx-hs-clip::after { background:linear-gradient(160deg, rgb(255 255 255 / 12%), transparent 30%); box-shadow:inset 0 0 0 2px rgb(190 255 248 / 18%); }
.lx-hs-media.is-hit::after { box-shadow:inset 0 0 0 4px rgb(200 255 250 / 75%), inset 0 0 40px rgb(68 237 218 / 45%); }
.lx-hs-scan { inset:0; overflow:hidden; position:absolute; z-index:1; }
.lx-hs-scan i { background:linear-gradient(90deg, transparent, rgb(68 237 218 / 16%) 60%, #9CFAEF 96%, #fff); box-shadow:6px 0 22px rgb(68 237 218 / 60%); display:block; height:100%; width:18%; animation:lx-hs-scan 4.6s cubic-bezier(.5,.05,.4,1) infinite; }
@keyframes lx-hs-scan { 0% { opacity:0; transform:translateX(-20%); } 12% { opacity:1; } 82% { opacity:1; } 100% { opacity:0; transform:translateX(560%); } }

/* Frasco: partículas (canvas), brilho quando o raio chega e a barra de progresso andando. */
.lx-hs-mix { height:562px; left:0; position:absolute; top:0; width:1448px; }
.lx-hs-flaskglow { background:radial-gradient(closest-side, rgb(200 255 250 / 55%), rgb(68 237 218 / 18%) 55%, transparent); height:300px; left:600px; opacity:0; position:absolute; top:110px; transition:opacity .6s ease; width:300px; }
.lx-hs-flaskglow.is-charged { opacity:1; transition-duration:.06s; }
.lx-hs-progress { background:rgb(2 16 18 / 85%); border-radius:4px; height:7px; left:678px; overflow:hidden; position:absolute; top:303px; width:142px; }
.lx-hs-progress i { background:linear-gradient(90deg, #2FE0CC, #9CFAEF); border-radius:4px; box-shadow:0 0 12px #44EDDA; display:block; height:100%; transform-origin:0 50%; width:100%; animation:lx-hs-progress 6.5s cubic-bezier(.45,.05,.35,1) infinite; }
@keyframes lx-hs-progress { 0% { opacity:1; transform:scaleX(.08); } 80% { opacity:1; transform:scaleX(.96); } 92% { opacity:1; transform:scaleX(.96); } 100% { opacity:0; transform:scaleX(.96); } }

/* Raios e fios de energia (desenhados pelo script, nas coordenadas da arte). */
.lx-hs-bolts { height:562px; left:0; overflow:visible; position:absolute; top:0; width:1448px; }
.lx-hs-conduit { fill:none; stroke:#44EDDA; stroke-linecap:round; }
.lx-hs-conduit--glow { stroke-opacity:.08; stroke-width:7; }
.lx-hs-conduit--line { stroke-dasharray:2 7; stroke-opacity:.38; stroke-width:1.4; }
.lx-hs-dot { fill:#E6FFFC; }
.lx-hs-dot--halo { fill:#44EDDA; fill-opacity:.25; }
.lx-hs-bolt { fill:none; opacity:0; stroke-linecap:round; stroke-linejoin:round; transition:opacity .22s ease-out; }
.lx-hs-bolt.is-on { opacity:1; transition-duration:.02s; }
.lx-hs-bolt-glow { stroke:#44EDDA; stroke-opacity:.22; stroke-width:10; }
.lx-hs-bolt-mid { stroke:#7DF9EC; stroke-opacity:.8; stroke-width:3.2; }
.lx-hs-bolt-core { stroke:#FFFFFF; stroke-width:1.4; }
.lx-hs-burst { fill:url(#lx-hs-burst); opacity:0; transition:opacity .3s ease-out; }
.lx-hs-burst.is-on { opacity:1; transition-duration:.02s; }

@media (max-width:860px) {
    .lx-hero3-actions { display:grid; margin:0 auto; max-width:420px; }
    .lx-hero3-actions .lp-btn { width:100%; }
    .lx-hero3-art { margin-top:1.6rem; }
}
@media (prefers-reduced-motion:reduce) {
    .lx-hs-scan, .lx-hs-progress i { animation:none; }
    .lx-hs-scan { display:none; }
}
