/*--------------------------------------------------------------
# WONDER.LEGAL - 2024 
# Homepage 
--------------------------------------------------------------*/

body.home .page,
body.presentation-modele .page {
  max-width: 100%;
  width: 100%;
}

#homepage .col-white {
  margin-top: 1.4em;
}

#homepage h1 {
  font-size: 285%;
  padding-top: 10px;
}

#homepage h2 {
  text-align: center;
  font-size: 30px;
}

#homepage #accroche h2 {
  color: var(--color-black);
  font-size: 142%;
  line-height: 1.2em;
  padding: 26px 0;
  font-weight: 400;
  margin: 0;
}

#homepage .recherche {
  position: relative;
  height: 57px;
  width: 100%;
  max-width: 642px;
  background: var(--color-light-gray);
  border-radius: 30px;
  border: 1px solid #e9e9e9;
  margin: 0 auto;
}
#homepage .recherche .search-input {
  position: relative;
  width: calc(100% - 60px);
  padding-left: 18px;
  height: 55px;
  background: none;
  border: none;
  font-size: clamp(14px,4vw,18px);
  z-index: 99;
}
#homepage .recherche .search-input::placeholder {
  text-align: center;
}
#homepage .recherche .search-input:focus::placeholder {
  color: transparent;
}
#homepage .recherche .search-bt {
  float: right;
  width: 60px;
  height: 55px;
  border: none;
  background: transparent url("../img/search-large.svg") center center no-repeat;
  background-size: 34px;
  cursor: pointer;
  position: relative;
  z-index: 99;
  top: 0;
  left: 0;
  transition: transform 0.3s;
}
#homepage .recherche .search-bt:hover {
  transform: scale(1.1) translateY(-2px) rotate3d(0, 0, 1, 10deg);
}

#homepage .recherche:after {
  clear: both;
  display: block;
  content: "";
}

#homepage #illustration {
  display: flex;
  padding: 60px 0;
  align-items: center;
}
#homepage #illustration picture {
  width: 48%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
}
#homepage #illustration .steps h2 {
  text-align: left;
  margin: 0;
}
#homepage #illustration .steps h3 {
  font-size: 22px;
  padding: 0;
  display: flex;
  align-items: center;
  text-align: left;
  padding-top: 41px;
}
#homepage #illustration .steps h3 span {
  font-size: 16px;
  display: inline-flex;
  background: var(--color-teal-green);
  width: 25px;
  height: 25px;
  border-radius: 25px;
  color: var(--color-white);
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
#homepage #illustration .steps p {
  font-size: 18px;
  line-height: 1.25em;
  margin-bottom: 0;
}
#homepage #illustration .steps a {
  color: var(--color-black);
}
#homepage .sales-pitch h2 {
  margin: 0 0 10px 0;
}
#homepage .sales-pitch p {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 0;
  font-size: 24px;
  line-height: 1.25em;
}
#homepage .sales-pitch .stats-items {
  min-height: 170px;
  display: flex;
  background: #f7f7f7;
  margin: 0 auto;
  width: 86%;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
}
#homepage .sales-pitch .stats-items .item {
  min-height: 107px;
  width: 100%;
  background: inherit;
  margin: 30px 0;
  text-align: center;
  border-right: 1px solid #cbccd7;
  padding: 0 1.5em;
}
#homepage .sales-pitch .stats-items .item .number {
  font-size: clamp(30px, 4vw, 60px);
  color: var(--color-navy-blue);
}
#homepage .sales-pitch .stats-items .item p {
  font-size: clamp(18px,4vw,20px);
  line-height: 1.2em;
  margin: 0 auto;
  max-width: 260px;
}
#homepage .sales-pitch .stats-items .item:last-child {
  border: none;
}

#homepage .medias {
  margin: 60px 0;
}

#homepage .pub-logos {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2.72%;
}

#homepage .home-double-cols {
  margin: 0 auto;
}
#homepage .home-double-cols h3 {
  text-align: left;
  font-size: 18px;
  font-weight: bold;
}
#homepage .home-double-cols ul li {
  padding: 0.3em 0 0.3em 0.8em;
  margin: 0.1em 0;
  background: transparent url("../img/svg/puce.svg") no-repeat scroll 0 12px;
  background-size: 5px;
}
#homepage .home-double-cols ul li a {
  border: none;
}
#homepage .home-double-cols ul li a:hover {
  color: var(--color-navy-blue);
}
#homepage .home-double-cols .col50 {
  padding: 0 2%;
}

#recherche_ajax_accueil {
  display: none;
  width: calc(100% + 2px);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  text-align: center;
  position: absolute;
  top: 26px;
  left: -1px;
  z-index: 98;
  box-shadow: 0px 30px 30px -16px rgba(0, 0, 0, 0.35);
  border-right: 1px solid #e9e9e9;
  border-left: 1px solid #e9e9e9;
  padding-top: 34px;
  background: #fcfcfc;
  border-bottom: 1px solid #e9e9e9;
  overflow: hidden;
}
#recherche_ajax_accueil ul {
  background: var(--color-light-gray);
  margin: 0;
  padding: 0;
}
#recherche_ajax_accueil li {
  padding: 0;
  background: none;
  text-align: left;
}
#recherche_ajax_accueil a {
  display: inline-block;
  width: 100%;
  border: none;
  padding: 6px 20px;
  box-sizing: border-box;
  color: var(--color-navy-blue);
}
#recherche_ajax_accueil a:hover {
  background-color: #eee;
}

/*--------------------------------------------------------------
  # RESPONSIVE
  --------------------------------------------------------------*/
@media (max-width: 767px) {
  #homepage h1,
  #homepage h2 {
    text-align: center;
    font-size: 24px;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 20px;
  }
  #homepage .recherche .search-input {
    text-indent: 10px;
  }
  #homepage .col-white {
    border: none;
    padding: 0;
    background: none;
    margin-top: 1em;
  }
  #homepage section {
    border: 1px solid #c6c6c6;
    border-radius: 10px;
    display: inline-block;
    padding: 1.5em;
    margin-bottom: 9px;
    background-color: var(--color-white);
  }
  #homepage .home-double-cols {
    max-width: 100%;
  }
  #homepage #illustration {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }
  #homepage #illustration picture {
    padding: 20px 0 0 0;
    width: 70%;
  }
  #homepage #illustration .steps h3 {
    padding-top: 20px;
    font-size: 18px;
  }
  #homepage #accroche h2 {
    display: none;
  }
  #homepage .sales-pitch .stats-items {
    flex-direction: column;
    width: 80%;
  }
  #homepage .sales-pitch .stats-items .item {
    border-right: none;
    border-bottom: 1px solid #4b4e71;
    min-height: auto;
    margin: 0;
    padding: 1.5em 1em;
  }
  #homepage .sales-pitch p {
    font-size: 20px;
  }
  #homepage .sales-pitch .stats-items .item .number {
    font-size: clamp(30px, 10vw, 70px);
  }
  #homepage .medias {
    margin: 0 0 9px 0;
  }
  #homepage .medias .pub-logos img {
    max-width: 40%;
  }
}