/* ===== ANIMAÇÕES DE FADE-IN DO TOPO PARA TODO O SITE ===== */

/* Estados iniciais apenas para elementos com classe animate-on-scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Estados ativos para elementos animados */
.animate-on-scroll.animate-active,
.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Classes específicas para elementos que devem ser animados */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-up.animate-active,
.animate-fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para animações em sequência */
.animate-delay-100 { transition-delay: 0.1s; }
.animate-delay-200 { transition-delay: 0.2s; }
.animate-delay-300 { transition-delay: 0.3s; }
.animate-delay-400 { transition-delay: 0.4s; }
.animate-delay-500 { transition-delay: 0.5s; }
.animate-delay-600 { transition-delay: 0.6s; }
.animate-delay-700 { transition-delay: 0.7s; }
.animate-delay-800 { transition-delay: 0.8s; }
.animate-delay-900 { transition-delay: 0.9s; }
.animate-delay-1000 { transition-delay: 1.0s; }

/* Otimização para dispositivos com preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-fade-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}