/*
--------------------------------------
Header infos
--------------------------------------
*/

header ul {
    margin          : 0;
    list-style-type : none;
}

.main-header__topbar-container {
    display         : flex;
    justify-content : center;
    align-items     : center;
    gap             : 10px;
    height          : 41px;
    transition      : all 0.4s ease-in-out;
    background      : #171825;;
    will-change     : opacity, transform;
}

.main-header__topbar-container--is-hidden,
.main-header__topbar-container--is-hidden > * {
    opacity    : 0;
    transform  : translateY(-100%);
    transition : all 0.1s ease-in-out;
}

.main-header__topbar-container .header-action__link-text {
    font-family    : var(--e-global-typography-secondary-font-family);
    font-size      : calc(13px + (16 - 13) * ((100vw - 320px) / (1920 - 320)));
    font-weight    : 400;
    color          : #FFFFFF;
    text-align     : center;
    letter-spacing : 0.32px;
}

/*
--------------------------------------
header
--------------------------------------
*/

body:not(.elementor-editor-active) .main-header__inner {
    position         : fixed;
    z-index          : 100;
    width            : 100%;
    background-color : transparent;
}

body:not(.home):not(.elementor-editor-active) .main-header__container {
    position : sticky;
    top      : 0;
    z-index  : 100;
}

body:not(.home):not(.elementor-editor-active) .main-header__inner {
    position   : relative;
    background : var(--Color, #232434);
}

body:not(.home):not(.elementor-editor-active) .main-header__inner.main-header__inner--is-fixed {
    background : transparent;
}

body:not(.home):not(.elementor-editor-active) .main-header__container:has(.main-header__inner--is-fixed) {
    background-color : transparent;
}

.main-header__container--is-shown {
    opacity    : 1;
    background : rgba(56, 56, 56, .75);
}

/*
--------------------------------------
Main header container
--------------------------------------
*/

.main-header__container {
    /*position: sticky;*/
    /*z-index: 12;*/
    /*top: 0;*/
    width            : 100%;
    background-color : #232434;
    /*!*height: 80px;*! si souhaite fixer une taille au header*/
}

/*si on souhaite faire disparaître le logo au scroll */
/*.main-header__container--is-fixed,*/
/*.main-header__container--is-fixed .main-logo__img {*/
/*	opacity: 0;*/
/*}*/

/*.main-header__container--is-fixed .main-logo__img {*/
/*	opacity: 0;*/
/*	height: 0;*/
/*}*/

.main-header__container,
.main-header__container .main-logo__img {
    transition : opacity 0.35s ease-in-out;
}

.main-header__container .main-logo__img {
    height     : 95px; /*obligatoire si on veut faire une animation sur la taille*/
    min-width  : 150px;
    padding    : 5px 0;
    max-width: 300px;
    transition : all 0.35s ease-in-out; 
    object-fit : contain;
    position: relative;
    top: 25px;
}

.main-header__container--is-fixed .main-logo__img {
    height : 80px;
}

.main-header__container--is-shown {
    opacity    : 1;
    background : rgba(255, 255, 255, .85);
}

.main-header__header-container {
    position    : relative;
    z-index     : 1;
    align-items : center;
    height      : 100%;
    transition  : all 0.4s ease-in-out;
    will-change : transform, box-shadow;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
}

.main-header__inner--is-fixed.main-header__inner--is-shown .main-header__header-container {
    background : #232434;
}

.main-header__header-container-inner {
    display               : grid;
    max-width             : 95%;
    margin                : auto;
    grid-template-columns : 1fr auto 1fr;
    align-items           : center;
}

.main-header__header-container--is-scrolled {
    position   : sticky;
    top        : 0;
    right      : 0;
    left       : 0;
    transform  : translateY(-41px);
    z-index    : 20;
    transition : all 0.4s ease-in-out;
    background: #232434;
    box-shadow : 0 4px 10px rgba(0, 0, 0, 0.2);
}

/*Logo*/

.main-header__container .main-logo {
    grid-column : 1;
}

.main-header__container .main-logo__link {
    color       : var(--e-global-color-primary);
    display     : flex;
    align-items : center;
    gap         : 20px;
    padding-top : 10px;
}

.has-secondary-menu-link .main-header__container .main-logo__link {
    color : #FFFFFF;
}

.main-header__container--is-fixed .main-logo__link {
    color : var(--e-global-color-primary);
}

.main-header__container .main-logo__text {
    font-family    : var(--e-global-typography-primary-font-family);
    font-size      : 22px;
    font-weight    : 400;
    line-height    : 1;
    color          : #FFFFFF;
    letter-spacing : -1.12px;
    display        : flex;
    gap            : 10px;
    transition     : all 0.35s ease-in-out;
}

.main-header__container .main-logo__text {
    padding-top : 2em;
}

.main-logo__link,
.main-logo__text {
    color : #FFFFFF;
}

.main-header__container--is-fixed .main-logo__text {
    color          : var(--e-global-color-primary);
    display        : flex;
    flex-direction : row;
    gap            : 7px;
    padding-top    : 0;
}

.main-header__container--is-shown .main-logo__text {
    flex-direction : row;
}

.main-header__container--is-fixed .main-logo__link {
    align-items : center;
}

/*Menu*/

.menu-wrapper {
    display         : flex;
    justify-content : flex-end;
    align-items     : center;
    grid-column     : 3;
}

.menu-item--no-link > .menu-link {
    cursor : default;
}

.main-header__container .current-menu-item > .menu-link {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

/*Actions*/

.main-header__inner .header-actions {
    display         : flex;
    justify-content : flex-end;
    align-items     : center;
    gap             : 15px;
    grid-column     : 2;
    grid-row        : 1;
}

.header-action__link {
    font-family : var(--e-global-typography-032f926-font-family), sans-serif;
}

.main-header__inner .header-action__link {
    color : #000000;
}

.has-secondary-menu-link .main-header__inner .header-action__link {
    color : #FFFFFF;
}

.main-header__inner .header-action__link:focus,
.main-header__inner .header-action__link:hover {
    color : var(--e-global-color-secondary);
}

.main-header__inner--is-fixed .header-action__link:hover {
    color : var(--e-global-color-primary);
}

.header-action__link {
    display       : flex;
    align-items   : center;
    gap           : 5px;
    border-radius : 5px;
}
.main-header__topbar-container{
    color: var(--Color-3, #D2B867);
    text-align: center;
    font-family: Figtree;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px; /* 93.333% */
}
.navigation-contact__list {
    display: flex;
    gap: 10px;
}

.navigation-contact__list > li:first-child > .menu-link{
    display: flex;
    width: 189px;
    height: 50px;
    padding: 15px 25px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: var(--Linear, linear-gradient(90deg, #F4EFB7 0%, #CBA34B 100%));
    color: var(--Color, #232434);
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.navigation-contact__list > li:first-child > .menu-link::after{
    content: '';
    display: inline-block;
    width: 17px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='14' viewBox='0 0 17 14' fill='none'%3E%3Cpath d='M9.57129 1L15.5713 7L9.57129 13' stroke='%23232434' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.8569 7L0.999793 7' stroke='%23232434' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}
.navigation-contact__list > li:last-child > .menu-link{
    display: flex;
    width: 189px;
    height: 50px;
    padding: 15px 25px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    border: 1px solid var(--Linear, #F4EFB7);
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background: var(--Linear, linear-gradient(90deg, #F4EFB7 0%, #CBA34B 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* Hover: inverse les styles des deux boutons */
.navigation-contact__list > li:first-child > .menu-link:hover{
    border: 1px solid var(--Linear, #F4EFB7);
    background: var(--Linear, linear-gradient(90deg, #F4EFB7 0%, #CBA34B 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navigation-contact__list > li:last-child > .menu-link:hover{
    background: var(--Linear, linear-gradient(90deg, #F4EFB7 0%, #CBA34B 100%));
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--Color, #232434);
    color: var(--Color, #232434);
    border: none;
}
.navigation-contact {
    align-content: center;
    justify-items: right;
}
