@media screen and (max-width: 800px) {

  /* Empêche les débordements horizontaux */
  body {
    overflow-x: hidden;
  }
  .burger {
    display: block;
  }
   .Tab_menu.show {
    display: flex;
  } 
   /* Bloc menu */
  #menu {
    margin: 0 auto;
    width: 100% !important;
    max-width: 100vw !important;
    }
  .Tab_titre {
    width: 90%;
    font-size: 18px;
  }
  .Tab_titre h1 {
  text-align: center;
  font-size: 14px;
  }
  .Tab_menu {
    display: none;
    background-color: #FFFFFF;
    border: 0px;
    }  
  .Tab_menu tr {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .Tab_menu td {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0px;
  }
  .Tab_menu a {
    border:4px solid #0F718C;
    font-size: 18px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px; /* Coins arrondis pour un effet plus doux */
  }
  /* Conteneur principal en mode vertical */
  #conteneur1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: static !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
  }
   
  /* 2. Bloc central en haut */
  #indexhautcentre {
    order: 2;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    text-align: center;
    margin-bottom: 20px;
  }

  #indexhautcentre img {
    max-width: 100%;
    height: auto;
    display: inline-block;
  }
    /* 3. Bloc gauche au centre */
  #indexhautgauche {
    order: 3;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
    text-align: center;
  }
  /* 4. Bloc droit en bas */
  #indexhautdroite {
    order: 4;
    position: static !important;
    width: 100%!important;
    height: auto !important;
    margin-bottom: 20px;
    text-align: center;
  }

  #indexhautdroite img:first-child {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* 5. Pied de page tout en bas */
  #indexbas {
    order: 5;
    position: static !important;
    width: 70% !important;
    text-align: center;
    margin-top: 10px;
  }
    /* Images générales */
  img {
    max-width: 100%;
    height: auto;
  }
}
