.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background: #ffffff;

    border-bottom: 1px solid #e5ebf1;
}

.header-container {
    width: min(1400px, calc(100% - 70px));

    min-height: 108px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


/* =========================================
   IDENTITÉ
========================================= */

.brand {
    display: flex;

    align-items: center;

    gap: 18px;

    min-width: 0;

    text-decoration: none;
}

.brand-logo {
    width: 90px;

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;
}

.brand-logo img {
    width: 100%;

    height: 100%;

    object-fit: contain;
}

.brand-text {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.platform-title {
    color: #075cae;

    font-size: 19px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: .1px;

    white-space: nowrap;
}

.institution-title {
    color: #1c2a3c;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 600;

    white-space: nowrap;
}

.institution-title span {
    color: #075cae;

    font-weight: 800;
}


/* =========================================
   NAVIGATION
========================================= */

.main-navigation {
    display: flex;

    align-items: center;

    gap: 27px;

    flex-shrink: 0;
}

.main-navigation a {
    position: relative;

    padding: 12px 0;

    color: #263548;

    text-decoration: none;

    font-size: 15px;

    font-weight: 600;

    transition: color .25s ease;
}

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 2px;

    height: 2px;

    background: #075cae;

    transform: scaleX(0);

    transition: transform .25s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #075cae;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    transform: scaleX(1);
}


/* =========================================
   MOBILE
========================================= */

.menu-toggle {
    display: none;

    width: 44px;

    height: 44px;

    padding: 0;

    background: #ffffff;

    border: 1px solid #dce5ee;

    border-radius: 8px;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 20px;

    height: 2px;

    margin: 4px auto;

    background: #075cae;
}


/* =========================================
   TABLETTE
========================================= */

@media (max-width: 1150px) {

    .header-container {
        width: calc(100% - 40px);

        gap: 20px;
    }

    .brand-logo {
        width: 72px;

        height: 65px;
    }

    .platform-title {
        font-size: 16px;
    }

    .institution-title {
        font-size: 12px;
    }

    .main-navigation {
        gap: 17px;
    }

    .main-navigation a {
        font-size: 14px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 950px) {

    .header-container {
        min-height: 90px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;

        position: absolute;

        top: 90px;

        left: 0;

        right: 0;

        padding: 15px 25px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: #ffffff;

        border-bottom: 1px solid #e5ebf1;
    }

    .main-navigation.open {
        display: flex;
    }

    .main-navigation a {
        padding: 14px 5px;
    }

}


/* =========================================
   PETIT MOBILE
========================================= */

@media (max-width: 600px) {

    .header-container {
        width: calc(100% - 25px);
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 58px;

        height: 52px;
    }

    .platform-title {
        font-size: 11px;

        white-space: normal;
    }

    .institution-title {
        font-size: 9px;

        white-space: normal;
    }

}