/* =========================================================
   CDC — IMPACTO V2
   Versão final: fotografia natural e frase completa
   ========================================================= */

.cdc-impact-v2 {
    position: relative;

    padding: 26px 0 28px;

    background: #ffffff;
}


/* =========================================================
   CONTENTOR
   ========================================================= */

.cdc-impact-v2-shell {
    width: min(calc(100% - 72px), 1180px);
    max-width: 1180px;

    margin: 0 auto;

    padding-left: 0;
    padding-right: 0;
}


/* =========================================================
   GRID
   ========================================================= */

.cdc-impact-v2-grid {
    display: grid;

    grid-template-columns:
        minmax(390px, .88fr)
        minmax(0, 1.12fr);

    align-items: stretch;

    overflow: hidden;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 14px 34px
        rgba(7, 31, 61, .055);
}


/* =========================================================
   FOTOGRAFIA
   ========================================================= */

.cdc-impact-v2-photo {
    position: relative;

    min-width: 0;
    min-height: 255px;

    margin: 0;

    overflow: hidden;

    background: #eef7fb;
}

.cdc-impact-v2-photo > img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    /*
     * A frase manuscrita já está incorporada no PNG.
     * Alinhamos à esquerda para que ela apareça completa.
     */
    object-position: left center;
}


/*
 * A imagem já contém a frase manuscrita.
 * Não aplicamos véu nem texto HTML duplicado.
 */

.cdc-impact-v2-photo::after {
    display: none;
}

.cdc-impact-v2-photo-message {
    display: none;
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.cdc-impact-v2-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        34px
        42px;
}

.cdc-impact-v2-kicker {
    display: block;

    margin-bottom: 10px;

    color: #1264e3;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .18em;
    text-transform: uppercase;
}

.cdc-impact-v2-content h2 {
    max-width: 650px;

    margin: 0;

    color: #071f3d;

    font-size:
        clamp(
            29px,
            2.65vw,
            42px
        );

    font-weight: 900;

    line-height: 1.02;
    letter-spacing: -.043em;
}

.cdc-impact-v2-content > p {
    max-width: 640px;

    margin:
        15px 0 21px;

    color: #5b6d82;

    font-size: 12px;
    line-height: 1.62;
}


/* =========================================================
   RESULTADOS
   ========================================================= */

.cdc-impact-v2-results {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap:
        16px
        30px;
}

.cdc-impact-v2-result {
    display: inline-flex;

    align-items: center;

    gap: 10px;
}

.cdc-impact-v2-result-icon {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 50%;

    color: transparent;
}

.cdc-impact-v2-result-icon.is-blue {
    background: #1681f4;
}

.cdc-impact-v2-result-icon.is-green {
    background: #17b46d;
}

.cdc-impact-v2-result-icon.is-yellow {
    background: #edb613;
}

.cdc-impact-v2-result strong {
    color: #071f3d;

    font-size: 11px;
    font-weight: 900;

    white-space: nowrap;
}


/* =========================================================
   ECRÃS GRANDES
   ========================================================= */

@media (min-width: 1500px) {

    .cdc-impact-v2-shell {
        max-width: 1220px;
    }

    .cdc-impact-v2-photo {
        min-height: 270px;
    }

    .cdc-impact-v2-content {
        padding:
            38px
            48px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    .cdc-impact-v2-shell {
        width: min(calc(100% - 48px), 900px);
    }

    .cdc-impact-v2-grid {
        grid-template-columns: 1fr;
    }

    .cdc-impact-v2-photo {
        min-height: 330px;
    }

    .cdc-impact-v2-photo > img {
        object-position: left center;
    }

    .cdc-impact-v2-content {
        padding:
            38px
            32px
            42px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

    .cdc-impact-v2 {
        padding:
            18px 0 22px;
    }

    .cdc-impact-v2-shell {
        width: calc(100% - 30px);
    }

    .cdc-impact-v2-grid {
        border-radius: 20px;
    }

    .cdc-impact-v2-photo {
        min-height: 270px;
    }

    .cdc-impact-v2-photo > img {
        object-position: left center;
    }

    .cdc-impact-v2-content {
        padding:
            32px
            22px
            36px;
    }

    .cdc-impact-v2-content h2 {
        font-size: 32px;
    }

    .cdc-impact-v2-results {
        display: grid;

        grid-template-columns: 1fr;

        gap: 13px;
    }

    .cdc-impact-v2-result strong {
        white-space: normal;
    }

}


/* =========================================================
   MOBILE PEQUENO
   ========================================================= */

@media (max-width: 430px) {

    .cdc-impact-v2-photo {
        min-height: 245px;
    }

}
