/* SONNUS - Polimento e animações do novo design */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animações de entrada */
.home-text {
    animation: fadeInUp 1s ease-out;
}

.home-text .text-h4 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.home-text .text-h1 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.home-text p {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação ao scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efeitos hover refinados */
.servico-item img,
.equipe-image img {
    transition: transform 0.5s ease;
}

.servico-item:hover img {
    transform: scale(1.03);
}

.navigation .logo img {
    transition: transform 0.3s ease;
}

.contatos li a {
    transition: color 0.3s ease;
}

/* Acessibilidade */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
