/* 
  ZENITE POLÍTICO — PREMIUM MIXED DESIGN SYSTEM v8.0
  Mobile Perfection & Grid Caching
*/

:root {
  --bg-deep: #020617;
  --bg-surface: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.6);
  --accent: #10b981; 
  --accent-glow: rgba(16, 185, 129, 0.15);
  
  --text-primary: #f1f5f9;  
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.15);
  
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-text: #0f172a;
  --light-text-secondary: #475569;
  --light-border: #e2e8f0;
  
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --container-max: 1200px;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- COMPONENTS --- */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding { padding: 120px 0; }
.text-center { text-align: center; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.t-h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
}

.t-lead {
  font-size: clamp(1rem, 3vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 48px;
}

/* Global Navbar */
.nav-main {
  position: fixed;
  top: 0; width: 100%;
  padding: 24px 0;
  background: rgba(2, 6, 23, 0.9);
  z-index: 1000;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo span { color: var(--accent); }

.nav-btn {
  display: flex;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-family: var(--font-head);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: #020617;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-primary:hover {
  background-color: #0cd18f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.05);
}

/* Hero Base */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 80px;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px; /* Limita o esticamento no desktop */
}

.hero-title {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Layout Utilities (Responsive fix) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-layout-reverse {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

/* Carousel Marquee */
.carousel-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(255,255,255,0.02);
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15vw;
  height: 100%;
  z-index: 2;
}
.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-deep) 0%, transparent 100%);
}
.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-deep) 0%, transparent 100%);
}

.carousel-track {
  display: inline-flex;
  gap: 60px;
  animation: scroll 40s linear infinite;
  align-items: center;
}

.carousel-item {
  color: var(--text-muted);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.5;
  transition: 0.3s;
}

.carousel-item:hover { opacity: 1; color: var(--text-primary); }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 30px)); }
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 40px;
  transition: 0.4s ease;
  text-align: left;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Light Theme */
.bg-light { background-color: var(--light-bg); color: var(--light-text); }
.bg-light .t-h2 { color: var(--light-text); }
.bg-light .t-lead { color: var(--light-text-secondary); }
.bg-light .t-eyebrow { color: #0f766e; }
.bg-light .glass-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  backdrop-filter: none;
}
.bg-light .glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.bg-light .glass-card h3 { color: var(--light-text); }
.bg-light .glass-card p { color: var(--light-text-secondary); }
.bg-light .btn-outline { border-color: #cbd5e1; color: var(--light-text); background: transparent; }

/* Decorative */
.problem-block { border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.bg-light.problem-block { border-top: 1px solid var(--light-border); border-bottom: 1px solid var(--light-border); }

.img-wrapper {
  background-color: var(--bg-surface);
  border-radius: 8px;
  height: 220px;
  margin-bottom: 24px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-light);
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border-light); padding: 24px 0; text-align: left; }
.faq-q { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }

/* Floating Icon (Custom Instead of default WhatsApp) */
.btn-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 9999;
  transition: 0.3s;
}
.btn-floating:hover { 
  transform: scale(1.1); 
  border-color: var(--accent);
}

footer {
  text-align: center;
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface);
}

/* =============== MOBILE RESPONSIVE FIXES v8.0 =============== */
@media (max-width: 900px) {
  
  /* Retirar os botões massivos do Topo no Celular para limpar a tela inicial */
  .nav-btn { display: none !important; }
  .nav-main { padding: 16px 0; border-bottom: none; background: rgba(2, 6, 23, 0.98); }
  
  /* Ajustes do sistema de colunas */
  .split-layout, .split-layout-reverse { grid-template-columns: 1fr; gap: 40px; }
  
  /* Resolvendo sobreposição de botões flutuantes em forms longos */
  .btn-floating {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  /* Ajuste massivo da Hero no mobile */
  .hero-section { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem) !important; text-align: center !important; }
  .hero-lead-text { text-align: center !important; margin: 0 auto 32px auto !important; }
  .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center !important; }
  
  /* CTAs no celular 100% de largura */
  .hero-ctas { justify-content: center !important; width: 100%; flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  
  /* Compactar os cartões para caber melhor na tela, afastando forms do ícone flutuante */
  .glass-card { padding: 24px; margin-bottom: 30px; }
  
  .section-padding { padding: 80px 0; }
}
