@font-face {
    font-family: 'DIN Pro';
    src: url('DINPro.woff2') format('woff2'),
    url('DINPro.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.container-grid {
    max-width: 1375px;
    margin: auto;
    margin-bottom:50px;
    margin-top:15px;
}

header img.logo {
    width: 300px;
    margin-top: 50px;
    display: block;
    margin-inline: auto;
}

header nav a span {
    width: 45px;
    height: 45px;
    border-radius: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
    font-size: 23px;
    margin-block: 0.25em;
    font-weight: 400;
    padding-bottom: 0.05em;
}

header nav {
    padding-inline: 0em;
    display: flex;
    justify-content: space-evenly;
    max-width: 1050px;
    width: 100%;
    margin: auto;
}

nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-top: 42px;
    width: 100%;
    max-width: 150px;
}


header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 1px 1px 20px -3px #00000047;
    z-index: 999;
    display: flex;
    justify-content: center;
    min-height: 100px;
    align-items: center;
}

header.fixed > div {
    padding: 0;
    width: 300px;
    margin-right: 10%;
}

header.fixed nav {
    margin-inline: 0;
}

/******patch header*******/

header {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
}

header.fixed {
    position: fixed;
}

.sub-header {
    height: 270px;
}

/************************/
body:not(.home) header.fixed > div {
    margin-right: 0;
}

body:not(.home) header.fixed a.back {
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translateY(-50%);
    padding-block: 0;

}

header.fixed nav {
    padding-inline: 5em;
    display: flex;
    max-width: 735px;
    width: 100%;
}

header.fixed nav a p {
    display: none;
}

header.fixed nav a {
    padding-block: 0;
}

header.fixed img.logo {
    margin-top: inherit;
    width: 250px;
}

header.fixed nav a span {
    width: 37px;
    height: 37px;
    font-size: 1.6em;
}

body:not(.home) nav {
    display: none;
}

a.back {
    display: flex;
    font-size: 1.15em;
    font-weight: 200;
    align-items: center;
    padding-block: 1em;
    color: #555;

}

a.back, a.back * {
    transition-duration: 300ms;
    transition-property: all;
}

a.back:hover img {
    filter: invert(0.2);
    transform: translateX(-5px);
}

a.back:hover {
    color: #555;
}

a.back img {
    width: 40px;
    height: 40px;
    margin-right: 0.7em;
    margin-top: 0.1em;
}

img.full {
    margin: auto;
    max-width: 800px;
    /*height: 600px;*/
    object-fit: contain;
    border-radius: 20px;
    display: block;
    width: 100%;
    background: #e6e6e6;
}

.categorie img.full  {
    max-width: 1296px;
    margin-bottom:30px;
}

.client img.full  {
    max-width: 300px;
    margin-bottom:30px;
    background: #f3f3f3;
}

.content-play{
    max-width: 800px;
    margin: auto;

}
.categorie .sub-header {
    height: 220px;
}

.categories-items {
    display: flex;
    margin-top: -60px;
}

.categorie .categories-items {
    display: none;
}

.categories-items span {
    margin-left: 20px;
}

a.profil {
    display: flex;
    align-items: center;
    margin: 0em 2.5em;
    margin-top:30px;
    font-weight: 500;
    font-size: 1.2em;
    font-family: 'DINPro-Bold';
    color: #3c3c3c;
}


.categorie a.profil {
    display: none;
}

.client a.profil {
    margin-bottom:40px;
    display: none;
}

a.profil img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 100%;
    margin-right: 1em;
}

.contact-item {
    position: fixed;
    bottom: 30px;
    right: 30px;
    border-radius: 100%;
    background: #1a1a1a;
    width: 55px;
    height: 55px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 300ms;
    z-index: 99;
}

.legal-notice-item {
    right: 30px;
    bottom: 100px;
    position: fixed;
    border-radius: 100%;
    background: #e0e0e0;
    width: 55px;
    height: 55px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 300ms;
    z-index: 99;
    font-size:20px;
    font-weight:500;
}

.legal-notice-item {
    right: 30px;
    bottom: 100px;
    position: fixed;
    border-radius: 100%;
    background: #e0e0e0;
    width: 55px;
    height: 55px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 300ms;
    z-index: 99;
    font-size:20px;
    font-weight:500;
}

.legal-notice-item:hover {
    background: #000;
    color: white;
}

.legal-notice-item svg {
    height: 25px;
    fill: #fff;
}
.contact-item svg {
    height: 20px;
    fill: #fff;
}

.contact-item:hover {
    background: transparent;
    border: 1px solid #1a1a1a;
}

.contact-item:hover * {
    fill: #1a1a1a;
}

.style-text {
    padding: 0em 0em 0em 3em;
    font-family: DIN pro;
    font-weight: 500;
    color: #3c3c3c;
}

.projet .style-text {
    font-family: DIN pro;
    margin-top:15px;
    font-size:17px;
    margin-bottom:30px;
}

a.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

a.btn-play img {
    width: 800px;
    height: 800px;
    visibility:hidden;
 
}

.ovl .close {
    position: absolute;
    top: 0.2em;
    right: 0.6em;
    transition: all 200ms;
    font-size: 3em;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
}

.ovl iframe {
    border: 20px solid #fff;
    border-radius: 1em;
    max-width: 900px;
    width: 100%;
    margin: 2em;
    max-height: 500px;
    height: 100%;
}

.ovl {
    position: fixed;
    inset: 0px;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
}

.ovl.active {
    visibility: visible;
    opacity: 1;
}

#popup1 {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}
span[data-href]{
    cursor: pointer;
}
@media screen and (max-width: 576px) {
    a.profil {
        margin-left: 0;
        font-size:18px;
    }

    .style-text {
        font-size: 1em;
    }

    header img.logo {
        width: 260px;
        margin-top: 0;
    }

    header > div {
        padding-top: 1.5em;
    }

    .projet a.back {
        padding-top: 0;
    }
    
    a.back {
    padding-top: 0;
    }

    header img.logo {
        margin-top: 10px !important;
    }

    .sub-header {
        height: 175px !important;
    }

    .projet .sub-header {
        height: 155px !important;
    }

    .categorie .sub-header {
        height: 155px !important;
    }

    .mentions-legales .sub-header {
        height: 155px !important;
    }
    
    .contact .sub-header {
        height: 155px !important;
    }
    
    header nav {
        margin-bottom: 0 !important;
    }

    header nav a span {
        width: 45px;
        height: 45px;
        font-size: 25px;
    }

    p.style-text {
        padding-left: 0;
    }

    .categories .sub-header {
        height: 150px !important;
    }

    body:not(.home) header.fixed a.back {
        margin: 0;
        padding: 0;
        width: 25%;
        transform: none!important;
    }
    body:not(.home) header.fixed a.logo {
        margin-block: 0;
    }
}


@media screen and (max-width: 700px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
    }
}

h1 {
    margin: 30px;
}

.content-categ span {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    background: white;
    border-radius: 50%;
    color: white;
    width: 35px;
    height: 35px;
    margin-top: 0.5em;
    font-size: 1.5em;
    font-weight: 400;
}

.spanproject {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    background: white;
    border-radius: 50%;
    padding: 20px;
    color: white;
    font-size: 20px;
    width: 16px;
    height: 16px;
    margin-bottom: 0.5em;
}

.content-categ {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    left: 1.5em;
    height: 100%;
    bottom: 1.5em;
    position: absolute;
    text-align: center;
    z-index: 2;
}

.big {
    width: 100%;
}

nav a {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    align-content: center;
    text-align: center;
}

.grid span {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    background: white;
    border-radius: 50%;
    padding: 20px;
    border: none;
    font-size: 30px;
    width: 16px;
    height: 16px;
    right: 0.5em;
    bottom: 0.5em;
    margin-top: 5px;
    color: #FFF;
    margin-bottom: 0.25em;
}

nav a p {
    font-family: 'DINPro-Bold', sans-serif;
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.25;
}

.align-left {
    text-align: start;
}

a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    color: currentColor;

}

.pink {
    background: deeppink;
}

.blue {
    background: blue;
}

.container-two {
    width: 80%;
}

* {
    box-sizing: border-box;
}

.grid-wrapper > a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-wrapper > a > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

/* GRID WRAPPER : version Macy.js */

.grid-wrapper {
    margin-bottom: 30px;
    margin-top:20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease;
}

.grid-wrapper.macy-ready {
    opacity: 1;
    visibility: visible;
}

.grid-wrapper .item {
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: block;
}

.grid-wrapper .item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    background: #f7f7f7;
}

/* Effet hover conservé */
.grid-wrapper .item:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 20px;
    transition-duration: 400ms;
}

.grid-wrapper .item:hover:after {
    background: #fffc;
}

/* Centrage des items si besoin */
.grid-wrapper > a {
    display: flex;
    justify-content: center;
    align-items: center;
}


/*.grid-wrapper {*/
/*    --grid-gap: 15px;*/
/*    display: grid;*/
/*    grid-template-columns: repeat(5, 1fr);*/
/*    column-gap: var(--grid-gap);*/
/*    margin-bottom:30px;*/
/*    grid-auto-rows: 1px;*/
/*    grid-auto-flow: dense;*/
/*}*/

/*.grid-wrapper .item {*/
/*    border-radius: 20px;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    display: block;*/
/*    grid-column: span 1;*/
/*    padding-top: var(--grid-gap);*/
/*    !*margin: 10px;*!*/
/*    !*grid-row: span 250;*!*/
/*}*/

/*.grid-wrapper .item img {*/
/*    min-width: 10px;*/
/*    min-height: 10px;*/
/*    border-radius: 20px;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: #f7f7f7;*/
/*    z-index: 2;*/
/*}*/

/*.grid-wrapper .item:after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    display: block;*/
/*    inset: 0;*/
/*    z-index: 1;*/
/*    border-radius: 20px;*/
/*    transition-duration: 400ms;*/
/*}*/

/*.grid-wrapper .item:hover:after {*/
/*    background: #fffc;*/
/*}*/

.grid {
    margin: auto;
    width: 100% !important
}

.grid:after {
    content: '';
    display: block;
    clear: both;
}

.grid--width2 {
    width: 40%;
}

.grid--height2 {
    height: 600px;
}


.btn {
    background: blue;
    margin-block: 1em !important;
    margin-top: 2.5em !important;
}

.btn-view-more {
    background: black;
    color: #fff;
    font-weight: 600;
    padding: 0.6em 1.2em;
    line-height: 1;
    font-size: 1em;
    letter-spacing: 1px;
    transition-duration: 300ms;
    border-radius: 0px;
}

.btn-view-more:hover {
    background: #fff;
    color: black;
    border: 2px solid black;
    font-weight: 800;
}

.btn-pdf {
    border: 2px solid #1d1d1b;
    background: transparent;
    color: #1d1d1b;
    font-weight: 500;
    padding: 0.6em .9em;
    line-height: 1;
    font-size: 1em;
    letter-spacing: 1px;
    transition-duration: 300ms;
    border-radius: 0px;
}

.btn-pdf:hover {
    background: #1d1d1b;
    color: #fff;
}

.contact form {
    margin: 1em auto;
}

.contact form input[type="submit"] {
    background: #1d1d1b;
    color: #fff;
    font-weight: 600;
    border: 0;
    padding: 0.5em 3em;
    line-height: 1;
    margin: 2em 0;
    font-size: 1.2em;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition-duration: 300ms;

}

.contact form input[type="submit"]:hover {
    background: #fff;
    border-color: #1d1d1b;
    color: #1d1d1b;
}

.alert-success, .alert-error, .alert-danger {
    padding: 1em 0 0 0;
    background-color: white;
    color: #212529;
    text-align: center;
    font-size: 33px;
    font-family: bebas neue;
    font-weight: 400;
    line-height: 1;
}

p.info {
    font-size: 2.2em;
    line-height: 1;
    font-family: Bebas Neue;
    font-weight: 400;
    max-width: 770px;
    margin: auto;
    text-decoration:none;
}

p.info span {
    font-weight: 800;
    font-size: 1.45em;
}

.contact form fieldset label {
    font-size: 1.1em;
    letter-spacing: 1px;
    padding-top: 0.9em;
    padding-bottom: 0.4em;
    font-weight: 700;
}

.contact textarea {
    height: 150px;
}

@media screen and (max-width: 1200px) {
    /*.grid-wrapper {*/
    /*    grid-template-columns:1fr 1fr 1fr 1fr;*/
    /*}*/

    .container-grid {
        margin-inline: 1em;
    }

    header.fixed > div {
        margin-right: 0;
    }

    header.fixed nav {
        max-width: 640px;
        margin-top: 1em;
    }
}

@media screen and (max-width: 991px) {
    header nav {
        padding-inline: 0;
    }

    .container {
        max-width: 95%;
    }

    header.fixed {
        flex-direction: column;
        padding: 1em 0;
        padding-bottom: 0.5em;
    }
}

@media screen and (max-width: 768px) {
    /*.grid-wrapper {*/
    /*    grid-template-columns:1fr 1fr 1fr;*/
    /*}*/

    nav a {
        padding-top: 0;
    }

    .back {
        top: -24px;
        left: -5px;
    }

    body:not(.home) header.fixed a.back {
        left: 5%;
    }

    header img.logo {
        margin-block: 30px;
    }

}

@media screen and (max-width: 665px) {
    header nav {
        align-items: start;
    }

    nav a {
        max-width: 50px;
        text-align: center;
        line-height: 1;
    }
}

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

    body:not(.home) header.fixed a.back {
        font-size: 1.2em;
    }

    a.back img {
        width: 30px;
        height: 30px;
    }

    nav a {
        max-width: 30px;
        text-align: center;
    }

    header.fixed nav {
        padding-inline: 1em;
    }

    header nav {
        justify-content: space-evenly;
        margin-block: 20px;
    }

    nav a p {
        line-height: 1;
    }

    p {
        font-size: 18px;
    }

    p.style-text {
 
    }

    .categorie p.style-text {
        display:none;
    }


    .grid {
        width: 50%;
    }
}

@media screen and (max-width: 500px) {
    header nav a p {
        display: none;
    }

    /*.grid-wrapper {*/
    /*    grid-template-columns:1fr 1fr;*/
    /*}*/

    body:not(.home) header.fixed {
        flex-direction: row-reverse;
        justify-content: space-evenly;
        min-height: 0px;
    }

    body:not(.home) header.fixed a.back {
        position: relative;
        font-size: 1.1em;
    }

    body:not(.home) header.fixed img.logo {
        width: 170px;
        margin-right:40px;
    }

    a.back img {
        width: 35px;
        height: 35px;
    }

    .grid-wrapper .item {
        margin: 0px;
    }

    .container-grid {
        margin-inline: 0.5em;
    }

    header nav a span {
        width: 45px;
        height: 45px;
        font-size: 25px;
    }

    header.fixed nav {
        margin: 0;
    }

    header.fixed nav a span {
        font-size: 22px;
        margin-block: 0.25em;
        font-weight: 400;
        padding-bottom: 0.05em;
    }
    
    .client img.full  {
    max-width: 200px;

}

.categorie img.full  {
    max-width: 1296px;
    margin-bottom:0px;
}

a.btn-play img {
    width: 400px;
    height: 400px;
    visibility:hidden;

}

.container-grid {
    margin-top:0px;
}

.grid-wrapper {
    margin-top:0px;
}

.categorie .grid-wrapper {
    margin-top:20px;
}
.projet .style-text {
    font-family: DIN pro;
    margin-top:10px;
    font-size:17px; 
    margin-bottom:20px;
}

    header.fixed {

    }

    header img.logo {
        margin-block: 10px;
    }
    
    header.fixed img.logo {
        width:170px;
    }
}



.grid-wrapper .item img {
    width: 100% !important;
    height: auto !important;
}
