/* CORES, TAMANHOS DE FONTE, FONTES E TAMANHO DE IMAGENS DO BANNER INICIAL */

.hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #1a5fa8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background: var(--slide-bg, #1a5fa8);
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hero__slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
    opacity: 0.45;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 64px;
    max-width: 660px;
}

.hero__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
}

.hero__title strong {
    font-weight: 800;
}

.hero__subtitle {
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.80);
    letter-spacing: 0.18em;
    margin: 0;
    text-transform: uppercase;
}

.hero__image-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 55%;
    z-index: 1;
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 30%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 30%, black 100%);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
}

.hero__nav:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero__nav--prev {
    left: 14px;
}

.hero__nav--next {
    right: 14px;
}

.hero__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
}

.hero__dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .hero {
        height: clamp(380px, 60vh, 480px);
    }

    .hero__content {
        padding: 0 60px;
        text-align: center;
        margin: 0 auto;
    }

    .hero__nav {
        display: flex;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .hero__nav--prev {
        left: 12px;
    }

    .hero__nav--next {
        right: 12px;
    }

    .hero__image-wrapper {
        display: block;
        width: 100%;
        opacity: 0.95;
        -webkit-mask-image: linear-gradient(to top, black 20%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
        mask-image: linear-gradient(to top, black 20%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    }

    .hero__title {
        font-size: clamp(24px, 5vw, 32px);
    }
}

@media (max-width: 480px) {
    .hero__content {
        padding: 0 44px;
    }

    .hero__nav {
        width: 30px;
        height: 30px;
        font-size: 16px;
        border-width: 1.5px;
    }

    .hero__nav--prev {
        left: 6px;
    }

    .hero__nav--next {
        right: 6px;
    }
}