@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== DESIGN SYSTEM ===== */
:root {
    --bg: #0c111b;
    --bg-secondary: #111827;
    --surface: rgba(17, 24, 39, 0.7);
    --surface-solid: #151c2c;
    --surface-hover: rgba(30, 41, 59, 0.6);
    --surface-elevated: rgba(30, 41, 59, 0.8);
    --border: rgba(99, 115, 146, 0.15);
    --border-light: rgba(99, 115, 146, 0.08);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-start: #3b82f6;
    --accent-end: #6366f1;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-soft: rgba(59, 130, 246, 0.12);
    --accent-border: rgba(59, 130, 246, 0.25);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --gradient-accent-vivid: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);

    --success: #10b981;
    --success-soft: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-soft: rgba(239, 68, 68, 0.12);

    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow: 0 2px 8px rgba(0,0,0,0.25);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.35);
    --shadow-glow-blue: 0 4px 20px rgba(59, 130, 246, 0.2);
    --shadow-glow-purple: 0 4px 20px rgba(99, 102, 241, 0.2);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    --glass: saturate(180%) blur(12px);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 50%, #1e1b4b 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), rgba(59, 130, 246, 0.4), transparent);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 68px;
    gap: 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-tcm {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.argos-brand h1 {
    font-size: 20px;
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e0e7ff 0%, #818cf8 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.argos-eye {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4));
    animation: argosWatch 4s ease-in-out infinite;
}

.argos-eye-glint {
    animation: argosGlint 4s ease-in-out infinite;
}

@keyframes argosWatch {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.4)); }
    50% { filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.7)); }
}

@keyframes argosGlint {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.subtitle {
    font-size: 11px;
    color: #64748b;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.header-stats {
    display: flex;
    gap: 10px;
}

.stat-card.mini {
    padding: 8px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.stat-card.mini:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-glow-purple);
}

.stat-card.mini .stat-label {
    font-size: 9px;
    color: #64748b;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.stat-card.mini .stat-value {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card.mini.alert .stat-value {
    background: linear-gradient(135deg, #fca5a5, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    gap: 8px;
}

/* ===== LAYOUT ===== */
.container {
    display: flex;
    min-height: calc(100vh - 68px);
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 230px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 24px 14px;
    flex-shrink: 0;
    position: sticky;
    top: 68px;
    height: calc(100vh - 68px);
    overflow-y: auto;
}

.sidebar nav h3 {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding: 0 14px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.sidebar nav ul { list-style: none; }

.sidebar nav li { margin-bottom: 3px; }

.sidebar nav a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
    position: relative;
}

.sidebar nav a:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.sidebar nav a.active {
    background: var(--accent-soft);
    color: var(--accent-start);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px var(--accent-border);
}

.sidebar nav a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--gradient-accent);
    border-radius: 0 3px 3px 0;
}

/* ===== MAIN ===== */
.main-content {
    flex: 1;
    padding: 28px;
    overflow-y: auto;
    min-width: 0;
    background: linear-gradient(180deg, var(--bg) 0%, #0e1525 100%);
}

.page { display: none; }
.page.active { display: block; }

.page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--surface);
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-glow-blue);
    transform: translateY(-2px);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card h3 {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-value {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-value.large { font-size: 30px; }

.stat-value.alert {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value.warning-light {
    background: linear-gradient(135deg, #eab308 0%, #facc15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-change { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.stat-change.positive { color: var(--success); }
.stat-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

.severity-high { color: var(--danger); font-weight: 600; }
.severity-medium { color: var(--warning); font-weight: 600; }
.severity-low { color: var(--text-muted); font-weight: 600; }

/* ===== PROGRESS BAR ===== */
.progress-bar {
    background: rgba(99, 115, 146, 0.15);
    height: 5px;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.progress-fill.success {
    background: linear-gradient(90deg, #059669, #10b981);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

/* ===== CHARTS ===== */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.chart-card {
    background: var(--surface);
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    min-height: 200px;
    backdrop-filter: var(--glass);
    transition: all var(--transition);
}

.chart-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-md);
}

.chart-card h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.chart-card canvas {
    max-height: 160px !important;
    width: 100% !important;
    height: 160px !important;
}

/* ===== TABLE ===== */
.table-card {
    background: rgba(248, 250, 252, 0.97);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.6);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
}

.table-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.table-actions { display: flex; gap: 8px; }

table { width: 100%; border-collapse: collapse; }

thead {
    background: rgba(15, 23, 42, 0.8);
    position: sticky;
    top: 0;
    z-index: 1;
}

th {
    padding: 12px 16px;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 12px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

tbody tr { cursor: default; transition: background var(--transition); }
tbody tr:hover { background: var(--surface-hover); }
tbody tr:nth-child(even) { background: rgba(15, 23, 42, 0.3); }

/* ===== BADGES ===== */
.status-badge, .score-badge, .badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge:hover { transform: none; }

.status-badge.novo {
    background: var(--accent-soft);
    color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent-border);
}
.status-badge.processado {
    background: var(--success-soft);
    color: var(--success);
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}
.status-badge.baixado {
    background: rgba(124, 58, 237, 0.12);
    color: #a78bfa;
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, 0.25);
}
.status-badge.analisado {
    background: var(--success-soft);
    color: var(--success);
}
.status-badge.erro_download,
.status-badge.erro_processamento {
    background: var(--danger-soft);
    color: var(--danger);
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.25);
}

.score-badge.CRITICO, .score-badge.CRÍTICO {
    background: var(--danger-soft);
    color: #f87171;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.25);
}
.score-badge.ALTO {
    background: rgba(249, 115, 22, 0.12);
    color: #fb923c;
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.25);
}
.score-badge.MEDIO, .score-badge.MÉDIO {
    background: var(--warning-soft);
    color: #fbbf24;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25);
}
.score-badge.BAIXO {
    background: var(--success-soft);
    color: #34d399;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}

/* Badge variants */
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--accent-soft); color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-elevated);
    color: var(--text-secondary);
    font-family: inherit;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
}

.btn:hover {
    background: var(--surface-hover);
    border-color: rgba(99, 115, 146, 0.3);
    color: var(--text-primary);
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.45);
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: #e2e8f0;
    border: none;
    font-weight: 500;
}

.btn-secondary:hover {
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.4);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-block { width: 100%; justify-content: center; }

.btn-analise-auto {
    background: var(--gradient-accent-vivid);
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

.btn-analise-auto:hover {
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.btn-analise-auto:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== FILTROS ===== */
.filtros-container {
    background: var(--surface);
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    position: relative;
    backdrop-filter: var(--glass);
}

.filtros-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    opacity: 0.5;
}

.filtros-container h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filtros-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: end;
}

.filtro-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
}

.filtro-item label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.filtro-item select,
.filtro-item input[type="text"] {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all var(--transition);
}

.filtro-item select:focus,
.filtro-item input[type="text"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.contador-resultados {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}

.pagination .btn.active {
    background: var(--gradient-accent);
    color: white;
    border: none;
    box-shadow: var(--shadow-glow-blue);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--surface-solid);
    margin: 4% auto;
    padding: 28px;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.modal-wide { max-width: 900px; }

.close {
    float: right;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all var(--transition);
}

.close:hover {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

/* ===== DETALHES ===== */
.detalhes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.detalhe-item {
    padding: 12px 14px;
    background: var(--surface-hover);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.detalhe-item.full-width { grid-column: 1 / -1; }

.detalhe-item strong {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.problemas-list { display: flex; flex-direction: column; gap: 8px; }

.problema-item {
    padding: 14px 18px;
    border-left: 3px solid var(--border);
    background: var(--surface-hover);
    border-radius: 0 8px 8px 0;
}

.problema-item.alta { border-left-color: var(--danger); }
.problema-item.media { border-left-color: var(--warning); }
.problema-item.baixa { border-left-color: var(--text-muted); }

.evidencia {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    font-style: italic;
}

/* ===== SCORE SECTION ===== */
.score-section {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    margin: 16px 0;
}

.score-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.score-numero {
    font-size: 52px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.score-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.classificacao {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 10px;
}

.classificacao.baixo { background: var(--success-soft); color: var(--success); box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25); }
.classificacao.medio { background: var(--warning-soft); color: var(--warning); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.25); }
.classificacao.alto { background: var(--danger-soft); color: var(--danger); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.25); }
.classificacao.critico { background: rgba(239, 68, 68, 0.15); color: #f87171; box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.3); }

/* ===== SECTIONS ===== */
.detalhes-section, .irregularidades-section,
.alertas-section, .parecer-section { margin: 20px 0; }

.detalhes-section h4, .irregularidades-section h4,
.alertas-section h4, .parecer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px;
}

.info-grid > div {
    padding: 10px 14px;
    background: var(--surface-hover);
    border-radius: 6px;
    font-size: 13px;
}

.info-grid strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 6px;
}

.irregularidades-section ul, .alertas-section ul { list-style: none; }

.irregularidades-section li {
    padding: 14px 18px;
    margin-bottom: 8px;
    background: var(--surface-hover);
    border-left: 3px solid var(--danger);
    border-radius: 0 8px 8px 0;
    font-size: 13px;
}

.irregularidades-section li strong { color: #f87171; }

.irregularidades-section li > div {
    background: var(--bg-secondary);
    border-left: 2px solid var(--accent);
    padding: 10px 14px;
    margin-top: 8px;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.irregularidades-section li small {
    font-size: 12px;
    color: var(--text-muted);
}

.alertas-section {
    background: var(--warning-soft);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    padding: 18px;
}

.alertas-section li {
    padding: 6px 0;
    color: #fbbf24;
    border-left: none;
    background: none;
}

.parecer-section {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}

.parecer-section p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== RELATÓRIOS ===== */
.relatorios-container { padding: 0; }
.relatorios-container h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #f1f5f9 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.relatorios-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.relatorios-header p {
    color: var(--text-muted);
    font-size: 13px;
}

.relatorios-actions { display: flex; gap: 8px; }

.relatorios-grid { display: grid; gap: 14px; }

.relatorio-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    transition: all var(--transition);
    backdrop-filter: var(--glass);
}

.relatorio-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.relatorio-info { display: grid; gap: 10px; }

.relatorio-titulo {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.relatorio-meta { display: flex; gap: 22px; flex-wrap: wrap; }

.meta-item { display: flex; flex-direction: column; gap: 2px; }

.meta-label {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.meta-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.relatorio-acoes {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-acao {
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface-elevated);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    transition: all var(--transition);
}

.btn-acao:hover {
    background: var(--surface-hover);
    border-color: rgba(99, 115, 146, 0.3);
    color: var(--text-primary);
}

.btn-visualizar {
    background: var(--gradient-accent);
    color: white;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.btn-visualizar:hover {
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45);
    transform: translateY(-1px);
}

.btn-apagar {
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.2);
}

.btn-apagar:hover {
    background: var(--danger-soft);
    border-color: rgba(239, 68, 68, 0.3);
}

.empty-state {
    text-align: center;
    padding: 56px 20px;
    color: var(--text-muted);
}

.empty-state h3 { font-size: 16px; margin-bottom: 6px; color: var(--text-secondary); }

/* ===== INFO ULTIMA COLETA ===== */
#info-ultima-coleta {
    background: linear-gradient(135deg, #1e1b4b 0%, #1e293b 50%, #0f172a 100%);
    color: #94a3b8;
    padding: 9px 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    position: sticky;
    top: 68px;
    z-index: 99;
}

#info-ultima-coleta:empty { display: none; }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 14px 28px;
}

footer::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.2), transparent);
    margin-bottom: 14px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ===== LOADING ===== */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 56px 20px;
}

.loading-spinner {
    border: 2px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading p { margin-top: 14px; color: var(--text-muted); font-size: 13px; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(99, 115, 146, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 115, 146, 0.5); }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.96) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.stat-card {
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.chart-card, .table-card {
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }
.stat-card:nth-child(5) { animation-delay: 0.25s; }

.chart-card:nth-child(1) { animation-delay: 0.15s; }
.chart-card:nth-child(2) { animation-delay: 0.25s; }
.chart-card:nth-child(3) { animation-delay: 0.35s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-container { flex-wrap: wrap; height: auto; padding: 12px 16px; }
    .container { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 14px; }
    .sidebar nav ul { display: flex; gap: 4px; }
    .sidebar nav h3 { display: none; }
    .sidebar nav a.active::before { display: none; }
    .main-content { padding: 18px; }
}

@media (max-width: 768px) {
    .stats-grid, .charts-grid { grid-template-columns: 1fr; }
    .header-stats { display: none; }
    .header-actions { flex-wrap: wrap; }
    table { font-size: 12px; }
    th, td { padding: 8px 10px; }
    .filtros-row { flex-direction: column; }
    .filtro-item { min-width: 100%; }
    .relatorio-card { grid-template-columns: 1fr; }
    .relatorio-acoes { flex-wrap: wrap; }
    .relatorios-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .footer-info { flex-direction: column; gap: 4px; text-align: center; }

    .sidebar {
        position: fixed;
        left: -250px;
        top: 0;
        height: 100vh;
        width: 250px;
        z-index: 1000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: none;
        border-right: 1px solid var(--border);
        flex-direction: column;
    }

    .sidebar.open { left: 0; }
    .sidebar nav ul { flex-direction: column; }
    .sidebar nav h3 { display: block; }

    .hamburger-btn { display: flex !important; }
}

/* Hamburger */
.hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 18px;
    flex-shrink: 0;
    transition: all var(--transition);
}

.hamburger-btn:hover { background: rgba(255,255,255,0.12); }

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
}

.sidebar-overlay.active { display: block; }

/* Toast / Notification animations */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, rgba(30,41,59,0.5) 25%, rgba(51,65,85,0.5) 50%, rgba(30,41,59,0.5) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== AUTOCOMPLETE MUNICÍPIO ===== */
.autocomplete-container {
    position: relative;
    width: 100%;
}

.autocomplete-container input[type="text"] {
    width: 100%;
    padding: 7px 30px 7px 10px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.autocomplete-container input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.autocomplete-container input[type="text"]::placeholder {
    color: #64748b;
}

.autocomplete-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    background: #1e293b;
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 8px;
    z-index: 100;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.autocomplete-dropdown.open {
    display: block;
}

.autocomplete-group-label {
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    color: #6366f1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(99, 102, 241, 0.08);
    border-top: 1px solid rgba(51, 65, 85, 0.4);
    position: sticky;
    top: 0;
    z-index: 1;
}

.autocomplete-item {
    padding: 7px 12px 7px 18px;
    font-size: 13px;
    color: #94a3b8;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background: rgba(59, 130, 246, 0.1);
    color: #e2e8f0;
}

.autocomplete-item .badge-pncp {
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-weight: 600;
    flex-shrink: 0;
}

.autocomplete-item .badge-sem {
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(100, 116, 139, 0.15);
    color: #64748b;
    font-weight: 600;
    flex-shrink: 0;
}

.autocomplete-item-todos {
    padding: 8px 12px;
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

.autocomplete-item-todos:hover {
    background: rgba(59, 130, 246, 0.1);
}

.autocomplete-clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    display: none;
    padding: 0 4px;
    line-height: 1;
}

.autocomplete-clear:hover {
    color: #ef4444;
}

.autocomplete-container.has-value .autocomplete-clear {
    display: block;
}

/* ===== CONFIGURAÇÕES PAGE ===== */
.config-info-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: rgba(17, 24, 39, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(51, 65, 85, 0.3);
    backdrop-filter: blur(10px);
    flex-wrap: wrap;
}

.config-info-bar .info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.config-info-bar .info-label {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.config-info-bar .info-value {
    font-size: 14px;
    color: #6366f1;
    font-weight: 600;
}

.config-section-dark {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.config-section-dark h3 {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}

.config-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.config-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.config-group label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.config-group select,
.config-group input[type="date"],
.config-group input[type="number"],
.config-input-sm {
    padding: 7px 10px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    min-width: 140px;
}

.config-group select:focus,
.config-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.config-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #e2e8f0;
}

.config-checkbox-label input[type="checkbox"] {
    accent-color: #6366f1;
    width: 16px;
    height: 16px;
}

.config-select-multi {
    height: 90px;
    padding: 6px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    font-size: 13px;
    min-width: 200px;
}

.config-select-multi option {
    padding: 4px 6px;
}

.config-periodo-info {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 6px;
    font-size: 13px;
    color: #6366f1;
}

/* Config Municipios Toolbar */
.config-municipios-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.config-search-input {
    flex: 1;
    min-width: 200px;
    padding: 7px 12px;
    border: 1px solid rgba(51, 65, 85, 0.6);
    border-radius: 6px;
    font-size: 13px;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
    font-family: inherit;
}

.config-search-input::placeholder {
    color: #64748b;
}

.config-search-input:focus {
    outline: none;
    border-color: #3b82f6;
}

.config-municipios-btns {
    display: flex;
    gap: 6px;
}

.config-contador {
    font-size: 12px;
    color: #6366f1;
    font-weight: 600;
    white-space: nowrap;
}

/* Config Accordion */
.config-accordion {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(51, 65, 85, 0.4);
    border-radius: 8px;
}

.config-accordion::-webkit-scrollbar {
    width: 6px;
}

.config-accordion::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
}

.config-accordion::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.4);
    border-radius: 3px;
}

.config-territorio-header {
    padding: 9px 14px;
    background: rgba(30, 41, 59, 0.8);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    user-select: none;
    transition: background 0.15s;
}

.config-territorio-header:hover {
    background: rgba(51, 65, 85, 0.5);
}

.config-territorio-header .territorio-count {
    font-size: 11px;
    color: #64748b;
    font-weight: 400;
}

.config-territorio-header .territorio-arrow {
    color: #64748b;
    transition: transform 0.2s;
    font-size: 11px;
}

.config-territorio-header.open .territorio-arrow {
    transform: rotate(180deg);
}

.config-territorio-body {
    display: none;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.4);
}

.config-territorio-body.open {
    display: block;
}

.config-mun-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 13px;
    color: #94a3b8;
}

.config-mun-item input[type="checkbox"] {
    accent-color: #6366f1;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.config-mun-item .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.config-mun-item .dot.has-cnpj {
    background: #22c55e;
}

.config-mun-item .dot.no-cnpj {
    background: #475569;
}

.config-mun-item.hidden {
    display: none;
}

/* Config Actions */
.config-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ===== NAV SEPARATOR ===== */
.nav-separator {
    height: 1px;
    background: var(--border);
    margin: 12px 10px 8px 10px;
}

/* ===== SOBRE PAGE ===== */
.sobre-banner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid #6366f1;
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 28px;
}
.sobre-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.sobre-eye {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5));
}
.sobre-brand-name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sobre-banner-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.sobre-banner-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 900px;
}

/* Grid */
.sobre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 20px;
    margin-top: 4px;
}

/* Cards */
.sobre-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
}
.sobre-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
}
.sobre-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.sobre-card-icon svg {
    width: 20px;
    height: 20px;
}
.sobre-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.sobre-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.sobre-card p strong {
    color: var(--text-primary);
}

/* Destaque (full width) */
.sobre-card-destaque {
    grid-column: 1 / -1;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, var(--surface) 100%);
}

/* Alerta (responsabilidade) */
.sobre-card-alerta {
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.04) 0%, var(--surface) 100%);
}

/* Steps */
.sobre-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
}
.sobre-steps li {
    counter-increment: step;
    padding: 7px 0 7px 36px;
    position: relative;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.sobre-steps li strong {
    color: var(--text-primary);
}
.sobre-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 7px;
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lists */
.sobre-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sobre-list li {
    padding: 6px 0 6px 28px;
    position: relative;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}
.sobre-list li strong {
    color: var(--text-primary);
}
.sobre-list.check li::before {
    content: '\2713';
    position: absolute;
    left: 2px;
    top: 6px;
    color: #10b981;
    font-weight: 800;
    font-size: 14px;
}
.sobre-list.cross li::before {
    content: '\2717';
    position: absolute;
    left: 2px;
    top: 6px;
    color: #ef4444;
    font-weight: 800;
    font-size: 14px;
}
.sobre-list.dash li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    top: 6px;
    color: #64748b;
    font-weight: 600;
}

/* Table */
.sobre-table-wrap {
    margin: 20px 0;
    overflow-x: auto;
}
.sobre-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.sobre-table th {
    text-align: left;
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}
.sobre-table td {
    padding: 10px 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    line-height: 1.5;
}
.sobre-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    width: 180px;
}
.sobre-table tr:last-child td {
    border-bottom: none;
}
.sobre-table tr:hover td {
    background: rgba(99, 102, 241, 0.04);
}

/* Diferenciais */
.sobre-diferenciais {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.sobre-diferenciais h4 {
    font-size: 13px;
    font-weight: 700;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

/* Footer */
.sobre-footer {
    margin-top: 32px;
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
}
.sobre-version {
    margin-top: 4px;
    font-size: 12px;
    color: #475569;
}

/* Responsive */
@media (max-width: 768px) {
    .sobre-grid { grid-template-columns: 1fr; }
    .sobre-card-destaque { grid-column: 1; }
    .sobre-banner { padding: 20px; }
}
