/* ===== FLOATING BUTTONS ===== */
.whatsapp-button {
    position: fixed; bottom: 1.5rem; z-index: 1000; text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    border: 2px solid var(--text-dark);
    box-shadow: var(--shadow-strong);
}

.whatsapp-button {
    left: 1.5rem; width: 3.8rem; height: 3.8rem; background: transparent; display: flex;
    align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; cursor: pointer; border: none;
}

.whatsapp-button:hover {
    transform: translateY(-2px) scale(1.1);
    animation-play-state: paused;
}

@media (max-width: 767px) {
    .whatsapp-button { bottom: 1rem; }
    .whatsapp-button { left: 1rem; width: 3.5rem; height: 3.5rem; font-size: 1.5rem; }
}

@media (max-width: 768px) {
    /* Ajustes gerais de layout e espaçamento para todos os celulares */
    /* Botões flutuantes menores */
    .whatsapp-button { bottom: 0.8rem; }
    .whatsapp-button { left: 0.8rem; width: 3.2rem; height: 3.2rem; font-size: 1.4rem; }
}

@media (max-width: 480px) {
    /* Ajustes para os botões fixos inferiores */
    .whatsapp-button {
        width: 3rem; height: 3rem; font-size: 1.2rem;
    }
}

/* ===== MODAL (Chat-Bot) ===== */
.chat-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); z-index: 10000; display: none;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}
.chat-modal.active { display: flex; align-items: center; justify-content: center; }

.chat-container {
    width: 90%; max-width: 400px; height: 80%; max-height: 600px;
    background: #fff; border-radius: var(--border-radius); position: relative;
    overflow: hidden; display: flex; flex-direction: column;
}
.chat-header {
    background: var(--dark-orange); padding: 1rem; display: flex;
    justify-content: space-between; align-items: center; color: var(--text-primary);
    font-weight: 700;
}
.chat-close { background: none; border: none; font-size: 1.8rem; color: var(--text-primary); cursor: pointer; line-height: 1; }
.chat-iframe { width: 100%; height: 100%; border: none; }