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

body.home.template_cv #wrappersite {
    grid-template-areas:
     "header"
        "headerHome"
        "content"
        "reassurances"
        "sections"
        "partenaires"
        "footerMap"
		"galleryHome"
        "footer"
    ;
}
/*-----------------*/
/* ELEMENTS */
/*-----------------*/
.is-toggle-open #header #info-toogle {
	box-shadow: 0 0 0 100vw var(--white), 0 0 0 100vh var(--white);
	background-color: var(--title-color);
}
.is-toggle-open #header #info-toogle:before {background-image: url(../../images/icons/close-white.svg);}


/*-----------------*/
/* HEADER */
/*-----------------*/
#header-coordonnees .right{order: 2;}



/*-----------------*/
/* HEADERHOME */
/*-----------------*/

/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content{padding-top: 0;}
.home #content .content-imgHome{flex-wrap: nowrap!important;}

.home #content .content-imgHome  .wp-block-column .wp-block-image,
.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%;
	object-fit:cover;
}
.home #content .title{
	max-width: 720px;
}
.home #content .content-imgHome{
    max-width: 410px;
    margin-left: auto;
    position: relative;
    top: -70px;
    margin-bottom: -40px;
    z-index: 3;
    gap: 0;
}
.home #content .content-imgHome .wp-block-column:first-of-type .wp-block-image{
    top: 35px;
    height: 125px;
    position: relative;
}
.home #content .content-imgHome .wp-block-column:last-of-type .wp-block-image{
    position: relative;
    border-radius: 0 0 200px 200px;
    overflow: hidden;
    height: 230px;
    left: -26%;
    width: 126%;
    z-index: -1;
}

/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
.home #prestations{
	background-image: url(../../images/home-bg2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#choixPrestations .linkPresta p{
	padding: 15px 0;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 15px;
	cursor: pointer;
	transition: 250ms all ease-in-out;
	position: relative;
	display: inline-block;
}

#choixPrestations .linkPresta.active p,
#choixPrestations .linkPresta:hover p {color: var(--primary-color);}

#choixPrestations .linkPresta.active p{font-family: var(--font-bold);}

#choixPrestations .linkPresta p:before{
	content: "";
	border: none;
	height: 2px;
	width: 100%;
	background: var(--primary-color);
	position: absolute;
	top: 50%;
	left: 105%;
	z-index: 10;
	transition: all 300ms linear 0s;
	transform: scaleX(0);
	transform-origin: 0 50%;
}

#choixPrestations .linkPresta.active p:before{transform: scaleX(1);}

#prestations .prestations-content .liresuite a{
	--size: 140px;
	padding: 0px 52px;
	margin-bottom: -35px;
	float: none;
	position: absolute;
	right: 55px;
	bottom: 0px;
	margin-right: 0px;
	font-size: 30px;
	font-weight: bold;
	height: var(--size);
	width: var(--size);
	display: block;
	background-size: 65px;
	box-sizing: border-box;
	background-image: url(../../images/arrowMore.svg);
	background-position: center;
	background-repeat: no-repeat;
}
#prestations .prestations-content .liresuite a span{display: none;}
#prestations .prestations-img a:before{
	background: linear-gradient(transparent, var(--black));
	z-index: 1;
}

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

/*-----------------*/
/* SECTIONS */
/*-----------------*/
#sections {
    position: relative;
    z-index: 10
}

.sectionsbloc .specialthumb {position: relative}

/*-----------------*/
/* REASSURANCES */
/*-----------------*/
.picto-container li:nth-child(2n) {margin-top: 50px}

.picto-container {
    justify-content: space-around;
    counter-reset: section
}

.picto-container .picto-bloc {
    position: relative;
    flex: 1 1 calc(25% - 50px);
    padding: 50px 38px 0!important
}

.picto-container li:before {
    content: "0" counter(section);
    counter-increment: section;
    font-size: 72px;
    line-height: 1;
    font-weight: 400;
    font-family: var(--font-bold);
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
    opacity: .5;
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -100px;
    z-index: 1
}

.picto-container li:after {
    --size: 140px;
    content: "";
    position: absolute;
    left: 50%;
    top: 2px;
    width: var(--size);
    height: var(--size);
    /* pour changer la couleur du background, il faut modifier le style du .s0 et du .s1. Attention, les variables ne fonctionnent pas, il faut mettre absolument le "%23" avant le code couleur voulu */
    background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8" standalone="no"%3F><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0.00 0.00 500.00 500.00"><path fill="%239bc16d" d=" M 124.96 448.84 C 103.53 441.42 82.06 431.21 63.85 418.55 Q 51.74 410.13 39.11 396.71 C 18.42 374.73 9.07 347.07 8.06 317.41 C 7.15 290.47 10.94 263.32 16.44 237.32 Q 23.96 201.81 38.36 167.73 C 53.58 131.71 76.51 99.05 104.78 71.71 C 132.37 45.03 168.61 25.53 207.61 24.06 Q 222.68 23.50 237.22 24.94 Q 261.67 27.36 283.45 33.16 Q 311.91 40.74 340.31 55.52 C 398.42 85.77 445.79 135.94 471.72 195.91 Q 483.08 222.19 487.07 249.63 C 491.95 283.22 486.08 315.57 468.86 345.20 Q 455.99 367.36 437.84 385.71 Q 395.11 428.88 336.35 449.34 Q 286.38 466.74 233.03 466.70 Q 217.31 466.68 198.30 464.82 Q 160.35 461.10 124.96 448.84 Z"/></svg>');
    background-repeat: no-repeat;
    z-index: -1;
    margin-left: -70px;
    background-size: contain;
    background-position: center;
}

.picto-container li p {
    margin-top: 65px;
    font-family: var(--font-bold);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 2px
}
body.template_cv #reassurances:before,
.nohome #reassurances:before{background-color: var(--overlay-color);}
.nohome #reassurances,
body.template_cv #reassurances{
	background-image: url(../../images/home-bg2.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.nohome #reassurances .picto-container li p,
body.template_cv #reassurances .picto-container li p{color: var(--white);}

/*-----------------*/
/* PARTENAIRES */
/*-----------------*/
.partenaires-header {margin-bottom: 60px}

#partenaires .widget_partenaires {
    background-color: #fff;
    border-bottom: none;
    border-right: 0;
    position: relative;
    z-index: 2
}

#partenaires .widget_partenaires li {
    border: 1px solid #eee;
    min-height: 200px
}

#partenaires .widget_partenaires img {
    max-width: 81%;
    height: auto;
    max-height: 100px
}
#partenaires .widget_partenaires li .wrap-element{
    height: auto;
    border: none;
    padding: 0;
}
#partenaires .partenaires-intro{
    background-image: url('../../images/home-bg1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    width: 100%;
}
/*-----------------*/
/* GALLERY HOME */
/*-----------------*/
body.template_cv #galleryHome{padding: 10px 0;}

/*-----------------*/
/* FOOTER */
/*-----------------*/
#footer{background-color: var(--title-color);}
#footerLinks a { color: var(--white);}

#footer #footerbloc {
	grid-template-areas:
		"footerLinks";
	grid-template-columns:  1fr;
	padding: 0;
}
#footerForm{
	background-image: url(../../images/home-bg1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 50px 220px;
    z-index: 3;
}
#footerForm #wrapperForm{
	max-width: 700px;
    margin: auto;
    background-color: var(--white);
    padding: 70px 50px;
}
#footerForm #wrapperForm .title{margin-bottom: 40px;}

#footer-coordonnees{
	bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
#footer-coordonnees .wrappercontent > div {
    line-height: 1.3;
    font-size: 15px;
    padding: 45px 20px 20px 20px;
}
#footer-coordonnees .wrappercontent>div:before {top: 20px;}

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

@media(min-width: 768px){
	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	.home #content .content-txtHome .wp-block-column {
	    column-count: 2;
	    column-gap: 60px;
	    text-align: justify;
	}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-content {
	    padding: 40px 260px 40px 40px;
	    position: absolute;
	    bottom: 0;
	    z-index: 2;
	}
	.home #prestations{padding-bottom: 120px;}

	
    /*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
    #partenaires {padding: 100px 40px;}
    #partenaires .ckctrldiv{display: none;}
    #partenaires .ckslidercontrols .prev,
    #partenaires .ckslidercontrols .next {
        top: 50%;
        --size: 38px;
        transform: translateY(-50%);
        bottom: auto;
    }
    #partenaires .cksliderwrap{padding: 0;}
    #partenaires .ckslidercontrols .prev {left: -18px}
    #partenaires .ckslidercontrols .next {right: -18px}

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer-coordonnees{border-top: solid 1px rgb(255 255 255 / 50%);}
	#footer-coordonnees .wrappercontent > div:not(:last-of-type) {border-right: solid 1px rgb(255 255 255 / 50%)}
}

@media(min-width: 1025px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
	#headerGrid {
	    grid-template-areas:
	        "headerCoordonnees"
	        "navprimary";
	    grid-template-columns:  1fr;
	}
    #header-coordonnees{padding: 20px 10px;}
    #header-coordonnees .left > :first-child, 
    #header-coordonnees .right > :first-child{margin:0 0 20px;}

    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    #navprimary {
        background: #ffffff20;
        z-index: 1;
        position: relative;
        padding: 4px 10px;
    }

	/*-----------------*/
    /* HEADER HOME */
    /*-----------------*/
	#headerHome-content{padding: 100px 30px 220px;}
	
    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
    body.home:not(.template_cv) #content{padding-bottom: 0;}
	.home #content .content-imgHome{max-width: 720px;}
		
	.home #content .content-imgHome{
		padding: 0 90px;
		top: -250px;
	    margin-bottom: -250px;
	}
	.home #content .content-imgHome .wp-block-column:first-of-type .wp-block-image{
		top: 105px;
	    height: 295px;
	}
	.home #content .content-imgHome .wp-block-column:last-of-type .wp-block-image{
		height: 520px;
	}
    

	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	.home #prestations{padding: 100px 30px 120px;}
	#prestations .prestations-img {height: 620px;}

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	#sections{padding-top: 100px;}
    .sectionsbloc.even {z-index: 2}
    .sectionsbloc {gap: 0 30px}

	.sectionsbloc:last-child.even{padding-bottom: 80px;}

    .sectionsbloc.even .section_thumb .blocthumb {
        position: relative;
        top: 250px;
        height: 90%;
        margin-right: -200px;
        border: 10px solid var(--white);
        border-left: initial;
        border-top: initial
    }
	.template_cv .sectionsbloc:not(:last-child).even{margin-bottom: 100px;}

    .sectionsbloc.odd .section_thumb,
    .sectionsbloc.odd .section_txt {grid-column: span 9}

    .sectionsbloc.odd .secondary_thumb {display: none}

    .sectionsbloc.odd .section_thumb {
        height: 700px;
        margin-top: -105px;
        filter: brightness(.5);
        order: inherit;
    }

    .sectionsbloc.odd .section_txt {
        max-width: 1300px;
        margin: 0 auto;
        margin-top: -280px;
        width: 95%;
        background: var(--title-color);
    }

    .sectionsbloc.odd .section_txt,
    .sectionsbloc.odd .section_txt .title h2 {color: var(--white)}

    .sectionsbloc .specialthumb {
        height: 70%;
        margin-left: -300px;
        border: 10px solid var(--background-color)
    }

    .sectionsbloc.odd .wrap-text {
        column-count: 2;
        column-gap: 30px;
    }
}

@media(min-width: 1281px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #logoheader {width: 300px;}

	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
    #partenaires {padding: 0 30px 100px;}
	
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    .sectionsbloc.odd .section_thumb {margin-top: -125px;}
    .sectionsbloc.odd {padding-bottom: 100px}

}

@media(min-width: 1481px){
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
     .sectionsbloc.odd .section_thumb .blocthumb {
        width:calc(100% - 100px);
        margin-left: auto
    }
}

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

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

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

@media(max-width: 1280px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header-coordonnees .left, 
    #header-coordonnees .right {
        display: flex;
        align-items: center;
    }
    #header-coordonnees .left > :first-child, 
    #header-coordonnees .right > :first-child{margin: 0 30px 0 0;}
	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	.prestations-title{
		padding-right: 30px;
		min-width: 400px;
	}

}

@media(max-width: 1024px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header-coordonnees .left, 
    #header-coordonnees .right {
        flex-direction: column;
        align-items: initial;
        margin: 0;
    }
	#header-coordonnees .left > div, 
	#header-coordonnees .right > div {margin: 15px 0!important;}

	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	.prestations-img {height: 480px;}
	.prestations-title{
		min-width: auto;
		padding: 0;
		margin-bottom: 20px;
		overflow: hidden!important;
	}
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
     .sectionsbloc .section_txt {
        max-width: 850px;
        margin: 0 auto;
        width: 100%
    }
    .sectionsbloc .specialthumb {height: 100%}
	.section_txt{order: -2}


    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    #reassurances {background-color: var(--light-color);}

    .picto-container li:before {
        font-size: 55px;
        margin-left: -70px
    }

    .picto-container li:after {
        --size: 100px;
        margin-left: -50px
    }

    .picto-container .picto-bloc {
        flex: 1 1 calc(50% - 40px);
        padding: 33px 22px 0!important
    }

    .picto-container li p {
        margin-top: 40px;
        letter-spacing: 1px;
        font-size: 13px
    }

	
    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer-coordonnees .wrappercontent > div{padding: 45px 10px 20px 10px;	}
	
	#footer #footerbloc {
	    grid-template-areas:
    	    "footerlogo"
    	    "footerLinks";
	    grid-template-columns: 1fr;
	    justify-items: center;
	    grid-row-gap: 0;
	}
}

@media(max-width: 767px){

    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
  	.picto-container li {
	    flex: 1 1 50%;
	    margin: 40px 0;
	    padding: 0 15px;
	}
	.picto-container {
	    flex-direction: row;
		flex-wrap: wrap;
	}
	.picto-container li p{
		letter-spacing: 0.5px;
		font-size: 12px;
	}
	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	#choixPrestations .linkPresta p {
	    font-size: 13px;
	    letter-spacing: 1px;
	}
	.prestations-img {height: 220px;}
	.prestations-content{
		padding: 30px 20px 70px 20px;
		background: var(--title-color);
		position: relative;
	}
	#prestations .prestations-content .liresuite a{
		padding: 0px 14px;
		height: 50px;
		right: 0;
		width: 50px;
		margin: 0;
		background-size: 18px;
	}
	.prestations-content .content_link, 
	.prestations-content .tc_excerpt{font-size: 13px;}

	
	/*-----------------*/
    /* PARTENAIRS */
    /*-----------------*/
	#partenaires .partenaires-intro{height: 200px;}
	
    /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm {padding: 60px 15px 200px;}

    #footerForm #wrapperForm {
        padding: 40px 20px;
        max-width: 600px
    }

    #footer-coordonnees {bottom: 20px}
	#footer-coordonnees > .wrappercontent {flex-direction: column;}

	#footer-coordonnees .wrappercontent > div {
	    border: none;
	    max-width: 190px;
	    margin: 0 auto;
	    text-align: left;
	    padding: 10px 0 10px 24px;
	    align-items: flex-start;
	}
	#footer-coordonnees .wrappercontent > div:before {
	    left: 0;
	    top: 50%;
	    transform: translateY(-50%);
	}
}

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