:root {
    --topMarge: 5svh;
    --side-base: 7vw;
    --sideCarre: auto;
    --largeurCarre: 55vw;
    --sens: 90deg;
    --Noir: #000000;
    --Blanc: #FFFFFF;
    --Gris: #A0A0A0;
}


::selection {
    background-color: var(--Noir);
    color: var(--Blanc);
}

/* Firefox */
::-moz-selection {
    background-color: var(--Noir);
    color: var(--Blanc);
}

/* width */
::-webkit-scrollbar {
    width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--Blanc);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--Noir);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--Noir);
    width: 2px;
}
body{
    background: var(--Blanc);
}
#container{
    background: var(--Blanc);
    padding: 0;
}
* {
    font-family: "tenon", sans-serif;
    font-weight: 350;
    color: var(--Noir);
}





/* Texte principaux */

h1, h2, h3{
    color: var(--Noir);
    font-style: normal;
    font-weight: 350;
}

h1{
    font-size: 45px;
    line-height: 105%; /* 152.88px */
    letter-spacing: -1.56px;
    margin-bottom: 10px;
}

h2{
    font-size: 45px;
    line-height: 115%; /* 66.96px */
    margin: 0;
}

h3{
    color: var(--Noir);
    font-size: 45px;
    line-height: 115%; /* 23.76px */
    margin: 0;
}

p{
    font-size: 25px;
    font-style: normal;
    line-height: 130%; /* 27.06px */
    margin: 0 0 30px 0;
}


/*
    base composants
*/

/* carre */

.carre{
    margin: var(--sideCarre);
    width: var(--largeurCarre);
    max-width: 795px;
    min-height: var(--largeurCarre);
    max-height: 795px;
    background-color: var(--Noir);
    color: var(--Blanc);
    padding: 74px 76px;
}

.carre.white{
    background-color: var(--Blanc);
}

.carre.invisible{
    background-color: rgba(255, 255, 255, 0);
}

video.carre, img.carre{
    padding: 0;
    object-fit: cover;
    object-position: center;
    margin: 0;
    aspect-ratio: 1 / 1;
}

.carre.fit{
    height: fit-content;
    aspect-ratio: unset;
    min-height: unset;
}

.carre.no_padding{
    padding-right: 0;
    padding-left: 0;
}

.carre.no_padding h2{
    margin-bottom: 28px;
}

.carre.small_pad{
    padding-top: 50px;
    padding-bottom: 50px;
}

.carre.no_pad_top.small_pad{
    padding-top: 0;
    padding-bottom: 50px;
}


/* swiper */

.swiper{
    /*width: 100%; pour certaint slider */
    width: var(--largeurCarre);
    max-width: 795px;
}

.swiper-slide>a{
    display: block;
    height: 100%;
    width: 100%;
}

.swiper-slide img{
    display: block;
    height: 100%;
    width: 100%;
}

.main_swiper .swiper-slide>a{
    aspect-ratio: 1 / 1;
    height: auto;
}

.pack_small_carrousel .swiper-slide img{
    aspect-ratio: 1 / 1;
}

.swiper-navigation-icon{
    display: none;
}

.pack_small_carrousel{
    width: fit-content;
    margin: 52px auto 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pack_small_carrousel .fleche_next{
    position: static !important;
    min-width: 33px;
    min-height: 10px;
    width: 9vw;
    height: 3vw;
    max-width: 74px;
    max-height: 22px;
    display: block;
    margin-top: 40px !important;
}

.no_visible{
    opacity: 0;
}


/* lettre */

.lettre_pc{
    position: absolute;
    width: 18vw;
    max-width: 224px;
    z-index: 1;
    right: 16px;
}

.lettre_pc.important{
    position: absolute !important;
    width: 18vw !important;
    z-index: 1 !important;
    right: 16px !important;
}

.lettre_pc.o{
    top: var(--topMarge);
    height: 16vw;
    max-height: 224px;
}

.lettre_pc.a_right, .lettre_pc.a_left {
    top: calc( 5svh + 16vw + 20px)  !important;
    height: 18vw;
    max-height: 260px;
}

.lettre_pc.a_left{
    right: auto !important;
    left: 16px !important;
}

.a_left:hover{
    transform: translateX(-6px);
}

.a_right:hover{
    transform: translateX(6px);
}

.lettre_pc.m{
    bottom: 100%;
    height: 36vw;
    max-height: 448px;
}

.lettre_pc.boo{
    top: 0;
    height: 54vw;
    max-height: 671px;
}


/****************************/


/* header */

.menu-toggled {
    overflow: auto;
}

#header{
    padding: 0;
    height: auto;
    position: absolute;
    pointer-events: none;
}

#menu{
    width: 100%;
    margin: 0;
}

#menu>#main-menu-container{
    height: auto;
    margin-top: var(--topMarge);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    opacity: 0;
    position: relative;
}

#menu>#main-menu-container>div, #menu .menu li, #menu .menu li>a{
    width: 100%;
}

#menu .menu{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

#menu .menu li>a{
    margin: 0;
    font-size: 70px;
    font-style: normal;
    font-weight: 350;
    line-height: 127%; /* 88.9px */
    display: block;
    text-transform: unset;
    letter-spacing: 0px;
}

#menu .menu>.current_page_item>a{
    color: var(--Blanc);
}

#menu .menu li:hover>a{
    transform: translateX(10px);
}

.logo_menu{
    transform-origin: bottom left;
}

.logo_menu:hover{
    transform: scale(1.2);
}

#menu.toggled>#main-menu-container{
    height: auto;
    pointer-events: auto;
    opacity: 1;
}

.o.menu-toggle{
    display: block !important;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    transition: 0.2s ease-in-out ;
    animation: blops 10s ease-in-out infinite;
}

@keyframes blops {
    0%, 40% ,48%, 60%, 100%  { transform: scale(1); }
    42%, 46%, 52%, 56% { transform: scale(0.94); }
    44%, 54%  { transform: scale(1.06); }
    58%  { transform: scale(1.02); }
}

.o.menu-toggle path, .elt .menu-toggle path{
    transform-origin: center;
}

.o.menu-toggle:hover path, .elt .menu-toggle:hover path{
    transform: scale(0.9);
}

.menu-toggled .menu-toggle path{
    opacity: 0.4;
}

.page-id-30 #menu .o.menu-toggle{
    display: none !important;
}

.menu-toggled body{
    overflow-y: hidden;
    height: 100svh !important;
}

.menu-toggled .disparait{
    opacity: 0;
    transform: translateY(60%);
}

.lang-switcher, .lang-switcher a, .lang-switcher span{
    color: var(--Blanc);
}

.lang-switcher{
    font-size: 16px;
    display: inline-flex; /* obligatoire si ce n'est pas déjà le cas */
    vertical-align: top;   /* aligne sur le haut */
    gap: 5px;
    margin: 10px auto auto 0;
}

.lang-switcher a{
    font-size: 20px;
}

/* accueil */

.section_accueil_1{
    margin-top: calc(100svh - var());
}

.section_accueil_1>div:first-of-type{
    display: grid;
    /*min-height: 100svh;*/
}

.section_accueil_1>div>div{
    grid-area: 1 / 1;
}

.section_accueil_1>div .carre:first-child{
    display: flex;
    margin-top: 5svh;
}

.section_accueil_1 .carre h1{
    margin: auto auto 0 0;
    color: var(--Blanc);
    max-width: 450px;
    line-height: 108%;
}

.fleche_special{
    display: none;
    position: static !important;
    height: 100% !important;
    width: 100% !important;
}

.main_swiper p{
    font-size: 18px;
    margin: 25px 0 0;
}

.main_swiper a {
    font-weight: 500;
}

.main_swiper a:hover {
    color: var(--Gris);
}


.section_bonus{
    display: none;
    overflow: hidden;
}


.section_accueil_2{
    display: grid;
    position: relative;
}

.section_accueil_2>a {
    grid-area: 1 / 1 ;
}

.section_accueil_2 video, .section_accueil_2 img{
    grid-area: 1 / 1 ;
    max-height: 110svh;
    min-height: 90svh;
    width: 100vw;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 0;
}

.section_accueil_2 .carre{
    grid-area: 1 / 1 ;
    margin-top: 80svh;
    position: relative;
    z-index: 1;
}

.section_accueil_2 h2{
    margin-bottom: 50px;
}


.titre-mobile {
    display: none;
}


/* A propos */


.page-id-28 .menu-toggle path, .page-id-25 .menu-toggle path, .page-id-25 .lettre_pc.a_right path {
    fill: var(--Blanc);
}

.page-id-25 .lettre_pc.a_right {
    display: block;
}

.superpose{
    display: grid;
}

.superpose>div, .superpose>a{
    grid-area: 1 / 1;
    z-index: 1;
}

.superpose>div:first-child{
    z-index: 0 !important;
}

.swiper_plein{
    width: 100%;
    z-index: 0 !important;
    /*margin: 0 !important;*/
    height: 110svh;
    min-height: 526px;
    max-width: unset;
}

.swiper_plein video, .swiper_plein img{
    padding: 0;
    object-fit: cover;
    object-position: center;
    margin: 0;
    height: 110svh;
    min-height: 526px;
    width: 100%;
}

.carre.double_color{
    margin-top: 46svh;
    padding: 74px 119px 74px 76px;
}

.carre.double_color h1, .carre.double_color p{
    color: var(--Blanc);
}

.carre.double_color h1{
    margin-bottom: 34px;
    max-width: 360px;
}

.carre.double_color p{
    line-height: 136%;
    margin: 0 0 18px 0;
}

/* Prestations */

.coller_top{
    margin-bottom: 100px;
}

.alignement{
    margin: auto auto 0;
}

.titre_cache{
    display: none;
    position: absolute;
}

.superpose>a:first-of-type{
    margin-top: 46svh;
}

.superpose a.carre h2, .superpose a.carre p{
    color: var(--Blanc);
}

.superpose a.carre h2{
    margin-bottom: 38px;
}

.superpose a.carre{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: unset;
    height: var(--largeurCarre);
    max-height: 795px;
}

.superpose a.carre.big_padding h2, .superpose a.carre.big_padding p{
    width: 90%;
}

.superpose a.carre svg{
    margin: auto auto 0;
}

.prestations_secondaire{
    margin-top: 198px;
}

.prestations_secondaire .swiper_plein{
    margin-top: 50px;
}

.superpose .flottes{
    --largeurCarre: 40vw;
    display: grid;
    gap: 62px;
    grid-template-columns: 1fr 1fr;
    width: fit-content;
    margin: 240px auto 190px;
}

.superpose .flottes .carre{
    max-height: 575px;
    max-width: 575px;
    animation: flotter 4s ease-in-out infinite alternate;
}

@keyframes flotter {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-80px); /* monte de 20px */
    }
    100% {
        transform: translateY(0); /* revient à sa position initiale */
    }
}

.superpose .flottes .carre:nth-child(1){
    grid-area: 1 / 1 / 2 span / 1 span;
    animation-delay: 1s;
}

.superpose .flottes .carre:nth-child(2){
    grid-area: 2 / 2 / 2 span / 1 span;
    animation-delay: 1.5s;
}

.superpose .flottes .carre:nth-child(3){
    grid-area: 3 / 1 / 2 span / 1 span;
    animation-delay: 2s;
}

.superpose .flottes .carre:nth-child(4){
    grid-area: 4 / 2 / 2 span / 1 span;
    animation-delay: 2.5s;
}


/* Prestation dedier */


.section_1_dedier{
    margin: 70px var(--side-base);
}

.section_1_dedier .swiper_plein{
    display: none;
}

.section_1_dedier h1, .titre_portfolio{
    font-size: 90px;
    font-style: normal;
    font-weight: 350;
    line-height: 105%; /* 146.9px */
    max-width: 636px;
    margin-bottom: 44px;
}

.section_1_dedier p, .section_1_dedier h2{
    font-size: 30px;
    max-width: 1050px;
}

.section_1_dedier h2{
    font-weight: 600;
}

.flex_1, .flex_2{
    display: flex;
    margin: 0 var(--side-base);
    gap: 5vw;
}

.flex_1 h3, .flex_2 h3{
    font-size: 44px;
    margin-bottom: 30px;
    width: 80%;
}

.flex_1 .pack_small_carrousel{
    margin-top: 14px;
    margin-bottom: 0px;
}

.flex_2{
    flex-direction: row-reverse;
}

.flex_2>div:last-of-type{
    display: flex;
    flex-direction: column;
}

.flex_2 .liens{
    display: flex;
    gap: 46px;
    margin: auto  auto 0;
}

.flex_2 .liens>a{
    background-color: var(--Noir);
    display: flex;
    flex-direction: column;
    height: 142px;
    width: 142px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.flex_2  .liens div{
    display: flex;
    flex-direction: column;
}

.flex_2 .liens span{
    color: var(--Blanc);
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 8px;
}

.flex_2 .liens a svg{
    margin: 10px auto auto 0;
}

.flex_2 .pack_small_carrousel{
    margin-top: 0px;
    margin-bottom: 0px;
}

.points{
    display: flex;
    gap: 16px;
}

.points>div{
    display: flex;
    width: 85px;
    flex-direction: column;
    align-items: center;
}

.points p{
    margin: 15px 0 0;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 350;
    line-height: 125%; /* 15px */
    text-transform: uppercase;
}

.bas_prestation{
    margin-top: 190px;
}

.bas_prestation>a{
    grid-area: 1 / 1;
}

.bas_prestation>a, .bas_prestation>video{
    margin-top: 16vw;
}

.bas_prestation>svg{
    grid-area: 1 / 1;
    position: relative;
    z-index: 2;
    width: 86vw;
    height: 42vw;
    margin: 0 auto auto;
}


/* Contact */

.labyrinthe{
    margin: 50px var(--side-base);
    display: grid;
    grid-template-columns: repeat(7, 1fr) ;
    gap: 21px;
}

.elt{
    display: grid;
    align-items: center;
    justify-items: center;
}

.elt_3, .elt_5, .elt_6, .elt_18, .elt_20, .elt_30, .elt_31, .elt_32 {
    /* droite */
    --sens: 360deg;
}

.elt_2,.elt_9, .elt_14, .elt_24, .elt_26, .elt_28, .elt_36{
    /* gauche */
    --sens: 180deg;
}

.elt_12, .elt_17, .elt_19, .elt_25, .elt_33, .elt_35, .elt_, .elt_, .elt_, .elt_, .elt_{
    /* haut */
    --sens: 270deg;
}

.elt_{
    /* bas */
    --sens: 90deg;
}

.elt>svg{
    grid-area: 1 / 1;
    position: relative;
}

.elt>svg:first-of-type{
    grid-area: 1 / 1;
    z-index: 1;
    height: auto;
    width: 80%;
    pointer-events: none;
    opacity: 0;
    transform: rotate(calc(var(--sens) - 180deg)) scale(0.4);
    transition: 0.4s ease-in-out;
}

.elt>svg:first-of-type path{
    fill: var(--Noir);
}

.elt:hover>svg:first-of-type{
     opacity: 1;
     transform: rotate(var(--sens)) scale(1);
     transition: 0.2s ease-in-out;
}

.elt>svg:last-of-type{
    grid-area: 1 / 1;
    z-index: 0;
    height: auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    opacity: 1;
    transform: scale(1);
    transition: 0.4s ease-in-out;
}

.elt:hover>svg:last-of-type{
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
    transition: 0.2s ease-in-out;
}

.elt:hover>svg.menu-toggle{
    opacity: 1;
    transform: rotate(0deg) scale(1);
    transition: 0s;
}


.page-id-30 #menu.toggled .o.menu-toggle{
    display: block !important;
}


.mobile_contact{
    display: none;
    height: 100svh;
    padding-top: calc(var(--topMarge) + 100px) !important;
}

.a_bottom{
    height: 239px !important;
    width: 230px !important;
    margin: auto;
    animation: arrowSlideBas 16s ease-in-out infinite;
}

@keyframes arrowSlideBas {
    0%, 20%, 26%, 32%, 100% {
        transform: translateY(0); /* flèche immobile */
    }
    22%, 28% {
        transform: translateY(-20px); /* premier coup vers la gauche */
    }
    24%, 30% {
        transform: translateY(20px); /* deuxième coup vers la gauche */
    }
}


.carre.no_pad_top{
    padding-top: 0;
}

.section_visu_simple img, .section_visu_simple video{
    width: 100%;
    object-fit: cover;
    object-position: center;
    max-height: 100%;
    margin-bottom: 50px;
}

.form_contact{
    padding-top: 0px;
    max-height: unset;
}

.form_contact .forminator-ui#forminator-module-145.forminator-design--flat .forminator-label{
    font-size: 22px;
}

.form_contact .forminator-ui#forminator-module-145.forminator-design--flat .forminator-button-submit{
    background-color: var(--Noir);
}

.forminator-ui.forminator-custom-form[data-design=flat] .forminator-checkbox .forminator-checkbox-box:before{
    color: var(--Noir) !important;
}

.forminator-select-dropdown-container--open .forminator-custom-form-145.forminator-dropdown--flat .select2-results .select2-results__options .select2-results__option.select2-results__option--selected{
    background-color: var(--Noir) !important;
}

.forminator-select-dropdown-container--open .forminator-custom-form-145.forminator-dropdown--flat .select2-results .select2-results__options .select2-results__option.select2-results__option--highlighted, .forminator-select.forminator-select-dropdown-container--open .forminator-custom-form-145.forminator-dropdown--flat .select2-search input:focus {
    outline: 2px solid var(--Noir) !important;
}

/* Impressum */

.privacy-policy #container{
    margin: var(--side-base);
    width: auto !important;
}

.privacy-policy h1{
    margin: 20px 0 40px 0 !important;
}

.privacy-policy h2{
    margin-bottom: 20px;
}

.privacy-policy #footer {
    margin: 30px var(--side-base) 50px;
}

/* Des Hover */

.pack_small_carrousel .fleche_next:hover, .liens a:hover svg{
    transform: translateX(10px);
}

a.carre:hover>svg{
    transform: scale(1.1);
}



/* formulaire */

.form_contact .forminator-ui#forminator-module-145.forminator-design--flat .forminator-error-message{
    background-color: var(--Blanc);
    color: var(--Noir);
}

.form_contact #forminator-module-145.forminator-design--flat .forminator-response-message.forminator-success{
    color: var(--Blanc);
}

.form_contact #forminator-module-145.forminator-design--flat .forminator-response-message.forminator-success, .form_contact #forminator-module-145.forminator-design--flat .forminator-response-message.forminator-error{
    background-color: var(--Noir);
}


/* Cookie */

.cookie-popup {
    position: fixed;
    inset: auto auto 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-popup.show {
    visibility: visible;
    opacity: 1;
}
.cookie-popup-content {
    background: var(--Noir);
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.cookie-popup-content h3 {
    margin-top: 0;
    color: var(--Blanc);
    font-weight: 700;
}
.cookie-popup-content p {
    color: var(--Blanc);
    margin: 1rem 0;
    font-size: 0.95rem;
}
.cookie-popup-content button {
    background: var(--Blanc);
    color: var(--Noir);
    border: none;
    font-family: "tenon", sans-serif;
    font-weight: 400;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
}
.cookie-popup-content button:hover {
    transform: translateY(-5px);
}


    /* Footer */

#footer{
    padding: 0;
    margin: 30px var(--sideCarre) 50px;
    max-width: 795px;
}

#footer p{
    margin-bottom: 0;
}

#footer .contenu_footer{
    width: var(--largeurCarre);
    display: flex;
    flex-direction: column;
    padding: 74px 0;
}

#footer.avec_img{
    margin: 30px 0 50px;
    width: 100%;
    max-width: 100%;
}

#footer.avec_img .contenu_footer, #footer.avec_img #copyright{
    margin: 30px var(--sideCarre) 50px;
    max-width: 795px;
    padding: 0;
}

.page-id-2 #footer .contenu_footer{
    padding: 74px 76px;
}

#footer .contenu_footer a{
    display: block;
}

#footer .contenu_footer>a:first-of-type{
    padding-bottom: 5px;
}

#footer .contenu_footer>a:first-of-type svg path{
    fill: var(--Noir);
}

#footer .enveloppe{
    margin: 16px 0 4px;
}

#footer .rs{
    display: flex;
    gap: 7px;
    margin: 20px 0;
}

#footer .rs a{
    height: fit-content;
    font-size: 0;
}



#footer #copyright{
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: var(--Gris);
    text-transform: uppercase;
    padding: 0;
    width: var(--largeurCarre);
}

.page-id-164 #footer, .blog #footer {
    margin: 30px var(--side-base) 50px;
}

.page-id-2 #footer #copyright{
    padding: 0 76px;
}

#footer #copyright a, #footer #copyright a:visited, #footer #copyright .lien_footer, #footer #copyright span{
    color: var(--Gris);
}

#footer #copyright .realisation-break a{
    display: inline-flex;
    font-size: 13px;
}

#footer #copyright .realisation-break a>svg{
    transform: translateY(3px);
    fill: var(--Gris);
}

.img_footer{
    max-height: 90svh;
    width: 100%;
    margin: 0;
}


.section_accueil_2 img, .coller_top img{
    object-position: top;
}



/* lenis */

.lenis{
    transition: 0s;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
    overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
    overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

.lenis.lenis-autoToggle {
    transition-property: overflow;
    transition-duration: 1ms;
    transition-behavior: allow-discrete;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}











/*TEST style portfolio*/

.loader svg#Calque_1{
    width: 100%;
}

.titre_portfolio{
    margin: 50px var(--side-base);
}

.blog .random-projects h2{
    margin-bottom: 20px;
}

.container-projets {
    padding-bottom: 100px;
}
.page-template-template-portfolio .fond-header-general{
    padding: 0;
}
.page-template-template-portfolio .baseline-general{
    padding-left: var(--side-base);
    padding-right: var(--side-base);
}
.sd-base{
    padding-left: var(--side-base);
    padding-right: var(--side-base);
}
.category-projets {
    font-size: 18px;
    font-weight: 500;
}

.title-category-news-2 {
    display: inline-block;
    color: var(--Noir);
    background-color: var(--Blanc);
    border: solid 2px var(--Noir);
    padding: 5px 10px 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
    margin-bottom: 5px;
}

.title-category-news-2.active {
    color: var(--Blanc);
    background-color: var(--Noir);
}

.grid-projets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}
.relative-proj{
    position: relative;
}
.block-projet {
    position: relative;
    height: 29.4vw;
    /*height: 22vw;*/
    /*height: 30.9vw;*/
    width: 100%;
    transition: all .5s cubic-bezier(.25, .46, .45, .94);
    display: block;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);

}

.block-projet.appear {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.block-projet.active {
    z-index: 200;
}

.block-projet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s cubic-bezier(.25, .46, .45, .94);
    transform: scale(1);
}

.project-image-container {
    height: 29.4vw;
    /*height: 22vw;*/

    /*height: 30.9vw;*/
    width: 100%;
    position: relative;
    overflow: hidden;
}

.txt-projets {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /*bottom: 30px;*/
    /*left: 30px;*/
    /*width: calc(100% - 80px);*/
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 50px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(.25, .46, .45, .94);
    background-color: black;
    /*background-color: var(--bleu);*/
}
.txt-projets *{
    color: white;
}
.block-projet:hover .txt-projets {
    opacity: 1;
    transition: all 0.5s .1s cubic-bezier(.25, .46, .45, .94);
}
.loader {
    /*position: fixed;*/
    /*top: 50%;*/
    left: 50%;
    /*transform: translate(-50%, 0%);*/
    z-index: 100001;
    /*position: absolute;*/
    /*top: 100px;*/
    margin: 50px auto;
    width: 100%;
    text-align: center;
}

.loader polygon {
    animation: fadeInOutSmooth 4s linear infinite;
    margin-right: 25px;
}

.loader path {
    animation: fadeInOutSmooth 4s linear infinite;
    animation-delay: 0.5s;
    margin-left: 25px;
}

@keyframes fadeInOutSmooth {
    0%, 50%, 100% {
        opacity: 0;
    }
    25%, 75% {
        opacity: 1;
    }
}

@media (min-width: 1100px) and (max-width: 1350px) {
    .txt-projets{
        padding: 30px;
    }

    .txt-projets p{
        margin-bottom: 24px;
    }

    .txt-projets h2 {
        font-size: 30px;
    }

}





/*********
SINGLE
 */

h1.animatedtext{
    margin: 10px 0 20px;
}
.single-projets, .random-projects {
    padding-left: var(--side-base);
    padding-right: var(--side-base);
}
.head-projet {
    padding-top: 290px;
}

.head-projet, .grid-content-projet {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /*grid-gap: 35px;*/
    margin-bottom: 70px;
    position: relative;
}


.grid-content-projet {
    /*margin-top: var(--ltspace);*/
    /*margin-bottom: var(--mdspace);*/
    margin-bottom: 50px;
}

.grid-content-projet .titre-txt {
    max-width: 900px;
}

.grid-content-projet .titre-txt p {
    margin-bottom: 10px;
}

.head-projet p {
    margin-bottom: 0;
}

.head-projet > div:nth-of-type(1) {
    padding-right: 11.5px;
}

.head-projet > div:nth-of-type(2), .grid-content-projet > div:nth-of-type(2) {
    padding-left: 11.5px;
}


.grid-galerie {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    opacity: 0;

    animation: appear 0.4s 0.1s ease-in-out forwards;
    /*margin-bottom: var(--mdspace);*/
    margin-bottom: 50px;
}

@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.grid-galerie a:nth-of-type(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.grid-galerie a:nth-of-type(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.grid-galerie a:nth-of-type(3) {
    grid-area: 1 / 3 / 2 / 4;
}

.grid-galerie a:nth-of-type(4) {
    grid-area: 2 / 1 / 3 / 2;
}

.grid-galerie a:nth-of-type(6) {
    grid-area: 3 / 1 / 4 / 2;
}

.grid-galerie a:nth-of-type(5) {
    grid-area: 2 / 2 / 4 / 4;
}

.grid-galerie a {
    line-height: 0;
}

.grid-galerie img,
.grid-galerie video {
    width: 100%;
    height: 29.4vw;
    object-fit: cover;
}

.grid-galerie a:nth-of-type(5) img,
.grid-galerie a:nth-of-type(5) video {
    /*height: 100%;*/
    height: calc(29.4vw * 2 + 30px);
}

.image-full-bloc {
    width: calc(100% + var(--side-base) * 2);
    height: auto;
    margin-left: calc(-1 * var(--side-base));
    margin-bottom: 50px;
}

.image-full-bloc.no-marg {
    margin-bottom: -4px;
}


.flex-prev, .go-back{
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}
.flex-prev>a{
    display: flex;
}
.flex-prev>a>svg{
    margin: auto;
}
.flex-prev p, .go-back>span{
    font-size: 20px;
    font-weight: 500;
}
.prev-proj>svg, .go-back>svg{
    transform: rotate(180deg);
}

.random-projects{
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: #f6f6f6;
}
.category{
    margin-bottom: 20px;
}
.search-bar{
    margin-bottom: 15px;
}
#search-input{
    border: 0;
    border-bottom: 1px solid #000000;
    height: 44px;
    width: 35%;
    outline: 0;
    color: black;
}
#search-input::placeholder{
    color: black;
}
#search-button{
    border-bottom: 0;
    outline: 0;
    border: 0;
}
.grid-catalogue{
    display: flex;
    margin-bottom: 80px;
    margin-top: 40px;
}
.grid-catalogue img{
    max-height: 150px;
    margin-right: 40px;
}
.grid-catalogue a{
    transition: 0.4s ease-in all;
}
.grid-catalogue a:hover{
    opacity: 0.6;
}
@media (max-width: 1100px) {

    .grid-projets, .grid-galerie {
        grid-template-columns: 1fr 1fr;
        grid-gap: 15px;
    }
    .block-projet, .project-image-container {
        height: 44.9vw;
    }
    .grid-galerie img, .grid-galerie video {
        height: 44.9vw;
    }
    .grid-galerie a {
        grid-area: unset !important;
    }
}
@media (max-width: 850px) {
    :root {
        --side-base: 20px;
    }
    .head-projet, .grid-content-projet {
        display: block;
    }
    .head-projet > div:nth-of-type(2), .grid-content-projet > div:nth-of-type(2){
        padding-left: 0;
    }
    .flex-prev{
        display: none;
    }
    .grid-projets, .grid-galerie {
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }
    .block-projet, .project-image-container {
        height: 89.9vw;
    }
    .grid-galerie img, .grid-galerie video {
        height: 90vw;
    }
    .go-back{
        margin-bottom: 10px;
    }
    .category-projets{
        font-size: 1.1rem;
    }
    .head-projet{
        padding-top: 80px;
        margin-bottom: 30px;

    }
    .random-projects{
        padding-top: 40px;
        padding-bottom: 40px;
    }

}


/*.lang-switcher{*/
/*    display: none !important;*/
/*}*/