/* Botão Flutuante (O 'Chamar Atenção') */
.chat-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* Verde Zap */
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    transition: transform 0.2s;
}
.chat-trigger:hover { transform: scale(1.05); }

/* Janela do Chat */
.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    display: none; /* Começa escondido */
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

/* Cabeçalho do Chat */
.chat-header {
    background: #D32F2F;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-close { cursor: pointer; font-size: 1.2rem; }

/* Corpo das Mensagens */
.chat-body {
    flex: 1;
    padding: 15px;
    background: #f4f4f4;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Balões de Mensagem */
.msg { padding: 10px 15px; border-radius: 15px; max-width: 80%; font-size: 0.9rem; line-height: 1.4; }
.bot { background: #e0e0e0; color: #333; align-self: flex-start; border-bottom-left-radius: 2px; }
.user { background: #D32F2F; color: white; align-self: flex-end; border-bottom-right-radius: 2px; }

/* Área de Input */
.chat-footer { padding: 10px; background: white; border-top: 1px solid #ddd; display: flex; gap: 5px; }
.chat-footer input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 20px; outline: none; }
.chat-footer button { background: #D32F2F; color: white; border: none; padding: 10px 15px; border-radius: 50%; cursor: pointer; }

/* Botões de Opção (Para não precisar digitar) */
.options-container { display: flex; flex-direction: column; gap: 5px; margin-top: 5px; }
.btn-option { background: #fff; border: 1px solid #D32F2F; color: #D32F2F; padding: 8px; border-radius: 20px; cursor: pointer; text-align: center; font-size: 0.9rem; }
.btn-option:hover { background: #D32F2F; color: white; }