/* ========================================
   RESET DE BASE
======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================================
   STYLE GLOBAL DU SITE
======================================== */

body {
  font-family: Arial, Helvetica, sans-serif;
  background: white;
  color: #222;
  line-height: 1.6;
  padding: 30px;
}

/* ========================================
   CONTENEUR PRINCIPAL
======================================== */

main {
  max-width: 1200px;
  margin: auto;
}

/* ========================================
   EN-TÊTE DU SITE
======================================== */

header {
  margin-bottom: 40px;
}

/* ========================================
   SÉLECTEUR DE LANGUE
======================================== */

.langues {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;

  background: #f7f7f7;

  border: 1px solid #ddd;
  border-radius: 12px;
}

.langues label {
  font-weight: bold;
}

.langues select {
  padding: 8px 12px;

  border: 1px solid #ccc;
  border-radius: 8px;

  background: white;

  font-size: 15px;
  cursor: pointer;
}

/* ========================================
   TITRE PRINCIPAL
======================================== */

h1 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #111;
}

/* ========================================
   TITRES SECONDAIRES
======================================== */

h2 {
  font-size: 28px;
  margin: 30px 0 15px;
  color: #222;
}

/* ========================================
   TITRES DES CARTES / LIEUX
======================================== */

h3 {
  font-size: 22px;
  margin: 15px 0 10px;
  color: #222;
}

/* ========================================
   PARAGRAPHES
======================================== */

p {
  margin-bottom: 12px;
}

/* ========================================
   STYLE DES LIENS
======================================== */

a {
  color: #0b57d0;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

/* Effet au survol */

a:hover {
  color: #003c9e;
  text-decoration: underline;
}

/* ========================================
   BOUTON RETOUR
======================================== */

.retour {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 18px;

  background: white;

  border-radius: 10px;
  border: 1px solid #ddd;

  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Effet au survol du bouton retour */

.retour:hover {
  background: #f0f0f0;
}

/* ========================================
   CARTE INTERACTIVE
======================================== */

#map {
  width: 100%;
  height: 500px;

  border-radius: 16px;

  margin-bottom: 40px;

  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* ========================================
   GRILLE DES LIEUX
======================================== */

#liste-lieux {
  display: grid;

  /* Colonnes automatiques responsive */
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 25px;
}

/* ========================================
   CARTE D’UN LIEU
======================================== */

article {
  background: white;

  border-radius: 16px;

  overflow: hidden;

  box-shadow: 0 4px 15px rgba(0,0,0,0.08);

  transition: 0.25s;
}

/* Animation au survol */

article:hover {
  transform: translateY(-5px);

  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Zone texte interne de la carte */

article div {
  padding: 18px;
}

/* ========================================
   IMAGES GÉNÉRALES
======================================== */

img {
  display: block;
  width: 100%;
}

/* ========================================
   IMAGE DES CARTES
======================================== */

article img {
  width: 100%;
  height: 220px;

  /* Coupe proprement l’image */
  object-fit: cover;
}

/* ========================================
   GRANDE IMAGE DE PAGE DÉTAIL
======================================== */

.image-cover {
  width: 100%;

  max-height: 500px;

  object-fit: cover;

  border-radius: 16px;

  margin-bottom: 25px;
}

/* ========================================
   GALERIE D’IMAGES
======================================== */

.galerie {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 15px;

  margin-top: 20px;
}

/* Images de la galerie */

.galerie img {
  height: 180px;

  object-fit: cover;

  border-radius: 12px;

  transition: 0.2s;
}

/* Petit zoom au survol */

.galerie img:hover {
  transform: scale(1.02);
}

/* ========================================
   PIED DE PAGE
======================================== */

footer {
  margin-top: 50px;

  text-align: center;

  color: #777;

  font-size: 14px;
}

/* ========================================
   VERSION TABLETTE
======================================== */

@media screen and (max-width: 768px) {
  body {
    padding: 20px;
  }
.langues {
  width: 100%;
  justify-content: space-between;
}

.langues select {
  max-width: 170px;
}

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  #liste-lieux {
    grid-template-columns: 1fr;
  }

  article img {
    height: 180px;
  }

  .image-cover {
    max-height: 320px;
  }

  .galerie img {
    height: 160px;
  }
}

/* ========================================
   VERSION SMARTPHONE
======================================== */

@media screen and (max-width: 480px) {
  body {
    padding: 14px;
  }

.langues {
  width: 100%;
  justify-content: space-between;
}

.langues select {
  max-width: 170px;
}

  h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  article {
    border-radius: 12px;
  }

  article img {
    height: 150px;
  }

  article div {
    padding: 14px;
  }

  #map {
    height: 350px;
    border-radius: 12px;
  }

  .image-cover {
    max-height: 240px;
    border-radius: 12px;
  }

  .galerie {
    grid-template-columns: 1fr;
  }

  .galerie img {
    height: 150px;
  }

  .retour {
    padding: 8px 14px;
    font-size: 14px;
  }
}
