@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);
}


/*hero*/
.hero {
    position: relative;
    z-index: 1;
    padding-top: 170px;
    padding-left: 60px;
    padding-right: 48px;
}

.hero .logos-hero{
    position: absolute;
    display: flex;
    gap: 40px;
    justify-self: end;
    top: 120px;
}

.hero .logos-hero .logo-hero{
    height: 160px;
}

.hero .logos-hero .logo-hero:hover{
    filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.4));
}

.hero .titre{
    font-size: 120px;
    margin: 55px 0;
    font-weight: 700;
    color: white;
    width: 500px;
    line-height: 120px;
}

.hero .titre .COSMIC{
    color: rgb(167, 135, 41);
}

.hero .descr-2{
    color: #7A8FA0;
    width: 650px;
    font-size: 20px;
}

.hero .deco-hero{
    position: absolute;
    margin-top: 90px;
    width: 50%;
    left: 40px;
    height: 1px;
    background-color: rgba(167, 135, 41, 0.2);
}



/*Description projet*/
.descri-projet-1 {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 80px;
    color: white;
    height: 700px;
}

.descri-projet-1 .text-1{
    display: flex;
    flex-direction: column;
    gap : 30px;
}

.descri-projet-1 .text-1 h1{
    font-size: 60px;
}


.descri-projet-1 .text-1 p{
    width: 60%;
    font-size: 18px;
    line-height: 1.7;
    z-index: 1;
    color: #7A8FA0;
}

.descri-projet-1 .terre{
    position: absolute;
    width: 700px;
    right: -90px;
    z-index: 0;
}

.descri-projet-2 .fusee-etoiles{
    position: absolute;
    top: -110px;
    width: 600px;
    left: 20px;
}

.descri-projet-2 {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 100px 125px;
    color: white;
}

.descri-projet-2 p {
    width: 65%;
    font-size: 18px;
    line-height: 1.7;
    z-index: 1;
    color: #7A8FA0;
}


/*espace*/
.espace{
    height: 30px;
}



/*Qui sommes-nous*/
.qui-sommes-nous {
    position: relative;
    padding: 90px 130px;
    display: flex;
    flex-direction: column;
    gap: 45px;
    border-top: 1px solid rgba(167, 135, 41, 0.3);
    border-bottom: 1px solid rgba(167, 135, 41, 0.3);
}

.qui-eyebrow {
    font-family: "Space Mono", monospace;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(167, 135, 41, 0.75);
    margin-bottom: 10px;
}

.Qui {
    font-size: 42px;
    font-weight: 700;
    color: white;
}

.qui-body {
    display: flex;
    gap: 70px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.qui-sommes-nous .gold {
    color: rgb(167, 135, 41);
}

.descr-qui {
    flex: 1 1 420px;
    font-size: 17px;
    line-height: 2;
    color: #7A8FA0;
}

.qui-stats {
    display: flex;
    gap: 40px;
    flex-shrink: 0;
}

.stat{
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 18px;
    border-left: 2px solid rgba(167, 135, 41, 0.4);
}

.stat-num{
    font-size: 32px;
    font-weight: 700;
    color: rgb(167, 135, 41);
    font-family: "Space Mono", monospace;
}

.stat-label{
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7A8FA0;
}


/*descriptions pole*/
.poles{
    display: flex;
    flex-direction: column;
    gap: 75px;
    padding: 100px 130px;
}

.pole-1,
.pole-2 {
    width: fit-content;
    max-width: 900px;
    display: flex;
    align-items: center;
    background-color: rgba(122, 143, 160, 0.1);
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.pole-1 > img,
.pole-2 > img{
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    object-fit: contain;
}

.pole-1{
    margin-right: auto;
    justify-content: flex-start;
    gap: 60px;
}

.pole-2{
    justify-content: flex-end;
    gap: 60px;
    margin-left: auto; 
    flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.pole-1 .desc,
.pole-2 .desc{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: #7A8FA0;
}

.pole-1 .nom-pole,
.pole-2 .nom-pole{
    font-size: 25px;
    font-weight: bold;
    color: rgb(167, 135, 41);
}

.pole-2 > img.logo_inge {
    width: 150px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    margin-right: -60px; 
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

.pole-2 > img.logo_physique {
    width: 180px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    margin-right: -85px; 
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

.pole-1 > img.logo_se {
    width: 150px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    margin-left: -60px; 
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

.pole-1 > img.logo_chimie {
    width: 150px;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
    margin-left: -70px; 
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}


/*frise*/
.frise{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
}

.frise p{
    font-size: 20px;
}

.frise .img-frise{
    display: block;
    margin: 0 auto;
    width: 75%;
}


/*Photo équipe*/
.equipe{
    display: flex;
    justify-self: center;
    width: 1200px;
    height: 550px;
    background-color: #7A8FA0;
}



/*trailer*/
.trailer {
    width: 1000px; 
    aspect-ratio: 16 / 9;
    margin: 150px auto;
}

.trailer iframe {
    width: 100%;
    height: 100%;
}


/*partenaires*/
.confiance{
    padding: 50px;
    padding-bottom : 60px;
    border-top: 1px solid rgba(167, 135, 41, 0.2);
    border-bottom: 1px solid rgba(167, 135, 41, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 200px;
}

.confiance .conf-2{
    font-size: 40px;
    color: white;
    margin-bottom: 70px;
    margin-top: 15px;
}

.confiance .conf-2 .conf-3:hover{
    color: rgb(167, 135, 41);
    font-weight: bold;
    cursor: default;
}

.confiance .logos{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
}

.confiance .logos .logo{
    height: 70px;
}

.confiance .logos .logo:hover{
    transform: translateY(-2px);
    transition: 0.4s;
}














/*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;
        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);
    }

    /* --- hero --- */
    .hero{
        padding: 120px 24px 50px;
    }

    .hero .logos-hero{
        position: static;
        display: flex;
        gap: 20px;
        margin-bottom: 24px;
    }

    .hero .logos-hero .logo-hero{
        height: 64px;
    }

    .hero .descr-1{
        font-size: 13px;
    }

    .hero .titre{
        font-size: 46px;
        width: 100%;
        line-height: 1.15;
        margin: 24px 0;
    }

    .hero .descr-2{
        width: 100%;
        font-size: 16px;
    }

    .hero .deco-hero{
        position: static;
        width: 100%;
        margin-top: 30px;
        left: 0;
    }

    /* --- description projet --- */
    .descri-projet-1{
        flex-direction: column;
        height: auto;
        padding: 60px 24px;
        align-items: flex-start;
        position: relative;     
        overflow: hidden;
    }

    .descri-projet-1 .text-1{
        position: relative;      
        z-index: 1;              
        gap: 20px;
    }

    .descri-projet-1 .terre{
        position: absolute;      
        top: 60%;
        left: 80%;
        transform: translate(-50%, -50%);
        width: 80%;         
        max-width: 400px; 
        opacity: 0.2;            
        z-index: 0;
        right: auto;
        margin: 0;
    }

    .descri-projet-1 .text-1 h1{
        font-size: 34px;
    }

    .descri-projet-1 .text-1 p{
        width: 100%;
        font-size: 16px;
        line-height: 1.6;
    }


    .descri-projet-2{
        padding: 50px 24px 60px;
        justify-content: flex-start;
        position: relative;  
    }

    .descri-projet-2 p{
        position: relative;      
        z-index: 1;
        width: 100%;
        font-size: 16px;
        line-height: 1.6;
    }

    .descri-projet-2 .fusee-etoiles{
        display: block;          
        position: absolute;
        top: -140px;
        left: 30%;
        transform: translateX(-50%);
        width: 80%;
        max-width: 1000px;
        opacity: 0.45;
        z-index: 0;
    }

    /* --- qui sommes-nous --- */
    .qui-sommes-nous{
        padding: 50px 24px;
        gap: 28px;
    }

    .Qui{
        font-size: 28px;
    }

    .qui-body{
        flex-direction: column;
        gap: 28px;
    }

    .descr-qui{
        font-size: 15px;
        line-height: 1.8;
    }

    .qui-stats{
        flex-wrap: wrap;
        gap: 24px;
    }

    /* --- pôles --- */
    .poles{
        padding: 50px 24px;
        gap: 30px;
    }

    .pole-1,
    .pole-2{
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin: 0;
        padding: 24px;
    }

    .pole-1 .desc,
    .pole-2 .desc{
        align-items: center;
    }

    .pole-1 > img,
    .pole-2 > img,
    .pole-2 > img.logo_inge,
    .pole-2 > img.logo_physique,
    .pole-1 > img.logo_se,
    .pole-1 > img.logo_chimie{
        margin: 0 !important;
        width: 70px;
        height: 70px;
    }

    /* --- frise --- */
    .frise{
        padding: 60px 20px;
    }

    .frise .img-frise{
        width: 100%;
    }

    /* --- équipe --- */
    .equipe{
        width: 100%;
        height: 200px;
    }

    /* --- trailer --- */
    .trailer{
        width: 100%;
        margin: 70px auto;
    }

    /* --- partenaires --- */
    .confiance{
        padding: 40px 20px;
        margin-bottom: 80px;
    }

    .confiance .conf-2{
        font-size: 24px;
        text-align: center;
        margin-bottom: 36px;
    }

    .confiance .logos{
        flex-wrap: wrap;
        gap: 28px;
        row-gap: 24px;
    }

    .confiance .logos .logo{
        height: 42px;
    }

    /* --- footer --- */
    .footer{
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
        text-align: center;
    }

    .footer .logos{
        gap: 18px;
    }

    /* --- décor --- */
    .orb{
        width: 400px;
        height: 400px;
    }
}
