/* =====================================================
   Hero v2 — Starfield + light beams (referência VEX)
   ===================================================== */

/* ---------- STARSCAPE wrapper (hero) ---------- */
.starscape {
  position: relative;
  background: #050507;
  isolation: isolate;
  overflow: hidden;
  /* puxa o wrapper sob o nav flutuante (substitui o margin-top do hero) */
  margin-top: -82px;
}
.starscape__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 30% at 50% 22%, rgba(20,22,32,0.6), transparent 70%),
    linear-gradient(180deg, #0a0a10 0%, #060609 60%, #050507 100%);
  pointer-events: none;
}
.starscape__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none; /* estrelas do fundo removidas (mantém sky + aurora) */
  z-index: 1;
  pointer-events: none;
}
.starscape__aurora {
  position: absolute;
  top: 6px;
  left: 50%;
  width: min(1600px, 142vw);
  height: 560px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 40% 56% at 27% 40%, rgba(74,238,178,0.26), transparent 70%),
    radial-gradient(ellipse 48% 52% at 53% 28%, rgba(96,182,255,0.22), transparent 72%),
    radial-gradient(ellipse 38% 50% at 80% 44%, rgba(158,128,255,0.15), transparent 70%);
  filter: blur(36px) saturate(1.2);
  -webkit-mask-image: radial-gradient(ellipse 86% 82% at 50% 24%, #000 0%, rgba(0,0,0,0.45) 52%, transparent 86%);
  mask-image: radial-gradient(ellipse 86% 82% at 50% 24%, #000 0%, rgba(0,0,0,0.45) 52%, transparent 86%);
  animation: aurora-breathe 17s ease-in-out infinite;
}
/* cortinas de luz verticais, suaves e fluidas */
.starscape__aurora::before,
.starscape__aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(94deg,
      transparent 0 74px,
      rgba(86,238,188,0.055) 104px,
      rgba(120,200,255,0.075) 132px,
      transparent 168px);
  filter: blur(12px);
  -webkit-mask-image: radial-gradient(ellipse 72% 96% at 50% 2%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 72% 96% at 50% 2%, #000 0%, transparent 72%);
  opacity: 0.6;
  animation: aurora-drift 21s ease-in-out infinite alternate;
}
.starscape__aurora::after {
  background:
    repeating-linear-gradient(86deg,
      transparent 0 96px,
      rgba(120,206,255,0.05) 128px,
      rgba(158,130,255,0.06) 160px,
      transparent 204px);
  opacity: 0.42;
  animation-duration: 26s;
  animation-direction: alternate-reverse;
}
@keyframes aurora-breathe {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.5; }
  50%      { transform: translateX(-50%) translateY(-10px) scale(1.035); opacity: 0.64; }
}
@keyframes aurora-drift {
  0%   { transform: translateX(-2.5%) skewX(0deg); }
  100% { transform: translateX(2.5%) skewX(-2.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .starscape__aurora,
  .starscape__aurora::before,
  .starscape__aurora::after { animation: none; }
}
/* fade suave no rodapé do wrapper para transicionar à próxima seção */
.starscape::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-v2 {
  position: relative;
  z-index: 3;
  min-height: 76vh;
  padding: 110px clamp(20px, 3vw, 40px) clamp(30px, 4vw, 50px);
  isolation: isolate;
  background: transparent;
}

/* ---------- conteúdo central ---------- */
.hero-v2__center {
  position: relative;
  z-index: 4;
  max-width: 1080px;
  margin: clamp(50px, 10vh, 130px) auto clamp(50px, 7vh, 90px);
  padding: 0 clamp(20px, 4vw, 40px);
  text-align: center;
}
/* ---------- trust pill (avatars + social proof) ---------- */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  margin: 0 auto clamp(24px, 3vw, 36px);
  background: rgba(10,12,17,0.88);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow:
    0 8px 24px -10px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03) inset;
}
.trust-pill__avatars {
  display: inline-flex;
  align-items: center;
}
.trust-pill__av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(14,14,22,0.95);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  /* placeholder enquanto não há imagem: gradiente âmbar/ciano variando */
  background:
    radial-gradient(circle at 30% 30%, rgba(255,138,42,0.5), rgba(198,90,0,0.7)),
    rgba(14,14,22,0.95);
}
/* z-index decrescente — primeira foto fica na frente, última atrás */
.trust-pill__av:nth-child(1) { z-index: 4; }
.trust-pill__av:nth-child(2) { z-index: 3; }
.trust-pill__av:nth-child(3) { z-index: 2; }
.trust-pill__av:nth-child(4) { z-index: 1; }
.trust-pill__av + .trust-pill__av { margin-left: -8px; }
.trust-pill__av img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* esconde alt text quando img falha */
  font-size: 0;
  color: transparent;
}
.trust-pill__text {
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}
.trust-pill__text strong {
  font-weight: 500;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.trust-pill__more {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 720px) {
  /* Trust pill: shorten copy, allow line wrap but keep avatars inline */
  .trust-pill {
    padding: 6px 14px 6px 7px;
    gap: 8px;
    max-width: calc(100% - 24px);
  }
  .trust-pill__av { width: 22px; height: 22px; }
  .trust-pill__text {
    font-size: 12.5px;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
  }
  .trust-pill__sep { display: none; }
  .trust-pill__more { display: none; }
  .trust-pill__text br { display: none; }
}

.hero-v2__eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(11px, 1.3vw, 12.5px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 16px;
}
.hero-v2__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255,138,42,0.6);
}
.hero-v2__title {
  /* H1 hero, Geist display, presenca editorial. */
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 clamp(20px, 2.5vw, 32px);
  text-wrap: balance;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}
.hero-v2__title *,
.hero-v2__title .amber {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}
.hero-v2__title .serif {
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-v2__title .amber {
  color: var(--amber);
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.hero-v2__sub {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: #DCD7CD;
  max-width: 620px;
  margin: 0 auto clamp(24px, 3vw, 36px);
  text-wrap: wrap;
}

.hero-v2__actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-v2 .btn {
  -webkit-font-smoothing: antialiased;
}
.hero-v2__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.hero-v2__btn--primary {
  background: var(--ink);
  color: #0a0a0a;
}
.hero-v2__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px -16px rgba(255,255,255,0.45);
}
.hero-v2__btn--ghost {
  background: rgba(20,20,28,0.6);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-v2__btn--ghost:hover {
  background: rgba(30,30,38,0.7);
  border-color: rgba(255,255,255,0.25);
}

/* ---------- chip inferior ---------- */
.hero-v2__chip {
  position: absolute;
  bottom: clamp(60px, 9vh, 120px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 12px 28px;
  border-radius: 999px;
  background: rgba(15,15,22,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-v2__chip i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  margin: 0 4px;
  box-shadow: 0 0 8px rgba(255,138,42,0.6);
}

/* ---------- separador na trust pill ---------- */
.trust-pill__sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 12px;
  background: rgba(255,255,255,0.24);
  vertical-align: -2px;
}

/* ---------- botão secundário (ghost-like) ---------- */
.hero-v2__btn--secondary {
  background: rgba(20,20,28,0.6);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.12);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-v2__btn--secondary:hover {
  background: rgba(30,30,38,0.7);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* ---------- linha de urgência ---------- */
.hero-v2__urgency {
  margin: clamp(20px, 2.5vw, 28px) auto 0;
  font-family: var(--f-mono);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  opacity: 0.85;
}
.hero-v2__urgency .amber {
  color: var(--amber);
  margin-right: 4px;
}

/* ---------- prova social âncora (depoimento curto sob CTA) ---------- */
.hero-v2__proof {
  margin: clamp(32px, 4vw, 48px) auto 0;
  max-width: 540px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  background: rgba(10,12,17,0.88);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.hero-v2__proof-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,138,42,0.35);
  background: var(--bg-2);
}
.hero-v2__proof-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-v2__proof-quote {
  flex: 1;
  margin: 0;
  min-width: 0;
}
.hero-v2__proof-quote p {
  margin: 0 0 4px;
  font-family: var(--f-sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.hero-v2__proof-quote p strong {
  font-family: var(--f-sans);
  font-weight: 600;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.hero-v2__proof-quote figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.hero-v2__proof-stars {
  color: var(--amber);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.hero-v2__proof-name {
  color: var(--ink);
  font-weight: 500;
}
.hero-v2__proof-role {
  color: var(--ink-3);
}

@media (max-width: 560px) {
  .hero-v2__center {
    margin: clamp(28px, 5vh, 48px) auto clamp(40px, 6vh, 70px);
    padding: 0 18px;
  }
  .hero-v2__title {
    font-size: clamp(34px, 8.8vw, 40px);
    line-height: 1.02;
  }
  .hero-v2__sub {
    font-size: 14.5px;
    line-height: 1.5;
  }
  .hero-v2__proof { padding: 12px 14px 12px 12px; gap: 12px; }
  .hero-v2__proof-avatar { width: 42px; height: 42px; }
  .hero-v2__proof-quote p { font-size: 13.5px; }
  .hero-v2__proof-quote figcaption { gap: 6px; font-size: 10px; }
}

/* ---------- responsivo ---------- */
@media (max-width: 760px) {
  .hero-v2__urgency { font-size: 12px; }
  .trust-pill__text { white-space: normal; text-align: center; }
}


/* =====================================================
   STICKY GLOBAL NAV (persists on scroll)
   ===================================================== */
.nav.nav--sticky {
  position: sticky;
  top: 18px;
  z-index: 50;
  margin-top: 18px;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, padding .25s ease;
}
.nav.nav--sticky.is-scrolled {
  background: rgba(8,8,12,0.78);
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 18px 50px -22px rgba(0,0,0,0.85);
}
/* o wrapper .starscape agora carrega o margin-top: -82px;
   o hero mantém apenas o padding-top interno (110px) */
