/* ==========================================================================
   Home type scale
   Shared font sizes/weights for the home widgets (banner, imãs, segmentos,
   catálogos, blog), so "destaque", "título" etc. read the same everywhere
   instead of each widget keeping the size it happened to arrive with.
   ========================================================================== */
:root {
    /* Big hero headline -- used once, on the banner's video slide */
    --b6-home-fs-display: clamp(22px, 3.4vw, 46px);
    --b6-home-fw-display: 800;

    /* Section-level title (banner product slide, catálogos, blog item) */
    --b6-home-fs-title: clamp(24px, 2.4vw, 30px);
    --b6-home-fw-title: 700;

    /* Title inside small grid tiles (ímãs, segmentos cards) */
    --b6-home-fs-title-sm: clamp(16px, 1.4vw, 20px);
    --b6-home-fw-title-sm: 700;

    /* Small label/tag above a title (banner tag, catálogos eyebrow) */
    --b6-home-fs-eyebrow: 13px;
    --b6-home-fw-eyebrow: 600;

    /* Paragraph/description text */
    --b6-home-fs-body: 16px;
    --b6-home-lh-body: 1.65;

    /* Small meta text (blog date) */
    --b6-home-fs-caption: 14px;
    --b6-home-fw-caption: 500;

    /* Buttons/CTAs */
    --b6-home-fs-button: 14px;
    --b6-home-fw-button: 700;
    --b6-home-btn-padding: 12px 24px;
    --b6-home-btn-radius: 5px;
    --b6-home-btn-icon-size: 25px;
}

.b6-banner-home,
.b6-banner-home *,
.b6-banner-home *::before,
.b6-banner-home *::after {
    box-sizing: border-box;
}

.b6-banner-home {
    width: 100%;
}

.b6-banner-home .container {
    width: 100%;
}

.b6-banner-home .container .swiper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide .banner-slide__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: calc(100% - 16%);
    max-width: 1500px;
    height: 100%;
    margin: 0 auto;
}

/* ---------- video slide ---------- */

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video {
    background-color: #030227;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__media {
    position: absolute;
    inset: 0;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__media .banner-slide__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__media .banner-slide__overlay {
    position: absolute;
    inset: 0;
    background-color: #030227;
    opacity: 0.8;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__inner {
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 120px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__inner .banner-slide__text {
    max-width: 40%;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__inner .banner-slide__text .banner-slide__title {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-display);
    font-weight: var(--b6-home-fw-display);
    color: #fff;
    margin: 0 0 12px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__inner .banner-slide__text .banner-slide__description {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-body);
    line-height: var(--b6-home-lh-body);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
}

/* ---------- custom (sob medida) slide ---------- */

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom {
    background-color: #030227;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__media {
    position: absolute;
    inset: 0;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__media .banner-slide__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__media .banner-slide__overlay {
    position: absolute;
    inset: 0;
    background-color: #030227;
    opacity: 0.55;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__inner {
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: 120px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__inner .banner-slide__text {
    max-width: 40%;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__inner .banner-slide__text .banner-slide__tag {
    display: inline-block;
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-eyebrow);
    font-weight: var(--b6-home-fw-eyebrow);
    color: #6b7280;
    background-color: #eef0f4;
    padding: 6px 14px;
    border-radius: 5px;
    margin-bottom: 16px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__inner .banner-slide__text .banner-slide__title {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-display);
    font-weight: var(--b6-home-fw-display);
    color: #fff;
    margin: 0 0 12px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__inner .banner-slide__text .banner-slide__description {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-body);
    line-height: var(--b6-home-lh-body);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 20px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__cta {
    background-color: #2c28b0;
    color: #fff;
    align-self: flex-start;
}

/* ---------- store (loja) slide ---------- */

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store {
    background-color: #030227;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__inner {
    gap: 60px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__image {
    flex: 0 0 38%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__image img {
    max-width: 100%;
    max-height: 560px;
    width: auto;
    height: auto;
    display: block;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__text {
    flex: 1;
    min-width: 0;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__text .banner-slide__tag {
    display: inline-block;
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-eyebrow);
    font-weight: var(--b6-home-fw-eyebrow);
    color: #6b7280;
    background-color: #eef0f4;
    padding: 6px 14px;
    border-radius: 5px;
    margin-bottom: 16px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__text .banner-slide__title {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-display);
    font-weight: var(--b6-home-fw-display);
    color: #fff;
    margin: 0 0 12px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__text .banner-slide__title strong {
    font-weight: 700;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__text .banner-slide__description {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-body);
    line-height: var(--b6-home-lh-body);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__cta {
    background-color: #2c28b0;
    color: #fff;
}

/* ---------- product (white) slides ---------- */

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product {
    background-color: #F3F4F6;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__inner {
    align-items: flex-end;
    gap: 40px;
    padding-bottom: 90px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__content {
    flex: 1;
    max-width: 420px;
    order: 1;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    order: 2;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__content .banner-slide__tag {
    display: inline-block;
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-eyebrow);
    font-weight: var(--b6-home-fw-eyebrow);
    color: #6b7280;
    background-color: #eef0f4;
    padding: 6px 14px;
    border-radius: 5px;
    margin-bottom: 16px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__content .banner-slide__title {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-title);
    font-weight: var(--b6-home-fw-title);
    color: #12142b;
    margin: 0 0 12px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__content .banner-slide__description {
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-body);
    line-height: var(--b6-home-lh-body);
    color: #5b5f6d;
    margin: 0 0 16px;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__image .banner-slide__ctas {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* ---------- ctas (shared tree) ---------- */

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide .banner-slide__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "RedHatDisplay", Sans-serif;
    font-size: var(--b6-home-fs-button);
    font-weight: var(--b6-home-fw-button);
    text-decoration: none;
    padding: var(--b6-home-btn-padding);
    border-radius: var(--b6-home-btn-radius);
    transition: opacity 0.2s ease;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide .banner-slide__cta:hover {
    opacity: 0.88;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__cta {
    background-color: #2c28b0;
    color: #fff;
    align-self: flex-start;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__cta.banner-slide__cta--primary {
    background-color: #2c28b0;
    color: #fff;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__cta.banner-slide__cta--secondary {
    background-color: #0e9a8f;
    color: #fff;
}

/* ---------- pagination (tree) ---------- */

.b6-banner-home .container .swiper .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    width: calc(100% - 16%);
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.b6-banner-home .container .swiper .swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 1;
}

.b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video ~ .swiper-pagination .swiper-pagination-bullet,
.b6-banner-home .container .swiper.banner-slide-video-active .swiper-pagination .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.4);
}

.b6-banner-home .container .swiper .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #2c28b0;
    width: 20px;
    border-radius: 5px;
}

.b6-banner-home .container .swiper.banner-slide-video-active .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #fff;
}

@media (max-width: 768px) {
    /* autoHeight do swiper ativo no mobile (home.js): altura segue o slide ativo */
    .b6-banner-home .container .swiper {
        height: auto;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide {
        height: auto;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide .banner-slide__cta {
        padding: 8px 24px;
        font-size: 14px;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide .banner-slide__inner {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 600px;
        padding: 145px 6% 56px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        text-align: center;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__inner,
    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__inner {
        justify-content: flex-end;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide .banner-slide__title {
        margin-bottom: 8px;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide .banner-slide__description {
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide .banner-slide__tag {
        margin-bottom: 12px;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__inner .banner-slide__text,
    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__inner .banner-slide__text {
        max-width: 100%;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--video .banner-slide__inner .banner-slide__cta,
    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--custom .banner-slide__inner .banner-slide__cta {
        align-self: center;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__content {
        order: 2;
        max-width: 100%;
    }

    /* image wrapper vira "transparente" para ordenar imagem > texto > botões */
    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__image {
        display: contents;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__inner {
        gap: 0;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__image img {
        order: 1;
        max-width: 80%;
        max-height: 180px;
        width: auto;
        object-fit: contain;
        margin-bottom: 20px;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__description {
        margin-bottom: 0;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__inner {
        gap: 20px;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__image {
        flex: 0 0 auto;
        width: 100%;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__image img {
        max-width: 85%;
        max-height: 240px;
        object-fit: contain;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__text {
        max-width: 100%;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--store .banner-slide__cta {
        align-self: center;
    }

    .b6-banner-home .container .swiper .swiper-wrapper .banner-slide.banner-slide--product .banner-slide__image .banner-slide__ctas {
        order: 3;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .b6-banner-home .container .swiper .swiper-pagination {
        left: 50%;
        right: auto;
        width: auto;
        max-width: none;
        margin: 0;
        transform: translateX(-50%);
    }
}

.b6-listing-emp-home {}

.b6-listing-emp-home>.container {
    position: relative;
    display: flex;
    column-gap: 55px;
    row-gap: 130px;
    flex-wrap: wrap;
}

@media only screen and (max-width: 1024px) {
    .b6-listing-emp-home>.container {
        row-gap: 90px;
    }

    .emp-item .container .content .title {
        font-size: 35px;
    }
}

@media only screen and (max-width: 767px) {
    .emp-item {
        flex: 0 0 100%;
    }
}
