.em-hero--mayami {
    background-color: var(--em-hero-mayami-bg, #ff6f00);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--em-hero-mayami-text, #100421);
    --em-hero-mayami-accent: var(--em-hero-mayami-text, #100421);
    width: 100%;
    overflow: hidden;
    position: relative;
    --em-hero-ink: #100421;
    --em-hero-aqua: #1fcdd5;
    --em-hero-yellow: oklch(88% 0.19 95);
    --em-hero-shadow: 6px 6px 0 var(--em-hero-ink);
}

.em-hero--mayami .em-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scaleX(-1);
    opacity: 0.32;
    filter: brightness(1.18) saturate(0.92);
    pointer-events: none;
}

.em-hero--mayami .em-hero__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(rgba(16, 4, 33, 0.12) 0.7px, transparent 0.7px),
        radial-gradient(rgba(16, 4, 33, 0.08) 0.5px, transparent 0.5px);
    background-size: 3px 3px, 5px 5px;
    opacity: 0.18;
}

.em-hero--mayami .em-hero__inner {
    width: min(1100px, 92vw);
    margin: 0 auto;
    padding: 44px 0 68px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(320px, 430px);
    gap: 28px;
    align-items: start;
}

.em-hero--mayami .em-hero__left {
    min-width: 0;
    max-width: 640px;
}

.em-hero--mayami .em-hero__scroll-row {
    display: flex;
    justify-content: flex-start;
    margin-top: -2px;
    margin-bottom: 14px;
}

.em-hero--mayami .em-hero__scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(16, 4, 33, 0.8);
    font-size: 24px;
    line-height: 1;
    transition: color 0.12s ease;
}

.em-hero--mayami .em-hero__scroll:hover {
    color: var(--em-hero-ink);
}

@keyframes em-hero-badge-wiggle {
    0%,
    100% {
        transform: rotate(-1.5deg);
    }

    50% {
        transform: rotate(1.5deg);
    }
}

.em-hero--mayami .em-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--em-hero-ink);
    border-radius: 999px;
    background: var(--em-hero-badge-bg, var(--em-hero-yellow));
    color: var(--em-hero-badge-text, var(--em-hero-ink));
    padding: 7px 18px;
    font-family: "Archivo Black", sans-serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 var(--em-hero-ink);
    margin-bottom: 18px;
    transform-origin: center center;
}

.em-hero--mayami .em-hero__badge.em-wiggle {
    animation: em-hero-badge-wiggle 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .em-hero--mayami .em-hero__badge.em-wiggle {
        animation: none;
    }
}

.em-hero--mayami .em-hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--em-hero-aqua);
    flex-shrink: 0;
}

.em-hero--mayami .em-hero__subtitle {
    margin: 0;
    font-family: "Archivo Black", sans-serif;
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.20em;
}

.em-hero--mayami .em-hero__logo-wrap {
    margin-top: 14px;
}

.em-hero--mayami .em-hero__logo {
    display: block;
    max-width: min(520px, 100%);
    height: auto;
    margin-left: -18px;
}

/* En colonne (HEADER hero + slider), le padding interne du hero passe à 0 :
   on annule le débord négatif du logo, sinon il est tronqué par overflow:hidden. */
.em-hero--mayami.em-hero--pair-column .em-hero__logo,
.em-hero--mayami.em-hero--in-header .em-hero__logo {
    margin-left: 0;
}

.em-hero--mayami .em-hero__main-title-fallback {
    margin: 14px 0 0;
    font-family: "Archivo Black", sans-serif;
    font-size: clamp(40px, 8.2vw, 94px);
    line-height: 0.95;
    letter-spacing: 0.01em;
}

.em-hero--mayami .em-hero__description {
    margin: 20px 0 0;
    max-width: 560px;
    font-family: "Archivo Black", sans-serif;
    font-size: 17px;
    line-height: 1.42;
    color: var(--em-hero-mayami-text, #100421);
}

.em-hero--mayami .em-hero__actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding-bottom: 24px;
}

.em-hero--mayami .em-hero__btn {
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid var(--em-hero-ink);
    box-shadow: 6px 6px 0 var(--em-hero-ink);
    font-family: "Archivo Black", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    padding: 16px 26px;
    color: var(--em-hero-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.em-hero--mayami .em-hero__btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 9px 9px 0 var(--em-hero-ink);
}

.em-hero--mayami .em-hero__btn--stream {
    background: var(--em-hero-stream-bg, var(--em-hero-yellow));
    color: var(--em-hero-stream-text, var(--em-hero-ink));
}

.em-hero--mayami .em-hero__btn--watch {
    background: var(--em-hero-watch-bg, var(--em-hero-aqua));
    color: var(--em-hero-watch-text, var(--em-hero-ink));
}

.em-hero--mayami .em-hero__btn-icon {
    line-height: 1;
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.em-hero--mayami .em-hero__btn--stream .em-hero__btn-icon {
    width: 14px;
    height: 14px;
    border: 2px solid var(--em-hero-stream-text, var(--em-hero-ink));
    border-radius: 999px;
    position: relative;
}

.em-hero--mayami .em-hero__btn--stream .em-hero__btn-icon::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: var(--em-hero-stream-text, var(--em-hero-ink));
}

.em-hero--mayami .em-hero__btn-icon--watch {
    background: transparent;
    color: var(--em-hero-watch-text, var(--em-hero-ink));
    border-radius: 0;
    padding: 0;
    font-size: 0;
    width: 12px;
    height: 12px;
    position: relative;
}

.em-hero--mayami .em-hero__btn-icon--watch::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--em-hero-watch-text, var(--em-hero-ink));
}

.em-hero--mayami .em-hero__slider-slot {
    width: 100%;
    max-width: 430px;
    justify-self: end;
}

@media (max-width: 1100px) {
    .em-hero--mayami .em-hero__inner {
        padding: 34px 0 44px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .em-hero--mayami .em-hero__description {
        font-size: clamp(15px, 2.6vw, 18px);
    }

    .em-hero--mayami .em-hero__badge {
        font-size: clamp(10px, 2.2vw, 14px);
    }

    .em-hero--mayami .em-hero__subtitle {
        font-size: clamp(11px, 2vw, 14px);
    }

    .em-hero--mayami .em-hero__btn {
        font-size: clamp(14px, 2.8vw, 16px);
        padding: 12px 18px;
    }

    .em-hero--mayami .em-hero__slider-slot {
        display: none;
    }

    .em-hero--mayami .em-hero__logo {
        margin-left: -10px;
    }
}
