/* styles.css — surcharges légères */

/* Typographie corps */
.quarto-title-block { margin-bottom: 2.5rem; }

/* Navigation active */
.navbar-nav .nav-link.active { font-weight: 600; }

/* Code inline élégant */
code { font-size: 0.88em; }

/* Figures avec légende */
.figure-caption { font-size: 0.85rem; color: #6b7280; font-style: italic; text-align: center; }

/* Tableaux */
table { font-size: 0.92rem; }
thead { background: #f8f7f4; }

/* Sidebar TOC */
#quarto-sidebar { font-size: 0.88rem; }

/* Définitions clés */
.def-key {
  display: inline-block;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  padding: 0.05rem 0.4rem;
  color: #1d4ed8;
  font-weight: 500;
}

/* ── Correctif tableaux : forcer les couleurs de texte ── */
thead tr th,
.table thead tr th,
table thead tr th {
  background-color: #0d2b4e !important;
  color: #ffffff !important;
}
tbody tr td,
.table tbody tr td,
table tbody tr td {
  color: #2d3748 !important;
}
tbody tr:nth-child(even) td {
  background-color: #f0f7fd;
  color: #2d3748 !important;
}
