/* ── Geral ─────────────────────────────────────────────────────────────── */
.stats { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }

.section { margin-bottom: 36px; }
.section-title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ── Divider entre seções ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

/* ── Grid de cards ─────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cards-grid.full { grid-template-columns: 1fr; }

/* ── Card individual ───────────────────────────────────────────────────── */
.gcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow .12s;
}
.gcard:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.gcard.accent { border-left: 3px solid var(--accent-bg); }
.gcard.green  { border-left: 3px solid var(--green); }
.gcard.blue   { border-left: 3px solid #1a5fa8; }

.gcard-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}
.gcard-value {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.gcard-value.green { color: var(--green); }
.gcard-value.blue  { color: #1a5fa8; }
.gcard-sub {
  font-size: 12px;
  color: var(--muted2);
  margin-top: 2px;
}

/* ── Mes selector ──────────────────────────────────────────────────────── */
.mes-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mes-nav { display: flex; align-items: center; gap: 10px; }
.mes-label {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  min-width: 150px;
  text-align: center;
}
.nav-btn {
  width: 32px; height: 32px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
  transition: all .12s;
}
.nav-btn:hover { background: var(--surface2); color: var(--text); border-color: var(--border2); }
.today-btn {
  font-family: var(--mono); font-size: 11px; padding: 6px 12px;
  border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); cursor: pointer;
  transition: all .12s;
}
.today-btn:hover { background: var(--surface2); color: var(--text); }

/* ── Status pill ───────────────────────────────────────────────────────── */
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--muted); margin-bottom: 24px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: #2d7a3a; }
.dot-amber { background: #b07a00; animation: blink 1s infinite; }
.dot-red   { background: #c0392b; }
@keyframes blink { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }

/* ── Total destaque ────────────────────────────────────────────────────── */
.total-hero {
  background: var(--accent-bg);
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.total-hero-label { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.total-hero-value { font-family: var(--mono); font-size: 36px; font-weight: 500; color: #fff; letter-spacing: -.02em; }
.total-hero-sub { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 4px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .gcard-value { font-size: 22px; }
  .total-hero { flex-direction: column; align-items: flex-start; gap: 4px; }
  .total-hero-value { font-size: 28px; }
  .mes-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mes-nav { width: 100%; justify-content: space-between; }
}
