 :root {
     --primary-color: #ffa500;
     /* Azul Vibrante */
     --secondary-color: #f8f9fa;
     --bot-color: #e9ecef;
     /* Fundo do chat */
     --text-color: #343a40;
     --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.2);
 }


 /* Botão Fale Conosco flutuante */
 .chat-btn {
     position: fixed;
     bottom: 25px;
     right: 25px;
     background-color: var(--primary-color);
     color: #000;
     border: none;
     border-radius: 50px;
     padding: 15px 25px;
     font-size: 17px;
     cursor: pointer;
     box-shadow: var(--shadow-strong);
     z-index: 1000;
     transition: background-color 0.3s;
 }

 .chat-btn:hover {
     background-color: #ffa600c0;
 }

 /* Janela Principal do Chat (PC) */
 .chat-window {
     width: 90%;
     max-width: 800px;
     height: 90vh;
     max-height: 700px;
     background-color: white;
     border-radius: 15px;
     box-shadow: var(--shadow-strong);
     display: none;
     flex-direction: column;
     position: fixed;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     z-index: 999;
     overflow: hidden;
 }

 /* MEDIA QUERY: Chat em Full Screen no Mobile */
 @media (max-width: 768px) {
     .chat-window {
         width: 100%;
         height: 100vh;
         border-radius: 0;
         max-height: none;
     }
 }

 /* Cabeçalho do Chat */
 .chat-header {
     background-color: var(--primary-color);
     color: white;
     padding: 15px 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .chat-header .ia-info {
     display: flex;
     align-items: center;
     font-size: 1.1em;
     font-weight: 600;
 }

 .chat-header .ia-info i {
     font-size: 24px;
     margin-right: 10px;
 }

 .close-btn {
     background: none;
     border: none;
     color: white;
     font-size: 28px;
     cursor: pointer;
     line-height: 1;
 }

 /* Corpo do Chat (Mensagens) */
 .chat-body {
     flex-grow: 1;
     padding: 20px;
     overflow-y: auto;
     background-color: var(--bot-color);
     display: flex;
     flex-direction: column;
     gap: 15px;
 }

 /* Estilo das Bolhas de Mensagem */
 .message {
     padding: 12px 16px;
     border-radius: 18px;
     max-width: 75%;
     word-wrap: break-word;
     line-height: 1.5;
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
 }

 /* Mensagem da IA (Eva) */
 .message.bot {
     background-color: white;
     color: var(--text-color);
     align-self: flex-start;
     border-bottom-left-radius: 4px;
 }

 .message.bot strong {
     color: var(--primary-color);
 }

 /* Mensagem de Digitação */
 .typing-indicator {
     font-style: italic;
     color: #6c757d;
     background-color: #f0f0f0 !important;
 }

 /* Mensagem do Usuário (Interação/Ação) */
 .message.interaction {
     background-color: var(--primary-color);
     color: white;
     align-self: flex-end;
     margin-left: auto;
     border-bottom-right-radius: 4px;
 }

 .message-link {
     color: white;
     text-decoration: underline;
     font-weight: bold;
     display: block;
     margin-top: 5px;
 }

 /* Área de Opções/Entrada */
 .chat-input {
     padding: 15px 20px;
     background-color: #ffffff;
     border-top: 1px solid #dee2e6;
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
     gap: 10px;
     justify-content: center;
 }

 /* Botões de Opção */
 .option-btn {
     background-color: var(--secondary-color);
     color: var(--text-color);
     border: 1px solid #ced4da;
     padding: 10px 15px;
     border-radius: 20px;
     text-align: center;
     cursor: pointer;
     transition: background-color 0.2s;
     flex-grow: 1;
     max-width: calc(50% - 10px);
     font-size: 1em;
 }

 @media (max-width: 480px) {
     .option-btn {
         max-width: 100%;
         /* Um botão por linha no mobile */
     }
 }


 .option-btn:hover {
     background-color: #dee2e6;
 }