.is-searchbox .main-header__nav {
    top: 231px !important;
}

@media screen and (max-width: 1330px) {
    .is-searchbox .main-header__nav {
        top: 80px !important;
        z-index: 100 !important;
    }
}

.main-header__logo {
    display: flex;
    align-items: center;
    flex-basis: 30%;
}

.main-header__logo img {
    padding-right: 10px;
}

.main-header__logo img.desktop-logo,
.main-header__logo img.mobile-logo {
    max-width: 200px !important;
}

.main-header__logo img.rf-logo {
    max-width: 100px !important;
}

.main-header__navbar {
    width: 100%;
    height: 51px;
}

.main-header__sites__list {
    text-transform: none !important;
}

.main-header__lang {
    margin-left: 1.75rem !important;
    padding: 0;
    list-style: none;
    text-align: center;
}

.main-header__magnifier {
    margin-left: 0 !important;
}

.primary-menu__link {
    text-transform: uppercase !important;
}

.primary-menu__item__search {
    opacity: 0;
    max-width: 0;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s all ease-in-out;
}

.primary-menu__item__search .open-searchbox {
    padding: 0 !important;
    transition: 0.2s all ease-in-out;
}

.primary-menu__item__search.scroll-show {
    display: flex;
    opacity: 1;
    max-width: 100px;
    transition: 0.2s all ease-in-out;
}

.primary-menu__item__search.scroll-show .open-searchbox {
    padding: 0 1.25rem !important;
    transition: 0.2s all ease-in-out;
}

.primary-menu__item__search:not(.scroll-show) .open-searchbox::before {
    display: none;
}

.primary-menu__item__logo {
    padding: 0;
    opacity: 0;
    max-width: 0;
    padding: 0.5em 0;
    transition: 0.2s all ease-in-out;
}

.primary-menu__item__logo a {
    display: none;
}

.primary-menu__item__logo.scroll-show {
    display: flex;
    opacity: 1;
    max-width: 100px;
    padding: 0.5em 0.5em 0.5em 1.5em;
    transition: 0.2s all ease-in-out;
}

.primary-menu__item__logo.scroll-show a {
    display: block;
}

.main-header__socials a svg {
    fill: #4a4a4a;
    height: 30px;
    width: 30px;
}

.main-header__socials a:hover svg {
    fill: #4162ff;
}

.main-header__socials a svg .st0 {
    display: block !important;
}

@media screen and (min-width: 1330px) {
    .main-header__navbar {
        flex-grow: unset !important;
        justify-content: space-between !important;
        height: 51px;
    }

    .main-header__sites {
        width: 100%;
        padding-left: 0 !important;
        height: 100%;
    }

    .main-header__sites__list {
        font-weight: 500 !important;
        font-size: 0.85rem;
        height: 100%;
    }

    .main-header__sites li {
        flex-grow: 1;
        justify-content: center;
    }

    .main-header__sites li:first-of-type {
        justify-content: flex-start;
    }

    .main-header__sites li:last-of-type {
        justify-content: flex-end;
    }

    .main-header__sites li a {
        max-width: none !important;
    }

    .main-header__project--desktop a {
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        padding-top: 0.85em;
        padding-bottom: 0.85em;
    }

    .primary-menu__link {
        font-size: 0.85rem;
        font-weight: 500;
    }
}

@media screen and (max-height: 900px) and (min-width: 1090px) and (max-width: 1330px) {
    body {
        padding-top: 0 !important;
    }

    .main-header {
        position: sticky !important;
        top: -86px !important;
    }

    .main-header__top {
        padding: 0.5rem 1.25rem !important;
        height: 86px !important;
    }

    .main-header__navbar {
        flex-grow: unset !important;
        justify-content: space-between !important;
        max-height: 30px;
    }

    .main-header__sites {
        width: 100%;
        padding-left: 0 !important;
        height: 100%;
    }

    .main-header__sites__list {
        font-size: 11px;
        font-weight: 500 !important;
        height: 100%;
        max-width: 520px;
    }

    .main-header__sites li {
        flex-grow: 1;
        justify-content: center;
        min-height: unset !important;
    }

    .main-header__sites li:first-of-type {
        justify-content: flex-start;
    }

    .main-header__sites li:last-of-type {
        justify-content: flex-end;
    }

    .main-header__sites li a {
        padding-bottom: 0.5em;
        max-width: none !important;
    }

    .main-header__project--desktop a {
        padding-top: 0.6666666667em;
        padding-bottom: 0.6666666667em;
        font-size: 11px;
        font-weight: 500 !important;
    }

    .main-header__tools {
        display: flex;
        align-items: flex-end;
    }

    .main-header__magnifier .open-searchbox {
        font-size: 1em;
        background-color: var(--light);
        padding: 0.6666666667em;
        border-radius: 100%;
    }

    .main-header__lang {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .main-header__lang li {
        position: relative;
        padding: 0 0.5em;
        border: none !important;
    }

    .main-header__lang li::after {
        content: "";
        position: absolute;
        right: -2px;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 4px;
        height: 4px;
        background: #d8d8d8;
        border-radius: 100%;
    }

    .main-header__lang li:last-of-type:after {
        display: none;
    }

    .main-header__socials {
        display: none;
    }

    .primary-menu__link {
        font-size: 11px;
        padding: 1rem 1.25rem !important;
    }

    .primary-menu__item__search {
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .primary-menu__item__search .open-searchbox {
        font-size: 1em;
        color: var(--white);
        height: 100%;
        width: 100%;
    }

    .primary-menu__item__search .open-searchbox:hover {
        color: #10337f;
        background-color: var(--white);
    }

    .primary-menu__item__logo img {
        filter: brightness(0) invert(1);
        height: 25px;
    }
}

@media screen and (max-width: 1090px) {
    .main-header__tools {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .main-header__lang {
        margin-left: 0 !important;
    }

    .primary-menu__item__logo {
        display: none;
    }

    .primary-menu__item__search {
        display: none;
    }
}

/* JUMBOTRON */

body {
    padding-top: 0 !important;
}

.main-header {
    position: sticky !important;
}

.main-header__nav {
    position: sticky !important;
    top: 151px !important;
    z-index: 200 !important;
}

@media screen and (max-width: 1330px) {
    .main-header__logo img.desktop-logo,
    .main-header__logo img.mobile-logo {
        max-width: 180px !important;
    }

    .main-header__logo img.rf-logo {
        max-width: 100px !important;
    }

    .main-header__logo img {
        max-height: 70px !important;
    }

    .main-header__nav {
        top: 0 !important;
    }

    .main-header__nav .desktop-logo {
        display: none;
    }
}

@media screen and (max-width: 1090px) {
    .main-header__nav {
        position: fixed !important;
        top: 110px !important;
        height: calc(100vh - 110px);
        overflow: auto;
        transform: translate(0, calc(-100vh - 110px));
        transition: transform 0.15s ease-in-out;
    }

    .is-menu .main-header__nav {
        transform: translate(0, 0%) !important;
        height: calc(100vh - 110px);
    }

    .is-menu .main-header .hamburger {
        padding-top: 5px !important;
    }

    .is-menu .main-header__navbar .main-header__tools {
        padding: 2.25em 1.25rem !important;
    }

    .is-menu .main-header__navbar .main-header__tools .main-header__magnifier {
        margin-right: calc(1.75rem + 30px);
    }

    .is-menu .main-header__searchbox .searchbox__inner {
        padding: 0.25rem 1em !important;
    }
}

@media screen and (max-width: 400px) {
    .main-header__logo img.desktop-logo,
    .main-header__logo img.mobile-logo {
        max-width: 150px !important;
    }
}

@media screen and (max-width: 360px) {
    .main-header__navbar-mobile .open-searchbox.icon-search {
        display: none !important;
    }
}

#header_jumbotron {
    display: none;
}

#container #header_jumbotron {
    display: block;
}

#container #header_jumbotron .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    height: 15%;
    width: 100%;
    background: linear-gradient(white, 40%, #fff0);
}

#container #header_jumbotron .cover {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#container #header_jumbotron .cover.mobile-cover {
    display: none;
}

#container #header_jumbotron .cover.desktop-cover {
    display: block;
}

#container #header_jumbotron .logo-text {
    position: absolute;
    inset: auto 0 150px 0;
    margin: auto;
    z-index: 3;
    max-width: 600px;
    padding-inline: 40px;
}

#container #header_jumbotron .logo-text .logo {
    width: 100%;
    padding-bottom: 40px;
    filter: drop-shadow(-4px 4px 0 rgba(0, 0, 0, 0.1));
}

#container #header_jumbotron .logo-text .text-overlay {
    width: 100%;
    margin: 0;
    text-align: center;
    line-height: 1.2;
    font-size: 2.5rem;
    font-weight: 500;
    font-family: SFMono-Regular;
    text-shadow: -2px 2px 0 rgba(0, 0, 0, 0.25);
}

#container #header_jumbotron .logo-text .text-overlay .blue {
    color: #10337f;
}

#container #header_jumbotron .logo-text .text-overlay .red {
    color: #db3c00;
}

#container #header_jumbotron .scroll-down {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 48px;
    margin: auto;
    z-index: 3;
    appearance: none;
    border: none;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    width: 96px;
}

#container #header_jumbotron .scroll-down:focus {
    outline: none;
}

#container #header_jumbotron .scroll-down img {
    width: 100%;
    height: 100%;
}

/* Mute button */
#header_jumbotron  .mute-button {
    cursor: pointer;

    position: absolute;
    top: 10px;
    right: 25px;

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

    width: 40px;
    height: 40px;

    border: none;
    outline: none;
    background: transparent;
}

/* Styles pour les icônes SVG */
#header_jumbotron  .mute-button .icon {
    position: absolute;
    width: 24px;
    height: 24px;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    color: #fff; /* Couleur des icônes, ajustez selon le design */
}

/* Icône active visible */
#header_jumbotron  .mute-button .icon.active {
    opacity: 1;
    transform: scale(1);
}

/* Animation lors du basculement */
#header_jumbotron  .mute-button.animate-icon .icon {
    transform: rotate(360deg) scale(1.2);
}

/* Optionnel : Ajouter une légère ombre pour l'effet */
#header_jumbotron  .mute-button .icon {
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

/* Style du bouton mute */
#header_jumbotron  .mute-button {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px;
    transition: background-color 0.3s ease;
}

#header_jumbotron  .mute-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media screen and (min-width: 1330px) {
    #container #header_jumbotron {
        display: block;
        position: relative;
        height: calc(100vh - 150px - 73px);
        cursor: pointer;
    }
}

@media screen and (max-width: 1330px) and (min-width: 1090px) {
    #container #header_jumbotron {
        position: relative; /* new : for mute btn */
        display: block;
        height: calc(100vh - 86px - 44px);
    }

    #container #header_jumbotron .overlay {
        inset: 86px 0 44px 0;
        /* height: calc(100% - 86px - 44px); */
    }

    #container #header_jumbotron .cover {
        /* height: calc(100% - 86px - 44px); new : for mute btn */
        /* margin-top: 86px; new : for mute btn */
    }
}

@media screen and (max-width: 1090px) and (min-width: 576px) {
    #container #header_jumbotron {
        position: relative; /* new : for mute btn */
        display: block;
        height: calc(100vh - 110px);
    }

    #container #header_jumbotron .overlay {
        inset: 110px 0 0 0;
        /* height: calc(100% - 110px); */
    }

    #container #header_jumbotron .cover {
        /* height: calc(100% - 110px); new : for mute btn */
        /* margin-top: 110px; new : for mute btn */
    }
}

@media screen and (max-width: 576px) {
    #container #header_jumbotron {
        display: block;
        height: calc(100vh - 110px);
    }

    #container #header_jumbotron .logo-text {
        inset: 0;
        display: flex;
        align-items: center;
        padding-inline: 20px;
    }

    #container #header_jumbotron .logo-text .logo {
        display: none;
    }

    #container #header_jumbotron .logo-text .text-overlay {
        font-size: 2rem !important;
    }

    #container #header_jumbotron .overlay {
        inset: 110px 0 0 0;
        /* height: calc(100% - 110px); */
    }

    #container #header_jumbotron .cover {
        height: calc(100% - 110px);
        margin-top: 110px;
    }

    #container #header_jumbotron .cover.mobile-cover {
        display: block;
    }

    #container #header_jumbotron .cover.desktop-cover {
        display: none;
    }
}
