.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid #f2f2f2;
}

.header-bar {
  display: flex;
  align-items: center;
  height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.logo-mark {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 0.8;
}

.logo-divider {
  width: 1px;
  height: 22px;
  background: #d5d5d5;
}

.logo-word {
  color: #2a2a2a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav {
  margin-right: 22px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: #2b2b2b;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold);
}

.nav-entrar,
.nav-toggle {
  display: none;
}

.btn-line {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  cursor: pointer;
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
}

.header-entrar {
  flex: none;
  max-width: 148px;
  min-height: 42px;
  padding: 10px 16px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1120px) {
  .nav {
    margin-right: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--ink);
    content: "";
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before {
    top: -6px;
  }

  .nav-toggle-bars::after {
    top: 6px;
  }

  .nav-list {
    position: absolute;
    top: var(--header);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(20, 20, 20, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 14px 12px;
  }

  .header-entrar {
    display: none;
  }

  .nav-entrar {
    display: block;
    margin-top: 6px;
  }

  .nav-entrar .btn {
    width: 100%;
    max-width: none;
  }

  .nav-list .nav-entrar a {
    padding: 12px 20px;
    color: var(--white);
  }

  .nav-list .nav-entrar a:hover {
    color: var(--white);
  }
}
