:root {
  --bg: #081226;
  --bg-grad: linear-gradient(180deg, #07101f 0%, #0a1730 100%);
  --panel: #0f1d38;
  --panel-2: #13274a;
  --line: #28416d;
  --text: #eef4ff;
  --muted: #9db3d4;
  --primary: #3b82f6;
  --primary-2: #60a5fa;
  --success: #16a34a;
  --danger: #ef4444;
  --warning: #f59e0b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-grad);
  color: var(--text);
  min-height: 100vh;
}

/* ═══ NAV ═══ */
.topnav {
  background: rgba(15, 29, 56, 0.95);
  border-bottom: 1px solid rgba(96, 165, 250, 0.12);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.topnav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  height: 52px;
}
.topnav-brand {
  font-weight: 800;
  font-size: 15px;
  color: var(--primary-2);
  margin-right: 28px;
  text-decoration: none;
  white-space: nowrap;
}
.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.topnav a:hover, .topnav a.active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

/* ═══ CONTAINER ═══ */
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

/* ═══ CARDS ═══ */
.card {
  background: rgba(15, 29, 56, 0.96);
  border: 1px solid rgba(96, 165, 250, 0.14);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ═══ STATS GRID ═══ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: rgba(19, 39, 74, 0.86);
  border: 1px solid rgba(96, 165, 250, 0.12);
  border-radius: 16px;
  padding: 18px;
}
.stat-card .label { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-card .value { font-size: 28px; font-weight: 800; margin-top: 6px; }
.stat-card .value.green { color: #4ade80; }
.stat-card .value.blue { color: var(--primary-2); }
.stat-card .value.amber { color: #fbbf24; }

/* ═══ BADGES ═══ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-piloto { background: rgba(59, 130, 246, 0.18); color: #93c5fd; }
.badge-rascunho { background: rgba(157, 179, 212, 0.15); color: #9db3d4; }
.badge-ativa { background: rgba(22, 163, 74, 0.18); color: #86efac; }
.badge-pausada { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }
.badge-vencedora { background: rgba(168, 85, 247, 0.18); color: #c4b5fd; }

/* ═══ TABLE-LIKE LIST ═══ */
.list-item {
  background: rgba(15, 29, 56, 0.96);
  border: 1px solid rgba(96, 165, 250, 0.1);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 10px;
  transition: border-color 0.15s;
  cursor: pointer;
}
.list-item:hover { border-color: rgba(96, 165, 250, 0.3); }
.list-item h3 { margin: 0 0 6px; font-size: 16px; }
.list-item .meta { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; }
.btn-ghost { background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(96, 165, 250, 0.18); color: #cfe4ff; }
.btn-success { background: rgba(22, 163, 74, 0.18); border: 1px solid rgba(34, 197, 94, 0.2); color: #baf5cb; }

/* ═══ SECTION ═══ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.section-header h2 { margin: 0; font-size: 22px; }

/* ═══ EMPTY STATE ═══ */
.empty {
  color: var(--muted);
  padding: 36px 20px;
  text-align: center;
  border: 1px dashed rgba(157, 179, 212, 0.25);
  border-radius: 18px;
  background: rgba(7, 16, 31, 0.45);
}

/* ═══ INSIGHT CARD ═══ */
.insight-card {
  background: rgba(19, 39, 74, 0.7);
  border: 1px solid rgba(96, 165, 250, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .topnav { padding: 0 12px; }
  .topnav a { padding: 14px 8px; font-size: 12px; }
  .container { padding: 16px 0 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
