/*
Theme Name: Perfecto2026
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perfecto2026
Tags: 
*/

/*--------------------------------------------------------------
## HOME
--------------------------------------------------------------*/

body {
    background-color: var(--wp--preset--color--custom-gris-clair);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.wp-block-heading em {
    font-family: var(--wp--preset--font-family--spectral);
}

.wp-block-heading.traits {
    position: relative;
    z-index: 1;
}

.wp-block-heading.traits::before {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -10px;
    height: 70px;
    width: 150px;
    background-image: url(images/traits-jaunes.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: -1;
}

.wp-block-heading.traits.traits--bleus::before {
    bottom: -40px;
    right: 40px;
    background-image: url(images/traits-bleus.svg);
}

.wp-block-heading.traits.traits--roses::before {
    bottom: -35px;
    background-image: url(images/traits-roses.svg);
}

.wp-block-heading.traits.traits--roses-clairs::before {
    right: auto;
    left: 130px;
    bottom: -30px;
    background-image: url(images/traits-roses-clairs.svg);
}

.wp-block-heading.cercle {
    position: relative;
    z-index: 1;
}

.wp-block-heading.cercle::before {
    content: "";
    position: absolute;
    bottom: -55px;
    right: -35px;
    height: 150px;
    width: 200px;
    background-image: url(images/cercle-jaune.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: -1;
}

.wp-block-heading.cercle.cercle--bleu::before {
    bottom: -100%;
    left: -5%;
    height: 300%;
    width: 115%;
    background-image: url(images/cercle-bleu.svg);
}

.wp-block-button {
    z-index: 1;
}

.wp-block-button__link {
    border-radius: 3px !important;
}

.cas-clients {
    position: relative;
    z-index: 1;
}

.cas-clients > .wp-block-group:first-of-type {
    transform: rotateZ(3deg) translateY(-30px);
}

.cas-clients > .wp-block-group:nth-child(2) {
    transform: rotateZ(-3deg) translateY(130px);
}

.cas-clients > .wp-block-group:nth-child(3) {
    transform: rotateZ(1deg) translateY(-30px);
}

.cas-clients > .wp-block-group:last-of-type {
    transform: rotateZ(5deg) translateY(120px);
}

.cas-clients::before, 
.cas-clients::after {
    content: "";
    position: absolute;
    top: 0;
    right: -200px;
    width: 400px;
    height: 210px;
    background-image: url(images/scribble.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: -1;
}

.cas-clients::after {
    top: auto;
    bottom: -100px;
    left: -150px;
    right: auto;
    transform: rotate(180deg);
}

.galerie-group {
    overflow: hidden;
}

.galerie-group .wp-block-columns .wp-block-column:first-of-type {
    transform: translateY(-60px);
}

.galerie-group .wp-block-columns .wp-block-column:last-of-type {
    transform: translateY(40px);
}

.cadrillage {
    position: relative;
}

.cadrillage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/grid.svg);
    background-size: cover;
    opacity: 1;
    mix-blend-mode: color-burn;
    pointer-events: none;
    z-index: 1;
}

.fleche::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 60%;
    width: 470px;
    height: 185px;
    background-image: url(images/fleche.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.fond-photos {
    position: relative;
}

.fond-photos::before, 
.fond-photos::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/fond-photos-1.png);
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -1;
}

.fond-photos::after {
    left: auto;
    right: 0;
    background-image: url(images/fond-photos-2.png);
    background-position: right center;
}

.footer-menu li + li::before {
    content: "-";
    margin: 0 10px;
    pointer-events: none;
}

footer a {
    text-decoration: none;
}

@media all and (max-width: 1460px) {
    .fond-photos::before {
        max-height: 800px;
        background-image: url(images/fond-photos-1-mobile.png);
        background-position: left top;
    }

    .fond-photos::after {
        top: auto;
        bottom: 0;
        max-height: 800px;
        background-image: url(images/fond-photos-2-mobile.png);
        background-position: right bottom;
    }
}

@media all and (max-width: 960px) {
    .wp-block-site-logo {
        padding: 0 !important;
    }

    .header-btns {
        display: none !important;
    }
}

@media all and (max-width: 781px) {
    .galerie-group .wp-block-columns .wp-block-column:first-of-type, 
    .galerie-group .wp-block-columns .wp-block-column:last-of-type {
        transform: translateY(0);
    }

    body .is-layout-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .cas-clients > .wp-block-group:first-of-type {
        transform: rotateZ(3deg) translateY(0);
    }

    .cas-clients > .wp-block-group:nth-child(2) {
        transform: rotateZ(-3deg) translateY(0);
    }

    .cas-clients > .wp-block-group:nth-child(3) {
        transform: rotateZ(1deg) translateY(0);
    }

    .cas-clients > .wp-block-group:last-of-type {
        transform: rotateZ(5deg) translateY(0);
    }
}

@media all and (max-width: 700px) {
    header .wp-block-navigation__responsive-container {
        justify-content: center;
        font-size: 24px;
        font-weight: 700;
    }

    header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        padding-top: 0 !important;
    }

    header .wp-block-navigation__container, 
    header .wp-block-navigation__container .wp-block-navigation-item {
        width: 100%;
    }

    header .wp-block-navigation__container .wp-block-navigation-item + .wp-block-navigation-item::before {
        content: "";
        position: absolute;
        top: -25px;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--wp--preset--color--custom-gris-1);
    }
}

@media (min-width: 700px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
        width: 100%;
        position: relative;
        z-index: auto;
        background-color: inherit;
    }

    footer .wp-block-site-logo img {
        max-width: 56px;
    }
}

@media (min-width: 600px) {
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }
}

/* projets et équipe */
#projets-home,
#equipe-home {
    padding-bottom: 120px;
}


#projets-home .projet-home,
#projets-home .projet-home .projet-visu,
.col-projet article,
.col-projet article .projet-visu,
.bu-projet article,
.bu-projet article .projet-visu {
    position: relative;
}

#projets-home .projet-home .projet-visu img,
#projets-home .projet-home:hover .projet-texte,
.col-projet article .projet-visu img,
.col-projet article a:hover .projet-texte,
.bu-projet article .projet-visu img,
.bu-projet article a:hover .projet-texte {
    display: block;
}

.projet-visu img {
    width: 100%;
    object-fit: cover;
}

#projets-home .projet-home .projet-texte,
.col-projet article .projet-texte,
.bu-projet article .projet-texte {
    position: absolute;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    top: 50%;
    /* poussé de la moitié de hauteur du référent */
    transform: translateY(-50%);
    /* tiré de la moitié de sa propre hauteur */
    text-align: center;
    z-index: 3;
    font-size: 26px;
}

.col-projet article a,
.bu-projet article a {
    position: relative;
    z-index: 1;
    display: block;
}

.col-projet article a {
    margin: 10px;
}

#projets-home .projet-home:hover:before,
.col-projet article a:hover:before,
.bu-projet article a:hover:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #7C559f;
    opacity: 0.8;
    z-index: 2;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#projets-home .projet-home .projet-texte a,
#projets-home .projet-home .projet-texte li,
.col-projet article .projet-texte .projet-titre span,
.bu-projet article .projet-texte .projet-titre span {
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

#projets-home .projet-home .projet-texte .projet-titre a,
.col-projet article .projet-texte .projet-titre span,
.bu-projet article .projet-texte .projet-titre span {
    font-size: 1.53em;
    font-weight: 700;
    line-height: 1.2;
}

#projets-home .projet-home .projet-texte a:hover {
    color: #000;
}

#projets-home .projet-home .projet-texte .list-terms li {
    font-size: 1em;
    font-weight: 300;
}

#projets-home .projet-home .projet-texte .list-terms {
    list-style: none inside;
    margin: 0;
    padding: 0;
    padding: 0;
    list-style-position: inside;
    margin: 0;
    margin-bottom: 0px;
    margin-bottom: 5px;
}

.second-slider-title {
    font-size: 30px;
    font-weight: 200;
    line-height: 1;
    margin-bottom: 24px;
}

.container-second-slider-name ul {

    padding: 0;
    padding-right: 10px;
    list-style-position: inside;
    margin: 0;
    margin-bottom: -20px;
}

#projets-home .projet-home .projet-texte .projet-titre,
.col-projet article .projet-texte .projet-titre,
.bu-projet article .projet-texte .projet-titre {
    padding: 0 30px;
}

#projets-home .bloc-titre-section,
#equipe-home .bloc-titre-section,
#actus-home .bloc-titre-section {
    background-color: #7C559f;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    font-size: 20px;
}

.section-graph {
    background-color: #dc0173 !important;
}


#projets-home .projet-link {
    display: block;
    margin: 0 auto;
    width: 100%;
    color: #fff;
    text-decoration: none;
    height: 100%;
}

#projets-home .projet-link div {
    text-transform: uppercase;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    position: absolute;
    left: 50%;
}

#projets-home .projet-link:hover {
    color: #000;
}

#projets-home .projet-link strong {
    font-size: 3em;
    font-family: 'Rozha One', "Times New Roman", Times, serif;
    margin-bottom: 40px;
}

#projets-home .projet-link span {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.2;
    letter-spacing: 0.18em;
}

/*Equipe*/
#equipe-home .titre-section {
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Rozha One', "Times New Roman", Times, serif;
    font-size: 3.5em;
}

#equipe-home .presentation {
    color: #ffffff;
    text-align: center;
    font-size: 0;
    line-height: 1.2;
    font-size: 30px;
}

#equipe-home .presentation .membre_nom {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1em;
}

#equipe-home .presentation .membre_poste {
    font-size: 1em;
}

#equipe-home .presentation .membre_poste span {
    font-size: 0.8em;
    display: block
}

#equipe-home .reseaux {
    font-size: 0;
    text-align: center;
    list-style: none;
    list-style-position: inside;
    padding: 0;
}

#equipe-home .reseaux li {
    display: inline-block;
    margin: 20px;
    font-size: 58px;
    width: 100%;
    max-width: 58px;
}

#equipe-home .reseaux svg {
    fill: #ffffff;
    max-height: 58px;
    max-width: 58px;
}

#equipe-home .reseaux svg:hover {
    fill: #000000;
}

#equipe-home .membre-photo {
    position: relative;
    overflow: hidden;
}

#equipe-home .membre {
    position: relative;
    max-width: 440px;
    text-align: center;
    margin: 0 auto;
}

#equipe-home .membre .presentation {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#equipe-home .membre:hover .presentation,
#equipe-home .reseaux li a,
#equipe-home .membre-photo img {
    display: block;
}

#equipe-home .membre-photo span {
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15.22%;
    height: 33%;
    background: linear-gradient(to top left, rgba(124, 85, 159, 0) 50%, rgba(124, 85, 159, 1) 50%);
}

#equipe-home .membre:hover .membre-photo span {
    animation: fadeInDiag .5s ease forwards;
    animation-delay: 0;
}

#equipe-home .grid {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 0 1 auto;
    -webkit-box-flex: 0;
    flex: 0 1 auto;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#equipe-home .col-1-3 {
    margin-bottom: 20px;
    float: none;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
    -ms-flex: 0 0 auto;
    -webkit-box-flex: 0;
    flex: 0 0 auto;
}


#equipe-home .tech {
    background-color: #3d85c6;
}

#equipe-home .conseil {
    background-color: #ea7628;
}

#equipe-home .culture {
    background-color: #008d8c;
}

#equipe-home .breizh {
    background-color: #dc0173;
}

#equipe-home .membre-photo-tech span:before {
    content: "";
    display: block;
    top: 0px;
    left: 0;
    position: absolute;
    width: 197%;
    height: 193.18%;
    background: linear-gradient(to top left, rgba(67, 182, 235, 0) 50%, rgba(61, 133, 198, 0.15) 50%) !important;
}

#equipe-home .membre-photo-tech span:after {
    content: "";
    display: block;
    width: 149.25%;
    height: 151.5%;
    top: 0px;
    left: 0;
    position: absolute;
    background: linear-gradient(to top left, rgba(255, 17, 0, 0) 50%, rgba(61, 133, 198, 0.35) 50%) !important;
}

#equipe-home .membre-photo-tech span {
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15.22%;
    height: 33%;
    background: linear-gradient(to top left, rgba(61, 133, 198, 0) 50%, rgb(61, 133, 198) 50%) !important;
}

#equipe-home .membre-photo-conseil span:before {
    content: "";
    display: block;
    top: 0px;
    left: 0;
    position: absolute;
    width: 197%;
    height: 193.18%;
    background: linear-gradient(to top left, rgba(67, 182, 235, 0) 50%, rgba(234, 118, 40, 0.15) 50%) !important;
}

#equipe-home .membre-photo-conseil span:after {
    content: "";
    display: block;
    width: 149.25%;
    height: 151.5%;
    top: 0px;
    left: 0;
    position: absolute;
    background: linear-gradient(to top left, rgba(255, 17, 0, 0) 50%, rgba(234, 118, 40, 0.35) 50%) !important;
}

#equipe-home .membre-photo-conseil span {
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15.22%;
    height: 33%;
    background: linear-gradient(to top left, rgba(61, 133, 198, 0) 50%, rgb(234, 118, 40) 50%) !important;
}


#equipe-home .membre-photo-culture span:before {
    content: "";
    display: block;
    top: 0px;
    left: 0;
    position: absolute;
    width: 197%;
    height: 193.18%;
    background: linear-gradient(to top left, rgba(67, 182, 235, 0) 50%, rgba(0, 141, 140, 0.15) 50%) !important;
}

#equipe-home .membre-photo-culture span:after {
    content: "";
    display: block;
    width: 149.25%;
    height: 151.5%;
    top: 0px;
    left: 0;
    position: absolute;
    background: linear-gradient(to top left, rgba(255, 17, 0, 0) 50%, rgba(0, 141, 140, 0.35) 50%) !important;
}

#equipe-home .membre-photo-culture span {
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15.22%;
    height: 33%;
    background: linear-gradient(to top left, rgba(61, 133, 198, 0) 50%, rgb(0, 141, 140) 50%) !important;
}

#equipe-home .membre-photo-graph span:before {
    content: "";
    display: block;
    top: 0px;
    left: 0;
    position: absolute;
    width: 197%;
    height: 193.18%;
    background: linear-gradient(to top left, rgba(67, 182, 235, 0) 50%, rgba(220, 1, 115, 0.15) 50%) !important;
}

#equipe-home .membre-photo-graph span:after {
    content: "";
    display: block;
    width: 149.25%;
    height: 151.5%;
    top: 0px;
    left: 0;
    position: absolute;
    background: linear-gradient(to top left, rgba(255, 17, 0, 0) 50%, rgba(220, 1, 115, 0.35) 50%) !important;
}

#equipe-home .membre-photo-graph span {
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15.22%;
    height: 33%;
    background: linear-gradient(to top left, rgba(61, 133, 198, 0) 50%, #dc0173 50%) !important;
}

/*Actualités*/
#actus-home .titre-section {
    display: block;
    position: absolute;
    margin: 0 auto;
    width: 100%;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    top: 50%;
    /* poussé de la moitié de hauteur du référent */
    transform: translateY(-50%);
    /* tiré de la moitié de sa propre hauteur */
    font-family: 'Rozha One', "Times New Roman", Times, serif;
    font-size: 3.5em;
    line-height: 0.8em;
}

#actus-home .titre-section span {
    font-size: 0.6em;

}

#actus-home .presentation {
    color: #ffffff;
    text-align: center;
    font-size: 0;
    line-height: 1.2;
    font-size: 30px;
}

#actus-home .presentation .titre_actu {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1em;
    padding: 10px;
    margin-bottom: 0.5em;
}

#actus-home .presentation .desc_actu {
    font-size: 0.5em;
    padding: 10px;
}

#actus-home .actu-thumbnail {
    position: relative;
    overflow: hidden;
}

#actus-home .actu {
    position: relative;
    max-width: 440px;
    text-align: center;
    margin: 0 auto;
}

#actus-home .actu .presentation {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#actus-home .actu:hover .presentation,
#actus-home .actu-thumbnail img {
    display: block;
}

#actus-home .actu-thumbnail span {
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 15.22%;
    height: 33%;
    background: linear-gradient(to top left, rgba(124, 85, 159, 0) 50%, rgba(124, 85, 159, 1) 50%);
}

#actus-home .actu:hover .actu-thumbnail span {
    animation: fadeInDiag .5s ease forwards;
    animation-delay: 0;
}

#actus-home .grid {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex: 0 1 auto;
    -webkit-box-flex: 0;
    flex: 0 1 auto;
    -ms-flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

#actus-home .col-1-3 {
    margin-bottom: 20px;
    float: none;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    max-width: 100%;
    -ms-flex: 0 0 auto;
    -webkit-box-flex: 0;
    flex: 0 0 auto;
}

#actus-home .all-actus-button,
.document-link-container {
    margin: 20px auto;
    clear: both;
    text-align: center;
    width: 100%;
}

#actus-home .all-actus-button a,
.document-link-container .document-link {
    display: inline-block;
    background-color: #7C559f;
    padding: 10px 20px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff !important;
    transition: all .2s ease-in-out;
    opacity: 1;
}

#actus-home .all-actus-button a:hover,
.document-link-container .document-link:hover {
    opacity: 0.8;
}

@keyframes fadeInDiag {
    0% {
        opacity: 1;
        width: 15.22%;
        height: 33%;
        background: linear-gradient(to top left, rgba(124, 85, 159, 0) 50%, rgba(124, 85, 159, 1) 50%);
    }

    100% {
        opacity: 1;
        width: 200%;
        height: 200%;
    }
}




#equipe-home .membre-photo span:after,
#actus-home .actu-thumbnail span:after {
    content: "";
    display: block;
    width: 149.25%;
    height: 151.5%;
    top: 0px;
    left: 0;
    position: absolute;
    background: linear-gradient(to top left, rgba(124, 85, 159, 0) 50%, rgba(124, 85, 159, 0.35) 50%);
}

#equipe-home .membre-photo span:before,
#actus-home .actu-thumbnail span:before {
    content: "";
    display: block;
    top: 0px;
    left: 0;
    position: absolute;
    width: 197%;
    height: 193.18%;
    background: linear-gradient(to top left, rgba(124, 85, 159, 0) 50%, rgba(124, 85, 159, 0.2) 50%);
}

#partenaires-home .titre-section {
    display: block;
    margin: 0 auto 30px;
    width: 100%;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Rozha One', "Times New Roman", Times, serif;
    font-size: 3.5em;
}

/*--------------------------------------------------------------
## PROJET
--------------------------------------------------------------*/

.slide,
.intro-visuel,
.intro-article,
.intro-projet {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 350px;
    z-index: 1;
    overflow: hidden;
}

.intro-visuel {
    max-height: 800px;
}

.intro-visuel.lequipe {
    min-height: 100px !important;
}

.home .container-visuel_slider {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 50%;
    -ms-transform: translate3d(-50%, 0, 0);
    -webkit-transform: translate3d(-50%, 0%, 0);
    transform: translate3d(-50%, 0, 0);
}

.container-visuel_slider {
    width: auto;
    z-index: -100;
    display: block;
    height: 100%;
}

.projets .container-visuel_slider {
    height: 200px;
    background: #7c559f;
}

.article .intro-article .container-article_bg {
    height: 250px;
    background: #7c559f;
}

.container-visuel_slider img {
    width: 100%;
    min-height: 350px;
    display: block;
    height: auto;
    object-fit: cover;
}

.article .container-visuel_slider {
    /* -webkit-filter: grayscale(100%);
     Safari 6.0 - 9.0 
    filter: grayscale(100%);*/
    position: relative;
    max-height: 911px;
}

.article .container-visuel_slider {
    max-height: 400px;
}

.article .container-article_bg {
    height: 250px;
    background-color: #3f3f3f;
}

.article .container-visuel_slider:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.slide .titres,
.intro-visuel .titres,
.intro-article .titres,
.intro-projet .titres {
    position: absolute;
    width: 100%;
    bottom: 20px;
    font-size: 5em;
}

/* .intro-article .titres,
.intro-projet .titres {
    padding: 0 130px;
} */

.slide .titre_slide,
.intro-visuel .titre_slide,
.intro-article .titre_slide,
.intro-projet .titre_slide {
    font-family: var(--wp--preset--font-family--spectral);
    font-size: 1em;
    color: #fff;
    text-align: right;
    text-transform: uppercase;
    line-height: 0.92;
    margin: 0;
    font-weight: normal;
    font-size: 0.9em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.intro-projet .titre_slide.small {
    font-size: 0.6em;
}

.intro-projet .titre_slide,
.swiper .titre_slide,
.projets .titre_slide,
.intro-article .titre_slide,
.intro-article .titres {
    text-align: center;
}

.page-template-actualites .intro-visuel .titre_slide {
    color: #ffffff;
}

.intro-visuel .titre_slide,
.intro-article .titre_slide,
.intro-projet .titre_slide {
    margin: 0;
}

.slide .titre_slide span,
.replace-o span {
    color: #7c559f;
}

.slide .perfecto-tech .titre_slide span,
.replace-o span.tech {
    color: #3d85c6;
}

.slide .perfecto-culture .titre_slide span,
.replace-o span.culture {
    color: #008d8c;
}

.slide .perfecto-conseil .titre_slide span,
.replace-o span.conseil {
    color: #ea7628;
}

.slide .titre_slide span.tech,
.perfecto-tech .replace-o span {
    color: #3d85c6;
}

.slide .titre_slide span.media,
.perfecto-media .replace-o span,
.perfecto-conseil .replace-o span {
    color: #ea7628;
}

.slide .titre_slide span.culture,
.perfecto-culture .replace-o span {
    color: #008d8c;
}

.slide .soustitre_slide,
.intro-visuel .soustitre_slide,
.intro-projet .soustitre_slide {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5em;
    font-weight: lighter;
    text-align: right;
    line-height: 1;
    color: #fff;
    margin-top: 3%;
    margin-bottom: 0;
}

.intro-projet .soustitre_slide,
.swiper .soustitre_slide,
.projets .soustitre_slide {
    text-align: center;
}

.titre_slide {
    text-align: right;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 89px;
    font-weight: lighter;
    color: white;
    text-transform: uppercase;
    line-height: 1;
    white-space: initial;
    margin-bottom: 65px;
    margin-top: 100px;
}

.soustitre_slide {
    text-align: end;
    font-family: 'Montserrat', sans-serif;
    font-weight: lighter;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: right;
    margin: 0;
}

.article .list-terms {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.16em;
    list-style: none inside;
    padding: 0;
    text-align: center;
    margin: 60px auto 0;
    z-index: 2;
    position: relative;
    max-width: 1440px;
}

.article .intro-article .list-terms {
    margin-top: 10px;
}

.article .presentation-article .list-terms {
    font-size: 1em;
    list-style: none inside;
    padding: 0;
    text-align: center;
    margin: 0 0 30px;
    z-index: 2;
    position: relative;
    max-width: none;
    text-align: left;
}

.article .presentation-article .list-terms li {
    display: inline-block;
    margin-right: 10px;
}

.article .presentation-article .list-terms li:after {
    content: "|";
    margin-left: 10px;
}

.article .presentation-article .list-terms li:last-child:after {
    content: none;
}

.article .presentation-article a {
    color: #7c559f;
}

.article .presentation-article .wp-block-button a {
    color: white;
}

.article .presentation-article a:hover {
    text-decoration: none;
}

.article .intro-projet li,
.article .intro-article li {
    display: inline-block;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    line-height: 2em;
}

.article .intro-projet li a,
.article .intro-article li a {
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
}

.article .intro-projet li a:hover,
.article .intro-article li a:hover {
    text-decoration: underline;
}

.presentation-projet,
.presentation-article {
    position: relative;
    padding: 0 25px;
    margin-top: 100px;
    margin-bottom: 150px;
    font-weight: 300;
}

.article .surtitre {
    font-size: 1.25em;
    color: #7c559f;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0;
    line-height: 1;
    margin-bottom: 20px;
}

.article .titre {
    position: relative;
    font-size: 2.8125em;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 40px;
    line-height: 1;
    display: inline-block;
}

.article .presentation-article .titre {
    margin: 0 0 10px;
}

.article .titre:after {
    content: "";
    display: inline-block;
    background: url('images/oblique.png') no-repeat top left transparent;
    width: 23px;
    height: 32px;
    margin-left: 5px;
}

.presentation-projet,
.presentation-article,
.blocs_contenus {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
}

.presentation-projet .introduction-projet,
.presentation-article .introduction-article {
    font-size: 1.125em;
}

.introduction-projet p {
    hyphens: none;
    word-wrap: break-word;
}

.presentation-projet .col-1-1.deux-col .introduction-projet {
    -webkit-column-width: 50%;
    -moz-column-width: 50%;
    column-width: 50%;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.presentation-projet .col-1-1 .lien-projet {
    text-align: center;
}

.presentation-projet .text-projet p {
    margin: 0 0 20px;
}

.presentation-projet .text-projet a,
.blocs_contenus .text-projet a {
    color: #7c559f;
}

.presentation-projet .text-projet ul {
    list-style-type: none;
    margin: 0;
    padding: 0 0 0 20px;
    list-style-position: inside;
}

.presentation-projet .text-projet ul li {
    margin-bottom: 20px;
}

.presentation-projet .text-projet ul li:before {
    content: "\2022";
    margin-right: 10px;
    color: #7c559f;
}

.presentation-projet .text-projet blockquote,
.blocs_contenus .text-projet blockquote {
    font-size: 1.125em;
    color: #7c559f;
    margin: 0 40px;
}

.presentation-projet .lien-projet {
    margin-top: 50px;
}

.presentation-projet .lien-projet a.btn-split {
    text-transform: uppercase;
    font-size: 1.5625em;
    color: #7c559f;
    text-decoration: none;
    letter-spacing: 0.18em;
    position: relative;
    display: inline-block;
}

.btn-split:before {
    content: "";
    display: block;
    position: absolute;
    background: #fff;
    top: 50%;
    left: -10px;
    right: -10px;
    height: 3px;
    margin-top: -3px;
    border-radius: 3px;
    transform: scale(0);
    transition: 0.3s ease-in-out all;
    z-index: 10;
}

.btn-split>span {
    clip-path: polygon(0 50%, 0 100%, 100% 100%, 100% 50%);
    display: block;
    transition: 0.3s ease-in-out all;
}

.btn-split:after {
    content: attr(data-hover);
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    transition: 0.3s ease-in-out all;
    clip-path: polygon(0 0, 0 50%, 100% 50%, 100% 0);
}

.btn-split:hover,
.btn-split:focus {
    outline: none;
    color: #fff;
}

.btn-split:hover:before,
.btn-split:focus:before {
    transform: scale(1);
}

.btn-split:hover>span,
.btn-split:focus>span {
    transform: translateX(-3px) skewX(-10deg);
}

.btn-split:hover:after,
.btn-split:focus:after {
    transform: translateX(5px) skewX(-10deg);
}

.presentation-projet .mosaique img {
    display: block;
}

.presentation-projet .mosaique img {
    display: block;
    border: 0;
    position: relative;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);
    margin: 0 auto;
}

.presentation-projet .mosaique img:hover {
    -webkit-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.25);
    z-index: 1;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.05);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.05);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.05);
    transition: all 200ms ease-in;
    transform: scale(1.05);
}

.presentation-projet .mosaique svg {
    z-index: 2;
    max-width: 58px;
    max-height: 58px;
    fill: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0 auto;
    margin-left: -29px;
    margin-top: -29px;
    display: none;
}

.presentation-projet .mosaique .col-1-2 {
    position: relative;
    text-align: center;
}

.presentation-projet .mosaique .col-1-2:hover svg {
    display: block;
}

.blocs_contenus {
    padding: 0 25px;
    margin-bottom: 150px;
}

.blocs_contenus.full_bg,
.blocs_contenus.little_bg,
.blocs_contenus.full_diag_left,
.blocs_contenus.full_diag_right {
    position: relative;
    padding-top: 40px;
}

.blocs_contenus.full_bg>div,
.blocs_contenus.little_bg>div,
.blocs_contenus.full_diag_left>div,
.blocs_contenus.full_diag_right>div {
    position: relative;
}

.blocs_contenus.full_bg:before,
.blocs_contenus.full_diag_left:before,
.blocs_contenus.full_diag_right:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
}

.blocs_contenus.full_bg:before {
    background-color: #f5f5f5;
}

.blocs_contenus.full_diag_left:before {
    background: #f5f5f5;
    background: -moz-linear-gradient(-30deg, #ffffff 0%, #ffffff 20%, #f5f5f5 20%, #f5f5f5 100%);
    background: -webkit-linear-gradient(-30deg, #ffffff 0%, #ffffff 20%, #f5f5f5 20%, #f5f5f5 100%);
    background: linear-gradient(120deg, #ffffff 0%, #ffffff 20%, #f5f5f5 20%, #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=1);
}

.blocs_contenus.full_diag_right:before {
    background: #f5f5f5;
    background: -moz-linear-gradient(60deg, #f5f5f5 0%, #f5f5f5 80%, #ffffff 80%, #ffffff 100%);
    background: -webkit-linear-gradient(60deg, #f5f5f5 0%, #f5f5f5 80%, #ffffff 80%, #ffffff 100%);
    background: linear-gradient(60deg, #f5f5f5 0%, #f5f5f5 80%, #ffffff 80%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#ffffff', GradientType=1);
}

.blocs_contenus.little_bg:before {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 600px;
    background: #f5f5f5;
    /* Old browsers */
    background: -moz-linear-gradient(-30deg, #ffffff 0%, #ffffff 80%, #f5f5f5 80%, #f5f5f5 100%);
    background: -webkit-linear-gradient(-30deg, #ffffff 0%, #ffffff 80%, #f5f5f5 80%, #f5f5f5 100%);
    background: linear-gradient(120deg, #ffffff 0%, #ffffff 80%, #f5f5f5 80%, #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=1);
}

.bloc_simple_visuel.little_bg,
.bloc_double_visuel.little_bg,
.bloc_charte_graphique.little_bg {
    padding-bottom: 40px;
}

.bloc_webdesign_visuel_droite .droite {
    padding-top: 35px;
    position: relative;
}

.bloc_webdesign_visuel_gauche .gauche {
    padding-top: 35px;
    position: relative;
}

.bloc_webdesign_visuel_droite .gauche {
    padding-right: 40px;
}

.bloc_webdesign_visuel_gauche .droite {
    padding-left: 40px;
}

.bloc_webdesign_visuel_droite .droite .bloc-degrade,
.bloc_webdesign_visuel_gauche .gauche .bloc-degrade {
    position: absolute;
    top: 0;
    width: 77%;
    height: 460px;
}

.bloc_webdesign_visuel_droite .droite .bloc-degrade {
    right: 0;
}

.bloc_webdesign_visuel_gauche .gauche .bloc-degrade {
    left: 0;
}

.bloc_webdesign_visuel_gauche .gauche {
    text-align: right;
}

.bloc_webdesign_visuel_droite .droite img,
.bloc_webdesign_visuel_gauche .gauche img,
.bloc_double_visuel img,
.bloc_simple_visuel img,
.bloc_cm img,
.bloc_quatre_visuel img,
.bloc_charte_graphique img {
    position: relative;
}

.article .shadow img,
.article .shadow iframe {
    max-width: 100%;
    object-fit: cover;
    -webkit-box-shadow: 0px 0px 25px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 25px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 25px 2px rgba(0, 0, 0, 0.25);
}

.bloc_webdesign_visuel_droite .gauche .false-container,
.bloc_visuel_full_droite_texte .gauche .false-container {
    max-width: 670px;
    float: right;
    width: 100%;
}

.bloc_webdesign_visuel_gauche .gauche .false-container,
.bloc_visuel_full_gauche_texte .gauche .false-container {
    float: right;
}

.bloc_webdesign_visuel_gauche .droite .false-container,
.bloc_visuel_full_gauche_texte .droite .false-container {
    max-width: 670px;
}

.bloc_simple_visuel .visuel {
    text-align: center;
}

.bloc_visuel_full_droite_texte .gauche {
    padding-right: 20px;
    padding-top: 150px;
}

.bloc_visuel_full_droite_texte .droite {
    text-align: right;
}

.bloc_visuel_full_gauche_texte .gauche {
    text-align: left;
}

.bloc_visuel_full_gauche_texte .droite {
    padding-right: 20px;
    padding-top: 150px;
}

.bloc_cm ul.reseaux,
.bloc_video ul.reseaux {
    list-style: none;
    font-size: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    margin-top: 10px;
}

.bloc_cm ul.reseaux li,
.bloc_video ul.reseaux li {
    width: 36px;
    height: 36px;
    display: inline-block;
    font-size: 12px;
    margin: 0 8px;
}

.bloc_cm .reseaux .instagram {
    margin-left: 0;
}

.bloc_cm .reseaux .youtube {
    margin-right: 0;
}

.bloc_cm .reseaux a svg,
.bloc_video .reseaux a svg {
    fill: #797979;
    max-height: 36px;
    max-width: 36px;
}

.bloc_cm .reseaux a svg:hover,
.bloc_video .reseaux a svg:hover {
    fill: #7c559f;
}

.bloc_cm .intro-reseaux-projet,
.bloc_video .intro-reseaux-video {
    display: inline-block;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1em;
    vertical-align: middle;
    margin: 0;
    font-size: 1.25em;
    color: #797979;
    margin-top: 10px;
}

.embedresize {
    margin: auto;
}

.embedresize video {
    position: absolute;
    min-width: 100%;
    top: 0;
    bottom: 0;
    object-fit: cover;
    object-position: center;
    height: 100%;
}

@media screen and (orientation: portrait) {
    .embedresize video {
        left: -100%;
        right: -100%;
    }
}

@media screen and (orientation: landscape) {
    .embedresize video {
        left: 0;
        right: 0;
    }
}

.embedresize div {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}

.embedresize iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.intro #intro .embedresize iframe,
.exit .quizz .embedresize iframe,
.alreadyplayed #intro .embedresize iframe,
.identityset #intro .embedresize iframe,
#notabene .embedresize iframe,
#message_intro .embedresize iframe,
.fancybox_body .embedresize iframe,
#comments .embedresize iframe,
#description .embedresize iframe,
.alreadyplayed .embedresize iframe,
#adserver .embedresize iframe {
    max-width: none !important;
}

.embedresize.slide:before {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
}

.swiper-text-container {
    z-index: 200;
}

.grid.quatre_visuel .col-1-2 {
    margin-bottom: 20px;
}

.bloc_charte_graphique .droite {
    padding-top: 50px;
    float: right;
}

.next-post,
.projet-associe .projet-associe-content {
    position: relative;
    width: 100%;
    clear: both;
}

.next-post a,
.projet-associe .projet-associe-content a {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: .2s all ease-in-out;
}

.next-post a:hover,
.projet-associe .projet-associe-content a:hover {
    color: #7c559f;
}

.next-post a:before,
.projet-associe .projet-associe-content a:before {
    content: "";
    width: 100%;
    height: 105%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+86&0.2+0,1+86,1+100 */
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#33000000', endColorstr='#000000', GradientType=1);
    /* IE6-9 */
}

.next-post .titre-next-post,
.projet-associe .projet-associe-content .titre-projet-associe {
    position: relative;
    text-align: right;
    width: 100%;
    z-index: 5;
}

.next-post h2,
.next-post .surtitre-next-post,
.projet-associe .projet-associe-content h2,
.projet-associe .projet-associe-content .surtitre-projet-associe {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.next-post h2,
.projet-associe .projet-associe-content h2 {
    font-size: 2.8125em;
    margin-bottom: 30px;
}

.next-post .surtitre-next-post,
.projet-associe .projet-associe-content .surtitre-projet-associe {
    font-size: 1.25em;
    margin: 30px auto;
}

.next-post img,
.projet-associe .projet-associe-content img {
    display: block;
    position: absolute;
    top: 0;
}


/*--------------------------------------------------------------
## BLOC FLEXIBLE BU
--------------------------------------------------------------*/
.blocs_contenus_bu {
    margin-bottom: 30px;
    font-weight: 300;
}

.blocs_contenus_bu.icone_gauche_texte,
.blocs_contenus_bu.texte_icone_droite {
    margin-bottom: 20px;
}

.blocs_contenus_bu.icone_gauche_texte p {
    margin-bottom: 5px;
    margin-top: 5px;
}

.blocvisuel {
    text-align: center;
}

.icone_gauche_texte .img,
.texte_icone_droite .img,
.icone_gauche_texte .text,
.texte_icone_droite .text {
    display: inline-block;
    vertical-align: middle;
}

.icone_gauche_texte .img,
.visuel_texte .img {
    padding-right: 20px;
}

.texte_icone_droite .text,
.texte_visuel .img {
    padding-left: 20px;
}

.troiscol_visuel_texte,
.quatrecol_visuel_texte {
    max-width: 1000px;
    margin: 0 auto 30px;
}

.troiscol_visuel_texte .col-1-3 {
    box-sizing: border-box;
    padding: 0 2%;
    text-align: center;
}

.troiscol_visuel_texte .col-1-3 img {
    display: block;
    margin: 0 auto;
}

.troiscol_visuel_texte .col-1-3 p {
    margin-top: 10px;
    margin-bottom: 0;
}

.troiscol_visuel_texte .col-1-3 p strong {
    font-size: 20px;
}

.troiscol_visuel_texte .col-1-3 p:nth-child(2) {
    margin-top: 0;
    font-size: 14px;
}

.quatrecol_visuel_texte .col-1-4 {
    box-sizing: border-box;
    padding: 0 5%;
    text-align: center;
}

.blocs_contenus_bu h2,
.wysiwyg h2,
.blocs_contenus_bu h3,
.wysiwyg h3 {
    font-weight: 700;
    text-align: center;
}

.blocs_contenus_bu h2,
.wysiwyg h2 {
    font-size: 32px;
}

.blocs_contenus_bu h3,
.wysiwyg h3 {
    font-size: 24px;
    color: #000;
}

.container-perfecto-tech .blocs_contenus_bu h2,
.container-perfecto-tech .wysiwyg h2 {
    color: #3d85c6;
}

.container-perfecto-conseil .blocs_contenus_bu h2,
.container-perfecto-media .blocs_contenus_bu h2,
.container-perfecto-conseil .wysiwyg h2,
.container-perfecto-media .wysiwyg h2 {
    color: #ea7628;
}

.grecaptcha-badge {
    visibility: hidden;
}

p.small {
    font-size: small;
}

/* ==========================================================================
         Grid
         ========================================================================== */
.grid,
.grid-full {
    margin: 0 0 0 0;
}

.grid:before,
.grid:after,
.grid-full:before,
.grid-full:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.grid:after,
.grid-full:after {
    clear: both;
}

.grid-full {
    width: 100%;
}

[class*='col-'] {
    float: left;
    margin-right: 20px;
}

.grid-full [class*='col-'] {
    float: left;
    margin-right: 0;
}

[class*='col-'].col-right,
.grid-full [class*='col-'].col-right {
    float: right;
}

.col-1-1 {
    width: 100%;
    margin-right: 0;
}

.col-1-2 {
    width: calc(50% - 20px);
}

.col-1-3 {
    width: calc(33.33% - 20px);
}

.col-2-3 {
    width: calc(66.66% - 20px);
}

.col-1-4 {
    width: calc(25% - 20px);
}

.col-3-4 {
    width: calc(75% - 20px);
}

.col-1-8 {
    width: calc(12.5% - 20px);
}

.col-7-8 {
    width: calc(87.5% - 20px);
}

.offset-1-8 {
    margin-left: calc(12.5%);
}

.col-1-6 {
    width: calc(16.66% - 20px);
}

.col-5-6 {
    width: calc(83.33% - 20px);
}

.offset-1-6 {
    margin-left: 16.66%;
}

.offset-2-6 {
    margin-left: 33.32%;
}

.grid-full .col-1-2 {
    width: 50%;
}

.grid-full .col-1-3 {
    width: 33.33%;
}

.grid-full .col-2-3 {
    width: 66.66%;
}

.grid-full .col-1-4 {
    width: 25%;
}

.grid-full .col-3-4 {
    width: 75%;
}

.grid-full .col-1-8 {
    width: 12.5%;
}

.grid-full .col-7-8 {
    width: 87.5%;
}

.grid-full .col-1-6 {
    width: 16.66%;
}

.grid-full .col-5-6 {
    width: 83.33%;
}

.grid-full .col-1-2 {
    width: 50%;
}

.grid-full .col-1-3 {
    width: 33.33%;
}

.grid-full .col-2-3 {
    width: 66.66%;
}

.grid-full .col-1-4 {
    width: 25%;
}

.grid-full .col-3-4 {
    width: 75%;
}

.grid-full .col-1-8 {
    width: 12.5%;
}

.grid-full .col-7-8 {
    width: 87.5%;
}

.grid-full .col-1-6 {
    width: 16.66%;
}

.grid-full .col-5-6 {
    width: 83.33%;
}

/* Opt-in outside padding */
.grid-pad {
    padding: 5% 0 5% 5%;
}

.grid-pad [class*='col-']:last-of-type {
    padding-right: 5%;
}

.module {
    padding: 5%;
}

/* form css */
.entry-content .form-content {
    font-size: 0;
}

.entry-content .halfwidth {
    width: 49%;
    display: inline-block;
    font-size: 18px;
    margin-bottom: 20px;
    margin-left: 2%;
}

.entry-content .halfwidth.first {
    margin-left: 0;
}

.entry-content .totalwidth {
    width: 100%;
    font-size: 18px;
    display: block;
    margin-bottom: 20px;
}

.entry-content .halfwidth label {
    display: block;
    width: 100%;
}

.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap select {
    width: 100%;
    height: 35px;
}

.wpcf7-form-control-wrap textarea {
    resize: none;
    height: auto;
}

.wpcf7-form p.center {
    text-align: center;
}

.wpcf7-form input[type="submit"] {
    background-color: #7c559f;
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    border-color: #7c559f;
    padding: 10px 20px;
    margin-left: 72px;
}

.wpcf7-form input[type="submit"]:hover {
    cursor: pointer;
    background-color: #fff;
    color: #7c559f;
}

@keyframes fadeInRight {
    0% {
        left: calc(-40% + 60px);
    }

    100% {
        left: 0;
    }
}

@keyframes fadeInLeft {
    0% {
        left: 0;
    }

    100% {
        left: calc(-40% + 60px);
    }
}

@keyframes fadeInRightmobile {
    0% {
        left: calc(-45% + 60px);
    }

    100% {
        left: 0;
    }
}

@keyframes fadeInLeftmobile {
    0% {
        left: 0;
    }

    100% {
        left: calc(-45% + 60px);
    }
}

@media screen and (min-width: 1025px) {
    .hidden-desktop {
        display: none;
    }
}

@media screen and (max-width: 1024px) {

    .col-filter.open {
        animation: fadeInRight .5s ease forwards;
        animation-delay: 0;
    }

    .col-filter {
        width: 40%;
        z-index: 10;
        position: absolute;
        left: calc(-40% + 60px);
        top: 0;
        height: 100%;
        background: #fff;
        animation: fadeInLeft .5s ease forwards;
        animation-delay: 0;
        min-height: 700px;
    }

    .bu-menu ul {
        flex-direction: row;
        flex-wrap: nowrap !important;
        margin: 0 0 0.5em 1em !important;
        padding: 0 4rem 0 0;
    }

    .img-site-title {
        width: 50px;
        display: none;

    }

    .overlay nav.principal ul {
        margin-top: 2%;
    }

    #projets-home,
    #equipe-home,
    #actus-home {
        padding-bottom: 60px;
    }

    #projets-home .grid-full {
        padding: 0 20px;
    }

    #projets-home .bloc-titre-section {
        height: 265px;
    }

    #equipe-home .bloc-titre-section,
    #actus-home .bloc-titre-section {
        height: 278px;
        margin-bottom: 30px;
    }

    #projets-home .bloc-titre-section,
    #equipe-home .bloc-titre-section,
    #actus-home .bloc-titre-section {
        font-size: 16px;
    }

    #equipe-home .titre-section,
    #actus-home .titre-section {
        font-size: 3.125em;
    }

    .col-projet article .projet-texte .projet-titre span,
    .bu-projet article .projet-texte .projet-titre span {
        font-size: 1.3em;
    }

    #projets-home .projet-home .projet-texte .list-terms {
        display: none;
    }

    /* #projets-home .projet-home .projet-texte, */
    /* .col-projet article .projet-texte,
    .bu-projet article .projet-texte {
            display: block;
            top:auto;
            bottom:0;
            transform: none;
    } */
    #projets-home .bloc-titre-section,
    #equipe-home .bloc-titre-section,
    #actus-home .bloc-titre-section {
        height: 195px;
    }

    #projets-home .col-1-3 {
        width: 100%;
    }

    #projets-home .col-1-3.projet-col-droite {
        float: none;
        width: 100%;
    }

    #projets-home .projet-home {
        max-width: 640px;
        margin: 0 auto;
    }

    #projets-home .projet-home .projet-texte .projet-titre a {
        font-size: 2.2em;
    }

    #projets-home .projet-home .projet-texte,
    .col-projet article .projet-texte,
    .bu-projet article .projet-texte {
        position: absolute;
        font-family: 'Montserrat', Arial, Helvetica, sans-serif;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        top: 50%;
        /* poussÃ© de la moitiÃ© de hauteur du rÃ©fÃ©rent */
        transform: translateY(-50%);
        /* tirÃ© de la moitiÃ© de sa propre hauteur */
        text-align: center;
        z-index: 3;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    }

    .realisations-home .postsbytypearticle a.over:before,
    #projets-home .projet-home.over:before,
    .col-projet article a.over:before,
    .bu-projet article a.over:before,
    #projets-home .projet-home:before,
    .col-projet article a:before,
    .bu-projet article a:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #7C559f;
        opacity: 0.5;
        z-index: 2;
        display: block;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .realisations-home .postsbytypearticle a .projet-titre,
    #projets-home .projet-home .projet-texte .projet-titre,
    .col-projet article .projet-texte .projet-titre,
    .bu-projet article .projet-texte .projet-titre {
        position: relative;
        z-index: 5;
    }

    .col-projet article .projet-texte .projet-titre,
    .bu-projet article .projet-texte .projet-titre {
        padding: 0 15px;
        margin: 10px 0;
    }

    .col-projet article .projet-texte span,
    .bu-projet article .projet-texte span {
        margin-bottom: 10px;
    }

    .col-projet article .projet-texte svg,
    .bu-projet article .projet-texte svg {
        max-width: 40px;
        max-height: 40px;
    }

    #equipe-home .col-1-3,
    #actus-home .col-1-3 {
        width: 100%;
        margin: 0 auto;
        clear: both;
        float: none;
    }

    #equipe-home .membre,
    #actus-home .membre {
        text-align: left;
        max-width: 100%;
        margin-bottom: 30px;
    }

    #equipe-home .membre .presentation,
    #equipe-home .membre .membre-photo,
    #actus-home .membre .presentation,
    #actus-home .membre .membre-photo {
        width: 50%;
        float: left;
    }

    #equipe-home .membre .presentation,
    #actus-home .membre .presentation {
        display: block;
        position: relative;
        color: #000;
        margin: 15px 0;
    }

    #equipe-home .presentation p,
    #actus-home .presentation p {
        margin: 20px 0;
    }

    #equipe-home .membre.over .membre-photo span,
    #actus-home .membre.over .membre-photo span {
        animation: none !important;
    }

    #equipe-home .reseaux li {
        margin: 15px;
    }

    #equipe-home .reseaux svg {
        fill: #000000;
        max-height: 58px;
        max-width: 58px;
    }

    #equipe-home .reseaux svg:hover {
        fill: #7C559f;
    }

    .slide .titres,
    .intro-visuel .titres {
        top: 52%;
        font-size: 2.5em;
        padding-left: 120px;
    }

    .intro-projet .titre_slide.small {
        font-size: 0.5em;
    }

    .article .list-terms {
        margin-top: 20px;
    }

    .list-projet {
        position: relative;
    }

    .col-filter.open {
        animation: fadeInRight .5s ease forwards;
        animation-delay: 0;
    }

    .col-filter {
        width: 40%;
        z-index: 10;
        position: absolute;
        left: calc(-40% + 60px);
        top: 0;
        height: 100%;
        background: #fff;
        animation: fadeInLeft .5s ease forwards;
        animation-delay: 0;
        min-height: 700px;
    }

    .col-filter .post-tags .tax-filter {
        opacity: 0;

    }

    .col-filter.open .post-tags .tax-filter {
        opacity: 1;

    }

    .col-filter .post-tags {
        padding: 50px 30px 40px 30px;

    }

    .col-filter .tax-filter {
        font-size: 14px;
        padding-left: 25px;
    }

    .col-filter #btn-col-filter {
        position: absolute;
        right: 10px;
        width: 40px;
        height: 40px;
        top: 10px;
        display: block;
        transition: 0.5s;
        -webkit-transition: 0.5s;
        -moz-transition: 0.5s;
        -ms-transition: 0.5s;
        -o-transition: 0.5s;
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
        /*display: none;*/
    }

    .col-filter #btn-col-filter svg {
        fill: #7C559f;
        max-width: 40px;
        max-height: 40px;
    }

    .col-filter #btn-col-filter svg:hover {
        fill: #000;
    }

    .col-filter.open #btn-col-filter {
        transition: 0.70s;
        -webkit-transition: 0.70s;
        -moz-transition: 0.70s;
        -ms-transition: 0.70s;
        -o-transition: 0.70s;
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .col-projet {
        /*width:100%;*/
        width: calc(100% - 60px);
        position: relative;
        z-index: 3;
        min-height: 700px;
    }

    .grid-full .col-projet {
        float: right;
    }

    .presentation-projet {
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .banner-doc {
        top: -146px;
        min-width: 700px;
    }

}

@media screen and (max-width: 769px) {

    .bu-menu {
        height: auto;
        text-align: center;
        top: 0px;
    }

    .nav-burger {
        top: 2em;
    }

    .menu-menu-bu-container {}

    .overlay nav.secondaire .menu-article-container {
        width: 100%;
    }

    .overlay.open .content-overlay {
        padding-bottom: 1%;
        position: fixed;
    }

    .overlay nav.principal {
        font-size: 36px;
    }

    .overlay .container-menu {
        justify-content: space-around;
        width: 85%;
        margin: auto;
        margin-top: 7%;
    }

    .site-title {
        left: 30px;
        top: 40px;
    }

    .overlay nav.principal ul {
        margin-top: 0;
        margin-left: 0;
        margin-bottom: -7px;
    }

    .overlay .reseaux a svg {
        max-width: 25px;
        max-height: 25px;
    }

    .overlay .reseaux {
        padding-bottom: 0px;
    }

    #masthead.stick {
        top: 0;
    }




    .overlay:before {
        content: "";
        display: none;
        background-color: rgba(0, 0, 0, 0.6);
        position: fixed;
        width: 100%;
        height: 100%;
        z-index: 20;
        opacity: 0;
        top: 0;
    }

    .overlay.open:before {
        display: block;
        animation: opacityCustom .5s ease forwards;
        animation-delay: .35s;
    }


    body,
    button,
    input,
    select,
    optgroup,
    textarea {}


    .overlay nav.principal {
        /*width: 90%;*/
    }


    .hidden-mobile {
        display: none !important;
    }

    #slider .slick-arrow {
        display: none !important;
    }

    .article .list-terms {
        font-size: 0.25em;
    }

    #projets-home .projet-link strong {
        font-size: 2.6em;
    }

    #equipe-home .offset-1-6,
    #actus-home .offset-1-6 {
        width: 0;
    }

    #equipe-home .presentation,
    #actus-home .presentation {
        font-size: 24px;
    }

    #equipe-home .reseaux li {
        font-size: 44px;
        max-width: 44px;
    }

    #equipe-home .reseaux svg {
        max-height: 44px;
        max-width: 44px;
    }

    .col-projet article .projet-texte svg .bu-projet article .projet-texte svg {
        display: none;
    }

    .col-filter .post-tags {
        padding: 60px 20px 40px 20px;
    }

    .grid-full .col-1-2,
    .grid .col-1-2 {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }

    .footer-bottom .grid-full .col-1-2 {
        text-align: center;
    }

    .tagged-posts.grid-full .col-1-2 {
        margin-bottom: 0;
    }

    .bloc_visuel_full_droite_texte .gauche,
    .bloc_visuel_full_gauche_texte .droite,
    .bloc_charte_graphique .droite {
        padding-right: 0;
        padding-left: 0;
        padding-top: 0;
        float: none;
    }

    .blocs_contenus.full_bg:before,
    .blocs_contenus.full_diag_left:before,
    .blocs_contenus.full_diag_right:before,
    .blocs_contenus.little_bg:before {
        background: transparent;
    }

    .bloc_simple_visuel.little_bg,
    .bloc_double_visuel.little_bg,
    .bloc_charte_graphique.little_bg {
        padding-bottom: 0;
    }

    .text-projet ul,
    .text-projet ol {
        margin: 0 0 1.5em 1em;
        padding-left: 1.5em;
    }

    .presentation-projet .text-projet blockquote,
    .blocs_contenus .text-projet blockquote {
        margin: 0 0 0 20px;
    }

    /*.article .container {
        padding-left:0;
    }*/
    .troiscol_visuel_texte .grid-full .col-1-3 {
        width: 100%;
        float: none;
    }

    .quatrecol_visuel_texte .grid-full .col-1-4 {
        width: 50%;
        min-height: 220px;
    }

    /* Responsive */
    .blocs_contenus_bu {
        padding: 0 20px;
    }

    .slide .titres,
    .intro-visuel .titres,
    .intro-article .titres,
    .intro-projet .titres {
        font-size: 4em;
    }

    .visuel_texte .text,
    .visuel_texte .img,
    .texte_visuel .text,
    .texte_visuel .img {
        display: block;
        width: 100%;
    }

    .visuel_texte .img,
    .texte_visuel .img {
        text-align: center;
    }

    .container {
        padding: 0 20px;
        box-sizing: border-box;
    }

    .footer-bottom.container {
        padding: 20px 20px 0;
    }

    .entry-content .halfwidth {
        width: 100%;
        display: block;
        margin-left: 0;
    }

    .banner-doc {
        top: -135px;
        min-width: 500px;
    }
}

@media screen and (max-width: 560px) {
    /*.bu-menu{
        display: none;
    }*/

    .slide .titres,
    .intro-visuel .titres,
    .intro-article .titres {
        top: 52%;
        font-size: 2em;
        padding-left: 50px;
    }

    .footer-adress-rs-container {
        margin: auto;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-top .footer-bu {
        display: inline;
        justify-content: center;
    }

    .footer-bu img {
        width: 65px;
    }

    .menu-footer ul {
        white-space: nowrap;
        text-align: center;
        margin: 0;
        margin-top: 0px;
        margin-top: 50px;
        padding-left: 0;
    }

    a.button_link-bu-footer.bu-button-slider {
        display: block;
        width: 90%;
    }

    a.button_link-bu-footer {
        text-align: center;
        margin: auto;
        font-size: 15px;
    }


    .overlay nav.principal {
        font-size: 25px;
    }

    .page-template-projets .grid-full .col-projet {
        padding: 0;
    }

    .col-projet article .projet-texte .projet-titre span,
    .bu-projet article .projet-texte .projet-titre span {
        font-size: 1.2em;
    }

    /* .site-title.open,
    #masthead.stick.open .site-title.open {
        width: 50px;
        top: 10px;
        left: 20px;
    } */

    #masthead.stick.open .nav-burger {
        top: 35px;
    }

    #projets-home .projet-home .projet-texte,
    .col-projet article .projet-texte,
    .bu-projet article .projet-texte {
        font-size: 18px;
    }

    #equipe-home .presentation,
    #actus-home .presentation {
        font-size: 20px;
    }

    #equipe-home .presentation p,
    #actus-home .presentation p {
        margin: 10px 0;
    }

    #equipe-home .reseaux svg {
        max-height: 46px;
        max-width: 46px;
    }

    .col-filter.open {
        animation: fadeInRightmobile .5s ease forwards;
    }

    .col-filter {
        animation: fadeInLeftmobile .5s ease forwards;
        width: 45%;
        left: calc(-45% + 60px);
    }

    .col-filter .tax-filter {
        font-size: 12px;
        letter-spacing: 0.05em;
    }

    .col-projet {
        width: calc(100% - 60px);
    }

    @keyframes fadeInRightmobile {
        0% {
            left: calc(-45% + 60px);
        }

        100% {
            left: 0;
        }
    }

    @keyframes fadeInLeftmobile {
        0% {
            left: 0;
        }

        100% {
            left: calc(-45% + 60px);
        }
    }

    .col-filter .post-tags {
        padding: 50px 15px 40px 15px;
    }

    .next-post .titre-next-post {
        top: 15%;
    }

    .next-post .surtitre-next-post,
    .next-post h2 {
        display: inline-block;
        width: auto;
    }

    .next-post h2 {
        font-size: 1.5em;
        padding-left: 10px;
    }

    .banner-doc {
        top: -135px;
        min-width: 100%;
    }

    .article .titre {
        font-size: 1.7em;
    }
}