/* ========== Menu drawer ========== */
.menu-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: var(--bg);
  z-index: 110;
  box-shadow: -20px 0 60px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.22s ease;
  overflow-y: auto;
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 105;
  animation: fadeIn 0.18s ease;
}
/* Fechamento animado (regra global Overlay-Close-Animation): saída via TRANSITION —
   o Alpine x-transition:leave espera o transitionend antes de esconder. Backdrop e
   drawer são irmãos (cada um anima independente). Pareia com slideInRight / fadeIn. */
.menu-drawer.pn-leave { transition: transform 0.22s ease; }
.menu-drawer.pn-leave-to { transform: translateX(100%); }
.menu-backdrop.pn-leave { transition: opacity 0.22s ease; }
.menu-backdrop.pn-leave-to { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .menu-drawer.pn-leave, .menu-backdrop.pn-leave { transition: none; }
}
.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.menu-section {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.menu-section h5 {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 12px;
}
.menu-section a {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.menu-section a:hover { color: var(--primary); }

/* "Ver mais" toggle within Regiões */
.menu-more-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 9px 0;
  background: transparent;
  border: 0;
  /* Reset do chrome nativo do <button> (UA do Safari/iOS adiciona altura/borda). */
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 15px;
  line-height: inherit;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: color var(--t-fast);
}
.menu-more-toggle:hover { color: var(--primary); }
/* Tamanho do chevron robusto: NÃO depender só do style inline (o :style do Alpine
   o substitui ao rotacionar; um <svg viewBox> sem dimensão vira 300×150). */
.menu-more-toggle svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.menu-more-list {
  display: flex;
  flex-direction: column;
  padding: 4px 0 4px 14px;
  border-left: 2px solid var(--border);
  margin: 2px 0 6px 2px;
}
.menu-more-list a {
  padding: 7px 0 !important;
  font-size: 14px !important;
}
.menu-more-list .menu-more-all {
  margin-top: 4px;
  color: var(--primary) !important;
  font-weight: 700;
}

/* ========== Mobile nav (hidden on desktop) ========== */
.hamburger { display: inline-flex; }
.search-btn { display: inline-flex; }
.mobile-only { display: none; }
.desktop-only { display: inline-flex; }
