/* ==== GLOBAL.CSS ==== */

/* Structure de base */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Inter", "Poppins", sans-serif;
  background-color: transparent;
  color: #111;
  display: block;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Conteneur principal des pages */
.page-content {
  flex: 1 0 auto; /* prend tout l'espace disponible */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  background: transparent;
}

/* Footer commun */
.footer {
  background-color: #000;
  color: #fff;
  width: 100%;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #333;
  box-sizing: border-box;
}

/* Classes utilitaires */
.text-center { text-align: center; }
.btn {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.btn:hover { background-color: #333; }

/* Responsif */
@media (max-width: 768px) {
  .footer {
    padding: 15px;
    font-size: 0.9rem;
  }
}
main {
  flex: 1 0 auto; /* le contenu prend la hauteur sans casser le sticky */
}

header, footer {
  flex-shrink: 0; /* empêche le header/footer d’être écrasés */
}
