/* Importer les polices depuis Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Rosario:ital,wght@0,300..700;1,300..700&family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap");

.rosario-medium {
  font-family: "Rosario", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.sansita-extrabold {
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.sansita-extrabold-italic {
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.cairo {
  font-family: "Cairo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  line-height: 1.2;
}

.cacher {
  display: none;
}

/* Supprimer les marges/paddings par défaut */
* {
  margin: 0;
  padding: 0;
}

h1,
h2 {
  padding: 0;
  margin: 0;
  font-size: inherit;
  font-family: inherit;
}

/* Empêcher le scroll vertical */
html,
body {
  font-family: "Rosario", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  background-color: #fff;
  color: #000;
  font-size: 24px;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

img {
  display: block;
}

.noselect {
  user-select: none;
}

.flex {
  display: flex;
}

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

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

.flexAlignItemsCenter {
  align-items: center;
}

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

.noselect {
  -webkit-user-select: none; /* Chrome, Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Standard */
}

.wrap {
  flex-wrap: wrap;
}

#header {
  background-color: #74aa6e;
  height: 100px;
  width: 100%;
  color: #fff;
  margin-top: 80px;
}

#menuMobile {
  display: none;
}

#menu {
  height: 100px;
}

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

#menu > div {
  width: 20%;
  max-width: 150px;
  text-align: center;
  margin-right: 20px;
}

#menu > div:nth-child(1) {
  text-align: left;
}

#menu > div:nth-child(3) {
  position: relative;
  min-width: 200px;
}

#menu > div:nth-child(3) img {
  position: absolute;
  z-index: 2;
  width: 100%;
  top: -100px;
}

#menu > div:nth-child(5) {
  margin-right: 0;
}

#menu > div:nth-child(5) > div:nth-child(1) {
  margin-right: 5px;
}

#changerLangue img {
  cursor: pointer;
}

#presentation {
  background-color: #c1d7bf;
  min-height: 442px;
  overflow: hidden;
}

#presentation .largeurMax {
  min-height: 442px;
}

#presentation .blocAccroche {
  width: 50%;
  min-width: 50%;
}

#presentation .blocAccroche > div {
  margin-right: 50px;
  margin-top: 60px;
  margin-bottom: 60px;
}

#presentation .illustration {
  width: 50%;
  max-width: 50%;
  position: relative;
}

#presentation .illustration > img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1000px;
  z-index: 1;
}

#presentation .titre,
#presentation2 .titre {
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 34px;
  margin-bottom: 20px;
}

#presentation2 {
  background-color: #74aa6e;
  padding-bottom: 60px;
}

#presentation2 .titre {
  padding-top: 50px;
  margin-bottom: 50px;
  color: #fff;
  text-align: center;
}

#presentation2 .cols3 {
  margin-bottom: 50px;
}

#presentation2 .cols3 > div {
  width: 300px;
  text-align: center;
  font-size: 20px;
  color: #fff;
  margin-right: 20px;
}

#presentation2 .cols3 > div:last-child {
  margin-right: 0px;
}

#presentation2 .cols3 > div img {
  width: 100%;
  margin-bottom: 20px;
  border-left: solid 5px #c1d7bf;
  border-bottom: solid 5px #c1d7bf;
}

.boutonBlanc {
  background-color: #fff;
  width: fit-content;
  border-radius: 10px;
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 24px;
  color: #74aa6e;
  padding: 20px 50px 20px 50px;
  margin: auto;
  cursor: pointer;
}

.boutonBlanc a {
  color: #74aa6e;
  text-decoration: none;
}

.boutonVert {
  background-color: #74aa6e;
  width: fit-content;
  border-radius: 10px;
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 24px;
  color: #fff;
  padding: 20px 50px 20px 50px;
  cursor: pointer;
  margin-top: 30px;
}

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

.boutonBlanc > div:nth-child(1),
.boutonVert > div:nth-child(1) {
  margin-right: 10px;
}

#presentation3 {
  padding-top: 60px;
  padding-bottom: 60px;
}

#presentation3 .cols2 > div {
  width: 50%;
}

#presentation3 .img2 > div {
  margin-right: 60px;
}

#presentation3 .img2 > div:nth-child(1) {
  width: 90px;
}

#presentation3 .img2 img {
  width: 100%;
}

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

#presentation3 .nomImenJamai {
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 32px;
  margin-bottom: 20px;
}

#cursus,
#services,
#devis {
  min-height: 600px;
}

.lisereTop {
  background-color: #c1d7bf;
  height: 90px;
}

#footer {
  background-color: #74aa6e;
  padding-top: 60px;
  padding-bottom: 60px;
  font-size: 20px;
  color: #fff;
}

#footer .cols2 > div {
  width: 50%;
}

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

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

#footer .cols2Bis > div:nth-child(2) > div {
  border-bottom: solid 5px #c1d7bf;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

#footer .cols2Bis > div:nth-child(2) > div:last-child {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

#footer .cols2Coo > div > div:first-child {
  margin-right: 10px;
  margin-top: 5px;
}

#menuMobile {
  display: none;
}

#menu > div:nth-child(6) {
  display: none;
}

.tel {
  white-space: nowrap;
}

#footer .mentions {
  text-align: center;
  font-size: 14px;
  margin-top: 50px;
}

#footer .mentions a {
  color: #fff;
}

#footer .adresse {
  margin-right: 20px;
}

#blocMenuMobile {
  display: none;
}

#cursus .cols2 > div:first-child {
  margin-top: 60px;
  margin-bottom: 60px;
  padding-right: 40px;
}

#cursus .cols2 > div:first-child strong.titre {
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 36px;
  color: #74aa6e;
}

#cursus .cols2 > div {
  width: 50%;
  position: relative;
}

#cursus .visuel {
  position: absolute;
  height: 450px;
  width: 1000px;
  overflow-y: hidden;
}

#cursus .visuel > img {
  width: 100%;
}

.encartServices {
  margin-top: 510px;
  margin-left: 60px;
}

#cursus ul {
  margin-left: 40px;
}

#cursus .titreImenJamai {
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 32px;
}

#cursus .blocDevis {
  margin-top: 60px;
}

.titreDevis {
  font-family: "Sansita", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 36px;
  color: #74aa6e;
}

#formulaireDevis input,
#formulaireDevis textarea {
  border: solid 1px #74aa6e;
  padding: 10px;
  font-family: "Rosario", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  width: 100%;
  box-sizing: border-box;
}

#formulaireDevis > div.flex {
  margin-bottom: 20px;
}

#formulaireDevis > div.flex > div {
  width: 33%;
  max-width: 330px;
}

#formulaireDevis > div.flex > div:first-child {
  margin-right: 20px;
}

#formulaireDevis textarea {
  max-width: 680px;
  min-height: 150px;
}

#formulaireDevis .messageAlerte {
  height: 100px;
  padding-top: 20px;
  color: #74aa6e;
}

.langueChoix {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-left: 10px;
  font-family: "Rosario", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
}

@media screen and (max-width: 900px) {
  #menuMobile {
    display: flex;
    height: 100px;
  }

  #menuMobile .leLogo {
    flex-grow: 2;
    background-color: blueviolet;
    position: relative;
  }

  #menuMobile .leLogo > div {
    position: absolute;
    margin-top: -75px;
  }

  #menuMobile .leLogo > div img {
    width: 150px;
  }

  #menuMobile .lesLangues {
    margin-right: 30px;
  }

  #menu {
    display: none;
  }

  #menu > div:nth-child(5) > div:nth-child(1) {
    margin-right: 0px;
  }

  .langueChoix {
    min-width: 40px;
    border-radius: 50%;
  }

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

  #formulaireDevis > div.flex {
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  #formulaireDevis > div.flex > div {
    width: 100%;
    max-width: 100%;
  }

  #formulaireDevis > div.flex > div:first-child {
    margin-right: 0px;
    margin-bottom: 20px;
  }

  #formulaireDevis textarea {
    width: 100%;
    max-width: 100%;
    min-height: 200px;
    margin-bottom: 40px;
  }

  #formulaireDevis .espaceApres > div {
    width: auto;
    text-align: center;
  }

  #cursus .blocBouton {
    width: 100%;
    text-align: center;
  }

  #cursus .espace {
    margin-top: 40px;
  }

  #cursus ul.enum {
    margin-left: 0;
    list-style-type: none;
    padding-left: 0; /* Optionnel, pour supprimer le retrait par défaut */
  }

  #cursus .blocBouton > div {
    margin: auto;
  }

  #cursus .encartServices {
    margin-top: 0px;
    margin-left: 0px;
    width: 100%;
    text-align: center;
    margin-bottom: 60px;
  }

  #cursus .encartServices img {
    margin: auto;
    max-width: 100%;
  }

  #cursus .visuel {
    display: none;
  }

  #cursus .cols2 {
    flex-wrap: wrap;
  }

  #cursus .cols2 > div {
    min-width: 100%;
    position: relative;
  }

  #menu > div.lien {
    display: none;
  }

  #menu > div {
    display: none;
    margin-right: 0;
    width: 50px;
    min-width: 50px;
  }

  #menu > div:nth-child(3) img {
    position: initial;
    z-index: auto;
    width: 130px;
  }

  #menu > div:nth-child(3) {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
  }

  #menu > div:nth-child(5) {
    display: flex;
    margin-right: 20px;
    width: fit-content;
  }

  #menu > div:nth-child(6) {
    display: block;
  }

  .burger {
    min-width: 35px;
    cursor: pointer;
  }

  .burger div {
    height: 4px;
    background-color: rgb(255, 255, 255);
    margin: 10px 0; /* <-- C’est ça qui crée l’espace */
    border-radius: 2px;
  }

  #presentation {
    min-height: auto;
  }

  #presentation .largeurMax {
    min-height: auto;
  }

  #presentation .blocAccroche {
    display: block;
    width: 100%;
  }

  #presentation .illustration {
    display: none;
  }

  #presentation .blocAccroche > div {
    margin-right: 0px;
    margin-top: 60px;
    margin-bottom: 60px;
  }

  #presentation2 .cols3 > div {
    width: 30%;
    min-width: 30%;
    margin-right: 20px;
    font-size: 16px;
  }

  #presentation2 .cols3 > div img {
    width: 100%;
    margin-bottom: 20px;
    border: none;
  }

  #presentation3 .cols2 > div {
    width: auto;
  }

  #presentation3 .profil {
    margin-top: 20px;
    text-align: center;
  }

  #presentation3 .boutonVert {
    margin: auto;
    margin-top: 40px;
  }

  #presentation3 .img2 {
    margin: auto;
  }

  #presentation3 .img2 > div {
    margin-right: 0px;
  }

  #footer .cols2 {
    flex-wrap: wrap;
  }

  #footer .cols2 > div {
    width: 100%;
  }

  #footer .cols2Coo {
    flex-wrap: wrap;
    text-align: center;
  }

  #footer .cols2Coo > div {
    width: 100%;
    display: block;
  }

  #footer .cols2Coo > div img {
    width: auto;
    margin: auto;
    margin-bottom: 10px;
  }

  .pictoTel {
    display: none;
  }

  .tel {
    font-weight: bold;
    font-size: 30px;
  }

  #footer .cols2Bis {
    display: none;
  }

  #footer .adresse {
    margin-right: 0px;
  }

  #blocMenuMobile {
    display: block;
    position: fixed;
    width: 200px;
    background-color: #74aa6e;
    z-index: 10;
    top: 0;
    right: -300px;
    font-size: 18px;
    padding: 30px;
  }

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

  #blocMenuMobile > div {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: solid 1px #c1d7bf;
  }

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

  #overlay {
    display: none; /* masqué au départ */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(193, 215, 191, 0.7); /* équivalent à #c1d7bf avec 70% d'opacité */
    z-index: 9; /* juste sous le menu */
  }
}
