/* ============================================
   Classes de base - centrage et couleurs
   ============================================ */

/* Thème global : fond anthracite, texte gris clair */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background-color: #2f2f2f;
  color: #c8c8c8;
}

a,
a:link,
a:visited,
a:hover,
a:active {
  color: #c8c8c8;
  text-decoration: none;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.site-footer p {
  margin: 0;
}

/* Centrage du texte */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* Centrage en bloc (élément + contenu) */
.center-block {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Flexbox pour centrer contenu horizontalement et verticalement */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Conteneur flex : centre les blocs horizontalement et verticalement */
.flex-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.flex-block {
  margin: 0.25em 0;
}

/* Couleurs de texte */
.text-primary {
  color: #2563eb;
}

.text-secondary {
  color: #64748b;
}

.text-success {
  color: #16a34a;
}

.text-warning {
  color: #ca8a04;
}

.text-danger {
  color: #dc2626;
}

.text-muted {
  color: #94a3b8;
}

.text-dark {
  color: #1e293b;
}

.text-light {
  color: #f8fafc;
}

/* Utilitaires */
.text-uppercase {
  text-transform: uppercase;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-capitalize {
  text-transform: capitalize;
}
