header#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-sizing: border-box;
    transition: box-shadow 0.25s ease;
}

header#site-header.is-fixed {
  position: fixed;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-out;
}

header#site-header a {
    text-decoration: none !important;
}

header#site-header a,
header#site-header .topbar a {
    color: inherit !important;
}

.mega-intro.is-empty {
    opacity: 0;
}

.mega-card.is-empty {
    opacity: 0;
}

.mega-card--image,
.mega-intro--image {
    width: 270px;
    height: 346px;
    min-height: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: flex-end !important; 
}

.mega-card--image::before,
.mega-intro--image::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0) 55%);
    pointer-events: none;
}
.mega-card--image,
.mega-intro--image {
    position: relative;
    overflow: hidden;
}

.mega-card--image .mega-cta,
.mega-intro--image .mega-cta {
    position: relative;
    z-index: 1;
}

.topbar {
    height: 48px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    box-sizing: border-box;
}
.topbar-inner {
    height: 100%;
    /* max-width: 1440px; */
    max-width: 1840px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-sizing: border-box;
}
.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}
.topbar-search {
    flex: 0 1 430px;
    height: 32px;
    border-radius: 999px;
    background: #fff;
    color: var(--grey);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
}
.topbar-search svg {
    width: 16px;
    height: 16px;
    color: var(--blue);
    flex: 0 0 auto;
}
.topbar-search input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0;
    padding: 0 !important;
    background: transparent;
    color: var(--blue) !important;
    font: inherit;
    font-size: 14px;
}
.topbar-search input::placeholder {
    color: #6a7282;
}
.toplink {
    padding: 4px 8px;
    border-radius: 120px;
    white-space: nowrap;
    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        transform 0.18s ease;
}
.toplink:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-1px);
}
.top-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}
.top-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}
.top-icon svg {
    width: 19px;
    height: 19px;
    stroke-width: 2;
}
#site-header .topbar-right .toplink.cart {
    width: 73px;
    height: 26px;
    background: var(--yellow);
    color: var(--blue) !important;
    display: inline-flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
    margin-left: 4px;
    padding: 0 9px;
    font-size: 14px;
    line-height: 1;
}
.toplink.cart:hover {
    background: #ffd45f;
    color: var(--blue);
    box-shadow: 0 8px 18px rgba(253, 200, 49, 0.24);
}
.toplink.cart svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
    flex: 0 0 auto;
}

/* ==========================================================
   MAINNAV
   .mainnav       = fond, hauteur, blur, ombre -> pleine largeur
   .mainnav-inner  = layout (flex) + max-width capé et centré
   ========================================================== */
.mainnav {
    height: 60px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    z-index: 5;
    box-sizing: border-box;
}
.mainnav-inner {
    height: 100%;
    /* max-width: 1440px; */
    max-width: 1840px;
    width: 100%;
    margin: 0 auto;
    padding: 6px 60px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    position: relative; /* repère pour .mega-menu (absolute) */
}

.logo {
    width: 141.486px;
    height: 48px;
    flex: 0 0 auto;
}
.mainnav .menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--blue);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}
.mainnav .menu-toggle:hover {
    background: #1f2348;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(32, 35, 68, 0.16);
}
.mainnav .menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}
.mainnav.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mainnav.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}
.mainnav.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.navlinks {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #000;
    font-size: 14px;
    line-height: 1.3;
}
.nav-item {
    height: 100%;
    display: inline-flex;
    align-items: center;
    position: static;
}
.navlink {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 120px;
    white-space: nowrap;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}
.nav-item:hover .navlink,
.nav-item:focus-within .navlink,
.navlink:hover {
    background: #f5f8fc;
    color: var(--title);
}
.nav-item.featured .navlink {
    position: relative;
    margin-inline: 6px;
    padding: 8px 18px;
    border: 1px solid rgba(253, 200, 49, 0.8);
    background: rgba(253, 200, 49, 0.16);
    color: var(--blue);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.nav-item.featured:hover .navlink,
.nav-item.featured:focus-within .navlink,
.nav-item.featured .navlink:hover {
    background: var(--yellow);
    color: var(--blue);
    box-shadow: 0 8px 18px rgba(253, 200, 49, 0.22);
}
.mega-menu {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 60px;
    min-height: 284px;
    padding: 26px;
    display: grid;
    grid-template-columns: 268px 1fr 252px;
    gap: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 24px 60px rgba(17, 17, 49, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
    z-index: 30;
    color: var(--blue);
}
.mega-menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.mega-intro {
    min-height: 232px;
    padding: 24px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mega-tag {
    width: max-content;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--blue);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}
.mega-intro h3 {
    margin: 18px 0 10px;
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.08;
    font-weight: 600;
}
.mega-intro p {
    margin: 0;
    color: #f1f1ff;
    font-size: 15px;
    line-height: 1.45;
}
header#site-header .mega-intro .mega-cta {
    width: max-content;
    margin-top: 18px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue) !important;
    font-weight: 700;
    font-size: 14px;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}
.mega-cta:hover {
    background: var(--yellow) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 24px;
    align-content: start;
}
.mega-grid.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mega-col {
    min-width: 0;
    padding: 2px 0;
}
.mega-col.wide {
    grid-column: span 2;
}
.mega-heading {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}
.mega-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--blue);
    font-size: 15px;
    line-height: 1.2;
    transition:
        background 0.16s ease,
        color 0.16s ease,
        transform 0.16s ease;
}
.mega-link::after {
    content: '›';
    color: #c4cad7;
    font-size: 18px;
    line-height: 1;
    opacity: 0.8;
}
header#site-header .mega-link:hover {
    background: #f5f8fc;
    color: var(--green) !important;
    transform: translateX(2px);
}
.mega-note {
    display: block;
    margin-top: 8px;
    padding: 9px 10px;
    border-radius: 8px;
    background: rgba(253, 200, 49, 0.14);
    color: #6a5a14;
    font-size: 13px;
    line-height: 1.35;
}
.mega-card {
    min-height: 232px;
    padding: 22px;
    border-radius: 12px;
    background: #f1f1ff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(46, 49, 86, 0.08);
}
.mega-card h4 {
    margin: 0;
    color: var(--title);
    font-family: var(--font-serif);
    font-size: 21px;
    line-height: 1.15;
    font-weight: 600;
}
.mega-card p {
    margin: 10px 0 18px;
    color: var(--grey);
    font-size: 14px;
    line-height: 1.42;
}
.mega-card a {
    width: max-content;
    padding: 11px 17px;
    border-radius: 999px;
    background: var(--yellow);
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}
.mega-card a:hover {
    background: #ffd45f;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(253, 200, 49, 0.18);
}
.mobile-menu-promo {
    display: none;
}
.chev {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}
.lang {
    width: 141px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.lang button {
    border: 1px solid var(--grey);
    border-radius: 8px;
    padding: 4px 8px;
    height: 29px;
    color: var(--blue);
    background: #f5f8fc !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}
.lang button:hover {
    background: #f5f8fc !important;
    color: var(--blue) !important;
    border-color: var(--title);
    transform: translateY(-1px);
}

.lang button:focus{
    color: inherit;
}

.flag {
    width: 20px;
    height: 14px;
    display: inline-flex;
    overflow: hidden;
}
.flag span {
    flex: 1;
}
.flag .b {
    background: #03267f;
}
.flag .w {
    background: #fff;
}
.flag .r {
    background: #f32730;
}

@media (max-width: 1180px) {
    .topbar-inner {
        padding: 0 24px;
        gap: 18px;
    }
    .topbar-left,
    .topbar-right {
        gap: 12px;
    }
    .topbar-search {
        flex-basis: 340px;
    }
    .mainnav-inner {
        padding: 6px 24px;
        gap: 12px;
    }
    .navlinks {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .navlinks::-webkit-scrollbar {
        display: none;
    }
    .nav-item {
        flex: 0 0 auto;
    }
    .navlink {
        padding: 8px 12px;
    }
    .mega-menu {
        left: 24px;
        right: 24px;
        grid-template-columns: 240px 1fr 230px;
        gap: 22px;
    }
}

@media (max-width: 900px) {
    /* propriétés de boîte -> restent sur .topbar / .mainnav */
    .topbar {
        height: auto;
        min-height: 42px;
        overflow: visible;
    }
    .mainnav {
        height: auto;
        position: relative;
        z-index: 5;
        background: rgba(255, 255, 255, 0.96);
    }

    /* propriétés de layout -> passent sur .topbar-inner / .mainnav-inner */
    .topbar-inner {
        padding: 8px 16px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px 12px;
    }
    .mainnav-inner {
        padding: 10px 16px 12px;
        flex-wrap: wrap;
        gap: 10px 12px;
        align-items: center;
    }

    .topbar-left {
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .topbar-left::-webkit-scrollbar {
        display: none;
    }
    .topbar-search {
        order: 3;
        flex: 1 0 100%;
        height: 34px;
    }
    .topbar-right {
        order: 2;
        gap: 10px;
        margin-left: auto;
    }
    .toplink {
        flex: 0 0 auto;
        font-size: 13px;
    }
    .topbar-right > .toplink:not(.cart) {
        display: none;
    }
    .top-icon {
        width: 30px;
        height: 30px;
    }
    .logo {
        width: 112px;
        height: auto;
    }
    .mainnav .menu-toggle {
        order: 2;
        display: inline-flex;
        margin-left: 0;
        flex-grow: unset;
    }
    .lang {
        order: 1;
        width: auto;
        margin-left: auto;
    }
    .lang button {
        height: 32px;
        font-size: 14px;
    }
    .navlinks {
        order: 3;
        width: 100vw;
        flex: 0 0 100vw;
        height: auto;
        display: none;
        justify-content: flex-start;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: calc(100dvh - 152px);
        margin: 0 calc(50% - 50vw) -12px;
        padding: 0;
        border: 0;
        border-top: 1px solid #e5e7eb;
        border-radius: 0;
        background: #fff;
        box-shadow: 0 20px 44px rgba(17, 17, 49, 0.14);
        color: var(--blue);
        position: relative;
    }
    .mainnav.is-open .navlinks {
        display: flex;
    }
    .mobile-menu-promo {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin: 0;
        padding: 20px;
        border-bottom: 1px solid #e5e7eb;
        background: var(--blue);
        color: #fff;
    }
    .mobile-menu-promo.bottom {
        border-top: 1px solid #e5e7eb;
        border-bottom: 0;
        background: #f1f1ff;
        color: var(--blue);
    }
    .mobile-menu-promo .mega-tag {
        display: inline-flex;
    }
    .mobile-menu-promo h3 {
        margin: 0;
        font-family: var(--font-serif);
        font-size: 22px;
        line-height: 1.12;
        font-weight: 600;
    }
    .mobile-menu-promo p {
        margin: 0;
        color: inherit;
        opacity: 0.86;
        font-size: 14px;
        line-height: 1.4;
    }
    #site-header .mobile-menu-promo a {
        width: max-content;
        max-width: 100%;
        padding: 11px 17px;
        border-radius: 999px;
        background: #fff;
        color: var(--blue) !important;
        font-size: 14px;
        font-weight: 700;
    }
    .mobile-menu-promo.bottom a {
        background: var(--yellow);
    }
    .navlinks.has-drawer > .mobile-menu-promo {
        display: none;
    }
    .nav-item {
        width: 100%;
        height: auto;
        display: block;
        border-bottom: 1px solid #edf0f5;
    }
    .navlink {
        width: 100%;
        min-height: 52px;
        justify-content: space-between;
        padding: 15px 20px;
        background: #fff;
        border-radius: 0;
        font-size: 15px;
        font-weight: 600;
    }
    .navlinks.has-drawer > .nav-item:not(.is-subopen) {
        display: none;
    }
    .navlinks.has-drawer > .nav-item.is-subopen {
        min-height: calc(100dvh - 152px);
        border-bottom: 0;
        background: #f8fafc;
    }
    .navlinks.has-drawer > .nav-item.is-subopen > .navlink {
        position: sticky;
        top: 0;
        z-index: 2;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
    }
    .navlinks.has-drawer > .nav-item.is-subopen > .navlink::before {
        content: '‹';
        margin-right: 10px;
        font-size: 24px;
        line-height: 1;
        color: var(--blue);
    }
    .navlinks.has-drawer > .nav-item.is-subopen > .navlink {
        justify-content: flex-start;
    }
    .navlinks.has-drawer > .nav-item.is-subopen > .navlink .chev {
        margin-left: auto;
        transform: rotate(90deg);
    }
    .nav-item.featured .navlink {
        margin-inline: 0;
        padding: 15px 20px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .navlinks.has-drawer > .nav-item.featured.is-subopen > .navlink {
        border-bottom: 1px solid #e5e7eb;
    }
    .chev {
        display: inline-flex;
        transform: rotate(-90deg);
        transition: transform 0.16s ease;
    }
    .nav-item.is-subopen .chev {
        transform: rotate(0deg);
    }
    .navlinks.has-drawer > .nav-item.is-subopen > .navlink .chev {
        transform: rotate(90deg);
    }
    .mega-menu {
        position: static;
        display: none;
        min-height: 0;
        padding: 0 20px 18px;
        grid-template-columns: 1fr;
        gap: 12px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        background: #f8fafc;
    }
    .nav-item.is-subopen .mega-menu {
        display: grid;
        animation: drawerOpen 0.22s ease both;
    }
    @keyframes drawerOpen {
        from {
            opacity: 0;
            transform: translateX(24px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    @keyframes cascadeOpen {
        from {
            opacity: 0;
            transform: translateY(-4px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .mega-menu::before,
    .mega-intro,
    .mega-card,
    .mega-note {
        display: none;
    }
    .mega-grid,
    .mega-grid.two-cols {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mega-col,
    .mega-col.wide {
        grid-column: auto;
        padding: 0;
        border-bottom: 1px solid #e5e7eb;
    }
    .mega-menu.has-col-drawer {
        padding: 0 0 18px;
    }
    .mega-menu.has-col-drawer .mega-col:not(.is-colopen) {
        display: none;
    }
    .mega-menu.has-col-drawer .mega-grid,
    .mega-menu.has-col-drawer .mega-grid.two-cols {
        min-height: calc(100dvh - 204px);
    }
    .mega-heading {
        min-height: 64px;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: var(--blue);
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }
    .mega-heading::after {
        content: '›';
        color: var(--blue);
        font-size: 18px;
        line-height: 1;
        transition: transform 0.16s ease;
    }
    .mega-menu.has-col-drawer .mega-col.is-colopen .mega-heading {
        position: sticky;
        top: 0;
        z-index: 2;
        min-height: 52px;
        justify-content: flex-start;
        padding: 0 20px;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
    }
    .mega-menu.has-col-drawer .mega-col.is-colopen .mega-heading::before {
        content: '‹';
        margin-right: 10px;
        font-size: 24px;
        line-height: 1;
        color: var(--blue);
    }
    .mega-menu.has-col-drawer .mega-col.is-colopen .mega-heading::after {
        margin-left: auto;
        transform: rotate(180deg);
    }
    .mega-link {
        min-height: 52px;
        padding: 15px 0;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 0;
        background: transparent;
        color: var(--blue);
        font-size: 15px;
        font-weight: 600;
        display: none;
    }
    .mega-menu.has-col-drawer .mega-link {
        padding: 15px 20px;
    }
    .mega-col.is-colopen .mega-link {
        display: flex;
        animation: drawerOpen 0.22s ease both;
    }
}

@media (max-width: 560px) {
    .topbar {
        font-size: 12px;
    }
    .topbar-left .toplink {
        font-size: 12px;
        padding-inline: 4px;
    }
    .topbar-left .toplink:nth-child(3) {
        display: none;
    }
    .topbar-search input {
        font-size: 13px;
    }
    .mainnav-inner {
        padding-inline: 14px;
    }
    .logo {
        width: 104px;
    }
}

@media (min-width: 1920px) {
    .navlinks {
        gap: 20px;
    }
}




.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 34px;
	height: 53px;
	padding: 10px;
	gap: 10px;
	border: none;
	border-radius: 20px;
	background: #202344;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
	z-index: 999;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	background: #2c3060;
}

@media (max-width: 768px) {
	.back-to-top {
		bottom: 20px;
		right: 20px;
	}
}


.socials.socials--footer svg{
    width: 24px;
    height: 24px;
}

.socials--floating {
	position: fixed;
	right: 35px;
	bottom: 130px;
    width: auto !important;
	display: flex !important;
	flex-direction: column;
	align-items: center !important;
	gap: 10px;
	z-index: 998;
}

.socials--floating .socials__item {
	width: 30px;
	height: 30px;
	max-width: 30px;
	border-radius: 50%;
	background: #fdf7f7;
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.socials--floating .socials__item svg {
	width: 24px;
	height: 24px;
}

.socials--floating .socials__item:hover {
	transform: scale(1.08);
}

@media (max-width: 768px) {
	.socials--floating {
		display: none;
	}
}



@media (max-width: 900px) {
    .footer.bpx-block-footer {
        height: auto;
        margin-top: 70px;
        padding: 52px 16px 24px;
    }
}