.pix-wrapper-header {
    position: relative;
    z-index: 1000;

    font-size: 20px; /* Taille de référence */
}

.pix-wrapper-header-logo {
    text-align: center;
    position: relative;
}

a.pix-logo {
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 10px 6px rgba(0, 0, 0, 0.4));
    margin-bottom: -7em;
    margin-top: 0.5em;
}

a.pix-logo img {
    vertical-align: top;
    width: 14em;
}

.pix-site-navigation {
    position: relative;
    z-index: 2;
    
    display: flex;
    flex-direction: row;

    gap: 20em;

    background: linear-gradient(to top, #3a3245, #594a6c);
}

.pix-site-navigation::before,
.pix-site-navigation::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 0.15em;
    background: url('i/header-couture.svg') repeat-x;
    background-size: auto 100%;
    background-position: center center;
    pointer-events: none;
}

.pix-site-navigation::before {
    top: 0.2em;
}
.pix-site-navigation::after {
    bottom: 0.2em;
}

.pix-wrapper-menu-mobile {
    display: none;
}

.pix-wrapper-menu {
    width: 50%;
}

.pix-wrapper-menu ul {
    padding:0;
    margin:0;
    list-style: none;
    position: relative;
}

#pix-menu-desktop-left {
    text-align: right;
}
#pix-menu-desktop-right {
    text-align: left;
}

.pix-wrapper-menu ul li {
    margin: 0px;
    display:inline-block;
    vertical-align: top;
    background-color: transparent;
    position:relative;

    }

.pix-wrapper-menu ul li ul {
    text-align: center;
}


.pix-wrapper-menu a {
    font-family: "Fira Sans Condensed", sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    display:block;
    color:#ffffff;
    line-height: 1em;
    text-decoration:none;
    text-align: center;
    padding: 1.1em 1.3em 1.1em 1.3em;

    text-transform: uppercase;
    position: relative;
}


.pix-wrapper-menu ul li.pix-menu-selected > a {
}


.pix-wrapper-menu a:hover,
.pix-wrapper-menu ul > li:hover > a {
    color: #fff;
}

.pix-wrapper-menu > div > ul > li > a::before,
.pix-wrapper-menu-mobile > div > ul > li > a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 18px;
    height: 18px;
    background: #AF9762;
    opacity: 0;

    pointer-events: none;

    transition: opacity 0.2s ease;
}

.pix-wrapper-menu-mobile > div > ul > li > a::before {
    left: -4px;
    bottom: 50%;
    transform: translateX(-100%) translateY(50%);
}

.pix-wrapper-menu ul > li:hover > a::before,
.pix-wrapper-menu-mobile > div > ul > li:hover > a::before {
    opacity: 1;
}
.pix-wrapper-menu ul > li.pix-menu-selected > a::before,
.pix-wrapper-menu-mobile > div > ul > li.pix-menu-selected > a::before {
    opacity: 1!important;
    background: #443b51;
    
}

.pix-wrapper-menu ul ul > li:hover > a,
.pix-wrapper-menu ul ul > li.pix-menu-selected > a {
    background: #584c69;
}

.menu-arrow-svg {    
    display: inline-block;
    width: 0.6em;
    height: 0.35em;
    margin-left: 0.2em;
    vertical-align: middle;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 0 0);
    transition: bottom 0.2s ease 0s;
}


#pix-menu-desktop > li:hover .menu-arrow-svg {
    bottom: 1px;
}

img.pix-menu-arrow {
    vertical-align: 1px;
    margin-left: 5px;
}

.pix-wrapper-menu ul ul a { 
    text-align: center;
    padding: 1em 1em;
    font-size: 0.9em;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1;
    border-radius: 0 0 0 0;
    white-space: nowrap;
}


.pix-wrapper-menu ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left:50%;
    transform: translateX(-50%);
    z-index:10000;
    min-width: 100%;
    background-color: #443b51;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.pix-wrapper-menu ul li:last-of-type ul {
    left: auto;
    right: 0;
    transform: none;
}

.pix-wrapper-menu ul li:hover > ul {
    display:inherit;
}

.pix-wrapper-menu ul ul li {
    display:list-item;
    position: relative;
}

.pix-wrapper-menu ul ul ul {
    position: absolute;
    top:0;
    left:100%;
    z-index:10000;
}


.pix-site-header .pix-burger-btn{
    position: absolute;
    top: 1em;
    right: 1em;
    width: 2.2em;
    height: 2.2em;
    /* padding: 1em; */
    background-color: #443B51;
    border: none;
    display: none;
    cursor: pointer;
    z-index: 10000;
    border-radius: 0;
    transition: background 0.2s ease;
    touch-action: manipulation;
}
.pix-site-header  .pix-burger-btn .line{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: inline-block;
    width: 1.3em;
    height: 2px;
    background-color: #fff;

    transition: transform 0.3s ease;
}
.pix-site-header.open .pix-burger-btn {
}
.pix-site-header.open  .pix-burger-btn .line {
    background: #ffffff;
}

.pix-site-header .pix-burger-btn .line:first-child{
    transform: translate(-50%, -10px); /* 8px + 2px de la hauteur*/
}
.pix-site-header .pix-burger-btn .line:last-child{
    transform: translate(-50%, 8px);
}
.pix-site-header.open .pix-burger-btn .line:first-child{
    transform: translate(-50%, -50%) rotate(45deg);
}
.pix-site-header.open .pix-burger-btn .line:nth-child(2){
    transform: translate(-50%, -50%) scaleX(0);
}
.pix-site-header.open .pix-burger-btn .line:last-child{
    transform: translate(-50%, -50%) rotate(-45deg);
}


.pix-header-top-reseaux {
    position: absolute;
    top: 1em;
    right: 1em;
    display: flex;
    gap: 0.75em;
}
.pix-header-top-reseaux a img {
    height: 1.4em;
    width: auto;
}


@media (max-width: 1620px) {
    .pix-wrapper-header {
        font-size: 19px;
    }
}

@media (max-width: 1450px) {
    .pix-site-navigation {
        gap: 17em;
    }
    .pix-wrapper-header {
        font-size: 18px;
    }
}
@media (max-width: 1380px) {
    .pix-wrapper-header {
        font-size: 17px;
    }
}
@media (max-width: 1250px) {
    .pix-wrapper-header {
        font-size: 16px;
    }
    .pix-wrapper-menu a {
        padding-inline: 1em;
    }
}

@media (max-width: 1120px) {
    .pix-wrapper-header {
        font-size: 15px;
    }
    a.pix-logo img {
        width: 12em;
    }
    a.pix-logo {
        margin-bottom: -6.5em;
    }
}

@media (max-width: 1050px) {
    .pix-wrapper-menu a {
        padding-inline: 0.6em;
    }
}


@media (max-width: 970px) {
    .pix-site-navigation {
        gap: 15em;
    }
}


/* MENU MOBILE VERTICALE ET BURGER */
@media (max-width:900px) {

    body.nav-open{
        height: 100vh;
        height: 100dvh;
        overflow-y: hidden;
    }

    .pix-wrapper-header {
        font-size: 13px;
    }
    .pix-site-navigation {
        height: 4em;
    }

    .pix-header-top-reseaux {
        right: auto;
        left: 1em;
    }

    .pix-wrapper-menu {
        display: none;
    }

    .pix-wrapper-menu-mobile {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        display: block;

        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transform: translateX(100%);
    }
    .pix-wrapper-menu-mobile > div {
        height: 100%;
        width: 300px;
        margin-left: auto;
    }
    #pix-menu-mobile {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
        background: linear-gradient(to top, #3a3245, #594a6c);
        width: max-content;
        margin-left: auto;
        padding: 15px 0 15px 15px;
        overflow: auto;
        width: 100%;
        margin: 0;
        list-style: none;
    }

    .pix-wrapper-menu-mobile a,
    .pix-wrapper-menu-mobile ul ul a {
        position: relative;
        color: #fff;
        text-align: left;
        text-transform: uppercase;
        font-family: "Fira Sans Condensed", sans-serif;
        font-weight: 400;
        display: inline-block;
        padding: 0.1em 0;
        width: 100%;
        transition: padding-left 0.2s ease;
    }
    
    .pix-wrapper-menu-mobile ul > li {
        max-width: calc(100% - 70px);
    }

    .pix-wrapper-menu-mobile ul li ul {
        display: none;
        transform: none;
        padding-left: 10px;
        background: transparent;
        box-shadow: none;
        position: relative;
        top: auto;
        left: auto;
        list-style: none;
        margin: 0;
    }
    .pix-wrapper-menu-mobile ul li:hover > ul {
        display: none;
    }
    .pix-wrapper-menu-mobile ul li.open > ul {
        display: block;
    }

    .pix-wrapper-menu-mobile ul ul a {
        color: #fff!important;
        text-align: left;
    }
    .menu-arrow-svg {
        position: static;
        display: inline-block;
        transform: translateX(50%) translateY(-1px) rotate(-90deg);
        filter: brightness(0) invert(1);
    }
    .menu-item-has-children.open .menu-arrow-svg {
        transform: translateX(50%) translateY(-1px) rotate(0deg);
    }

    #pix-menu-mobile > li.pix-menu-selected > a {
        color: #fff!important;
    }

    .pix-site-header .pix-burger-btn {
        display: block;
    }


    .pix-site-header.open .pix-wrapper-menu-mobile {
        transform: translateX(0) translateZ(0);
        opacity: 1;
    }

    .pix-wrapper-menu-mobile a:hover {
        color: #fff;
    }
    .pix-wrapper-menu-mobile li ul > li:hover > a {
        color: rgba(255, 255, 255, 0.7)!important;
    } 
    .pix-wrapper-menu-mobile ul ul a {
        color: rgba(255, 255, 255, 0.7)!important;
    }

    .pix-wrapper-menu-mobile ul ul li {
        max-width: 100%;
    }

    #pix-menu-mobile li ul a:hover {
        color: #fff !important;
        border-left: 1px solid #fff;
        padding-left: 10px;
    }

    .pix-wrapper-menu-mobile ul ul li.pix-menu-selected a {
        color: #fff !important;
        border-left: 1px solid #fff;
        padding-left: 10px;
    }
    
}




li.pix-menu-groupe {
    background-color: rgba(0, 0, 0, 0.40) !important;
}
li.pix-menu-groupe a {
    font-weight: 700;
    color: #818181;
    cursor:default;
    pointer-events: none;
    padding-top:15px !important;
    padding-bottom:15px !important;
}

li.pix-menu-groupe a:hover {

}

.pix-wrapper-menu ul li.pix-menu-groupe > a, .pix-wrapper-menu ul > li.pix-menu-groupe > a {
    background-color: rgba(0, 0, 0, 0.40) !important;
    color: #fff;
}
.pix-wrapper-menu ul li.pix-menu-amateurs ul a {
    padding-top: 8px;
    padding-bottom: 8px;
}
