:root {
    --brand-red: #e9061e;
    --brand-black: #000;
    --brand-white: #fff
}

html,
body {
    margin: 0;
    padding: 0
}

.ma-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 80px;
    z-index: 100;
    background: transparent;
    transition: background .25s, box-shadow .25s, border-color .25s, backdrop-filter .25s;
    border-bottom: 1px solid transparent
}

.ma-header.is-scrolled {
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(8px);
    border-bottom-color: rgba(255, 255, 255, .15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35)
}

.ma-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.ma-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none
}

.ma-brand img {
    height: 42px;
    width: auto
}

.ma-nav--desktop {
    display: none
}

@media(min-width:1024px) {
    .ma-nav--desktop {
        display: block
    }
}

.ma-menu,
.ma-menu * {
    list-style: none;
    margin: 0;
    padding: 0
}

.ma-menu {
    display: flex;
    align-items: center;
    gap: 28px
}

.ma-menu>li>a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 6px;
    position: relative;
    display: inline-block;
    transition: color .2s
}

.ma-menu>li:hover>a {
    color: var(--brand-red)
}

.ma-menu>li.current_page_item>a,
.ma-menu>li.current-menu-item>a,
.ma-menu>li.current-menu-ancestor>a {
    color: var(--brand-red)
}

.ma-menu>li.current-menu-item>a::after,
.ma-menu>li.current-menu-ancestor>a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--brand-red);
    border-radius: 999px
}

.ma-menu li.menu-item-has-children {
    position: relative
}

.ma-menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(0, 0, 0, .95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 10px;
    display: none
}

.ma-menu li:hover>.sub-menu {
    display: block
}

.ma-menu li .sub-menu li a {
    display: block;
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600
}

.ma-menu li .sub-menu li a:hover {
    background: rgba(255, 255, 255, .08)
}

.ma-cta {
    display: none
}

@media(min-width:768px) {
    .ma-cta {
        display: block
    }
}

.ma-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: transform .2s, background .2s
}

.ma-btn--primary {
    background: var(--brand-red);
    color: #fff;
    padding: 10px 16px
}

.ma-btn--primary:hover {
    background: #b30519;
    transform: translateY(-1px)
}

.ma-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 22px;
    cursor: pointer
}

@media(min-width:1024px) {
    .ma-burger {
        display: none
    }
}

.ma-mobile {
    position: fixed;
    left: 0;
    right: 0;
    top: 80px;
    bottom: 0;
    z-index: 90;
    background: rgba(0, 0, 0, .95);
    backdrop-filter: blur(8px);
    display: none;
    padding: 18px 16px;
    overflow: auto
}

.ma-header.mobile-open+#maMobileNav {
    display: block
}

.ma-nav--mobile .ma-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 6px
}

.ma-menu--mobile>li>a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 12px 14px;
    font-weight: 600;
    border-radius: 10px
}

.ma-menu--mobile>li>a:hover {
    background: rgba(255, 255, 255, .08)
}

.ma-mobile__cta {
    margin-top: 10px
}

.ma-menu--mobile li.menu-item-has-children>a {
    position: relative;
    padding-right: 42px
}

.ma-menu--mobile .ma-subtoggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer
}

.ma-menu--mobile li .sub-menu {
    display: none;
    padding-left: 10px;
    margin-top: 6px;
    border-left: 1px solid rgba(255, 255, 255, .12)
}

.ma-menu--mobile li.open>.sub-menu {
    display: block
}

/* HERO sticky 600px */
.hero-cover {
    position: sticky;
    top: 0;
    z-index: 5;
    height: min(600px, 100vh);
    max-height: 600px;
    overflow: hidden;
    background: #000
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity .8s;
    height: 100%
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 20
}

.hero-overlay-a {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .3))
}

.hero-overlay-b {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 60%)
}

.hero-container {
    position: relative;
    z-index: 30;
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px;
    text-align: center
}

.hero-title {
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px;
    font-size: clamp(24px, 5vw, 48px)
}

.hero-desc {
    color: rgba(255, 255, 255, .8);
    margin: 0 auto 18px;
    max-width: 780px;
    font-size: clamp(14px, 2.6vw, 18px);
    line-height: 1.6
}

.hero-cta {
    display: inline-block;
    background: var(--brand-red);
    color: #fff;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25)
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    gap: 8px
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .4);
    border: none;
    cursor: pointer
}

.hero-dot.is-active {
    background: #fff
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    border: none;
    border-radius: 9999px;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    padding: 10px 14px;
    cursor: pointer
}

.hero-arrow.left {
    left: 16px
}

.hero-arrow.right {
    right: 16px
}

/* pour éviter l'ancre imbriquée sur le logo : nette héritage couleurs */
.custom-logo-link img {
    display: block
}