/* ==========================================================================
   Sales Conecta — Folha de Estilos Corporativa (CSS Moderno)
   ========================================================================== */

:root {
  --bg-dark: #070c18;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --color-primary: #8b5cf6;
  --color-accent: #10b981;
  --color-cyan: #06b6d4;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere */
.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-1 {
  position: absolute;
  top: -120px;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
  filter: blur(80px);
}

.glow-orb-2 {
  position: absolute;
  top: 40%;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  filter: blur(90px);
}

.glow-orb-3 {
  position: absolute;
  bottom: 50px;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  filter: blur(100px);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 65%, transparent 100%);
}

/* Containers e Layout */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Tipografia e Gradientes */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, #c084fc 65%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #d8b4fe 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(7, 12, 24, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #10b981 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 30px -4px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.btn-accent {
  background: #10b981;
  color: #070c18;
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.4);
  font-weight: 700;
}

.btn-accent:hover {
  background: #34d399;
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--color-primary);
}

.btn:active {
  transform: scale(0.98);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
  color: #d8b4fe;
}

.badge-green {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
}

/* Glass Panels e Cards */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
}

.glass-card {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -12px rgba(139, 92, 246, 0.2);
}

/* HERO SECTION */
.hero-section {
  padding: 5rem 0 7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.4rem;
  letter-spacing: -0.03em;
  margin: 1.25rem 0;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
}

.stat-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Simulador do Card SDR na Hero */
.mockup-box {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #eab308; }
.dot-green { background-color: #10b981; }

.mockup-badge {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.mockup-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.step-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.825rem;
}

.step-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-title {
  font-weight: 600;
  color: #ffffff;
}

.step-sub {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.step-tag {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #34d399;
}

.meeting-highlight {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
}

.meeting-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.meeting-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #34d399;
}

.meeting-time {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.meeting-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
}

.meeting-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* SEÇÃO COMPARATIVA (PROBLEMA VS SOLUÇÃO) */
.section-problem {
  padding: 5rem 0;
  background: rgba(3, 7, 18, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.card-bad {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.card-good {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

.card-good::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
}

.check-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #cbd5e1;
}

.icon-bad {
  color: #ef4444;
  font-weight: 800;
}

.icon-good {
  color: #10b981;
  font-weight: 800;
}

/* SERVIÇOS EM GRID */
.services-section {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.icon-purple { background: rgba(139, 92, 246, 0.12); color: #a78bfa; }
.icon-cyan   { background: rgba(6, 182, 212, 0.12); color: #22d3ee; }
.icon-green  { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.icon-indigo { background: rgba(99, 102, 241, 0.12); color: #818cf8; }
.icon-pink   { background: rgba(236, 72, 153, 0.12); color: #f472b6; }
.icon-amber  { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FLUXO PASSO A PASSO (EXEMPLO REAL) */
.flow-section {
  padding: 5rem 0;
  background: rgba(3, 7, 18, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.flow-step {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.flow-step-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.bg-p1 { background: #8b5cf6; }
.bg-p2 { background: #06b6d4; }
.bg-p3 { background: #6366f1; }
.bg-p4 { background: #10b981; color: #070c18; }

.flow-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.flow-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.quote-highlight {
  margin-top: 3.5rem;
  padding: 1.75rem;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.12) 0%, rgba(16, 185, 129, 0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #f1f5f9;
}

/* CALCULADORA DE ROI */
.calc-section {
  padding: 6rem 0;
}

.calc-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding: 3rem;
  border-radius: 24px;
}

.slider-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.925rem;
}

.slider-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-accent);
}

.slider-val-purple {
  color: var(--color-primary);
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 5px;
  outline: none;
  accent-color: #10b981;
  cursor: pointer;
}

.calc-display {
  background: rgba(10, 15, 29, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-metric-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
}

.revenue-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #34d399;
}

/* FORMULÁRIO DE CONTATO */
.contact-section {
  padding: 5rem 0 7rem;
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-success-box {
  display: none;
  padding: 2rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  text-align: center;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #04070e;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.825rem;
  color: #64748b;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-box {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .flow-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .calc-box, .contact-card {
    padding: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Oferta "sem mensalidade" no hero */
.hero-offer {
  margin: 0 0 1.75rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  color: #d1fae5;
  font-size: 0.95rem;
  max-width: 560px;
}
.hero-offer strong { color: #6ee7b7; }

/* Redes sociais no rodapé (cadastradas no painel) */
.social-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.social-links a {
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
}
.social-links a:hover { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
