/* Hero autonome — chargé après styles.css pour isoler ses ajustements. */
.hero-showcase {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - (2 * var(--pad-x))));
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: max(calc(var(--nav-h) + 32px), 12svh) clamp(36px, 7svh, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
}

.hero-title {
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  line-height: .89;
  letter-spacing: -.022em;
  text-align: center;
}

.hero-title-line {
  display: block;
  padding: .035em .05em .06em;
  white-space: nowrap;
  will-change: transform, opacity;
}

.hero-title-outline {
  color: transparent;
  font-size: clamp(32px, 4.3vw, 82px);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: clamp(1px, .12vw, 2px) #fff;
  text-shadow: none;
  filter: none;
}

.hero-title-key {
  margin-top: .06em;
  color: #fff;
  font-size: clamp(38px, 5.25vw, 101px);
  line-height: .88;
}

.hero-cta {
  min-height: 56px;
  margin-top: clamp(20px, 2.8svh, 30px);
  padding: 15px 34px;
  font-size: 16px;
}

.hero-scroll {
  position: static;
  left: auto;
  bottom: auto;
  z-index: 3;
  margin-top: clamp(24px, 4svh, 42px);
  transform: none;
}

.hero-scrim {
  background:
    radial-gradient(ellipse 68% 54% at 50% 52%, rgba(0, 18, 49, .67) 0%, rgba(0, 18, 49, .38) 52%, rgba(0, 18, 49, .12) 82%),
    linear-gradient(180deg, rgba(0, 18, 49, .45) 0%, rgba(0, 18, 49, .08) 38%, rgba(0, 18, 49, .28) 100%);
}

@media (max-width: 1024px) {
  .hero-showcase {
    width: min(900px, calc(100% - (2 * var(--pad-x))));
    padding-top: max(calc(var(--nav-h) + 28px), 12svh);
  }
}

@media (max-width: 600px) {
  .hero-showcase {
    width: calc(100% - 24px);
    padding-block: max(calc(var(--nav-h) + 28px), 14svh) clamp(24px, 4svh, 36px);
  }

  .hero-title-outline { font-size: clamp(24px, 6.4vw, 34px); }
  .hero-title-key { font-size: clamp(34px, 8.9vw, 46px); }

  .hero-cta {
    min-height: 52px;
    padding: 13px 25px;
    font-size: 15px;
  }

  .hero-scroll { margin-top: clamp(22px, 3.5svh, 32px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase,
  .hero-platform,
  .hero-title-line {
    opacity: 1;
    transform: none;
  }
}
