/* Estilos modernos para cards circulares de transparência */
.card-transparencia {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    position: relative;
    overflow: visible;
}

.card-transparencia:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
}

.card-transparencia i {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #3b82f6;
}

.card-transparencia:hover i {
    transform: scale(1.2) rotateY(360deg);
    color: #2563eb;
}

.card-transparencia .texto-secretarias {
    transition: all 0.3s ease;
    color: #1f2937;
    font-weight: 600;
}

.card-transparencia:hover .texto-secretarias {
    color: #3b82f6;
    transform: scale(1.05);
}

/* Efeito de pulso sutil */
.card-transparencia::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.card-transparencia:hover::after {
    width: 120%;
    height: 120%;
}

.card-transparencia .card-body {
    position: relative;
    z-index: 1;
}

/* Animação de entrada */
.card-transparencia {
    animation: fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Delays para animação em cascata */
.col-sm-6:nth-child(1) .card-transparencia { animation-delay: 0.05s; }
.col-sm-6:nth-child(2) .card-transparencia { animation-delay: 0.1s; }
.col-sm-6:nth-child(3) .card-transparencia { animation-delay: 0.15s; }
.col-sm-6:nth-child(4) .card-transparencia { animation-delay: 0.2s; }
.col-sm-6:nth-child(5) .card-transparencia { animation-delay: 0.25s; }
.col-sm-6:nth-child(6) .card-transparencia { animation-delay: 0.3s; }

/* Dark mode overrides */
body.dark-mode .card-transparencia {
    background: linear-gradient(135deg, #283347 0%, #1e293b 100%) !important;
    border-color: #475569 !important;
}
body.dark-mode .card-transparencia .texto-secretarias {
    color: #e2e8f0 !important;
}