/* ANTES DE COMEÇAR — 3 promessas + CTA bridge */
/* Stepper horizontal numerado: 3 etapas conectadas por linha pontilhada cyan
   (substitui o grid de 3 cards brancos) */
.pre-stepper {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  counter-reset: pre-step;
}
.pre-stepper::before {
  /* linha pontilhada cyan que conecta os steps horizontalmente */
  content: "";
  position: absolute;
  top: 22px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(0,184,255,0.45) 50%, transparent 50%);
  background-size: 6px 2px;
  background-repeat: repeat-x;
  background-position: center;
  z-index: 0;
}
.pre-step {
  position: relative;
  z-index: 1;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pre-step-num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #00A8FF 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-feature-settings: 'tnum';
  margin-bottom: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 6px 16px -4px rgba(0,184,255,0.40),
    0 0 0 4px var(--bg-subtle);
}
.pre-step-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.012em;
  margin: 0 0 8px;
}
.pre-step-body p {
  font-size: 14.5px;
  line-height: 23px;
  color: #4A5568;
  margin: 0;
  max-width: 32ch;
}

/* ===== CTA bridge: desaguar no contato ===== */
.pre-cta {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  padding: 30px 36px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 16px 40px -16px rgba(8,21,63,0.20),
    0 40px 100px -30px rgba(8,21,63,0.26),
    0 60px 140px -40px rgba(0,184,255,0.16);
}
.pre-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(0,184,255,0.16), transparent 70%),
    radial-gradient(ellipse 50% 70% at 90% 50%, rgba(37,70,189,0.30), transparent 70%),
    linear-gradient(180deg, #0E1B36 0%, #0A1B5C 50%, #08153F 100%);
}
.pre-cta-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 90%);
  pointer-events: none;
}
.pre-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.pre-cta-text { flex: 1 1 360px; min-width: 0; }
.pre-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.pre-cta-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0,184,255,0.50);
  animation: preCtaPulse 2s ease-out infinite;
}
@keyframes preCtaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,184,255,0.50); }
  100% { box-shadow: 0 0 0 10px rgba(0,184,255,0); }
}
.pre-cta-text h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}
.pre-cta-text p {
  margin: 0;
  font-size: 15px;
  line-height: 23px;
  color: rgba(245,247,252,0.72);
  max-width: 540px;
}
.pre-cta-btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--brand);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 8px 22px -6px rgba(0,184,255,0.50),
    0 2px 4px rgba(0,0,0,0.10);
}
.pre-cta-btn:hover {
  background: #fff;
  color: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 14px 32px -6px rgba(0,184,255,0.65),
    0 4px 8px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .pre-stepper {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pre-stepper::before {
    /* linha vira vertical em mobile, alinhada com os números */
    top: 22px;
    bottom: 22px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background-image: linear-gradient(180deg, rgba(0,184,255,0.45) 50%, transparent 50%);
    background-size: 2px 6px;
    background-repeat: repeat-y;
  }
  .pre-step { padding: 0; flex-direction: row; align-items: flex-start; gap: 16px; }
  .pre-step-num { margin-bottom: 0; flex-shrink: 0; }
  .pre-step-body { padding-top: 6px; }
  .pre-cta-content { flex-direction: column; align-items: flex-start; gap: 22px; }
  .pre-cta-text h3 { font-size: 22px; }
}
@media (max-width: 540px) {
  .pre-cta { padding: 26px 22px; }
  .pre-cta-text h3 { font-size: 20px; }
}
