/* HOME PAGE DE ELITE - CSS */

/* ========== SEÇÃO 1: BARRA DE CREDIBILIDADE ========== */
.credibility-bar {
  background: #0f0e17;
  color: #fffffe;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  font-size: 0.9rem;
  font-weight: 500;
}

.ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SEÇÃO 2: HERO ========== */
.hero-section {
  padding: 80px var(--s-x) 100px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-pre {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-primary);
  margin-bottom: 20px;
}

.hero-h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--c-ink);
  animation: subir 0.6s ease forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--c-ink-60);
  margin-bottom: 32px;
  animation: subir 0.6s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  animation: subir 0.6s 0.4s ease both;
}

.hero-microcopy {
  font-size: 0.85rem;
  color: var(--c-ink-40);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  animation: subir 0.6s 0.6s ease both;
}

@keyframes subir {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Visual */
.hero-mockup {
  position: relative;
  animation: subir 0.6s 0.8s ease both;
}

.mockup-window {
  background: white;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(91,79,232,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.mockup-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 100px rgba(91,79,232,0.2), 0 0 0 1px rgba(0,0,0,0.05);
}

.mockup-header {
  background: linear-gradient(135deg, #5b4fe8 0%, #7c3aed 100%);
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.mockup-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  opacity: 0.9;
}

.mockup-content {
  padding: 32px;
  background: #fafafa;
}

.mockup-section {
  margin-bottom: 24px;
  padding: 16px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.mockup-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #5b4fe8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.mockup-line {
  height: 10px;
  background: linear-gradient(90deg, #e0e0e0 0%, #f0f0f0 100%);
  border-radius: 5px;
  margin-bottom: 8px;
  animation: shimmer 2s ease-in-out infinite;
}

.mockup-line-bold {
  height: 12px;
  background: linear-gradient(90deg, #d1d5db 0%, #e5e7eb 100%);
}

.mockup-highlight {
  background: #f8f7ff;
  border-left: 3px solid #5b4fe8;
  padding: 12px;
  margin: 12px 0;
  border-radius: 4px;
}

.mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
  margin-top: 16px;
}

.mockup-badge svg {
  color: #16a34a;
}

/* Floating badges */
.hero-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f0e17;
  animation: float 3s ease-in-out infinite;
}

.hero-floating-badge-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero-floating-badge-2 {
  bottom: 30%;
  right: -5%;
  animation-delay: 1s;
}

.hero-floating-badge-3 {
  top: 50%;
  left: -10%;
  animation-delay: 2s;
}

.badge-icon {
  font-size: 1.1rem;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-floating-badge {
    display: none;
  }
  
  .mockup-content {
    padding: 20px;
  }
}

/* ========== SEÇÃO 3: EMPRESAS ========== */
.empresas-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--c-ink-60);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.empresas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 32px;
  align-items: center;
  justify-items: center;
  margin-bottom: 32px;
}

.empresa-logo {
  opacity: 0.6;
  transition: all 0.3s;
  text-align: center;
}

.empresa-logo:hover {
  opacity: 1;
}

.empresa-nome {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-ink-60);
  display: block;
  padding: 12px 16px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
}

.empresa-logo img {
  max-width: 100px;
  height: auto;
}

.empresas-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--c-ink-40);
  max-width: 700px;
  margin: 0 auto;
}

/* ========== SEÇÃO 4: PROBLEMA ========== */
.problema-card {
  text-align: center;
  padding: 32px;
  transition: transform 0.3s;
}

.problema-card:hover {
  transform: translateY(-4px);
}

.problema-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.problema-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink-60);
}

.problema-transicao {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--c-ink-80);
  max-width: 800px;
  margin: 60px auto 0;
}

/* ========== SEÇÃO 5: PIPELINE ========== */
.section-pre {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-primary);
  margin-bottom: 16px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--c-ink);
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-ink-60);
  max-width: 700px;
  margin: 0 auto 60px;
}

.pipeline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.pipeline-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pipeline-box {
  background: white;
  border: 2px solid var(--c-ink-10);
  border-radius: 12px;
  padding: 24px 32px;
  min-width: 200px;
  text-align: center;
}

.pipeline-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-ink-40);
  margin-bottom: 8px;
}

.pipeline-model {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.pipeline-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-ink-60);
}

.pipeline-arrow {
  font-size: 2rem;
  color: var(--c-primary);
  font-weight: 800;
  align-self: center;
}

.pipeline-compliance {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.compliance-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  min-width: 280px;
}

.compliance-box .pipeline-title {
  color: rgba(255,255,255,0.8);
}

.compliance-box .pipeline-desc {
  color: rgba(255,255,255,0.9);
}

.pipeline-legenda {
  text-align: center;
  font-size: 1rem;
  color: var(--c-ink-60);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pipeline {
    flex-direction: column;
  }
  
  .pipeline-step {
    width: 100%;
  }
  
  .pipeline-arrow {
    transform: rotate(90deg);
  }
  
  .pipeline-box {
    width: 100%;
  }
}

/* ========== SEÇÃO 6: PASSOS ========== */
.passos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.passo-card {
  text-align: center;
  padding: 32px;
}

.passo-numero {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--c-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.passo-titulo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-ink);
}

.passo-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink-60);
}

.passos-nota {
  background: rgba(239,68,68,0.1);
  border-left: 4px solid var(--c-danger);
  padding: 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-ink-80);
  max-width: 800px;
  margin: 0 auto;
}

/* ========== SEÇÃO 7: FUNCIONALIDADES ========== */
.funcionalidade-card {
  padding: 32px;
  position: relative;
  transition: transform 0.3s;
}

.funcionalidade-card:hover {
  transform: translateY(-4px);
}

.func-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.func-titulo {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-ink);
}

.func-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-ink-60);
  margin-bottom: 16px;
}

.func-badge {
  display: inline-block;
  background: var(--c-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ========== SEÇÃO 8: COMPARATIVO ========== */
.comparativo-table {
  margin-bottom: 32px;
}

.comparativo-disclaimer {
  background: rgba(239,68,68,0.1);
  border-left: 4px solid var(--c-danger);
  padding: 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-ink-80);
  max-width: 900px;
  margin: 0 auto;
}

/* ========== SEÇÃO 9: BENEFÍCIOS ========== */
.beneficio-card {
  text-align: center;
  padding: 32px;
  transition: transform 0.3s;
}

.beneficio-card:hover {
  transform: translateY(-4px);
}

.beneficio-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.beneficio-titulo {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-ink);
}

.beneficio-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-ink-60);
}

/* ========== SEÇÃO 10: PLANOS HOME ========== */
.plans-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
  align-items: stretch; /* CRÍTICO — mesma altura */
}

.plan-card-home {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 2px solid var(--c-ink-10);
  border-radius: 16px;
  padding: 32px 24px 28px; /* padding-top maior para o badge */
  text-align: center;
  transition: all 0.3s;
  overflow: visible; /* permite badge aparecer fora */
  height: 100%; /* todos os cards mesma altura */
  box-sizing: border-box;
  margin-top: 16px; /* espaço para o badge */
}

.plan-card-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.plan-card-home.popular {
  border-color: var(--c-primary);
  box-shadow: 0 8px 32px rgba(91,79,232,0.15);
}

.popular-badge-home {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-primary);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  z-index: 10;
}

.plan-tag-home {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-primary);
  margin-bottom: 12px;
}

.plan-headline-home {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--c-ink);
  line-height: 1.4;
}

.plan-price-home {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: 8px;
}

.plan-period-home {
  font-size: 0.9rem;
  color: var(--c-ink-40);
  margin-bottom: 20px;
  display: block;
}

.plan-features-home {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
  flex: 1; /* ocupa todo espaço disponível */
}

.plan-features-home li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--c-ink-60);
}

/* Botões dos planos na home */
.plan-card-home .rb-btn {
  margin-top: auto; /* cola o botão no fundo */
  width: 100%;
  box-sizing: border-box;
  padding: 14px 20px;
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: normal; /* permite quebra de linha */
  overflow: visible;
  text-overflow: clip;
}

.plans-footer-home {
  text-align: center;
  font-size: 0.95rem;
  color: var(--c-ink-60);
  margin-top: 16px;
}

.plans-footer-home a {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: none;
}

.plans-footer-home a:hover {
  text-decoration: underline;
}

/* ========== SEÇÃO 11: FAQ ========== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

/* ========== SEÇÃO 12: CTA FINAL ========== */
.cta-final {
  background: linear-gradient(135deg, #0f0e17 0%, #1a1a2e 100%);
  color: white;
  padding: 100px var(--s-x);
  text-align: center;
}

.cta-final-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.cta-final-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-final-btn {
  margin-bottom: 20px;
  animation: pulse-cta 3s ease-in-out infinite;
}

@keyframes pulse-cta {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cta-final-micro {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.cta-final-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ========== ANIMAÇÕES ========== */
.rb-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.rb-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
  .plans-grid-home {
    grid-template-columns: 1fr;
  }
  
  .empresas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
