/* ==========================================================================
   ATNDIA — Landing Page Style (Design System Blue3 - Jhony Bosio)
   ========================================================================== */

/* 1. Configurações Globais & Variáveis */
:root {
  /* Paleta Oficial Sugerida por Jhony Bosio */
  --bg: #0b0f14;                /* Preto asfalto */
  --primary: #2563eb;           /* Azul IA */
  --text: #ffffff;              /* Branco puro */
  --panel: #1f2937;             /* Cinza painel */
  --success: #22c55e;           /* Verde oportunidade / sinal */
  --error: #ef4444;             /* Vermelho erro (auxiliar) */
  --accent: oklch(0.82 0.15 90); /* Destaques / Ouro requintado do DS */
  
  /* Bordas Translúcidas */
  --border: rgba(255, 255, 255, 0.06);
  
  /* Gradientes Dinâmicos */
  --primary-gradient: linear-gradient(135deg, #2563eb, #1d4ed8);
  --accent-gradient: linear-gradient(135deg, oklch(0.82 0.15 90), oklch(0.70 0.12 90));
  --dark-gradient: linear-gradient(180deg, #1f2937, #0b0f14);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

/* 2. Efeitos de Fundo (Glow & Vinheta) */
.vinheta {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, transparent 30%, rgba(11, 15, 20, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.glow-backface {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

.glow-backface.blue {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -120px;
  right: -120px;
}

.glow-backface.green {
  width: 500px;
  height: 500px;
  background: var(--success);
  bottom: 15%;
  left: -200px;
  opacity: 0.12;
}

/* 3. Tipografia Consistente */
h1, h2, h3, h4, .logo-text, .btn {
  font-family: 'Space Grotesk', sans-serif;
}

h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

strong {
  color: var(--text);
  font-weight: 700;
}

/* Efeito Glow nos Títulos */
.glow-text-blue {
  text-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
}

.glow-text-gold {
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

/* 4. Cabeçalho (Header Glassmorphic) */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(11, 15, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo ATNDIA */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.7rem;
  font-weight: 800;
  text-decoration: none;
}

.logo-icon {
  margin-right: -0.2rem;
}

.logo-text {
  color: var(--text);
  letter-spacing: -0.02em;
}

.ia-accent {
  color: var(--primary);
  text-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* 5. Seção Hero */
.hero-section {
  padding: 9.5rem 0 6rem 0;
  position: relative;
  z-index: 2;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.badge-error {
  color: var(--error);
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.15);
}

.badge-success {
  color: var(--success);
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.15);
}

.badge-accent {
  color: var(--accent);
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.15);
}

.hero-subtitle {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-desc-sec {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
}

/* Botões Customizados */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.2rem;
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #0b0f14;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.sub-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
  margin-top: 0.2rem;
}

.glow-button-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: var(--accent);
  opacity: 0;
  filter: blur(15px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.glow-button-gold:hover::after {
  opacity: 0.35;
}

/* Painel de Prova Social */
.hero-proof {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  width: 100%;
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.proof-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Visualizadores e Mockups */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-wrapper {
  width: 100%;
  max-width: 410px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  padding: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.5s ease;
}

.phone-wrapper:hover {
  transform: translateY(-5px) rotate(1deg);
}

.phone-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* 6. Seção de Desafios (Problema) */
.problem-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.section-header {
  max-width: 750px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1.2rem;
}

.grid-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card-problem {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.card-problem:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.06);
}

.problem-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.card-problem h4 {
  color: var(--text);
  margin-bottom: 0.6rem;
}

.card-problem p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* 7. Seção de Solução (Glassmorphism Box) */
.solution-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.card-glass {
  background: rgba(31, 41, 55, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 4.5rem;
  border-color: rgba(37, 99, 235, 0.15);
}

.solution-desc {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.5rem;
}

.solution-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 2.5rem 0;
}

.solution-example {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.solution-example strong {
  color: var(--success);
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 8. Seção Como Funciona */
.how-it-works-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
}

.step-card {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border);
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  opacity: 0.85;
  margin-bottom: 0.8rem;
}

.step-title {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.step-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* 9. Seção Módulos da Plataforma */
.modules-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.grid-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card-glass:hover {
  transform: translateY(-5px);
  background: rgba(31, 41, 55, 0.35);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.12);
}

.module-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.module-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

/* 10. Seção Benefícios */
.benefits-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.grid-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.benefit-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.benefit-check {
  color: var(--success);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.benefit-item h4 {
  color: var(--text);
  margin-bottom: 0.4rem;
}

.benefit-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* 11. CTA Final */
.cta-final-section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.cta-box {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(31, 41, 55, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cta-subtitle {
  max-width: 600px;
  margin: 1.2rem auto 2.5rem auto;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* 12. Rodapé (Footer) */
#main-footer {
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
  background: rgba(11, 15, 20, 0.9);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand {
  max-width: 420px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-signature {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* 13. Responsividade */
@media (max-width: 968px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-proof {
    justify-content: center;
    gap: 2rem;
  }
  
  .nav-links {
    display: none; /* Mobile */
  }
  
  .solution-box {
    padding: 3rem 2rem;
  }
  
  .cta-box {
    padding: 4rem 1.5rem;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .hero-proof {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}
