:root {
  --padd: 2.5vw;
  --padd2d: calc(var(--padd) / 2);
  --padd3d: calc(var(--padd) / 3);
  --padd4d: calc(var(--padd) / 4);
  --padd2m: calc(var(--padd) * 2);
  --padd3m: calc(var(--padd) * 3);
  --padd4m: calc(var(--padd) * 4);

  --nav: 4vw;
  --form: 25%;
  --body: calc(100% - var(--form));
}

/* ------------------------------------------ */

body,
html {
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
}

body::-webkit-scrollbar {
  width: 0;
}
#formulaire::-webkit-scrollbar {
  width: 0;
}

ul {
  list-style: none;
  padding-inline-start: 0;
  margin: 0;
}

.klavika {
  font-family: "klavika", sans-serif;
}
.gotham {
  font-family: "gotham", sans-serif;
}
.poppins {
  font-family: "Poppins", sans-serif;
}

/* ------------------------------------------ */

h3 {
  color: #062149;
  font-size: 1.875rem;
  padding: 9px 18px;
}
h2 {
  color: var(--primary);
  margin-bottom: var(--padd);
}

#body,
footer {
  width: var(--body);
}

#body {
  padding: 0 2vw;
}

nav {
  background-color: white;
  padding: 1.25vw 0;
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: flex-start;
}
nav .logos {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
}
nav .logos img {
}

.navbar-infos_text {
  margin-bottom: 0;
  line-height: 2em;
  border-left: 1px solid black;
  padding-left: 3rem;
  padding-top: 0.5rem;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.navbar-infos_text span:first-child {
  padding-left: 1rem;
  padding-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 300;
}
.navbar-infos_text span:nth-child(2) {
  font-size: 1.875rem;
  position: relative;
  z-index: 4;
  padding-right: 4vw;
}
.navbar-infos_text .mari-underl:before {
  position: absolute;
  background-color: #e0f76b;
  height: 14px;
  width: 100%;
  content: "";
  z-index: -1;
  left: 0;
  bottom: -4px;
  display: block;
}
nav .logo_prog {
  margin-left: var(--padd2d);
  padding-left: var(--padd2d);
  border-left: 1px solid var(--terciary);
}

header {
  position: relative;
}

header .baseline-wraper{
  position: absolute;
  bottom: 2vw;
  left: -2vw;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
@media screen and (max-width : 769px){
  header .baseline-wraper{
    position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  background-color: #062149;
  padding: 16px 16px 16px 16px;

  }
}


header #baseline {
  color: white;
  background-color: var(--terciary);
  width: calc(var(--body) * 0.70);
  text-align: left;
  padding: 2vw 4vw 2vw 2vw;
  border-radius: 0;
position: relative;
}





header #baseline:after{
  position: absolute;
  right: -37px;
  display: block;
  width: 8vw;
  background-color: #062149;
  height: 100%;
  transform: skewX(25deg);
  content: "";
  top: 0;
}
header #baseline.active {
  position: fixed;
  top: 0;
  left: 0;
  bottom: unset;
  transform: unset;
  width: var(--body);
  border-top-right-radius: unset;
  border-top-left-radius: unset;
}
header #baseline > .separator {
  margin: var(--padd4d) auto var(--padd3d);
  width: 50%;
  height: 2px;
  background-color: white;
}
header .dispo {

gap: 1.25rem;
margin-left: -6vw;
  z-index: 100;
  display: flex;
  justify-content: flex-start;

}

@media screen and (max-width : 1200px){
  header .dispo {
    margin-left: -5vw;
  }
}
header .dispo li {
  border-radius: 50%;
  width: 4.5vw;
  height: 4.5vw;
  background-color: var(--terciary--o);
  color: white;
  margin-bottom: 0;
  text-align: left;
  text-transform: uppercase;
  font-weight: bold;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid white;
  padding: 0.5vw;
  min-width: 76px;
  min-height: 76px;
}
header #bg_header {
  padding-top: 50.5%;
}

main {
  padding: 0 0 0 0;
  width: 100%;
}
main ul.dispo li {
  position: relative;
  padding: 0vw 0 2vw 32px;
  margin-left: 1em;
}
main ul.dispo li::before {
  font-family: sans-serif;
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  display: block;
  background-color: var(--yellow);
  border-radius: 50%;
  height: 16px;
  width: 16px;
}
main #residence > div {
}
main #residence article:first-child {
  padding-right: var(--padd2d);
}
main #residence article:last-child {
  padding-left: var(--padd2d);
  height: 25vw;
}
main #residence .description {
  margin: var(--padd) 0;
}

.residence-slider-wrapper {
  margin-bottom: 5vw;
}

main #residence em {
  font-style: normal;
  font-weight: 600;
}
main #residence_slider .splide__arrow,
main #residence_slider_2 .splide__arrow {
  display: none;
}
main #residence_slider .splide__pagination__page.is-active,
main #residence_slider_2 .splide__pagination__page.is-active {
  background: var(--terciary);
}

main #residence {
  display: flex;
  gap: 0;
  margin-bottom: 2vw;
}
.left-col {
  width: 55%;
  padding-right: 2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.right-col {
  width: 45%;
  background-color: var(--terciary);
  padding: 2vw;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.residence-slider-wrapper #residence_slider {
  height: 40vw;
}

/* = GENERAL CLASSES */
.df-em {
  font-weight: 600;
}

.underl {
  text-decoration: underline;
}

.txt-center {
  text-align: center;
}
.fl-center {
  display: flex;
  justify-content: center;
}

#formulaire {
  width: var(--form);
  height: 99.5vh;
  overflow-y: auto;
  background: white;
  box-shadow: 0px 0px 5px grey;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
}
#formulaire .placeholder {
  margin-bottom: 5px;
  padding-left: var(--padd4);
  font-weight: bold;
  color: white;
}
#formulaire .title {
  background: linear-gradient(to left, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  padding: var(--padd) var(--padd2d) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#formulaire .title h2 {
  margin-bottom: var(--padd2d);
  color: white;
}
#picto_phone,
#picto_phone path {
  fill: var(--primary);
  stroke: var(--primary);
}
#formulaire .title > div:first-child {
  padding: 6px 12px;
  background-color: white;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin-bottom: var(--padd2d);
}
#formulaire {
  background-color: #062149;
  padding: 3vw 2vw 3vw 2vw;
}
#formulaire .mab_radio {
  margin: var(--padd4d) 0 var(--padd2d);
}
#formulaire .mab_radio__control {
  border-color: var(--primary);
  border-radius: 20%;
}
#formulaire .mab_radio input:checked + .mab_radio__control {
  background-color: var(--primary);
}
#formulaire .btn {
  padding: 12px 48px;
  color: black;
  font-weight: bold;
  background: var(--yellow);
  border-radius: 0;
  margin: 0 auto;
  display: block;
  cursor: pointer;
}
#formulaire input,
#formulaire select {
  margin-bottom: var(--padd4d);
  border: 1px solid var(--terciary);
  border-radius: 0;
  background-color: var(--primary);
  color: white;
  width: 100%;
  height: 2vw;
  padding: 0 max(0.7vw, 15px);
  font-size: 75%;
  font-family: sans-serif;
}
[name="commentaire"] {
  margin-bottom: var(--padd);
}
#formulaire [aria-labelledby="typologie"] {
  margin-bottom: 0;
  width: 100%;
  height: 100%;
}
#formulaire .mab_checkbox {
  width: 3vw;
  height: 2.66vw;
}
#formulaire .mab_checkbox label {
  border-color: var(--m-blue);
  color: white;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
}
#formulaire .mab_checkbox input:checked + label {
  background-color: var(--primary);
  color: white;
}
#container_input {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: max(15px, 0.66vw);
}
#container_typo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--padd4d);
  font-size: 66.6%;
  font-weight: bold;
}

#formulaire .mab_checkbox {
  padding: 8px 76px;
}

#formulaire .btn.submit-btn {
  background-color: #e0f76b !important;
  font-weight: 300;
  color: black;
}

#formulaire form {
  padding: var(--padd2d) var(--padd4d);

  background-color: #062149;
}
#mab_completion__list.active {
  transform: translateY(15px);
  border: 1px solid var(--secondary);
}
/* #formulaire [for="lieu"] {
	display: block;
	margin-bottom: var(--padd4d);
} */
#formulaire svg {
  transform: translateY(15%);
  width: max(1.5vw, 20px);
  height: max(1.5vw, 20px);
}
#confirmation {
  padding: var(--padd);
  text-align: center;
}

footer {
  padding: 2vw;
  background-color: #062149;
  color: white;
}
footer .mentions {
  padding-bottom: 0;
}
footer > p a {
  display: block;
  margin-bottom: 5px;
}

.contact-cta-block {
  width: 84%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 0;
  margin-bottom: 3vw;
  justify-content: center;
  flex-wrap: nowrap;
  height: 19vw;
  overflow: hidden;
}

.contact-cta-block_content {
  margin-left: 0%;
  width: 45%;
  color: #062149;
  background-color: #b4d6ff;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2vw 4vw 2vw 2vw;
}
.contact-cta-block_content h3 {
  padding: 0;
}
.contact-cta-block_content h3 span {
  padding-left: 4px;
  position: relative;
  box-shadow: inset 0 -0.5em 0 0 white;
}
.contact-cta-block_content h3 span:first-child {
  /* padding-right: 1vw; */
}
.contact-cta-block_content h3 span:last-child {
  padding-right: 0.1vw;
}
.contact-cta-block_content__p {
  font-weight: 600;
}
/* .mari-underl{
  position: relative;
}
.mari-underl::before{
  position: absolute;
  background-color: #e0f76b;
  height: 14px;
  width: 100%;
  content: "";
  z-index: -1;
  left: 0;
  bottom: -4px;
  display: block;
} */
.contact-cta-block_img-wrapper {
  width: 55%;
  position: relative;
}
.contact-cta-block_img-wrapper:before {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: block;
  width: 30%;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(180, 214, 255, 1) 63%
  );
  content: "";
  z-index: 5;
}

.contact-cta-block_img-wrapper img {
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* = SLIDER MODFIED CSS*/
#main .splide__pagination {
  display: inline-flex;
  align-items: center;
  width: 95%;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  gap: 4px;
  bottom: -0.5vw;
}
#main .splide__pagination__page {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #9AC6FB;
  border-radius: 50%;
  margin: 3px;
  padding: 0;
  transition: -webkit-transform 0.2s linear;
  transition: transform 0.2s linear;
  transition: transform 0.2s linear, -webkit-transform 0.2s linear;
  border: none;
  opacity: 1;
}

#main #residence_slider .splide__pagination__page.is-active,
main #residence_slider_2 .splide__pagination__page.is-active {
  background: #062149;
  width: 78px;
  margin: 3px 10px;
  border-radius: 16px;
  transition: all 0.2s;
  transform: scale(1) !important;
}

.footer-content-wrapper {
  padding: 1vw 0 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
}

.footer-content_logo {
  width: 10%;
}
.footer-content_logo img {
  width: 100%;
  display: block;
  max-width: 100%;
}

.footer-content_mentions-link {
  width: 15%;
}

.footer-content_infos-block {
  margin-top: 3vw;
}

/* ------------------------------------------ */

@media (min-width: 1025px) {
  #livraison {
    padding-top: 1.33vw;
  }
}

@media (max-width: 1024px) {
  :root {
    --padd: 30px;

    --nav: 60px;
    --form: 100%;
    --body: 100%;
  }

  main {
    padding: 0 var(--padd2d);
    margin-bottom: 3vw;
  }

  /* nav .logos { justify-content: center; } */
  nav .logos img {
    max-width: 50%;
  }

  header #bg_header {
    padding-top: 77.5%;
  }
  header #baseline {
    width: calc(var(--body) - var(--padd2m));
  }
  header .dispo {
    top: 0;
    bottom: unset;
    display: flex;
gap: 16px;
padding-top: 1rem;
margin-bottom: -3rem;
  }


  header .dispo li {
    padding: 12px;
    width: 75px;
    height: 75px;
  }

  #livraison {
    font-size: 2.5vw;
    line-height: 1.2em;
    padding-top: 15px;
  }

  main #residence > div {
    grid-template-columns: 100%;
  }
  main #residence article:first-child {
    padding-right: 0;
    margin-bottom: var(--padd);
  }
  main #residence article:last-child {
    padding-left: 0;
    margin-bottom: var(--padd2m);
    height: max(220px, 33.33vw);
  }

  #formulaire {
    position: static;
    height: auto;
  }
  #formulaire button.btn {
    margin-bottom: var(--padd);
  }
  #formulaire .mab_checkbox {
    width: 15vw;
    height: 12.5vw;
  }
  #formulaire .placeholder {
    padding-left: var(--padd2d);
  }
  #container_typo {
    font-size: 100%;
  }
  #formulaire input,
  #formulaire select {
    font-size: 100%;
    margin-bottom: var(--padd2d);
    height: 40px;
  }
  #mab_completion__list.active {
    transform: translateY(20px);
  }

  footer {
    padding: var(--padd2m) var(--padd2d);
  }

  #cta_info {
    position: fixed;
    bottom: -1px;
    left: 0;
    right: 0;
    color: white;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    text-transform: uppercase;
    font-weight: bold;
  }

  main ul.dispo li {
    line-height: 1em;
    margin-bottom: var(--padd2d);
  }


}


/* ------------------------------------------ */

.splide__pagination {
  width: 100%;
}


@media screen and (max-width : 1200px){
  header #baseline {
    width: 70%;
  }

}





@media screen and (max-width : 769px){

  header #baseline {
    width: 100%;
    text-align: center;
  }



  #body{
    padding: 0;
  }
  #body > nav{
    padding: 22px 16px;
    flex-direction: column;
  }

    nav .logos img {
      max-width: 100%;
  
  }

  nav .logos{
    position: relative;
    display: block;
  }
  
  nav .logos:after{
    position: absolute;
    display: block;
    content: "";
    width: 35%;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background-color: #062149;
    bottom: -1.5rem;
  }

  .navbar-infos_text{
    padding: 0 0 0 0;
    text-align: center;
    border-left: 0;
  }
  .navbar-infos_text span:first-child {
    padding-left: 0;
    padding-bottom: 0;
    font-size: 4vw;
    font-weight: 300;
  }
  .navbar-infos_text span:nth-child(2) {
    font-size: 5vw;
    padding-right: 4vw;
    padding-left: 4vw;
  }
  .navbar-infos_text .mari-underl::before {
    
    height: 9px;

    bottom: -2px;

  }
  
  footer .mentions { width:100%; margin-left:0; text-align:justify; }
}
