/* === STRUCTURE GÉNÉRALE DU THÈME (LAYOUT) === */
/* Fichier réservé aux styles de structure globale :
   header, footer, containers, typographie, couleurs de fond,
   alignements et gabarits récurrents.
   Les styles spécifiques (menu, carrousel, formations, etc.)
   restent dans leurs fichiers dédiés. */
/* === STRUCTURE GÉNÉRALE DU SITE === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: #e8ecf5;
  background: linear-gradient(180deg, #141a28 0%, #0f1522 60%, #0b1018 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

/* === LIENS ET TEXTES === */
a {
  color: #a7b7ff;
  text-decoration: none;
  transition: color .25s ease;
}
a:hover { color: #c9d4ff; }

h1, h2, h3, h4 {
  color: #f5f7fb;
  margin: 0 0 10px 0;
}
p, li {
  color: #cfd6e3;
}

/* === SECTIONS GLOBALES === */
section {
  width: 100%;
  box-sizing: border-box;
}
.titre-section {
  font-size: 28px;
  margin-bottom: 40px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* === FORMATIONS / CONTENEURS === */
.formations-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(180deg, #101622 0%, #0b111a 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.formations-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}

/* === PIED DE PAGE === */
footer {
  margin-top: auto;
  background: linear-gradient(180deg, #0e141f, #0b1018);
  color: #aab2c3;
  text-align: center;
  padding: 26px 12px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
