/* =================================================================
   GIKSCALE — Redesign ClickUp-Inspired
   Remove divisão em blocos, adicionar flow e whitespace premium
   ================================================================= */

/* ── 1. Unified section backgrounds — sem alternância ────────── */

#problemas,
#processo,
#depoimentos {
  background-color: var(--navy);
}

/* ── 2. Mais espaço entre seções ────────────────────────────── */

@media (min-width: 769px) {
  :root {
    --section-py: 9rem;
  }
}

/* ── 3. Ambient glow no topo de cada seção (separador suave) ── */

#problemas,
#metodo,
#processo,
#resultados,
#depoimentos,
#servicos {
  position: relative;
}

#metodo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 400px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(28,143,163,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#processo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 400px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(228,106,26,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#depoimentos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 400px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(28,143,163,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Linha separadora ultra-sutil no topo de cada seção */
#problemas::after,
#metodo::after,
#processo::after,
#resultados::after,
#depoimentos::after,
#servicos::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.07) 30%,
    rgba(255,255,255,0.07) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* #resultados já tem ::before — não conflitar */
#resultados::before {
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(28,143,163,0.05) 0%, transparent 70%);
}

/* ── 4. Eyebrow — pill badge (ClickUp style) ─────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(28, 143, 163, 0.08);
  border: 1px solid rgba(28, 143, 163, 0.2);
  border-radius: var(--radius-full);
  padding: 5px 14px;
}

.eyebrow::before {
  display: none;
}

/* ── 5. Section headlines — maior impacto visual ─────────────── */

.section-headline {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.1;
}

/* ── 6. Problem cards — abertos, sem caixas ──────────────────── */

.problem-card {
  background: transparent;
  border: none;
  border-left: none;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: background var(--transition-base), transform var(--transition-base);
}

.problem-card:hover {
  background: rgba(17, 40, 71, 0.55);
  border-left: none;
  transform: translateY(-3px);
  box-shadow: none;
}

.problem-icon {
  background: rgba(228, 106, 26, 0.07);
  border: 1px solid rgba(228, 106, 26, 0.1);
  width: 52px;
  height: 52px;
}

.problems-grid {
  column-gap: var(--space-8);
  row-gap: var(--space-4);
  margin-top: var(--space-16);
}

/* ── 7. Pillar cards — abertos, sem caixas ───────────────────── */

.pillar-card {
  background: transparent;
  border: none;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: background var(--transition-base), transform var(--transition-base);
}

.pillar-card::before {
  display: none;
}

.pillar-card:hover {
  background: rgba(17, 40, 71, 0.55);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: none;
}

.pillars-grid {
  column-gap: var(--space-6);
  row-gap: 0;
  margin-top: var(--space-16);
}

.pillars-row-2 {
  column-gap: var(--space-6);
  row-gap: 0;
}

.pillars-row-2 .pillar-card {
  flex: 0 1 calc(33.333% - var(--space-6));
  max-width: calc(33.333% - var(--space-6));
}

@media (max-width: 1024px) {
  .pillars-row-2 .pillar-card {
    flex: 0 1 calc(50% - var(--space-6));
    max-width: calc(50% - var(--space-6));
  }
}

@media (max-width: 640px) {
  .pillars-row-2 .pillar-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ── 8. Process steps — layout vertical limpo ────────────────── */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  display: none;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-6);
  row-gap: var(--space-2);
  align-items: start;
  text-align: left;
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.step:first-child {
  border-top: none;
  padding-top: 0;
}

.step-number {
  grid-row: 1 / 3;
  align-self: start;
  margin-bottom: 0;
  width: 56px;
  height: 56px;
  font-size: var(--text-lg);
}

.step-title {
  align-self: end;
  margin-bottom: 0;
}

.step-desc {
  grid-column: 2;
}

@media (max-width: 768px) {
  .step {
    grid-template-columns: 52px 1fr;
  }
  .step-number {
    width: 44px;
    height: 44px;
    font-size: var(--text-base);
  }
}

/* ── 9. Metric blocks — números soltos, sem caixas ───────────── */

.metric-block {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: var(--space-10) var(--space-6);
  border-top: 2px solid rgba(228, 106, 26, 0.2);
  position: relative;
}

.metric-block::after {
  display: none;
}

.metrics-grid {
  gap: 0;
  margin-top: var(--space-16);
}

/* Divisores verticais entre métricas */
@media (min-width: 641px) {
  .metric-block {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }
  .metric-block:first-child {
    border-left: none;
  }
}

.metric-number {
  color: var(--white);
}

.metric-label {
  margin-top: var(--space-3);
}

/* ── 10. Testimonial proof banner — remover caixa pesada ─────── */

.testimonials-proof-banner {
  background: transparent;
  border: none;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: var(--space-16);
}

.testimonials-proof-banner::before {
  display: none;
}

/* ── 11. Testimonial cards — tratamento minimal ──────────────── */

.testimonial-card {
  background: rgba(11, 31, 58, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-top: 2px solid rgba(28, 143, 163, 0.2);
}

.testimonial-card:hover {
  background: rgba(17, 40, 71, 0.65);
  border-top-color: rgba(28, 143, 163, 0.4);
  border-color: rgba(28, 143, 163, 0.1);
}

/* ── 12. Service cards — não-featured mais leve ─────────────── */

.service-card:not(.featured) {
  background: rgba(17, 40, 71, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:not(.featured):hover {
  border-color: rgba(28, 143, 163, 0.2);
}

/* ── 13. Seção #resultados — remover background da métrica ───── */

/* Já sobrescrito acima; garantir que o gradiente de fundo persiste */
#resultados {
  background: var(--navy);
}

/* ── 14. Adjust container z-index para não sobrepor ::before ─── */

#metodo > .container,
#processo > .container,
#depoimentos > .container {
  position: relative;
  z-index: 2;
}

/* ── 15. Process section — z-index no layout ─────────────────── */

.process-layout {
  position: relative;
  z-index: 2;
}

/* ── 16. Section header z-index ──────────────────────────────── */

#metodo .section-headline,
#metodo .section-subtext,
#metodo .eyebrow,
#processo .section-headline,
#processo .process-tagline,
#processo .eyebrow,
#depoimentos .section-headline,
#depoimentos .eyebrow {
  position: relative;
  z-index: 2;
}

/* ── 17. Pillar número — mais destaque visual ────────────────── */

.pillar-number {
  color: rgba(28, 143, 163, 0.2);
  font-size: var(--text-5xl);
}

/* ── 18. Hero visual — suavizar a linha do chart ─────────────── */

.hero-chart-svg {
  opacity: 0.9;
}

/* ── 19. Nav — pequeno refinamento de sombra ─────────────────── */

#navbar {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* ── 20. Responsive overrides ────────────────────────────────── */

@media (max-width: 768px) {
  :root {
    --section-py: 5rem;
  }

  .problems-grid {
    column-gap: var(--space-4);
    row-gap: var(--space-3);
  }

  .metrics-grid {
    gap: var(--space-8);
  }

  .metric-block {
    border-left: none !important;
  }
}
