/* Welcome here, 
 * you can say hello 
 * or see other projects like this 
 * at quentinrenaux.com
 * and we can speak at    
 * twitter : @quentinrenaux 
 * insta : @quentinrenaux
 */

/* BASIC CODE  
 * ------------------ */
*, div, p, img {  
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* * {border: 1px solid red;}*/

img {
  max-width: 100%;
  height: auto;
}

body {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; 
    font-size: 14px; 
    font-style: normal; 
    font-variant: normal; 
    font-weight: 400; 
    line-height: 20px; 
    letter-spacing: 0.4px;

    color: #556e59; 
  }

  a {color: #000; text-decoration: none;}
  a {color: #556e59; }

  a:hover {text-decoration: underline;}

  h2 {
    font-size: 40px;
    line-height: 1.2em;
    font-weight: 300;
  }

  .bg-green {
    background-color: #556e59;
  }

.max-size {max-width:1200px; margin: 0 auto;}

/* MENU
 * ****************************************************** */
.logo-principal {
  position:fixed;
  top: 16px; 
  left: 30px;
  width: 170px;
  z-index: 101;
}
.supernav {
  position:fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;

  padding: 0 50px;
  color: #fff;
  z-index: 100;
}

.supernav a {color: #fff;}

.supernav > div {
  padding: 4px;
}


@media only screen and (max-width: 900px) {
  .nomobile {display:none!important}

  .supernav {padding: 0px 30px;}
}



/* SECTION : A PROPOS PRESENTATION
 * ****************************************************** */

.cover {
  display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 40px;

    margin-top: 80px;
    min-height:80vh;
}

h1 {
  font-size: 48px;
  line-height: 1em;
  font-weight: 300;
}

.logocover {max-width: 340px;}

/* SECTION : A PROPOS PRESENTATION
 * ****************************************************** */
.presentation {
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    min-height: 100vh;
    padding: 90px 40px 40px;
}

.presentation h3 {
  font-weight: 300;
  margin-bottom: 20px;
}

.presentation > div {
  width: 50%;
  padding: 20px;
}

.style40pursang {width:40%}

@media only screen and (max-width: 900px) {
.presentation { flex-direction: column;}

  .presentation > div {
    width: 100%;
  }
  .style40pursang {width:100%}
}

/* SECTION : OFFRE ET CONSEIL 
 * ****************************************************** */
.offredeconseil {
  display: flex;
    align-items: center;
    justify-content: space-between;

    flex-direction: column;

    position: relative;
    gap: 40px;

    padding: 40px;

    min-height: 100vh;
    padding: 90px 40px 40px;

    overflow: hidden;
}

.offredeconseil > div {border: 0px solid red;}

.offre-titre {
  width: 100%;
  text-align: left;
  margin-left: 78px;
}

.offre-titre p {
  margin-left: 4px;
  font-weight: 700;
  margin-top: 10px;
}

.logoformeleader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: center;
}

.logoformeleader img {width:15%}


.lesformes-offres {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
}

@media only screen and (max-width: 900px) {

  .offre-titre {
    margin-left: 5px;
  }

  .lesformes-offres {
    flex-direction: column;
  }

  .offredeconseil {
  
      overflow: hidden;
  }

}

.image-cool-offre-fond {
  position: absolute; 
  bottom: 0; left: 0; 
  width: 40%; 
  display:block;
  z-index: 1;
  
}

.lesformes-offres > div {
  display: block;
  padding: 0px;
  height: 300px;
  width: 400px;
}

.offres-bulle {position: relative}
.inbulle-flex {  display: flex;
  align-items: center;
  justify-content: center; position: absolute; top: 0; bottom: 0; left: 0; right: 0;
  text-align: center;
  padding: 40px;
  line-height: 1.8em;
}
 
.feuille1, .feuille2, .feuille3, .feuille4 {
  position: absolute;
  width: 240px;
  pointer-events: none;
  border: 0px solid red;
}
.feuille1 {
  top: -90px;
  right: 0;
  transform: rotate(90deg);
}
.feuille2 {
  bottom: -120px;
  right: 0;
  width: 300px;
  transform: rotate(90deg);
}
.feuille3 {
  top: -90px;
  right: 0;
  width: 180px;
  transform: rotate(40deg);
}
.feuille4 {
  top: -74px;
    right: 20px;
    transform: rotate(8deg);
    width: 160px;
}

.offre-texte-fin {
  width: 100%;
  /*padding-right: 55%;*/
  margin-left: 78px;
  padding-bottom: 50px;
}


.formation-texte-fin {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.formation-texte-fin > div {
  width: 50%;
}

@media only screen and (max-width: 900px) {
  .formation-texte-fin > div {
    width: 100%;
  }
  .offre-texte-fin {
    padding-right: 10px;
    margin-left: 10px;
  }

  .feuille3 {
    transform: rotate(272deg);
  }
  .feuille1 {
    top: -70px;
    right: 0;
    transform: rotate(90deg);
  }
  .feuille2 {
    bottom: -120px;
    right: 0;
    width: 200px;
    transform: rotate(90deg);
  }
  .feuille3 {
    top: -90px;
    right: 0;
    width: 180px;
    transform: rotate(40deg);
  }
  .feuille4 {
    top: -74px;
      right: 20px;
      transform: rotate(8deg);
      width: 160px;
  }


}

.confiance-masonry {
    display: grid;
    grid-gap: 10px;
    grid-template: repeat(4, 1fr) / repeat(4, 1fr);
    grid-auto-flow: row dense;   /* column ou 'row', 'row dense', 'column dense' */

    width: 80%;

    padding: 0 0 100px;
}

.confiance-masonry > div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.masonry-logo-confiance img {width:100px}

/* SECTION : OFFRE ET FORMATION
 * ****************************************************** */

/* SECTION : ENGAGEMENTS
 * ****************************************************** */
.engagements-full {
  display: flex;
    align-items: center;
    justify-content: space-between;

    flex-direction: column;


    position: relative;
    gap: 40px;

    padding: 40px;

    min-height: 100vh;
    padding: 90px 40px 40px 40px;
}

.flex-double-engagements {
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;

    width: 100%;
}


.flex-double-engagements > div {
  padding: 20px;

}

.image-engagements {width: 40%; }

@media only screen and (max-width: 900px) {
  .image-engagements {width: 80%; }

  .flex-double-engagements {
    flex-direction: column;
  }

}

.liste-engagement {margin-top:-120px}

.liste-engagement p {
  margin-left: 30px;
  position: relative;
  font-size: 1.0em;
  padding: 4px 0;
  font-size: 1.5em;
  padding: 25px 10px;
}

.liste-engagement p:before {
    content: '';
    background-image: url(./img/feuille-point.png);
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
    width: 35px;
    height: 36px;
    display: inline-block;
    position: absolute;
    left: -35px;
    top: 15px;
  }

  .liste-engagement p:first-child:before {transform: rotate(0deg);}
  .liste-engagement p:nth-child(2):before {transform: rotate(90deg);}
  .liste-engagement p:nth-child(3):before {transform: rotate(20deg);}
  .liste-engagement p:nth-child(4):before {transform: rotate(40deg);}
  .liste-engagement p:nth-child(5):before {transform: rotate(170deg);}


/* SECTION : CONFIANCE PARTENAIRE
 * ****************************************************** */



/* SECTION : FOOTER
 * ****************************************************** */
footer {
  display: flex;
    align-items: center;
    justify-content: center;

    text-align: center; 
    gap: 40px;

    padding: 90px 40px 40px;

    color: #fff;

    min-height: 100vh;
}

.coolfooter {

    display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
  
      text-align: center; 
  
      color: #fff;
      width: 40%;
}

.coolfooter img {width: 60%}

.formfooter {width: 30%;}
.formfooter > form{
  width: 100%;

    display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
  
      text-align: center; 
  
      color: #fff;
}

form input {    
  border: 1px solid #abbbad;
      border-radius: 4px;
      height: 22px;
      padding: 14px;
      width: 100%;
      margin: 10px;
  }

form textarea {    
  border: 1px solid #abbbad;
      border-radius: 4px;
      height: 82px;
      padding: 12px;
      margin: 10px;
      width: 100%;

      font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; /* force la font-familly sinon ca devient monospace*/

  }

form p {
  width: 100%;
  display: inline-block;
  text-align: center;
  padding: 20px 1px 2px;
  font-size: 1.2em; 
  font-weight: 700;
}

form button {
  margin: 30px; 
  padding: 6px 12px;
  border: 1px solid #abbbad;
  border-radius: 4px;
}

footer a {color: #fff;}

@media only screen and (max-width: 900px) {

  footer {
    flex-direction: column;
  }

  .coolfooter {

      width: 100%;
  }

  .formfooter {width: 100%;}
}