*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hover sidebar — escuro: fundo claro; claro: fundo escuro mais visível */
.nav-link-item:hover {
  background: rgba(0,0,0,0.12) !important;
  border-color: rgba(0,0,0,0.15) !important;
}

/* No modo escuro a sidebar tem fundo navy, hover precisa ser claro */
[data-tema="escuro"] .nav-link-item:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.15) !important;
}

@media (max-width: 768px) {
  .sidebar-desktop { display: none !important; }
  .header-mobile   { display: flex !important; }
}

@media (min-width: 769px) {
  .header-mobile { display: none !important; }
}
