/* #region Générale */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.spa-header {
  text-align: center;
}

body {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f5f0;
}

img {
  vertical-align: middle;
  border-style: none;
  width: 100%;
}

/* #endregion */

/* #region heder-slider */
#heder-slider {
  height: 100vh;
  width: 100%;
  background-color: #c87e4f;
}

#heder-slider .wrapper,
#heder-slider .slide {
  position: relative;
  width: 100%;
  height: 100%;
}

#heder-slider .slide {
  overflow: hidden;
}

#heder-slider .slide::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

#heder-slider .slide .image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 8s ease-out, opacity 1.5s ease;
  will-change: transform;
}

#heder-slider .slide.swiper-slide-active .image {
  transform: scale(1);
}

#heder-slider .slide.swiper-slide-prev .image,
#heder-slider .slide.swiper-slide-next .image {
  opacity: 0.7;
}

#heder-slider .slide .image-data {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  z-index: 100;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  transform: translate(-50%, -40%);
}

#heder-slider .slide.swiper-slide-active .image-data {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition-delay: 0.3s;
}

#heder-slider .image-data span.text {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  display: inline-block;
  transform: translateY(20px);
  transition: transform 0.8s ease;
}

#heder-slider .image-data h2 {
  font-size: 45px;
  font-weight: 600;
  color: #fff;
  transform: translateY(30px);
  transition: transform 0.8s ease;
}

#heder-slider .slide.swiper-slide-active .image-data span.text,
#heder-slider .slide.swiper-slide-active .image-data h2 {
  transform: translateY(0);
}

#heder-slider a.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  color: #333;
  background: #fff;
  text-decoration: none;
  margin-top: 25px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

#heder-slider .slide.swiper-slide-active .image-data a.button {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

#heder-slider a.button:hover {
  color: #fff;
  background-color: #c87e4f;
}

/* swiper button css */
#heder-slider .nav-btn {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

#heder-slider .nav-btn:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

#heder-slider .swiper-button-next {
  right: 50px;
}

#heder-slider .swiper-button-prev {
  left: 50px;
}

#heder-slider .nav-btn::before,
#heder-slider .nav-btn::after {
  font-size: 25px;
  color: #fff;
}

#heder-slider .swiper-pagination-bullet {
  opacity: 1;
  height: 12px;
  width: 12px;
  background-color: #fff;
  visibility: hidden;
  transition: all 0.3s ease;
}

#heder-slider .swiper-pagination-bullet-active {
  border: 2px solid #fff;
  background-color: #c87e4f;
  transform: scale(1.2);
}

@media screen and (max-width: 768px) {
  #heder-slider .nav-btn {
    visibility: hidden;
  }

  #heder-slider .swiper-pagination-bullet {
    visibility: visible;
  }

  #heder-slider .image-data h2 {
    font-size: 30px;
  }

  #heder-slider .swiper-button-next {
    right: 20px;
  }

  #heder-slider .swiper-button-prev {
    left: 20px;
  }

  .image-data {
    max-width: 80%;
  }
}

/* #endregion */

/* #region préambule */
#preambule {
  padding: 80px 20px;
  font-family: "Montserrat", sans-serif;
  max-width: 1200px;
  margin: 0 auto;
}

#preambule h1 {
  color: #8b6b4a;
}

#preambule .spa-header {
  text-align: center;
}

#preambule .presta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

#preambule .presta-card {
  background: white;
  border-radius: 0.25rem;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

#preambule .presta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#preambule .presta-icon {
  display: inline-block;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
}

#preambule .presta-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 0.25rem;
}

#preambule .presta-card:hover .presta-icon {
  transform: scale(1.1);
}

#preambule .presta-title {
  font-size: 1.4rem;
  color: #2a2a2a;
  margin-bottom: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 10px;
}

#preambule .presta-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #c8a97e;
  transition: all 0.4s ease;
}

#preambule .presta-card:hover .presta-title::after {
  width: 60px;
  background: #8b6b4a;
}

#preambule .presta-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  font-weight: 300;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 992px) {
  #preambule .presta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  #preambule .presta-card {
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  #preambule .preambule-section {
    padding: 60px 15px;
  }

  #preambule .presta-title {
    font-size: 1.3rem;
  }

  #preambule .presta-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  #preambule .presta-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 40px auto 0;
  }

  #preambule .presta-icon img {
    width: 70px;
    height: 70px;
  }
}

/* #endregion */

/* #region About */
#propos {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem auto;
  background: linear-gradient(
      rgba(139, 107, 74, 0.85),
      rgba(139, 107, 74, 0.85)
    ),
    url("../Images/Visages/b2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 20px 120px 20px;
  font-family: "Montserrat", sans-serif;
  color: white;
  overflow: hidden;
}

#propos .about-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

#propos .about-content {
  max-width: 800px;
  margin: 40px auto 0;
}

#propos .spa-header h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#propos .spa-header h3 {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 10px;
  text-transform: uppercase;
}

#propos .divider {
  background: white;
}

#propos .lead-text {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

#propos .sub-text {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Animation de vague */
#propos .wave-animation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

#propos .wave {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 600%;
  height: 100%;
  animation: waveMove 10s linear infinite;
  transform: translateX(-25%);
}

@keyframes waveMove {
  0% {
    transform: translateX(-25%);
  }

  50% {
    transform: translateX(-75%);
  }

  100% {
    transform: translateX(-25%);
  }
}

/* Responsive */
@media (max-width: 992px) {
  #propos .about-section {
    min-height: 400px;
    padding: 60px 20px 100px 20px;
    background-attachment: scroll;
  }

  #propos .wave-animation {
    height: 80px;
  }

  #propos .lead-text {
    font-size: 1.2rem;
  }

  #propos .sub-text {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  #propos .about-section {
    margin: 80px 0 0 0;
    min-height: 350px;
    padding-bottom: 80px;
  }

  #propos .wave-animation {
    height: 60px;
  }

  #propos .spa-header h1 {
    font-size: 2.2rem;
  }

  #propos .spa-header h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  #propos .about-section {
    padding: 50px 15px 70px 15px;
    min-height: 300px;
  }

  #propos .wave-animation {
    height: 50px;
  }

  #propos .about-content {
    margin-top: 30px;
  }

  #propos .lead-text {
    font-size: 1.1rem;
  }
}

/* #endregion */

/* #region Nos Prestations */
#spa-services .spa-services {
  padding: 80px 0;
  font-family: "Montserrat", sans-serif;
  margin: 3rem auto;
  position: relative;
}

#spa-services .spa-header {
  text-align: center;
  margin-bottom: 50px;
}

#spa-services .spa-header h1 {
  font-size: 2.8rem;
  color: #8b6b4a;
  margin: auto;
  font-weight: 300;
  letter-spacing: 1.5px;
}

#spa-services #seeTarifs {
  display: block;
  margin: 10px auto 0;
  padding: 12px 40px;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(200, 169, 126, 0.3);
}

#spa-services .divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  margin: 0 auto 25px;
  border-radius: 2px;
}

#spa-services .spa-subtitle {
  color: #777;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Conteneur Swiper */
#spa-services .swiper-container {
  padding: 30px 0 60px;
  /* Suppression du max-width ici, géré par le wrapper pour plus de flexibilité */
  width: 80vw;
  /* Ajusté pour laisser un peu d'espace sur les côtés */
  margin: 0 auto;
}

/* Swiper Slide Container - important pour le centrage et le responsive */
#spa-services .slide-container {
  width: 100%;
  /* Le slide-container doit prendre la largeur de son parent */
}

#spa-services .card {
  width: 280px;
  /* La largeur sera gérée par slidesPerView et spaceBetween */
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.048);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  /* margin: 0 10px; Remplacé par spaceBetween de Swiper */
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 400px;
}

#spa-services .card:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

#spa-services .image-box {
  height: 240px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

#spa-services .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

#spa-services .card:hover .image-box img {
  transform: scale(1.08);
}

/* Contenu carte */
#spa-services .profile-details {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

#spa-services .profile-details .name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

#spa-services .profile-details .name::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #c8a97e;
  transition: width 0.4s ease;
}

#spa-services .card:hover .profile-details .name::after {
  width: 70px;
}

#spa-services .profile-details .job {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* Navigation Swiper */
#spa-services .swiper-button-next,
#spa-services .swiper-button-prev {
  color: #fff;
  width: 50px;
  height: 50px;
  background: rgba(200, 169, 126, 0.9);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

#spa-services .swiper-button-next::after,
#spa-services .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

#spa-services .swiper-button-next:hover,
#spa-services .swiper-button-prev:hover {
  background: rgba(139, 107, 74, 0.95);
  transform: scale(1.1);
}

/* Pagination Swiper */
#spa-services .swiper-pagination {
  bottom: 20px !important;
}

#spa-services .swiper-pagination-bullet {
  background-color: #c8a97e;
  opacity: 0.6;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

#spa-services .swiper-pagination-bullet-active {
  background-color: #8b6b4a;
  opacity: 1;
  transform: scale(1.3);
}

/* Responsive */
@media screen and (max-width: 1200px) {
  /* Ces règles seront écrasées par Swiper si slidesPerView est défini numériquement */
  /* #spa-services .card {
                width: 260px;
                height: 380px;
            } */

  #spa-services .image-box {
    height: 220px;
  }
}

@media screen and (max-width: 992px) {
  #spa-services .spa-header h1 {
    font-size: 2.4rem;
  }

  /* #spa-services .card {
                width: 240px;
                height: 360px;
            } */

  #spa-services .image-box {
    height: 200px;
  }

  #spa-services .profile-details .name {
    font-size: 1.3rem;
  }

  #spa-services .swiper-container {
    width: 90vw;
  }
}

@media screen and (max-width: 768px) {
  #spa-services .spa-services {
    padding: 60px 0;
  }

  /* #spa-services .card {
                width: 220px;
                height: 340px;
            } */

  #spa-services .swiper-button-next,
  #spa-services .swiper-button-prev {
    display: none;
    /* Masquer les boutons de navigation sur les petits écrans */
  }

  /* Ajustement pour que la carte prenne la largeur complète sur mobile */
  #spa-services .swiper-slide {
    width: 100% !important;
    /* Force la carte à prendre la pleine largeur */
  }

  #spa-services .swiper-container {
    width: calc(100vw - 30px);
    /* Ajuster la largeur pour laisser un petit padding sur les bords */
  }
}

@media screen and (max-width: 576px) {
  /* Ces règles seront écrasées par Swiper si slidesPerView est défini numériquement */
  /* #spa-services .card {
                width: 200px;
                height: 320px;
            } */

  #spa-services .image-box {
    height: 180px;
  }

  #spa-services .profile-details {
    padding: 20px;
  }

  #spa-services .profile-details .name {
    font-size: 1.2rem;
  }

  #spa-services .profile-details .job {
    font-size: 0.9rem;
  }
}

/* #endregion */

/* #region Whatchoseus */
#Whatchoseus.why-choose-us {
  padding: 60px 0 80px;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  position: relative;
  margin: 3rem auto;
}

#Whatchoseus .spa-header {
  text-align: center;
}

#Whatchoseus .spa-header h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#Whatchoseus .spa-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

#Whatchoseus .why-choose-us__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

#Whatchoseus .why-choose-us__text {
  text-align: center;
  margin-bottom: 50px;
  color: white;
}

#Whatchoseus .text__primary p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

#Whatchoseus .text__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

#Whatchoseus .text__stats p {
  font-size: 1.1rem;
  color: white;
  position: relative;
  letter-spacing: 0.5px;
}

#Whatchoseus .text__stats p:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(transparent, white, transparent);
}

#Whatchoseus .text__stats span {
  display: block;
  font-size: 2.2rem;
  font-weight: 300;
  color: white;
  margin-bottom: 5px;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Nouveau style de grille carrée */
#Whatchoseus .why-choose-us__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

#Whatchoseus .benefit-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.25rem;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  min-height: 300px;
  /* Hauteur fixe pour des carrés */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#Whatchoseus .benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

#Whatchoseus .benefit-item i {
  font-size: 2.5rem;
  color: #c8a97e;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

#Whatchoseus .benefit-item:hover i {
  transform: scale(1.1);
  color: #8b6b4a;
}

#Whatchoseus .benefit-item .name {
  font-size: 1.3rem;
  color: #2a2a2a;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
}

#Whatchoseus .benefit-item .name::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #c8a97e;
  transition: all 0.4s ease;
}

#Whatchoseus .benefit-item:hover .name::after {
  width: 60px;
  background: #8b6b4a;
}

#Whatchoseus .benefit-item .job {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  font-weight: 300;
}

#Whatchoseus .divider {
  width: 100px;
  height: 4px;
  background: white;
  margin: 0 auto 25px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  #Whatchoseus .why-choose-us__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #Whatchoseus.why-choose-us {
    padding: 50px 0;
  }

  #Whatchoseus .text__stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  #Whatchoseus .text__stats p:not(:last-child)::after {
    display: none;
  }

  #Whatchoseus .benefit-item {
    padding: 25px;
    min-height: 280px;
  }
}

@media (max-width: 576px) {
  #Whatchoseus .why-choose-us__items {
    grid-template-columns: 1fr;
  }

  #Whatchoseus .text__primary p {
    font-size: 1.1rem;
  }

  #Whatchoseus .benefit-item .name {
    font-size: 1.2rem;
  }

  #Whatchoseus .benefit-item .job {
    font-size: 0.95rem;
  }
}

/* #endregion */

/* #region Galérie*/
#galérie {
  width: 90vw;
  max-width: 1700px;
  margin: 3rem auto;
  padding: 40px 0;
  position: relative;
  font-family: "Montserrat", sans-serif;
}

/* Réutilisation du header cohérent */

#galérie .spa-header {
  text-align: center;
}

#galérie .spa-header h1 {
  color: #8b6b4a;
  font-weight: 300;
  letter-spacing: 1.5px;
}

#galérie .divider {
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
}

#galérie .ma-galerie {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  width: 90%;
  max-width: 1700px;
  margin: 50px auto;
}

#galérie .gal-box {
  overflow: hidden;
  position: relative;
  border-radius: 0.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#galérie .gal-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

#galérie .ma-galerie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  border-radius: 0.25rem;
}

#galérie .gal-box:hover img {
  transform: scale(1.08);
}

/* Positionnement des boxes */
#galérie .box1 {
  grid-area: 1 / 1 / 2 / 4;
  height: 250px;
}

#galérie .box2 {
  grid-area: 2 / 1 / 3 / 3;
  height: 250px;
}

#galérie .box3 {
  grid-area: 2 / 3 / 3 / 6;
  height: 250px;
}

#galérie .box4 {
  grid-area: 1 / 4 / 2 / 6;
  height: 250px;
}

#galérie .box5 {
  grid-area: 1 / 6 / 2 / 9;
  height: 250px;
}

#galérie .box6 {
  grid-area: 2 / 6 / 3 / 9;
  height: 250px;
}

/* Bouton amélioré */
#galérie .btn-galerie {
  display: block;
  margin: 40px auto 0;
  padding: 12px 40px;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(200, 169, 126, 0.3);
}

#galérie .btn-galerie:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 169, 126, 0.4);
}

#galérie .btn-galerie:active {
  transform: translateY(1px);
}

/* Responsive */
@media (max-width: 1200px) {
  #galérie .ma-galerie {
    width: 95%;
  }
}

@media (max-width: 992px) {
  #galérie {
    margin: 60px auto;
  }

  #galérie .ma-galerie {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }

  #galérie .box1,
  #galérie .box2,
  #galérie .box3,
  #galérie .box4,
  #galérie .box5,
  #galérie .box6 {
    grid-area: unset;
    height: 280px;
  }
}

@media (max-width: 768px) {
  #galérie .ma-galerie {
    gap: 10px;
  }

  #galérie .box1,
  #galérie .box2,
  #galérie .box3,
  #galérie .box4,
  #galérie .box5,
  #galérie .box6 {
    height: 220px;
  }

  #galérie .btn-galerie {
    padding: 10px 30px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  #galérie {
    margin: 40px auto;
    padding: 20px 0;
  }

  #galérie .ma-galerie {
    grid-template-columns: 1fr;
  }

  #galérie .box1,
  #galérie .box2,
  #galérie .box3,
  #galérie .box4,
  #galérie .box5,
  #galérie .box6 {
    height: 200px;
  }

  #galérie .spa-header h1 {
    font-size: 2.2rem;
  }
}

/* #endregion */

/* #region Testimonials */
#testimonials {
  font-family: "Montserrat", sans-serif;
  width: 80vw;
  max-width: 1700px;
  position: relative;
  overflow: hidden;
  /* Important pour masquer les débordements des cards non centrées */
  margin: 3rem auto;
  /* Ajout d'une marge auto pour centrer la section */
  padding: 80px 0;
  /* Ajout d'un padding pour la section comme dans la précédente */
}

#testimonials .spa-header {
  text-align: center;
  color: black;
  margin-bottom: 50px;
}

#testimonials .spa-header h1 {
  font-size: 2.8rem;
  /* Conserver la même taille de titre */
  color: #8b6b4a;
  margin: auto;
  font-weight: 300;
  letter-spacing: 1.5px;
}

#testimonials .divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  margin: 0 auto 25px;
  border-radius: 2px;
}

#testimonials .spa-subtitle {
  color: #777;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Conteneur du carrousel */
#testimonials .testimonials-carousel.owl-carousel {
  /* padding: 0 50px; - Owl Carousel gère les marges et le centrage. Supprimez si les flèches sont à l'intérieur */
  max-width: 1500px;
  /* Conserver une largeur maximale pour le carrousel */
  margin: 0 auto;
  /* Centrer le carrousel */
}

#testimonials .owl-stage {
  display: flex;
  align-items: stretch;
  /* Les items s'étireront pour avoir la même hauteur */
  padding: 20px 0;
  /* Padding vertical pour éviter que les ombres soient coupées */
}

#testimonials .testimonial-card {
  padding: 0 10px;
  /* Ajuste le padding des cartes pour l'espacement avec le margin de Owl */
  height: 100%;
  /* S'assure que la carte remplit la hauteur de l'item */
}

#testimonials .owl-item {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Centrer le contenu de l'item */
  transition: all 0.3s ease;
}

#testimonials .owl-item:not(.center) {
  opacity: 0.7;
  transform: scale(0.95);
}

#testimonials .owl-item.center {
  opacity: 1;
  transform: scale(1);
}

#testimonials .testimonial-content {
  background: white;
  padding: 40px 30px;
  border-radius: 0.25rem;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  /* Important pour que le contenu prenne toute la largeur disponible de son parent */
  max-width: 350px;
  /* Limite la largeur du contenu de la carte */
  margin: 0 auto;
  display: flex;
  /* Utilisation de flex pour aligner les éléments verticalement */
  flex-direction: column;
  justify-content: space-between;
  /* Pour espacer le texte et l'auteur */
}

#testimonials .testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid #f1e6d6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  /* Empêche l'avatar de se rétrécir */
}

/* Note: Vous avez deux règles pour l'image de l'avatar. Celle-ci est redondante si la précédente est suffisante. */
/* #testimonials .owl-carousel .owl-item img {
            display: block;
            width: 100px !important;
            height: 100px !important;
            object-fit: cover;
            margin: 0 auto;
        } */

#testimonials .testimonial-text {
  font-size: 1rem;
  color: #161616;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 25px;
  font-style: italic;
  flex-grow: 1;
  /* Permet au texte de prendre l'espace restant */
}

#testimonials .testimonial-author {
  display: inline-block;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  color: white;
  padding: 10px 30px;
  border-radius: 0.25rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(200, 169, 126, 0.3);
  font-size: 1.1rem;
  align-self: center;
  /* Centrer l'auteur si display: flex sur le parent */
}

/* Navigation Owl Carousel */
#testimonials .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
  /* Permet de cliquer à travers pour le contenu */
  z-index: 10;
  /* S'assure que les flèches sont au-dessus */
}

#testimonials .owl-nav button {
  background: white !important;
  color: #8b6b4a !important;
  border: none !important;
  padding: 15px 20px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
  font-size: 24px !important;
  line-height: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  pointer-events: all;
  /* Rétablit les événements pour les boutons */
}

#testimonials .owl-nav button:hover {
  background: #8b6b4a !important;
  color: white !important;
  transform: scale(1.1);
}

/* Dots Owl Carousel */
#testimonials .owl-dots {
  margin-top: 40px;
  text-align: center;
  display: flex;
  /* Pour centrer horizontalement et aligner les dots */
  justify-content: center;
}

#testimonials .owl-dot {
  /* Ajout d'une règle pour le dot lui-même */
  margin: 0 5px;
  /* Espacement entre les dots */
}

#testimonials .owl-dot span {
  background: rgba(200, 169, 126, 0.5) !important;
  /* Couleur des dots non actifs */
  width: 12px !important;
  height: 12px !important;
  display: block;
  /* S'assurer que le span est un bloc pour width/height */
  border-radius: 50%;
  transition: all 0.3s ease;
}

#testimonials .owl-dot.active span {
  background: #8b6b4a !important;
  /* Couleur du dot actif */
  transform: scale(1.3);
  opacity: 1 !important;
}

/* Responsive */
@media (max-width: 1200px) {
  #testimonials .testimonial-content {
    padding: 30px 20px;
  }

  #testimonials .testimonial-avatar {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 992px) {
  #testimonials .owl-nav {
    padding: 0 10px;
  }

  #testimonials .owl-nav button {
    width: 40px;
    height: 40px;
    padding: 10px !important;
    font-size: 20px !important;
  }

  #testimonials {
    display: none;
  }
}

@media (max-width: 768px) {
  #testimonials .testimonials-section {
    padding: 60px 0;
  }

  #testimonials .testimonials-carousel.owl-carousel {
    padding: 0 30px;
    /* Maintenir un padding pour les flèches si elles sont visibles */
  }

  #testimonials .testimonial-avatar {
    width: 80px;
    height: 80px;
    border-width: 3px;
  }

  #testimonials .testimonial-author {
    padding: 8px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  #testimonials .owl-nav {
    display: none;
    /* Masquer les flèches sur mobile */
  }

  #testimonials .testimonials-carousel.owl-carousel {
    padding: 0;
    /* Pas de padding si les flèches sont masquées, Owl gérera le margin */
    width: calc(100vw - 30px);
    /* Ajuster la largeur pour la vue mobile */
  }

  #testimonials .testimonial-text {
    font-size: 0.95rem;
  }

  /* Assurez-vous que l'item central prend bien toute la largeur disponible */
  #testimonials .owl-item.active {
    width: 100% !important;
    /* Force la pleine largeur */
  }

  /* Quand items: 1 et center: true, le center est déjà actif par défaut */
  #testimonials .owl-item:not(.center) {
    opacity: 0;
    /* Masquer les items non centrés sur mobile si items: 1 */
    transform: scale(0.8);
  }
}

/* #endregion */

/* #region Offres */
#nos-offres {
  max-width: 1400px;
  margin: 2rem auto;
  width: 80vw;
  display: flex;
  flex-direction: column;
}

#nos-offres .offres-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 50px 0;
}

#nos-offres .offre-card {
  position: relative;
  border-radius: 0.25rem;
  overflow: hidden;
  height: 300px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

#nos-offres .spa-header h1 {
  text-align: center;
  color: #8b6b4a;
}

#nos-offres .offre-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#nos-offres .offre-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.47), transparent);
}

#nos-offres .offre-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px;
  color: white;
  z-index: 2;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
}

#nos-offres .offre-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 500;
}

#nos-offres .offre-content p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
}

#nos-offres .offre-content span {
  color: #f8e3c5;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

#nos-offres .offre-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
}

#nos-offres .offre-card:hover .offre-bg {
  transform: scale(1.05);
}

/* Popup */
#nos-offres .offre-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#nos-offres .popup-content {
  background: white;
  border-radius: 0.25rem;
  width: 90%;
  max-width: 600px;
  padding: 30px;
  position: relative;
  text-align: center;
}

#nos-offres .popup-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.25rem;
  margin-bottom: 20px;
}

#nos-offres .popup-content h3 {
  color: #2a2a2a;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 500;
}

#nos-offres .popup-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

#nos-offres .popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
}

/* Bouton */
#nos-offres .spa-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  color: white;
  border-radius: 0.25rem;
  max-width: 300px;
  margin: auto;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #nos-offres {
    width: 90vw;
  }

  #nos-offres {
    margin: 0 auto 3rem auto;
  }

  #nos-offres .offres-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: 50px 0;
  }
}

/* #endregion */

/* #region Contact */
#rdv {
  font-family: "Montserrat", sans-serif;
  max-width: 1400px;
  margin: 3rem auto;
  width: 80vw;
}

#rdv .contact-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

#rdv .contact-infos {
  flex: 1;
  padding: 30px;
  border-radius: 0.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 650px;
  background: white;
}

#rdv .contact-details {
  margin-top: 40px;
}

#rdv .contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

#rdv .contact-icon {
  color: #c8a97e;
  font-size: 1.5rem;
  margin-top: 5px;
}

#rdv .spa-header h1 {
  text-align: center;
  color: #8b6b4a;
}

#rdv .contact-item h3 {
  color: #2a2a2a;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
}

#rdv .contact-item p {
  color: #666;
  line-height: 1.6;
  font-weight: 300;
}

#rdv .contact-form {
  flex: 1;
  padding: 40px;
  background: white;
  border-radius: 0.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 650px;
}

#rdv .form-group {
  margin-bottom: 25px;
}

#rdv .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2a2a2a;
  font-weight: 400;
}

#rdv .form-group input,
#rdv .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 0.25rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#rdv .form-group input:focus,
#rdv .form-group textarea:focus {
  border-color: #c8a97e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.2);
}

#rdv .form-group textarea {
  min-height: 150px;
  resize: vertical;
}

#rdv .spa-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  color: white;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

#rdv .spa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 169, 126, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
  #rdv .contact-container {
    flex-direction: column;
  }

  #rdv .contact-infos,
  #rdv .contact-form {
    width: 100%;
  }

  #rdv {
    width: 90vw;
    margin: 1rem auto;
  }
}

@media (max-width: 768px) {
  #rdv .contact-section {
    padding: 60px 15px;
  }

  #rdv .contact-infos,
  #rdv .contact-form {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  #rdv .contact-item {
    flex-direction: column;
    gap: 10px;
  }

  #rdv .contact-icon {
    margin-top: 0;
  }
}

/* #endregion */

/* #region Newsletter */
#newsletter-section {
  padding: 20px;
  background: linear-gradient(rgb(139 107 74 / 43%), rgba(139, 107, 74, 0.9)),
    url(../Images/Masques/expand__74919.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: "Montserrat", sans-serif;
  color: white;
  margin: 2rem auto;
  height: 400px;
}

#newsletter-section .newsletter-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#newsletter-section .newsletter-form {
  max-width: 800px;
  margin: 40px auto 0;
}

#newsletter-section .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

#newsletter-section .form-group {
  flex: 1;
  text-align: left;
}

#newsletter-section .newsletter-form label {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-weight: 300;
  font-size: 1rem;
}

#newsletter-section .newsletter-form label span {
  color: #f8e3c5;
}

#newsletter-section .newsletter-form input {
  width: 100%;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.25rem;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#newsletter-section .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

#newsletter-section .newsletter-form input:focus {
  outline: none;
  border-color: white;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

#newsletter-section .newsletter-disclaimer {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-weight: 300;
}

#newsletter-section .newsletter-disclaimer a {
  color: white;
  text-decoration: underline;
  transition: color 0.3s ease;
}

#newsletter-section .newsletter-disclaimer a:hover {
  color: #f8e3c5;
}

#newsletter-section .spa-btn {
  background: white;
  color: #8b6b4a;
  padding: 14px 40px;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

#newsletter-section .spa-btn:hover {
  background: #f8e3c5;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Popup confirmation */
#newsletter-section .newsletter-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#newsletter-section .newsletter-popup.active {
  opacity: 1;
  visibility: visible;
}

#newsletter-section .popup-content {
  background: white;
  padding: 40px;
  border-radius: 0.25rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#newsletter-section .popup-content h3 {
  color: #2a2a2a;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

#newsletter-section .popup-content p {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

#newsletter-section .popup-close {
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#newsletter-section .popup-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(200, 169, 126, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  #newsletter-section {
    height: auto;
  }

  #newsletter-section .newsletter-section {
    padding: 80px 20px;
    margin: 60px 0;
  }

  #newsletter-section .form-row {
    flex-direction: column;
    gap: 15px;
  }

  #newsletter-section .newsletter-form {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  #newsletter-section .newsletter-section {
    padding: 60px 15px;
  }

  #newsletter-section .newsletter-disclaimer {
    font-size: 0.8rem;
  }
}

.contact-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.contact-infos {
  flex: 1;
  padding: 30px;
  border-radius: 0.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 650px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  color: #c8a97e;
  font-size: 1.5rem;
  margin-top: 5px;
}

.contact-item h3 {
  color: #2a2a2a;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
  font-weight: 300;
}

.contact-form {
  flex: 1;
  padding: 40px;
  background: white;
  border-radius: 0.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 650px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2a2a2a;
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 0.25rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #c8a97e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.spa-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #c8a97e 0%, #8b6b4a 100%);
  color: white;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
}

.spa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 169, 126, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-infos,
  .contact-form {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 15px;
  }

  .contact-infos,
  .contact-form {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .contact-item {
    flex-direction: column;
    gap: 10px;
  }

  .contact-icon {
    margin-top: 0;
  }
}

/* #endregion */
