/* HERO ANIMADO (bloco isolado). Reverter: apagar o bloco <!-- HERO-ANIM --> do index.html e tirar o hidden do hero antigo. */
#inicio-antigo[hidden],.hero[hidden]{display:none!important}
.hero-anim{position:relative;height:100vh;height:100svh;min-height:560px;overflow:hidden;isolation:isolate;background:#05070a}
.hero-anim .ha-stage{--w:max(100vw,177.78svh);--h:calc(var(--w)*.5625);--fx:.5;position:absolute;width:var(--w);height:var(--h);top:50%;left:calc(50vw - var(--w)*var(--fx));margin-top:calc(var(--h)/-2)}
.hero-anim .ha-push{position:absolute;inset:0;transform-origin:68% 55%;animation:haPush 2.8s cubic-bezier(.16,1,.3,1) both}
@keyframes haPush{from{transform:scale(1.14);filter:brightness(.4)}to{transform:scale(1.02);filter:none}}
.hero-anim .ha-ly{position:absolute;inset:0;will-change:transform}
.hero-anim .ha-ly img,.hero-anim canvas{position:absolute;display:block;user-select:none;pointer-events:none;max-width:none}
.hero-anim .ha-full{inset:0;width:100%;height:100%}
.hero-anim .ha-box{left:calc(var(--x0)/2560*100%);top:calc(var(--y0)/1440*100%);width:calc((var(--x1) - var(--x0))/2560*100%);height:calc((var(--y1) - var(--y0))/1440*100%)}
.hero-anim .ha-drag{position:absolute;animation:haVoo 7s ease-in-out infinite;transform-origin:45% 40%}
.hero-anim .ha-drag img{inset:0;width:100%;height:100%}
@keyframes haVoo{0%,100%{transform:translate3d(0,0,0) scale(1)}25%{transform:translate3d(-.2%,-.6%,0) scale(1.01)}50%{transform:translate3d(0,-1%,0) scale(1.016)}75%{transform:translate3d(.15%,-.45%,0) scale(1.006)}}
.hero-anim .ha-glow{animation:haPulso 3.5s ease-in-out infinite}
@keyframes haPulso{0%,100%{opacity:0}50%{opacity:.75}}
.hero-anim .ha-rocha{animation:haFlut var(--t) ease-in-out var(--dl) infinite alternate}
@keyframes haFlut{from{transform:translate3d(0,-1.4%,0) rotate(-1.2deg)}to{transform:translate3d(0,1.8%,0) rotate(1.4deg)}}
.hero-anim .ha-neon{animation:haNeon 2.4s ease-in-out infinite}
@keyframes haNeon{0%,100%{opacity:0}45%{opacity:.8}55%{opacity:.6}}
.hero-anim .ha-brilho{position:absolute;left:36%;top:69%;width:64%;height:31%;opacity:.4;pointer-events:none;
 background:repeating-linear-gradient(100deg,transparent 0 46px,rgba(80,230,255,.10) 52px,transparent 60px 120px),repeating-linear-gradient(80deg,transparent 0 70px,rgba(255,140,60,.09) 78px,transparent 88px 170px);
 background-size:200% 100%,200% 100%;animation:haCint 9s linear infinite;
 -webkit-mask:radial-gradient(60% 70% at 55% 40%,#000 30%,transparent 75%);mask:radial-gradient(60% 70% at 55% 40%,#000 30%,transparent 75%)}
@keyframes haCint{from{background-position:0 0,100% 0}to{background-position:-100% 0,0 0}}
.hero-anim #haBrasas{position:absolute;inset:0;width:100%;height:100%}
.hero-anim .ha-vinheta{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#05070a 0%,rgba(5,7,10,.88) 22%,rgba(5,7,10,.25) 44%,transparent 60%),linear-gradient(0deg,#05070a 0%,transparent 22%)}
.hero-anim .ha-txt{position:absolute;z-index:3;left:max(24px,6vw);top:52%;transform:translateY(-50%);max-width:640px}
.hero-anim .ha-kicker{font:800 13px/1 var(--f1);letter-spacing:.22em;color:#ff7a1a;text-transform:uppercase;display:flex;align-items:center;gap:10px}
.hero-anim .ha-kicker i{width:8px;height:8px;border-radius:50%;background:#ff7a1a;box-shadow:0 0 12px #ff7a1a;animation:haPisca 1.6s ease-in-out infinite}
@keyframes haPisca{50%{opacity:.3}}
.hero-anim h1{font:800 clamp(44px,6.4vw,104px)/.92 var(--f1);text-transform:uppercase;letter-spacing:-.01em;margin:18px 0 22px;color:#f4efe8}
.hero-anim h1 .ln{display:block;overflow:hidden;padding-bottom:.04em}
.hero-anim h1 .ln>span{display:block;transform:translateY(105%);animation:haSobe 1.1s cubic-bezier(.16,1,.3,1) forwards}
.hero-anim h1 .ln:nth-child(1)>span{animation-delay:.55s}.hero-anim h1 .ln:nth-child(2)>span{animation-delay:.68s}.hero-anim h1 .ln:nth-child(3)>span{animation-delay:.86s}
.hero-anim h1 em{font-style:normal;background:linear-gradient(90deg,#ff7a1a,#ffc46b 50%,#ff7a1a);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:haOuro 5s linear 2s infinite}
@keyframes haSobe{to{transform:none}}
@keyframes haOuro{to{background-position:-200% 0}}
.hero-anim .ha-lead,.hero-anim .ha-cta,.hero-anim .ha-kicker{opacity:0;animation:haAparece .9s ease forwards}
.hero-anim .ha-kicker{animation-delay:.35s}.hero-anim .ha-lead{animation-delay:1.1s}.hero-anim .ha-cta{animation-delay:1.3s}
@keyframes haAparece{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.hero-anim .ha-lead{font-size:clamp(15px,1.25vw,19px);line-height:1.55;color:#cfc8bf;max-width:520px}
.hero-anim .ha-cta{display:flex;gap:18px;align-items:center;margin-top:28px;flex-wrap:wrap}
@media (max-width:860px){
 .hero-anim .ha-stage{--w:195vw;--fx:.665;top:7svh;margin-top:0}
 .hero-anim .ha-vinheta{background:linear-gradient(0deg,#05070a 0%,#05070a 38%,rgba(5,7,10,.55) 50%,transparent 62%),linear-gradient(180deg,#05070a 0%,transparent 12%)}
 .hero-anim .ha-txt{top:auto;bottom:5svh;transform:none;right:22px}
 .hero-anim h1{font-size:clamp(38px,11vw,58px);margin:10px 0 12px}
 .hero-anim .ha-lead{font-size:14.5px}.hero-anim .ha-cta{margin-top:18px}
 .hero-anim .ha-brilho{display:none}
}
@media (prefers-reduced-motion:reduce){
 .hero-anim *{animation:none!important;transition:none!important}
 .hero-anim h1 .ln>span{transform:none}.hero-anim .ha-lead,.hero-anim .ha-cta,.hero-anim .ha-kicker{opacity:1}
 .hero-anim #haBrasas,.hero-anim .ha-brilho,.hero-anim .ha-glow,.hero-anim .ha-neon{display:none}
}
.hero-anim .chips{opacity:0;animation:haAparece .9s ease 1.5s forwards;margin-top:26px}
@media (max-width:860px){.hero-anim .chips{display:none}}
@media (prefers-reduced-motion:reduce){.hero-anim .chips{opacity:1}}
.hero-anim h1 .ln:has(em){overflow:clip;overflow-clip-margin:.22em}.hero-anim h1 .ln>span:has(em){filter:drop-shadow(0 0 12px rgba(255,140,40,.42))}@media (min-width:861px){.hero-anim h1{font-size:clamp(40px,4.9vw,96px)}.hero-anim h1 .ln>span{white-space:nowrap}}
@media (max-width:860px){.hero-anim h1{font-size:clamp(34px,10.4vw,58px)}}
