/* ================================
   🎨 Assinix - Estilo Principal
   ================================ */

/* Variáveis globais */
:root {
  --primary: #1abc9c;
  --primary-dark: #159a82;
  --bg: #f8f9fa;
  --muted: #6b7280;
  --text: #2c3e50;
  --card: #ffffff;
  --danger: #dc3545;
  --success: #28a745;
}

/* Reset / base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  padding-top: 90px; /* espaço para navbar fixa */
  line-height: 1.5;
}






/* ================================
   🧭 Navbar
   ================================ */
.main-navbar {
  position: fixed;
  top: 36px; left: 0;
  width: 100%;
  z-index: 1040;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--text) !important;
}

/* ================================
   🎛️ Botões
   ================================ */
.btn-primary-custom {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff;
  transition: 0.3s;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ================================
   🔍 Barra de pesquisa
   ================================ */
.search-input {
  max-width: 500px;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  box-shadow: inset 0 3px 10px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
}

/* ================================
   🖼️ Banner rotativo
   ================================ */
.banner-slide { position: relative; }
.banner-slide .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.banner-slide .content { position: relative; z-index: 2; max-width: 700px; padding: 20px; }

/* ================================
   🟩 Seção Assinix
   ================================ */
.assinix-section-elegante {
  max-width: 980px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  text-align: center;
}
.assinix-title {
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.assinix-description {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #555;
}
.assinix-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.assinix-card {
  flex: 1 1 280px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-radius: 12px;
  background: var(--card);
  transition: 0.3s;
}
.assinix-card:hover {
  box-shadow: 0 14px 40px rgba(26,188,156,0.12);
  transform: translateY(-6px);
}

/* ================================
   💰 Escrow
   ================================ */
.escrow-section {
  background: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
}
.escrow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.escrow-step {
  background: var(--card);
  padding: 1.6rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.04);
  flex: 1 1 200px;
  max-width: 260px;
  transition: 0.3s;
}
.escrow-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(26,188,156,0.12);
}

/* Escrow Simulador */
.escrow-card { border-radius: 12px; text-align: center; }
.escrow-card img { width: 80px; transition: transform 0.4s ease; }
.escrow-card img:hover { transform: scale(1.15); }
.escrow-visualization {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
}
#escrow-timeline .list-group-item.active {
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
}

/* ================================
   ✅ Benefícios
   ================================ */
.benefits-section { padding: 3.5rem 2rem; text-align: center; }
.benefits-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.benefit-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.6rem 1.25rem;
  text-align: center;
  flex: 1 1 220px;
  max-width: 260px;
  transition: 0.3s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(26,188,156,0.10);
}

/* ================================
   📚 FAQ
   ================================ */
#faq .accordion-button { font-weight: 600; color: #0d6efd; }
#faq .accordion-button:not(.collapsed) { background-color: #e9f5ff; }
#faq .accordion-body { color: #555; font-size: 1rem; }

/* ================================
   🦶 Footer
   ================================ */
.footer-full {
  background: #0f1720;
  color: #cfcfcf;
  font-size: 0.95rem;
  padding: 3rem 0 1rem;
}
.footer-bottom {
  background: #0b1112;
  color: #9aa4ad;
  font-size: 0.85rem;
  padding: 1rem 0;
  margin-top: 1rem;
}

/* ================================
   🍪 Cookie Banner
   ================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #f5f5f5;
  color: #333;
  font-size: 14px;
  padding: 15px;
  border-top: 2px solid #ddd;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-buttons { display: flex; gap: 10px; }
.cookie-buttons button {
  padding: 8px 15px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
  transition: 0.3s;
}
#acceptCookies { background: var(--success); color: white; }
#acceptCookies:hover { background: #218838; }
#rejectCookies { background: var(--danger); color: white; }
#rejectCookies:hover { background: #c82333; }

/* ================================
   💬 Botões Flutuantes + Popups
   ================================ */
#floating-buttons {
  position: fixed;
  bottom: 20px; right: 20px;
  display: none; /* aparece ao rolar */
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}
.floating-btn {
  width: 50px; height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* Popup genérico */
.popup {
  position: fixed;
  bottom: 80px; right: 20px;
  width: 300px; height: 350px;
  background: #fff;
  border: 2px solid #000;
  display: none;
  flex-direction: column;
  z-index: 1001;
}
.popup-header {
  background: #000; color: #fff;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.popup-body { flex: 1; padding: 10px; overflow-y: auto; }

/* Chat específico */
#chat-messages { display: flex; flex-direction: column; gap: 8px; }
.bot-message { background: #eee; padding: 6px; border: 1px solid #ccc; }
.user-message { background: #d1ffd1; padding: 6px; border: 1px solid #ccc; align-self: flex-end; }

/* ================================
   📱 Responsividade
   ================================ */
@media (max-width: 992px) {
  .main-title { font-size: 1.9rem; }
  .assinix-cards-wrapper { gap: 1rem; }
  .search-input { max-width: 360px; }
}
@media (max-width: 768px) {
  .main-title { font-size: 1.6rem; }
  .assinix-section-elegante { margin: 2.5rem auto; padding: 2rem 1rem; }
  .escrow-steps, .benefits-cards { flex-direction: column; gap: 1rem; }
  .footer-full { text-align: center; }
}
@media (max-width: 480px) {
  .top-banner { font-size: 12px; padding: 0 6px; }
  .floating-btn { width: 45px; height: 45px; }
  .popup { width: 90%; right: 5%; }
}




/* ================================
   🗣️ Depoimentos
   ================================ */
#depoimentos { 
  background: #f8f9fa; 
  padding: 4rem 2rem; 
}
#depoimentos .assinix-cards-wrapper {
  justify-content: center;
  gap: 1.5rem;
}
#depoimentos .assinix-card {
  flex: 1 1 280px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  transition: 0.3s;
}
#depoimentos .assinix-card:hover {
  box-shadow: 0 14px 40px rgba(26,188,156,0.12);
  transform: translateY(-6px);
}
#depoimentos .assinix-card img {
  width: 60px;
  margin-bottom: 15px;
}










/* ================================
   🚀 Como Começar
   ================================ */
#como-começar {
  background: #fff;
  padding: 4rem 2rem;
}
#como-começar .assinix-cards-wrapper {
  justify-content: center;
  gap: 1.5rem;
}
#como-começar .assinix-card {
  flex: 1 1 240px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-radius: 12px;
  background: #f8f9fa;
  transition: 0.3s;
}
#como-começar .assinix-card:hover {
  box-shadow: 0 14px 40px rgba(26,188,156,0.12);
  transform: translateY(-6px);
}
#como-começar .assinix-card img {
  width: 60px;
  margin-bottom: 15px;
}
