.modindi-quadro {
    /*padding: 0 60px 35px 60px;*/
    /*border-radius: 10px;*/
    background-color: #fff;
    margin-bottom: 43px;
}

.modindi-faixa {
    height: 9px;
    width: 100%;
    margin-bottom: 25px;
    border-radius: 4px;
}

.modindi-titulo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
    font: normal normal 28px/20px Intro;
    color: #171C66;
}

.modindi-h2-300 {
    margin: 0 5px;
    line-height: 1.2;
    font-weight: 300;
}

.modindi-h2-600 {
    margin: 0 5px;
    line-height: 1.2;
    font-weight: 600;
}

.modindi-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    text-align: center;
    /*margin: 0 20px;*/
    gap: 0;
}

.modindi-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*padding: 0 20px;*/
    box-sizing: border-box;
}

.modindi-img img {
    width: 109px;
    margin-bottom: 15px;
}

.modindi-num {
    font: normal normal 600 28px/18px Intro;
    /*margin-top: 28px;*/
    margin-bottom: 8px;
    color: #4D80CE;
}

.modindi-cat {
    font: normal normal 400 18px/22px Intro;
    margin-bottom: 10px;
    color: #00166B;
}

.modindi-faixa-int {
    height: 1px;
    background: #BEBEBE 0 0 no-repeat padding-box;
    border: 0 solid #BEBEBE;
    width: 50%;
    margin: 15px 0 10px 0;
}

.modindi-com {
    font: normal normal normal 14px/20px Inter;
    color: #171C66;
    margin-top: 10px;
    padding: 0 20%;
}

.modindi-alt-card {
    background-color: #ffffff;
    border: 1px solid #4D80CF;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    flex: 1 1 calc(50% - 1rem);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    min-width: 300px;
}

.modindi-alt-num {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1f2c66;
    font: normal normal bold 28px Intro;
}

.modindi-alt-com {
    font-size: 0.9rem;
    color: #777;
}

.modindi-alt-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    /*margin-top: 2rem;*/
}

.modindi-alt-cat {
    text-align: center;
    margin-top: 0.4rem;
    font: normal 22px Intro;
    color: #00166B;
}

.modindi-alt-com {
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* Modo mais confiável: */
.modramos-linha-grafico:has(.modramos-ano.modramos-ativo) .modramos-valor {
    color: #00166B !important;
    font-weight: bold;
}

.titulo-ramo-tbl {
    color: #141D57;
    font-size: 28px;
    font-family: Intro !important;
    text-align: left;
    font-weight: 300;
    margin-left: 45px;
    margin-top: 45px;
}

.highlight-table {
    width: 103% !important;
    border-collapse: separate;
    border-spacing: 0.5rem 1rem;
    margin-top: 2rem;
    font-family: 'Inter', sans-serif;
}

.highlight-table th,
.highlight-table td {
    padding: 1rem;
    text-align: center;
    font-size: 0.95rem;
    border-radius:8px;
}

.highlight-table th {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
    background-color: transparent;
    border: none;
}

.highlight-table .label {
    text-align: right;
    font-weight: 500;
    color: #1f2c66;
    background-color: transparent;
    border: none;
    width: 22%;
}

.highlight-table .label-year-1 {
    font: normal normal normal 16px/13px Intro;
    color: #707070;
}

.highlight-table .label-year-2 {
    transform: translateX(-30px);
    font: normal normal normal 16px/13px Intro;
    color: #707070;
}

.highlight-table .label-year-3 {
    transform: translateX(-52px);
    font: normal normal bold 18px/15px Intro;
    color: #171C66;
}

.highlight-table .year-1 {
    background-color: #E6E6E6;
    color: #666;
    font: normal normal normal 21px Intro;
}

.highlight-table .year-2 {
    background-color: #B3B3B3;
    color: #fff;
    position: relative;
    z-index: 2;
    transform: translateX(-30px);
    font: normal normal normal 21px Intro;
}

.highlight-table .year-3 {
    background-color: #1f2c66;
    color: #fff;
    position: relative;
    z-index: 3;
    transform: translateX(-52px);
    font: normal normal bold 22px Intro;
}

.comentario-cor{
    color: #4D80CE;
    font-weight: bold;
    font-size: 12px;
    font-family: Inter;
}

@media (max-width: 768px) {
    .modindi-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 0 0; /* Se quiser espaçamento, pode ajustar */
    }

    .modindi-col{
        padding-bottom: 20px;
    }

    .modindi-num {
        font: normal normal 600 18px Intro;
    }

    .modindi-faixa-lateral {
        display: none;
    }

    .modindi-cat {
        font: normal normal 400 12px Intro;
    }

    .modindi-com {
        font: normal normal normal 12px Inter;
    }

    .top-metrics {
        flex-direction: column;
    }

    .metric {
        width: 100%;
    }

    .modramos-barra-container {
        height: 25px;
        width: 155px;
    }

    .modramos-valor-color {
        font: normal normal 600 24px Intro !important;
    }

    .highlight-table {
        margin-top: 1rem;
    }

    .highlight-table thead th{
        width: 121px;
        height: 0px !important;
    }

    .highlight-table td,
    .highlight-table th {
        font-size: 0.85rem;
        padding: 0;
    }

    .highlight-table tr {
        width: 121px;
        height: 63px;
    }

    .highlight-table .label-year-1 {
        /*font: normal normal normal 13px Intro;*/
        color: #707070;
    }

    .highlight-table .label-year-2 {
        transform: translateX(-30px);
        /*font: normal normal normal 13px Intro;*/
        color: #707070;
    }

    .highlight-table .label-year-3 {
        transform: translateX(-52px);
        font: normal normal bold 15px Intro;
        color: #171C66;
    }

    .highlight-table .year-1 {
        background-color: #E6E6E6;
        color: #666;
        font: normal normal normal 15px Intro;
    }

    .highlight-table .year-2 {
        background-color: #B3B3B3;
        color: #fff;
        position: relative;
        z-index: 2;
        transform: translateX(-30px);
        font: normal normal normal 15px Intro;
    }

    .highlight-table .year-3 {
        background-color: #1f2c66;
        color: #fff;
        position: relative;
        z-index: 3;
        transform: translateX(-52px);
        font: normal normal bold 15px Intro;
    }
}
