 /* --------------------------------------------- */
    /*                 HEADER GLOBAL                 */
    /* --------------------------------------------- */
    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 20px;
      background: #222;
      color: white;
      width: 100%;
      box-sizing: border-box;
	  z-index: 10;
    }

    .logo {
      font-size: 1.4rem;
      font-weight: bold;
      white-space: nowrap;
    }
	.mobile-menu,.menu-mobile,nav.mobile {
  display: none !important;
  pointer-events: none !important;
}

	
	
	
/* 
    .hamburger {
      font-size: 2rem;
      cursor: pointer;
      display: block;
      color: white;
      transition: transform 0.3s ease, color 0.3s ease;
    }

    .hamburger.active {
      color: #f5d000;
      transform: rotate(90deg);
    } */

/* --------------------------------------------- */
/*                 MENU MOBILE                   */
/* --------------------------------------------- */
/* MENU MOBILE */
.menu {
  position: fixed;
  top: 70px;
  left: 20px;
  right: 20px;
  max-width: 220px;
  margin: 0 auto;

  background: white;
  border-radius: 10px;
  flex-direction: column;
  box-sizing: border-box;
  text-align: center;

  max-height: calc(100dvh - 90px);
  overflow-y: auto;

  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu a {
  color: #222;
  padding: 12px 18px;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  display: block;
}

	.menu-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: none;
}

.menu-row a {
  flex: 1;
  border-bottom: none !important;
  padding: 12px 0;
}

	
	
	

    .menu a:last-child {
      border-bottom: none;
    }

    /* Hover mobile */
    .menu a:hover {
      background: #f5d000;
      color: #222;
      border-radius: 10px;
    }
	
	.menu a.active {
	  background: #f5d000;
	  color: #222;
	  border-radius: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}


    /* --------------------------------------------- */
    /*                 VERSION DESKTOP               */
    /* --------------------------------------------- */
 @media (min-width: 961px) {

  /* Header desktop */
  header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  /* Menu desktop propre */
  .menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 30px;
    background: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    width: auto;
    height: auto;
    max-width: none;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
  }

  .menu a {
    color: white;
    padding: 4px 0;
    text-decoration: none;
    position: relative;
  }

  .menu a:hover {
    color: #f5d000;
  }

  .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #f5d000;
    transition: width 0.3s ease;
  }

  .menu a:hover::after {
    width: 100%;
  }
}


	/* ==================================================================================== */
	

	

@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

/* ========================= */
/*  POLAROID — VERSION FINALE */
/* ========================= */
.section-polaroids {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.polaroid {
  position: relative;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: visible; /* ← IMPORTANT : ne casse plus la modale */
  max-width: 330px;  /* ← taille correcte desktop */
  margin: 0 auto;    /* ← centre sur mobile */
  cursor: pointer;
}

/* Fade gauche/droite */
.polaroid::before,
.polaroid::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.polaroid::before {
  left: 0;
  background: linear-gradient(to right, white 0%, transparent 100%);
}

.polaroid::after {
  right: 0;
  background: linear-gradient(to left, white 0%, transparent 100%);
}

/* Hover */
.polaroid:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.polaroid:active {
  transform: scale(0.98);
  opacity: 0.9;
}
.polaroid .hint {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-bottom: 8px;
  opacity: 0.7;
}

/* Image */
.polaroid img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #000;
  display: block;
  margin-bottom: 12px;
}

/* Texte */
.polaroid-text {
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  padding: 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}






.read-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 1rem;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}

/* diapo avis */
/* Conteneur scroll horizontal */
.avis-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
}

/* Chaque avis = largeur du polaroid */
.avis-item {
	flex: 0 0 100%; 
	background: #f0f0f0; 
	border-radius: 10px; 
	padding: 12px; 
	padding-top: 20px; /* ← espace pour éviter que l’image touche le haut */ 
	display: flex; 
	flex-direction: column; /* photo au-dessus */ 
	align-items: center; /* centre horizontalement */ 
	text-align: center; scroll-snap-align: start; 
	box-shadow: 0 3px 8px rgba(0,0,0,0.15); 
	height: auto; 
	min-height: 250px; /* ← si tu veux un minimum */
	box-sizing: border-box; 
	 border: 1px solid #000;
	 opacity: 0.3; transition: opacity 0.4s ease-in-out;
	}
	.avis-item.active { opacity: 1; }

/* Photo */
.avis-item img {
  width: 60px;
  height: 250px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Texte */
.avis-texte {
  margin-top: 10px;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

.avis-nom {
  font-weight: bold;
  display: block;
  margin-top: 4px;
}

.date {
  font-size: 0.75rem;
  color: #777;
  display: block;
  margin-top: 2px;
}




	
	/* Mode paysage mobile : hauteur très faible */
@media screen and (max-height: 450px) {

  .menu {
    top: 40px; /* au lieu de 70px */
  max-height: calc(100dvh - 50px);


    padding-bottom: 10px; /* réduit pour éviter de couper le dernier lien */
  }

  .menu a {
    padding: 10px 14px; /* liens un peu plus compacts */
  }
}
/* AFFICHAGE DES POLAROID */

/* Grille polaroids */
.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 20px;
}

/* Polaroid */
.polaroid {
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.polaroid:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ========================= */
/*  TABLETTE (900–1199 px)   */
/* ========================= */
@media (max-width: 1199px) {
  .polaroid-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}


/* Forcer 1 colonne sur les smartphones, même grands écrans 

@media (max-width: 959px){
  .polaroid-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .polaroid {
    max-width: 600px;
    margin: 0 auto;
  }
}
*/


/* ========================= */
/*  MOBILE ÉTROIT ( < 500px )*/
/* ========================= */
@media (max-width: 500px) {
  .polaroid {
    width: 90%;
  }
}


.polaroid h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: #222;
}

/* Image avec liseré noir */
.polaroid img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #000;
  display: block;
  margin-bottom: 12px;
}

/* Texte sous l’image */
.polaroid-text {
  margin-top: 8px;
  font-size: 1rem;
  color: #444;
  line-height: 1.4;
  padding: 0 5px;
}


/* PAGE LIRE PLUS */
.page-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
}

.page-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222;
}

.page-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #000;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  margin-bottom: 25px;
}

.page-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

.back-button {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 18px;
  background: #eee;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background 0.2s ease;
}

.back-button:hover {
  background: #ddd;
}
.close-modal {
  cursor: pointer;
  color: #444;
}


.close-modal:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ========================= */
/*  MODALE — VERSION DESKTOP */
/* ========================= */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  padding: 20px;
  z-index: 999999;
}

.modal-content {
  background: white;
  border-radius: 14px;
  max-width: 600px;
  width: 100%;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  text-align: center;
  overflow-y: auto;
  max-height: 90vh;
  position: relative;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin: 15px 0;
  border: 1px solid #000;
  padding: 0;
}

.close-modal {
  cursor: pointer;
  color: #444;
  font-size: 1rem;
  font-weight: bold;
  background: #f2f2f2;
  padding: 10px 18px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 20px;
  text-align: center;
}

/* ========================= */
/*  MODALE — VERSION MOBILE  */
/* ========================= */

@media (max-width: 960px) {

  .modal {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    overflow-y: auto; /* ← indispensable pour scroller */
  }

  .modal-content {
    width: 95%;
    max-height: none; /* ← on enlève la hauteur forcée */
    margin-top: 20px;
    padding: 20px 20px 100px;
  }

  .modal-content img {
    max-width: 100%;
    height: auto;
  }

  .modal-content .close-modal:last-child {
    position: static; /* ← plus de bouton coincé en bas */
    margin-top: 20px;
  }
}




/* ========================= */
/*  FIX POLAROID MOBILE      */
/* ========================= */

@media (max-width: 900px) {
  .polaroid {
    max-width: 320px !important;   /* taille parfaite mobile */
    width: 90% !important;         /* empêche l’élargissement */
    margin: 0 auto !important;     /* centre */
    padding: 15px !important;      /* padding propre */
  }

  .polaroid img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .polaroid-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px !important;
  }
}

/* ========================= */
/*  FIX SCROLL TEMOIGNAGES   */
/* ========================= */

.avis-scroll {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 20px;
}

.avis-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.avis-item img {
  width: 100px !important;   /* ← taille raisonnable mobile */
  height: 100px !important;
  object-fit: cover;
  border-radius: 8px;
}

/* ========================= */
/*  INDICATEUR DE SCROLL     */
/* ========================= */

.avis-scroll {
  position: relative;              /* ← indispensable pour afficher la flèche */
  padding-right: 40px;             /* espace pour la flèche */
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}

/* Fade à droite */
.avis-scroll::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.9));
  pointer-events: none;
  z-index: 5;
}

/* Flèche visible */
.avis-scroll::before {
  content: "›";                    /* flèche plus lisible que → */
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #444;                     /* ← visible sur fond blanc */
  font-weight: bold;
  pointer-events: none;
  z-index: 10;
  opacity: 0.8;
  animation: bounceRight 1.2s infinite ease-in-out;
}

@keyframes bounceRight {
  0% { transform: translateY(-50%) translateX(0); opacity: 0.4; }
  50% { transform: translateY(-50%) translateX(5px); opacity: 1; }
  100% { transform: translateY(-50%) translateX(0); opacity: 0.4; }
}


/* ==========FORMULAIRE ================*/
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.contact-form label {
  font-weight: bold;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: #f5d000;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.contact-form button:hover {
  background: #e0be00;
}
/* tableau materiels */
.table-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.table-wrapper table {
  margin: 0 auto;
  text-align: center;
  border-collapse: collapse; /* important pour des bordures nettes */
  background: #fff;
  border-radius: 8px;
  overflow: hidden; /* arrondis visibles */
}

/* Bordures visibles */
.table-wrapper th,
.table-wrapper td {
  border: 1px solid #ccc;
  padding: 8px 12px;
}

/* En-têtes plus jolis */
.table-wrapper th {
  background: #f5f5f5;
  font-weight: bold;
}
