/* =========================================================
   FULL TIME — CARROSSEL DE ATÉ 5 BANNERS
   Complemento do front.css
========================================================= */

.hero-carousel {
    position: relative;
    min-height: 650px;
    padding: 0 !important;
    overflow: hidden;
    isolation: isolate;
    background: #e7e7e4;
}

.hero-carousel::before,
.hero-carousel::after {
    content: none !important;
}

.hero-carousel .hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-carousel .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 70px 6%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .8s ease, visibility .8s ease;
}

.hero-carousel .hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.hero-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(245,245,242,.96) 0%,
        rgba(245,245,242,.84) 26%,
        rgba(245,245,242,.48) 49%,
        rgba(245,245,242,.10) 72%,
        rgba(245,245,242,0) 100%
    );
}

.hero-carousel .hero-copy {
    position: relative;
    z-index: 3;
    width: min(720px, 72%);
    color: #111;
}

.hero-carousel .hero-copy > span {
    color: #8c6328;
}

.hero-carousel .hero-copy h1,
.hero-carousel .hero-copy h1 strong {
    color: #111 !important;
    text-shadow: none !important;
}

.hero-carousel .hero-copy p {
    color: #3e3e3b !important;
}

.hero-carousel .hero-copy a {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

.hero-carousel .hero-copy a:hover {
    background: var(--bronze) !important;
    color: #111 !important;
    border-color: var(--bronze) !important;
}

.hero-arrow {
    position: absolute;
    z-index: 12;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.76);
    color: #111;
    font: 300 36px/1 Arial,sans-serif;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .2s ease, transform .2s ease;
}

.hero-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
}

.hero-prev { left: 20px; }
.hero-next { right: 20px; }

.hero-carousel .hero-dots {
    position: absolute;
    z-index: 12;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-carousel .hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(17,17,17,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.65);
    cursor: pointer;
    transition: width .2s ease, border-radius .2s ease, background .2s ease;
}

.hero-carousel .hero-dot.active {
    width: 28px;
    border-radius: 20px;
    border-color: #111;
    background: #111;
}

@media (max-width: 768px) {
    .hero-carousel {
        min-height: 570px;
    }

    .hero-carousel .hero-slide {
        align-items: flex-end;
        padding: 60px 22px 55px;
    }

    .hero-picture img {
        object-position: center center;
    }

    .hero-shade {
        background: linear-gradient(
            0deg,
            rgba(245,245,242,.98) 0%,
            rgba(245,245,242,.82) 30%,
            rgba(245,245,242,.28) 63%,
            rgba(245,245,242,0) 88%
        );
    }

    .hero-carousel .hero-copy {
        width: 100%;
        max-width: 520px;
    }

    .hero-arrow {
        top: 45%;
        width: 39px;
        height: 39px;
        font-size: 29px;
        background: rgba(255,255,255,.72);
    }

    .hero-prev { left: 10px; }
    .hero-next { right: 10px; }

    .hero-carousel .hero-dots {
        bottom: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel .hero-slide {
        transition: none;
    }
}
