/* Chrome compartilhado — header escuro / marca dourada / footer (Home + internas) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #161616;
  color: var(--white, #fff);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  align-items: stretch;
  min-height: 74px;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gold, #f3c221);
  color: var(--black, #111);
  text-align: left;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  object-fit: contain;
}

.brand__name {
  display: block;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  max-width: 14ch;
}

.brand__sub {
  display: block;
  margin-top: 3px;
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 22ch;
  text-transform: none;
  color: rgba(17, 17, 17, 0.78);
}

.main-nav {
  display: flex;
  align-items: center;
  padding-left: 18px;
  margin-left: 0;
}

.main-nav ul {
  display: flex;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  min-height: 74px;
  align-items: center;
  padding: 0 12px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.86);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold, #f3c221);
  background: rgba(255, 255, 255, 0.04);
}

.main-nav .nav-cta {
  display: none;
}

.main-nav .nav-cta .btn,
.main-nav .nav-cta button.btn {
  min-height: 44px;
  width: 100%;
  margin-top: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 18px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--white, #fff);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold, #f3c221);
}

.icon-button.menu-toggle,
.menu-toggle {
  display: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Oswald", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.language-switcher button:hover,
.language-switcher button[aria-pressed="true"] {
  background: var(--gold, #f3c221);
  color: var(--black, #111);
}

/* Footer compact (internas; Home usa .footer próprio + newsletter) */
.site-footer {
  padding: 40px 0 0;
  background: #1b1b1b;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
  color: var(--gold, #f3c221);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 32px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 12px;
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.site-footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer .footer-social a:hover {
  border-color: var(--gold, #f3c221);
  color: var(--gold, #f3c221);
}

.site-footer .footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 22px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1020px) {
  .nav-wrap {
    grid-template-columns: minmax(140px, 1fr) auto;
  }

  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    padding: 0;
    background: #161616;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 49;
  }

  body.menu-open .main-nav,
  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: grid;
  }

  .main-nav a {
    min-height: 50px;
    padding: 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav .nav-cta {
    display: list-item;
    padding: 12px 22px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .icon-button.menu-toggle,
  .menu-toggle {
    display: inline-grid;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand__sub {
    display: none;
  }

  .brand__name {
    font-size: 0.78rem;
    max-width: 12ch;
  }

  .language-switcher {
    gap: 2px;
    padding: 2px;
  }

  .language-switcher button {
    min-width: 32px;
    min-height: 32px;
    font-size: 0.68rem;
  }
}
