/* ===================================
   ANIMAÇÕES E MICRO-INTERAÇÕES
   =================================== */

/* Animação de flutuação */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Animação de pulso */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Animação de tremor/shake */
@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-10deg);
    }
    20%, 40%, 60%, 80% {
        transform: rotate(10deg);
    }
}

/* Animação de fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de slide in da esquerda */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animação de slide in da direita */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animação de zoom in */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animação de brilho */
@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}

/* Animação de rotação suave */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animação de onda */
@keyframes wave {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    75% {
        transform: translateY(10px) rotate(-5deg);
    }
}

/* Animação de piscar */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Animação de gradiente */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===================================
   APLICAÇÃO DE ANIMAÇÕES
   =================================== */

/* Fade in para seções - DESABILITADO para seo-content */
/* .service-section {
    animation: fadeIn 0.8s ease-out;
}

.service-section:nth-child(odd) {
    animation: slideInLeft 0.8s ease-out;
}

.service-section:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
} */

/* Animação para o hero */
.hero-content {
    animation: zoomIn 1s ease-out;
}

/* Emoji animado no cabeçalho */
.header-emojis span {
    display: inline-block;
    animation: wave 3s ease-in-out infinite;
}

.header-emojis span:nth-child(1) {
    animation-delay: 0s;
}

.header-emojis span:nth-child(2) {
    animation-delay: 0.2s;
}

.header-emojis span:nth-child(3) {
    animation-delay: 0.4s;
}

.header-emojis span:nth-child(4) {
    animation-delay: 0.6s;
}

/* Efeito de brilho nos botões CTA */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

/* Hover com escala suave */
.logo,
.service-section,
.footer-section a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animação de entrada para elementos - DESABILITADO para seo-content */
/* [data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
} */

/* Efeito hover para cards de serviço */
.service-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--azul-claro), var(--dourado));
    transition: width 0.4s ease;
}

.service-section:hover::after {
    width: 100%;
}

/* Micro-animação para links do footer */
.footer-section a {
    position: relative;
    display: inline-block;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dourado);
    transition: width 0.3s ease;
}

.footer-section a:hover::after {
    width: 100%;
}

/* Animação de loading */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* Animação para ícones */
.icon-animated {
    display: inline-block;
    transition: transform 0.3s ease;
}

.icon-animated:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Gradiente animado de fundo */
.gradient-animated {
    background: linear-gradient(270deg, var(--azul-escuro), var(--azul-claro), var(--roxo));
    background-size: 600% 600%;
    animation: gradient 10s ease infinite;
}

/* Bounce suave para elementos importantes */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bounce-effect {
    animation: bounce 2s ease-in-out infinite;
}

/* Efeito de digitação (para textos especiais) */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid;
    animation: typing 3s steps(40) 1s 1 normal both;
}

/* Smooth scroll snap */
/*
html {
    scroll-snap-type: y proximity;
}

section {
    scroll-snap-align: start;
}
*/

/* Parallax suave (requer JS) */
.parallax {
    transition: transform 0.5s cubic-bezier(0, 0, 0, 1);
}

/* Efeito hover com sombra crescente */
.shadow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Animações reduzidas para usuários com preferência */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

