/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to bottom, #cde3ee, #ffe8d6, #f9c8b7);
  color: #333;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  position: relative;
}

/* === MENU BURGER === */
.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 35px;
  height: 30px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn span {
  display: block;
  height: 4px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* === MENU LATÉRAL === */
.menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding-top: 80px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  transition: 0.3s;
  z-index: 1000;
}

.menu.show {
  right: 0;
}

.menu a {
  display: block;
  padding: 15px 30px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.2s;
}

.menu a:hover {
  color: #a86c4a;
}

/* === SECTIONS === */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.text-overlay {
  background: rgba(255, 255, 255, 0.7);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  max-width: 800px;
  animation: fadeIn 1s ease-in;
}

h1, h2 {
  color: #a86c4a;
  margin-bottom: 20px;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* === BOUTONS === */
button,
input[type="submit"],
.wp-block-button__link {
  background-color: #f4a68a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: #f58f6d;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* === GALERIE === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  transition: 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* === FORMULAIRE CONTACT === */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

input:focus, textarea:focus {
  border-color: #a86c4a;
  outline: none;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* === BANDEAU === */
.bandeau {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: 50% 80%;
  border-radius: 12px;
  margin: 20px 0;
}

/* === BLOCS IMAGE + TEXTE === */
.bloc-texte-image,
.bloc-image-texte {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 12px;
  background: white; /* uniquement sur chaque bloc */
  box-shadow: 0 3px 8px rgba(0,0,0,0.08); /* optionnel pour effet carte */
}

.bloc-texte-image .texte,
.bloc-image-texte .texte {
  flex: 1;
  text-align: left;
}

.image-gauche,
.image-droite {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}



.bloc-programme {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  max-width: 900px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}





/* === GRILLE PROGRAMME 2 CARTES PAR LIGNE === */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 cartes par ligne */
  gap: 30px;
  max-width: 900px;
  margin: 40px auto;
}

.programme-card {
  background: white; /* fond blanc par carte */
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column; /* texte au-dessus, image en dessous */
  align-items: center;
  gap: 15px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.programme-card .texte {
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
}

.programme-card img.programme-image {
  width: 100%;
  max-width: 350px; /* limite la taille */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Responsive : 1 carte par ligne sur mobile */
@media (max-width: 768px) {
  .programme-grid {
    grid-template-columns: 1fr;
  }

  .programme-card img.programme-image {
    max-width: 100%;
  }
}






.programme-infos {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  text-align: left;
}

.programme-infos h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #333;
}

.programme-infos ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.programme-infos li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.programme-infos li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #3d7c82;
  font-size: 1.4rem;
  line-height: 1;
}

/* === STYLE PRIX === */
.prix-voyage {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.prix-voyage p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #a86c4a;
  margin-bottom: 8px;
}

.prix-voyage p span {
  font-size: 1.6rem;
  font-weight: 700;
}

.prix-voyage .note {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .text-overlay {
    padding: 30px;
  }

  .menu {
    width: 70%;
  }

  .bloc-texte-image,
  .bloc-image-texte {
    flex-direction: column;
    text-align: center;
  }

  .image-gauche,
  .image-droite,
  .programme-image,
  .programme-card img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .gallery-masonry img {
    height: auto;
  }
}

/* === GALLERY MASONRY === */
.gallery-masonry {
  column-gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-masonry img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 15px;
  display: block;
  break-inside: avoid;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* === BLOCS TYPO ET COULEURS === */
h1, h2, h3, h4, h5, h6 {
  color: #B7DCEB;
}

/* === BLOC PROGRAMME === */
#programme {
  padding: 0;
  margin: 0;
  width: 100%; /* s'assurer que ça prend toute la largeur */
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 100%; /* retirer le max-width de 900px */
  margin: 0;
  padding: 0;
  background: none; /* pas de fond */
  border-radius: 0;
}

.programme-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* texte en haut, image en bas */
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.programme-card img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-top: auto; /* << ajoute ça pour forcer l’image en bas */
}


.programme-card .texte {
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
}

.programme-card img.programme-image {
  width: 100%;
  aspect-ratio: 1/1; /* carré */
  object-fit: cover;
  border-radius: 12px;
}

/* === RESPONSIVE POUR LES PROGRAMMES === */
@media (max-width: 768px) {
  .programme-grid {
    grid-template-columns: 1fr;
  }
}


/* === GALERIE === */
/* === GALERIE === */
.gallery-container {
  background: white; /* fond blanc global */
  padding: 30px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 images par ligne */
  gap: 20px;
  background: white; /* ici c’est ok pour le fond unique de la galerie */
  padding: 20px;
  border-radius: 12px;
}

.gallery-masonry img {
  width: 100%;
  aspect-ratio: 1/1; /* carré */
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
}

.gallery-masonry img:hover {
  transform: scale(1.05);
}

/* Responsive galerie */
@media (max-width: 1200px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
}



/* === IMAGES À PROPOS ET PROGRAMME === */
.apropos-image,
.programme-image,
.programme-card img {
  width: 100%;
  max-width: 300px;     /* taille maximale */
  height: 300px;        /* carré */
  object-fit: cover;    /* garde le ratio et coupe si nécessaire */
  border-radius: 12px;  /* coins arrondis */
  display: block;
  margin: 0 auto;       /* centre horizontalement */
}

/* === SECTION À PROPOS (fond blanc global OK ici) === */
.apropos-section {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* === GRILLE DU PROGRAMME (structure UNIQUEMENT) === */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 40px auto;
}

/* === CARTES INDIVIDUELLES DU PROGRAMME === */
.programme-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* === RESPONSIVE : 1 CARTE PAR LIGNE SUR MOBILE === */
@media (max-width: 768px) {
  .programme-grid {
    grid-template-columns: 1fr;
  }
}








/*responsive mobile test */
/* ===== CORRECTION MOBILE PAGES ACCUEIL / A PROPOS / CONTACT ===== */
@media (max-width: 768px) {

  

  /* Enlève l’effet "bloc posé au milieu" */
  .apropos-section,
  .contact-section,
  .home-section {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 40px 20px;
    box-shadow: none;
  }

}





/* ===============================
   MENU BURGER – TEXTE NOIR
================================ */


.menu a {
  color: #333 !important;
}
.menu.show a {
  color: #333 !important;
}

