/* =========================================================
   SERVICES NAVIGATION
   ========================================================= */

.services-nav {
    width: 100%;
    padding: 22px 24px;

    background: #07090c;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}


.services-nav__inner {
    width: min(1200px, 100%);
    min-height: 66px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 45px;
}


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

.services-nav__title {
    display: flex;
    flex-direction: column;

    flex-shrink: 0;

    padding-right: 35px;

    border-right: 1px solid rgba(255, 255, 255, 0.1);

    color: #ffffff;

    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}


.services-nav__title span {
    line-height: 1;
}


.services-nav__title small {
    margin-top: 5px;

    color: #1687ff;

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 4px;
}


/* =========================================================
   LIENS
   ========================================================= */

.services-nav__links {
    display: flex;
    align-items: stretch;

    flex: 1;

    gap: 7px;
}


.services-nav__link {
    position: relative;

    display: flex;
    align-items: center;
    gap: 11px;

    min-height: 58px;

    padding: 8px 17px;

    border-radius: 8px;

    color: #858b94;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.services-nav__link:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.045);

    transform: translateY(-1px);
}


.services-nav__number {
    color: #505761;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;

    transition: color 0.2s ease;
}


.services-nav__label {
    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;
}


/* =========================================================
   ACTIF
   ========================================================= */

.services-nav__link--active {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(0, 108, 177, 0.18),
            rgba(0, 108, 177, 0.04)
        );
}


.services-nav__link--active::after {
    content: "";

    position: absolute;

    left: 17px;
    right: 17px;
    bottom: 0;

    height: 2px;

    background: #1687ff;

    border-radius: 2px;
}


.services-nav__link--active .services-nav__number {
    color: #1687ff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .services-nav {
        padding: 15px;
    }


    .services-nav__inner {
        display: block;
    }


    .services-nav__title {
        width: fit-content;

        margin-bottom: 14px;
        padding: 0;

        border: none;
    }


    .services-nav__links {
        width: 100%;

        overflow-x: auto;

        padding-bottom: 4px;

        scrollbar-width: none;
    }


    .services-nav__links::-webkit-scrollbar {
        display: none;
    }


    .services-nav__link {
        flex-shrink: 0;

        min-height: 46px;

        padding: 7px 13px;
    }


    .services-nav__label {
        font-size: 13px;
    }
}