
:root {
  --ink: #f7f3f2;
  --muted: rgba(247, 243, 242, 0.62);
  --accent: #ff315f;
  --line: rgba(255, 255, 255, 0.2);
  --pad: clamp(1.25rem, 3vw, 3.5rem);
}

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

html {
  background: #060506;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #060506;
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #080608;
  cursor: default;
}

.hero__video,
.hero__veil,
.hero__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  z-index: -4;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92) contrast(1.07) brightness(0.86);
  transform: scale(1.015);
}

.hero__veil {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3, 2, 4, 0.6) 0%, transparent 35%, transparent 66%, rgba(3, 2, 4, 0.24) 100%),
    linear-gradient(180deg, rgba(4, 3, 5, 0.48) 0%, transparent 25%, transparent 64%, rgba(4, 3, 5, 0.68) 100%);
  pointer-events: none;
}

.hero__grain {
  z-index: 8;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero__cta {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  bottom: clamp(3.5rem, 7vh, 5.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.8rem 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 100px;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 200ms ease, color 200ms ease;
}

.hero__cta svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.hero__cta:hover {
  color: #0b0809;
  background: var(--ink);
}

.hero__content {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: clamp(5rem, 10vh, 7.5rem);
  max-width: min(40rem, 46vw);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow__line {
  width: 2.2rem;
  height: 1px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font: 500 clamp(3.5rem, 7vw, 8.4rem) / 0.8 "DM Sans", sans-serif;
  letter-spacing: -0.075em;
}

h1 span {
  margin-left: clamp(1.5rem, 5vw, 6rem);
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.76);
}

.hero__copy {
  margin: 1.7rem 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
  line-height: 1.6;
}

.hero__bottom {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: 1.45rem;
  left: var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.5rem;
  letter-spacing: 0.13em;
}

.hero__bottom p {
  margin: 0;
}

.hero__bottom p span {
  margin: 0 0.35rem;
  color: var(--accent);
}

.hero__progress {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.hero__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__loading {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  background: #080608;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 500ms ease, visibility 500ms ease;
}

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

@media (max-width: 800px) {
  .hero__video {
    object-position: 48% center;
  }

  .hero__cta span {
    display: none;
  }

  .hero__cta {
    padding: 0.62rem;
  }

  .hero__content {
    top: auto;
    bottom: clamp(6.5rem, 12vh, 8rem);
    max-width: calc(100vw - (var(--pad) * 2));
  }

  h1 {
    font-size: clamp(2.9rem, 13vw, 4.8rem);
    /* -0.075em no celular encostava o E no l de "Eleve o". */
    letter-spacing: -0.035em;
  }

  h1 span {
    margin-left: 0;
  }

  .hero__copy {
    max-width: 17rem;
  }

  .hero__bottom {
    display: none;
  }
}

@media (max-height: 650px) and (min-width: 801px) {
  .hero__content {
    bottom: 4.5rem;
  }

  h1 {
    font-size: clamp(3rem, 6.5vw, 6rem);
  }

  .hero__copy {
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
