/* layout.css — Layout Premium do app (sidebar + conteúdo) */
.app-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

/* === SIDEBAR === */
.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  gap: 8px;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 0 24px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.sidebar-logo .logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.sidebar-logo .logo-text { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.sidebar-logo .logo-sub  { font-size: 12px; color: var(--text-3); }

.nav-section-label {
  padding: 16px 24px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 24px;
  margin: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-item:hover { background: var(--surface-2); color: var(--text); }
.nav-item.active {
  background: var(--primary);
  color: var(--primary-fg);
}
.nav-item .nav-icon { font-size: 16px; width: 20px; text-align: center; }

/* === CONTEÚDO PRINCIPAL === */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
}

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  min-height: 72px;
}

.topbar-title { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.topbar-actions { display: flex; gap: 12px; align-items: center; }

.view-container {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.section-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.section-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.section-title { font-size: 16px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }