/* Gnosis Showcase Slider v1.0.0 — Fiel ao layout Showcase Horizontal + Fraunces */

.gss-showcase {
    position: relative;
    width: 100%;
    padding: 16px 0 36px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    outline: none;
    box-sizing: border-box;
}

.gss-showcase *,
.gss-showcase *::before,
.gss-showcase *::after {
    box-sizing: border-box;
}

.gss-viewport {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: clamp(200px, 28vw, 340px);
    perspective: 1000px;
}

.gss-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.gss-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(52%, 600px);
    aspect-ratio: 2 / 1;
    max-height: 100%;
    transform: translate3d(-50%, -50%, 0) scale(0.7);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

.gss-showcase.is-ready .gss-slide {
    transition:
        transform 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gss-slide.is-active {
    transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 1;
    z-index: 4;
    pointer-events: auto;
    cursor: pointer;
}

.gss-slide.is-prev {
    transform: translate3d(calc(-50% - min(34vw, 390px)), -50%, 0) scale(0.7);
    opacity: 0.7;
    z-index: 3;
    pointer-events: auto;
    cursor: pointer;
}

.gss-slide.is-next {
    transform: translate3d(calc(-50% + min(34vw, 390px)), -50%, 0) scale(0.7);
    opacity: 0.7;
    z-index: 3;
    pointer-events: auto;
    cursor: pointer;
}

.gss-slide.is-far-prev {
    transform: translate3d(calc(-50% - min(60vw, 700px)), -50%, 0) scale(0.55);
    opacity: 0;
    z-index: 1;
}

.gss-slide.is-far-next {
    transform: translate3d(calc(-50% + min(60vw, 700px)), -50%, 0) scale(0.55);
    opacity: 0;
    z-index: 1;
}

.gss-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    pointer-events: none;
}

/* Faixa central escura + fonte Fraunces igual ao Smart Slider 3 */
.gss-slide-band {
    position: relative;
    z-index: 2;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.59);
    padding: clamp(10px, 2vw, 20px) clamp(12px, 2vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gss-slide-heading {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.35rem, 0.9rem + 1.6vw, 2.5rem);
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    margin: 0;
}

.gss-slide-heading strong {
    font-weight: 700;
}

/* Bullets inferiores */
.gss-bullets {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.gss-bullet {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(9, 52, 86, 0.25);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.gss-bullet:hover {
    background: rgba(9, 52, 86, 0.55);
}

.gss-bullet.is-active {
    background: #093456;
    transform: scale(1.25);
}

/* Tablet */
@media (max-width: 1199px) {
    .gss-viewport {
        height: clamp(190px, 32vw, 290px);
    }
    .gss-slide {
        width: 62%;
    }
    .gss-slide.is-prev {
        transform: translate3d(calc(-50% - 40vw), -50%, 0) scale(0.7);
    }
    .gss-slide.is-next {
        transform: translate3d(calc(-50% + 40vw), -50%, 0) scale(0.7);
    }
}

/* Mobile */
@media (max-width: 700px) {
    .gss-showcase {
        padding: 10px 0 26px;
    }
    .gss-viewport {
        height: clamp(160px, 44vw, 230px);
    }
    .gss-slide {
        width: 76%;
        border-radius: 12px;
    }
    .gss-slide.is-prev {
        transform: translate3d(calc(-50% - 54vw), -50%, 0) scale(0.7);
    }
    .gss-slide.is-next {
        transform: translate3d(calc(-50% + 54vw), -50%, 0) scale(0.7);
    }
    .gss-slide-heading {
        font-size: clamp(1.2rem, 4.8vw, 1.75rem);
    }
    .gss-bullet {
        width: 11px;
        height: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gss-slide {
        transition: opacity 200ms ease;
    }
}
