header{
    background-color: var(--bg-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 6.8rem;
    position: relative;
}


header::after{
    content: '';
    display: block;
    position: absolute;
    z-index: 1;
    height: 4px;
    bottom: -1px;
    width: 100%;
    background-color: #671920;
    box-shadow: inset 0px 1px 2px #ff0000, 0px 1px 1px 0px #ff0000;
}

header .logo{
    display:flex;
    flex-direction: column;
    justify-content: center;
    flex:1;
    max-width: 380px;
    padding-left: 3rem;
}

header .logo img{
    /*width: auto;*/
    /*min-width: 300px;*/
    /*height: 45px;*/
    /*margin-top: 1.2rem;*/
    filter:invert(var(--logo-invert));
}

header .logo span{
    border-top: 2px solid #F00;
    box-shadow: 0px -3px 1px -2px #800;
    display: inline-block;
    font-size: 0.74rem;
    font-weight: bold;
    letter-spacing: 1.2px;
    /*padding: 6px 2px;*/
    /*min-width: 300px;*/
    text-align: center;
}

header > .ctn_nav{
    flex:auto;
    display: flex;
    flex-direction: column;
}

header >.ctn_nav > nav.menu{
    flex:auto;

    border-bottom : none;
    box-shadow:none;
    padding: 0;

    margin-top: -8px;
}

header >.ctn_nav > .menu > ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin-right: 1rem;
    box-shadow: none;
    gap: 4rem;
    background: transparent;
}


header >.ctn_nav > .menu li,
header >.ctn_nav > .menu a {
    color: var(--text-color);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0.1em;
    font-size: 1.3rem;
}



/***************************************************************
                SOUS MENU
*************************************************************/
header >.ctn_nav > .menu > ul > li{
    position:relative;
}


header >.ctn_nav > .menu > ul  ul{
    display: flex;
    flex-direction: column;
    visibility: hidden;
    position: absolute;
    max-height: 0;
    left:-2px;
    top:35px;
    padding:5px;
    padding-top:0;
    opacity:0;
    background-color: var(--bg-color);
    border-radius: 0 0 5px 5px;
    box-shadow: var(--shadow-subMenu);
    transition: all linear 0.2s;
}

header >.ctn_nav > .menu > ul >li:hover  ul,
header >.ctn_nav > .menu > ul >li:active  ul,
header >.ctn_nav > .menu > ul >li:focus-within  ul,
header >.ctn_nav > .menu > ul >li:focus  ul,
header >.ctn_nav > .menu > ul  ul:hover{
    visibility: visible;
    top:48px;
    max-height: 200px;
    opacity: 1;
}
/* Ajout d'une bande au dessus pour éviter que le menu ne se referme quand on bouge la souris */
header >.ctn_nav > .menu > ul >li:hover ul::after, 
header >.ctn_nav > .menu > ul >li:active ul::after, 
header >.ctn_nav > .menu > ul >li:focus-within ul::after, 
header >.ctn_nav > .menu > ul >li:focus ul::after, 
header >.ctn_nav > .menu > ul ul:hover::after{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    top: -20px;
    height: 20px;
    left: 0;
}

header >.ctn_nav > .menu li li {
    padding: 15px 18px;
    border-bottom: 1px solid #333;
    display: block;
    min-width: 320px;
}

header >.ctn_nav > .menu li li, header >.ctn_nav > .menu li li a {
    font-size: 1.1rem;
}

header >.ctn_nav > .menu li li:last-child {
    border: none;
}



nav.menu{
    display: block;
    position: relative;
    width: 100%;
    height: 3.4rem;
    border-bottom : 2px solid #999;
    box-shadow:1px 1px 1px #999;
    padding-top: 0.5rem;
}



header > .ctn_nav > .top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    padding-right: 2.2rem;
    z-index: 100;

}

header > .ctn_nav > .top-bar > * {
    margin: 0 1rem;
}


header a {
    font-size: 1.05rem;
    text-decoration: none;
    letter-spacing: 0.1rem;
    color: var(--text-color);
}



header .top-bar a {
    font-size: 1rem;
}






header .bloc-v{
    display: flex;
    flex-direction: row;
}
header .bloc-v>span{
    writing-mode: vertical-lr;
    transform: rotateZ(180deg);
    text-align: center;
}
header .bloc-v .lc_slider_select{
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: baseline;
}


header .bloc-v .lc_slider_select li{
    margin: 0.13rem;
}








/***********************************************************************
                BOUTON MENU MOBILE (caché)
***********************************************************************/




/* Bouton hamburger (caché en desktop) */
.hamburger {
  position: absolute;
  right: 1.5rem; top: 1.2rem; min-width:0;
  padding: 9px; border: 0; background: transparent;
  display: none; /* montré en mobile via @media */
  align-items: center; justify-content: center;
  z-index: 1002; cursor: pointer;
}
.hamburger span {
  display: block; width: 1.8rem; height: 2px;
  margin: 5px 0; background: var(--text-color, #111);
  transition: transform .25s ease, opacity .25s ease;
}
/* Animation en croix */
body.menu-open .hamburger span:nth-child(1){ transform: translateY(6px) rotate(45deg);}
body.menu-open .hamburger span:nth-child(2){ opacity: 0;}
body.menu-open .hamburger span:nth-child(3){ transform: translateY(-6px) rotate(-45deg);}

/* Backdrop */
.menu-backdrop {
  position: fixed; inset: 0; top:var(--headerHeight);
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease; z-index: 1000;
}
body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
