/* Reset basique */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  padding: 20px;
  text-align: center;
}

h1, h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

/* 3 premières images (réduites) */
.centre-photo img {
  max-width: 150px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* listes sous chaque image alignées et réduites */
.liste-photo {
  display: inline-block;
  text-align: left;
  margin-bottom: 40px;
  font-size: 0.9em;
  line-height: 1.3;
}

/* CONTAINER DU TABLEAU ET DES 2 IMAGES */
#zone-tableau {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* TABLEAU */
#tab table {
  border-collapse: collapse;
  width: 600px;
  background: white;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

#tab th, #tab td {
  border: 1px solid #999;
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}

#tab th {
  background-color: #2c3e50;
  color: white;
  font-weight: bold;
}

/* 2 dernières images agrandies */
#image1 img,
#image2 img {
  max-width: 300px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Responsive simple */
@media (max-width: 800px) {
  #zone-tableau {
    flex-direction: column;
    align-items: center;
  }

  #tab table {
    width: 90%;
  }

  #image1 img,
  #image2 img {
    max-width: 80%;
    margin-bottom: 20px;
  }
}