/* EBNE, etapa 1: apenas o hero da home. Os PNGs oficiais ficam intactos. */
.ebne-home-hero {
  padding-top: 68px;
  background: #fff;
  color: #182632;
}

.ebne-home-hero .ebne-hero-scene {
  position: relative;
  width: min(100%, 1920px);
  margin-inline: auto;
}

.ebne-home-hero .ebne-hero-art {
  display: block;
  width: 100%;
}

.ebne-home-hero .ebne-hero-art img {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  transform: none;
  filter: none;
}

.ebne-home-hero .ebne-hero-copy {
  position: absolute;
  top: clamp(32px, 3vw, 64px);
  left: 6%;
  width: 43%;
  max-width: 630px;
}

.ebne-home-hero .ebne-hero-eyebrow {
  margin: 0 0 18px;
  color: #886526;
  font: 650 10px/1.6 Manrope, Arial, sans-serif;
  letter-spacing: .16em;
}

.ebne-home-hero h1 {
  margin: 0;
  color: #182632;
  font: 650 clamp(44px, 4.5vw, 76px)/1.08 Manrope, Arial, sans-serif;
  letter-spacing: -.045em;
}

.ebne-home-hero h1 em {
  color: #886526;
  font-style: normal;
}

.ebne-home-hero .ebne-hero-subtitle {
  margin: 20px 0 0;
  font: 600 clamp(19px, 1.7vw, 25px)/1.4 Manrope, Arial, sans-serif;
  letter-spacing: -.02em;
}

.ebne-home-hero .ebne-hero-description {
  max-width: 410px;
  margin: 14px 0 0;
  color: #46515a;
  font-size: 14px;
  line-height: 1.75;
}

.ebne-home-hero .ebne-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
}

.ebne-home-hero .ebne-hero-actions a {
  min-height: 48px;
  font-size: 10px;
}

.ebne-home-hero .ebne-hero-actions .button {
  padding: 16px 22px;
  gap: 18px;
}

.ebne-home-hero .ebne-hero-actions a:focus-visible {
  outline: 2px solid #886526;
  outline-offset: 5px;
}

/* Tablet: texto acima da arte para preservar os personagens e o portal. */
@media (max-width: 1200px) {
  .ebne-home-hero .ebne-hero-copy {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1;
    width: 88%;
    max-width: 680px;
    margin-inline: auto;
    padding-top: 40px;
  }

  .ebne-home-hero h1 {
    font-size: clamp(38px, 6vw, 60px);
  }

  .ebne-home-hero .ebne-hero-description {
    max-width: 540px;
  }

  .ebne-home-hero .ebne-hero-art {
    position: relative;
    z-index: 0;
    /* Usa apenas o branco nativo acima da cena, sem recortar a imagem. */
    margin-top: -12vw;
  }
}

@media (max-width: 700px) {
  .ebne-home-hero .ebne-hero-art {
    margin-top: 16px;
  }

  .ebne-home-hero .ebne-hero-copy {
    padding-top: 30px;
  }

  .ebne-home-hero .ebne-hero-eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
  }

  .ebne-home-hero h1 {
    font-size: clamp(36px, 9.5vw, 54px);
  }

  .ebne-home-hero .ebne-hero-subtitle {
    margin-top: 18px;
    font-size: 19px;
  }

  .ebne-home-hero .ebne-hero-actions {
    gap: 8px 20px;
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .ebne-home-hero {
    padding-top: 62px;
  }
}
