/*---------------Section projets ----------------*/
.projets {
    background: var(--main-color);
    padding-block: 2rem;
    scroll-margin-top: 120px;
}
.projets h1{
    font-size: 3rem;
	text-align: center; 
	color: white;
}

.projets .btn-category-list {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: #fff;
    gap: 2rem;
}


.projets .btn-subcategory-list {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #fff;
    gap: 1.5rem;
}
/*---------------Fin-Section new collection----------------*/

/*---------------Section Deal----------------*/

.deal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background-color: var(--main-color);
	padding: 2rem;
}

.deal .deal-l{
    padding-block: 2rem;
    padding-inline: 4rem;
    width: 60%;
}
.deal .deal-r{
    width: 40%;
}
.deal .deal-l h2{
    font-size: 3rem;
    color: white;
}

.deal .deal-l p{
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
}

.deal .deal-l .time{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.deal .deal-l .time-case{
    text-align: center;
    font-size: 1.5rem;
    color: white;
    background-color: var(--second-color);
    font-weight: 600;
    border-radius: 10px; 
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
	transition: .2s;
    flex: auto;
    cursor: pointer;			
}
.deal .deal-l .time-case:hover,
.deal .deal-l .time-case.active {
    color: var(--second-color);
    background-color: white;
}

.deal .deal-l .time-case .icon{
    font-size: 2rem;
}

.deal .deal-l .service-description {
    padding-block: 2rem;
    color: white;
    font-size: 1.5rem;
}

.deal .deal-l .bouton{
    padding: 1rem 2rem;
    background: white;
    color : var(--second-color);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 700;
}


.deal .deal-l .bouton:hover{
    background-color: var(--second-color);
    color : white;
}



.deal .deal-l .bouton::after{
    padding: 20px 50px; 
    background-color: var(--main-color);
    color : var(--second-color);
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 0 0 rgba(255, 255, 255, 1);
    animation: pulsing 1.4s linear infinite;
}

/*---------------Section société----------------*/
.societe {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1300px;
    margin: auto;
    padding-block: 2rem;
}

.societe .imgl,
.societe .text-r {
	text-align: center;
    flex: auto;
    padding: 1rem;
}

.societe .imgl img{
    border-radius: 80px;
}

.societe .text-r h2{
   font-size: 3rem;
   color: var(--main-color);
}

.societe .text-r > p{
    color: var(--main-color);
    font-size: 1rem;
}
.societe .bottom{
    display: flex;
    justify-content: center;
    align-items: center; 
    gap: 1rem;
}

.societe .bottom .infos{
    background-color:var(--main-color);
    text-align: center;
    border-radius: 20px;
    padding: 1rem;
    color: white;
}
.societe .bottom .infos h2,
.societe .bottom .infos p{
    color: white;
    margin: 0;
}

.societe .text-r .carre{
    width: 100px;
    height: 100px;
    background-color: var(--main-color);
    position: relative;
}

.bouton-style{
    text-align: center;
    padding-top: 25px;
}

.animated-link {
    --font-size: 36px;
    font-size: var(--font-size);
    color: var(--main-color);
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.animated-link:hover {
    color: white;
}
.animated-link::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    width: calc(var(--font-size) * 2);
    height: calc(var(--font-size) * 2);
    border-radius: calc(var(--font-size));
    background-color: var(--second-color);
    top: 50%;
    left: -10%;
    transform: translateY(-50%);
    transition: width 0.6s cubic-bezier(.8,0,.24,.99);
}

.animated-link:hover::before {
    width: calc(100% + 20%); 
}
  
/* STEPS */
.steps {
    background: url("https://pergola.54-37-30-71.plesk.page/wp-content/uploads/2023/12/background-steps-5.png");
    background-position: center;
    background-size: cover;
    padding-block: 10rem;
    color: white;
}
.steps-container {
    max-width: 1300px;
    margin: auto;
}
.steps .step-heading {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: white;
    margin-bottom: 5rem;
}
  
.steps .step-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
  
.steps .step-box {
    flex: 1;
    max-width: 25%;
    padding: 0 8px;
}
  
.steps .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
  
.steps .icon {
    font-size: 4rem;
}
  
.steps .step-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: bold;
    margin-bottom: 3px;
    color: white;

}
  
.steps .step-description {
    font-size: 1em;
}
/* FIN STEPS */
/* CONTACT CARD */
.contact-card {
    width: 650px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-color: var(--second-color);
    border-style: solid;
    font-family: 'Ubuntu', sans-serif;
}

.contact-card h2 {
    color: var(--second-color);
    margin-bottom: 15px;
    font-size: 26px;
}

.contact-card .title {
    color: var(--second-color);
    font-weight: bold;
    margin-bottom: 8px;
    padding-bottom: 10px;
}
.contact-card .title::before {
    background: white;
}

.contact-card p {
    color: var(--second-color);
    margin: 10px 0;
    font-size: 18px;
}

/* Media Query pour tablettes (768px de largeur ou moins) */
@media only screen and (max-width: 768px) {
    .contact-card {
        width: 95%;
    }
}
/* FIN CONTACT CARD */

/*---------------Section contact----------------*/

.contact-form {
    background: var(--main-color);
}
#gform_wrapper_1{
	max-width: 600px;
    margin: auto;
    padding-block: 2rem;
    color: white;
}
#gform_wrapper_1 h2{
    color: white;
}
.gform_heading {
	text-align: center;
	margin-bottom: 20px;
}

#gform_submit_button_1{
	background-color: var(--second-color);
    color: white;
	border: 1px solid
}
#gform_submit_button_1:hover{
	background-color: var(--second-color);
    color: white;
}

.gform_footer{
	display: flex;
    justify-content: center;
}
#gform_wrapper_1 input,textarea{
    border: none;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    border-bottom: 2px var(--second-color) solid;
    border-radius: 0px;
}

.gform_wrapper.gravity-theme .gfield_label {
    color: white;
}

/*---------------Section FIN contact----------------*/


/*------------------------------------------Footer--------------------------------------*/
footer .menu-header ul li a {
	color: white
}

footer{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--main-color);

}
footer .cont-img img{
    width : 350px; 
    height: 350px;
}

 .photo1  {
    background-image: url(assets/photo-footer4.png);

}

 .photo2  {
    background-image: url(assets/photo-footer2.png);

}

.photo3  {
    background-image: url(assets/photo-footer3.png);

}

.photo4 {
    background-image: url(assets/photo-footer1.png);

}

footer .top{
    display: flex;
}


footer .bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .bottom .logo{
    font-size: 70px;
    font-weight: 600;
    color: var(--second-color);
    padding: 0 100px;

}

footer .bottom .menu ul a{
    list-style: none;
    text-decoration: none;
    color: var(--second-color);
    font-weight: 700;
    padding-right: 100px;
}




footer .rights{
    text-align: center;
    color: var(--second-color);

}

footer .insta
{
    position: relative;
    background-color: var(--second-color);
    width: 400px;
    text-align: center;
    bottom: 235px;
    left: 780px;
}

footer .insta a p{
    text-decoration: none;
    color : black; 

}
footer .insta span{
    font-weight: 600;
}


/* ---------Card animation--------  */

@keyframes show-data {
    50% {
      transform: translateY(-10rem);
    }
    100% {
      transform: translateY(-7rem);
    }
  }
  
  @keyframes remove-overflow {
    to {
      overflow: initial;
    }
  }
  
  @keyframes remove-data {
    0% {
      transform: translateY(-7rem);
    }
    50% {
      transform: translateY(-10rem);
    }
    100% {
      transform: translateY(.5rem);
    }
  }
  
  @keyframes show-overflow {
    0% {
      overflow: initial;
      pointer-events: none;
    }
    50% {
      overflow: hidden;
    }
  }


/***********************************media queries**********************************/






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

    nav .menu{
        display: none;
    }
    header{
        padding: 20px 20px 50px 20px;
        height: 65%;
    }

    
    header .h-l {
        width: 100%;
    
    }
    header .h-l h1{
        font-size: 50px;
       
    }
    
    header .h-r .img{
      display: none;
    }
      
    .deal{
        flex-wrap: wrap;
    }
    .deal .deal-l{
        width: 100%;
        padding: 0px;
    }
    .deal .deal-l .time{
        margin: auto;
     }

    .deal-l{
        padding: 0;
    }
	.societe .text-r{
		width: 100%;
	}
   
}

@media screen and (max-width: 1200px) and (min-width: 700px){


    header{
        padding: 0;
    }
    header .h-l {
        width: 100%;
        padding: 20px; 
    }
   .societe {
        display: flex; 
        flex-direction: column;
    }
   .societe .bottom{
    width: 100%
    }
}

@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .card__data {
    width: 250px;
    padding: 1rem;
  }
}


@media screen and (min-width: 768px) {
  .card__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
}



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

    nav .menu{
        display: none;
    }
    header{
        padding: 20px 20px 50px 20px;
        height: 65%;
    }

    
    header .h-l {
        width: 100%;
    
    }
    header .h-l h1{
        font-size: 50px;
       
    }
    
    header .h-r .img{
      display: none;
    }
      
    .deal{
        flex-wrap: wrap;
    }
    .deal .deal-l{
        width: 100%;
        padding:0;
    }

     .deal .deal-l .time .time-case{
        margin: auto;
        margin-bottom: 10px;
     }

    .deal-l{
        padding: 0;
    }

    .deal .deal-r .img img {
        width: 100%
    }
		.societe div{
		flex-direction: column; 
			padding: 10px
		}
		.time a {
				width:100%;
		}

    footer .bottom .logo{
        padding: 0px;
        text-align: center;
    
    }
    .menu ul {
        display: flex; 

    }
	

    footer .bottom .menu ul a {
        padding-right: 10px;
        text-align: center;
      }
   
}

@media screen and (max-width: 1200px) and (min-width: 700px){


    header{
        padding: 0;
    }
    header .h-l {
        width: 100%;
        padding: 20px; 
    }
   .societe {
        display: flex; 
        flex-direction: column;
        
    }
   .societe .bottom{
    width: 100%;
			flex-wrap: wrap;
    }	

}
@media (min-width: 922px) {
  .ast-container {
    max-width: none;
  }
	

}

@media (max-width: 922px) {
  
	
	.ast-theme-transparent-header #masthead {
    position: static;
  }
}

@media (min-width: 993px) {
  .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
    margin: 0!important;
  }
}


@media screen and (min-width: 1120px) {
	
	  :root {
    --h2-font-size: 1.5rem;
    --small-font-size: .875rem;
  }
	
  .card__container {
    grid-template-columns: repeat(3, 1fr);
  }
  .card__img {
    width: 348px;
  }
  .card__data {
    width: 316px;
    padding-inline: 2.5rem;
  }
	
}

@media screen and (max-width: 1120px) {
	
	.strip-fixed{
		display:none
	}
	
}
  