/* ==========================================================================
   Hero com vídeo em tela cheia
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-night);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}

.hero__video.is-playing { opacity: 1; }

.hero__media::after {
  /* Vinheta para leitura do texto */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 11, 11, 0.92) 0%, rgba(11, 11, 11, 0.35) 45%, rgba(11, 11, 11, 0.15) 70%, rgba(11, 11, 11, 0.45) 100%);
}

.hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-2xl));
  padding-bottom: clamp(3.5rem, 2rem + 5vw, 6rem);
}

.hero__eyebrow { color: var(--color-paper); }


.hero__title {
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 6rem); /* 40–96 */
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  max-width: 14ch;
}


.hero__bottom {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 64em) {
  .hero__bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--space-2xl);
  }
}

.hero__text {
  max-width: 34rem;
  font-size: var(--fs-lead);
  color: rgba(242, 240, 235, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Pausa do vídeo */
.hero__pause {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--header-h) + var(--space-md));
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(242, 240, 235, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color var(--dur-fast);
}

.hero__pause:hover { border-color: var(--color-paper); }

.hero__pause-icon {
  width: 0.6rem;
  height: 0.7rem;
  border-inline: 2px solid var(--color-paper);
}

.hero__pause[aria-pressed="true"] .hero__pause-icon {
  border: 0;
  width: 0;
  height: 0;
  border-left: 0.6rem solid var(--color-paper);
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  margin-left: 3px;
}
