/* ANIMAÇÕES DE ENTRADA */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

/* Classes de animação */
.animated-entry {
    animation: fadeIn 1.5s ease-out forwards;
}

.slide-in {
    animation: slideIn 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

/* Efeito de onda para o modo escuro */
.wave-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(138,43,226,0.4) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    animation: wave 15s infinite linear;
}

@keyframes wave {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.05;
    }
    100% {
        transform: scale(1);
        opacity: 0.1;
    }
}

/* Transições do modo escuro*/
body, header, .service-card, .testimonial-card,
.portfolio-item, .contact-form input, .contact-form textarea,
.contact-form select, .stat-box {
    transition: background-color 0.8s ease, color 0.8s ease, border-color 0.8s ease;
}