html {
    scroll-behavior: smooth;
}

/* Customizações adicionais ao Tailwind */

/* Background com overlay escuro para o Hero e imagem de placeholder focada no escritório de advocacia */
.hero-bg {
    background-image: linear-gradient(to right, rgba(28, 25, 24, 0.9) 30%, rgba(28, 25, 24, 0.4) 100%),
        url('img/andeise-no-computador.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Alterado para scroll para compatibilidade mobile */
}

@media (min-width: 1024px) {
    .hero-bg {
        background-attachment: fixed;
    }
}

/* Ajuste sutil para o grid de serviços imitar a grade tracejada/sutil da imagem */
.services-grid>div {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.08);
}

.testimonials-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('img/andeise%20bracos%20cruzados.jpg'); /* Espaço escapado para segurança */
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Alterado para scroll para compatibilidade mobile */
}

@media (min-width: 1024px) {
    .testimonials-bg {
        background-attachment: fixed;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Ajuste mobile para o botão flutuante */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 25px;
        right: 25px;
        font-size: 30px;
    }
}