/**
 * LP Cards de Texto
 * Figma Landing Page ONE — desktop 7:570 / mobile 32:789
 * Com imagem no card: desktop 12:1599 / mobile 32:1641 / card 14:1916
 * Título de seção: Gilroy ExtraBold (a face ExtraBold não está ativa no tema; 800 cai no Bold).
 */

.lp-cards-de-texto-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: var(--primarias-principal-00, #F1F9FD);
}

.lp-cards-de-texto {
    width: 100%;
    margin: 0;
    padding: 48px 0;
    box-sizing: border-box;
}

.lp-cards-de-texto__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.lp-cards-de-texto__cabecalho {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.lp-cards-de-texto__titulo {
    margin: 0;
    max-width: 16em;
    font-family: var(--fontefamiliaglobal);
    font-weight: 800;
    font-size: 1.75rem; /* 28px */
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--primarias-principal-150, #036289);
    text-align: left;
}

.lp-cards-de-texto__titulo br {
    display: block;
}

.lp-cards-de-texto__texto {
    margin: 0;
    max-width: 28em;
    font-family: var(--fontefamiliaglobal);
    font-weight: 400;
    font-size: 1.125rem; /* 18px */
    line-height: 1.35;
    letter-spacing: 0.0028em;
    color: #636363;
}

.lp-cards-de-texto__texto p {
    margin: 0;
    font: inherit;
    color: inherit;
}

.lp-cards-de-texto__texto p + p {
    margin-top: 8px;
}

.lp-cards-de-texto__conteudo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
}

.lp-cards-de-texto__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: stretch;
    width: 100%;
}

.lp-cards-de-texto__cta {
    display: flex;
    justify-content: center;
    width: 100%;
}

.site-main a.lp-cards-de-texto__cta-botao.btn,
.lp-cards-de-texto__cta-botao.btn {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

.lp-cards-de-texto__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
    min-width: 0;
    margin: 0;
    padding: 24px;
    background: var(--branco, #ffffff);
    border: 1px solid #D5F2FF;
    border-radius: 20px;
    box-sizing: border-box;
}

.lp-cards-de-texto__card:has(.lp-cards-de-texto__card-imagem) {
    overflow: hidden;
}

.lp-cards-de-texto__card-corpo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.lp-cards-de-texto__card-imagem {
    display: block;
    flex-shrink: 0;
    width: calc(100% + 48px);
    max-width: none;
    height: 210px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    margin: -24px -24px 16px;
}

.lp-cards-de-texto__card-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.lp-cards-de-texto__card-titulo {
    margin: 0;
    width: 100%;
    font-family: var(--fontefamiliaglobal);
    font-weight: 700;
    font-size: 1.375rem; /* 22px */
    line-height: 1.25;
    letter-spacing: 0.0023em;
    color: var(--primarias-principal-150, #036289);
}

.lp-cards-de-texto__card-subtitulo {
    margin: 0;
    width: 100%;
    font-family: var(--fontefamiliaglobal);
    font-weight: 400;
    font-size: 1.125rem; /* 18px */
    line-height: 1.35;
    letter-spacing: 0.0028em;
    color: #303030;
}

.lp-cards-de-texto__card-texto {
    width: 100%;
    font-family: var(--fontefamiliaglobal);
    font-weight: 400;
}

.lp-cards-de-texto__card-texto p {
    margin: 0;
    font-family: inherit;
    font-weight: 400;
    font-size: 1.125rem; /* 18px */
    line-height: 1.35;
    letter-spacing: 0.0028em;
    color: #303030;
}

.lp-cards-de-texto__card-texto ul,
.lp-cards-de-texto__card-texto ol {
    margin: 0;
    padding-left: 1.15em;
    list-style-type: disc;
    list-style-position: outside;
    font-family: inherit;
    font-weight: 400;
    font-size: 1rem; /* 16px */
    line-height: 1.5;
    letter-spacing: 0.0031em;
    color: #636363;
}

.lp-cards-de-texto__card-texto p + ul,
.lp-cards-de-texto__card-texto p + ol,
.lp-cards-de-texto__card-texto ul + p,
.lp-cards-de-texto__card-texto ol + p {
    margin-top: 16px;
}

.lp-cards-de-texto__card-texto li {
    display: list-item;
    margin: 0;
    padding: 0;
}

.lp-cards-de-texto__card-texto li::before {
    content: none;
}

.site-main a.lp-cards-de-texto__botao.btn,
.lp-cards-de-texto__botao.btn {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .lp-cards-de-texto {
        padding: 80px 0;
    }

    .lp-cards-de-texto__inner {
        gap: 48px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .lp-cards-de-texto__cabecalho {
        gap: 24px;
    }

    .lp-cards-de-texto__titulo {
        font-size: 2.5rem; /* 40px */
        line-height: 1.05;
    }

    .lp-cards-de-texto__conteudo {
        gap: 40px;
    }

    .site-main a.lp-cards-de-texto__cta-botao.btn,
    .lp-cards-de-texto__cta-botao.btn {
        width: auto;
    }

    .lp-cards-de-texto__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-cards-de-texto__cards--1 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1100px) {
    .lp-cards-de-texto {
        padding: 120px 0;
    }

    .lp-cards-de-texto__inner {
        gap: 64px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .lp-cards-de-texto__cabecalho {
        gap: 24px;
    }

    .lp-cards-de-texto__titulo {
        font-size: 3.5rem; /* 56px */
        line-height: 1;
    }

    .lp-cards-de-texto__conteudo {
        gap: 48px;
    }

    .lp-cards-de-texto__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lp-cards-de-texto__cards--1 {
        grid-template-columns: 1fr;
    }

    .lp-cards-de-texto__cards--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-cards-de-texto__card {
        min-height: 335px;
    }
}
