@font-face {
  font-family: 'Futura';
  src: url('font/FuturaCondMedium.eot');
  src: url('font/FuturaCondMedium.eot?#iefix') format('embedded-opentype'),
    url('font/FuturaCondMedium.woff2') format('woff2'),
    url('font/FuturaCondMedium.woff') format('woff'),
    url('font/FuturaCondMedium.ttf') format('truetype'),
    url('font/FuturaCondMedium.svg#FuturaCondMedium') format('svg');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}


html,
body {
  overflow-x: hidden;
  /* cache se qui dépase de l'écrant horizontal */
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: rgb(255, 255, 255);
  /* la taille de la page fais 100% de l'ecrant */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* header */
header {
  list-style: none;
  background-color: rgb(0, 0, 0);
  color: rgb(252, 242, 224);
  text-align: center;
  display: flex;

  justify-content: space-around;

  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;

}

header .banner {
  padding: 0px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;

}

header .banner img {
  height: 70px;
  width: auto;
}

header .banner #pa h1 {
  margin-bottom: 0px;
}

header .banner p {
  text-align: left;
  font-family: "Futura";
  width: 100%;
  margin-top: 0px;
}

nav ul {

  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin: 0px;
}

nav ul li {
  padding: 10px;
  margin: 2px;

}

nav ul li a {
  text-decoration: none;
  color: rgb(252, 242, 224);
  font-family: "Futura";
}

main h1,
main h2,
main h3 {
  color: black;
  font-family: "Shrikhand";
}

main p {
  color: black;
  font-family: "Futura";
}

/* main */



main {
  background-color: white;
  text-align: center;
  padding-top: 1px;
  padding-bottom: 20px;
  flex: 1;
  /* Pousse le footer vers le bas */
}

.accroche {
  font-family: "Shrikhand";
  font-size: 2.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: black;
}

.description {
  font-family: "Futura";
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: black;
  padding: 0 20px;
}

.carte {
  background-color: rgb(252, 242, 224);
  border-radius: 20px;
  padding: 20px;
  color: black;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.align-gauche {
  text-align: left;
  padding-left: 20px;
  /* Ajoute un peu de marge */
}


.intro .carte {
  width: 45%;
}

video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.intro {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

.services .carte {
  width: 30%;
}

.services {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: stretch;
  gap: 20px;
}




/* footer */

footer {
  background-color: rgb(0, 0, 0);
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;

}


footer p {

  color: rgb(252, 242, 224);
  text-align: center;
  padding: 1rem;


}

h6 {
  font-family: "Shrikhand";
  font-size: 20px;
  color: rgb(252, 242, 224);
  margin-top: 0;
}

footer h3 {
  font-family: "Futura";
  font-size: 20px;
  color: rgb(252, 242, 224);
}

footer a {
  color: inherit;
  text-decoration: underline;
}

.footer-col {
  width: 200px;
  text-align: center;
}

.social {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.social h6 {
  margin: 0;
  margin-bottom: 5px;
}

.social img {
  width: 30px;
  height: 30px;
  background-color: rgb(252, 242, 224);
  padding: 5px;
  border-radius: 15px;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

@media only screen and (max-width: 768px) {

  html,
  body {
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
  }

  main {
    background-color: white;
    text-align: center;
    padding: 10px;
  }

  /* Intro Section */
  .intro {
    flex-direction: column;
    gap: 30px;
  }

  .intro .carte {
    width: 100%;
    /* adapter la taille de la carte */
    box-sizing: border-box;
  }

  video {
    width: 100%;
    height: auto;
  }

  /* Services Section */
  .services {
    flex-direction: column;
    gap: 30px;
  }

  .services .carte {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
  }

  /* Header */
  header {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
  }

  header .banner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  header .banner p {
    text-align: center;
  }

  nav ul {
    flex-wrap: wrap;
    /* Permettre au menu de passer à la ligne */
    gap: 10px;
  }

  nav ul li {
    margin: 5px;
  }

  /* Footer */
  footer {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-col {
    width: 100%;
    /* Pleine largeur */
    text-align: center;
  }

  .social-icons {
    flex-direction: row;
    justify-content: center;
  }


}

/* Top Button */
.btn-back-to-top {
  display: none;
  /* fais disparaite la fléche */

  position: fixed;
  /* fixe la fléche ao desut du site */
  bottom: 20px;
  /* positionne la fléche en bas de la page */
  right: 20px;
  /* positionne la fléche en droite de la page */
  background-color: black;
  /* le fon de la fléche */
  color: rgb(252, 242, 224);
  /* couleur de la fléche */
  padding: 10px 15px;
  /* taille de la fléche */
  border-radius: 50%;
  /* forme ronde  */
  text-decoration: none;
  /* supprime le soulignement de la fléche */
  font-size: 20px;
  /* taille du texte de la fléche */
  /* positionne la fléche au-dessus des autres éléments */
  border: 2px solid rgb(252, 242, 224);
  /* fait le cercle de la fléche */
}

/* Carousel Photos */
.carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 90%;
  margin: auto;
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  /* Permet le défilement */
  scroll-behavior: smooth;
  /* Défilement fluide */
  gap: 20px;
  padding: 10px;
  width: 100%;
  scrollbar-width: none;
  /* Cache la scrollbar sur Firefox */
}

/* Cache la scrollbar sur Chrome/Safari/Edge */
.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-container img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
  /* Empêche les images de rétrécir */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s;
}

.carousel-btn:hover {
  background-color: rgb(0, 0, 0);
}

.prev {
  margin-right: 10px;
}

.next {
  margin-left: 10px;
}