/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,600;0,700;0,900;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');


/* -------------------------------------------------------------- 
  
   reset.css
   * Resets default browser CSS.
   
-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-family: 'Montserrat', sans-serif;
  vertical-align: baseline;
}

body { 
  line-height: 1.5; 
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* outil */

.ye-btn-vert{
  text-decoration: none!important;
  text-align: center;
  border: 3px solid #3c6e17;
  border-radius: 30px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 60px;
  width: 265px;
  font-size: 16px;
  padding: 15px 0;
  background-color: #3c6e17;
  text-transform: uppercase;
  display: block;
  color: #fff;
}


.ye-btn-vert:hover{
  background-color: transparent;
  border: 3px solid #fff;
  color: #fff;
  text-shadow: 0 0 20px #000;
}

.ye-btn-vert.ye-b-v:hover{
  background-color: transparent;
  border: 3px solid #3c6e17;
  color: #3c6e17;
  text-shadow: none;
}

.ye-btn-blanc{
  text-decoration: none!important;
  text-align: center;
  border: 3px solid #3c6e17;
  border-radius: 30px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 60px;
  width: 265px;
  font-size: 16px;
  padding: 15px 0;
  background-color: #fff;
  text-transform: uppercase;
  display: block;
  color: #3c6e17;
}

.ye-btn-blanc:hover{
  border: 3px solid #3c6e17;
  background-color: #3c6e17;
  color: #fff;
}

.ye-btn-soumission{
  text-decoration: none!important;
  background-color: #fff;
  color: #3c6e17;
  border: 3px solid #fff;
  border-radius: 22px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 42px;
  display: inline-block;
  width: 187px;
  padding: 6px 0;
}

.ye-btn-soumission:hover{
  font-weight: 800;
  text-decoration: none!important;
  background-color: transparent;
  color: #fff;
  border: 3px solid #fff;
}


/* correction pour conteneurs non standard */
.ye-corr > .row{ margin-right: 0; }

/* base */
.ye-section{ margin: 100px 0; }

/* Header */

header{
  background-image: url(../images/accueil/banner-top.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top left;
}

/* menu */

.navbar{
  padding: 10px 0;
}

.ye-bck-verte{
  background-color: rgba(60, 110, 23, 0.749);
}

.navbar .ye-telephone{
  display: none;
  position: absolute;
  right: 75px;
  top: 53px;
}

.navbar .ye-telephone img{
  max-height: 30px;
}

.navbar .navbar-toggler{ margin-right: 10px; }

.navbar .navbar-toggler-icon img{ filter: invert(1) drop-shadow(0 0 15px black); }

.navbar .navbar-brand{
  margin-left: 95px;
}

.navbar .navbar-brand img{
  filter: drop-shadow(2px 4px 6px black);
}

.navbar .navbar-nav .nav-item.ye-active .nav-link,
.navbar .navbar-nav .nav-item:not(.ye-btn-telephone) .nav-link::before{
  content: "";
  width: 0;
  height: 2px;
  background-color: #fff;
  position: absolute;
  bottom: 6px;
  transition: width 0.5s ease-in;
}

.navbar .navbar-nav .nav-item.ye-active .nav-link,
.navbar .navbar-nav .nav-item .nav-link:hover::before{
  width: 92%;
  transition: width 0.5s ease-out;
}

.navbar .navbar-nav .nav-item .nav-link{
  filter: drop-shadow(0 0 4px #000);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

.navbar .navbar-nav .nav-item{
  margin-right: 50px;
}

.navbar .navbar-nav .nav-item.ye-btn-telephone{
  margin-right: 100px;
}

.navbar .navbar-nav .nav-item.ye-btn-telephone a{
  font-size: 20px;
  font-weight: 700;
  background-color: #fff;
  color: #000;
  border: 3px solid #fff;
  padding: 2px 27px 2px 27px;
  display: block;

  border-radius: 50px;
  border-top-right-radius: 0;
}

.navbar .navbar-nav .nav-item.ye-btn-telephone a:hover{
  background-color: transparent;  
  color: #fff;
  text-shadow: 0 0 20px #000;
}

/* Section top banner */
.ye-banner-top{
  padding: 65px 0 20px 50px;
}

.ye-banner-top h3{
  text-shadow: 0 0 20px #000;
  font-size: 58px;
  font-weight: 900;
  color: #fff;
}

.ye-banner-top .ye-lettres-container{ 
  margin-bottom: 35px;
}

.ye-banner-top .ye-lettres-container .ye-titre-letter{
  filter: drop-shadow(0 0 20px #000);
  position: relative;
  z-index: 3;
}

.ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(2){
  left: -25px;
  top: 4px;
  z-index: 2;
}

.ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(3){
  left: -29px;
  top: 2px;
  z-index: 1;
}

.ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(4){
  left: -50px;
  top: 4px;
  z-index: 0;
}

.ye-banner-top h2{
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px #000;
  margin-bottom: 50px;
}

.ye-banner-top .ye-btn-vert{
  margin: 0 auto;
}

.ye-banner-top picture{
  display: block;
  margin-top: 70px;
}

/* section a-propos */
.ye-a-propos{
  background-image: url(../images/accueil/feuille.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  padding: 20px 0;
}
.ye-a-propos h1{
  font-size: 40px;
  font-weight: 900;
  color: #161715;
}

.ye-a-propos h2{
  font-size: 16px;
  font-weight: 700;
  color: #3c6e17;
  text-transform: uppercase;
  margin: 25px 0;
}

.ye-a-propos p{
  font-family: "Questrial", sans-serif;
  font-size: 18px;
  color: #626262;
  text-align: justify;
  text-align-last: center;
  margin-bottom: 30px;
}

.ye-a-propos .ye-btn-vert{
  margin: 0 auto;
}

/* Services */
.ye-services{
  background-color: #f5f5f5;
  padding: 70px 0;
  margin: 200px 0;
  position: relative;
}

.ye-services h3{
  font-size: 20px;
  font-weight: 900;
  color: #161715;
  margin-bottom: 30px;
}

.ye-services p{
  font-family: "Questrial", sans-serif;
  font-size: 18px;
  color: #626262;
  text-align: justify;
  text-align-last: center;  
  padding: 0 62px;
}

.ye-services .ye-service-container{
  position: relative;
}

.ye-services .ye-service-container picture{
  display: block;
  position: absolute;
  left: 53%;
  transform: translate(-50%, -100%);
}

.ye-services .ye-service-container picture img{
  display: block;
}

.ye-services .ye-boutons{
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 69%);  
}

.ye-services .ye-boutons .ye-btn-vert{
  width: 330px;
  margin-right: 50px;
}

/* section mots de proprietaire */
.ye-mots-proprietaire h1{
  font-size: 40px;
  font-weight: 900;
  color: #161715;
}

.ye-mots-proprietaire h2{
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #3c6e17;
  margin: 20px 0;
}

.ye-mots-proprietaire p{
  font-family: "Questrial", sans-serif;
  font-size: 18px;
  color: #626262;
  text-align: justify;
  padding-right: 20px;
  margin-bottom: 20px;
}

/* section obtenez une soumission */
.ye-obtenez-soumission{
  background-image: url(../images/accueil/background-feuilles.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 30px 0;
}

.ye-obtenez-soumission h2{
  font-size: 30px;
  font-weight: 900;
  color: #fff;
}

.ye-obtenez-soumission h1{
  font-size: 33px;
  font-weight: 900;
  color: #fff;
}

/* section carousel */
.ye-carousel{
  padding: 100px 0 50px 0;
}

.ye-carousel h1{
  font-size: 40px;
  font-weight: 900;
  color: #161715;
  margin-bottom: 15px;
}

.ye-carousel h2{
  font-size: 16px;
  font-weight: 700;
  color: #3c6e17;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* carousel modal */
.ye-preview{  
  opacity: 0;  
  position: fixed;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%;
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.9); 
  transition: opacity 0.5s ease-in-out;
}

.ye-preview-container {
  background-color: transparent;
  margin: auto;
  width: 80%;
  text-align: center;
  position: relative;
  top: 55%;
  transform: translateY(-50%);
}

.ye-preview-container img{
  border-radius: 50px;
  border-top-right-radius: 0;
  max-width: 100%;
}

/* section contacts */
.ye-section-contacts{
  margin: 100px 0;
}

.ye-section-contacts .ye-contact-container:first-of-type{
  margin-left: 180px;
}

.ye-section-contacts .ye-contact-container{
  position: relative;
}

.ye-section-contacts .ye-contact-container img{
  position: absolute;
  left: -55px;
  top: 3px;
}

.ye-section-contacts h3{
  font-size: 16px;
  font-weight: 900;
  color: #161715;
  margin-bottom: 20px;
}

.ye-section-contacts p a{
  font-family: "Questrial", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #666666;
}

/* section formulaire */
.ye-formulaire .ye-formulaire-container{
  background-color: #3c6e17;
  border-radius: 50px;
  border-top-right-radius: 0;
  padding-top: 30px;
}

.ye-formulaire h1{
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 5px #335d14;
  margin-bottom: 10px;
}

.ye-formulaire h2{
  font-size: 16px;
  font-weight: 700;
  color: #d9e4c7;
}




/* footer */
footer{
  position: relative;
  background-color: #162c06;
  padding: 70px 0 0 0;
}

footer > .container{
  max-width: 1204px;
}

footer .ye-footer-top{
  margin-bottom: 50px;
}

footer .ye-footer-top .ye-slogan p{
  font-family: "Questrial", sans-serif;
  font-size: 15px;  
  letter-spacing: 0.8px;
  text-align: justify;
  color: #fff;
}

footer .ye-footer-top .ye-navigation h3{
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  text-align: center;
}

footer .ye-footer-top .ye-navigation p{
  text-align: center;
}


footer .ye-footer-top .ye-navigation a{
  font-family: "Questrial", sans-serif;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.5px;
}

footer .ye-footer-top .ye-contacts h3{
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
}

footer .ye-footer-top .ye-contacts a{
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

footer .ye-footer-top .ye-contacts > div{
  position: relative;
  margin-bottom: 30px;
}

footer .ye-footer-top .ye-contacts img{
  max-height: 30px;

  position: absolute;
  left: -55px;
  top: 5px;  
}

footer .ye-footer-bottom{
  max-width: 100%;
  background-color: #171f08;
  padding: 20px 0;
}

footer .ye-footer-bottom h3{
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

footer .ye-footer-bottom a{  
  color: #3c6e17;
}

footer .ye-en-haut{
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #82b501;
  right: 40px;  
  bottom: 35px;
}

footer .ye-en-haut::after{
  content: "↑";
  color: #fff;
  font-family: "Questrial", sans-serif;
  font-size: 38px;
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: top 0.5s ease-in;  
}

footer .ye-en-haut:hover::after{
  top: 40%;
  transition: top 0.5s ease-out;    
}


/* page merci */

.ye-merci{
  background-image: url(../images/accueil/feuille.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15%;
  padding: 150px 0;
}


@media screen and (max-width: 3000px) {
  /* banner-top */
  .ye-banner-top{
    padding: 162px 0 40px 0px;
  }

}

@media screen and (max-width: 1605px) {
  /* banner-top */
  .ye-banner-top{
  padding: 65px 0 20px 50px;
  }

}

@media screen and (max-width: 1400px) {
  /* menu */
  .navbar .navbar-brand {
    margin-left: 65px;
  }

  .navbar .navbar-nav .nav-item.ye-btn-telephone {
    margin-right: 65px;
  }

  .navbar .navbar-nav .nav-item {
    margin-right: 40px;
  }

  .navbar .navbar-nav .nav-item .nav-link {
    font-size: 16px;
  }

  .navbar .navbar-nav .nav-item.ye-btn-telephone a {
    font-size: 18px;
  }

}


@media screen and (max-width: 1200px) {
    /* menu */
    .navbar .navbar-brand {
      margin-left: 30px;
    }
  
    .navbar .navbar-nav .nav-item.ye-btn-telephone {
      margin-right: 30px;
    }

    .navbar .navbar-nav .nav-item {
      margin-right: 10px;
    }
  
    .navbar .navbar-nav .nav-item .nav-link {
      font-size: 16px;
    }
  
    .navbar .navbar-nav .nav-item.ye-btn-telephone a {
      font-size: 18px;
    }

    /* banner-top */
    .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(1){
      height: 170px;
    }
    
    .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(2),
    .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(4){
      height: 160px;
    }
    
    .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(3){
      height: 200px;
    }

    /* section à propos */
    .ye-a-propos h1 {
      font-size: 28px;
    }

    .ye-a-propos h2 {
      font-size: 15px;
    }

    .ye-a-propos p {
      font-size: 16px;
    }

    /* section services */
    .ye-services p {      
      padding: 0 30px;
    }

    /* section mots du proprietaire */
    .ye-mots-proprietaire h1 {
      font-size: 30px;
    }

    .ye-mots-proprietaire p {
      font-size: 17px;
    }

    /* section obtenez une soumission */
    .ye-obtenez-soumission h2 {
      font-size: 27px;
    }

    .ye-obtenez-soumission h1 {
      font-size: 30px;
    }

    /* section contacts */
    .ye-section-contacts .ye-contact-container:first-of-type {
      margin-left: 120px;
    }

    .ye-section-contacts .ye-contact-container {
      margin-left: 50px;
    }

    /* section formulaire */
    .ye-formulaire h1 {
      font-size: 35px;
    }

    .ye-formulaire h2 {
      font-size: 13px;
    }

 

}

@media screen and (max-width: 992px) {

    /* menu */
    .navbar .ye-telephone{
      display: block;
    }

    .navbar .navbar-nav .nav-item {
      margin-left: 30px;
    }

    .navbar .navbar-nav .nav-item.ye-btn-telephone a {
      width: 176px;
      padding: 2px 0 0 13px;
      position: relative;
      left: -18px;
    } 

    /* banner-top */
    .ye-banner-top{
      padding: 0;
    }
    
    .ye-banner-top .ye-banner-container{
      -ms-flex: 0 0 83.333333%;
      flex: 0 0 83.333333%;
      max-width: 83.333333%;
    }

    .ye-banner-top h3 {
      font-size: 50px;
    }

    .ye-banner-top h2 {
      font-size: 16px;
    }

    .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(1){
      height: 155px;
    }
    
    .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(2),
    .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(4){
      height: 140px;
    }
      
    .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(3){
      height: 180px;
    }    
    
    /* section a-propos */
    .ye-a-propos .ye-a-propos-container{
      -ms-flex: 0 0 66.666667%;
      flex: 0 0 66.666667%;
      max-width: 66.666667%;
    }

    /* section services */
    .ye-services p {
      padding: 0 8px;
    }
  
    /* section mots du proprietaire */
     .ye-mots-proprietaire h1 {
      font-size: 24px;
    }
    
    .ye-mots-proprietaire p {
      font-size: 16px;
    }

    /* section obtenez une soumission */
    .ye-obtenez-soumission h2 {
      font-size: 25px;
    }
  
    .ye-obtenez-soumission h1 {
      font-size: 28px;
    }

    /* section contacts */
    .ye-section-contacts .ye-contact-container:first-of-type {
      margin-left: 80px;
    }

    .ye-section-contacts .ye-contact-container {
      margin-left: 50px;
    }

    .ye-section-contacts h3 {
      font-size: 13px;
      margin-bottom: 2px;
    }

    .ye-section-contacts p a {
      font-size: 14px;
    }

    .ye-section-contacts .ye-contact-container img {
      left: -43px;
    }

    /* footer */
    footer .ye-footer-top .ye-contacts h3 {
      font-size: 13px;
    }

}

@media screen and (max-width: 640px) {
  /* banner-top */
  .ye-banner-top .ye-banner-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-left: 0!important;
    padding-left: 25px;
  }

  .ye-banner-top h2 {
    font-size: 16px;
  }

  .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(1){
    height: 90px;
  }
  
  .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(2),
  .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(4){
    height: 75px;
  }
    
  .ye-banner-top .ye-lettres-container .ye-titre-letter:nth-child(3){
    height: 105px;
  }    

  /* section a-propos */
  .ye-a-propos .ye-a-propos-container {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ye-a-propos h1 {
    font-size: 24px;
  }

  /* section services */
  .ye-services {
    margin: 100px 0;
  }

  .ye-services .ye-service-container:not(.ye-service-container:last-of-type) {
    margin-bottom: 195px;
  }

  .ye-services h3 {
    margin-bottom: 15px;
  }

  .ye-services .ye-boutons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: initial;
    transform: none;    
  }

  .ye-services .ye-boutons .ye-btn-vert {
    margin-right: 0;
    margin: 40px 0 20px 0;
  }

  /* section obtenez une soumission */
  .ye-obtenez-soumission h2 {
    font-size: 15px;
  }

  .ye-obtenez-soumission h1 {
    font-size: 22px;
  }

  /* section carousel */
  .ye-preview-container {
    width: 95%;
  }

  .ye-carousel {
    padding: 100px 0 0 0;
  }

  .ye-carousel h1 {
    font-size: 35px;
  }

  .ye-carousel h2 {
    font-size: 13px;
  }

  /* section contacts */
  .ye-section-contacts .ye-contact-container:first-of-type {
    margin-left: 138px;
    margin-bottom: 35px;
  }

  .ye-section-contacts .ye-contact-container{
    margin-left: 138px;
    margin-bottom: 35px;
  }

  /* section formulaire */
  .ye-formulaire{
    padding: 0 15px;
  }

  .ye-formulaire h1 {
    font-size: 25px;
  }

  /* footer */
  footer {
    padding: 35px 0 0 0;
  }

  footer .ye-footer-top .ye-navigation h3 {
    text-align: left;
    margin-top: 15px;
  }

  footer .ye-footer-top .ye-navigation p {
    text-align: left;
  }

  footer .ye-footer-top .ye-contacts{
    margin-top: 15px;
  }

  footer .ye-footer-top .ye-contacts h3 {
    font-size: 16px;
  }

  footer .ye-footer-top .ye-contacts > div {
    margin-bottom: 15px;
  }

  footer .ye-footer-bottom h3 {
    font-size: 14px;
    text-align: center;
  }

  footer .ye-en-haut {
    right: 19px;
    bottom: 56px;
  }



}


/* section:not(.ye-banner-top, .ye-a-propos, .ye-services, .ye-mots-proprietaire, .ye-obtenez-soumission, .ye-carousel, .ye-section-contacts, .ye-formulaire){
  display: none;
} */

/* footer{
  display: none;
} */
