.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

/* NAV */
.nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

.nav a,
.nav button {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 16px;
  line-height: 1;
  padding: 12px 0;

  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

.nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0; /* impede o ícone de quebrar linha */
}

.nav a:hover {
  color: #000;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.dropdown-toggle svg,
.dropdown-toggle .arrow {
  margin-top: 1px; /* ajuste fino */
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 1001;
  padding: 0;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 12px 12px 12px;
  color: #333;
}

.dropdown-menu a svg {
  width: 18px;
  height: 18px;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
}

/* dropdown aberto */
.dropdown.open .dropdown-menu {
  display: block;
}

/* MOBILE */
.menu-toggle {
  color: #333;
  margin-left: auto;
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav a,
  .nav button {
    padding: 6px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.active {
    max-height: 400px;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 0;
  }

  .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 0px;
  }

  .dropdown {
    margin-bottom: 4px;
  }
}
