/* Estilos exclusivos do mini chat */
#chat-bubble {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  z-index: 99999;
  transition: 0.3s;
}
#chat-bubble:hover { transform: scale(1.1); }

#chat-window {
  position: fixed;
  bottom: 100px;
  right: 10px;
  width: 400px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
  z-index: 99998;
  animation: slideUp .4s ease;
}
.hidden { display: none !important; }

.chat-header {
  background: #075e54;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}
.chat-header img.avatar { width: 40px; height: 40px; border-radius: 50%; }
#close-chat { background: transparent; border: none; color: white; font-size: 18px; cursor: pointer; }

.chat-body {
  flex: 1;
  padding: 10px;
  background: #e5ddd5;
  overflow-y: auto;
  max-height: 350px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.msg { padding: 8px 12px; border-radius: 10px; font-size: 14px; max-width: 80%; }
.msg.bot { background: #fff; align-self: flex-start; }
.msg.user { background: #dcf8c6; align-self: flex-end; }

.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.option-btn {
  border: none;
  background: #25d366;
  color: white;
  padding: 6px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
}
.option-btn:hover { background: #1ebe5d; }

.chat-footer {
  display: flex;
  border-top: 1px solid #ccc;
  background: #f7f7f7;
}
.chat-footer input { flex: 1; border: none; padding: 10px; font-size: 14px; outline: none; }
.chat-footer button { background: #25d366; border: none; color: white; padding: 0 15px; cursor: pointer; }

.typing { background: white; padding: 8px; border-radius: 10px; display: flex; gap: 4px; align-self: flex-start; }
.typing span { width: 6px; height: 6px; background: #888; border-radius: 50%; animation: typing 1.4s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.5; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media(max-width:600px){
  #chat-window {
    width: 90%;
    right: 5%;
    bottom: 100px;
  }
  .options { grid-template-columns: repeat(2,1fr); }
}
.social-links {
  text-align: center;
  margin-top: 10px;
}

.social-links a {
  color: #d62976;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.social-links a:hover {
  color: #ff4fa3;
  text-decoration: underline;
}
