.header {
  height: 100px;
  background: var(--verde);
  position: fixed;   /* fixa no topo */
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0px 0px 5px var(--shadow);
  z-index: 9999;
}

.header-content {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height:120%;
}

.desktop-nav {
  display: none;
  gap: 24px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--white);
  font-size: clamp(16px, 2vh, 18px);
  font-weight: 400;
}

.desktop-nav .button{
  color: var(--white);
}

.desktop-nav a:hover {
  opacity: 0.7;
}

.hamburger {
  font-size: 26px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--black);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}

.hamburger img{
    width: 17px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;

  width: 280px;
  height: 100vh;
  background: var(--verde);

  transform: translateX(-100%);
  transition: transform 0.3s ease;

  z-index: 999999;
  padding: 20px;
}
.mobile-menu.active {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.menu-logo{
  width: 130px;
}

.close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--white);
}

.menu-nav a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  border-bottom: 1px solid #eee;
}

.menu-nav a:last-child {
  border-bottom: none;
}

@media (min-width: 1200px) {

  .desktop-nav {
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu,
  .overlay {
    display: none !important;
  }
}
