.hero-section-new {
    position: relative;
    background-color: #F7F7F7;
    padding-bottom: 60px;
    padding-top: 50px;
    overflow: visible;
}

.banner-tabs {
    display: inline-flex;
    background: white;
    border-radius: 100px;
    padding: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.banner-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 0;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16px; 
    color: #BDBDBD;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    white-space: nowrap;
}

.banner-tab:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: #E0E0E0;
}

.banner-tab:hover,
.banner-tab.active {
    color: #DA9B0B;
}

.banner-tab-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

.banner-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 14px;
    height: 650px;
    max-height: 650px;
    isolation: isolate;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    max-height: 650px;
    z-index: 0;
    border-radius: 30px;
    overflow: hidden;
}

.banner-background .container.banner-background-slides {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 650px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
}

.banner-background-slides {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    max-height: 650px;
    overflow: hidden;
    border-radius: 30px;
}

.banner-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: cover;
    object-position: center center;
    padding-left: 0;
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-bg-slide.active {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.banner-promo-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 1;
}

.banner-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding-top: 0;
    height: 100%;
}

.banner-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: linear-gradient(to right, #006551 0%, rgba(0, 101, 81, 0.85) 50%, rgba(0, 101, 81, 0.25) 80%, transparent 100%);
    border-radius: 30px;
    z-index: 0;
    pointer-events: none;
}

.banner-content-row {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 0;
    align-items: center;
}

.banner-content-row .col-lg-5 {
    position: relative;
    z-index: 2;
}

.banner-content-wrapper .col-lg-7 {
    padding: 3rem 0 4rem 4rem;
}

.banner-text-slides {
    position: relative;
    width: 100%;
    height: 220px;
}

.banner-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.banner-text-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.banner-text-slide.banner-text-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.banner-text-content {
    color: white;
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.75px;
}

.banner-description {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-banner-cta {
    font-family: 'Montserrat', sans-serif;
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 18px;
}

.btn-banner-cta:hover {
    background: white;
    color: #004D3A;
}

.banner-carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    padding-right: 0;
    margin-top: 175px;
}

.banner-carousel {
    position: relative;
    max-width: 526px;
    overflow: visible;
    padding-top: 40px;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
}

.banner-carousel-items-container {
    display: flex;
    align-items: flex-end;
    transition: transform 0.5s ease;
    overflow: visible;
    max-width: 100%;
}

.banner-carousel-item {
    min-width: 200px;
    max-width: 200px;
    flex-shrink: 0;
    margin-right: 16px;
    transition: all 0.3s ease;
}

.banner-carousel-item:not(.active) {
    min-width: 147px;
    max-width: 147px;
}

.banner-carousel-item:not(.active) .banner-insurance-card {
    width: 147px;
    height: 147px;
    padding: 24px 16px;
    opacity: 0.6;
}

.banner-carousel-item:not(.active) .insurance-icon-svg {
    width: 32px;
    height: 32px;
}

.banner-carousel-item:not(.active) .insurance-title {
    font-size: 13px;
}

.banner-carousel-item:not(.active) .insurance-badge {
    display: none;
}

.banner-insurance-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 200px;
    height: 200px;
    transition: all 0.3s;
    cursor: pointer;
}

.insurance-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #C7800B;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.16px;
    text-align: center;
    white-space: nowrap;
    z-index: 10;
}

.insurance-icon {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #323232;
}

.insurance-icon-svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: block;
}

.insurance-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.banner-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
    width: 40px;
    height: 10px;
    border-radius: 5px;
}

.banner-mobile-cta-wrapper {
    display: none;
}

@media (max-width: 991.98px) {
    .hero-section-new .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-section-new .banner-container {
        align-self: stretch;
        width: 100%;
    }

    .banner-gradient-container {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .banner-image {
        height: 500px;
        padding-left: 0;
    }
    
    .insurance-badge {
        display: none;
    }

    .banner-title {
        font-size: 60px !important;
        text-align: center;
    }

    .banner-description {
        font-size: 1.125rem;
    }

    .banner-gradient-overlay {
        background: linear-gradient(to top,
            #004D3A 0%,
            #004D3A 8%,
            rgba(0, 77, 58, 0.97) 28%,
            rgba(0, 77, 58, 0.9) 38%,
            rgba(0, 77, 58, 0.75) 40%,
            rgba(0, 77, 58, 0.55) 62%,
            rgba(0, 77, 58, 0.35) 75%,
            rgba(0, 77, 58, 0.15) 90%,
            transparent 100%);
    }

    .banner-content-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .banner-content-row {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 1rem 1.5rem;
        justify-content: flex-end;
    }

    .banner-content-wrapper .col-lg-7 {
        padding: 0 0 1rem;
        order: 1;
    }

    .banner-content-row .col-lg-5 {
        order: 2;
        margin-top: 0;
    }

    .banner-text-content {
        max-width: 100%;
    }

    .banner-description {
        display: none;
    }

    .banner-content-wrapper .col-lg-7 .btn-banner-cta {
        display: none;
    }

    .banner-carousel-wrapper {
        margin-top: 0;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    .banner-carousel {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
    }

    .banner-carousel-items-container {
        align-items: center;
    }

    .banner-carousel-item {
        margin-left: 8px;
        margin-right: 8px;
    }

    .banner-carousel-item:not(.active) {
        transform: none;
        flex-shrink: 0;
    }

    .banner-carousel-item:not(.active) .banner-insurance-card {
        background-color: #E5EDEB !important;
        opacity: 0.6;
        box-shadow: none;
        width: 147px;
        height: 147px;
        min-width: 147px;
        min-height: 147px;
        padding: 20px 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .banner-carousel-item:not(.active) .insurance-icon-svg {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .banner-carousel-item:not(.active) .insurance-title {
        font-size: 13px;
        line-height: 1.3;
        min-width: 0;
    }

    .banner-carousel-item.active {
        z-index: 2;
        flex-shrink: 0;
    }

    .banner-carousel-item.active .banner-insurance-card {
        background-color: white;
    }

    .banner-carousel-dots {
        margin-top: 1.25rem;
        gap: 12px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.5);
        box-sizing: border-box;
    }

    .carousel-dot.active {
        width: 40px;
        height: 10px;
        border-radius: 5px;
        background: white;
        border-color: white;
    }

    .banner-mobile-cta-wrapper {
        display: block;
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .btn-banner-mobile-cta {
        display: inline-block;
        width: 100%;
        max-width: 320px;
        padding: 14px 24px;
        background-color: transparent;
        color: white !important;
        border: 2px solid #006B52;
        border-radius: 100px;
        font-size: 16px;
        font-weight: 600;
        font-family: 'Montserrat', sans-serif;
        text-align: center;
        text-decoration: none;
        transition: all 0.3s;
    }

    .btn-banner-mobile-cta:hover {
        background-color: rgba(0, 107, 82, 0.2);
        color: white !important;
        border-color: #006B52;
    }

    .banner-container {
        min-height: 678px;
        height: auto;
    }

    .banner-background,
    .banner-background .container.banner-background-slides,
    .banner-background-slides {
        max-height: none;
    }

    .banner-bg-slide {
        max-height: 500px;
        min-height: 320px;
    }

    .banner-content-wrapper {
        position: absolute;
        min-height: 100%;
    }

    .banner-text-slides {
        height: auto;
        min-height: 160px;
    }
}

@media (max-width: 767.98px) {
    .banner-text-slides {
        min-height: 130px;
    }

    .banner-title {
        font-size: 38px !important;
    }

    .banner-carousel-item {
        min-width: 200px;
        max-width: 200px;
    }

    .banner-carousel-item:not(.active) {
        min-width: 147px;
        max-width: 147px;
    }

    .banner-carousel-item:not(.active) .banner-insurance-card {
        width: 147px;
        height: 147px;
        padding: 20px 14px;
    }

    .banner-carousel-item.active .banner-insurance-card,
    .banner-carousel-item .banner-insurance-card {
        width: 200px;
        height: 200px;
        min-width: 200px;
        max-width: 200px;
    }

    .banner-carousel-item.active {
        min-width: 200px;
        max-width: 200px;
    }
}

.banner-promocoes-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    max-height: 650px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
}

.banner-promo-desktop,
.banner-promo-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 650px;
    object-fit: cover;
    border-radius: 30px;
}

.banner-promo-desktop {
    display: block !important;
}

.banner-promo-mobile {
    display: none !important;
}

@media (max-width: 992px) {
    .banner-promo-desktop {
        display: none !important;
    }
    .banner-promo-mobile {
        display: block !important;
    }

    .banner-promocoes-container .banner-promocoes-inner {
        max-height: none;
        min-height: 500px;
    }
    .banner-promocoes-container .banner-promo-mobile {
        height: 500px;
        min-height: 320px;
        max-height: 500px;
        object-fit: cover;
    }
}
