.transparencia-header {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 2rem;
    border: 1px solid #e5e7eb;
}

.transparencia-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, transparent 80%, rgba(59, 130, 246, 0.05) 100%);
    pointer-events: none;
}

.header-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.25);
    flex-shrink: 0;
}

.header-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.header-content p {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

.transparencia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.transparencia-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    text-decoration: none;
    color: #4b5563;
    position: relative;
    overflow: hidden;
}

.transparencia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1);
    border-color: #3b82f6;
    color: #2563eb;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.transparencia-card:hover .card-icon {
    background: #3b82f6;
    color: white;
    transform: scale(1.1);
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.info-banner {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.banner-img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .transparencia-header {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .transparencia-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .transparencia-grid {
        grid-template-columns: 1fr;
    }
}

.acesso-info-banner {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.acesso-info-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -10px rgba(14, 165, 233, 0.5);
    color: white;
}

.acesso-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.acesso-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.acesso-content {
    flex-grow: 1;
    text-align: left;
}

.acesso-content h3 {
    margin: 0 0 5px 0;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}

.acesso-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
}

.acesso-arrow {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.acesso-info-banner:hover .acesso-arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .acesso-info-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .acesso-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .acesso-content {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .acesso-arrow {
        margin-left: 0;
    }
}

/* Dark mode overrides for transparenciaPublica.php */
body.dark-mode .transparencia-header {
    background: #283347 !important;
    border-color: #475569 !important;
}
body.dark-mode .transparencia-header h1 {
    color: #f1f5f9 !important;
}
body.dark-mode .transparencia-header p {
    color: #cbd5e1 !important;
}
body.dark-mode .acesso-info-banner {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
}
body.dark-mode .transparencia-card {
    background: #283347 !important;
    border-color: #475569 !important;
}
body.dark-mode .transparencia-card:hover {
    background: #334155 !important;
    border-color: #60a5fa !important;
}
body.dark-mode .card-title {
    color: #e2e8f0 !important;
}
body.dark-mode .card-icon {
    background: #1e293b !important;
    color: #60a5fa !important;
}
body.dark-mode .transparencia-card:hover .card-icon {
    background: #60a5fa !important;
    color: #fff !important;
}

