/* Animation de fade-in au défilement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    from {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }
    to {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(0, 140, 58, 0.7);
    }
}

/* Classes d'animation */
.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.animate-slide-left {
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; } 

/* Animation du scroll */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}