/* style.css */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

/* HEADER FIXE */
header {
  background-color: #8d6dff;
  color: white;
  padding: 1.8rem 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* MENU FIXE (juste en dessous du header) */
nav {
  background-color: #f2f2f2;
  position: sticky;
  top: 150px; /* hauteur approximative du header */
  z-index: 999;
}

nav a {
  text-decoration: none;
  color: #003366;
  font-weight: bold;
}

main {
  max-width: 1510px;
  margin: auto;
  padding: 2rem 1rem;
  padding-top: rem; /* évite que le contenu passe sous le menu */
  font-size: 1.4rem;
}


h1 {
  color: #FFFFFF;
}
h2, h3{
    color: #000000
}

p{
   font-size: 1.25rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

footer {
  /*position: fixed;*/
  text-align: center;
  padding: 1rem;
  background: #131a20;
  font-size: 1rem;
  margin-top: 2rem;
}

.image-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }
.image-container img {
      max-width: 100%;
      height: auto;
      flex: 1 1 300px;
    }


/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  header h1 {
    font-size: 1.5rem;
  }
}

/* MENU PRINCIPAL */
nav {
  background-color: #f2f2f2;
}

.menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu > li {
  position: relative;
}

.menu a {
  display: block;
  padding: 1rem;
  color: #003366;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  font-size: 1.25rem;
}

/* SOUS-MENUS */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.submenu li a {
  padding: 0.75rem 1rem;
  color: #003366;
  background-color: #fff;
}

.menu li:hover .submenu {
  display: block;
}

.submenu li a:hover {
  background-color: #eee;
}

/* Conteneur principal pour le tableau */
.site-content {
  padding: 0px;
  text-align: center;
}

/* Tableau responsive */
.responsive-table .table {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  border: 0px solid #000000;
}

.responsive-table .cell {
  width: 42%; /* Chaque cellule occupe 45% de la largeur sur les grands écrans */
  margin-bottom: 15px;
  font-size: 1.25rem;
  font-weight: bold;
  color: #003366;
  text-align: left; /* Aligne le texte à gauche */
}

.responsive-table .content {
  display: flex;
  align-items: center; /* Centre verticalement les éléments dans la cellule */
  justify-content: flex-start;
}

.responsive-table .content img {
  width: 60%; /* Image occupe 40% de la largeur */
  max-width: 600px; /* Limite la taille de l'image */
  height: auto;
  margin-right: 15px; /* Espacement entre l'image et la description */
}

.responsive-table .content p {
  flex: 1; /* Permet à la description de prendre l'espace restant */
  color: #333;
  font-size: 1rem;
  text-align: justify; /* Aligne le texte de manière justifiée */
}



/* RESPONSIVE : empilement en mobile */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .submenu {
    position: static;
    box-shadow: none;
    background-color: transparent;
  }

  .submenu li a {
    padding-left: 2rem;
    background-color: #f9f9f9;
  }

  .menu li:hover .submenu {
    display: block;
  }
}

/* Pour les écrans de taille moyenne et inférieure à 768px (tablettes et mobiles) */
@media (max-width: 768px) {
  .responsive-table .cell {
    width: 100%; /* Les cellules prennent 100% de la largeur sur les petits écrans */
  }

  .responsive-table .content {
    flex-direction: column; /* Sur les petits écrans, les images et descriptions s'empilent */
    align-items: center; /* Centrer les éléments verticalement */
    text-align: center; /* Centrer le texte */
  }

  .responsive-table .content img {
    width: 80%; /* Les images prennent 80% de la largeur */
    margin-right: 0; /* Supprimer l'espacement entre l'image et la description */
    margin-bottom: 15px; /* Ajouter un espacement entre l'image et la description */
  }

  .responsive-table .content p {
    font-size: 0.9rem; /* Réduit la taille du texte */
  }
}


/* Pour les très petits écrans, par exemple les téléphones */
@media (max-width: 480px) {
  .responsive
