/* =========================================================
   KEYFRAMES & ANIMATION CLASSES
   ========================================================= */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classes controladas pelo Intersection Observer (JavaScript) */
.js-reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.8s;
    will-change: opacity, transform;
}

.js-reveal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Delays para criar efeito de "cascata" (Staggered Animation) */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Respeitar a preferência do sistema operacional do usuário por menos movimento */
@media (prefers-reduced-motion: reduce) {
    .js-reveal {
        transition: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    .hero__glass-card {
        animation: none !important;
    }
}