.doc-accordion {
    width: 100%;
}

.doc-categoria {
    margin-bottom: 25px;
    border-radius: 16px;
    overflow: hidden;
    padding: 30px;
    background: #fff;
}

.doc-categoria-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
}

.doc-categoria-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.doc-cat-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.doc-cat-title {
    font-size: 20px;
    font-weight: 700;
}

.doc-cat-count {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.doc-toggle {
    font-size: 18px;
    transition: 0.3s;
}

.doc-categoria.active .doc-toggle {
    transform: rotate(180deg);
}

.doc-toggle {
    transition: transform 0.3s ease;
}

.doc-categoria-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #ffffff;
    padding: 0 0;
}

.doc-categoria.active .doc-categoria-content {
    padding: 30px 0 0;
}

/* GRID 2 COLUNAS */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.doc-card {
    background: #f7f7f7;
    padding: 18px 22px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.25s;
}

.doc-card:hover {
    background: #ededed;
    transform: translateY(-3px);
}

.doc-title {
    font-weight: 600;
    font-size: 15px;
}

.doc-meta {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

.doc-download {
    font-size: 18px;
    text-decoration: none;
}

/* ===== Ícone documento (lado esquerdo) ===== */
.doc-icon-file {
    width: 25px;
    height: 25px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ===== Ícone download ===== */
.doc-icon-download {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* Botão download centralizado */
.doc-download {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Hover suave */
.doc-card:hover .doc-icon-download {
    transform: scale(1.1);
    transition: 0.2s ease;
}

/* Ícone da data */
.doc-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #777;
    margin-top: 4px;
    flex-wrap: wrap;
}

.doc-data {
    display: flex;
    align-items: center;
    gap: 5px;
}

.doc-icon-date {
    width: 14px;
    height: 14px;
    object-fit: contain;
}



@media (max-width: 992px) {
    .doc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Accordion mais compacto */
    .doc-categoria {
        margin-bottom: 18px;
        padding: 15px;
    }

    .doc-categoria-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .doc-categoria-left {
        align-items: flex-start;
        gap: 12px;
        flex: 1;
    }

    /* Ícone menor */
    .doc-cat-icon {
        width: 38px;
        height: 38px;
    }

    /* Título menor */
    .doc-cat-title {
        font-size: 15px;
    }

    .doc-cat-count {
        font-size: 13px;
    }

    /* Seta menor */
    .doc-arrow {
        width: 22px;
        height: 22px;
    }

    /* Grid vira 1 coluna */
    .doc-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Card mais compacto */
    .doc-card {
        padding: 14px;
        gap: 12px;
    }

    .doc-title {
        font-size: 13px;
    }

    .doc-meta {
        font-size: 11px;
    }

    .doc-icon-file {
        width: 20px;
        height: 20px;
    }

    .doc-icon-download {
        width: 22px;
        height: 22px;
    }

    /* Evita quebra estranha */
    .doc-left {
        flex: 1;
        min-width: 0;
    }

    .doc-title,
    .doc-meta {
        word-break: break-word;
    }

}