/* BrasaOT - suporte: assistente automatico que encaminha para o WhatsApp */
.brasa-topo { bottom: 88px !important; }

.sup-botao {
  position: fixed; right: 18px; bottom: 18px; z-index: 9990; display: flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 18px 0 8px; border: 0; border-radius: 28px; cursor: pointer;
  background: #25d366; color: #fff; font: bold 14px Verdana, Arial, sans-serif;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transition: transform .15s, box-shadow .2s;
}
.sup-botao:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
.sup-botao svg { width: 40px; height: 40px; flex: none; }
.sup-botao .sup-aviso {
  position: absolute; top: -4px; right: -2px; width: 14px; height: 14px; border-radius: 50%;
  background: #ff3b3b; border: 2px solid #fff; animation: sup-pulso 1.8s infinite;
}
@keyframes sup-pulso { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

.sup-janela {
  position: fixed; right: 18px; bottom: 86px; z-index: 9991; width: 360px; max-width: calc(100vw - 24px);
  height: 520px; max-height: calc(100vh - 110px); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 16px; background: #f4efe8; box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  font: 13px/1.45 Verdana, Arial, sans-serif; color: #2b1d12;
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none; transition: opacity .2s, transform .2s;
}
.sup-janela.aberta { opacity: 1; transform: none; pointer-events: auto; }
.sup-topo { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(90deg, #2a1206, #6b2a08); color: #fff; }
.sup-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 35%, #ffb347, #e8741c); font-size: 20px;
}
.sup-topo b { display: block; font-size: 14px; }
.sup-topo small { color: #ffd9a8; font-size: 11px; }
.sup-topo small::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #5ad66e; margin-right: 5px; }
.sup-fechar { margin-left: auto; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; }
.sup-fechar:hover { background: rgba(255, 255, 255, .15); }

.sup-conversa { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.sup-msg { max-width: 85%; padding: 8px 11px; border-radius: 12px; white-space: pre-line; word-wrap: break-word; animation: sup-entra .2s ease-out; }
.sup-msg a { color: #b85b12; font-weight: bold; }
.sup-bot { align-self: flex-start; background: #fff; border-top-left-radius: 3px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.sup-eu { align-self: flex-end; background: #ffe0b8; border-top-right-radius: 3px; }
@keyframes sup-entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sup-digitando { align-self: flex-start; background: #fff; padding: 10px 14px; border-radius: 12px; display: flex; gap: 4px; }
.sup-digitando span { width: 7px; height: 7px; border-radius: 50%; background: #c4a88a; animation: sup-pula 1s infinite; }
.sup-digitando span:nth-child(2) { animation-delay: .15s; }
.sup-digitando span:nth-child(3) { animation-delay: .3s; }
@keyframes sup-pula { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }

.sup-opcoes { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
.sup-opcoes button {
  border: 1px solid #e8741c; background: #fff; color: #b85b12; border-radius: 16px; padding: 6px 11px;
  font: bold 12px Verdana, Arial, sans-serif; cursor: pointer; text-align: left;
}
.sup-opcoes button:hover { background: #e8741c; color: #fff; }
.sup-form { padding: 10px 12px 12px; border-top: 1px solid #e3d5c4; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.sup-form input, .sup-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #d8c4ab; border-radius: 8px; padding: 7px 9px;
  font: 13px Verdana, Arial, sans-serif; resize: none;
}
.sup-form button {
  border: 0; border-radius: 8px; padding: 9px; background: #e8741c; color: #fff; font: bold 13px Verdana, Arial, sans-serif; cursor: pointer;
}
.sup-whats {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 8px; padding: 11px;
  border-radius: 10px; background: #25d366; color: #fff !important; font: bold 14px Verdana, Arial, sans-serif;
  text-decoration: none !important; box-shadow: 0 3px 0 #1a9e4b;
}
.sup-whats svg { width: 22px; height: 22px; }
.sup-rodape { text-align: center; font-size: 10px; color: #8a7560; padding: 0 0 8px; }

@media (max-width: 600px) {
  .sup-botao { height: 50px; padding: 0 6px; }
  .sup-botao .sup-texto { display: none; }
  .sup-janela { right: 12px; bottom: 76px; height: calc(100vh - 100px); }
}
@media (prefers-reduced-motion: reduce) {
  .sup-janela, .sup-msg, .sup-botao .sup-aviso, .sup-digitando span { animation: none !important; transition: none !important; }
}
