/* ==========================================================================
   Hero — layout desktop (notebook e desktop). Mobile em responsive.css
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}

/* Escurecimento ao abrir o vídeo */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s var(--ease-out);
}

body.is-video-open .hero::after {
  opacity: 0.9;
}

/* Mídia (fotografia) — recebe parallax e zoom de scroll via JS */
.hero__media {
  position: absolute;
  inset: -2%;
  z-index: 0;
  transform-origin: 65% 40%;
  will-change: transform;
}

.hero__photo {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 32%;
}

/* Véu cinematográfico: preto à esquerda, transparente à direita */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.98) 0%,
      rgba(5, 5, 5, 0.9) 24%,
      rgba(5, 5, 5, 0.52) 44%,
      rgba(5, 5, 5, 0.12) 64%,
      rgba(5, 5, 5, 0) 80%
    ),
    linear-gradient(0deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0) 26%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0) 22%),
    radial-gradient(ellipse at 62% 45%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

/* Conteúdo (texto + estatísticas) — sobreposto, sem caixas */
.hero__content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pad-x);
  z-index: 2;
  width: min(560px, 46vw);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) 0 clamp(44px, 9vh, 96px);
  transition: opacity 0.8s var(--ease-out);
}

body.is-video-open .hero__content {
  opacity: 0;
}

.hero__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  will-change: transform, opacity;
}

.hero__eyebrow {
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 4.1vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  color: var(--white);
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-lumi);
}

.hero__lead {
  max-width: 430px;
  margin-top: 30px;
  font-size: clamp(0.95rem, 1.02vw, 1.05rem);
  line-height: 1.75;
  color: var(--gray-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

/* Computador: os dois botões em cima e o "Entrar em contato" (WhatsApp) embaixo */
@media (min-width: 768px) and (min-aspect-ratio: 1/1), (min-width: 1024px) {
  .hero__actions {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .hero__actions .btn--whatsapp {
    grid-column: 1 / -1;
  }
}

/* Estatísticas */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
}

.hero__stats li {
  padding: 0 clamp(22px, 2.6vw, 48px);
  border-left: 1px solid rgba(200, 148, 69, 0.2);
}

.hero__stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 2.7vw, 2.9rem);
  line-height: 1;
  color: var(--gold-lumi);
}

.hero__stats span {
  display: block;
  margin-top: 14px;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1.8;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.72);
}

.hero__stats li {
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-luxe) both;
  animation-delay: calc(1.7s + var(--i, 0) * 0.12s);
}

/* Indicador de scroll (lado direito) */
.scroll-cue {
  position: absolute;
  right: clamp(24px, 3.4vw, 60px);
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease-out) 2s both;
  transition: opacity 0.8s var(--ease-out);
}

body.is-video-open .scroll-cue {
  opacity: 0 !important;
}

.scroll-cue__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1.9;
  text-transform: uppercase;
  text-align: left;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.scroll-cue__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 148, 69, 0.45);
  border-radius: 50%;
  animation: bob 2.8s var(--ease-out) infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.scroll-cue__dots {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-left: 17px;
}

.scroll-cue__dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(200, 148, 69, 0.5);
}

.scroll-cue__dots span:first-child {
  background: var(--gold-light);
}

/* Entrada em sequência (delays definidos por .reveal + --d) */
.hero__eyebrow.reveal {
  animation-delay: 0.9s;
}

.hero__title.reveal {
  animation-delay: 1.05s;
}

.hero__lead.reveal {
  animation-delay: 1.25s;
}

.hero__actions.reveal {
  animation-delay: 1.4s;
}
