/* ============================================================
   hero-novo.css — desenhos de hero no modelo da landing (11/11/2026)
   Bloco inclinado na cor de destaque (.sh), o objeto recortado na cor
   do fundo (.fk), um traço interno que se desenha ao abrir (.ln) e um
   detalhe pequeno em loop. Um SVG por página, classe "hn" e id "hn-<página>",
   em partials/hero-animacoes/hn-*.html.
   - As animações começam com a classe "go" (o script da página põe).
   - Sem JS ou com "reduzir movimento": o desenho aparece pronto e parado.
   - Cores só por token (--accent, --bg): o modo escuro vem de graça.
   ============================================================ */
svg.hn{ display:block; width:100%; height:auto; overflow:visible; }
.hn .sh{ fill:var(--accent); }
.hn .fk{ fill:var(--bg); stroke:var(--bg); stroke-width:10; stroke-linejoin:round; }
.hn .fu{ fill:none; stroke:var(--bg); stroke-width:14; stroke-linecap:round; }
.hn .fa{ fill:var(--accent); }
.hn .fb{ fill:var(--bg); }

/* traço que se desenha: na cor de destaque (.ln) ou na cor do fundo (.lb) */
/* começa apagado (como o frasco da landing); a página põe "go" e o traço se desenha.
   Sem JS: <noscript> com .hn-pronto; "reduzir movimento": a regra no fim deste arquivo. */
.hn .ln, .hn .lb, .hn .lp, .hn .ck, .hn .pf{ fill:none; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1; stroke-dashoffset:1; }
.hn .ln{ stroke:var(--accent); stroke-width:3.4; }
.hn .ln.fino{ stroke-width:2.2; }
.hn .ln.gr{ stroke-width:6; }
.hn .lb, .hn .lp{ stroke:var(--bg); stroke-width:3.4; }
.hn .lb.gr{ stroke-width:5; }
.hn .ck{ stroke:var(--accent); stroke-width:4; }
.hn .tr{ fill:none; stroke:var(--bg); stroke-width:4; stroke-linecap:round; opacity:.35; }
.hn .pf{ stroke:var(--bg); stroke-width:4; }
/* detalhes na cor do fundo */
.hn .bb, .hn .sg{ fill:none; stroke:var(--bg); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.hn .sg{ stroke-width:3.4; }
.hn .bf{ fill:var(--bg); transform-box:fill-box; transform-origin:center; }
.hn .ar{ fill:none; stroke:var(--bg); stroke-width:3.4; stroke-linecap:round; stroke-linejoin:round; }
.hn .pc{ fill:none; stroke:var(--bg); stroke-width:2.6; stroke-linejoin:round; }
.hn .ts path{ stroke:var(--bg); stroke-width:3.4; stroke-linecap:round; stroke-linejoin:round; }
.hn .ts .cd{ fill:none; }
.hn .ts .bl{ fill:var(--bg); }

.hn.go .ln, .hn.go .lb{ animation:hn-dr var(--u,.8s) ease-out both; animation-delay:var(--t,.4s); }
.hn.go .lp{ animation:hn-loop 4s ease-in-out infinite both; animation-delay:var(--t,1.6s); }
.hn.go .ck{ animation:hn-ck 6s ease-out infinite both; animation-delay:var(--t,2s); }
.hn.go .pf{ animation:hn-pf 6s linear infinite both; animation-delay:var(--t,1.8s); }
.hn.go .bb{ animation:hn-rise 3.3s ease-in infinite both; animation-delay:var(--t,1s); }
.hn.go .sg{ animation:hn-pulso 2.2s ease-out infinite both; animation-delay:var(--t,1.8s); }
.hn.go .bf{ animation:hn-brilho 3s ease-in-out infinite both; animation-delay:var(--t,2s); }
.hn.go .cur{ animation:hn-pisca 1s steps(1) infinite; animation-delay:2.6s; }
.hn.go .ar{ animation:hn-balanca 1.8s ease-in-out infinite; animation-delay:2.4s; }
.hn.go .pc{ animation:hn-encaixa 2.8s ease-in-out infinite; animation-delay:2s; }
.hn.go .ts{ animation:hn-borla 3s ease-in-out infinite; animation-delay:1.8s; }
.hn.go .fl{ animation:hn-entra .3s ease-out 2.2s both, hn-tremula 1.6s ease-in-out 2.5s infinite; }
.hn.go .dt{ animation:hn-digita 1.2s ease-in-out infinite; animation-delay:var(--t,2s); }

@keyframes hn-dr{ from{ stroke-dashoffset:1; } to{ stroke-dashoffset:0; } }
@keyframes hn-loop{ 0%{ stroke-dashoffset:1; opacity:1; } 45%,80%{ stroke-dashoffset:0; opacity:1; } 100%{ stroke-dashoffset:0; opacity:0; } }
@keyframes hn-ck{ 0%{ stroke-dashoffset:1; } 6%,82%{ stroke-dashoffset:0; } 90%,100%{ stroke-dashoffset:1; } }
@keyframes hn-pf{ 0%{ stroke-dashoffset:1; } 50%,82%{ stroke-dashoffset:0; } 90%,100%{ stroke-dashoffset:1; } }
@keyframes hn-rise{ 0%{ opacity:0; transform:translateY(0); } 20%{ opacity:1; } 100%{ opacity:0; transform:translateY(-30px); } }
@keyframes hn-pulso{ 0%{ opacity:0; } 28%{ opacity:1; } 75%,100%{ opacity:0; } }
@keyframes hn-brilho{ 0%,100%{ opacity:0; transform:scale(.6); } 50%{ opacity:1; transform:scale(1); } }
@keyframes hn-pisca{ 0%{ opacity:1; } 50%{ opacity:0; } }
@keyframes hn-balanca{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(8px); } }
@keyframes hn-encaixa{ 0%,100%{ transform:translateX(0); } 50%{ transform:translateX(14px); } }
@keyframes hn-borla{ 0%,100%{ transform:rotate(0); } 30%{ transform:rotate(9deg); } 70%{ transform:rotate(-7deg); } }
@keyframes hn-entra{ from{ opacity:0; } to{ opacity:1; } }
@keyframes hn-tremula{ 0%,100%{ transform:skewY(0) scaleX(1); } 50%{ transform:skewY(-6deg) scaleX(.92); } }
@keyframes hn-digita{ 0%,100%{ opacity:.2; } 40%{ opacity:1; } }

@media (prefers-reduced-motion: reduce){
  .hn *{ animation:none !important; }
  .hn .ln, .hn .lb, .hn .lp, .hn .ck, .hn .pf{ stroke-dashoffset:0; }
}
