/* Movimento: entrada suave do hero, revelação ao rolar e respostas a estado.
   Sem parallax, sem loop. Com movimento reduzido, nada anda. */

@keyframes rise { from { opacity: 0; translate: 0 20px; } }
.js .hero__copy > *, .js .start { animation: rise 800ms var(--ease-out) both; }
.js .hero__copy > :nth-child(2) { animation-delay: 80ms; }
.js .hero__copy > :nth-child(3) { animation-delay: 160ms; }
.js .hero__copy > :nth-child(4) { animation-delay: 240ms; }
.js .hero__copy > :nth-child(5) { animation-delay: 320ms; }
.js .start { animation-delay: 220ms; }

/* Revelação ao rolar: o JS põe .rv, depois .is-in, e retira as duas no fim. */
.rv { opacity: 0; translate: 0 28px; }
.rv.is-in { opacity: 1; translate: 0 0; transition: opacity 700ms var(--ease-out) var(--rv-d, 0ms), translate 700ms var(--ease-out) var(--rv-d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .js .hero__copy > *, .js .start { animation: none; }
  .rv { opacity: 1; translate: none; }
  .nav, .menu, .acc__panel, .acc__item, .acc__icon, .acc__icon::before, .acc__icon::after, .burger span, .btn, .chips label, .tile--link, .textlink, .fab, .ico { transition: none; }
  .btn:active, .btn--primary:hover, .fab:hover, .tile--link:hover, .chips label:active, .tile--link:active, .acc__head button:active .acc__icon { translate: none; }
}
