/* Styles des titres centralisés */

.overlay-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--title-overlay);
  margin-bottom: 0.5rem;
}

.success-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--title-success);
  margin-bottom: 0.5rem;
}

.main-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--title-main);
  text-align: center;
  margin-bottom: 2rem;
}

/* Variante décorative (préservée) */
.main-title.gradient {
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--title-card);
  margin-bottom: 0.5rem;
  white-space: normal;   /* permet au texte de revenir à la ligne */
  word-wrap: break-word; /* casse les mots longs si nécessaire */
  overflow-wrap: break-word; /* plus moderne, même effet */
  word-break: break-word;            /* casse les très longs mots */
  overflow-wrap: anywhere;           /* autorise le retour à la ligne sur petits écrans */
}

.tabs-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--title-tabs);
}

.loading-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--title-loading);
  margin-bottom: 0.5rem;
}

/* Responsivité (extraits existants) */
@media (max-width: 992px) {
  .main-title { font-size: 1.5rem; }
  .card-title { font-size: 1.2rem; }
}
@media (max-width: 600px) {
  .tabs-title { font-size: 1.1rem; }
  .card-title { font-size: 1.1rem; }
}
@media (max-width: 420px) {
  .tabs-title { font-size: 1rem; }
  .card-title { font-size: 1rem; }
}


