/* Animações e Estilos Customizados - SPA Terraplanagem */
body {
    background-color: #ffffff;
    color: #0f172a; /* base-900 */
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* Estilização da barra de rolagem para tema claro */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #ffffff;
}
::-webkit-scrollbar-thumb {
    background: #e2e8f0; /* base-300 */
    border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e0580c;
}

/* Hover effect nos serviços - linha inferior expansiva */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #e0580c;
    transition: width 0.4s ease-in-out;
}
.service-card:hover::after {
    width: 100%;
}

/* Overlay Claro para o Hero (efeito "wash" branco sobre a imagem) */
.hero-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.6) 100%),
                linear-gradient(to bottom, transparent 0%, rgba(255,255,255,1) 100%);
}

@keyframes slideDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Botão Flutuante Pulsante do WhatsApp */
.btn-whatsapp-flutuante {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-center: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulseWhatsapp 2s infinite;
}

.btn-whatsapp-flutuante:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Card CTA WhatsApp (Substituto de Formulário de E-mail) */
.cta-whatsapp-card {
    background-color: #f8fafc; /* base-200 */
    border: 1px solid #e2e8f0; /* base-300 */
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.cta-whatsapp-card h3 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f172a; /* base-900 */
}

.cta-whatsapp-card p {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #334155; /* base-700 */
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-whatsapp-card .btn-whatsapp-cta {
    background-color: #e0580c; /* earth-500 */
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cta-whatsapp-card .btn-whatsapp-cta:hover {
    background-color: #c2410c; /* earth-600 */
}
