.v5-hero-stage {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  position: relative;
  min-height: 88vh;
  /* margin-top: 72px; */
  background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.v5-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .7s ease, transform .7s ease;
}

.v5-hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.v5-hero-content-wrap {
  position: relative;
  z-index: 2;
  min-height: calc(88vh - 72px);
  display: grid;
  align-items: center;
}

.v5-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
}

.v5-hero-copy {
  max-width: 620px;
  color: var(--ink);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease .15s, transform .6s ease .15s;
}

.v5-hero-slide.active .v5-hero-copy {
  opacity: 1;
  transform: translateY(0);
}

.v5-hero-eyebrow {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #205fc0;
}

.v5-hero-title {
  margin-top: .65rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

.v5-hero-headline { /* compat legado */
  margin-top: .2rem;
  font-size: clamp(2.25rem, 3.8vw, 3.75rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ink);
}

.v5-hero-subtitle { /* compat legado */
  margin-top: .9rem;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.45;
  font-weight: 600;
  color: #205fc0;
}

.v5-hero-lead {
  margin-top: 1.25rem;
  max-width: 58ch;
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  line-height: 1.7;
  color: #475569;
}

.v5-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.v5-hero-cta {
  display: inline-block;
  background: #1b75bc;
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(27, 117, 188, .26);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  text-align: center;
}

.v5-hero-cta:hover {
  background: #0f5fa0;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(27, 117, 188, .32);
}

.v5-hero-image-wrap {
  position: relative;
  height: clamp(380px, 60vh, 620px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #dbe5f2;
  box-shadow: 0 24px 55px rgba(15, 23, 42, .16);
}

.v5-hero-image-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v5-hero-mobile-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 21, 45, .18) 0%, rgba(8, 21, 45, .76) 100%);
}

.v5-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: .6rem;
  transform: translateX(-50%);
}

.v5-hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(32, 79, 156, .32);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}

.v5-hero-dot.active {
  background: #205fc0;
  transform: scale(1.2);
}


@media (max-width: 1024px) {
  .v5-hero-stage { min-height: 80vh; }
  .v5-hero-content-wrap { min-height: calc(80vh - 72px); }
  .v5-hero-image-wrap { height: clamp(340px, 52vh, 500px); }
  .v5-hero-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .v5-hero-stage {
    /* margin-top: 66px; */
    min-height: 78vh;
  }
  .v5-hero-content-wrap {
    min-height: calc(78vh - 66px);
    align-items: stretch;
  }
  .v5-hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }
  .v5-hero-image-wrap {
    height: calc(78vh - 66px);
    border-radius: 0;
    box-shadow: none;
    border: 0;
  }
  .v5-hero-mobile-overlay { display: block; }
  .v5-hero-copy {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 4.5rem;
    z-index: 3;
    color: #fff;
    max-width: none;
  }
  .v5-hero-copy .eyebrow { color: rgba(255, 255, 255, .92); }
  .v5-hero-title {
    font-size: clamp(1.35rem, 6vw, 1.9rem);
    color: #fff;
  }
  .v5-hero-eyebrow { color: rgba(255, 255, 255, .92); }
  .v5-hero-lead {
    font-size: .92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .95);
    max-width: 40ch;
  }
  .v5-hero-copy a:first-child {
    background: #fff;
    color: #1f447c;
  }
  .v5-hero-copy a:last-child {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .1);
    color: #fff;
  }
  .v5-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .v5-hero-cta {
    padding: 12px 22px;
    font-size: .84rem;
  }
  .v5-hero-dots { bottom: 22px; }
}



