/* ============================================================
   EGBÉ YPÒ ÒRUN — Hero v2
   Único elemento escuro da página além do footer.
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-top: 72px;
}

/* ----------------------------------------------------------
   Imagem de fundo
   ---------------------------------------------------------- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* Gradiente mais suave — a foto respira mais */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(72, 28, 5, 0.92) 0%,
    rgba(72, 28, 5, 0.55) 55%,
    rgba(72, 28, 5, 0.20) 100%
  );
}

/* ----------------------------------------------------------
   Conteúdo — ancorado no rodapé do hero
   ---------------------------------------------------------- */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: var(--space-20);
  padding-bottom: clamp(var(--space-16), 8vw, var(--space-24));
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: var(--space-5);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background-color: var(--color-green);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-ui);
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--color-cream);
  margin-bottom: var(--space-4);
}

.hero__subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-light);
  font-style: italic;
  color: rgba(246, 240, 216, 0.75);
  margin-bottom: var(--space-6);
  letter-spacing: 0;
}

.hero__text {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: rgba(246, 240, 216, 0.82);
  max-width: 540px;
  margin-bottom: var(--space-10);
  font-weight: var(--weight-regular);
}

/* ----------------------------------------------------------
   Linha decorativa verde no topo do hero
   ---------------------------------------------------------- */
.hero::before {
  content: '';
  position: absolute;
  top: 72px; /* abaixo do nav */
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-green-dark) 20%,
    var(--color-green) 50%,
    var(--color-green-dark) 80%,
    transparent
  );
  z-index: 2;
  opacity: 0.7;
}

/* ----------------------------------------------------------
   Scroll indicator
   ---------------------------------------------------------- */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--container-px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(246, 240, 216, 0.45);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hero__scroll:hover {
  color: var(--color-green);
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background-color: currentColor;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50%       { transform: scaleY(0.5); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; opacity: 0.5; }
}

/* ----------------------------------------------------------
   Responsivo
   ---------------------------------------------------------- */
@media (max-width: 639px) {
  .hero {
    align-items: flex-end;
  }

  .hero__content {
    padding-bottom: var(--space-20);
  }

  .hero__scroll {
    display: none;
  }
}
