* {
  box-sizing: border-box;
  max-width: 100%;
}

/* ===========================
   RESET GLOBAL
=========================== */
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #fdfaf6;
  color: #3e3e3e;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===========================
   HERO - IMAGE DE PRÉSENTATION
=========================== */
.hero-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Remplit la section sans déformer */
  object-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Assombrit l'image */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 75%;
  z-index: 2;
}

.hero-text {
  color: #fff;
  text-align: center;
  padding: 1rem;
  z-index: 3;
}

.hero-text h1 {
  font-size: 4vw; /* S'adapte à la largeur */
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-text p {
  font-size: 2vw;
  font-weight: 400;
}

/* ===========================
   SECTIONS GÉNÉRALES
=========================== */
section {
  padding: 80px 20px;
  text-align: center;
}

section h2 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #4e3b36;
}

.presentation-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.presentation-text {
  flex: 1;
  font-size: 1.15em;
}

.presentation-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===========================
   AVANTAGES
=========================== */
.avantages {
  background: #fff8f2;
}

.avantage-list {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
}

.avantage-list li {
  margin: 14px 0;
}

/* ===========================
   SERVICES
=========================== */
.services-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: #fdfaf6;
}

.services-grid > div {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.services-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ===========================
   CTA (Boutons d'appel à l'action)
=========================== */
.cta {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: #4e3b36;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #7a5d53;
}

/* ===========================
   AVIS
=========================== */
/* ===== Styles section avis Google ===== */

.avis-google {
  background-color: #faf7f5; /* très clair, doux */
  border-radius: 12px;
  padding: 2rem 1.5rem;
  margin: 3rem auto;
  max-width: 900px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  font-family: 'Quicksand', sans-serif;
  color: #4a4a4a;
}

.avis-google > h2 {
  font-weight: 600;
  font-size: 1.9rem;
  text-align: center;
  color: #2d2d2d;
  margin-bottom: 1.5rem;
}

#avis-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: #fff;
}

/* Section globale */
.facebook-section {
  padding: 2rem;
}

/* Conteneur flex pour aligner les cartes */
.social-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Style commun aux cartes */
.card {
  flex: 1 1 400px; /* minimum 400px, s’adapte à l’espace */
  max-width: 500px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.instagram-card .elfsight-app-51024d66-bfbe-4bb5-8261-9e716c1653b4 {
  width: 100% !important;
  height: 100% !important;
  min-height: 500px; /* Ajuste cette hauteur selon ton besoin */
}

/* Rendre responsive (optionnel si flex-wrap déjà présent) */
@media screen and (max-width: 900px) {
  .social-cards-container {
    flex-direction: column;
    align-items: center;
  }
}

/* ===========================
   MODAL RÉSERVATION & OVERLAY
=========================== */
.modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  width: 90%;
  max-width: 400px;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10001;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal h2 {
  margin-top: 0;
  color: #333;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease;
}

.modal-close:hover,
.modal-close:focus {
  color: #8ab661;
  outline: none;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(135deg, #5e463d, #4e3b36);
  color: #fdfaf6; /* beige clair */
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(78, 59, 54, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  text-align: center;
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #8ab661, #72994f); /* vert doux */
  color: #fff;
  box-shadow: 0 6px 14px rgba(138, 182, 97, 0.6);
  transform: translateY(-2px);
  outline: none;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 7px rgba(114, 153, 79, 0.4);
}

/* ===========================
   FORMULAIRE DE RÉSERVATION DANS MODAL
=========================== */
#form-reservation {
  margin-top: 20px;
}

#form-reservation label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

#form-reservation select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  font-size: 1rem;
}

#form-reservation button {
  width: 100%;
  padding: 14px 0;
  border: none;
  background: linear-gradient(135deg, #8ab661, #72994f);
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 10px rgba(138, 182, 97, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  user-select: none;
}

#form-reservation button:hover,
#form-reservation button:focus {
  background: linear-gradient(135deg, #72994f, #5f7e3f);
  box-shadow: 0 8px 14px rgba(114, 153, 79, 0.6);
  transform: translateY(-2px);
  outline: none;
}

#form-reservation button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(114, 153, 79, 0.4);
}

/* ===========================
   ANIMATION
=========================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE DESIGN
=========================== */
/* DESKTOP */
@media (min-width: 1200px) {
  .presentation-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .services-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }
}

/* TABLETTE */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-text h1 {
    font-size: 3.5vw;
  }

  .hero-text p {
    font-size: 1.8vw;
  }

  .avis-google {
    padding: 1.5rem 1rem;
    margin: 2rem 1rem;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .hero-text h1 {
    font-size: 6vw;
  }

  .hero-text p {
    font-size: 3vw;
  }

  .services-grid > div {
    max-width: 100%;
  }
  
  .burger-menu {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .avis-google {
    padding: 1.5rem 1rem;
    margin: 2rem 1rem;
  }
}
