/* Hero da Home: retrato e promessa unidos pela mesma superfície. */
body[data-page="home"] .home-hero {
  min-height: min(940px, 100svh);
  align-items: center;
  padding-top: 0;
  background: #080c12;
  isolation: isolate;
}

body[data-page="home"] .home-hero__image {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  display: block;
  width: auto;
  max-width: 68%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: right center;
  transform: none;
  will-change: auto;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.45) 14%, #000 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6), #000 14%, #000 77%, transparent);
  mask-image:
    linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.45) 14%, #000 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6), #000 14%, #000 77%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

body[data-page="home"] .home-hero::after {
  z-index: 1;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(90deg, #080c12 0%, rgba(8, 12, 18, 0.98) 30%, rgba(8, 12, 18, 0.6) 47%, transparent 67%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.22), transparent 22%);
}

body[data-page="home"] .home-hero__content {
  z-index: 2;
  margin-top: 0;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

body[data-page="home"] .home-hero__copy {
  max-width: min(51%, 680px);
  gap: 1.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body[data-page="home"] .home-hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 4.8vw, 5.6rem);
  line-height: 1.02;
}

body[data-page="home"] .home-hero .v3-lede {
  color: rgba(255, 255, 255, 0.85);
}

body[data-page="home"] .home-hero__meta {
  display: none;
}

@media (min-width: 921px) and (max-width: 1100px) {
  body[data-page="home"] .home-hero__copy {
    max-width: 47%;
  }

  body[data-page="home"] .home-hero h1 {
    font-size: clamp(2.8rem, 4.6vw, 3.3rem);
  }
}

@media (max-width: 920px) {
  body[data-page="home"] .home-hero {
    min-height: 0;
    align-items: stretch;
  }

  body[data-page="home"] .home-hero__image {
    inset: 0 0 auto auto;
    width: 100%;
    max-width: none;
    height: auto;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), #000 15%, #000 40%, rgba(0, 0, 0, 0.2) 64%, transparent 88%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), #000 15%, #000 40%, rgba(0, 0, 0, 0.2) 64%, transparent 88%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }

  body[data-page="home"] .home-hero::after {
    background: linear-gradient(180deg, rgba(8, 12, 18, 0.15), transparent 18%);
  }

  body[data-page="home"] .home-hero__content {
    padding-top: clamp(390px, 90vw, 650px);
    padding-bottom: 3.5rem;
  }

  body[data-page="home"] .home-hero__copy {
    max-width: 660px;
    gap: 1.25rem;
  }

  body[data-page="home"] .home-hero h1 {
    max-width: 15ch;
    font-size: clamp(2.8rem, 6.8vw, 4.1rem);
  }

  body[data-page="home"] .home-hero .v3-eyebrow {
    max-width: 540px;
    line-height: 1.5;
    white-space: normal;
  }
}

@media (max-width: 680px) {
  body[data-page="home"] .home-hero__image {
    width: 100%;
  }

  body[data-page="home"] .home-hero__content {
    padding-top: clamp(340px, 97vw, 590px);
    padding-bottom: 3rem;
  }

  body[data-page="home"] .home-hero__copy {
    gap: 1.05rem;
  }

  body[data-page="home"] .home-hero h1 {
    max-width: 14ch;
    font-size: clamp(2.25rem, 10.8vw, 3.6rem);
    line-height: 1.04;
  }

  body[data-page="home"] .home-hero .v3-eyebrow {
    max-width: 35ch;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  body[data-page="home"] .home-hero .v3-lede {
    max-width: 37ch;
    font-size: 0.96rem;
    line-height: 1.65;
  }
}
