/* =======================================================
   🌐 Niobium CRM - Estilos Gerais
   ======================================================= */

/* Reset e fonte padrão */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html, body {
  height: 100%;
}

body {
  overflow-y: auto;
  font-family: 'Inter', sans-serif;
}

/* Estrutura geral da página */
.page-container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.hidden {
  display: none;
}

/* =======================================================
   🎨 Background de Login
   ======================================================= */
.login-bg {
  background-image: url('https://assembleia.org.br/wp-content/uploads/2016/06/Papel-de-Parede-fundo-azul-petroleo-com-mosaicos-35673-1024x640.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.login-container {
  position: relative;
  z-index: 1;
}

/* =======================================================
   🧱 Estrutura das Seções
   ======================================================= */
.hero-section,
.login-section {
  min-height: calc(100vh - 160px);
}

.login-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  background-color: white;
  overflow-y: auto;
}

/* =======================================================
   🌙 Utilitários e Ajustes
   ======================================================= */
img.invert {
  filter: invert(1);
}

/* =======================================================
   📱 Responsividade Geral
   ======================================================= */
@media screen and (max-width: 768px) {
  .text-5xl { font-size: 2rem; }
  .text-4xl { font-size: 1.5rem; }
  .text-3xl { font-size: 1.25rem; }
  .text-xl { font-size: 1rem; }
  .text-lg { font-size: 0.95rem; }
  .max-w-xl { max-width: 90%; }
  .py-36, .py-24, .py-20 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .px-6 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
  .md\:w-1\/3 {
    width: 100% !important;
  }
}

/* =======================================================
   📱 Ajustes Mobile para Header e Login
   ======================================================= */
@media screen and (max-width: 768px) {
  header.flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  header nav.flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .login-section .w-3\/4 {
    width: 100% !important;
    height: 200px;
  }
  .login-section .w-1\/4 {
    width: 100% !important;
    padding: 2rem !important;
  }
  .login-section .flex {
    flex-direction: column !important;
    height: auto !important;
  }
  .login-section .text-4xl {
    font-size: 1.5rem !important;
    text-align: center;
  }
  .login-section .p-10 {
    padding: 1rem !important;
  }
}

/* =======================================================
   📱 Header responsivo (layout mobile)
   ======================================================= */
@media (max-width: 768px) {
  header#main-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  #main-header .flex.items-center {
    flex: 0 1 auto !important;
  }
  #mobile-menu-btn {
    order: 2;
  }
}


/* =======================================================
   ⚡ OPÇÃO 1 - COMPARATIVO (Ícone + Tipografia minimalista)
   ======================================================= */
.comparativo-card {
  background: linear-gradient(145deg, var(--tw-gradient-stops));
  border-radius: 1.25rem;
  padding: 2.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.comparativo-card:nth-child(2) {
  animation-delay: 0.3s;
}

.comparativo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

#comparativo .titulo {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.3px;
}

.comparativo-card .lista {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.comparativo-card .lista li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 0.75rem;
  gap: 0.6rem;
  transition: transform 0.2s ease;
}

.comparativo-card .lista li:hover {
  transform: translateX(4px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* =======================================================
   💎 SEÇÃO DE PREÇO - Layout 2 colunas
   ======================================================= */
#preco h2 {
  letter-spacing: -0.3px;
}

.preco-card {
  transition: all 0.3s ease;
}

.preco-card:hover {
  transform: translateY(-4px);
}

.preco-card span {
  line-height: 1;
}

.botao-plano {
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.botao-plano:hover {
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.25);
}

@media (max-width: 768px) {
  #preco .grid {
    grid-template-columns: 1fr;
  }
  #preco .preco-card {
    margin-top: 2rem;
  }
}
