/* --- Styles généraux --- */
body {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding: 2rem;
  background: #aaaaaa;
  margin: 0;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  font-weight: bold;
  background: #dddddd;
  width: 100%;
  text-align: center;
  font-variant: small-caps;
}

h2 {
  font-style: italic;
  color:#999999;
}

h3 {
  font-style: italic;
  color:#999999;
  width: 100%;
  text-align: center;
}

/* --- Styles pour le menu --- */
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
  transition: max-height 0.3s ease-in-out;
}

.ongletOn, .ongletOff {
  display: inline-block;
  height: 2rem;
  min-width: 7rem;
  line-height: 2rem;
  text-align: center;
  padding: 0 0.5rem;
  margin-top: 0.0625rem;
  border: 0.0625rem solid gray;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  font-weight: bold;
}

.ongletOn {
  background: #ffffff;
  border-bottom-color: white;
}

.ongletOff {
  background: #f0f0f0;
}

.ongletOff a {
  color: #000000;
  text-decoration: none;
}

.menu_bouton { /* --- Bouton burger --- */
  display: none;
  background: #444;
  color: white;
  border: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem; /* 50% pour un rond */
  cursor: pointer;
  margin: 0.5rem 0;
}

/* --- Mise en page principale --- */
.conteneur_global {
  max-width: 62.5rem; /* 1000px */
  margin: 0 auto;
  padding: 1rem;
}

.bandeau {
  background-image: url('images/LMGB_FB.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  height: 11.25rem; /* 180px */
  color: #ffffff;
  font-weight: bold;
  font-size: 2rem;
  font-variant: small-caps;
  display: flex;
  align-items: center;
  padding-left: 1rem;
}

.conteneur_page {
  background: #ffffff;
  padding: 1.25rem;
  margin-top: 0;
}

.conteneur_2_colonnes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  background: #ffffff;
  max-width: 1000px;
  margin: 0 auto;
}

.conteneur_2_colonnes_gauche {
  flex: 1 1 300px;
  min-width: 280px;
}

.conteneur_2_colonnes_droite {
  flex: 0 0 324px;
  text-align: right;
}

.conteneur_2_colonnes_droite img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
  max-width: 250px;
}
    
/* ligne en bas */
.ligne {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
}

.ligne_item {
  text-align: center;
}

.ligne_item img {
  height: 80px;
  max-width: 100%;
}


/* --- Adaptation mobile --- */
@media (max-width: 600px) { /* 600px */
  body {
    font-size: 0.9rem; 
    padding: 0rem;
  }

  .bandeau {
    font-size: 1.2rem;
    height: auto;
    padding: 1rem;
    text-align: center;
  }
  
  /* Le bouton burger devient visible */
  .menu_bouton {
    display: block;
    position: fixed;
    top: 1rem;
    right: 2rem;
    z-index: 1000; /* pour rester au-dessus */
  }

  /* Menu caché par défaut sur mobile */
  .menu {
    display: none;
    flex-direction: column;  /* items les uns en dessous des autres */
    align-items: stretch;
    width: 200px; /* largeur fixe pour le rectangle bleu */
    background-color: #ffffff; 
    padding: 5px;
    /*border-radius: 8px;*/
    box-shadow: 0 4px 8px rgba(0,0,0,0.5); /* ombre */
    font-size: 10px; /* texte petit */
    position: fixed;
    top: 4rem;
    right: 2rem;
    z-index: 1000; /* pour rester au-dessus */
  }

  /* Quand le menu est actif (visible) */
  .menu.active {
    display: flex;
  }

  /* Style des items du menu pour bien les espacer */
  .menu label {
    display: block;
    color: white;
    margin: 5px 0;
    cursor: pointer;
  }

  .ongletOn, .ongletOff {
    height: auto;
    line-height: normal;
    text-align: left;
    font-size: 1rem;    
    border: none;
    font-weight: normal;
    background: #dddddd;
    border-radius: 0; 
    padding: 0.5rem;
  }
  
  .ongletOn {
    font-style: italic;
    color: #aaaaaa;
    background: #ffffff;
  }

  .conteneur_page {
    padding: 1rem;
  }
   
  .conteneur_2_colonnes {
    flex-direction: column;
    align-items: center;
  }

  .conteneur_2_colonnes_droite {
    text-align: center;
    margin-top: 1.5rem;
  }

  .ligne {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

}

