/*-----------------*/
/* LOADER */
/*-----------------*/
#loader-wrapper {background: radial-gradient(#2d2d2d, var(--black));}
.loader-ring {
	--size: 240px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -120px 0 0 -120px;
  width: var(--size);
  height: var(--size);
}

.loader-ring span{
	position: absolute;
	text-transform: uppercase;
	color: var(--white);
	z-index: 2;
	left: 0;
	right: 0;
	text-align: center;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-bold);
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: 2px;
}

.loader-ring span strong{
	font-family: var(--font-bold);
	color: var(--primary-color);
	letter-spacing: 6px;
}

.loader-ring-light {
  width: var(--size);
  height: var(--size);
  border-radius: 240px;
  box-shadow: 0 4px 0 var(--primary-color) inset;
  animation: rotate-360 2s linear infinite;
}

.loader-ring-track {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--size);
  height: var(--size);
  border-radius: 240px;
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.3) inset;
}

@keyframes rotate-360 {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/*-----------------*/
/* ELEMENTS */
/*-----------------*/
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background :is(strong, b),
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background a:not([class*="button"]), 
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background a:not([class*="button"]) strong{
    color: var(--white);
}
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background a:not([class*="button"]), 
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background a:not([class*="button"]) strong{
    background-image: linear-gradient(to bottom, transparent 20%, var(--black) 21%);
}
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background a:not([class*="button"]):hover, 
*:not(.wp-block-button__link, .button, .wp-block-separator).has-background a:not([class*="button"]):hover strong{
    color: var(--black);
}
/*-----------------*/
/* HEADER */
/*-----------------*/
#info-toogle{display: flex;place-self: center;}


#header-coordonnees {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    min-height: 100%;
    padding: 70px 40px 65px;
    background: var(--black);
    visibility: hidden;
    z-index: 999;
    transition: all .6s cubic-bezier(.77,0,.175,1);
    text-align: left;
    box-shadow: 0 0 30px #00000057;
}

#header-coordonnees .flex > * {margin: 10px 0}
#header-coordonnees #logoCoordonnees {order: -1;}
#header-coordonnees #logoCoordonnees img{ width: 180px;}

body.is-toggle-open #header-coordonnees {
    right: 0;
    visibility: visible;
}
#header .sociblock .share-buttons a svg{fill: var(--white)}

/*-----------------*/
/* SOCIAL */
/*-----------------*/
.sociblock .share-buttons a {
    border-radius: 100px;
    padding: 10px;
    border: 1px solid #d8d8d8;
    margin: 0 2px
}

.sociblock .share-buttons a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color)
}

.sociblock .share-buttons a svg {--size: 14px;}



/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/

/*-----------------*/
/* HEADERHOME */
/*-----------------*/
.door_area {
	--width: 290px;
	--height: 400px;
	position: absolute;
	left: 50%;
	top: calc(50% - 10px);
	z-index: 0;
	transform: translate(-50%,-50%);
	width: var(--width);
	height: var(--height);
}

#door01 {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--width);
    height: var(--height);
    border-radius: 160px 160px 0 0;
    background-color: var(--primary-color);
    opacity: 0.5;
}

#door02 {
    position: absolute;
    top: -30px;
    left: 30px;
   width: var(--width);
    height: var(--height);
    border-radius: 160px 160px 0 0;
    border: 1px solid var(--primary-color);
    opacity: 0.3;
}

.headerHome__band {
    bottom: -3px;
    height: calc(100% + 6px);
    transform-origin: center bottom;
    transform: scaleY(0);
    position: absolute;
    z-index: 2;
    background: var(--background-color);
}
.headerHome__band[data-band-index="1"] {
    left: 0;
    width: 34%;
}
.headerHome__band[data-band-index="2"] {
    left: 33.8%;
    width: 32.2%;
}
.headerHome__band[data-band-index="3"] {
    left: 65.8%;
    width: 34.2%;
}

/*-----------------*/
/* BANNER */
/*-----------------*/
#bannerForm{
    margin: 0 auto;
    position: relative;
    z-index: 1;
    top: -50px;
    max-width: 90%;
}
#bannerForm .wrappercontent{
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px #00000059;
    padding: 10px;
    background: var(--background-color);
}

/*-----------------*/
/* GALLERY HOME */
/*-----------------*/
#galleryHome {
    position: relative;
    z-index: 1;
    height: 31.725em;
    font-size: 1.25vw;
    overflow: hidden;
    margin: 100px 0 50px;
}
#galleryHome .gallery .gallery-item {
    margin-bottom: 0;
    position: absolute;
}
#galleryHome .gallery .gallery-item:first-of-type {
    width: 17.9375em!important;
    height: 24.55em;
    top: 3.525em;
    left: 0;
    z-index: 1;
}
#galleryHome .gallery .gallery-item:nth-child(2) {
    width: 9.8625em!important;
    height: 14.35em;
    top: 6.8625em;
    left: 14.2375em;
    z-index: 6;
}
#galleryHome .gallery .gallery-item:nth-child(3) {
    width: 25.5625em!important;
    height: 31.725em;
    top: 0;
    left: 27.175em;
    z-index: 2;
}
#galleryHome .gallery .gallery-item:nth-child(4) {
    width: 14.2375em!important;
    height: 10.65em;
    top: 11.3em;
    left: 55.475em;
    z-index: 5;
}
#galleryHome .gallery .gallery-item:nth-child(5) {
    width: 18.1375em!important;
    height: 21.5em;
    top: 5.025em;
    left: 66.8375em;
    z-index: 3;
}

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

/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content {padding: 150px 0 200px;}


.home #content .middle-content{padding: 340px 100px 260px;}
.home #content .middle-content .tc_content,
.home #content .middle-content .title{
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.home #content:before {
    border: solid 1px var(--primary-color);
    width: 80em;
    height: 31em;
    border-radius: 100%;
    transform: translateX(-50%) rotate(29deg);
    top: 18.5em;
    opacity: 0.5;
}

.home #content .middle-content:before,
.home #content .middle-content:after{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.home #content .middle-content:before{
	background-image: url('../images/home-bg1.jpg');
	height: 260px;
	width: 210px;
	bottom: auto;
	border-radius: 200px 200px 0 0;
}
.home #content .middle-content:after{
	background-image: url('../images/home-bg3.jpg');
	top: auto;
	width: 190px;
	height: 200px;
	bottom: 0;
}
.home #content .right-img{overflow: hidden}

/*-----------------*/
/* 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: 3.5vw;
	display: flex;
	position: relative;
}
.home .prestations-tarifs{
    color: var(--white);
    text-transform: uppercase;
    font-family: var(--font-bold);
    font-size: 13px;
    letter-spacing: 1px;
}
.home .prestations-tarifs strong{
    font-size: 28px;
    position: relative;
    top: 3px;
    letter-spacing: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 10px;
}

.home .line {
  will-change: transform;
  line-height: 1.3;
  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;
}
.bloc_prestations#presta_chez-lili{--primary-color:#517202;}
.bloc_prestations#presta_chez-emile{--primary-color:#764114;}
.bloc_prestations#presta_lauthentique{--primary-color:#bc0202;}

.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;
}

.prestations-content :is(.content_link, .tc_excerpt){
    color: var(--white);
    font-size: 18px;
    line-height: 1.7;
    max-width: 580px;
    font-weight: bold;
}
/*-----------------*/
/* PRESTATIONS PAGE */
/*-----------------*/
.grid-img {
	margin-left: -1rem;
	margin-right: -1rem;
	margin-top: 100px!important;
	margin-bottom: -80px;
}
.grid-img img{
	height: 100%;
	object-fit: cover;
}

.grid-img div {height: 100%;}

/*-----------------*/
/* ACTU */
/*-----------------*/
.btnLine {
    background: none!important;
    padding: 0!important;
    line-height: 1.6;
    color: var(--title-color)!important;
    letter-spacing: 1px
}

.btnLine:before {content: none;}

.btnLine::after {
    content: '';
    position: absolute;
    height: 1px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--title-color);
    transform-origin: bottom right;
    transform: scaleX(0);
    transition: transform .3s ease-in-out
}

.btnLine:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left
}

.design-link {
    display: inline-flex;
    align-items: center;
    padding: 0;
    padding-left: 52px;
    text-transform: uppercase;
    font-family: var(--font-bold);
    font-size: 12px;
    letter-spacing: 1px;
    position: relative;
    color: var(--title-color)
}

.design-link:before,.design-link:after {
    content: '';
    position: absolute;
    width: 46px;
    background: var(--text-color);
    height: 1px;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: all .3s linear 0s
}

.design-link.white {color: var(--white)}

.design-link.white:before, 
.design-link.white:after {background: var(--white)}

.design-link span:before {
    content: "";
    --size: 6px;
    width: var(--size);
    height: var(--size);
    display: inline-block;
    margin: 0;
    margin-right: 6px;
    order: -1;
    background: var(--secondary-color);
    z-index: 1;
    position: relative;
    vertical-align: middle;
    top: -1px;
    border-radius: 100%
}

.design-link:after {
    width: 0;
    left: unset;
    right: 0
}

.design-link:hover {
    padding-left: 0;
    padding-right: 52px;
    color: var(--secondary-color);
}

.design-link:hover:before {width: 0}
.design-link:hover:after {width: 46px}

#news-title {margin-bottom: 40px;}

#news .wrapper_inner_slider {background: none;}
#news .next_slider {margin-top: 0;}

.title_slider {font-size: 21px;}

#news .content_slider {padding: 20px 0;}

.title_link_slider, #listarticles .listedarticle h2 a {
    background-repeat: no-repeat;
    background-image: -o-linear-gradient(transparent calc(100% - 2px),currentColor 2px);
    background-image: linear-gradient(transparent calc(100% - 2px),currentColor 2px);
    background-image: -ms-linear-gradient(transparent 95%,currentColor 2px);
    transition: .6s cubic-bezier(.215,.61,.355,1);
    background-size: 0 96%;
}

.title_link_slider:hover, 
#listarticles .listedarticle h2 a:hover {background-size: 100% 96%}

/*-----------------*/
/* SECTIONS */
/*-----------------*/
.buttons-wrap{
	flex-direction: column;
	align-items: center;
	gap: 5px;
}
#choixSections {
    counter-reset: sections;
    display: flex;
    justify-content: center;
    position: relative
}

#choixSections:before {
    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: 1.4px;
    line-height: 1.3;
    text-align: center;
    color: var(--title-color);
    background: var(--background-color);
    padding: 0 30px;
    transition: 250ms all ease-in-out;
}

#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);
    font-weight: bold;
}

#choixSections .linkSections img {
    --size: 30px;
    width: var(--size);
    height: var(--size);
    object-fit: contain;
    filter: brightness(0) invert(1)
}

.subimageSections {
    --size: 60px;
    border-radius: 100px;
    border: var(--title-color) solid 1px;
    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 white);
    border-color: var(--primary-color);
}
#choixSections .linkSections.active .subimageSections:before,
#choixSections .linkSections:hover .subimageSections:before{color: var(--white)}

#choixSections .linkSections .subimageSections:before {
    counter-increment: sections;
    content: counter(sections);
    color: var(--title-color);
    font-size: 2em;
    font-family: var(--font-title);
    transform: scale(0);
    position: absolute;
    top: calc(50% + 2px);
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    transition: 250ms all ease-in-out;
}

#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;     
  transform: translateY(30px); 
}
#reassurances .linkTurn {margin-top: 10px;}
#reassurances-img{
	height: 60vh;
	width: 70%;
	margin: auto;
	background-image: url("../images/home-bg2.jpg");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

#reassurances .accroche strong{
	color: var(--title-color);
	font-family: var(--font-title);
	line-height: 1.3;
	display: block;
	font-size: 20px;
}

.picto-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.picto-container li{
	text-align: left;
	align-items: flex-start;
	border: solid 1px rgb(0 0 0  / 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(0 0 0  / 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(0 0 0  / 40%);
}
.picto-container li:nth-child(4){
	border-top-width: 0.5px;
	border-left-width: 0.5px;
	border-bottom: solid 1px rgb(0 0 0  / 40%);
}
.picto-container li p strong{
	display: block;
	font-family: var(--font-title);
	font-size: 22px;
	margin-bottom: 10px;
	color: var(--title-color);
	font-weight: normal;
	line-height: 1.1;
}
.picto-container li p{
	margin: 0;
	font-size: 16px;
	color: var(--title-color);
	line-height: 1.6;
}
.picto-container li svg, 
.picto-container li img{
    position: absolute;
    top: -40px;
    padding: 20px;
}
/*-----------------*/
/* PARTENAIRES */
/*-----------------*/

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

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

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

/*-----------------*/
/* 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 0;}
#cta #cta-buttons .button{margin-right: 10px;}
#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;
}

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

/*-----------------*/
/* FOOTER */
/*-----------------*/
#wrapperForm .title{margin-bottom: 30px;}
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/bg-footer.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 80px 15px;
}
#footer #footerbloc{display: block;}
#footer #footerbloc>.wrappercontent {
    align-items: center;
    justify-items: center;
    display: grid;
    grid-row-gap: 15px;
    grid-column-gap: 20px;
    transition: .6s;
    grid-template-areas: "infoouvertureFooter     infoadresseFooter       infotelportFooter";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(1,minmax(min-content,auto));
}

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

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