#beneficiosPlano {
    margin: var(--size-space-0) auto;
    padding: var(--size-space-64) var(--size-space-16) var(--size-space-32);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.beneficios-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#beneficiosPlano h2.beneficios-titulo {
    color: var(--Color-Content-General-1, #2C2C2C);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "IberPangea Text";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    margin: 0
}

#beneficiosPlano p.beneficios-subtitulo {
    color: var(--Color-Content-General-2, rgba(71, 71, 71, 0.80));
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "IberPangea Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
}

#beneficiosPlano #cartoes {
    width: 100%;
    overflow: hidden;
}

/* Lista de tarjetas: columna por debajo de 992px */
#beneficiosPlano #cartoes .cartoes-lista {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--size-space-24, 24px);
    justify-items: center;
}

#beneficiosPlano #cartoes .cartao {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    align-items: center;
    margin: var(--size-space-0);
    padding: var(--size-space-24, 24px);
    gap: 24px;
    box-sizing: border-box;
    /* width: 304px; */
    max-width: 100%;
}

#beneficiosPlano #cartoes .cartao {
    justify-content: center;
    text-align: center;
    border-radius: var(--border-radius-l, 16px);
    background: var(--Color-Surface-General-3, #F9F9F9);
    /* max-height: min-content; */
}

#beneficiosPlano #cartoes .cartao:nth-child(1),
#beneficiosPlano #cartoes .cartao:nth-child(3) {
    background: #F9F9F9;
}

#beneficiosPlano #cartoes .cartao:nth-child(2) {
    background: transparent;
    padding: 0;
    gap: 16px;
    align-items: stretch;
}

#beneficiosPlano #cartoes .cartao .content-text {
    flex: 1;
    padding: 0;
    border-radius: var(--border-radius-l, 16px);
    box-sizing: border-box;
}

#beneficiosPlano #cartoes .cartao:nth-child(2) .content-text {
    padding: var(--size-space-24, 24px);
}

#beneficiosPlano #cartoes .cartao:nth-child(2) .content-text:nth-of-type(1) {
    background: #FFF5EC;
}

#beneficiosPlano #cartoes .cartao:nth-child(2) .content-text:nth-of-type(2) {
    background: #DCEBE1;
}


#beneficiosPlano #cartoes .cartao picture {
    display: block;
    width: 100%;
    flex-shrink: 0;
}

#beneficiosPlano #cartoes .cartao img {
    display: block;
    height: 180px;
    margin: var(--size-space-0) var(--size-space-0) var(--size-space-8);
    padding: var(--size-space-0);
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: var(--border-radius-l, 16px);
    margin: 0;
    object-position: top;
}

#beneficiosPlano #cartoes .cartao .content-text {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    gap: 8px;
}

#beneficiosPlano #cartoes .cartao .titulo {
    color: #2c2c2c;
    text-align: left;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "IberPangea Text";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    margin: 0
}

#beneficiosPlano #cartoes .cartao .subtitulo {
    color: var(--Color-Content-General-1);
    text-align: center;
    margin: var(--size-space-0) var(--size-space-0) var(--size-space-8);
    padding: var(--size-space-0);
}

#beneficiosPlano #cartoes .cartao .texto {
    color: var(--Color-Content-General-1, #2C2C2C);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "IberPangea Text";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
    text-align: left;
}

.cont-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.cont-button .btn {
    text-transform: none;
    width: 226px;
    margin: 0px 40px 40px 40px;
    font-size: 18px;
    background-color: #2F6852;
    border-color: #2F6852;
    font-family: IberPangea Text;
}

.cont-button .btn:hover {
    background-color: var(--Color-Button-Background-Hover-1, #00402A) !important;
    border-color: var(--Color-Button-Background-Hover-1, #00402A) !important;
}

@media (min-width: 576px) {
    #beneficiosPlano {
        padding: var(--size-space-64) var(--size-space-0) var(--size-space-32);
        max-width: 492px;
    }

    .cont-button .btn {
        width: 328px;
    }
}

@media (min-width: 768px) {
    #beneficiosPlano {
        max-width: 672px;
    }

    .beneficios-header {
        gap: 16px;
    }
}

@media (min-width: 992px) {
    #beneficiosPlano {
        padding: var(--size-space-64) 0 32px;
        justify-items: center;
        max-width: 828px;
    }

    #beneficiosPlano h2.beneficios-titulo {
        font-size: 32px;
    }

    #beneficiosPlano #cartoes .cartoes-lista {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-template-rows: repeat(2, 1fr); */
        gap: var(--size-space-24, 24px);
        align-items: stretch;
        justify-items: stretch;
        /* max-height: fit-content; */
    }

    #beneficiosPlano #cartoes .cartoes-lista .cartao {
        width: auto;
        max-width: none;
        margin: 0;
    }

    #beneficiosPlano #cartoes .cartoes-lista .cartao:first-child {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    #beneficiosPlano #cartoes .cartoes-lista .cartao:nth-child(2) {
        display: contents;
    }

    #beneficiosPlano #cartoes .cartoes-lista .cartao:nth-child(3) {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    #beneficiosPlano #cartoes .cartoes-lista .cartao:nth-child(2) .content-text:nth-of-type(1) {
        grid-column: 2;
        grid-row: 1;
    }

    #beneficiosPlano #cartoes .cartoes-lista .cartao:nth-child(2) .content-text:nth-of-type(2) {
        grid-column: 2;
        grid-row: 2;
        /* max-height: fit-content; */
    }


}

@media (min-width: 1200px) {
    #beneficiosPlano {
        max-width: 996px;
    }
}

@media (min-width: 1440px) {
    #beneficiosPlano {
        max-width: 1272px;
    }
}
