/* =========================================================
   CARDS DE SERVIÇOS
========================================================= */

.servicos-kuroda {
    width: 100%;
    padding: 30px 0;
}

.servicos-grid {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


/* =========================================================
   CARD
========================================================= */

.info-card {
    position: relative;

    min-height: 350px;

    padding: 36px 32px;

    background: #ffffff;

    border-radius: 16px;

    border-top: 5px solid #bb1212;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.info-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   ÍCONE
========================================================= */

.card-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 34px;

    border-radius: 16px;

    background: #015d2c;

    color: #1010e2;

    font-size: 26px;
}


.card-icon i {
    line-height: 1;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.card-content {
    position: relative;
    z-index: 3;
}


.card-kicker {
    display: block;

    margin-bottom: 7px;

    color: #777;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.info-card h3 {
    margin: 0 0 14px;

    color: #07518e;

    font-size: 22px;
    font-weight: 700;
}


.info-card p {
    max-width: 330px;

    margin: 0 0 22px;

    color: #5e5e5e;

    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   BOTÃO
========================================================= */

.card-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding: 0 22px;

    border: 0;
    border-radius: 30px;

    background: #e30613;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.card-button:hover {
    background: #c9000c;

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(227, 6, 19, 0.22);
}


.card-button i {
    font-size: 13px;
}


/* =========================================================
   RESULTADO DA LOJA
========================================================= */

.loja-resultado {
    display: none;

    margin: -4px 0 18px;

    padding: 11px 14px;

    border-radius: 10px;

    background: #f5f7fa;

    border-left: 4px solid #e30613;
}


.loja-resultado.ativo {
    display: block;
}


#loja-nome {
    display: block;

    color: #07518e;

    font-size: 14px;
    font-weight: 700;
}


#loja-distancia {
    display: block;

    margin-top: 3px;

    color: #666;

    font-size: 12px;
}


/* =========================================================
   CUPOM VERDE
========================================================= */

.card-cupom .card-content {
    max-width: 72%;
}


.cupom-visual {
    display: none !important;
    position: absolute;

    right: -12px;
    bottom: 22px;

    width: 125px;
    height: 125px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #eafff0,
            #c9f5d7
        );

    transform: rotate(8deg);
}


.cupom-logo {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #148b4c;

    font-size: 12px;
    font-weight: 600;

    line-height: 1;
}


.cupom-logo-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #148b4c;

    color: #fff;

    font-size: 20px;
    font-weight: 800;
}


.cupom-folhas {
    position: absolute;

    right: 12px;
    top: 15px;

    display: flex;

    gap: 3px;

    color: #148b4c;

    font-size: 15px;
}


.cupom-folhas i:first-child {
    transform: rotate(-25deg);
}


.cupom-folhas i:last-child {
    transform: rotate(25deg);
}


/* =========================================================
   DM VISA
========================================================= */

.card-dm .card-content {
    max-width: 65%;
}


.info-card:hover .dm-card-visual {
    transform:
        rotate(-5deg)
        translateY(-5px);
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1000px) {

    .servicos-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 680px) {

    .servicos-kuroda {
        padding: 20px 0;
    }

    .servicos-grid {
        width: min(100% - 28px, 500px);

        grid-template-columns: 1fr;

        gap: 18px;
    }

    .info-card {
        min-height: 330px;

        padding: 30px 24px;
    }

    .card-icon {
        width: 58px;
        height: 58px;

        margin-bottom: 25px;
    }

    .info-card h3 {
        font-size: 20px;
    }

    .card-cupom .card-content,
    .card-dm .card-content {
        max-width: 100%;
    }

    .cupom-visual {
        right: -35px;
        bottom: -20px;

        opacity: 0.65;
        display: none;
    }

    .dm-card-visual {
        right: -40px;
        bottom: 20px;

        opacity: 0.75;
    }

}
/* =========================================================
   CARTÃO DM — IMAGEM OFICIAL
========================================================= */

.dm-card-visual {
    position: absolute;

    right: -8px;
    bottom: 18px;

    width: 118px;
    height: 128px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;

    pointer-events: none;

    transform: rotate(-7deg);

    transition:
        transform 0.3s ease,
        right 0.3s ease,
        bottom 0.3s ease;
}


.dm-card-visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 12px 14px rgba(0, 0, 0, 0.20)
        );
}


/* Movimento suave ao passar o mouse */

.info-card:hover .dm-card-visual {
    transform:
        rotate(-3deg)
        translateY(-5px);
}