:root {
    --left-mg: 40vw;
    --side-mg: 7.5vw;
    --up-mg: 100px;
    --space-mg: 75px;
    --Noir: #4E4E4E;
    --vert: #3DAE2B;
    --vertcd: #007A53
}

::selection {
    background-color: var(--vert);
    color: white;
}

/* Firefox */
::-moz-selection {
    background-color: var(--vert);
    color: white;
}

/* width */
::-webkit-scrollbar {
    width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--Noir);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--Noir);
    width: 2px;
}

body{
    background: white;
    color: var(--Noir);
}
body::after{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    opacity: 0;
    background-color: black;
    transition: 0.3s ease-in-out opacity;
}
body.shadow::after{
    transform: translateX(0%);
    opacity: 0.4;
}
*{
    font-family: "Roboto Condensed", sans-serif;
}


/*****
BASE
*****/
h1{
    font-size: 48px;
    font-weight: 400;
    line-height: normal;
}
h2, .h2{
    font-size: 48px;
    font-weight: 400;
    margin-top: 0;
    line-height: normal;
    margin-bottom: 15px;
}
h3,.h3{
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    margin-top: 0;
}
p, li{
    font-size: 24px;
    font-weight: 300;
    line-height: 38px;
    margin-top: 0;
}
p, ul{
    margin-bottom: 20px;
}
p:last-child, ul:last-child{
    margin-bottom: 0;
}
.txt li{
    position: relative;
    padding-left: 35px;
}
.txt li::after{
    content: "";
    height: 9px;
    width: 9px;
    background: var(--vert);
    position: absolute;
    left: 10px;
    top: 15px;
}
.txt p strong{
    color: var(--vert);
}
.lt-h2{
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.white{
    color: white;
}
a{
    color: var(--Noir);
}
/*****
HOME
 */
#header{
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-gap: 40px;
    padding-left: var(--side-mg);
    padding-right: var(--side-mg);
    padding-top: 45px;
    padding-bottom: 45px;
}

.menu-menu-1-container{
    position: relative;
    width: 100%;
}
.menu{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    position: absolute;
    right: 100px;
    top: 0;
}
.menu>li{
    margin-right: 15px;
    height: 230px;
    width: 230px;
    border: 1px solid #CCC;
    position: relative;
    padding: 15px;
    line-height: 30px;
}
.menu>li::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 116px;
    display: block;
    background: rgba(29, 29, 27, 0.30);
    transition: 0.4s ease-in-out all;
}
.menu>li::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 113px;
    display: block;
    background: var(--vert);
    transition: 0.4s ease-in-out all;
    z-index: -1;
    opacity: 0;
}
.menu>li:hover::before{
    opacity: 1;
}
.menu>li:hover>a, #menu .menu>.current_page_item:hover>a{
    color: white;
}
.menu>li.current_page_item::after{
    background: var(--vert);
 }

#logo-container img{
    width: 270px;
    height: auto;
    object-fit: contain;
    transition: 0.4s ease-in-out all;
}
#logo-container:hover img{
    opacity: 0.6;
}
.menu>li a{
    font-size: 26px;
    font-weight: 400;
    color: var(--Noir);
    transition: 0.4s ease-in-out all;
}
.menu>li.menu-item-has-children>a::after{
    content: "";
    position: relative;
    display: inline-block;
    height: 8px;
    width: 12px;
    background: var(--Noir);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    margin-bottom: 4px;
    margin-left: 8px;
    transition: 0.4s ease-in-out all;
}
.menu>li.menu-item-has-children:hover>a::after{
    background: white;
    transform: rotate(180deg);
}
.menu>li:last-of-type{
    margin-right: 0;
}
#menu .menu>.current_page_item>a{
    color: var(--Noir);
}

.menu-cdrec{
    position: absolute;
    right: var(--side-mg);
    top: 65px;
    background: transparent;
    padding: 0;
    z-index: 10002;
}
#menu .menu-icon{
    height: 24px;
}
#close-bar1, #close-bar2, #close-bar3{
    background: var(--vert);
    transition: 0.5s ease-in-out all;
}
.menu-cdrec.active #close-bar1{transform:translateY(12px)rotate(45deg);}
.menu-cdrec.active #close-bar2{width:0;right:50%;}
.menu-cdrec.active #close-bar3{transform:translateY(-12px)rotate(-45deg);}
.menu-cd-spe{
    position: fixed;
    top: 0;
    right: 0;
    width: 700px;
    z-index: 10001;
    background-color: white;
    height: 100vh;
    padding: 100px var(--side-mg);
    transform: translateX(100%);
    transition: 0.5s ease-in-out all;
}
.menu-cd-spe.active{
    transform: translateX(0%);

}
.menu-cd-spe a:first-of-type{
    margin-top: 50px;
    border-top: 1px solid var(--Noir);
}
.menu-cd-spe a{
    padding: 40px 0;
    display: block;
    border-bottom: 1px solid var(--Noir);
    position: relative;
    transition: 0.4s ease-in-out all;
}
.menu-cd-spe a:hover{
    opacity: 0.6;
}
.menu-cd-spe a:last-of-type{
    display: none;
}
.page-template-template-cd-rec .menu-cd-spe a:last-of-type{
    display: block;
}
.page-template-template-cd-rec .menu-cd-spe a:first-of-type{
    display: none;
}
.page-template-template-cd-rec .menu-cd-spe a:nth-of-type(2){
    margin-top: 50px;
    border-top: 1px solid var(--vert);
}
.menu-cd-spe a p{
    margin-bottom: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-transform: uppercase;
    margin-top: 10px;
}
.extern-lien{
    position: absolute;
    top: 40px;
    right: 0;
}
.sub-menu{
    /*position: absolute;*/
    /*top: 100%;*/
    /*left: 0;*/
    /*display: none;*/

    position: absolute;
    top: 112px;
    left: -1px;
    /* display: none; */
    width: calc(100% + 2px);
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    background: rgba(0, 0, 0, 0.80);
    padding: 20px;
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.4s ease-in-out all;
}
.menu>li .sub-menu a{
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    color: white;
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.4s ease-in-out all;
}
.sub-menu a:hover{
    opacity: 0.6;
}
.menu>li .sub-menu li:last-of-type a{
    border: 0;
    margin: 0;
    padding-bottom: 0;
}
.menu>li.menu-item-has-children:hover .sub-menu{
    border-right: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    border-left: 1px solid #CCC;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.menu>li.menu-item-has-children:hover::after{
    opacity: 0;
}
.img-first{
    width: 100%;
    height: 550px;
    object-fit: cover;
}
.txt-home{
    padding-left: var(--left-mg);
    padding-right: var(--side-mg);
    margin-top: var(--up-mg);
    margin-bottom: var(--up-mg);
}
.grid-other{
    display: grid;
    grid-template-columns: 200px 1fr;
    padding-left: var(--side-mg);
    padding-right: var(--side-mg);
}
.references-home{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 30px;
}
.reference-item{
    display: block;
    background: var(--vert);
    overflow: hidden;
}
.reference-item img{
    height: 18vw;
    width: 100%;
    object-fit: cover;
    transition: 0.4s ease-in-out all;
}
.contenu-ref{
    padding: 20px 35px;
    transition: 0.4s ease-in-out all;
    position: relative;
    z-index: 2;
    background: var(--vert);
}
.reference-item:hover .contenu-ref{
    /*padding-top: 30px;*/
    transform: translateY(-10px);
}
.reference-item:hover img{
    filter: brightness(0.7);
}
.contenu-ref h3{
    margin: 0;
}
.green-banner{
    padding: var(--up-mg) var(--side-mg);
    background: var(--vert);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}
.green-banner .h2{
    margin-top: 50px;
}
.img-schema{
    height: auto;
    object-fit: contain;
    display: flex;
    margin: auto;
    max-height: 550px;
}
.flex-link{
    display: flex;
    margin-top: 40px;
}
.link_base{
    display: flex;
    align-items: center;
    width: fit-content;
    margin-right: 20px;
    transition: 0.4s ease-in-out all;
    text-transform: uppercase;
}
.link_base svg{
    margin-right: 10px;
    width: 14px;
    height: 14px;
    transition: 0.5s ease-in-out all;
}
.link_base:hover{
    opacity: 0.9;
}
.link_base span{
    text-decoration: underline;
    transition: 0.4s ease-in-out all;
}
.link_base:hover svg{
    transform: translateX(6px);
}
.link_base:hover span{
    transform: translateX(4px);
}
.line-base{
    width: 140px;
    height: 9px;
    background: var(--vert);
    display: block;
}
.line-base.white{
    background: white;
}

/******
FOOTER
 */
#footer{
    padding: var(--up-mg) var(--side-mg) 30px var(--side-mg);
    position: relative;
    z-index: 15;
}
.flex-ft{
    display: grid;
    grid-template-columns: 140px 1fr 2fr;
    grid-gap: 60px;
}
.flex-ft div:nth-of-type(2),
.flex-ft div:nth-of-type(3){
    padding-top: 60px;
}
.flex-ft ul {
    columns: 2;
    list-style-type: none;
    padding: 0;
}
.flex-ft a, .flex-ft p{
    font-size: 20px;
    font-weight: 400;
    line-height: 29px;
    color: var(--Noir);
}
.flex-ft li{
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--vert);
    margin-right: 20px;
}
.flex-ft li.active-page a{
    color: var(--vert);
    font-weight: 500;
}
.flex-ft li a{
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0.64px;
    text-transform: uppercase;
    transition: 0.4s ease-in-out all;
    display: inline-block;
}
.flex-ft li a:hover{
    opacity: 0.8;
    transform: translateX(5px);
}
.flex-ft .custom-logo-link{
    margin-bottom: 15px;
    display: block;
}
.flex-ft .custom-logo-link img{
    transition: 0.4s ease-in-out all;
}
.flex-ft .custom-logo-link:hover img{
    opacity: 0.6;
}
#copyright{
    margin-top: 60px;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    color: var(--Noir);
}
.pomzed-badaboum{
    width: 156px;
    height: 24px;
    margin: 0px 0 -8px 0px;
}
.other-society{
    position: absolute;
    bottom: 30px;
    right: 5vw;
    display: flex;
    align-items: center;
}
.other-society svg:first-of-type{
    margin: 0 8px;
}
.other-society a:nth-of-type(2){
    position: relative;
    top: 4px;
}
/**
ABOUT
 */

.contenu-onpage{
    padding-top: var(--space-mg);
}
.menu-sec{
    position: sticky;
    top: 100px;
    left: 0;
}
.menu-sec li{
    padding-left:calc(var(--side-mg) / 2);
    border-bottom: 1px solid var(--vert);
    padding-bottom: 10px;
    margin-bottom: 10px;
    line-height: 24px;
}
.menu-sec li a{
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding-right: 20px;
    transition: 0.5s ease-in-out all;
    display: inline-block;
}
.menu-sec li.active a{
    color: var(--vert);
}
.menu-sec li a:hover{
    transform: translateX(5px);
    opacity: 0.8;
}
.grid-contenu{
    display: grid;
    grid-template-columns: calc(250px + 2.5vw) 1fr;
    grid-gap: 80px;
}
.grid-contenu section{
    margin: var(--up-mg) 0;
}
.grid-contenu section:first-of-type{
    margin-top: 0;
}
.grid-contenu section:last-of-type{
    margin-bottom: 0;
}
.txt-img{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 50px;
    padding-right: var(--side-mg);
}
.txt-img:not(.historique)>div:first-of-type>a, .historique>div:nth-of-type(2)>a{
    border: 1px solid var(--vert);
    height: 25vw;
    width: 100%;
    padding: 20px;
    display: block;
}
.txt-img:not(.historique)>div:first-of-type>a:not(:first-of-type), .historique>div:nth-of-type(2)>a:not(:first-of-type){
    margin-top: 20px;
}

.txt-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.banner-force{
    background: var(--vert);
    padding: var(--up-mg) var(--side-mg)  var(--up-mg) 80px;
    transform: translateX(-80px);
    width: calc(100% + 80px);
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-gap: 40px;
}
.date{
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 38px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: var(--vert);
}



/******
SERVICES
 */
.contenu-services{
    padding-left: calc(var(--left-mg) - calc(200px + 2.5vw));
    padding-right: var(--side-mg);
}
.force-service .banner-force{
    margin-top: var(--up-mg);
    width: 100%;
    padding-left: var(--side-mg);
    padding-right: var(--side-mg);
    transform: unset;
}

.grid-services{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 60px;
    padding-right: var(--side-mg);
    padding-left: var(--side-mg);
    margin-top: var(--up-mg);
}
.bloc-service{
    border: 1px solid var(--vert);
    padding: 20px;
}
.bloc-service img{
    width: 100%;
    height: 15vw;
    object-fit: cover;
}
.bloc-service>div{
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--vert);
}
.bloc-service h3{
    margin: 0;
    background: var(--vert);
    padding: 20px;
}

/****
REFERENCES
 */
.single-references .menu>li{
    height: auto;
    border: 0;
}
.single-references .menu>li::after{
    display: none;
}
.single-references #header{
    border-bottom: 1px solid var(--Noir);
}
.header-ref{
    background: var(--vert);
    padding: var(--space-mg) var(--side-mg) 30px var(--side-mg);
}
.header-ref h1{
    margin-bottom: 0;
}
.grid-ref-client{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 30px;
}
.grid-ref-client>div{
    border: 1px solid var(--vert);
    padding: 22px;
    margin-bottom: 40px;
}
.grid-ref-client span{
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: 0.48px;
    text-transform: uppercase;
}
.grid-ref-client p{
    margin: 0;
    font-weight: 500;
}
.bloc-back{
    padding-left: calc(var(--left-mg) - 100px);
}
.go-back{
    display: flex;
    background: var(--vert);
    width: 100%;
    cursor: pointer;
    padding: 12px 20px;
    font-size: 18px;

    font-weight: 400;
    align-items: center;
}
.go-back svg{
    margin-right: 10px;
}
.contenu-references{
    padding-left: var(--left-mg);
    padding-right: var(--side-mg);
}

.galerie-ref{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 30px;
}
.galerie-ref img{
    width: 100%;
    height: 30vw;
    object-fit: cover;
}
.grid-ref{
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-gap: 30px;
    padding-left: var(--side-mg);
    padding-right:  var(--side-mg);
    margin-top: var(--up-mg);
    margin-bottom: var(--up-mg);
}
.grid-other-ref{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}
.grid-other-ref a{
    padding: 25px;
    border: 1px solid white;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
}
/****
contact
 ***/
.contact-form{
    padding-left: var(--left-mg);
    padding-right: var(--side-mg);
    padding-top: var(--up-mg);
}
.grid-contact{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 30px;
}
.contact-form p{
    margin: 0;
}
.contact-form input{
    background: transparent;
    border-bottom: 1px solid var(--vert);
    width: 100%;
    padding: 15px 0;
    margin: 0;
}
.contact-form textarea{
    width: 100%;
    height: 120px;
    resize: none;
    margin: 0;
    background: #fbfbfb;
    border-bottom: 1px solid var(--vert);
}
.contact-form .wpcf7-submit{
    width: fit-content;
    background: var(--vert);
    padding: 10px 20px;
    font-family: "Roboto Condensed", sans-serif;
    margin-top: 20px;
    transition: 0.4s ease-in-out all;
}
.contact-form .wpcf7-submit:hover{
    opacity: 0.6;
}
.wpcf7-not-valid-tip{
    font-size: 14px;
}
.wpcf7-spinner{
    display: none;
}
/***************
CD REC
 */
.page-template-template-cd-rec .menu{
    display: none;
}
.page-template-template-cd-rec #site-title>a{
    display: none;
}
.page-template-template-cd-rec #branding svg{
    width: 260px;
    height: 53px;
}
.grid-cd{
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding-left: var(--side-mg);
    padding-right: var(--side-mg);
}


.accordeon{
    border-bottom: 1px solid var(--vertcd);
    padding: 20px 0 20px 0px;
    position: relative;
}
.accordeon.no-icon{
    padding-left: 0px;
}
.accordeon:first-of-type{
    border-top: 1px solid var(--vertcd);
}
.accordeon .icone-accordeon{
    position: absolute;
    left: 0;
    top: 20px;
    height: 18px;
    width: 18px;
    object-fit: contain;
}
.titre-accordeon{
    color: var(--vertcd);
    font-size: 26px;
    cursor: pointer;

    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    margin-top: 0;
    padding-left: 30px;
    margin-bottom: 0;
}
.titre-accordeon svg{
    margin-left: auto;
    margin-top: 10px;
    transition: all .5s cubic-bezier(.25, .46, .45, .94);
}
.accordeon .titre-accordeon svg line{
    transition: all .5s cubic-bezier(.25, .46, .45, .94);
}
.accordeon.active .titre-accordeon svg line:nth-of-type(2){
    opacity: 0;
    transform: scaleY(0);
}
.titre-accordeon>span{
    font-weight: 600;
    padding-right: 20px;
    display: block;
    max-width: 450px;
}
.txt-accordeon {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    /*transition: all 0.3s linear;*/
    transition: max-height 0.4s linear;

}
.accordeon.active .txt-accordeon{
    max-height: 800px;
    /*padding-top: 20px;*/
    margin-top: 20px;
}

.txt-accordeon p{
    margin-top: 0;
    max-width: 900px;
}
.txt-accordeon p:first-of-type{
    /*padding-top: 15px;*/
}
.page-template-template-cd-rec .line-base{
    background: var(--vertcd);
}
.page-template-template-cd-rec .lt-h2{
    color: var(--vertcd);
}
.page-template-template-cd-rec .lt-h2.white{
    color: white;
}
.page-template-template-cd-rec .line-base.white{
    background: white;
}
.page-template-template-cd-rec .green-banner{
    margin-top: var(--space-mg);
    background: var(--vertcd);
}
.contenu-cd section:not(:first-of-type){
    margin-top: var(--space-mg);
}
.page-template-template-cd-rec #footer{
    padding-top: 60px;
}
.page-template-template-cd-rec-php .txt li::after{
    background: var(--vertcd);
}
.page-template-template-cd-rec #footer::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    bottom: 95px;
    background: linear-gradient(90deg, #FFF 26%, rgba(255, 255, 255, 0.00) 92.01%);
}
.flex-ft-cd{
    display: flex;
    width: fit-content;
    position: relative;
    z-index: 3;
    padding-bottom: 100px;
}
.flex-ft-cd svg{
    width: 150px;
    height: 53px;
}
.flex-ft-cd p{
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 29px;
}
#map {
    height: auto;
    width: auto;
    position: absolute;
    right: 0;
    top: 0;
    left: 0vw;
    bottom: 95px;
    z-index: -1;
}

.read-more{
    position: relative;
    overflow: hidden;
    transition: 0.4s ease-in-out all;
}
.read-more[aria-expanded="false"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    height: 70px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffffc9 60.14%);
    transition: 0.3s ease-in-out all;
}
.read-more-btn{
    padding: 0!important;
    height: auto!important;
    border: 0!important;
    display: flex!important;
    justify-content: right;
    margin-top: -5px;
    position: relative;
    z-index: 5;
}
.mobile-menu{
    display: none;
}
.menu-toggled body{
    overflow: hidden;
}
.indetail.accordeon{
    border: 0;
    padding: 0;
    margin-bottom: 20px;
}
.indetail .titre-accordeon{
    color: var(--vert);
    font-size: 16px;
    text-transform: uppercase;
    width: fit-content;
    padding-left: 0;
    padding-bottom: 10px;
    transition: 0.4s ease-in-out all;
}
.indetail .icone-accordeon{
    position: static;
    height: 13px;
    width: 13px;
    margin-top: 0;
    margin-left: 5px;
}
.indetail .icone-accordeon line{
    stroke: var(--vert);
}
.accordeon.indetail.active .txt-accordeon{
    margin-top: 0;
}
.indetail.active .titre-accordeon{
    opacity: 0.6;
}