@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');



/*global*/
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body{
    min-height: 100vh;
    font-family: "Space Grotesk", sans-serif;
    background-color: rgb(2, 22, 34);
    color: rgb(167, 135, 41);
}

#particles{
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}



/*navigation*/
nav{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.nav-barre{
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .navigation{
    display: flex;
    gap: 45px;
}

nav .navigation a{
    font-size: 15px;
    color: #7A8FA0;
    transition: color 0.2s;
}

nav .navigation a:hover{
    color: rgb(167, 135, 41);
}

nav .btn-contact{
    background-color: rgb(167, 135, 41);
    color: rgb(2, 22, 34);
    font-weight: 700;
    font-size: 16px;
    padding: 8px 17px;
    border-radius: 50px;
}

.deco-nav{
    width: 95%;
    margin: 0 auto;
    height: 1px;
    background-color: rgba(167, 135, 41, 0.2);
}

nav .menu-ham,
nav .menu-ham-2{
    display: none;
}



/*actualité + carrousel*/
.top{
    display: flex;
    gap: 20px;
    padding: 140px 60px;
    padding-bottom: 0;
    height: 520px;
    position: relative;
    z-index: 1;
}

.overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 22, 34, 0.92) 30%, rgba(2, 22, 34, 0.2));
    border-radius: inherit;
}

.actualite{
    flex: 2;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: rgba(167, 135, 41, 0.05);
}

.actu-content{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.date-actu{
    font-size: 11px;
    color: rgb(167, 135, 41);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.titre-actu{
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.descr-actu{
    font-size: 14px;
    color: #7A8FA0;
    line-height: 1.6;
}

.prochainement{
    flex: 1;
    border-radius: 10px;
    border: 1px solid rgba(167, 135, 41, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.carr-track{
    flex: 1;
    position: relative;
}

.carr-item{
    display: none;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.carr-item.active{
    display: block;
}

.carr-content{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.date-pro{
    font-size: 11px;
    color: rgb(167, 135, 41);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.titre-pro{
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.carr-nav{
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    position: relative;
    z-index: 2;
}

.carr-btn{
    background: none;
    border: 1px solid rgba(167, 135, 41, 0.3);
    color: rgba(167, 135, 41, 0.7);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    font-size: 12px;
    transition: border-color 0.2s, color 0.2s;
}

.carr-btn:hover{
    border-color: rgb(167, 135, 41);
    color: rgb(167, 135, 41);
}

.carr-dots{
    display: flex;
    gap: 6px;
    align-items: center;
}

.carr-dot{
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(167, 135, 41, 0.25);
    transition: background 0.2s;
}

.carr-dot.active{
    background: rgb(167, 135, 41);
}



/*recap*/
.recap{
    padding: 60px;
    padding-top: 0;
    position: relative;
    z-index: 1;
}


.label-mois{
    font-size: 20px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-bottom: 12px;
    padding-top: 30px;
    border-bottom: 1px solid rgba(167, 135, 41, 0.2);
    margin-bottom: 20px;
    margin-top: 100px;
}

.galerie{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 12px;
}

.typ-video{
    grid-column: span 1;
    position: relative;
    overflow: hidden;
}

.typ-video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: rgba(255, 255, 255, 0.04);
}

.typ-video .titre-item{
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.typ-video .num-jour{
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: rgb(167, 135, 41);
}

.type-image{
    background: linear-gradient(to top, rgba(2, 22, 34, 0.92) 30%, rgba(2, 22, 34, 0.2));
    position: relative;
    overflow: hidden;
}

.type-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.type-image .num-jour{
    position: absolute;
    top: 10px;
    left: 12px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: rgb(167, 135, 41);
}

.type-image .descr-item{
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 12px;
    font-size: 12px;
    color: white;
}

.type-blog{
    grid-column: span 1;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.type-blog .texte-blog{
    font-size: 15px;
    color: #7A8FA0;
    line-height: 1.7;
}

.type-blog .num-jour{
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: rgb(167, 135, 41);
}

/*variantes de couleur type-blog*/
.type-blog-or{
    background-color: rgb(167, 135, 41);
}

.type-blog-or .texte-blog{
    color: rgb(2, 22, 34);
}

.type-blog-or .num-jour{
    color: rgb(2, 22, 34);
}

.type-blog-bleu{
    background-color: #224657;
}

.type-blog-bleu .texte-blog{
    color: rgb(2, 22, 34);
}

.type-blog-bleu .num-jour{
    color: rgb(2, 22, 34);
}

.type-blog-beige{
    background-color: #DCD8AE;
}

.type-blog-beige .texte-blog{
    color: rgb(167, 135, 41);
}

.type-blog-beige .num-jour{
    color: rgb(167, 135, 41);
}







/*footer*/
.footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 28px 50px;
    border-top: 1px solid rgba(167, 135, 41, 0.2);
    position: relative;
    z-index: 1;
}

.footer .descr-foot{
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer p,
.footer a{
    color: #7A8FA0;
    font-size: 12px;
    transition: color 0.2s;
}

.footer p:hover,
.footer a:hover{
    color: white;
}

.footer .logos{
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer .logos .logo{
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: transform 0.2s, filter 0.2s;
}

.footer .logos .logo:hover{
    transform: translateY(-2px);
    filter: brightness(0) invert(1);
    opacity: 1;
}


/* ══════════════════════════════════════════════════════════════
   MOBILE (≤768px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* --- navigation --- */
    .nav-barre{
        padding: 16px 20px;
        position: relative;
    }

    nav .menu-ham{
        display: block;
        width: 24px;
        height: 24px;
        cursor: pointer;
        z-index: 60;
    }

    nav .btn-contact{
        font-size: 14px;
        padding: 7px 14px;
    }

    nav .navigation{
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgb(2, 22, 34);
        border-top: 1px solid rgba(167, 135, 41, 0.25);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .35s ease, opacity .25s ease;
        z-index: 50;
    }

    nav.nav-open .navigation{
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
    }

    nav .navigation li{
        width: 100%;
    }

    nav .navigation a{
        display: block;
        padding: 16px 24px;
        font-size: 16px;
        border-bottom: 1px solid rgba(167, 135, 41, 0.12);
    }

    /* --- actualité + carrousel --- */
    .top{
        flex-direction: column;
        padding: 100px 20px 0;
        height: auto;
        gap: 16px;
    }

    .actualite{
        height: 320px;
    }

    .titre-actu{
        font-size: 19px;
    }

    .descr-actu{
        font-size: 13px;
    }

    .prochainement{
        height: 220px;
    }

    /* --- recap / galerie --- */
    .recap{
        padding: 40px 20px;
    }

    .label-mois{
        font-size: 16px;
        margin-top: 50px;
    }

    .galerie{
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    /* --- footer --- */
    .footer{
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
        text-align: center;
    }

    .footer .logos{
        gap: 18px;
    }
}










/* ══════════════════════════════════════════════════════════════
   MOBILE (≤768px)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* --- navigation --- */
    .nav-barre{
        padding: 16px 20px;
        position: relative;
        overflow: visible;
    }

    nav{
        overflow: visible;
    }

    nav .menu-ham{
        display: block;
        width: 24px;
        height: 24px;
        cursor: pointer;
        z-index: 60;
    }

    nav .btn-contact{
        font-size: 14px;
        padding: 7px 14px;
    }

    nav .navigation{
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgb(2, 22, 34);
        border-top: 1px solid rgba(167, 135, 41, 0.25);
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .35s ease, opacity .25s ease;
        z-index: 50;
    }

    nav.nav-open .navigation{
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
    }

    nav .navigation li{
        width: 100%;
    }

    nav .navigation a{
        display: block;
        padding: 16px 24px;
        font-size: 16px;
        border-bottom: 1px solid rgba(167, 135, 41, 0.12);
    }
}