* {
    box-sizing: border-box;
}

.section .portal-transparencia {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: left;
}

.portal-transparencia .box-titulo {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(120deg, #f8fbfc 0%, #eef7f8 100%);
    border: 1px solid #d9eaec;
    box-shadow: 0 8px 20px -16px rgba(22, 52, 56, 0.65);
}

.portal-transparencia .box-titulo-icone {
    width: 74px;
    height: 74px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #f3f3f3 0%, #e9f3f3 100%);
    box-shadow: 0 10px 20px -12px rgba(59, 145, 151, 0.9);
}

.portal-transparencia .box-titulo img {
    max-width: 60px;
    mix-blend-mode: multiply;
}

.portal-transparencia .box-titulo-texto {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portal-transparencia .box-titulo .titulo-tag {
    width: fit-content;
    padding: 2px 10px;
    border-radius: 999px;
    background-color: #dff1f3;
    color: #2e7f84;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.portal-transparencia .box-titulo h2 {
    margin: 0;
    text-align: left;
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #284447;
}

.cards {
    --transp-main: #3b9197;
    --transp-surface: linear-gradient(145deg, #f7fbfc 0%, #edf6f7 100%);
    --transp-border: #d6e9eb;
    --transp-shadow: 0 20px 38px -28px rgba(27, 66, 71, 0.75);
    --transp-soft: #f2f8f9;
    --transp-muted: #5d7276;

    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    padding: 16px;
    border: 1px solid var(--transp-border);
    border-top: 5px solid var(--transp-main);
    border-radius: 16px;
    background: var(--transp-surface);
    box-shadow: var(--transp-shadow);
}

.cards a {
    text-decoration: none;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 105px;
    max-width: 120px;
    flex: 1 1 0;
    min-height: 170px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #deebed;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 10px 14px;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 14px 24px -22px rgba(26, 72, 77, 0.8);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -24px rgba(26, 72, 77, 0.95);
    border-color: #c7e4e8;
}

.card.active {
    border: 1px solid #2f8388;
    box-shadow: 0 20px 32px -22px rgba(38, 101, 107, 0.9);
    transform: translateY(-2px);
    background: linear-gradient(150deg, #ffffff 0%, #f2fafb 100%);
}

.card::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: solid 2px #ffffff;
    position: absolute;
    top: 7px;
    left: 7px;
    background-color: #bcc9cc;
    box-shadow: 0 0 0 1px #d6e3e6;
    transition: background-color .25s ease;
}

.card.active::before {
    background-color: #1cbf60;
}

.card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.card span {
    text-align: center;
    color: var(--transp-muted);
    font-size: clamp(0.62rem, 0.58rem + 0.2vw, 0.78rem);
    line-height: 1.25;
    display: flex;
    font-weight: 600;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 8px 8px;
    margin-top: 2px;
    min-height: 3.1em;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: balance;
}

.info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    justify-content: center;
    flex: 0 0 120px;
}

.info span {
    font-weight: 700;
    color: #ffffff;
    font-size: clamp(0.65rem, 0.63rem + 0.2vw, 0.78rem);
    border-radius: 999px;
    min-height: 44px;
    min-width: 150px;
    background: linear-gradient(120deg, #6f878b 0%, #516f73 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    letter-spacing: .02em;
    box-shadow: 0 12px 22px -18px rgba(27, 66, 71, 0.9);
}

.info .img-seta {
    width: 32px;
    margin-top: 8px;
    opacity: .9;
    mix-blend-mode: multiply;
    background: transparent;
    filter: contrast(1.05) saturate(1.05);
}

@media (max-width:600px) {
    .portal-transparencia .box-titulo {
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px;
        margin-top: 0;
    }

    .portal-transparencia .box-titulo-icone {
        width: 52px;
        height: 52px;
    }

    .portal-transparencia .box-titulo img {
        max-width: 32px;
    }

    .portal-transparencia .box-titulo .titulo-tag {
        font-size: 0.65rem;
    }

    .portal-transparencia .box-titulo h2 {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }

    .cards {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px;
        justify-content: center;
        max-height: 52vh;
        overflow-y: auto;
    }

    .info {
        width: 100%;
        padding-bottom: 2px;
            
    }
    
    .info .img-seta {
        display: none;
    }

    .card {
        width: calc(50% - 8px);
        min-height: 140px;
    }

    .card img {
        width: 58px;
        height: 58px;
    }

    .card span {
        font-size: clamp(0.62rem, 2.6vw, 0.72rem);
        line-height: 1.2;
        min-height: 2.9em;
        padding-bottom: 6px;
    }

    .section .portal-transparencia {
        align-items: center;
        width: 100%;
    }

    .section {
        margin-top: -20px;
    }
}
