:root {
  --ink: #242424;
  --gold: #eab308;
  --whatsapp: #25d366;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #171717;
}

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

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(64px, 4.27vw, 82px);
  background: rgb(32 32 32 / 96%);
  border-bottom: 1px solid rgb(255 255 255 / 7%);
  backdrop-filter: blur(12px);
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 clamp(30px, 2.3vw, 44px);
}

.brand {
  flex: 0 0 auto;
  color: #fff;
  font-size: clamp(24px, 1.9vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.brand span,
.navigation__links .is-active {
  color: var(--gold);
}

.navigation__links {
  display: flex;
  align-items: center;
  gap: clamp(28px, 2.55vw, 49px);
}

.navigation__links a {
  color: #f8f8f8;
  font-size: clamp(14px, 1.2vw, 24px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.navigation__links a:hover,
.navigation__links a:focus-visible {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 200vh;
  padding-top: clamp(64px, 4.27vw, 82px);
  overflow: hidden;
  background: #171717;
}

.hero__background {
  position: absolute;
  z-index: 0;
  top: clamp(64px, 4.27vw, 82px);
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("assets/fundohome.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}

.hero__scroll-target {
  position: absolute;
  top: 100vh;
}

.scroll-button,
.whatsapp-button {
  position: fixed;
  z-index: 50;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.scroll-button {
  bottom: clamp(28px, 3.1vw, 48px);
  left: 50%;
  width: clamp(68px, 5.7vw, 110px);
  height: clamp(68px, 5.7vw, 110px);
  padding: clamp(16px, 1.35vw, 26px);
  color: var(--gold);
  background: rgb(234 179 8 / 20%);
  border: clamp(2px, 0.16vw, 3px) solid rgb(234 179 8 / 70%);
  box-shadow: 0 12px 32px rgb(0 0 0 / 28%);
  backdrop-filter: blur(5px);
  transform: translateX(-50%);
}

.scroll-button svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-button:hover,
.scroll-button:focus-visible {
  background: rgb(234 179 8 / 30%);
  transform: translateX(-50%) translateY(4px);
}

.scroll-button.is-hidden {
  pointer-events: none;
  opacity: 0;
}

.whatsapp-button {
  right: clamp(24px, 3.3vw, 63px);
  bottom: clamp(14px, 1.25vw, 24px);
  width: clamp(56px, 4.4vw, 84px);
  height: clamp(56px, 4.4vw, 84px);
  padding: clamp(14px, 1.1vw, 21px);
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 8px 22px rgb(0 0 0 / 22%);
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  background: #1ebe5b;
  transform: translateY(-3px);
}

.whatsapp-button svg {
  width: 100%;
  fill: currentColor;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .navigation {
    justify-content: center;
    padding: 0 16px;
  }

  .navigation__links {
    display: none;
  }

  .hero__background {
    top: 64px;
    background-image: url("assets/fundomobile.png");
  }

  .scroll-button {
    bottom: 24px;
    width: 64px;
    height: 64px;
    padding: 15px;
  }

  .whatsapp-button {
    right: 16px;
    bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
