

.header-utils {
    padding: 0 32px;
    border-bottom: 1px solid #e0dcd7;
    background: #fff;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    
}

.header-utils-list{
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-utils-list:not(:last-child){
    border-right: solid 1px #e0dcd7;
    padding-right: 32px;
}

.header-utils a {
    text-decoration: none;
    display: flex;
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
    color: var(--blue);
}
.header-utils a, .header-utils span {
    font-size: 1.4rem;
}


.social-icons svg, .header-util-link svg {
    height: 14px;
}
.social-icons svg path {
    -webkit-transition: all 0.25s cubic-bezier(0.56, 0.01, 0.4, 1);
    -o-transition: all 0.25s cubic-bezier(0.56, 0.01, 0.4, 1);
    transition: all 0.25s cubic-bezier(0.56, 0.01, 0.4, 1);
    -webkit-transition: all var(--transition-timing) var(--transition-easing);
    -o-transition: all var(--transition-timing) var(--transition-easing);
    transition: all var(--transition-timing) var(--transition-easing);
    fill: var(--blue);
}

.social-icons__link:not(:last-child) {
    margin-right: 2rem;
}
.social-icons .svg--facebook svg {
    width: 11px;
}
.social-icons .svg--twitter svg {
    width: 17px;
}
.social-icons .svg--instagram svg,
.social-icons .svg--linkedin svg {
    width: 15px;
}
.social-icons .svg--youtube svg {
    width: 19px;
}

.header-util-link svg {
    height: 16px;
}

.header-util-link{
    align-items: center;
    display: flex;
    gap: 5px;
}





.menu-close{
    display: none;
}
.main_footer{
   padding: 0 16px; 
}
.main-header {
    padding: 0 16px;
    background: #fff;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    position: static;
    z-index: 999;
    justify-content: space-between;
}

.logo img{
    width: 10rem;
}


.menu-item{
    position: relative;
    text-transform: capitalize;
}



.menu-link{
    font-weight: 600;
    transition: color var(--transition-timing) var(--transition-easing);
    cursor: pointer;
    color: var(--blue);
}
.menu-link.default_button{
    color: #fff !important;
    text-transform: uppercase !important;
}

.menu-link:hover .sub-menu{
    display: block;
}
.menu-link:hover,
.sub-link:hover{
    color: var(--orange);
    transition: color 0.35s ease-out;
}
.header-menu ul{
    display: flex;
    gap: 32px;
}

.default_button {
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 12px 20px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    color: #fff;
    line-height: 1.375;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    letter-spacing: -0.2px;
    background-color: var(--blue);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    vertical-align: middle;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
}

.sub-menu{
    position: absolute; 
    inset: 0;
    top: 20px;
    z-index: 999; 
    border-radius: 5px;
    display: none;
}

.header-small .sub-menu{
    position: relative; 
    inset: 0;
    left: 100px;
    z-index: 999; 
    border-radius: 5px;
    display: none;
}
.header-small .sub-menu.open{
    display: block;
}
.header-small .sub-menu a{
    padding: 24px; 
    display: block;
}
.header-small .sub-menu ul{
    width: 100%; 
}

.sub-menu ul{
    background-color: #FFF; 
    width: 300px;
    padding: 24px 64px 24px 24px;
    margin-left: -100px;
}
.menu-link:hover .sub-menu{
    display: block;
}

.has-children:hover .sub-menu{
    display: block;
}

.sub-menu a{
    color: var(--blue);
    font-weight: 600;
}
.header-big{
    display: none;
}
























.header-small .main-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    cursor: pointer;
    margin-right: 20px;
    transition: all .3s 0s cubic-bezier(0.4, 0, 0.2, 1);
}


.header-small  .header-menu {
    height: calc(1280px - 64px);
}

@media (max-width: 959px) {
  .header-menu {
    position: fixed;
    z-index: 11;
    left: -100%;
    top: 72px; 
    width: calc(100% - 16px);
    background: #f2f0ee;
    overflow-y: auto;
    visibility: hidden;
  }
  .header-menu ul{
    flex-direction: column;
    gap: 0;
  }

  .main-header .header-menu.open {
    left: 16px;
    visibility: visible;
  }

  .menu-toggle.open .menu-close{
    display: block;
  }

  .menu-toggle.open .menu-open{
    display: none;
  }
}

@media (min-width: 768px) {

    .menu-item a::after,
    .sub-item::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--orange);
        bottom: -5px;
        left: 0;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease-out;
    }
    .menu-item a:hover::after,
    .sub-item a:hover::after{
        transform: scaleX(1);
    }
}
@media (min-width: 960px) {
    .header-container {
        display: flex;
        flex-direction: column;
    }
    .main-header {
        box-shadow: 0 -1px 0 #e0dcd7 inset;
    }
    /* .header-menu {
        margin: auto;
    } */
}


@media screen and (max-width:1024px) {
    .menu-link{
        margin-left: 0 !important;
        /* margin-bottom: 20px;
        padding-bottom: 20px; */
        padding-block: 20px;
        padding-left: 20px;
        color: var(--blue) !important;
        border-bottom: 1px solid var(--light-grey);
        display: inline-block;
        width: 100%;
    }
}
@media screen and (min-width:1024px) {
    .header-big{
        display: block;
    }
}


@media (min-width: 1300px) {
    .main-header,.main_footer {
        padding: 0 32px;
    }
    /* .header-menu {
        max-width: calc(100% - 52.5rem);
    } */
    .header-small{
        display: none;
    }
}

.fixed-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optionnel : ajouter une ombre */
}