/* Menu da 5ª edição (2026) — usado pela homepage e, via /js/layout.js, por todas as páginas 2026.
   Desktop: barra .n26 com grupos em <details>. Celular: painel .mm26 com os grupos abertos. */

/* ── Barra do topo das páginas internas (.s26-top) ── */
.s26-top {
  position: relative;
  z-index: 50;
  background: #ECE4D6;
  border-bottom: 3px solid #1C1917;
}
.s26-top__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.s26-top__logo { display: block; flex: none; line-height: 0; }
.s26-top__logo img { width: 104px; height: auto; display: block; }

.s26-menu { display: none; position: relative; }
.s26-menu summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 14px;
  background: #1C1917; color: #ECE4D6;
  font-family: 'Martian Mono', monospace; font-stretch: 75%; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.s26-menu summary::-webkit-details-marker { display: none; }
.s26-menu[open] summary { background: #8C1D1D; }
.s26-menu nav {
  position: absolute; right: 0; top: 52px; width: min(84vw, 320px);
  background: #ECE4D6; border: 2px solid #1C1917;
  display: flex; flex-direction: column; box-shadow: 6px 6px 0 #1C1917;
}
.s26-menu nav a,
.s26-menu nav .is-disabled {
  display: block; padding: 16px 18px; border-bottom: 1px solid #B9AD9A;
  color: #1C1917; text-decoration: none;
  font-family: 'Anton', 'Big Shoulders', sans-serif; font-weight: 800; font-size: 24px;
  text-transform: uppercase; letter-spacing: .02em;
}
.s26-menu nav a:last-child { border-bottom: 0; background: #8C1D1D; color: #F6F1E7; }

@media (max-width: 720px) {
  .s26-top .s26-nav { display: none; }
  .s26-menu { display: block; }
  .s26-top__logo img { width: 84px; }
}

/* Item desabilitado (ex.: Equipe, ainda sem conteúdo) */
.n26 .is-disabled,
.mm26 .is-disabled {
  color: #8A7B5A !important;
  cursor: not-allowed;
  user-select: none;
}
.n26__sub .is-disabled { padding: 13px 16px; border-bottom: 1px solid #B9AD9A; white-space: nowrap; }
.mm26 .is-disabled { display: block; font-family: 'Anton', 'Big Shoulders', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.mm26 .is-disabled.mm26__sub { padding: 9px 18px 9px 30px !important; font-size: 19px !important; border-bottom: 0 !important; }

.n26 {
  position: relative;
  z-index: 20;
  background: #ECE4D6;
  border: 2px solid #1C1917;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  font-family: 'Martian Mono', monospace;
  font-stretch: 87%;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.n26 > a,
.n26 summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 0;
  color: #1C1917;
  text-decoration: none;
  cursor: pointer;
}
.n26 summary { list-style: none; }
.n26 summary::-webkit-details-marker { display: none; }
.n26 summary::after {
  content: '';
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.n26 details[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.n26 details { position: relative; }
.n26 > a:hover,
.n26 summary:hover,
.n26 details[open] > summary { color: #8C1D1D; }
.n26 [aria-current="page"],
.n26 .is-current > summary {
  color: #8C1D1D;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.n26__sub {
  position: absolute;
  left: -18px;
  top: calc(100% + 2px);
  min-width: 240px;
  background: #ECE4D6;
  border: 2px solid #1C1917;
  box-shadow: 6px 6px 0 #1C1917;
  display: flex;
  flex-direction: column;
}
.n26__sub a {
  padding: 13px 16px;
  border-bottom: 1px solid #B9AD9A;
  color: #1C1917;
  text-decoration: none;
  white-space: nowrap;
}
.n26__sub a:last-child { border-bottom: 0; }
.n26__sub a:hover,
.n26__sub a:focus-visible,
.n26__sub a[aria-current="page"] { background: #1C1917; color: #ECE4D6; }

/* Painel do celular */
.mm26 {
  max-height: calc(100svh - 96px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mm26 .mm26__grp {
  display: block;
  padding: 14px 18px 4px;
  font-family: 'Martian Mono', monospace;
  font-stretch: 75%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8C1D1D;
}
.mm26 a.mm26__sub {
  padding: 9px 18px 9px 30px !important;
  font-size: 19px !important;
  border-bottom: 0 !important;
}
.mm26 a.mm26__sub + :not(.mm26__sub) { border-top: 1px solid #B9AD9A; }
.mm26 [aria-current="page"] { color: #8C1D1D !important; }
