﻿.banner-topo {
    padding: 0 !important;
}

    .banner-topo img {
        width: 100%;
        display: block;
    }

section {
    padding: 60px 0 !important;
}


.credito-titulo {
    color: #5b1485;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.credito-titulo-branco {
    color: #fff;
}

.credito-texto {
    color: #6b3d82;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.credito-conteudo {
    background: #fff;
}

.credito-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
}

.credito-card {
    width: 220px;
    text-align: center;
}

.credito-card-icone {
    height: 90px;
    width: auto;
    margin: 0 auto 18px;
    display: block;
}

.credito-card-box {
    background: #faf8fc;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(91,20,133,.08);
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.credito-card-titulo {
    color: #5b1485;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.credito-card-texto {
    color: #6b3d82;
    font-size: 13px;
    line-height: 1.4;
}

.credito-subtitulo {
    color: #5b1485;
    font-size: 22px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 8px;
}

.credito-como-funciona {
    background: #f3f4f8;
}

.credito-fluxo-img {
    max-width: 470px;
    width: 100%;
    margin-top: 20px;
}

.credito-simulador-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.credito-simulador-texto {
    display: inline-block;
    color: #f05a3c;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 25px 35px;
    border: 4px dashed #f05a3c;
    border-radius: 18px;
    transition: .25s;
    text-align: center;
}

    .credito-simulador-texto:hover {
        color: #fff !important;
        background: #f05a3c;
        border-color: #fff !important;
        text-decoration: none;
    }

.credito-btn-whats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f05a3c;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    padding: 8px 24px;
    border-radius: 28px;
    text-decoration: none;
    margin-top: 50px;
}

    .credito-btn-whats:hover {
        color: #fff;
        text-decoration: none;
    }

.credito-cases {
    background: #550078;
}

.credito-cases-lista {
    margin-top: 25px;
}

.credito-cases-carousel {
    position: relative;
    padding: 0 60px;
}

    .credito-cases-carousel .owl-stage {
        display: flex;
        align-items: center;
    }

.credito-case-item {
    padding: 0 10px;
}

    .credito-case-item img {
        width: 100%;
        height: 135px;
        object-fit: cover;
        border-radius: 16px;
        display: block;
    }

.credito-cases-carousel .owl-nav {
    margin: 0;
}

    .credito-cases-carousel .owl-nav button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 52px;
        height: 52px;
        border-radius: 50% !important;
        background: #fff !important;
        border: none !important;
        box-shadow: 0 6px 18px rgba(0,0,0,.20);
        transition: .25s;
    }

        .credito-cases-carousel .owl-nav button:hover {
            background: #f05a3c !important;
        }

        .credito-cases-carousel .owl-nav button span {
            display: none;
        }

.credito-cases-carousel .owl-prev {
    left: -5px;
}

.credito-cases-carousel .owl-next {
    right: -5px;
}

    .credito-cases-carousel .owl-prev::before,
    .credito-cases-carousel .owl-next::before {
        content: "";
        position: absolute;
        top: 50%;
        width: 12px;
        height: 12px;
    }

.credito-cases-carousel .owl-prev::before {
    left: 55%;
    border-left: 3px solid #5b1485;
    border-bottom: 3px solid #5b1485;
    transform: translate(-50%, -50%) rotate(45deg);
}

.credito-cases-carousel .owl-next::before {
    left: 45%;
    border-right: 3px solid #5b1485;
    border-top: 3px solid #5b1485;
    transform: translate(-50%, -50%) rotate(45deg);
}

.credito-cases-carousel .owl-nav button:hover::before {
    border-color: #fff;
}

.credito-linhas {
    background: #fff;
}

.credito-linhas-lista {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.credito-linha {
    flex: 1;
    min-height: 200px;
    background: #f5f5f7;
    border-radius: 15px;
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none;
    transition: .2s;
}

    .credito-linha:hover {
        text-decoration: none;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

    .credito-linha.ativo {
        display: none;
    }

    .credito-linha img {
        height: 85px;
        width: auto;
        max-width: 100%;
        margin-bottom: 12px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .credito-linha span {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        color: #5b1485;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
    }

.credito-porque {
    background: #550078;
}

.credito-porque-lista {
    display: flex;
    gap: 18px;
    margin-top: 18px;
}

.credito-porque-box {
    flex: 1;
    background: #fff;
    border-radius: 4px;
    padding: 20px 18px;
    text-align: center;
    box-shadow: 0 0 18px rgba(255,255,255,.25);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .credito-porque-box img {
        height: 70px;
        margin-bottom: 15px;
    }

    .credito-porque-box p {
        margin: 0;
        color: #5c4b73;
        font-size: 17px;
        line-height: 1.3;
    }

/* MOBILE */
@media (max-width: 991px) {
    section {
        padding: 45px 0 !important;
    }

    .credito-container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .credito-titulo {
        font-size: 22px;
        text-align: center;
    }

    .credito-texto {
        font-size: 14px;
        text-align: center;
        margin-bottom: 30px;
    }

    .credito-cards {
        flex-direction: column;
        align-items: center;
        gap: 35px;
        margin: 45px 0;
    }

    .credito-card {
        width: 100%;
        max-width: 280px;
    }

    .credito-card-box {
        min-height: 115px;
    }

    .credito-subtitulo {
        font-size: 21px;
        text-align: center;
    }

    .credito-como-funciona .col-md-6 {
        text-align: center;
    }

    .credito-fluxo-img {
        max-width: 360px;
        margin: 20px auto 0;
        display: block;
    }

    .credito-simulador-box {
        padding-top: 35px;
    }

    .credito-simulador-texto {
        font-size: 24px;
        padding: 20px 25px;
        max-width: 320px;
        width: 100%;
    }

    .credito-btn-whats {
        font-size: 20px;
        margin-top: 35px;
        padding: 9px 22px;
    }

    .credito-cases-carousel {
        padding: 0 42px;
    }

    .credito-case-item {
        padding: 0;
    }

        .credito-case-item img {
            height: 180px;
        }

    .credito-cases-carousel .owl-nav button {
        width: 42px;
        height: 42px;
    }

    .credito-cases-carousel .owl-prev {
        left: -4px;
    }

    .credito-cases-carousel .owl-next {
        right: -4px;
    }

    .credito-linhas-lista {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .credito-linha {
        min-height: 165px;
        padding: 16px 10px;
    }

        .credito-linha img {
            height: 72px;
        }

        .credito-linha span {
            font-size: 14px;
        }

    .credito-porque-lista {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .credito-porque-box {
        min-height: 165px;
        justify-content: center;
        padding: 18px 12px;
    }

        .credito-porque-box img {
            height: 58px;
        }

        .credito-porque-box p {
            font-size: 14px;
        }
}

@media (max-width: 576px) {
    section {
        padding: 38px 0 !important;
    }

    .credito-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .credito-titulo {
        font-size: 21px;
    }

    .credito-texto {
        font-size: 13px;
        line-height: 1.55;
    }

    .credito-card-icone {
        height: 78px;
    }

    .credito-card-titulo {
        font-size: 17px;
    }

    .credito-simulador-texto {
        font-size: 21px;
        padding: 18px 20px;
    }

    .credito-btn-whats {
        width: 100%;
        justify-content: center;
        font-size: 19px;
    }

    .credito-cases-carousel {
        padding: 0 34px;
    }

    .credito-case-item img {
        height: 155px;
    }

    .credito-cases-carousel .owl-nav button {
        width: 38px;
        height: 38px;
    }

    .credito-cases-carousel .owl-prev {
        left: -7px;
    }

    .credito-cases-carousel .owl-next {
        right: -7px;
    }

    .credito-linhas-lista,
    .credito-porque-lista {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .credito-linha {
        min-height: 150px;
        border-radius: 12px;
    }

        .credito-linha img {
            height: 62px;
        }

        .credito-linha span {
            font-size: 13px;
        }

    .credito-porque-box {
        min-height: 150px;
    }

        .credito-porque-box img {
            height: 50px;
        }

        .credito-porque-box p {
            font-size: 13px;
            line-height: 1.25;
        }
}

@media (max-width: 380px) {
    .credito-linhas-lista,
    .credito-porque-lista {
        grid-template-columns: 1fr;
    }

    .credito-linha,
    .credito-porque-box {
        min-height: 135px;
    }
}
