/* Navbar premium e escala final dos botões */
.site-header {
  top: 14px;
  left: 50%;
  right: auto;
  width: min(1180px, 94vw);
  height: 72px;
  padding: 0 18px 0 22px;
  transform: translateX(-50%);
  border: 1px solid rgba(99, 255, 79, 0.13);
  border-radius: 18px;
  background: rgba(3, 10, 3, 0.66);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px) saturate(125%);
}

.site-header::after {
  content: '';
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 255, 79, 0.55), transparent);
  opacity: 0.65;
}

.site-header.scrolled {
  top: 9px;
  width: min(1130px, 93vw);
  height: 64px;
  border-color: rgba(99, 255, 79, 0.2);
  border-radius: 16px;
  background: rgba(2, 8, 2, 0.9);
}

.brand {
  min-width: 230px;
  gap: 13px;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.site-header nav {
  padding: 6px;
  gap: 3px;
  border: 1px solid rgba(99, 255, 79, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.022);
}

.site-header nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: #aab7a8;
  font-size: 12px;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.site-header nav a:hover {
  color: var(--ink);
  background: rgba(99, 255, 79, 0.08);
}

.button {
  min-height: 54px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.09em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.button-small {
  min-height: 42px;
  padding: 0 19px;
  border-radius: 9px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.hero .button {
  min-width: 305px;
}

.button-wide {
  min-height: 62px;
  padding-left: 28px;
  padding-right: 28px;
  font-size: 13px;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(99, 255, 79, 0.18);
  border-radius: 11px;
  place-items: center;
  background: rgba(99, 255, 79, 0.045);
}

.menu-toggle span {
  width: 19px;
  background: var(--gold);
  transition: transform 0.25s, opacity 0.25s;
}

.site-header.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .site-header {
    width: 95vw;
  }

  .brand {
    min-width: auto;
  }

  .site-header nav a {
    padding-left: 11px;
    padding-right: 11px;
  }
}

@media (max-width: 800px) {
  .site-header,
  .site-header.scrolled {
    top: 8px;
    width: 94vw;
    height: 62px;
    padding: 0 10px 0 15px;
    border-radius: 15px;
  }

  .brand {
    min-width: 0;
    font-size: 10px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-header.menu-open nav {
    display: flex;
    top: 70px;
    left: 0;
    right: 0;
    padding: 10px;
    gap: 4px;
    border: 1px solid rgba(99, 255, 79, 0.16);
    border-radius: 14px;
    background: rgba(2, 8, 2, 0.97);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  }

  .site-header.menu-open nav a {
    padding: 14px 16px;
    border-radius: 9px;
    font-size: 14px;
  }

  .button {
    min-height: 52px;
    padding: 0 21px;
    font-size: 12px;
  }

  .hero .button {
    width: min(100%, 360px);
    min-width: 0;
  }

  .button-wide {
    width: 100%;
    min-height: 58px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-header.scrolled {
    width: 95vw;
  }

  .brand {
    gap: 9px;
    font-size: 9px;
    letter-spacing: 0.11em;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
  }

  .button {
    width: auto;
    max-width: 100%;
  }

  .hero .button,
  .button-wide {
    width: 100%;
  }
}
