/* ====== ESTILOS GERAIS ====== */
.main {
    padding: 40px 0;
    color: #1a202c;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== SEÇÕES ====== */
.fundos-section {
    margin-bottom: 60px;
    position: relative;
}

.fundos-section:last-child {
    margin-bottom: 0;
}

.fundos-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--darkblue);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.fundos-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--blue);
    border-radius: 3px;
}

.text-content {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--blue);
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.text-content p {
    margin: 0;
    color: #4a5568;
}

.internal-link {
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px dotted transparent;
}

.internal-link:hover {
    color: var(--darkblue);
    border-bottom-color: currentColor;
}

/* ====== TABELAS MODERNAS ====== */
.modern-table-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 
                0 4px 6px -2px rgba(0, 0, 0, 0.02);
    margin: 30px 0;
    border: 1px solid #e2e8f0;
    background: white;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.modern-table th {
    background: var(--blue);
    color: white;
    font-weight: 500;
    text-align: left;
    padding: 16px 24px;
    font-size: 0.9rem;
}

.modern-table .date-header {
    width: 120px;
}

.modern-table .icon-header {
    width: 90px;
    text-align: center;
}

.modern-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    transition: background 0.2s ease;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr.row-odd {
    background: #fff;
}

.modern-table tr.row-even {
    background: #f8fafc;
}

.modern-table tr:hover td {
    background: #ebf8ff;
}

.date-cell {
    color: #4a5568;
    font-weight: 500;
    white-space: nowrap;
}

.icon-cell {
    text-align: center;
}

.pdf-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.2s ease;
    opacity: 0.8;
}

.pdf-icon-link:hover .pdf-icon {
    transform: scale(1.1);
    opacity: 1;
}

.title-cell {
    color: #2d3748;
}

.doc-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.doc-link:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

.file-size {
    color: #718096;
    font-size: 0.85em;
    font-weight: normal;
    margin-left: 6px;
    text-wrap: nowrap;
}

/* ====== SEM DOCUMENTOS ====== */
.no-documents {
    background: #f8fafc;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    color: #718096;
    border: 1px dashed #cbd5e0;
}

.no-documents p {
    margin: 0;
    font-style: italic;
}

/* ====== ANIMAÇÕES ====== */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
    .modern-table th, 
    .modern-table td {
        padding: 12px 15px;
    }
    
    .fundos-section h2 {
        font-size: 1.5rem;
    }
    
    .text-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .modern-table-container {
        border-radius: 8px;
    }
    
    .modern-table th, 
    .modern-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .pdf-icon {
        width: 18px;
        height: 18px;
    }
    
    .file-size {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
}