/* ==========================================================
   NOW OR NEVER - HERO
   ========================================================== */

.non-home-hero{

    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;

    border-radius:18px;

    overflow:hidden;

}

.non-home-overlay{

    background:linear-gradient(
        rgba(255,255,255,.18),
        rgba(255,255,255,.40)
    );

    padding:45px 35px 35px;

}

.non-home-content{

    max-width:960px;

    margin:auto;

    text-align:center;

}

/* ==========================================================
   NOM DU PROJET
   ========================================================== */

.non-home-project{

    margin-bottom:18px;

    font-size:22px;

    font-weight:700;

    letter-spacing:5px;

    text-transform:none;

    color:#1E293B;

}

.non-home-project span{

    color:#EA7A23;

}

/* ==========================================================
   TITRE
   ========================================================== */

.non-home-content h1{

    margin:0;

    font-size:58px;

    line-height:1.05;

    font-weight:700;

    color:#0F172A;

}

.non-home-content h1 span{

    color:#EA7A23;

}

/* ==========================================================
   TEXTE D'INTRODUCTION
   ========================================================== */

.non-home-intro{

    max-width:760px;

    margin:30px auto 42px;

    font-size:24px;

    line-height:1.6;

    font-weight:400;

    color:#334155;

}

.non-home-intro span{

    color:#EA7A23;

    font-weight:600;

}

/* ==========================================================
   BOUTONS
   ========================================================== */

.non-home-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:60px;

}

.btn-main{

    display:inline-block;

    background:#EA7A23;

    color:#FFF !important;

    text-decoration:none;

    padding:16px 34px;

    border-radius:999px;

    font-size:18px;

    font-weight:600;

    transition:.25s;

}

.btn-main:hover{

    background:#D86816;

}

.btn-second{

    display:inline-block;

    background:#FFF;

    color:#EA7A23 !important;

    border:2px solid #EA7A23;

    text-decoration:none;

    padding:16px 34px;

    border-radius:999px;

    font-size:18px;

    font-weight:600;

    transition:.25s;

}

.btn-second:hover{

    background:#FFF7F0;

}

/* ==========================================================
   LES 4 PRINCIPES
   ========================================================== */

.non-home-values{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    gap:55px;

    flex-wrap:wrap;

}

.non-value{

    width:165px;

    text-align:center;

}

.non-value-icon{

    height:54px;

    margin-bottom:14px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.non-value-icon img{

    width:42px;

    height:42px;

}

.non-value h3{

    margin:0 0 10px;

    font-size:20px;

    font-weight:600;

    color:#0F172A;

}

.non-value p{

    margin:0;

    font-size:15px;

    line-height:1.45;

    color:#475569;

}

/* ==========================================================
   PARTICIPER
   ========================================================== */

.non-home-link{

    margin-top:42px;

}

.non-home-link a{

    color:#EA7A23;

    text-decoration:none;

    font-size:22px;

    font-weight:600;

}

.non-home-link a:hover{

    text-decoration:underline;

}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:900px){

    .non-home-overlay{

        padding:30px 20px;

    }

    .non-home-project{

        font-size:18px;

        letter-spacing:3px;

    }

    .non-home-content h1{

        font-size:40px;

    }

    .non-home-intro{

        font-size:20px;

    }

    .non-home-buttons{

        flex-direction:column;

        align-items:center;

        margin-bottom:45px;

    }

    .btn-main,
    .btn-second{

        width:100%;
        max-width:320px;

    }

    .non-home-values{

        gap:35px;

    }

}
/* Fix pb longueur sous menu */

.navSub{

    min-width:260px;

    width:max-content;

    max-width:350px;

}

.navSub a{

    white-space:nowrap;

}

@media (min-width: 800px) {
    nav #menuLeft .now-or-never {
        font-size: 1.3em;
        font-weight: 800;
        letter-spacing: 0.04em;
        white-space: nowrap;

        background-color: transparent !important;
        background-image: linear-gradient(
            90deg,
            rgba(74, 127, 209, 1) 0%,
            rgba(50, 185, 238, 1) 32%,
            rgba(113, 152, 181, 1) 46%,
            rgba(201, 168, 75, 1) 56%,
            rgba(242, 201, 76, 1) 68%,
            rgba(240, 100, 60, 1) 100%
        );

        background-clip: text;
        -webkit-background-clip: text;
        color: transparent !important;
        -webkit-text-fill-color: transparent;
    }
}


/* Personlisation menu mabile */

@media (max-width: 799px) {
    nav #toggle {
        display: flex;
        align-items: center;
    }

    nav #toggle #burgerText {
        display: inline-block;
        flex: 0 1 auto;
        width: fit-content;
        margin-left: 16px;

        font-weight: 800;
        letter-spacing: 0.03em;
        white-space: nowrap;

        background-color: transparent !important;
 
        background-image: linear-gradient(
            90deg,
            rgba(74, 127, 209, 1) 0%,
            rgba(50, 185, 238, 1) 32%,
            rgba(113, 152, 181, 1) 46%,
            rgba(201, 168, 75, 1) 56%,
            rgba(242, 201, 76, 1) 68%,
            rgba(240, 100, 60, 1) 100%
        );

        background-origin: content-box;
        background-repeat: no-repeat;
        background-size: 100% 100%;
        background-clip: text;
        -webkit-background-clip: text;

        color: transparent !important;
        -webkit-text-fill-color: transparent;
    }

    nav #toggle #burgerIcon {
        flex: 0 0 auto;
        margin-left: auto;
        margin-right: 14px;
    }
}


/* Custom Home page colors */
.non-home-project {
    display: inline-block;
    width: fit-content;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 600;

    background: linear-gradient(
        90deg,
        #4A7FD1 0%,    /* bleu moyen */
        #32B9EE 32%,   /* bleu froid */
        #7198B5 46%,   /* bleu-gris */
        #C9A84B 56%,   /* jaune ocre */
        #F2C94C 68%,   /* jaune */
        #F0643C 100%   /* orange chaud */
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.non-home-project span {
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Contributor-space navigation */
nav {
    border-bottom: 3px solid rgba(234, 122, 35, 1);
}