/* couleurs */
:root {
    --blanc: #FFF;
    --noir: #000;
    --texte: #333;
    --header-fond: #1A1A1A;
    --carte-fond: #1A1A1A;
    --carte-texte: #646464;
    --footer-fond: #252525;
    --footer-texte: #676565;
    --jaune: #F59C00;
}
/* titres */
body.home h1{
    max-width: 280px;
}
/* menu */
body:not(.home) #abe-header, 
body.home #abe-header.sticky{
/* #abe-header{ */
    background-color: var(--header-fond);
}
.abe-page-header{
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
#menu-ouvrir, #menu-fermer{
    cursor: pointer;
}
#abe-menu{
    /*
    left: -3000px;
    display: none;
    width: 100% !important;
    */
    position: absolute;
    left: -100%;
    transition: left 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
#menu-2-be7afd8{
    margin: 25px 0;
}
.page-header{
    position: absolute;
}
.abe-page-content{
    transition: all 0.4s ease;
    padding-bottom: 0;
    padding-top: 0;
}
.abe-page-content.flou{
    filter: blur(30px);
    transform: scale(1.1);
    height: 100vh;
}
/* page references */
body.page-id-39 .abe-page-content{
    margin: 0;
    padding: 0;
}
.menu-desktop, .elementor-nav-menu--dropdown.elementor-nav-menu__container{
    overflow: hidden;
}
.menu-desktop .elementor-nav-menu--dropdown a.elementor-item{
    font-family: "Inter", Sans-serif;
    font-size: 75px;
    line-height: 1;
    font-weight: 100 !important;
    text-decoration: none !important;
}
/* boutons */
a.elementor-button{
    background-color: var(--blanc) !important;
    color: var(--texte) !important;
    padding: 5px 10px;
    transition: 0.5s all ease;
}
a.elementor-button:hover{
    background-color: var(--texte) !important;
    color: var(--blanc) !important;
}
.footer-bouton a.elementor-button{
    background-color: transparent !important;
    color: var(--footer-texte) !important;
    border-color: var(--footer-texte) !important;
}
.footer-bouton a.elementor-button:hover{
    background-color: var(--footer-texte) !important;
    color: var(--footer-fond) !important;
}
/* texte */
.jaune{
    color: var(--jaune);
}
/* liste activites / quisommesnous */
.activites-item .image, 
.abe-presentation .image{
    margin-bottom: 30px;
}
.activites-item .texte,
.abe-presentation .texte {
    margin-bottom: 100px;
}
.activites-item a{
    display: block;
    text-decoration: none;
}
.activites-item .texte{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.activites-item h3 a.titre{
    font-family: "Inter", Sans-serif;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 200;
    transition: 0.5s all ease;
}
.activites-item .desc{
    font-family: "Inria Sans", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
}

.activites-item h3 a.titre{
    text-transform: uppercase;
    margin-bottom: 20px;
}
.activites-item .desc{
    font-size: 18px;
    font-weight: 300;
}
.activites-item img,
.abe-presentation .image img{
    width: 100%;
}
.activites-item img,
.abe-presentation .image.arrondie img{
    border-radius: 30px;
}
.activites-item:hover h3 a.titre{
    color: var(--jaune);
}

.abe-presentation .titre h2{
    font-size: 32px;
    font-family: "Inter", sans-serif;
    font-weight: 200;
    line-height: 1.1;
    text-transform: uppercase;
}


/* fil d'ariane */
.abe-ariane-container, a.abe-ariane{
    font-family: "Inter", Sans-serif !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    color: var(--blanc);
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.5s ease;
}
a.abe-ariane:hover{
    color: var(--jaune);
}
/* archive > liste de references */
/*
body.archive h1{
    margin-top: -14px;
}
*/
a.reference-item {
    text-decoration: none;
}
a.reference-item.titre{
    transition: 0.5s all ease;
}
a.reference-item:hover .titre{
    color: var(--jaune);
}
.reference-item, .reference-item > *{
    margin-bottom: 30px;
}
.reference-item img{
    width: 100%;
    height: 510px;
    object-fit: cover;
    border-radius: 30px;
}
/*
.reference-item .img-container {
  height: 510px; 
  overflow: hidden;
}

.reference-item .img-container img {
  height: 100%;
  width: auto;
  object-fit: cover;
}
*/

.reference-item .titre,
.single-reference-infos-item .libelle{
    font-family: "Inter", Sans-serif;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.5s all ease;
}
.reference-item .desc,
.single-reference-infos-item .valeur{
    font-family: "Inria Sans", Sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 300;
}

/* single reference */
body.single-reference h1,
body.single-post h1,
body.page-id-45 h1{ /* page Mentions */
    font-family: "Inter" !important;
    font-size: 30px !important;
    font-weight: 200 !important;
    color: var(--jaune) !important;
    margin-bottom: 50px;
    line-height: 1 !important;
    text-transform: inherit;
}
.single-reference-infos-item .libelle{
    margin-bottom: 20px;
}
.single-reference-infos-item{
    margin-bottom: 30px;
}
.nav-projects{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.nav-projects .previous,
.nav-projects .next {
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nav-projects .back{
    margin: 0 150px;
}
.single-reference-activite,
.single-reference-activite a{
    font-family: "Inter", Sans-serif !important;
    font-size: 40px !important;
    font-weight: 100 !important;
    text-transform: uppercase !important;
    line-height: 0.8em !important;
    letter-spacing: -0.03em !important;
    color: var(--blanc) !important;
    text-decoration: none !important;
    transition: all 0.5s ease;
}
/* recherche */
h1.search-result{
    font-family: "Inter", Sans-serif !important;
    font-size: 32px !important;
    font-weight: 200 !important;
    text-transform: uppercase !important;
    color: var(--texte);
    margin: 25px 0;
}
/* mentions */
body.page-id-45 h2{
    margin-top: 50px;
    font-size: 25px;
}
.postfooter,
.postfooter p,
.postfooter p a,
.postfooter p a:hover{
    font-size: 15px !important;
}

@media screen and (min-width:768px){
    /* titres */
    body.home h1{
        max-width: 440px;
    }
    /* single reference */
    .single-reference-activite,
    .single-reference-activite a{
        font-size: 65px !important;
    }
    body.single-reference h1,
    body.single-post h1,
    body.page-id-45 h1{ /* page Mentions */
        font-size: 75px !important;
    }
}


@media screen and (min-width:992px){
    /* titres */
    body.home h1{
        max-width: 1000px;
    }
    /* liste activites */
    body.home .abe-page-content,
    .activites-liste-container{
        padding-bottom: 0;
    }
    .activites-item{
        display: flex;
        /* height: 400px; */
    }
    body{
        overflow-x: hidden;
    }
    .activites-item:nth-child(even){
        flex-direction: row-reverse;
    }
    /*
    .activites-item:nth-child(even) .texte{
        justify-content: end;
    }
    */
    .activites-item .image,
    .activites-item .texte{
        width: 50%;
    }

    .activites-item .image,
    .activites-item .texte,
    .abe-presentation .texte{
        margin-bottom: 0;
    }
    .activites-item .texte h3 a.titre,
    .activites-item .texte .desc,
    .abe-presentation .texte .titre,
    .abe-presentation .texte .desc{
        max-width: 475px;
    }
    /* texte à droite > marge à gauche */
    .activites-item .texte,
    .abe-presentation .texte{
        padding: 0 0 0 150px;
    }
    /* texte à gauche > marge à gauche et droite */
    .activites-item:nth-child(even) .texte{
        padding: 0 100px 0 150px;
    }
    .abe-presentation .texte.texte-gauche{
        padding: 0 100px 0 100px;
    }
    .activites-item .image,
    .activites-item .texte,
    .abe-presentation .image,
    .abe-presentation .image > .elementor-widget-image,
    .abe-presentation .texte{
        position: relative;
    }
    .activites-item .image,
    .activites-item .texte{
        height: 500px;
    }
    /*
    .abe-presentation .image,
    .abe-presentation .image > .elementor-widget-image{
        height: 450px;
    }
    */
    .activites-item .image img /*,
    .abe-presentation .image.arrondie img,
    .abe-presentation .image#image1 img */{
        width: 120%;
        max-width: 120%;
        height: 450px;
        object-fit: cover;
        object-fit: cover;
        object-position: center;
    }
    /*
    .abe-presentation .image#image1,
    .abe-presentation .image#image1 > .elementor-widget-image,
    .abe-presentation .image#image1 img{
        height: 737px !important;
    }
    */
    /* image à gauche > décalage à droite */
    .activites-item:nth-child(odd) img /*,
    .abe-presentation .image.image-gauche img */ {
        position: absolute;
        right: -15px;
        bottom: 0;
    }
    .activites-item:nth-child(odd) img{
        right: -50px;
        bottom: -60px;
    }
    /*
    .activites-item:nth-child(even) img{
        position: absolute;
        right: 0;
        top: -60px;
    }
    */
    .activites-liste .activites-item:last-child{
        margin-bottom: 0;
    }
    .activites-liste .activites-item:last-child .texte{
        justify-content: center;
        padding-top: 60px;
    }
    /*
    .activites-liste .activites-item:last-child .image img{
        border-radius: 30px 30px 0 0;
    }
    */
    /* fonds page */
    .activites-liste{
        background-image: url('../img/fonds-abe-page.svg');
        background-size: 1000px 532px;
        background-repeat: no-repeat;
        background-position: center bottom 910px;
    }
    /* archive > liste de references */
    .reference-liste{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .reference-item{
        width: 30%;
    }
    /* single reference */
    .single-reference-infos-liste{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
    }
    .single-reference-infos-item{
        width: 30%;
        margin: 0 30px 30px 0;
    }
    .single-reference-activite,
    .single-reference-activite a{
        font-size: 125px !important;
    }

    /* atelier > textes */
    .abe-presentation.textes{
        display: flex;
        margin-bottom: 50px;
    }
    .abe-presentation.textes .texte,
    .abe-presentation.textes .image {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .abe-presentation.textes .texte .titre,
    .abe-presentation.textes .texte .desc{
        max-width: 100%;
    }
}

@media screen and (min-width: 1800px){
    .activites-item,
    .abe-presentation {
        width: 1800px;
        margin: 0 auto;
    }
    .activites-item .image img /*,
    .abe-presentation .image img {
        width:900px;
    }
    */
}

@media (max-width: 992px) {
    /* atelier > textes > image puis texte en mobile */
    .abe-presentation.textes{
         display: flex;
         flex-direction: column;
    }
    .abe-presentation.textes .image {
        order: 1;
    }

    .abe-presentation.textes .texte {
        order: 2;
    }
}