/* Banner Produto (single) */

.b6-product-single,
.b6-product-single *,
.b6-product-single *::before,
.b6-product-single *::after {
    box-sizing: border-box;
}

.b6-product-single {
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-color: #f4f5f7;
    font-family: "RedHatDisplay", Sans-serif;
}

.b6-product-single .b6-product-single__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: calc(100% - 16%);
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 0 0;
}

.b6-product-single .b6-product-single__content {
    flex: 1;
    max-width: 460px;
    order: 1;
}

.b6-product-single .b6-product-single__image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}

.b6-product-single .b6-product-single__image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.b6-product-single .b6-product-single__tag {
    display: inline-block;
    font-family: "RedHatDisplay", Sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    background-color: #eef0f4;
    padding: 6px 14px;
    border-radius: 5px;
    margin-bottom: 16px;
}

.b6-product-single .b6-product-single__title {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 38px;
    color: #12142b;
    margin: 0 0 14px;
}

.b6-product-single .b6-product-single__description {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #5b5f6d;
    margin: 0 0 24px;
}

.b6-product-single .b6-product-single__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.b6-product-single .b6-product-single__cta {
    font-family: "RedHatDisplay", Sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    transition: opacity 0.2s ease;
}

.b6-product-single .b6-product-single__cta:hover {
    opacity: 0.88;
}

.b6-product-single .b6-product-single__cta--primary {
    background-color: #2c28b0;
}

.b6-product-single .b6-product-single__cta--secondary {
    background-color: #0e9a8f;
}

@media (max-width: 768px) {
    .b6-product-single {
        min-height: 620px;
        padding: 107px 0 0 0;
    }

    .b6-product-single .b6-product-single__inner {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 40px 4%;
    }

    .b6-product-single .b6-product-single__content {
        order: 2;
        max-width: 100%;
    }

    .b6-product-single .b6-product-single__image {
        order: 1;
    }

    .b6-product-single .b6-product-single__ctas {
        justify-content: center;
    }

    .b6-product-single .b6-product-single__cta {
        padding: 8px 24px;
        font-size: 14px;
    }

    .b6-product-single .b6-product-single__title {
        font-size: 24px;
        line-height: 30px;
    }
}

/* Slide Produtos */

.b6-slide-produtos,
.b6-slide-produtos *,
.b6-slide-produtos *::before,
.b6-slide-produtos *::after {
    box-sizing: border-box;
}

.b6-slide-produtos {
    --b6-card-bg: #4B4A64;
    --b6-btn-text: #171766;
    width: 100%;
    background: #fff;
    overflow: hidden;
}

.b6-slide-produtos__inner {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.b6-slide-produtos__text {
    flex: 0 0 380px;
}

.b6-slide-produtos__title {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.3;
    color: #12142b;
    margin: 0;
}

.b6-slide-produtos__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "RedHatDisplay", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background-color: #2c28b0;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 5px;
    margin-top: 24px;
    transition: opacity 0.2s ease;
}

.b6-slide-produtos__cta:hover {
    opacity: 0.88;
}

@media (max-width: 1024px) {
    .b6-slide-produtos__text {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .b6-slide-produtos__text {
        text-align: center;
    }
}

.b6-slide-produtos__carousel {
    flex: 1 1 auto;
    min-width: 0;
}

.b6-slide-produtos .swiper {
    position: relative;
    width: 100%;
    padding: 0 0 34px;
    overflow: hidden;
}

.b6-slide-produtos .swiper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 34px;
    width: 60px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.b6-slide-produtos .swiper-wrapper {
    align-items: stretch;
}

.b6-slide-produtos .swiper-slide {
    height: auto;
}

.b6-slide-produtos .slide-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    aspect-ratio: 3 / 4;
    background-color: var(--b6-card-bg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.b6-slide-produtos .slide-image {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10% 12% 4%;
    min-height: 0;
    overflow: hidden;
}

.b6-slide-produtos .slide-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

.b6-slide-produtos .slide-card:hover .slide-image img {
    transform: scale(1.06);
}

.b6-slide-produtos .slide-content {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px 7%;
}

.b6-slide-produtos .slide-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-family: "RedHatDisplay", Sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.b6-slide-produtos .slide-btn {
    display: inline-block;
    background: #ffffff;
    color: var(--b6-btn-text);
    font-family: "RedHatDisplay", Sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    padding: 12px 24px;
    transition: opacity 0.2s ease;
}

.b6-slide-produtos .slide-card:hover .slide-btn {
    opacity: 0.88;
}

.b6-slide-produtos .swiper-slide-shadow-left,
.b6-slide-produtos .swiper-slide-shadow-right {
    display: none;
}

.b6-slide-produtos .swiper-pagination {
    --swiper-pagination-bullet-size: 9px;
    --swiper-pagination-bullet-horizontal-gap: 4px;
    --swiper-pagination-bullet-inactive-color: #d4d4de;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-color: #2c28b0;
    bottom: 4px;
}

@media (max-width: 900px) {
    .b6-slide-produtos__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .b6-slide-produtos__text {
        flex: 0 0 auto;
        width: 100%;
        padding-left: 4%;
        padding-right: 4%;
    }

    .b6-slide-produtos__carousel {
        width: 100%;
    }

    /* carrossel em largura total: fade nas duas laterais */
    .b6-slide-produtos .swiper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 34px;
        width: 48px;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
    }

    .b6-slide-produtos .swiper::after {
        width: 48px;
    }
}
