/*Widget parents rules*/
div.elementor:has(.site-header) > div.elementor-element {
}

div.elementor:has(.site-header) > div.elementor-element > div {
    max-width: 100% !important;
}

div.elementor-location-header > div.elementor-element,
div.elementor-location-header > div.elementor-element > div {
    max-width: 100% !important;
}
/*Widget parents rules*/

.site-header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    /*position: fixed;*/
    flex-direction: column;
    background-color: var(--header-bg-color);
}

.header-row-2 {
    border-bottom: 1px solid #dfe6ec;
    z-index: 99;
}

.site-header__row {
    gap: 1em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--header-bg-color);
}

.site-header__row:nth-child(1) {
    z-index: 3;
}

.site-header__row:nth-child(2) {
    z-index: 2;
}

.site-header__row:nth-child(3) {
    z-index: 1;
}

.site-header__row.header-row-1 {
    background-color: var(--main-bg-color);
}

.site-header__row.header-row-1 * {
    color: #ffffff;
}

.site-header__row.header-row-3 {
    border-top: solid 1px #e6e6e6;
}

.header-row__column {
    display: flex;
    align-items: center;
    /*border: solid blue;*/
}

.header-row__column.column-woo,
.header-row__column.column-search,
.header-row__column.column-switch {
    flex: inherit;
}

.header-row__column.column-menu {
    flex-basis: auto;
}

.header-language-switcher {
    position: relative;
    box-shadow: none;
}

.header-language-switcher__toggle,
.header-language-switcher__link {
    width: 46px;
    min-height: 32px;
    padding: 6px 4px;
    border: 0;
    border-radius: 0;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    color: var(--menu-link-color);
    background-color: transparent;
    box-shadow: none;
}

.header-language-switcher__toggle {
    cursor: pointer;
}

.header-language-switcher__toggle:focus,
.header-language-switcher__link:focus {
    outline: 2px solid rgba(239, 121, 4, 0.2);
    outline-offset: 2px;
}

.header-language-switcher__flag {
    line-height: 0;
    display: flex;
    align-items: center;
}

.header-language-switcher__flag img {
    width: 21px;
    height: 15px;
    display: block;
    object-fit: cover;
}

.header-language-switcher__icon {
    font-size: 12px;
    line-height: 1;
}

.header-language-switcher__list {
    top: calc(100% + 6px);
    right: 0;
    z-index: 100;
    min-width: 46px;
    margin: 0;
    padding: 0;
    opacity: 0;
    position: absolute;
    list-style: none;
    visibility: hidden;
    box-shadow: none;
    transform: translateY(-4px);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out,
        visibility 0.2s ease-in-out;
}

.header-language-switcher.is-opened .header-language-switcher__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-language-switcher__item + .header-language-switcher__item {
    margin-top: 4px;
}

.column-search {
    order: 3;
    width: 20%;
    display: flex;
    justify-content: flex-end;
}

.header-logo img {
    height: auto;
    max-width: 100%;
}

@keyframes stickySlideDown {
    0% {
        opacity: 0.7;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*	burger */
.header-burger {
    height: 18px;
    width: 36px;
    cursor: pointer;
    position: relative;
}

.header-burger__line {
    width: 100%;
    height: 2px;
    animation: none;
    position: absolute;
    transform: rotate(0deg);
    animation-duration: 0.65s;
    background-color: var(--menu-link-color);
    animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

.header-burger__line:nth-child(1) {
    top: 0;
    animation-name: topreverse;
    animation-fill-mode: forwards;
}

.header-burger__line:nth-child(2) {
    bottom: 8px;
    animation-name: bottomreverse;
}

.header-burger__line:nth-child(3) {
    bottom: 0;
    animation-name: bottomreverse;
    width: 70%;
    transition: width 0.3s;
}

.header-burger.is-active > .header-burger__line {
    animation-duration: 0.65s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

.header-burger.is-active .header-burger__line:nth-child(1) {
    top: 45.8333333333%;
    animation-name: top;
}

.header-burger.is-active .header-burger__line:nth-child(2) {
    visibility: hidden;
}

.header-burger.is-active .header-burger__line:nth-child(3) {
    bottom: 41.8333333333%;
    animation-name: bottom;
    width: 100%;
}

@keyframes top {
    0% {
        top: 0;
    }
    60% {
        top: 45.8333333333%;
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@keyframes bottom {
    0% {
        bottom: 0;
    }
    60% {
        bottom: 45.8333333333%;
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-45deg);
    }
}

@keyframes topreverse {
    0% {
        transform: rotate(45deg);
        top: 45.8333333333%;
    }
    60% {
        transform: rotate(0deg);
        top: 45.8333333333%;
    }
    100% {
        top: 0;
    }
}

@keyframes bottomreverse {
    0% {
        transform: rotate(-45deg);
        bottom: 45.8333333333%;
    }
    60% {
        transform: rotate(0deg);
        bottom: 45.8333333333%;
    }
    100% {
        bottom: 0;
    }
}

/*	burger */

/*RESPONSIVE*/

/*phone*/
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }

    .site-header__row {
        padding: var(--header-row-padding-mobile);
    }
}

/*tablet*/
@media (min-width: 768px) and (max-width: 1023px) {
    .hide-tablet {
        display: none !important;
    }

    .site-header__row {
        padding: var(--header-row-padding-tablet);
    }
}

/*mobile and tablet*/
@media (max-width: 1024px) {
    .column-woo,
    .column-logo,
    .header-row-1,
    .column-switch,
    .column-burger {
        z-index: 99;
    }

    .site-header {
        position: fixed;
    }

    .header-row-2 {
        position: relative;
    }

    body.menu-opened {
        height: 100%;
        overflow: hidden;
        margin: 0 !important;
    }

    .header-row-2::before {
        top: 0;
        left: 0;
        right: 0;
        content: "";
        height: 100%;
        position: absolute;
        background-color: var(--header-bg-color);
    }

    .header-row__column.column-burger {
        width: 26%;
        gap: 18px;
        justify-content: flex-end;
        order: 3;
    }

    .site-header__row.header-row-3 {
        display: none;
    }

    .header-row__column.column-logo {
        order: 1;
        /*flex: 30% !important;*/
    }

    .header-language-switcher__toggle,
    .header-language-switcher__link {
        width: 44px;
        min-height: 32px;
        padding: 6px 4px;
    }

    .header-row__column.column-switch {
        order: 2;
    }

    .header-row__column.column-woo {
        order: 4;
        width: 20%;
    }

    .header-row-1 .header-row__column {
        flex: 1 1 0;
    }

    .header-row-2:has(.column-woo) .header-row__column.column-switch {
        display: none;
    }

    .header-row-2:has(.column-woo) .header-row__column.column-logo {
        order: 2;
        transform: scale(0.8);
        justify-content: center;
    }

    .header-row-2:has(.column-woo) .header-row__column.column-burger {
        order: 1;
        justify-content: flex-start;
    }

    .header-row__column.column-menu {
        top: 44px;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        z-index: -1;
        display: flex;
        transition: 0.5s;
        position: fixed;
        visibility: hidden;
        flex-direction: column;
        align-items: flex-start;
        align-content: flex-start;
        justify-content: space-between;
        transform: translateX(-110%);
        background-color: var(--submenu-bg-color);
    }

    .header-row__column.column-menu .column-menu_content {
        left: 0;
        gap: 1em;
        right: 0;
        bottom: 0;
        padding: 1em;
        display: flex;
        margin: 0 auto;
        position: absolute;
        align-items: center;
        align-content: center;
        flex-direction: column;
        background-color: var(--second-bg-color);
    }

    .header-row__column.column-menu .column-menu_content > * {
        width: fit-content;
    }

    .header-row__column.column-menu.is-opened {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    /* TOP SECTION */
    .top-section {
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Roboto", sans-serif;
        font-size: 12px;
        color: #848892;
        background-color: #f1f2f6;
        z-index: 10;
    }
}

/*desktop*/
@media (min-width: 1025px) {
    .site-header.scrolled {
        position: fixed;
        animation: stickySlideDown 0.8s ease-in-out forwards;
    }

    .site-header.scrolled .site-header__row.header-row-1,
    .site-header.scrolled .site-header__row.header-row-3 {
        display: none;
    }

    .hide-desktop {
        display: none !important;
    }

    .site-header__row {
        padding: var(--header-row-padding-desktop);
    }

    .header-row__column {
        flex: 1 1 0;
    }

    .header-row__column.column-logo {
        order: 1;
        flex: 5% !important;
    }

    .header-row__column.column-menu {
        order: 2;
    }

}

/*laptop 1*/
@media (min-width: 1024px) and (max-width: 1439px) {
    .site-header__row {
        padding: var(--header-row-padding-sm-laptop);
    }

    .header-row__column.column-logo {
        flex: 10% !important;
    }
}

/*laptop 2*/
@media (min-width: 1440px) and (max-width: 1700px) {
    .site-header__row {
        padding: var(--header-row-padding-laptop);
    }

    .header-row__column.column-logo {
        flex: 10% !important;
    }
}

/*RESPONSIVE*/

/*Ajout spécifique sur le site*/
.column-cta {
    align-items: center;
    justify-content: end;
}
.btn_contact_header {
    border-radius: 100px;
    color: white;
    background-color: var(--e-global-color-primary);
    padding: 10px 35px;
}
