@import url("https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap");

.playfair {
  font-family: "Playfair", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.karla {
  font-family: "Karla", serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

body {
  font-family: "Karla", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
  font-size: 18px;
  overflow-x: hidden;
}

input,
select,
textarea {
  border: solid 1px #c39759;
  padding: 10px;
  font-family: "Karla", serif;
  box-sizing: border-box;
  font-size: 16px;
}

h1,
h2,
h3 {
  color: #c39759;
  margin: 0;
  padding: 0;
}

.flex {
  display: flex;
}

.alignItemsCenter {
  align-items: center;
}

.justifyContentBetween {
  justify-content: space-between;
}

.justifyContentEnd {
  justify-content: flex-end;
}

.justifyContentCenter {
  justify-content: center;
}

.wrap {
  flex-wrap: wrap;
}

img {
  display: block;
}

.noselect {
  user-select: none;
}

.largeurMax {
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 100px;
  padding-left: 100px;
}

.bouton {
  background-color: #c39759;
  color: #fff;
  padding: 10px;
  margin-top: 20px;
  border-radius: 5px;
  font-style: italic;
  cursor: pointer;
  user-select: none;
  width: fit-content;
  font-family: "Playfair", serif;
  font-size: 19px;
}

.bouton a {
  color: #fff;
  text-decoration: none;
}

.hoverBouton {
  background-color: #a8824d;
}

.bouton > div:first-child {
  margin-right: 10px;
}

#header {
  /* background-color: #faf6eb; */
  height: 246px;
  width: 100%;
  position: absolute;
  color: #fff;
  font-style: italic;
  z-index: 8;
}

#header .bandeauMenu {
  height: 85px;
  width: 100%;
  background-color: #c39759;
}

#header .menu {
  height: 85px;
}

#header .menuNomsLogements {
  width: 40%;
}

#header a {
  text-decoration: none;
  color: #fff;
}

#header a:hover {
  text-decoration: underline;
}

.menuNomsLogements > div:nth-child(1) {
  margin-right: 50px;
}

.menuNomsLogements > div i,
#header .menuRs i {
  font-family: "Playfair", serif;
  font-weight: 300;
}

#header .menuNomsLogements span {
  display: block;
  font-weight: bold;
  font-style: normal;
  font-weight: 800;
}

#header .menuLogo {
  text-align: center;
  flex-grow: 2;
  min-width: 180px;
  margin-right: 20px;
  margin-left: 20px;
}

#header .menuLogo img {
  width: 180px;
  margin: auto;
}

#header .menuRs {
  width: 40%;
}

#header .menuRs > div:first-child {
  margin-right: 40px;
}

#header .menuRs > div:first-child > div:first-child,
#header .menuRs > div:nth-child(2) > div:first-child {
  margin-right: 10px;
  text-align: right;
}

#burgerMenu {
  display: none;
}

#accueil {
  width: 100%;
  background-color: #faf6eb;
  height: 763px;
  overflow: hidden;
}

#accueil h1,
#logement h1 {
  font-family: "Playfair", serif;
  font-weight: 500;
  font-size: 38px;
  font-style: italic;
}

#accueil h2,
#logement h2 {
  font-family: "Playfair", serif;
  font-weight: 700;
  font-size: 44px;
}

#accueil > div:first-child > div {
  width: 50%;
  min-width: 50%;
}

#accueil .blocTexte {
  margin-top: 230px;
  width: 90%;
}

#accueil .blocTexteCorps {
  font-size: 20px;
  margin-bottom: 40px;
  margin-top: 20px;
}

#bandeau3Logements {
  margin-top: 100px;
  margin-bottom: 100px;
}

#bandeau3Logements > div:first-child > div {
  width: 550px;
  min-width: 200px;
  margin-right: 20px;
}

#bandeau3Logements > div:first-child > div:nth-child(2) {
  margin-right: 0;
}

#bandeau3Logements > div:first-child > div img {
  width: 100%;
  height: auto;
}

#bandeau3Logements .titre {
  color: #c39759;
  margin-top: 20px;
  font-size: 35px;
  margin-bottom: 15px;
  font-family: "Playfair", serif;
  font-weight: 700;
}

#bandeau3Logements .resume {
  font-family: "Karla", serif;
  font-weight: 400;
  font-size: 18px;
}

#footer {
  background-color: #faf6eb;
  padding-top: 50px;
  padding-bottom: 40px;
}

#footer .logo {
  margin: auto;
}

#footer .footerRs {
  margin-top: 40px;
  color: #c39759;
  margin-bottom: 60px;
  font-family: "Playfair", serif;
  font-weight: 300;
  font-size: 20px;
  font-style: italic;
}

#footer .footerRs a {
  text-decoration: none;
  color: #c39759;
}

#footer .footerRs > div:first-child {
  margin-right: 40px;
}

#footer .footerRs > div:first-child > div:first-child,
#footer .footerRs > div:nth-child(2) > div:first-child {
  margin-right: 10px;
}

#footer .copyright {
  text-align: center;
  font-size: 11px;
  font-family: "Karla", serif;
  font-size: 12px;
  font-weight: 400;
}

#footer .copyright a {
  color: #000;
}

.masque {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #faf6eb;
  opacity: 0.7;
  z-index: 9;
  display: none;
}

.deployMenu {
  display: block;
  position: fixed;
  right: -330px;
  top: 0;
  padding: 30px;
  z-index: 10;
  border-left: solid 1px #fff;
  border-bottom: solid 1px #fff;
  background-color: #a8824d;
  font-family: "Playfair", serif;
  font-style: italic;
}

.deployMenu > div {
  border-bottom: solid 1px #fff;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.deployMenu > div:last-child {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.deployMenu a {
  color: #fff;
  text-decoration: none;
}

.deployMenu span {
  font-family: "Karla", serif;
  font-weight: 700;
  font-style: normal;
}

#footer .env {
  width: 21px;
  height: 16px;
}

#footer .inst {
  width: 19.55px;
  height: 19.59px;
}

#logement .blocVierge {
  width: 100%;
  height: 250px;
  background-color: #faf6eb;
}

#logement .blocContenu2Cols > div {
  width: 50%;
  position: relative;
}

#accueil .slide > div,
#accueil .slide img,
#logement .slideLogement > div,
#logement .slideLogement img,
#logement .carteCorse img {
  width: 150%;
  max-width: 700px;
  max-height: 763px;
}

#logement .contenuTexte {
  width: 80%;
  margin-left: 50px;
  margin-top: 50px;
  margin-bottom: 100px;
  font-size: 20px;
}

#logement .contenuTexteInfosUtiles {
  width: 100%;
  margin-left: 50px;
  margin-top: 50px;
  margin-bottom: 80px;
}

#logement .blocBriqueLogement {
  position: absolute;
  width: 1000px;
  height: 100px;
  background-color: #faf6eb;
  left: -1000px;
}

#logement p {
  font-size: 20px;
}

#logement h3 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
}

#logement .lignForm {
  margin-bottom: 20px;
  width: 100%;
}

#logement .lignForm > div {
  width: 250px;
}

#logement .lignForm > div:nth-child(1) {
  margin-right: 20px;
}

#logement .lignForm > div input,
#logement .lignForm > div textarea {
  width: 100%;
}

#logement .lignForm > div textarea {
  height: 200px;
}

ul {
  font-size: 20px;
}

#logement .imageMobile {
  display: none;
}

#logement .alerte {
  margin-top: 20px;
}

/*slider*/
.slick-dots {
  position: absolute;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
  z-index: 8;
}

#accueil .slick-dots {
  top: 695px;
  left: 40px;
}

#accueil .slick-dots li {
  width: 20px;
  height: 20px;
  padding-right: 3px;
}

#logement .slick-dots {
  top: 10px;
  left: 20px;
}

#logement .slick-dots li {
  width: 12px;
  height: 12px;
  padding-right: 0px;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  margin: 0px;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

/* Remplacer le dot inactif par une image PNG */
.slick-dots li {
  background-image: url("../img/inactive.png"); /* Image pour le dot inactif */
}

/* Remplacer le dot actif par une autre image PNG */
.slick-dots li.slick-active {
  background-image: url("../img/active.png"); /* Image pour le dot actif */
  opacity: 1;
}

/* Masquer les boutons du dot par défaut */
.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}

.slick-dots li button:before {
  content: "";
}

/* Vous pouvez ajuster l'espacement entre les dots (optionnel) */
.slick-dots li {
  margin-right: 10px; /* Espacement entre les dots */
}

/* Masquer les flèches de navigation */
.slick-prev,
.slick-next {
  display: none !important;
}

#logement .slick-dotted.slick-slider {
  margin: 0;
}

.slideLogement {
  position: relative; /* Nécessaire pour que Slick fonctionne correctement */
  width: 150%;
  height: 460px;
  overflow: hidden;
}

/* Pour chaque div dans le carrousel */
.slideLogement div {
  position: relative; /* Utilisation de position relative pour placer correctement l'image */
  width: 100%; /* Assurez-vous que la div occupe toute la largeur de son conteneur */
  height: 100%; /* Assurez-vous que la div occupe toute la hauteur disponible */
  overflow: hidden;
}

/* Centrer les images dans les div */
.slideLogement img {
  position: absolute; /* Positionner l'image par rapport à son conteneur parent */
  top: 50%; /* Positionner l'image à 50% de la hauteur de la div */
  left: 50%; /* Positionner l'image à 50% de la largeur de la div */
  transform: translate(-50%, -50%); /* Décaler l'image pour la centrer parfaitement */
  min-width: 120%;
  min-height: 460px;
  max-width: 100%; /* L'image occupe toute la largeur du conteneur sans déformer */
  max-height: 100%; /* L'image occupe toute la hauteur du conteneur sans déformer */
  object-fit: contain; /* Garder l'aspect de l'image sans la déformer */
}

#tarifs {
  width: 150%;
  max-width: 700px;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 30px;
}

#tarifs .titre {
  color: #c39759;
  margin-bottom: 20px;
}

#tarifs .semestre {
  border: solid 1px #c39759;
}

#tarifs .mois {
  display: flex;
  border: solid 1px #c39759;
  background-color: #c39759;
  color: #fff;
}

#tarifs .prix {
  display: flex;
  border: solid 1px #c39759;
  border-top: none;
}

#tarifs > div > div > div {
  font-size: 14px;
  border-right: solid 1px #c39759;
  text-align: center;
  width: 16.66%;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tarifs > div > div > div:last-child {
  border-right: none;
}

#tarifs .noncontractuels {
  margin-top: 5px;
  font-size: 14px;
}

#tarifs .noncontractuels a {
  text-decoration: none;
  color: #c39759;
}

.mobileOnly {
  display: none;
}

.logos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 100px;
}

.logos img {
  margin-right: 30px;
  margin-left: 30px;
  height: 100px;
}

@media screen and (max-width: 800px) {
  .logos {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
  }

  .logos img {
    margin-right: 10px;
    margin-left: 10px;
    height: 70px;
  }

  .mobileOnly {
    display: block;
  }

  #tarifs {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  #logement .contenuTexteInfosUtiles {
    width: 100%;
    margin-left: 0px;
    margin-top: 50px;
  }

  #logement .blocBriqueLogement {
    display: none;
  }

  #logement .contenuTexte {
    margin-left: 0px;
    width: 100%;
  }

  #logement .imageMobile {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    margin-top: 30px;
  }

  #logement .blocContenu2Cols > div:first-child {
    width: 100%;
    position: relative;
  }
  #logement .blocContenu2Cols > div:nth-child(2) {
    display: none;
  }

  #accueil h1,
  #logement h1 {
    font-family: "Playfair", serif;
    font-weight: 500;
    font-size: 28px;
    font-style: italic;
  }

  #accueil h2,
  #logement h2 {
    font-family: "Playfair", serif;
    font-weight: 700;
    font-size: 36px;
  }

  #header .menuNomsLogements,
  #header .menuRs {
    display: none;
  }
  #header .menuLogo {
    text-align: left;
    flex-grow: 0;
    min-width: 180px;
    margin-right: 20px;
    margin-left: 0px;
  }
  .largeurMax {
    padding-right: 40px;
    padding-left: 40px;
  }

  #burgerMenu {
    display: flex;
    width: 40px;
    height: 35px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  #burgerMenu div {
    width: 100%;
    background-color: #fff;
    height: 5px;
    border-radius: 3px;
  }
  #alignMobile {
    justify-content: space-between;
  }
  #accueil {
    background-color: #faf6eb;
    height: auto;
    background-image: url("../img/plage1mobile.jpg");
    background-position: center;
    background-size: cover;
  }
  #accueil .slide {
    display: none;
  }
  #accueil > div:first-child > div {
    width: 100%;
  }
  #accueil .blocTexte {
    margin: auto;
    margin-top: 260px;
    width: 70%;
    text-align: center;
    margin-bottom: 50px;
  }
  #accueil .bouton {
    margin: auto;
  }
  #bandeau3Logements {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  #bandeau3Logements > div {
    flex-wrap: wrap;
  }
  #bandeau3Logements > div:first-child > div {
    width: 100%;
    min-width: 200px;
    margin-right: 0px;
    margin-bottom: 40px;
  }
  #footer .retourMobile {
    display: block;
  }
  #footer .masquer {
    display: none;
  }
  #footer .footerRs > div:first-child > div:first-child,
  #footer .footerRs > div:nth-child(2) > div:first-child {
    margin: 0;
    display: none;
  }
  #footer .footerRs > div:first-child {
    margin-right: 10px;
  }
  #footer .footerRs img {
    width: 30px;
    height: auto;
  }
}
