/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #1e3a8a, #2563eb, #60a5fa);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.header {
  width: 100%;
  text-align: center;
  padding: 12px;
  background: rgba(0,0,0,0.2);
  color: white;
  font-size: 30px;
}

/* HERO */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 42px;
}

.hero p {
  margin: 15px 0;
  font-size: 18px;
}

.hero button {
  background: white;
  color: #2563eb;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
}

.hero button:hover {
  transform: scale(1.05);
}

/* CHAT */
.chatbot-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-width: 90%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  overflow: hidden;
  z-index: 999;
}

/* MOBILE FULLSCREEN */
@media (max-width: 480px) {
  .chatbot-widget {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }
}

/* HEADER CHAT */
.chat-header {
  background: #2563eb;
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: bold;
}

/* BODY CHAT */
.chat-body {
  padding: 15px;
  max-height: 350px;
  overflow-y: auto;
}

/* MOBILE CHAT BODY */
@media (max-width: 480px) {
  .chat-body {
    max-height: calc(100vh - 120px);
  }
}

/* MENSAGENS */
.bot {
  background: #f3f4f6;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.user {
  background: #2563eb;
  color: white;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  text-align: right;
}

/* OPÇÕES */
.options button {
  margin: 4px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: white;
  cursor: pointer;
}

/* INPUT */
.user-input {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.user-input input {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.user-input button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px;
}

/* FOOTER CHAT */
.chat-footer {
  text-align: right;
  padding: 5px;
  background: #f9fafb;
}

/* BOTÃO FLUTUANTE */
.chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #2563eb;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 10px;
  font-size: 13px;
  background: rgba(0,0,0,0.2);
  color: white;
}

.footer a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}