/*-----------------*/
/* STRUCTURE */
/*-----------------*/
body.home #wrappersite {
    grid-template-areas:
        "header"
        "headerHome"
		"cta"
        "content"
		"reassurances"
		"news"
        "prestations"
        "sections"
		"partenaires"
        "footer"
    ;
} 

body.home.template_cv #wrappersite {
    grid-template-areas:
        "header"
        "headerHome"
        "content"
		"reassurances"
        "sections"
		"galleryHome"
		"footerMap"
        "partenaires"
        "footer"
    ;
}

/*-----------------*/
/* ELEMENTS */
/*-----------------*/
.is-toggle-open #header #info-toogle {
	/* box-shadow: 0 0 0 100vw var(--title-color), 0 0 0 100vh var(--title-color); */
	bac;
	background-color: var(--title-color);
}
.is-toggle-open #header #info-toogle:before {background-image: url(../../images/icons/close-white.svg);}


/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/
.navigmenu .naviglink{ color: var(--white);}


/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content .content-txtHome {/* margin-top: 80px; */}
.home #content .content-imgHome{flex-wrap: nowrap!important;}

.home #content .content-imgHome  .wp-block-column .wp-block-image{height: 300px;}
.home #content .content-imgHome  .wp-block-column .wp-block-image a{height: 100%;}

.home #content .content-imgHome  .wp-block-column .wp-block-image img{
	height: 100%;
	width: 100%;
	object-fit:cover;
}
.home #content{
	position: relative;
	z-index: 2;
}

/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
#prestations .wrappercontent{max-width: none;}
#prestations .widget_parentpage{
	grid-gap: 0;
	counter-reset: prestation;
}

#prestations .prestations-content{
	z-index: 4;
	left: 0;
	right: 0;
	position: absolute;
	bottom: 0;
	padding: 30px 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	pointer-events: none;
}
#prestations .prestations-title{
	padding-top: 30px;
	margin-bottom: 10px;
	transform: translateY(70px);
	transition: all ease .5s;
}
#prestations .prestations-title:before {
    content: "0" counter(prestation);
    counter-increment: prestation;
    font-size: 16px;
    line-height: 1;
    font-family: var(--font-text);
    color: var(--white);
    opacity: .4;
    letter-spacing: 1px;
    font-weight: bold;
    height: auto;
    width: auto;
}

#prestations .prestations-title:after {
    background: var(--white);
    height: 60px;
    width: 2px;
    top: -80px;
    left: 8px;
    opacity: .4
}

#prestations .prestations-content h2, 
#prestations .prestations-content h3 {margin: 0;}

#prestations .prestations-content .title_content,
#prestations .prestations-content .content_link, 
#prestations .prestations-content .tc_excerpt{color: var(--white);}

#prestations .prestations-txt{
	opacity: 0;
	transition: all ease .5s;
	transform: translateY(100%);
}
#prestations .prestations-img:before{
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(to top, rgb(0 0 0 / 80%), #00000000);
}

#prestations .prestations-img{background: var(--title-color);}
#prestations .prestations-img img {
    transition: all 600ms ease;
    width: calc(100% + 50px);
    transition: opacity .35s , transform .35s;
    transform: translate3d(-40px,0,0);
}

#prestations .bloc_prestations:hover .prestations-title {transform: translateY(0);}
#prestations .bloc_prestations:hover .prestations-txt {
    opacity: 1;
    transform: translateY(0);
}

#prestations .bloc_prestations:hover .prestations-img img {
    transform: translate3d(0,0,0);
    opacity: .2;
}


/*-----------------*/
/* SECTIONS */
/*-----------------*/

/*-----------------*/
/* REASSURANCES */
/*-----------------*/
#reassurances::before {
    background-image: url(../../images/home-bg1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
#img-reassurance {
    background-image: url(../../images/home-bg2.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 200px;
    z-index: -1;
    width: 100%;
    margin-bottom: 20px;
}
.picto-container{
	justify-content: space-around;
	flex-direction: column;
}
.picto-container .picto-bloc{
	flex-direction: row;
	text-align: left;
	margin: 35px 0;
	flex: 1 1 100%;
	padding: 0;
	position: relative;
}
.picto-container li:before {
    content: "";
    --size: 60px;
    position: absolute;
    left: -13px;
    top: 50%;
    width: var(--size);
    height: var(--size);
    background: var(--primary-color);
    z-index: -1;
    margin-top: -30px;
    transform: rotate(45deg);
}
.picto-container li p {
    margin: 0 0 0 45px;
    font-family: var(--font-bold);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
}
/*-----------------*/
/* PARTENAIRES */
/*-----------------*/
#partenaires{background-color: var(--light-color);}
#partenaires .ckslidercontrols .next, 
#partenaires .ckslidercontrols .prev{
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}
#partenaires .cksliderwrap{padding-bottom: 0;}
#partenaires .ckctrldiv{display: none;}

/*-----------------*/
/* GALLERY HOME */
/*-----------------*/
body.template_cv #galleryHome{padding: 10px 0;}


/*-----------------*/
/* FOOTER */
/*-----------------*/
#footer #footerbloc {
    align-items: center;
    display: grid;
    grid-row-gap: 5px;
    grid-column-gap: 20px;
    transition: .6s;
    grid-template-areas:
        "footerlogo"
        "footerLinks";
    grid-template-columns: 1fr;
    grid-template-rows: repeat(1,minmax(min-content,auto));
}
#footer-coordonnees > div:not(.title) {
    margin: 40px 0;
    font-size: 16px;
}
#footerForm{
	background-image: url(../../images/home-bg1.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-shadow: 0 0 30px rgb(0 0 0 / 50%);
}
#footerForm .cekome_form .blc_select label{color: var(--white);}


@media(min-width: 481px){}

@media(min-width: 768px){
	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-img {height: 500px;}
	#prestations .prestations-txt{height: 260px;}
	#prestations .prestations-title:after {
		top: -90px;
		height: 80px;
	}
	#prestations .prestations-title{
		padding-top: 40px;
		transform: translateY(270px);
	}
}

@media(min-width: 1025px){
	    /*-----------------*/
    /* HEADER */
    /*-----------------*/
	#headerGrid{
		grid-template-areas:
			"headerCoordonnees"
			"navprimary";
		grid-template-columns: 1fr;
	}
   
    #logo{display: none;}
	#header-coordonnees>div br { display: none;}
    #header-coordonnees{
        padding: 8px;
        grid-template-columns: repeat(3, 1fr);
        display: grid;
    }
	#header-coordonnees > div{grid-area: auto;margin: 7px 0;}
	#header-coordonnees > div:first-child{order: -1;}
	
	#header-coordonnees .rightHeader{
		padding-left: initial;
		padding-right: 25px;
		text-align: right;
	}
	#header-coordonnees .rightHeader:before {
	    left: initial;
	    right: 0;
	}
	#header-coordonnees .headerCoordonnees_vide{
		order: -1;
		grid-row: span 2;
	}

	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    #navprimary {
        background: var(--black);
        border-radius: 3px;
    }
	#navprimary .navigmenu .naviglink.lvl-0.item-logo{
		border-radius: 50%;
		--size: 170px;
		width: var(--size);
		height: var(--size);
		background: var(--white);
		display: flex;
		align-items: center;
		justify-content: center;
		margin: -70px 20px;
	}
	#navprimary .navigmenu .naviglink.lvl-0.item-logo span{background-size: 84%;}

	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	
	.home #content .content-txtHome > .wp-block-column{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		align-items: center;
	}
	.home #content .content-txtHome .title{
		padding-right: 50px;
		padding-bottom: 0;
		margin: 0;
	}
	.home #content .content-txtHome .title:after{
		right: 0;
		width: 2px;
		height: 50%;
		top: 50%;
		transform: translateY(-50%);
		left: auto;
	}
	.home #content .content-txtHome .content_text{
		padding: 30px 50px;
	}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-img {height: 600px;}
	#prestations .prestations-txt{height: 150px;}
	#prestations .prestations-content{padding: 50px 30px;}
	#prestations .prestations-title:after {
		top: -170px;
		height: 150px;
	}
	#prestations .prestations-title{
		padding-top: 70px;
		transform: translateY(160px);
	}

	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#img-reassurance{
		width: 75%;
		position: absolute;
		right: -40%;
		height: 100%;
		margin: 0;
	}
	#reassurances .right {padding: 50px 0 50px 18%;}
	#reassurances .title h2 {
	    position: relative;
	    font-size: 50px;
	    line-height: 1;
	    /* text-shadow: 0 0 7px var(--black); */
	}

	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	#sections .sectionsbloc {margin: 120px 0;}
	
	#sections .sectionsbloc .section_thumb .blocthumb {
	    width: 84%;
	    height: 95%;
	}
	#sections .sectionsbloc.odd .section_thumb .blocthumb {margin-left: auto;}
	#sections .sectionsbloc .section_thumb .specialthumb{
	  --size: 300px;
	  position: absolute;
	  top: 50%;
	  transform:translateY(-50%);
	  right: 8px;
	  width: var(--size);
	  height: var(--size);
	  z-index: 2;
	  border: solid 5px var(--white);
	}
	
	#sections .sectionsbloc.odd .section_thumb .specialthumb{
	  right: auto;
	  left: 8px;
	}
/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer-coordonnees{width: 40%;}
	#footerForm #wrapperForm{
		width: 60%;
		padding: 0 50px;
	}
	#footerForm{padding: 120px 60px;}
}

@media(min-width: 1281px){
 /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header:before {
        content: "";
        position: absolute;
        top: 0;
        width: calc(100% - 100px);
        max-width: 1400px;
        height: calc(100% - 30px);
        border: 1px solid var(--black);
        border-top: 0;
        left: 50%;
        z-index: -1;
        pointer-events: none;
        transform: translateX(-50%);
        opacity: 0.5;
    }
	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	#navprimary .navigmenu .naviglink.lvl-0.item-logo{
		margin: -70px 60px;
		--size: 200px;
	}
	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#reassurances .title h2{font-size: 3em;}
	#reassurances .right {padding: 50px 0 50px 223px;}
}

@media(min-width: 1481px){}

@media(min-width: 1681px){}

@media(max-width: 1680px){}

@media(max-width: 1480px){}

@media(max-width: 1280px){
}

@media(max-width: 1024px){
 /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #headerGrid{
        grid-template-areas:
            "navprimary logo infoToogle";
        grid-template-columns: 45px 1fr 45px;
    }
	#logo a{justify-content: center;}
	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#reassurances {padding: 100px 20px;}
	#reassurances .left {flex-direction: column;}
	#reassurances .right {padding: 0 0 0 30px;}
	#reassurances .picto-container{
		flex-direction: row;
		flex-wrap: wrap;
	}
	.picto-container .picto-bloc{ flex: 1 1 48%;}

	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.sectionsbloc .section_thumb {
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	}
		/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm > .wrappercontent { flex-direction: column;}
	#footer-coordonnees {
	    max-width: 520px;
	    margin: 0 auto 20px;
	}
	#footerForm{padding: 80px 15px;}
	#footer-coordonnees > div:not(.title){
		margin: 20px auto;
		font-size: 15px;
		max-width: 240px;
	}
}

@media(max-width: 767px){

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content{margin-top: -60px;}
	.home #content .content-txtHome {margin-top: 50px;}
	
	.home #content .content-imgHome{gap: 10px;}
	.home #content .content-imgHome .wp-block-column .wp-block-image{height: 250px;}

	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#reassurances {padding: 60px 15px;}
	#reassurances .picto-container {
	    max-width: 250px;
	    margin: 0 auto;
	    flex-direction: column;
	}
	#reassurances .right {padding: 0 0 0 10px;}
	.picto-container .picto-bloc{
		margin: 21px 0;
		flex: 1 1 100%;
	}
	.picto-container li:before {
	    --size: 50px;
	    left: -10px;
	    margin-top: -25px;
	}
	.picto-container li svg, 
	.picto-container li img { --size: 30px;}
	#reassurances .picto-container li p {
	    font-size: 14px;
	    letter-spacing: 0;
	    margin-left: 36px;
	}
	
	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	#prestations .prestations-content .tc_excerpt{display: none;}
	
	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
	#partenaires .title{margin-bottom: 20px;}
	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm #wrapperForm{padding: 0;}
	#footerForm{padding: 60px 15px;}
}

@media(max-width: 480px){}
