.animate-on-scroll {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    will-change: opacity, transform;
}


.animate-visible {
    opacity: 1;
    transform: translateY(0) !important;
}

/* Variações específicas para diferentes seções */

.hero-text-wrapper.animate-on-scroll {
    transform: translateY(20px);
    transition-duration: 0.6s;
}

.hero-accent.animate-on-scroll {
    transform: translateX(20px);
    transition-duration: 0.6s;
}


.service-card.animate-on-scroll,
.service-item.animate-on-scroll {
    transform: translateY(30px) scale(0.95);
}

.solution-item.animate-on-scroll {
    transform: translateY(20px) scale(0.97);
}


.section-header.animate-on-scroll {
    transform: translateY(15px);
    transition-duration: 0.6s;
}

.section-header.animate-visible h2 {
    transition-delay: 0.1s;
}

.section-header.animate-visible .section-divider {
    transition-delay: 0.15s;
}

.cta-content.animate-on-scroll {
    transform: translateY(20px);
    transition-duration: 0.6s;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    overflow: visible;
    transition: box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .animate-on-scroll {
        transform: translateY(10px);
        transition-duration: 0.4s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none !important;
        transition: opacity 0.2s;
    }
}

/* Cursor de digitação */
.dynamic-container {
    display: inline;
    white-space: pre-wrap;
}

.dynamic-text {
    display: inline;
}

.dynamic-text::after {
    content: '|';
    margin-left: 1px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
/* ======== ANIMAÇÃO CURSOR ========= */

.dynamic-container {
    display: inline; /* Torna o container parte do fluxo inline */
    white-space: pre-wrap; /* Permite quebra de linha natural */
}

.dynamic-text {
    display: inline;
}

.typing-cursor {
    display: inline;
    margin-left: 1px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
