/* Animações — só ativas com JS; desativadas com prefers-reduced-motion */

@keyframes dash { to { stroke-dashoffset: -64; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 6px)); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.node-float { animation: float 6s ease-in-out infinite; }
.node-float:nth-of-type(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.node-float:nth-of-type(3n) { animation-duration: 8.5s; animation-delay: -4s; }
.hero-in > * { animation: fadeUp .8s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; }
.hero-in > *:nth-child(3) { animation-delay: .16s; }
.hero-in > *:nth-child(4) { animation-delay: .24s; }
.status-live .dot { animation: pulse 2.4s ease-in-out infinite; }
.process-panel:not([hidden]) > * { animation: fadeUp .45s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-delay: 0s !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .system-lines .flow { animation: none; }
}
