/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* CORES PRINCIPAIS */
:root {
  --bg-color: #0f172a;
  --text-color: #f8fafc;
  --accent-color: #38bdf8;
}

/* BODY */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  scroll-behavior: smooth;
}

/* NAVBAR */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent-color);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* HERO SECTION */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.hero-buttons {
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 30px;
  background: var(--accent-color);
  color: var(--bg-color);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--bg-color);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background-color: #1e293b;
  color: #94a3b8;
}

/* CONTATO PRINCIPAL*/
/* Página de Contato */
/* ===== Fundo e layout geral ===== */
body.contact-body {
  background-color: #0f172a;
  font-family: 'Poppins', sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 40px;
}

/* ===== Container principal ===== */
.contact-container {
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

/* ===== Título ===== */
.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #fff;
}

/* ===== Estrutura de layout ===== */
.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

/* ===== Formulário ===== */
.contact-left {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.contact-left form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  gap: 15px;
}

.contact-left input,
.contact-left textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #334155;
  background-color: transparent;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-left textarea {
  resize: none;
  height: 140px;
}

.contact-left button {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-left button:hover {
  background-color: #1e40af;
}

/* ===== Contatos ===== */
.contact-right {
  flex: 1;
  min-width: 250px;
  text-align: left;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.contact-right ul {
  list-style: none;
  padding: 0;
}

.contact-right li {
  margin: 18px 0;
}

.contact-right a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: 0.3s;
}

.contact-right a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* ===== Botão voltar ===== */
.back-button {
  display: inline-block;
  margin-top: 50px;
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.95rem;
}

.back-button:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ===== Responsividade ===== */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }

  .contact-right {
    text-align: center;
    margin-top: 40px;
  }
}

/* ==== CHATBOT ==== */
#chatbot-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #6c63ff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#chatbot-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9998;
}

#chatbot-box.hidden {
  display: none;
}

#chatbot-box.minimized {
  height: 40px;
  overflow: hidden;
}

.chatbot-header {
  background-color: #5b5bff;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
}

.chatbot-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.message {
  margin-bottom: 10px;
  white-space: pre-wrap;
}

.message.bot {
  color: #333;
}

.message.user {
  text-align: right;
  color: #5b5bff;
}

.chatbot-footer {
  display: flex;
  align-items: center;
  padding: 8px;
  border-top: 1px solid #ddd;
  background: #f9f9f9;
}

#chat-input {
  flex: 1;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin: 0 5px;
}

#send-btn {
  background-color: #5b5bff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
}

#language-select {
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 4px;
  font-size: 13px;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #38bdf8;
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.chat-controls button {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  margin-left: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.chat-controls button:hover {
  color: #e0f7ff;
}
/* ==== CONTEUDO PARA OS BOTOES ==== */

#chatbot-controls {
  display: flex;
  align-items: center;
  gap: 5px;
}

#chatbot-controls button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s ease;
}

#chatbot-controls button:hover {
  color: #d0f0ff;
}



