* {
  margin: 0;
  padding: 0;
}

.banniere {
  height: 600px;
}

.bw-image {
  z-index: 0;
  height: 600px;
  filter: grayscale(100%) brightness(50%);
}

.banniere div {
  z-index: 2;
}

h1 {
  position: relative;
  display: inline-block;
  max-width: 1200px;
  font-size: 70px;
}

.entrer {
  font-family: "Montserrat-regular";
  font-size: 20px;
  color: white;
  width: 30%;
  text-align: center;
  margin-top: 10%;
  margin-bottom: 30px;
}
/* Div principale */
.essentiel {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10%;
  padding-bottom: 50px;
}

.gala {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #f2e9d3;
}

.soiree {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  position: relative; /* Ajouté pour positionner .img-royal */
  overflow: hidden;
}
/*Classes des descriptions*/
.description {
  text-align: left;
  width: 35%;
}

h2 {
  color: #ecddbb;
  font-family: "Black-mango";
  font-size: 46px;
  border-bottom: solid 1px;
  border-image: linear-gradient(to right, #ffe998, #7a5c32);
  border-image-slice: 1;
}

h3 {
  color: #ffffff;
  font-family: "Montserrat-regular";
  margin-top: 5px;
  font-size: 18px;
  margin-bottom: 30px;
}

p {
  color: #ffffff;
  font-family: "Poppins-light";
  font-size: 18px;
  width: 80%;
}

.description-gala {
  text-align: left;
  width: 35%;
  display: flex;
  flex-direction: column;

  justify-content: center;
}

.description-gala h2 {
  color: #000000;
  border-image: linear-gradient(to left, #ffe998, #7a5c32);
  border-image-slice: 1;
  border-bottom: solid 1px;
}

.description-gala h3 {
  color: #000000;
}

.description-soiree {
  height: 100vh;
  min-height: 400px;
  max-height: 720px;
  display: flex;
  text-align: left;
  align-items: left;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex-direction: column;

  width: 75%;
  padding-left: 60px;
}

.dessus {
  width: 50%;
}

/* Div des images*/
.img-essentiel {
  width: 40%;
  height: 35%;
  min-width: 300px;
  min-height: 300px;
  box-sizing: border-box;
  max-width: 1000px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.img-fond-soiree {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  display: flex;
  object-fit: cover;
  box-sizing: border-box;
}

.autre_presta_index {
  width: 75%;
  height: 75%;
  display: flex;
  justify-content: space-around;
  max-width: 1500px;
}
.autre {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  object-fit: cover;
  box-sizing: border-box;
  position: relative;
  gap: 20px;
}

.autre img {
  width: 300px;
  height: 300px;
  object-fit: cover;
}

/* Classes des images */
.img-border {
  width: 100%;
  height: 100%;
  min-height: 300px;
  min-width: 300px;
  max-width: 845px;
  max-height: 500px;
  object-fit: cover;
}

.img-left {
  /*Largeur*/
  width: 45%;
  max-width: 400px;
  min-width: 180px;
  /*Hauteur*/
  height: 80%;
  max-height: 900px;
  min-height: 300px;
  object-fit: cover;
}

.img-right {
  /*Largeur*/
  width: 45%;
  max-width: 400px;
  min-width: 180px;
  /*Hauteur*/
  height: 80%;
  max-height: 900px;
  min-height: 300px;
  object-fit: cover;
  padding-top: 10%;
}

.img-soiree {
  width: 100%;
  object-fit: cover;
  box-sizing: border-box;
  filter: grayscale(100%) brightness(50%);
  object-position: center; /* Déplace l'image à 50% de largeur et 10% de hauteur */
}
/*//////////////////////////  Bouton  //////////////////////////::*/
/* From Uiverse.io by mrhyddenn */
button a {
  font-size: 16px;
  text-decoration: none;
  color: #000000;
  border-radius: 7px;
  font-family: "Poppins-semibold";
}

.btn {
  width: 100%;
  text-align: left;
  margin-top: 20px;
}
button {
  width: 200px;
  position: relative;
  padding: 10px 20px;
  border-radius: 7px;
  border: solid 0px transparent;
  background: linear-gradient(to right, #ffe998, #7a5c32);
  border-color: #ffe998;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;

  overflow: hidden;
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

button:hover {
  background: linear-gradient(to left, #ffe998, #7a5c32);
  box-shadow: 0 0 30px 5px #ecddbb;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  border: solid 0px;
}

button:hover::before {
  -webkit-animation: sh02 0.5s 0s linear;
  -moz-animation: sh02 0.5s 0s linear;
  animation: sh02 0.5s 0s linear;
}

button::before {
  content: "";
  display: block;
  width: 0px;
  height: 86%;
  position: absolute;
  top: 7%;
  left: 0%;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 50px 30px #fff;
  -webkit-transform: skewX(-20deg);
  -moz-transform: skewX(-20deg);
  -ms-transform: skewX(-20deg);
  -o-transform: skewX(-20deg);
  transform: skewX(-20deg);
}

@keyframes sh02 {
  from {
    opacity: 0;
    left: 0%;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
    left: 100%;
  }
}

button:active {
  box-shadow: 0 0 0 0 transparent;
  -webkit-transition: box-shadow 0.2s ease-in;
  -moz-transition: box-shadow 0.2s ease-in;
  transition: box-shadow 0.2s ease-in;
}

.autre_presta {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 50px;
  padding-bottom: 50px;
  gap: 20px;
}

.autre_presta .description {
  text-align: right;
  width: 80%;
  display: flex;
  flex-direction: column;
  padding-left: 10%;
  max-width: 1200px;
}

.autre_presta .btn {
  text-align: center;
}

h6 {
  color: white;
  font-family: "Montserrat-regular";
  font-size: 25px;
  text-transform: uppercase;
}

.img-perso {
  width: 40%;
  height: 35%;
  box-sizing: border-box;
  position: relative;
  max-width: 600px;
  max-height: 600px;
}
.img-perso img {
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 600px;
  box-sizing: border-box;
  object-fit: cover;
  filter: grayscale(90%) sepia(80%);
}
.perso h2 {
  color: #57370d;
  border: solid 0 transparent;
}
.perso {
  width: 100%;
  background-color: #f2e9d3;
  display: flex;
  flex-wrap: wrap;
  padding-top: 50px;
  gap: 40px;
  padding-bottom: 50px;
  justify-content: center;
}
.perso h3 {
  color: #000000;
}

.perso a {
  color: #57370d;
}

/* Mobile (écrans < 768px) */
@media (max-width: 768px) {
  .banniere {
    height: 350px;
  }

  h1 {
    font-size: 34px;
  }
  .bw-image {
    height: 350px;
  }
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 16px;
  }

  p {
    font-size: 14px;
  }

  .entrer {
    font-size: 16px;
    width: 80%;
  }

  .description,
  .description-gala,
  .description-soiree {
    width: 90%;
  }

  .essentiel .description {
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
    text-align: center;
    align-items: center;
  }

  .essentiel .description h2 {
    order: 1; /* Titre principal en premier */
    border: solid transparent;
  }

  .essentiel .description h3 {
    order: 2; /* Sous-titre en deuxième */
  }

  .essentiel .description .img-essentiel {
    order: 3; /* Image en troisième */
    margin: 20px 0; /* Ajoutez un espace autour de l'image si nécessaire */
  }

  .essentiel .description p {
    order: 4; /* Paragraphe en quatrième */
  }

  .essentiel .description .btn {
    order: 5; /* Bouton en dernier */
    text-align: center;
  }

  .autre_presta .description {
    padding-left: 0;
    text-align: center;
  }

  .autre_presta .description h2 {
    border: solid 0 transparent;
  }
  .description-soiree {
    padding-left: 0;
  }
  .autre_presta_index {
    display: flex;
    flex-direction: column;
  }

  .autre {
    width: 100%;
    position: relative;
    align-items: flex-start;
  }

  .autre h6 {
    margin-bottom: 20px;
    text-align: left;
    font-size: 16px;
  }
  .dessus {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .autre_presta .btn {
    display: none;
  }
  .autre .btn {
    position: absolute; /* Positionne le bouton sur l'image */
    left: 50%; /* Centre horizontalement */
    transform: translateX(-50%); /* Ajuste pour centrer parfaitement */
    z-index: 2; /* Assure que le bouton est au-dessus de l'image */
    display: block; /* Affiche le bouton */
  }

  .autre .btn button {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
      rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
      rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  }
  .btn {
    text-align: center;
  }
  .autre img {
    width: 300px;
    height: 300px;
  }

  button {
    font-size: 12px;
    text-align: center;
  }

  .img-perso {
    width: 90%;
  }

  .img-perso img {
    max-height: 300px;
  }
}

/* Tablette (768px <= écrans < 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .banniere {
    height: 500px;
  }

  h1 {
    font-size: 50px;
  }

  .entrer {
    font-size: 18px;
    width: 50%;
  }

  .description,
  .description-gala,
  .description-soiree {
    width: 70%;
  }

  .img-essentiel,
  .img-perso {
    width: 60%;
    height: auto;
  }

  .autre img {
    width: 250px;
    height: 250px;
  }

  button {
    width: 180px;
    font-size: 14px;
  }
  h2{
    border:solid 0px ;
  }
}
