/* Estrutura do header e acoes principais. */
.site-header {
  display: flex;
  margin: 30px;
  justify-content: space-between;
  background-color: transparent;
}

.site-header-logo-link {
  align-content: center;
}

.site-header-logo {
  align-self: center;
  background-color: transparent;
  border: none;
  padding: 0;
  width: 140px;
  cursor: pointer;
}

.site-header-menu-hamburger {
  width: 73px;
  align-self: center;
  background: transparent;
  border: none;
}

.site-header-action-button {
  align-items: center;
  background-color: transparent;
  border: none;
  color: var(--primary-purple-color);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: var(--font-size-exit-button);
  font-weight: var(--font-weight-semi-bold);
  text-transform: uppercase;
  padding: 0;
  cursor: pointer;
  line-height: 11px;
  align-content: center;
  width: 73px;
}

.site-header-icon {
  align-items: center;
  display: flex;
}

.menu-hamburger-icon {
  cursor: pointer;
}

/* Menu expansivel superior. */
.top-menu {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
}

.top-menu-inner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 20px 20px;
  z-index: 998;
  background: var(--surface-menu-drawer);
  box-shadow: 0 4px 8px var(--color-shadow-20);
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
  will-change: transform, box-shadow;
}

.top-menu-inner:not(.visible) {
  box-shadow: none;
}

#menu-box.visible {
  transform: translateY(0);
}

/* Links do menu expansivel. */
.menu-list {
  width: 100%;
  padding: 20px;
  list-style: none;
  text-align: start;
}

.menu-item {
  padding: 8px 10px;
  font-size: var(--font-size-text);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.menu-item:hover {
  background: var(--surface-menu-item-hover);
}

.menu-link {
  display: block;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
  text-align: start;
  padding: 0;
  cursor: pointer;
}

.menu-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: transparent;
  color: var(--text-color-white);
  padding: 5px 9px;
  border-radius: 100%;
  border: none;
  cursor: pointer;
}

/* Backdrop do menu. */
.backdrop {
  position: fixed;
  inset: 0;
  background: var(--color-shadow-35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 40;
}
.backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1024px) {
  .site-header {
    margin: 35px 13%;
  }

  .top-menu-inner {
    margin: 0 13%;
    width: 74%;
  }

  .menu-close {
    right: 2%;
  }

  .site-header-logo {
    width: 160px;
    height: auto;
  }

  .site-header-action-button {
    gap: 8px;
  }

}

@media (min-width: 1440px) {
  .site-header {
    margin: 57px 13% 20px;
  }

  .site-header-logo {
    width: 180px;
    height: auto;
  }

  .site-header-action-button {
    font-size: var(--font-size-text);
    width: 120px;
  }

  .site-header-menu-hamburger {
    width: 120px;
  }

}
