/*-----------------*/
/* LOADER */
/*-----------------*/
#loader-wrapper{
	background-color: #433d37;
	background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(../images/loader-img.jpg);
}
.loading p {
  color: var(--white);
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  font-family: var(--font-bold);
}

/*
 * Loading Dots
 * Can we use pseudo elements here instead :after?
 */
.loading span {
  display: inline-block;
  vertical-align: middle;
  width: .6em;
  height: .6em;
  margin: .19em;
  background: var(--white);
  border-radius: .6em;
  animation: loading 1s infinite alternate;
}

/*
 * Dots Colors
 * Smarter targeting vs nth-of-type?
 */
.loading span:nth-of-type(2) {
  background: var(--light-color);
  animation-delay: 0.2s;
}
.loading span:nth-of-type(3) {
  background: #b5996b;
  animation-delay: 0.4s;
}
.loading span:nth-of-type(4) {
  background: #88704a;
  animation-delay: 0.6s;
}
.loading span:nth-of-type(5) {
  background: #6d552d;
  animation-delay: 0.8s;
}
.loading span:nth-of-type(6) {
  background: #5f4329;
  animation-delay: 1.0s;
}
.loading span:nth-of-type(7) {
  background: #543a0e;
  animation-delay: 1.2s;
}

/*
 * Animation keyframes
 * Use transition opacity instead of keyframes?
 */
@keyframes loading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*-----------------*/
/* ELEMENTS */
/*-----------------*/
hr.wp-block-separator,
.title:not(.no-after):after {
    background-image: url(../images/separator.svg);
    background-color: transparent!important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 7px;
    width: 143px;
}
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background .wp-block-heading{
    color: var(--white);
}

.title, .wp-block-heading, .has-medium-font-size {
  transition: color 0.4s ease-in-out;
}
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background p{color: var(--white) !important;}


.buttonPDF {
    padding: 38px 20px 12px;
    border: none;
    display: block;
    font-size: 12px;
    font-family: var(--font-text);
    font-weight: bold;
    background-color: var(--tertiary-color);
}
.buttonPDF:hover{
    background-color: var(--primary-color);
}

.buttonPDF span {
    display: block;
    font-size: 15px;
    padding-bottom: 3px;
    letter-spacing: 4px;
    font-family: var(--font-bold)
}

.buttonPDF:after {
    content: "";
    --size: 17px;
    position: absolute;
    width: var(--size);
    height: var(--size);
    background-image: url(../images/icons/book-white.svg);
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 14px;
    left: 50%;
    margin-left: -11px
}
/*----------------- LINK TURN -----------------*/
.linkTurn {
    --size: 12rem;
    width: var(--size);
    height: var(--size);
    display: inline-block;
    font-size: 16px;
    font-family: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.23em;
    word-spacing: 0.25em;
    text-decoration: none;
    -webkit-font-smoothing: auto;
    font-weight: bold;
}
.link__svg {
    width: 100%;
    height: auto;
    transform-box: fill-box;
    fill: var(--title-color);
    stroke: var(--title-color);
    border-radius: 50%;
    padding: 10px;
    stroke-width: 0.05em;
    box-sizing: border-box;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}
.link__arrow {
    transform-origin: 50% 50%;
    transition: transform 0.15s cubic-bezier(0.32, 0, 0.67, 0);
}
.linkTurn:hover .link__arrow {
    transform: scale(1.3);
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}
.link__arrow {stroke-width: 0.075em;transform: rotate(-25deg);}
.link__text {
    -webkit-animation: rotateReverse normal infinite 20s linear;
    animation: rotateReverse normal infinite 20s linear;
    transform-origin: 50% 50%;
}
.link--alt {
    font-size: 1.15rem;
    letter-spacing: 0;
    word-spacing: 0;
}

.linkTurn.white svg{
	fill: var(--white);
    stroke: var(--white);
}

/*-----------------*/
/* HEADER */
/*-----------------*/
#header.fixed-header .buttonPDF{
    padding: 20px 16px 20px 35px;
}
#header.fixed-header .buttonPDF:after{
    top: 50%;
    left: 14px;
    margin: 0;
    transform: translateY(-50%);
}
#header.fixed-header .buttonPDF span{
    letter-spacing: 4px;
    font-size: 15px;
}
#headerButton{
    position: relative;
    margin-top: -27px;
    margin-bottom: -26px;
}

#header-coordonnees {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    min-height: 100%;
    padding: 70px 30px 65px;
    background-color: var(--black);
    overflow: hidden;
    visibility: hidden;
    overflow: scroll;
    z-index: 9998;
    -webkit-transition: all .6s cubic-bezier(.77,0,.175,1);
    -o-transition: all .6s cubic-bezier(.77,0,.175,1);
    transition: all .6s cubic-bezier(.77,0,.175,1);
    text-align: left;
    box-shadow: 0 0 10px #ffffff57;
}
body.is-toggle-open #header-coordonnees {
    right: 0;
    visibility: visible
}

#header-coordonnees .flex > div{
    max-width: 180px;
    width: 100%;
    margin: 14px auto;
}

/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/
.ckmenu-nav {
	position: fixed;
	top: -100%;
	right: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	padding: 70px 20px 65px;
	background: var(--black);
	background-position: center;
	background-size: cover;
	overflow: hidden;
	visibility: hidden;
	overflow-y: auto;
	z-index: 29;
	transition: all 1s cubic-bezier(.77, 0, .175, 1);
	text-align: left;
	box-shadow: 0 0 30px #00000057;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ckmenu-nav.open {
	right: 0;
	visibility: visible;
	top: 0;
}
.ckmenu-toogle svg circle {
    stroke-dasharray: 160;
    stroke-dashoffset: 0;
    transform-origin: center;
    transform: rotate(0deg);
    transition: transform 1.2s cubic-bezier(.23,1,.32,1) , stroke-dashoffset 1.2s cubic-bezier(.23,1,.32,1);
}


.ckmenu-toogle:not(.open):hover svg circle {
    transform: rotate(2turn);
    stroke-dashoffset: 160
}
.ckmenu-toogle svg path {stroke-dashoffset: 0}

.ckmenu-toogle svg path:first-of-type {
    stroke-dasharray: 28;
    transition: stroke-dashoffset .8s cubic-bezier(.23,1,.32,1) .4s
}

.ckmenu-toogle svg path:nth-of-type(2) {
    stroke-dasharray: 20;
    transition: stroke-dashoffset .8s cubic-bezier(.23,1,.32,1) .5s
}

.ckmenu-toogle .header__toggler-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 2px;
    background-color: var(--white);
    transition: transform .8s cubic-bezier(.23, 1, .32, 1);
}

.ckmenu-toogle .header__toggler-bar:nth-child(2) {
    transform: translate(-50%, -50%) rotate(45deg) scaleX(0);
    transition-delay: 0s;
}

.ckmenu-toogle .header__toggler-bar:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg) scaleX(0);
    transition-delay: .1s;
}

.ckmenu-toogle.open svg circle{stroke: var(--white);}
.ckmenu-toogle.open .header__toggler-bar:nth-child(2) {
    transform: translate(-50%,-50%) rotate(45deg) scaleX(1);
    transition-delay: .4s
}

.ckmenu-toogle.open .header__toggler-bar:nth-child(3) {
    transform: translate(-50%,-50%) rotate(-45deg) scaleX(1);
    transition-delay: .5s;
}

.ckmenu-toogle.open svg path:first-of-type {
    stroke-dashoffset: 28;
    transition-delay: .1s
}

.ckmenu-toogle.open svg path:nth-of-type(2) {
    stroke-dashoffset: 20;
    transition-delay: 0s
}

.navigmenu .naviglink.lvl-0 span:after,
.navigmenu .naviglink span:before {
    content: '';
    display: block;
    position: absolute;
    left: -.1em;
    bottom: -.4em;
    width: 100%;
    height: 1px;
    border-top: 1px solid var(--primary-color);
    -webkit-transform: scale(0,1);
    -ms-transform: scale(0,1);
    transform: scale(0,1);
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition: -webkit-transform .4s cubic-bezier(.48,.57,.33,.89) .1s;
    -o-transition: transform .4s cubic-bezier(.48,.57,.33,.89) .1s;
    transition: transform .4s cubic-bezier(.48,.57,.33,.89) .1s;
    transition: transform .4s cubic-bezier(.48,.57,.33,.89) .1s , -webkit-transform .4s cubic-bezier(.48,.57,.33,.89) .1s
}

.navigmenu .naviglink span:before {
    padding-bottom: 4px;
    -webkit-transition: -webkit-transform .4s cubic-bezier(.48,.57,.33,.89);
    -o-transition: transform .4s cubic-bezier(.48,.57,.33,.89);
    transition: transform .4s cubic-bezier(.48,.57,.33,.89);
    transition: transform .4s cubic-bezier(.48,.57,.33,.89) , -webkit-transform .4s cubic-bezier(.48,.57,.33,.89)
}


#navprimary .navigmenu .active .naviglink.lvl-0 {color: var(--primary-color)}

#navprimary .navigmenu .active .naviglink.lvl-0 span:after,
#navprimary .navigmenu .naviglink.lvl-0:hover span:after,
#navprimary .navigmenu .active .naviglink span:before,
#navprimary .navigmenu .naviglink:hover span:before {
    -webkit-transform: scale(1,1);
    -ms-transform: scale(1,1);
    transform: scale(1,1)
}

.navigtoogle.social span{
    color: var(--white);
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 14px;
    padding: 0;
    margin-right: 9px;
    display: block;
}
/*-----------------*/
/* SOCIAL */
/*-----------------*/
.sociblock:not(#headerHome-social .sociblock) .share-buttons a {
    --size: 35px;
    width: var(--size);
    height: var(--size);
    align-items: center;
    justify-content: center;
    margin: 0 3px;
}

.sociblock:not(#headerHome-social .sociblock) .share-buttons a:before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    border-radius: 100px;
    transition: all ease 250ms;
    border: solid 1px #e3e3e3;
}

.sociblock:not(#headerHome-social .sociblock) .share-buttons a:hover:before {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.sociblock:not(#headerHome-social .sociblock) .share-buttons a svg {--size: 15px;}
.sociblock:not(#headerHome-social .sociblock) .share-buttons a:hover svg {fill: var(--white);}
.sociblock:not(#headerHome-social .sociblock, #cta-social .sociblock) .share-buttons a svg {fill: var(--white);}

/*-----------------*/
/* HEADERHOME + BANNER */
/*-----------------*/

#headerHome .overlay, 
#banner .overlay{background: linear-gradient(var(--overlay-color), transparent);}

/*-----------------*/
/* HEADERHOME */
/*-----------------*/
#headerHome{padding-top: 75px;}
#headerHome{background: var(--background-color);}
#headerHome-content{pointer-events: none;}
#headerHome-content>*{pointer-events: all;}
#headerHome-social .sociblock .share-buttons a svg{--size: 20px;}
#headerHome-social .sociblock .share-buttons a:not(:hover) svg{fill: var(--white);}


/*-----------------*/
/* GALLERY HOME */
/*-----------------*/
#galleryHome{padding: 2px 0;}
#galleryHome .wp-block-gallery{
    gap: 2px;
}

/*-----------------*/
/* PRODUITS HOME */
/*-----------------*/

/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content:before,
.home #content:after{
    height: 60%;
}
.home #content:before{
    /* background: var(--black); */
    z-index: 0;
}
.home #content:after{background-image: url('../images/pattern.jpg');background-position: center;background-size: cover;}
.home .eb-wrapper-outer { background: none!important}
.home #content .wp-block-gallery {pointer-events: none;position: relative;z-index: 1;}
.home #content .wp-block-gallery a {pointer-events: all}

/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
.home #prestations {
  position: relative;
  clip-path: inset(0 0 0 0); /* limite visible à l’intérieur du parent */
}
.nohome .widget_parentpage{gap: 20px;}
.nohome .prestations-gallery,
.nohome #prestations .overlay{display: none;}
.home .prestations-content .title_content{
	color: #fff;
}
.nohome .prestations-content .content_link, 
.nohome .prestations-content .tc_excerpt,
.nohome .prestations-content .tc_excerpt p{
	color: var(--text-color);
	font-weight: normal;
	font-size: 15px;
}
.home .prestations-content :is(h2,h3){
	font-size: 4vw;
	line-height: 1;
	display: flex;
	position: relative;
	text-transform: uppercase;
}

.home .line {
  will-change: transform;
  line-height: 1;
  display: block;
}
.home .prestations-gallery{
	z-index: 1;
    grid-column-gap: 2.5vw;
    grid-row-gap: 2.5vw;
    justify-content: center;
    align-items: center;
    display: flex
;
    position: relative;
}
.home .prestations-gallery > div{
	aspect-ratio: 16 / 9;
	flex: 1 0 auto;
	height: 290px;
}
.home .prestations-content :is(h2,h3){
  overflow: hidden;
}
.home .bloc_prestations {
  background-color: #000;
  width: 100%;
  height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 760px;
}

.home .prestations-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 100%;
  padding: 8vw 4vw;
  position: relative;
}
.home #prestations .overlay{background-color: #000;}

.home .prestations-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home .prestations-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  position: absolute;
}

.home .prestations-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
  padding-top: 4vw;
  position: relative;
  z-index: 2; /* Important pour que le texte reste au-dessus des images */
  padding: 0;
}

/* Optionnel : animation de base GSAP */
.home .prestations-img img.animate {
  will-change: transform, opacity;
}

/*-----------------*/
/* ACTU */
/*-----------------*/

#news .next_slider{
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0;
   
    align-items: center;
}
#news .next_link_slider:before,
#news .next_link_slider:after{
	border: solid 1px var(--white);
	width: var(--size);
	height: var(--size);
	border-radius: 100%;
	z-index: 1;
	top: -30px;
}
#news .next_link_slider:before{--size: 240px;}
#news .next_link_slider:after{--size: 190px}

#news .next_slider .next_link_slider{
	letter-spacing: 0.1em;
	padding: 20px 0;
	text-transform: uppercase;
	color: var(--white);
	font-family: var(--font-bold);
	font-size: 13px;
}
/*-----------------*/
/* SECTIONS */
/*-----------------*/
#choixSections {
    counter-reset: sections;
    display: flex;
    justify-content: center;
    position: relative;
	z-index: 2;
}

#choixSections:before {
    width: 80%;
    border: 1px solid var(--primary-color);
    border-bottom: none;
    border-right: none;
    top: 94px
}

#choixSections:after {
    --size: 20px;
    width: var(--size);
    height: var(--size);
    background: var(--primary-color);
    clip-path: polygon(0 0,50% 50%,100% 0,50% 50%,0 35%,50% 100%,100% 35%,50% 50%,100% 0);
    top: calc(100% + 94px);
    left: -10px
}

#choixSections .linkSections p {
    text-transform: uppercase;
    font-size: 14px;
    font-family: var(--font-bold);
    letter-spacing: 1px;
    line-height: 1.3;
    text-align: center;
    color: var(--white);
    background: var(--black);
    padding: 0 30px
}

#choixSections .linkSections:not(:last-of-type) {margin-right: 30px}

#choixSections .linkSections {
    position: relative;
    cursor: pointer;
    padding: 5px 20px;
    transition: 250ms all ease-in-out;
    text-align: center
}

#choixSections .linkSections.active p {color: var(--primary-color);}

.subimageSections {
    --size: 60px;
    border-radius: 100px;
    background-color: var(--title-color);
    text-align: center;
    width: var(--size);
    height: var(--size);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: 250ms all ease-in-out;
    position: relative
}

#choixSections .linkSections.active .subimageSections,
#choixSections .linkSections:hover .subimageSections {
    background-color: var(--primary-color);
    filter: drop-shadow(0 5px 0 var(--tertiary-color));
}

#choixSections .linkSections .subimageSections:before{
    counter-increment: sections;
    content: counter(sections);
    color: var(--white);
    font-size: 2em;
    font-family: var(--font-title);
    transform: scale(0);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
#choixSections .linkSections .subimageSections:after {
    content: " ";
    --size: 100%;
    width: var(--size);
    height: var(--size);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0);
    border: 1px solid var(--primary-color);
    opacity: 0;
    transition: .4s all;
    border-radius: 50%;
    border-bottom-left-radius: 3px
}

#choixSections .linkSections.active .subimageSections:after,
#choixSections .linkSections:hover .subimageSections:after {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.15)
}

/*-----------------*/
/* REASSURANCES */
/*-----------------*/
#reassurances .picto-bloc {
  opacity: 0;          /* départ invisible */
  transform: translateY(30px); /* départ légèrement en bas */
}
#reassurances .title h2{/* color: var(--white); */}
#reassurances .linkTurn {margin-top: 30px;}
#reassurances-img{
	height: 60vh;
	width: 70%;
	margin: auto;
	background-image: url("../images/home-bg4.jpg");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}
}
#reassurances .linkTurn{margin-top: 50px;}

.picto-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.picto-container li{
	text-align: left;
	align-items: flex-start;
	border: solid 1px rgb(255 255 255 / 40%);
	margin: 0;
	padding: 60px 30px;
	position: relative;
	border-top: none;
	border-bottom: 0;
}
.picto-container span:before,
.picto-container span:after{
	height: 1px;
	background: rgb(255 255 255 / 40%);
}
.picto-container span:before{width: 31px;}
.picto-container span:after{
    right: 0;
    left: auto;
    width: calc(100% - 105px);
}
.picto-container li:after{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center;
	z-index: -1;
	opacity: 0;
	transition: 250ms all ease-in-out;
	clip-path: polygon(30px 0, 30px 30px, 105px 30px, 105px 0, 100% 0, 100% 100%, 0 100%, 0 0);
}

.picto-container li:first-child{
	border-right-width: 0.5px;
	border-bottom-width: 0.5px;
}
.picto-container li:nth-child(2){border-left-width: 0.5px;}
.picto-container li:nth-child(3){
	border-top-width: 0.5px;
	border-right-width: 0.5px;
	border-bottom: solid 1px rgb(255 255 255 / 40%);
}
.picto-container li:nth-child(4){
	border-top-width: 0.5px;
	border-left-width: 0.5px;
	border-bottom: solid 1px rgb(255 255 255 / 40%);
}
.picto-container li p strong{
	display: block;
	font-family: var(--font-title);
	font-size: 25px;
	margin-bottom: 10px;
	color: var(--white);
	font-weight: normal;
	line-height: 1.1;
}
.picto-container li p{
	margin: 0;
	font-size: 16px;
	color: var(--white);
	line-height: 1.6;
}
.picto-container li svg, 
.picto-container li img{
    position: absolute;
    top: -40px;
    padding: 20px;
}
/*-----------------*/
/* PARTENAIRES */
/*-----------------*/

/*-----------------*/
/* NEWSLETTER */
/*-----------------*/

/*-----------------*/
/* SHARE */
/*-----------------*/

/*-----------------*/
/* AGENCES */
/*-----------------*/

/*-----------------*/
/* CONTACTFORM */
/*-----------------*/

/*-----------------*/
/* CTA */
/*-----------------*/
#cta{
    font-size: 15px;
    line-height: 1.6;
    background: var(--white);
    padding: 30px 15px;
    max-width: 500px;
    margin: 0 auto -20px;
    width: 95%;
    text-align: center;
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
    z-index: 3;
}
#cta .title{margin-bottom: 10px;}
#cta #cta-buttons{margin: 30px 0 15px;}
#cta .title h2{font-size: 25px;}

/*-----------------*/
/* GALLERY FOOTER */
/*-----------------*/
#galleryFooter{padding-bottom: 1px;}
#galleryFooter:before{background: var(--background-color);}
#galleryFooter .gallery{
    display: grid;
    grid-gap: 1px;
    grid-template-columns: repeat(8,1fr);
    grid-auto-rows: 240px;
    grid-auto-flow: row dense;
    padding-bottom: 1px;
    z-index: 1;
    position: relative;
}
#galleryFooter .gallery .gallery-item{
    grid-column: span 1;
    grid-row: span 1;
    width: 100%!important;
}

/*-----------------*/
/* FOOTER */
/*-----------------*/
#wrapperForm .title{margin-bottom: 30px;}
#footer{background: var(--black);}
#footerForm{z-index:2;}
body.template-contact-php #footer #footerbloc:before{content: none;}
body.template-contact-php #footer #footerbloc{border-bottom: solid 1px}
body:not(.template-contact-php) #footer #footerbloc {
	display: block;
	background-image: url(../images/home-bg2.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 80px 15px;
}
#footer #footerbloc{display: block;}

#footerLinks a {color: var(--white)}

.wrapperFooter {
    background: var(--white);
    box-shadow: 0px 0px 30px #1a1a2612;
    padding: 10px
}

.imgFooter {
    background: url(../images/home-bg1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}