/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*===== COLORS =====*/
  --hue: 152;
	--first-color: #2667FF;
	--first-color-dark: #0031A3;
	--first-color-darken: #001852;
	--text-color: #000C29;
	--first-color-light: #EAE7E6;
	--first-color-lighten: #f2f2f2;
  --body-color: #FFFFFF;

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== Margenes Bottom ==========*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
*,::after,::before{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html{
  scroll-behavior: smooth;
}

body,
button,
input,
textarea{
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body{
  margin: var(--header-height) 0 0 0;
  background-color: var(--body-color);
  color: var(--text-color);
  text-align: justify;
  line-height: 1.4rem;
  line-height: 1.5rem;
}

button{
  cursor: pointer;
  border: none;
  outline: none;
}

h1,h2,h3{
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
  color: var(--text-color);
}

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

.img_logo{
  width: 100px;
  display: flex;
  justify-self: center;
}

.text-color{
  color: var(--first-color);
}
.text-surligner{
  text-decoration: underline 2px var(--first-color);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section{
  padding: 5.5rem 0 1rem;
}

.section_title,
.section_title-center{
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  text-align: center;
  line-height: 140%;
  margin-top: 5rem;
}

.section_title-center{
  text-align: center;
}

.container{
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid{
  display: grid;
  gap: 1.5rem;
}

.main{
  overflow: hidden;
}

.button_header{
  display: none;
}
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: var(--body-color);
  padding: .75rem 1.5rem;
  border-radius: 3rem;
  font-weight: var(--font-medium);
  transition: .3s;
}

.button:hover{
  background-color: var(--first-color-dark);
}

/*============================== HEADER ==============================*/
.header{
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}
.scroll-header {
  box-shadow: 0 1px 4px hsla(var(--hue), 4%, 15%, .1);
}

.nav{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav_link:hover{
  border-bottom: 2px solid var(--first-color);
}

.nav_logo:hover .span{
  color: var(--first-color);
}

/*============================== HOME ==============================*/
.home{
  height: 100vh;
  align-items: center;
  display: flex;
  padding-top: 0;
}

.home_container{
  row-gap: 3rem;
}
.home_title{
  font-size: var(--big-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-2-5);
}

.home_description{
  margin-bottom: var(--mb-2);
}

/*============================== About ==============================*/
.about_container{
  align-items: end;
}

.about__img{
  width: 200px;
  height: 200px;
  background-color: var(--first-color);
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--mb-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.about__img img{
  width: 160px;
}

.about__title{
  font-size: var(--big-font-size);
  font-weight: var(--font-semi-bold);
  margin-top: var(--mb-2-5);
  text-align: center;
}

/*============================== SERVICES ==============================*/
.services_container{
  padding-top: 1rem;
}
.services_data{
  display: grid;
  row-gap: 1rem;
  background-color: var(--first-color-lighten);
  box-shadow: 0 8px 20px rgba(35, 0, 77, .2);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
}

.services_description{
  line-height: 1.5rem;
}

.services_img{
  width: 200px;
  justify-self: center;
  margin-bottom: var(--mb-0-5);
}

.services__box{
  margin-top: 5rem;
  display: grid;
}

.services__big{
  display: grid;
  row-gap: 1rem;
  background-color: var(--first-color-lighten);
  box-shadow: 0 8px 20px rgba(35, 0, 77, .2);
  padding: 1.5rem 1.5rem;
  margin: 1rem;
  border-radius: 1rem;
  text-align: center;
}

.services__img{
  margin: 1rem;
  width: 300px;
  justify-self: center;
}

.services__button{
  margin: 1rem;
}

.services__description{
  text-align: justify;
}
/*============================== PAGES-SERVICES ==============================*/
.services_info_box{
  margin-bottom: 5rem;
}

.services_info_tilte{
  font-size: var(--h1-font-size);
  margin-bottom: 2rem;
}

.services_info_data{
  display: grid;
  align-items: center;
}

.services_info_data2{
  display: grid;
  justify-content: center;
  row-gap: 1rem;
}

.services_info_description{
  font-size: var(--normal-font-size);
  line-height: 1.5rem;
  margin-bottom: var(--mb-2);
}

.services_info_subtitle{
  margin-bottom: 2rem;
}

.services_info_step{
  display: grid;
  row-gap: 1rem;
  background-color: var(--first-color-lighten);
  box-shadow: 0 8px 20px rgba(35, 0, 77, .2);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.services_info_step-img{
  max-height: 250px;
  justify-self: center;
}

.services_info_step-img2{
  width: 800px;
  justify-self: center;
}

.services_info_step-info{
  margin-top: 2rem;
  text-align: center;
}

.services_info_step-info2{
  margin-top: 2rem;
  text-align: center;
  order: 1;
}

.services_info_step-tilte{
  margin-bottom: 1rem;
}

.services_info_step-description{
  font-size: var(--normal-font-size);
  line-height: 1.5rem;
}

.services_info_description_box{
  display: grid;
  justify-content: center;
}

.services_info_description-explication-box{
  display: grid;
  row-gap: 1rem;
  background-color: var(--first-color-lighten);
  box-shadow: 0 8px 20px rgba(35, 0, 77, .2);
  padding: 1.5rem 1.5rem;
  margin: 1rem;
  border-radius: 1rem;
  text-align: center;
}

/*============================== Projets-Partenaire ==============================*/
.partenaire__container{
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-content: center;
  gap: 2.5rem 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid black;
}

.partenaire__img{
  width: 200px;
}

/*============================== CONTACT ==============================*/
.contact{
  height: 90vh;
}

.contact_container{
  row-gap: 3.5rem;
}

.contact_data{
  display: grid;
  row-gap: 2.5rem;
}

.contact_subtitle{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--text-color);
  margin-bottom: var(--mb-0-5);
}

.contact_description{
  display: inline-block;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.contact_icon{
  font-size: 1.25rem;
  color: var(--first-color);
}

.contact_icon2{
  font-size: 1.25rem;
  color: var(--body-color);
  background-color: var(--first-color);
  border-radius: 50%;
  padding: 0.5rem;
  margin: 0.2rem;
  transition: .3s;
}
.contact_icon2:hover{
  color: var(--first-color);
  background-color: var(--body-color);
}

.conatct_information{
  text-align: center;
}

.contact_inputs{
  display: grid;
  row-gap: 2rem;
  margin-bottom: var(--mb-2-5);
}

.contact_content{
  position: relative;
  height: 3rem;
  border-bottom: 1px solid var(--text-color);
}

.contact_input{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 1rem 1rem 0;
  background: none;
  border: none;
  outline: none;
  z-index: 1;
}

.contact_label{
  position: absolute;
  top: 0.75rem;
  width: 100%;
  font-size: var(--small-font-size);
  color: var(--text-color);
  transition: 0.3s;
}

.contact_area{
  height: 7rem;
}

.contact_area textarea{
  resize: none;
}

.contact_input:focus + .contact_label{
  top: -0.75rem;
  left: 0;
  font-size: var(--smaller-font-size);
  z-index: 10;
}

.contact_input:not(:placeholder-shown).contact_input:not(:focus) + .contact_label{
  top: -0.75rem;
  font-size: var(--smaller-font-size);
  z-index: 10;
}

/*============================== REALSIATION ==============================*/
.projets .section__title{
  color: var(--white-color);
}

.projets__container{
  padding-block: 1.5rem 3rem;
  justify-content: center;
}

.projets__card{
  background-color: var(--first-color-lighten);
  background-clip: content-box;
  transition: border-color .4s;
  box-shadow: 0 8px 20px rgba(35, 0, 77, .2);
}

.projets__site{
  color: var(--first-color);
}
.projets__data{
  padding: 1.5rem 1rem 3rem;
}

.projets__title{
  font-size: var(--h2-font-size);
  margin-block: .5rem;
  text-align: left;
}

.projets__date{
  display: block;
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 1.5rem;
}

.projets__texte{
  padding-top: 1rem;
}

/*=============== LINE ===============*/
.wrapper{
  position: relative;
}
.wrapper .center-line{
  position: absolute;
  height: 100%;
  width: 4px;
  background-color: var(--first-color);
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
}
.wrapper .row{
  display: flex;
}
.wrapper .row-1{
  justify-content: flex-start;
}
.wrapper .row-2{
  justify-content: flex-end;
}
.line_card{
  background-color: var(--first-color-lighten);
  box-shadow: 0 8px 20px rgba(35, 0, 77, .2);
  width: calc(50% - 40px);
  padding: 20px;
  border-radius: 1rem;
  position: relative;
}
.wrapper .row section::before{
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background: #fff;
  top: 28px;
  z-index: -1;
  transform: rotate(45deg);
}
.row-1 section::before{
  right: -7px;
}
.row-2 section::before{
  left: -7px;
}
.row section .icon,
.center-line .scroll-icon{
  position: absolute;
  background: #f2f2f2;
  height: 40px;
  width: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: var(--first-color);
  font-size: 17px;
  box-shadow: 0 0 0 4px #fff, inset 0 2px 0 rgba(0,0,0,0.08), 0 3px 0 4px rgba(0,0,0,0.05);
}
.center-line .scroll-icon{
  bottom: 0px;
  left: 50%;
  font-size: 25px;
  transform: translateX(-50%);
}
.row-1 section .icon{
  top: 15px;
  right: -60px;
}
.row-2 section .icon{
  top: 15px;
  left: -60px;
}
.row section .details,
.row section .bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.row section .details .title{
  font-size: 22px;
  font-weight: 600;
}
.row section p{
  margin: 10px 0 17px 0;
}

.row section .bottom a:hover{
  transform: scale(0.97);
}
@media(max-width: 790px){
  .wrapper .center-line{
    left: 20px;
  }
  .wrapper .row{
    margin: 30px 0 3px 60px;
  }
  .wrapper .row section{
    width: 100%;
  }
  .row-1 section::before{
    left: -7px;
  }
  .row-1 section .icon{
    left: -60px;
  }
}
@media(max-width: 440px){
  .wrapper .center-line,
  .row section::before,
  .row section .icon{
    display: none;
  }
  .wrapper .row{
    margin: 10px 0;
  }
}

/*============================== MENTIONS LÉGALES ==============================*/
.mentions_box{
  margin-bottom: 4rem;
}

.mentions_subtitle{
  margin-bottom: 1rem;
}

.mentions_description{
  line-height: 2rem;
}

/*============================== FOOTER ==============================*/
.footer{
  margin: 3rem;
}

.footer_description{
  text-align: center;
}

/*============================== ANIMATIONS ==============================*/
[class*="reveal-"]{
  opacity: 0;
  transform: translateY(-50px);
}
.reveal-visible{
  opacity: 1;
  transform: translateY(0);
  transition: 1s cubic-bezier(.5, 0, 0, 1);
}

.reveal-1{
  transition-delay: 0.2s;
}
.reveal-2{
  transition-delay: 0.4s;
}
.reveal-3{
  transition-delay: 0.6s;
}

/*============================== MÉDIAS QUERIES ==============================*/
@media screen and (max-width: 460px) {
  .svg_img{
    width: 100%;
  }
  .section{
    padding: 3.5rem 0 1rem;
  }
  .services_img{
    width: 100px;
  }
  .partenaire__container{
    grid-template-columns: repeat(1, 1fr);
  }
  .services__box{
    display: block;
  }
}

@media screen and (min-width: 576px) {
  .svg_img{
    width: 100%;
  }
  .section_title-center{
    text-align: initial;
  }
  
  .tarifs_container{
    align-items: center;
  }
  .home_img{
    order: 1;
  }
  .home_container{
    align-items: center;
  }
  .services_info_description{
    margin-bottom: 0;
  }
}

@media  screen and (max-width: 767px) {
  .nav_menu{
    position: fixed;
    background-color: var(--first-color-lighten);
    box-shadow: 0 8px 20px rgba(35, 0, 77, .2);
    padding: 2.5rem 0;
    width: 90%;
    top: -100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: .4s;
    border-radius: 2rem;
    z-index: var(--z-fixed);
  }
  .projets__container{
    justify-content: center;
    margin: 0;
  }
}

.nav_list{
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}

.nav_link,
.nav_logo,
.nav_toggle{
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
}

.nav_toggle{
  font-size: 1.3rem;
  cursor: pointer;
}

.show-menu{
  top: calc(var(--header-height) + 1rem);
}

@media screen and (min-width: 767px) {
  body{
    margin: 0;
  }
  .home_container,
  .contact_container,
  .services_info_step,
  .services_info_data,
  .realisation_data{
    grid-template-columns: repeat(2, 1fr);
  }

  .services__box{
    grid-template-columns: repeat(2, 1fr);
  }

  .services_container,
  .tarifs_container,
  .services_info_description_box{
    grid-template-columns: repeat(3, 1fr);
  }
  .section{
    padding: 7rem 0 2rem;
    align-items: center;
    display: grid;
  }
  .img_logo{
    width: 140px;
  }
  .nav{
    height: calc(var(--header-height) + 1.5rem);
    
  }
  .nav_list{
    flex-direction: row;
    column-gap: 2.5rem;
  }
  .nav_toggle{
    display: none;
  }
  .services_info_box{
    margin-top: 5rem;
  }
  .services_info_step-info{
    display: grid;
    align-self: center;
    text-align: left;
  }
  .services_info_step-info2{
    text-align: right;
    order: 0;
  }
  .projets__container{
    grid-template-columns: repeat(2, 330px)
  }
}

@media screen and (min-width: 1024px) {
    .container{
    margin-right: auto;
    margin-left: auto;
  }
  .projets__data{
    padding: 2rem 1.5rem 2rem;
  }
  .projets__data{
    border-width: 3px;
  }
  .projets__container{
    grid-template-columns: repeat(2, 400px)
  }
}

@media screen and (min-width: 1350px) {
.projets__container{
  grid-template-columns: repeat(3, 400px);
}
}