/* =========================================================
   CARROSSEL DE PRODUTOS — FINANCIEL
========================================================= */

.products-carousel-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0 80px;
    background:
        radial-gradient(
            circle at 15% 18%,
            rgba(37, 169, 119, 0.07),
            transparent 26%
        ),
        #ffffff;
}

/* =========================================================
   CABEÇALHO
========================================================= */

.products-carousel-header {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto 46px;
    text-align: center;
}

.products-carousel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    margin-bottom: 18px;
    padding: 0 16px;
    border: 1px solid rgba(21, 157, 118, 0.22);
    border-radius: 999px;
    background: rgba(21, 157, 118, 0.06);
    color: #08795f;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.products-carousel-eyebrow span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cddd34;
    box-shadow: 0 0 12px rgba(205, 221, 52, 0.75);
}

.products-carousel-header h2 {
    margin: 0 0 16px;
    color: #061e4c;
    font-size: clamp(2.2rem, 3.7vw, 3.8rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.products-carousel-header h2 strong {
    display: block;
    background: linear-gradient(
        90deg,
        #159d76 0%,
        #35b66d 55%,
        #91bd16 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.products-carousel-header p {
    max-width: 740px;
    margin: 0 auto;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* =========================================================
   ESTRUTURA DO CARROSSEL
========================================================= */

.products-carousel-wrapper {
    position: relative;
    width: 100%;
}

.products-carousel-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding:
        10px
        max(46px, calc((100vw - 1320px) / 2))
        28px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.products-carousel-track::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   CARDS
========================================================= */

.product-carousel-card {
    flex: 0 0 clamp(265px, 20.5vw, 315px);
    scroll-snap-align: center;

    opacity: 0;
    transform: translateY(48px) scale(0.97);
    filter: blur(3px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.9s ease;
}

.product-carousel-card.card-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.product-carousel-card.card-visible:hover {
    transform: translateY(-6px) scale(1.01);
}

/* =========================================================
   IMAGENS DOS CARDS
========================================================= */

.product-carousel-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 24px;
    background: #dce8fa;
    box-shadow: 0 18px 38px rgba(14, 40, 78, 0.11);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.product-carousel-image::before {
    content: "";
    position: absolute;
    inset: 10%;
    z-index: 1;
    border-radius: 50%;
    background: rgba(74, 151, 226, 0.23);
}

.product-carousel-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;

    transition:
        transform 0.5s ease;
}

.product-carousel-card:hover .product-carousel-image {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(14, 40, 78, 0.16);
}

.product-carousel-card:hover .product-carousel-image img {
    transform: scale(1.045);
}

/* =========================================================
   CONTEÚDO DOS CARDS
========================================================= */

.product-carousel-content {
    padding: 18px 3px 0;
}

.product-carousel-content h3 {
    margin: 0 0 9px;
    color: #09233f;
    font-size: 1.05rem;
    font-weight: 820;
    line-height: 1.28;
}

.product-carousel-content p {
    min-height: 64px;
    margin: 0 0 15px;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
}

.product-carousel-content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #08795f;
    font-size: 0.88rem;
    font-weight: 850;
    text-decoration: none;
}

.product-carousel-content a span {
    color: #91bd16;

    transition:
        transform 0.25s ease;
}

.product-carousel-content a:hover span {
    transform: translateX(4px);
}

/* =========================================================
   SETAS
========================================================= */

.products-carousel-control {
    position: absolute;
    top: 128px;
    z-index: 5;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(3, 37, 73, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #092a50;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 26px rgba(8, 33, 69, 0.11);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.products-carousel-control:hover {
    transform: scale(1.06);
    background: #ffffff;
    box-shadow: 0 16px 32px rgba(8, 33, 69, 0.15);
}

.products-carousel-prev {
    left: 24px;
}

.products-carousel-next {
    right: 24px;
}

/* =========================================================
   INDICADORES
========================================================= */

.products-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.products-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.products-carousel-dot.active {
    width: 26px;
    background: #159d76;
}

/* =========================================================
   AVISO
========================================================= */

.products-carousel-notice {
    width: min(1280px, calc(100% - 40px));
    margin: 30px auto 0;
    color: #667085;
    font-size: 0.76rem;
    line-height: 1.6;
    text-align: center;
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 1024px) {
    .products-carousel-section {
        padding: 82px 0 76px;
    }

    .products-carousel-header {
        margin-bottom: 42px;
    }

    .products-carousel-track {
        gap: 20px;
        padding-right: 34px;
        padding-left: 34px;
    }

    .product-carousel-card {
        flex-basis: clamp(260px, 31vw, 300px);
    }

    .product-carousel-image {
        height: 290px;
    }

    .products-carousel-control {
        top: 122px;
        width: 50px;
        height: 50px;
        font-size: 1.85rem;
    }

    .products-carousel-prev {
        left: 14px;
    }

    .products-carousel-next {
        right: 14px;
    }
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 760px) {
    .products-carousel-section {
        padding: 68px 0;
    }

    .products-carousel-header {
        width: min(100% - 28px, 900px);
        margin-bottom: 34px;
    }

    .products-carousel-eyebrow {
        min-height: 36px;
        margin-bottom: 16px;
        padding: 0 14px;
        font-size: 0.72rem;
    }

    .products-carousel-header h2 {
        font-size: clamp(2rem, 9.5vw, 2.9rem);
    }

    .products-carousel-header p {
        font-size: 0.94rem;
    }

    .products-carousel-track {
        gap: 17px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .product-carousel-card {
        flex-basis: min(76vw, 285px);
    }

    .product-carousel-image {
        height: 270px;
        border-radius: 22px;
    }

    .product-carousel-content {
        padding-top: 16px;
    }

    .product-carousel-content h3 {
        font-size: 1rem;
    }

    .product-carousel-content p {
        min-height: 0;
        font-size: 0.86rem;
    }

    .products-carousel-control {
        top: 112px;
        width: 44px;
        height: 44px;
        font-size: 1.7rem;
    }

    .products-carousel-prev {
        left: 6px;
    }

    .products-carousel-next {
        right: 6px;
    }

    .products-carousel-notice {
        width: min(100% - 28px, 1280px);
        margin-top: 25px;
    }
}

/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 420px) {
    .products-carousel-track {
        padding-right: 16px;
        padding-left: 16px;
    }

    .product-carousel-card {
        flex-basis: min(79vw, 270px);
    }

    .product-carousel-image {
        height: 255px;
    }

    .products-carousel-control {
        top: 105px;
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .product-carousel-card,
    .product-carousel-card.card-visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    .product-carousel-image,
    .product-carousel-image img,
    .products-carousel-control {
        transition: none;
    }
}


/* =========================================================
   AJUSTE ESPECÍFICO — SEGURANÇA E TRANSPARÊNCIA
========================================================= */

.card-seguranca .product-carousel-image {
    overflow: hidden;
    background: #dce8fa;
}

.card-seguranca .product-carousel-image::before {
    display: none;
}

.card-seguranca .product-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
}

.card-seguranca:hover .product-carousel-image img {
    transform: scale(1.12);
}