*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: #0a0a0a;
  color: #fff;
  font-family: "Inter", sans-serif;
  touch-action: pan-y;
}

/* ── Hero scroll zone (espaço para rolar) ── */

.hero-scroll {
  height: 450vh;
}

/* ── Hero fixa ── */

.hero {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.hero.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero__media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  width: 100%;
  height: 100%;
}

body.use-video .hero__video {
  z-index: 1;
  opacity: 1;
  will-change: transform;
}

body.use-canvas .hero__video {
  opacity: 0;
}

body.use-canvas .hero__canvas {
  display: block;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(10, 10, 10, 0.6) 85%,
    #0a0a0a 100%
  );
  pointer-events: none;
}

/* ── Tagline ── */

.tagline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 6rem;
  background: #0a0a0a;
}

.tagline__text {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.5rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-scroll {
    height: 550vh;
  }

  .tagline__text {
    white-space: normal;
    word-break: break-word;
  }
}
