@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Luckiest+Guy&family=Space+Grotesk:wght@300..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');



/* ── 1. RÉGLAGES GLOBAUX ─────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "Space Grotesk", sans-serif;
    color : rgb(167, 135, 41);
    background-color: rgb(2, 22, 34);
}

#particles {
  position: fixed; 
  inset: 0;
  pointer-events: none;
  z-index: -5;
}

.orb {
    z-index: -10;
    position: absolute;
    justify-self: end;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(167, 135, 41), transparent 70%);
    filter: blur(90px); 
    opacity: 0.25;
    pointer-events: none;
}


/*navigation hamburger*/
nav .menu-ham{
    display: none;
}

nav .menu-ham-2{
    display: none;
}



/*navigation*/
nav{
    z-index: 100;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: fixed;
    padding: 0;
    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;
}

nav .navigation a:hover{
    font-size: 15px;
    font-weight: bold;
    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{
    align-self: center;
    width: 95%;
    margin: 0 auto;
    height: 1px;
    background-color: rgba(167, 135, 41, 0.2);
}




/*en-tête de page*/
.page-header{
    position: relative;
    z-index: 1;
    padding: 170px 90px 60px;
}

.page-header .page-eyebrow{
    font-family: "Space Mono", monospace;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-header .page-titre{
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
}

.page-header .page-titre .COSMIC{
    color: rgb(167, 135, 41);
}

.page-header .page-descr{
    color: #7A8FA0;
    font-size: 18px;
    line-height: 1.7;
    width: 600px;
}

.page-header .deco-hero{
    margin-top: 50px;
    width: 50%;
    height: 1px;
    background-color: rgba(167, 135, 41, 0.2);
}



/*reseaux*/
.reseaux{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 90px 120px;
    gap: 45px;
    border-bottom: 1px solid rgba(167, 135, 41, 0.2);
}

.reseaux p{
    font-size: 25px;
}

.reseaux .logos{
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 45px;
}

.reseaux .logos a{
    height: 55px;
    width: 55px;
}

.reseaux .logos a:hover{
    filter: brightness(0) invert(1);
    transform: translateY(-2px);
    transition: 0.25s;
}



/*dossier*/
.dossier{
    position: relative;
    height: 300px;
    background-color: rgb(167, 135, 41);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.dossier a{
    background-color: rgb(2, 22, 34);
    padding: 15px 20px;
    border-radius: 50px;
    color: rgb(167, 135, 41);
}

.dossier a:hover{
    background-color: rgba(2, 22, 34, 0.93);
    padding: 15px 20px;
    border-radius: 50px;
    color: rgb(167, 135, 41);
}

.dossier p{
    line-height: 1.5;
    color : rgb(2, 22, 34);
    width: 800px;
}



/*Contact*/
.contact-sep{
    width: 95%;
    margin: 0 auto;
    height: 1px;
    background-color: rgba(167, 135, 41, 0.2);
}

.contact{
    display: flex;
    justify-content: space-around;
    height: 400px;
    align-items: center;
}

.contact-1{
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
}

.contact-1 p{
    width: 400px;
}

.contact-1 .btn-contact{
    color: rgb(2, 22, 34);
    background-color: rgb(167, 135, 41);
    padding: 13px 20px;
    border-radius: 50px;
}

.SL{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.SL p{
    color: rgb(167, 135, 41);
    font-size: 18px;
}

.SL .logo-SL{
    height: 120px;
}

.SL:hover{
    transform: translateY(-2px);
    transition: 0.25s;
}





/*footer*/
.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 30px 50px;
    border-top: 1px solid rgba(167, 135, 41, 0.2);
}

.footer .descr-foot{
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer p, .footer a{
    color: #7A8FA0;
    font-size: 12px;
}

.footer p:hover, .footer a:hover{
    color: white;
}

.footer .logos{
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.footer .logos .logo{
    width: 20px;
    height: 20px;
}

.footer .logos .logo:hover{
    filter: brightness(0) invert(1);
    transform: translateY(-2px);
    transition: 0.25s;
}

/* ══════════════════════════════════════════════════════════════
   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);
    }

    /* --- en-tête de page --- */
    .page-header{
        padding: 130px 24px 40px;
    }

    .page-header .page-titre{
        font-size: 34px;
    }

    .page-header .page-descr{
        width: 100%;
        font-size: 15px;
    }

    .page-header .deco-hero{
        width: 100%;
    }

    /* --- reseaux --- */
    .reseaux{
        padding: 40px 24px 60px;
        gap: 28px;
    }

    .reseaux p{
        font-size: 18px;
        text-align: center;
    }

    .reseaux .logos{
        flex-wrap: wrap;
        gap: 28px;
    }

    .reseaux .logos a{
        height: 42px;
        width: 42px;
    }

    /* --- dossier --- */
    .dossier{
        height: auto;
        flex-direction: column;
        gap: 24px;
        padding: 36px 24px;
        text-align: center;
    }

    .dossier p{
        width: 100%;
        font-size: 14px;
    }

    /* --- contact --- */
    .contact{
        flex-direction: column;
        height: auto;
        gap: 40px;
        padding: 50px 24px;
    }

    .contact-1{
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-1 p{
        width: 100%;
    }

    /* --- 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);
    }

}