/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    width: 100%;
    height: 42px;

    background: #0b9f98;

    color: #fff;

    position: relative;
    z-index: 1100;
}


.top-bar-container {
    width: min(1400px, calc(100% - 80px));

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   GAUCHE
========================================================= */

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}


.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #fff;

    text-decoration: none;

    font-size: 12px;
    font-weight: 500;

    transition: opacity .2s ease;
}


.top-bar-link:hover {
    opacity: .75;
}


.top-bar-link i {
    font-size: 12px;
}


/* Séparateur */

.top-bar-separator {
    width: 1px;
    height: 17px;

    background: rgba(255,255,255,.35);
}


/* =========================================================
   DROITE
========================================================= */

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}


.top-bar-text {
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 12px;

    opacity: .92;
}


.top-bar-text i {
    font-size: 13px;
}


/* =========================================================
   BOUTON ESPACE CLIENT
========================================================= */

.client-space-btn {
    height: 30px;

    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    background: #fff;

    color: #087c78;

    border-radius: 6px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: all .2s ease;
}


.client-space-btn:hover {
    background: #f2ffff;

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}


.client-space-btn i:first-child {
    font-size: 11px;
}


.client-space-btn i:last-child {
    font-size: 9px;

    transition: transform .2s ease;
}


.client-space-btn:hover i:last-child {
    transform: translateX(3px);
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 1000px) {

    .top-bar-container {
        width: calc(100% - 40px);
    }

    .top-bar-text {
        display: none;
    }

}


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

@media (max-width: 650px) {

    .top-bar {
        height: auto;
        min-height: 40px;
    }


    .top-bar-container {
        width: calc(100% - 20px);

        padding: 6px 0;

        gap: 10px;
    }


    .top-bar-left {
        gap: 10px;
    }


    .top-bar-link {
        font-size: 10px;
    }


    .top-bar-link i {
        font-size: 10px;
    }


    .top-bar-separator {
        height: 14px;
    }


    /* Sur mobile on cache l'e-mail */

    .top-bar-left .top-bar-link:nth-of-type(2),
    .top-bar-left .top-bar-separator {
        display: none;
    }


    .client-space-btn {
        height: 28px;

        padding: 0 9px;

        font-size: 10px;
    }


    .client-space-btn i:last-child {
        display: none;
    }

}


/* =========================================================
   TRÈS PETIT MOBILE
========================================================= */

@media (max-width: 400px) {

    .top-bar-link span {
        display: none;
    }

    .top-bar-link i {
        font-size: 13px;
    }

    .client-space-btn span {
        display: inline;
    }

}








.logo {
    display: inline-flex;
    align-items: center;
    width: 150px;
    height: 70px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-image {
    display: block;
    width: 150px;
    height: 70px;
    object-fit: contain;
}
















.language {
    position: relative;
}

.language-menu {

    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    min-width: 155px;

    padding: 8px;

    background: rgba(255,255,255,.98);

    border: 1px solid #e4eef5;

    border-radius: 14px;

    box-shadow:
        0 12px 35px rgba(15,54,90,.12);

    display: none;

    z-index: 1000;

    animation: languageMenu .2s ease;

}

.language-menu.show {
    display: block;
}

.language-menu button {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 12px;

    border: none;

    border-radius: 9px;

    background: transparent;

    color: #123b68;

    font-size: 14px;

    font-weight: 500;

    cursor: pointer;

    text-align: left;

    transition: all .2s ease;

}

.language-menu button img {

    width: 23px;
    height: 23px;

    object-fit: cover;

    border-radius: 50%;

    flex-shrink: 0;

    box-shadow:
        0 1px 4px rgba(0,0,0,.12);

}

.language-menu button:hover {

    background: #edf9fa;

    color: #079fa5;

    transform: translateX(2px);

}

.language-menu button.active {

    background:
        linear-gradient(
            90deg,
            #e7f8f9,
            #f5fcfc
        );

    color: #079fa5;

    font-weight: 600;

}

.language-menu button.active::after {

    content: "✓";

    margin-left: auto;

    font-size: 14px;

    font-weight: 700;

    color: #12aaa5;

}

@keyframes languageMenu {

    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   HEADER STICKY
========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    box-shadow: 0 2px 12px rgba(14, 34, 51, 0.08);
}
