.maki-hero-container {
    position: relative;
    width: 100%;
    height: min(78vh, 760px);
    overflow: hidden;
}

.maki-hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.maki-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Overlay pour lisibilité du texte */
}

.maki-hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1240px;
    width: min(92%, 1240px);
    padding: 0 24px;
    color: #ffffff;
}

.maki-hero-title {
    font-size: clamp(1.9rem, 4.2vw, 3.45rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.08;
    margin: 0 0 8px;
    text-transform: none;
    color: #ffffff !important;
}

.maki-hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.9rem, 1.25vw, 1.05rem);
    letter-spacing: 0.02em;
    margin: 0;
    max-width: 520px;
    text-transform: none;
}

.maki-hero-btn {
    display: inline-block;
    padding: 11px 20px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 18px;
    text-transform: none;
    transition: 0.3s;
}

.maki-hero-btn:hover { background: #ffffff; color: #000; }

.maki-hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.maki-dot {
    height: 9px; width: 9px;
    margin: 0 4px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.maki-dot.active { background-color: #ffffff; }

.maki-hero-arrow {
    align-items: center;
    background: rgba(75, 75, 75, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0 !important;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 1.15rem;
    height: 52px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    z-index: 4;
}

.maki-hero-arrow:hover {
    background: rgba(64, 64, 64, 0.56);
}

.maki-hero-arrow--prev {
    left: 0;
    border-left: 0;
}

.maki-hero-arrow--next {
    right: 0;
    border-right: 0;
}

/* Static hero banner (no slider) */
.maki-hero-static .maki-hero-slide {
    opacity: 1;
    position: absolute;
    z-index: 1;
}

.maki-hero-static .maki-hero-slide.active {
    transition: none;
}

.maki-hero-static.maki-hero-align-left .maki-hero-slide {
    justify-content: flex-start;
}

.maki-hero-static.maki-hero-align-center .maki-hero-slide {
    justify-content: center;
}

.maki-hero-static.maki-hero-align-right .maki-hero-slide {
    justify-content: flex-end;
}

.maki-hero-static.maki-hero-align-center .maki-hero-content {
    text-align: center;
}

.maki-hero-static.maki-hero-align-right .maki-hero-content {
    text-align: right;
}

.maki-hero-static.maki-hero-align-center .maki-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.maki-hero-static.maki-hero-align-right .maki-hero-subtitle {
    margin-left: auto;
    margin-right: 0;
}

@media (max-width: 768px) {
    .maki-hero-container { height: 58vh; }
    .maki-hero-content {
        padding: 0 14px;
    }
    .maki-hero-arrow {
        height: 36px;
        width: 36px;
    }
}