@font-face {
    font-family: "CabinetGrotesk-Black";
    src: url("fonts/CabinetGrotesk-Black.otf");
}
@font-face {
    font-family: "CabinetGrotesk-Bold";
    src: url("fonts/CabinetGrotesk-Bold.otf");
}
@font-face {
    font-family: "DrukWide-Heavy-Trial";
    src: url("fonts/DrukWide-Heavy-Trial.otf");
}
@font-face {
    font-family: "DrukWide-HeavyItalic-Trial";
    src: url("fonts/DrukWide-HeavyItalic-Trial.otf");
}
@font-face {
    font-family: "DrukWide-Bold-Trial";
    src: url("fonts/DrukWide-Bold-Trial.otf");
}
@font-face {
    font-family: "DrukWide-BoldItalic-Trial";
    src: url("fonts/DrukWide-BoldItalic-Trial.otf");
}
@font-face {
    font-family: "Oswald-VariableFont_wght";
    src: url("fonts/Oswald-VariableFont_wght.ttf");
}
@font-face {
    font-family: "Gilroy-Regular";
    src: url("fonts/Gilroy-Regular.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gilroy-Regular', sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: #0c1514;
}

html {
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    width: 15px;
    height: 15px;
}

body::-webkit-scrollbar-track-piece {
    background-color: #0c1514;
}

body::-webkit-scrollbar-thumb {
    height: 30px;
    background-color: #4d4d4d;
}

/*//////////////    NAV MENU    /////////////// */

header {
    z-index: 23;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: .5s;
}

.nav {
    width: 100%;
    background-color: #0c1514;
    border-bottom: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    height: 95px;
}

.nav.hide {
    transform: translateY(-100%);
}

.nav ul {
    display: flex;
    margin: 0 auto;
}

.nav ul li {
    list-style: none;
    text-align: center;
}

.nav_text {
    background-color: #0c1514;
    line-height: 40px;
    margin-left: 10px;
    margin-right: 10px;
    display: block;
    padding: 0 20px;
    color: #ef3869;
    text-decoration: none;
    transition: .5s;
    font-size: 18px;
    font-family: 'DrukWide-Heavy-Trial', sans-serif;
    border-radius: 0px;
}

.nav_text:hover {
    background-color: white;
    color: #0c1514;
    border-radius: 0px;
}

.nav_text.active {
    background-color: white;
    color: #0c1514;
    border-radius: 0px;
}

.nav_text2 {
    background-color: #0c1514;
    line-height: 40px;
    margin-left: 10px;
    margin-right: 10px;
    display: block;
    padding: 0 20px;
    color: #ef3869;
    text-decoration: none;
    transition: opacity 0.5s ease-in-out, color 0.5s ease-in-out, background-color 0.5s ease-in-out;
    font-size: 18px;
    font-family: 'DrukWide-Heavy-Trial', sans-serif;
    border-radius: 0px;
}

.nav_text2:hover {
    cursor: pointer;
    color: white;
    }

.nav-mobile {
    display: none;
}

/*//////////////    PAGE1    /////////////// */

#main {
    position: relative;
    overflow: hidden;
}
/*//////////////    PAGE2    /////////////// */

#page2 {
    z-index: 2;
    position: relative;
    width: 100%;
    background-color: #0c1514;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    padding-top: 3px;  
}

.margin_p2 {
    height: 95px;
    margin-top: 20px;
}

.box_p2 {
    display: block;
    margin: 0 auto;
    width: 88vw;
    height: auto;
    margin-bottom:  0px;
}

/*//////////////    MARQUEE    /////////////// */

.container_p2 {
    background-color: white;
    display: block;
    margin: 0 auto;
    width: 88vw;
    height: 90px;
    cursor: default;
    position: relative;
    overflow: hidden;
    transition: .5s;
    border-radius: 0px;
}

.marquee {
    align-items: center;
    display: flex;
    animation: marquee 80s linear infinite;
    transition: .5s;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(2600px);
}

.marquee:nth-child(1) {
    animation-delay: -40s;
}

@keyframes marquee {
    0% {
        transform: translate(2600px);
    }
    100% {
        transform: translate(-2600px);
    }
}

.container_p2 img {
    z-index: 2;
    float: right;
    height: 90px;
}


/*//////////////    GRID    /////////////// */

.auto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px 25px;
    margin-top: 25px;
    margin-bottom: 15px;
}
@media (max-width: 1024px) {
    .auto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .auto-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.auto-grid p {
        font-size: 15px;
        margin-top: 10px;
        margin-bottom: 10px;
}

#categorie1,
    #categorie2,
    #categorie3,
    #categorie4,
    #categorie5,
    #categorie6 {
        font-size: 15px;
}


.auto-grid li {
    height: 100%;
    list-style-type: none;
    text-align: center;
    color: white;
}

.auto-grid .item {
    position: relative;
}

.box1, .box2 {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.box1 img, .box2 img {
    width: 100%;
    height: auto;
    border-radius: 0px;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
    box-shadow: 0 0 0 2px white;
    transform: scale(0.99);
    margin-bottom: 10px;
    filter: grayscale(100%) contrast(60%) brightness(120%);
}

.box1 img:hover {
    box-shadow: 0 0 0 10px white;
    transform: scale(0.95);
    cursor: pointer;
    filter: none;
    filter: grayscale(0%) contrast(100%);
}

.box2 img:hover {
    box-shadow: 0 0 0 10px white;
    transform: scale(0.96);
    cursor: pointer;
    filter: none;
    filter: grayscale(0%) contrast(100%);
}

/* Lorsqu'un élément (image) dans .hovered est au centre de l'écran, applique l'effet */
.hovered .box1 img {
    box-shadow: 0 0 0 10px white;
    transform: scale(0.95);
    cursor: pointer;
    filter: none;
    filter: grayscale(0%) contrast(100%);
}

.hovered .box2 img {
    box-shadow: 0 0 0 10px white;
    transform: scale(0.96);
    cursor: pointer;
    filter: none;
    filter: grayscale(0%) contrast(100%);
}
.mentions {
    margin-bottom: 120px;
    margin-top: 0px;
    text-align: center;
    color: white;
    font-size: 13px;
}


/*//////////////    MODALS    /////////////// */

.modal {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(15,17,12, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal:hover {
    cursor: pointer;
}

.modal-content {
    background-color: #0c1514;
    margin: 0 auto;
    margin-top: 13vh;
    padding: 10px;
    border: 2px solid white;
    width: 47%;
    min-width: 300px;
    border-radius: 3px;
}

/* close button */

.close {
    color: #ef3869;
    float: right;
    font-size: 60px;
    margin-top: 20px;
    margin-right: 50px;
    font-weight: 600;
    transition: .3s;
}

.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 20px 16px;
    color: white;
}

/*//////////////    FOOTER    /////////////// */

footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0px;
    height: 90px;
    background-color: #0c1514;
    border-top: 2px solid white;
    transition: bottom 0.5s ease;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}


.box_p3 {
    display: block;
    margin: 0 auto;
    width: 88vw;
    height: auto;
    
}

.footer_text {
    background-color: #0c1514;
    line-height: 35px;
    margin-right: 5px;
    display: block;
    float: right;
    color: #ef3869;
    text-decoration: none;
    transition: .5s;
    font-size: 18px;
    font-family: 'DrukWide-Heavy-Trial', sans-serif;
    border-radius: 2px;
}

.footer_text:hover {
    background-color: #0c1514;
    color: white;
    border-radius: 2px;
}

.footer_insta {
    background-color: #0c1514;
    line-height: 35px;
    margin-right: 10px;
    display: block;
    float: left;
    color: white;
    text-decoration: none;
    transition: .5s;
    font-size: 28px;
    font-family: 'DrukWide-Heavy-Trial', sans-serif;
    border-radius: 2px;
}

.footer_insta:hover {
    background-color: #0c1514;
    color: #ef3869;
    border-radius: 2px;
}

.photo-info {
        bottom: 30px;
        right: 25px;
        font-size: 14px;
    }


/*//////////////    RESPONSIVE    /////////////// */


@media only screen and (min-width: 2560px) {
    
/* NAV MENU */
.nav {
    height: 125px;
}
.nav_text {
    line-height: 55px;
    margin-left: 15px;
    margin-right: 15px;
    padding: 0 22px;
    font-size: 22px;
}
.nav_text2 {
    line-height: 55px;
    margin-left: 15px;
    margin-right: 15px;
    padding: 0 22px;
    font-size: 22px;
}
.nav_text2:hover {
    line-height: 55px;
    margin-left: 15px;
    margin-right: 15px;
    padding: 0 22px;
    font-size: 22px;
}
/* PAGE2 */
#page2 {
    padding-top: 8px;  
}
.margin_p2 {
    height: 125px;
}
.box_p2 {
    width: 90vw;
    margin-bottom: 90px;
}
/* MARQUEE */
.container_p2 {
    width: 90vw;
    height: 110px;
}
.marquee {
    transform: translate(3190px);
}  
@keyframes marquee {
    0% {
        transform: translate(3190px);
    }
    100% {
        transform: translate(-3190px);
    }
}
.container_p2 img {
    height: 110px;
}
/* GRID */
.auto-grid {
    grid-gap: 20px 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}
.auto-grid p {
    font-size: 19px;
    margin-top: 18px;
    margin-bottom: 8px;
}
#categorie1,
#categorie2,
#categorie3,
#categorie4,
#categorie5,
#categorie6
#categorie7 {
    font-size: 19px;
}
.mentions {
    margin-bottom: 160px;
    font-size: 14px;
}
/* SHOWREEL */
.video-container {
    width: 80vw; 
}
/* FOOTER */
footer {
    height: 115px;
    padding: 10px;
}
.box_p3 {
    width: 90vw;
}
.footer_text {
    line-height: 35px;
    margin-right: 5px;
    font-size: 22px;
}
.footer_insta {
    line-height: 35px;
    margin-right: 10px;
    font-size: 32px;
}

}

/* tablette/laptop */

@media (max-width: 1024px) {

    /* NAV MENU */
    .nav {
        height: 75px;
        border-bottom: 2px solid white;
    }
    .nav_text {
        line-height: 35px;
        margin-left: 10px;
        margin-right: 10px;
        padding: 0 15px;
        font-size: 16px;
    }
    .nav_text2 {
        line-height: 35px;
        margin-left: 10px;
        margin-right: 10px;
        padding: 0 15px;
        font-size: 16px;
    }
    .nav_text2:hover {
        line-height: 35px;
        margin-left: 10px;
        margin-right: 10px;
        padding: 0 15px;
        font-size: 16px;
    }
    /* PAGE2 */
    #page2 {
        border-bottom: 2px solid white;
    }
    .margin_p2 {
        height: 75px;
        margin-top: 15px;
    }
    .box_p2 {
        width: 88vw;
        margin-bottom: 20px;
    }
    /* MARQUEE */
    .container_p2 {
        width: 88vw;
        height: 45px;
    }
    .marquee {
        transform: translate(1308px);
    }  
    @keyframes marquee {
        0% {
            transform: translate(1308px);
        }
        100% {
            transform: translate(-1308px);
        }
    }
    .container_p2 img {
        height: 45px;
    }
    /* GRID */
    .auto-grid {
        grid-gap: 10px 20px;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    
    #categorie1,
    #categorie2,
    #categorie3,
    #categorie4,
    #categorie5,
    #categorie6,
    #categorie7 {
        font-size: 14px;
    }
    .mentions {
        font-size: 10px;
        margin-bottom: 105px;
    }
    
    /* FOOTER */
    footer {
        height: 75px;
        padding: 10px;
    }
    .box_p3 {
        width: 88vw;
    }
    .footer_text {
        line-height: 35px;
        margin-right: 5px;
        font-size: 16px;
    }
    .footer_insta {
        line-height: 35px;
        margin-right: 10px;
        font-size: 20px;
    }
}

/* phone */

@media (max-width: 480px) {
    .nav {
        display: flex;
        margin-right: 15px;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        height: auto;
        border-bottom: 2px solid white;
        z-index: 1;
    }

    .nav-mobile {
        display: block;
        color: #ef3869;
        font-family: 'DrukWide-Heavy-Trial', sans-serif;
        font-size: 18px;
        padding: 17px 15px;
        margin-left: 15px;
    }

    .burger {
        margin-left: auto;
        font-size: 30px;
        cursor: pointer;
        display: flex; 
        height: 80px;
        align-items: center;
        justify-content: center;
        padding: 0 25px;
        color: white;
        flex-direction: column;
        gap: 6px;
    }

    .burger span {
        width: 30px;
        height: 4px;
        background-color: white;
        transition: 0.3s ease;
        display: block;
    }

    .burger.cross span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
        background-color: #ef3869;
    }

    .burger.cross span:nth-child(2) {
        opacity: 0;
    }

    .burger.cross span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
        background-color: #ef3869;
    }

    .nav ul li {
        border-top: 2px solid white;
        margin: 0px 0px;
        height: 70px;
        width: 100%;
    }
    .nav_text,
    .nav_text2 {
    height: 70px;
    line-height: 50px;
    width: 100%;
    padding: 0 15px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    }
    .nav_text:active,
    .nav_text2:active {
        background-color: white; /* ou autre, mais ne touche pas line-height/padding/margin */
        color: #0c1514;
    }
    
    #navLinks {
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        border-bottom: 2px solid white;

        overflow: hidden;
        max-height: 0;
        display: flex; /* toujours flex, pour éviter le saut */

        transition: max-height 0.3s ease;
    }

    #navLinks.show {
        max-height: 500px; /* plus grand que la hauteur réelle du menu */
    }
    #page1 {
        z-index: 1;
        position: relative;
        margin-top: 0px;
        height: 20vh;
        width: 100%;
        background: url(ELEMENTS/test.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    #page2 {
        z-index: 2;
        position: relative;
        width: 100%;
        background-color: #0c1514;
        border-bottom: 2px solid white;
        margin-top: 80px;
    }   
    .margin_p2 {
        height: 0px;
        
    }
    .container_p2 {
        background-color: white;
        display: block;
        margin: 0 auto;
        width: 88vw;
        height: 35px;
        cursor: default;
        position: relative;
        overflow: hidden;
        transition: .5s;
        border-radius: 0px;
    }
    
    .marquee {
        align-items: center;
        display: flex;
        animation: marquee 80s linear infinite;
        transition: .5s;
        position: absolute;
        left: 0;
        transform: translate(1016px);
        top: 0;
    }
    
    .marquee:nth-child(1) {
        animation-delay: -40s;
    }
    
    @keyframes marquee {
        0% {
            transform: translate(1016px);
        }
        100% {
            transform: translate(-1016px);
        }
    }

    .container_p2 img {
        z-index: 2;
        float: right;
        height: 35px;
    }

    iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

    .auto-grid {
        display: grid;
        grid-gap: 15px 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .mentions {
        margin-bottom: 100px;
        font-size: 10px;
    }
    /* FOOTER */
    footer {
        height: 75px;
        padding: 10px;
    }
    .box_p3 {
        width: 88vw;
    }
    .footer_text {
        line-height: 35px;
        margin-right: 5px;
        font-size: 16px;
    }
    .footer_insta {
        line-height: 35px;
        font-size: 23px;
    }

}



