.hero {
  position: relative;
  padding: 236px 0 140px;
  overflow: hidden;
  background: var(--navy-950);
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url('../../imagens/hero-consultora.jpg');
  background-size: cover;
  background-position: 78% 30%;
  transform: scale(1.02);
}

.hero-photo::after { content: none; }

/* Camadas de sobreposição: escurece a esquerda pra legibilidade do texto,
   funde com o navy da marca e esmaece a base pra transição suave pra próxima seção */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(100deg, rgba(6,22,39,.97) 0%, rgba(6,22,39,.88) 32%, rgba(6,22,39,.52) 58%, rgba(6,22,39,.30) 78%, rgba(6,22,39,.55) 100%),
    linear-gradient(180deg, rgba(6,22,39,.15) 0%, rgba(6,22,39,0) 22%, rgba(6,22,39,0) 68%, var(--navy-950) 100%);
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(560px 400px at 82% 10%, rgba(61, 196, 122, .22), transparent 62%),
    radial-gradient(620px 460px at 8% 15%, rgba(46, 143, 224, .22), transparent 62%),
    radial-gradient(420px 320px at 55% 85%, rgba(28, 111, 196, .14), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
  animation: glow-drift 16s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-2%, 2%) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  margin-bottom: 22px;
  color: #fff;
}

.hero-copy h1 .underline {
  position: relative;
  background: linear-gradient(120deg, var(--gold-300) 0%, var(--green-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p.lead {
  font-size: 18px;
  color: rgba(255,255,255,.78);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero .eyebrow {
  color: var(--gold-300);
  background: rgba(28, 111, 196, .14);
  border-color: rgba(46, 143, 224, .32);
}
.hero .eyebrow .dot { background: linear-gradient(120deg, var(--gold-300), var(--green-400)); }

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero .btn-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }

.hero-trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
}

.hero-trust-item .icon-badge {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.hero-trust-item svg { width: 15px; height: 15px; color: var(--green-300); }

/* Visual mock — card mostrando redução de parcela */
.hero-visual { position: relative; margin-top: 175px; }

.hero-card {
  position: relative;
  background: rgba(251, 249, 245, .34);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  z-index: 2;
  animation: float-y 7s ease-in-out infinite;
}

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

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.hero-card-top span {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(31, 174, 102, .35);
}

.hero-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-compare .box {
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.hero-compare .box.before { background: var(--paper-dim); }
.hero-compare .box.after {
  background: linear-gradient(135deg, rgba(28, 111, 196, .8), rgba(31, 174, 102, .75));
  border: 1px solid rgba(255, 255, 255, .35);
}

.hero-compare .box label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.hero-compare .box.after label { color: rgba(255, 255, 255, .75); }

.hero-compare .box .value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}

.hero-compare .box.after .value { color: #fff; }

.hero-compare .arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.hero-compare .arrow svg { width: 16px; height: 16px; color: #fff; }

.hero-stat-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, .25);
}

.hero-stat-line .num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--blue-400) 0%, var(--green-300) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat-line .desc {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  line-height: 1.4;
}

.hero-float-chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  z-index: 3;
}

.hero-float-chip.chip-1 {
  top: -18px; right: -10px;
  animation: float-y 6s ease-in-out infinite;
  animation-delay: .4s;
}

.hero-float-chip.chip-2 {
  bottom: -22px; left: -24px;
  animation: float-y 8s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-float-chip .dot-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 0 rgba(31, 174, 102, .5);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(31, 174, 102, .5); }
  70% { box-shadow: 0 0 0 8px rgba(31, 174, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 174, 102, 0); }
}

@media (max-width: 980px) {
  .hero { padding: 190px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy p.lead { max-width: none; }
  .hero-visual { max-width: 460px; margin: 40px auto 0; }
}

@media (max-width: 560px) {
  .hero { padding: 150px 0 70px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}
