/* ==================== Animações ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== Menu mobile ==================== */
.translate-y-0 {
    transform: translateY(0);
    opacity: 1;
}

.-translate-y-full {
    transform: translateY(-100%);
    opacity: 0;
}

/* ==================== Modal ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-width: 80%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    border-radius: 0.25rem;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Estilos para a foto do profissional no modal */
#modal-content .w-40 {
    width: 10rem;
    height: 10rem;
}

#modal-content .rounded-full {
    border-radius: 50%;
}

#modal-content .overflow-hidden {
    overflow: hidden;
}

#modal-content .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Estilos para os botões de contato */
#modal-buttons button {
    margin: 0.5rem;
}

/* Estilos no Faq */
.faq-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.faq-content.open {
    max-height: 200px;
    opacity: 1;
}

/* Estilos para o bubble e popup do chatbot */
#chatbot-bubble {
    transition: transform 0.3s ease;
}

#chatbot-popup {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#chatbot-popup.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

#chatbot-popup:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite;
}

