/**
 * Estilos específicos para Política de Privacidade
 * Anatomia Financeira - Core
 * Versão: 1.0 - Específico para política de privacidade
 */

/* ========================================
   VARIÁVEIS CSS PARA POLÍTICA DE PRIVACIDADE
   ======================================== */
:root {
    --privacidade-primary: #10b981;
    --privacidade-primary-dark: #059669;
    --privacidade-secondary: #6b7280;
    --privacidade-light: #f8fafc;
    --privacidade-border: #e2e8f0;
    --privacidade-shadow: rgba(0, 0, 0, 0.1);
    --privacidade-text-primary: #1f2937;
    --privacidade-text-secondary: #374151;
    --privacidade-text-muted: #6b7280;
    --privacidade-highlight: #fef3c7;
    --privacidade-warning: #f59e0b;
    --privacidade-success: #10b981;
    --privacidade-danger: #ef4444;
}

/* ========================================
   ESTILOS ESPECÍFICOS PARA POLÍTICA DE PRIVACIDADE
   ======================================== */

/* Destaque para informações importantes */
.bg-white[role="article"] .info-importante {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--privacidade-warning);
}

.bg-white[role="article"] .info-importante h5 {
    color: #92400e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.bg-white[role="article"] .info-importante p {
    color: #92400e;
    margin-bottom: 0;
    font-weight: 500;
}

/* Destaque para informações de contato */
.bg-white[role="article"] .secao-contato {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--privacidade-success);
}

.bg-white[role="article"] .secao-contato h2 {
    color: #166534;
    margin-bottom: 1rem;
    border-left: none;
    padding-left: 0;
}

.bg-white[role="article"] .secao-contato ul {
    list-style: none;
    padding-left: 0;
}

.bg-white[role="article"] .secao-contato li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #bbf7d0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bg-white[role="article"] .secao-contato li:last-child {
    border-bottom: none;
}

.bg-white[role="article"] .secao-contato strong {
    color: #166534;
    font-weight: 700;
    min-width: 80px;
}

/* Destaque para direitos do usuário */
.bg-white[role="article"] .direitos-usuario {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #3b82f6;
}

.bg-white[role="article"] .direitos-usuario h2 {
    color: #1e40af;
    margin-bottom: 1rem;
    border-left: none;
    padding-left: 0;
}

.bg-white[role="article"] .direitos-usuario ul {
    color: #1e40af;
}

.bg-white[role="article"] .direitos-usuario li {
    font-weight: 500;
}

/* Destaque para segurança */
.bg-white[role="article"] .seguranca-dados {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--privacidade-danger);
}

.bg-white[role="article"] .seguranca-dados h2 {
    color: #dc2626;
    margin-bottom: 1rem;
    border-left: none;
    padding-left: 0;
}

.bg-white[role="article"] .seguranca-dados ul {
    color: #dc2626;
}

.bg-white[role="article"] .seguranca-dados li {
    font-weight: 500;
}

/* Destaque para Open Finance */
.bg-white[role="article"] .open-finance {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #7dd3fc;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #0ea5e9;
}

.bg-white[role="article"] .open-finance h2 {
    color: #0c4a6e;
    margin-bottom: 1rem;
    border-left: none;
    padding-left: 0;
}

.bg-white[role="article"] .open-finance ul {
    color: #0c4a6e;
}

.bg-white[role="article"] .open-finance li {
    font-weight: 500;
}

/* Melhorias para subseções */
.bg-white[role="article"] h5 {
    color: var(--privacidade-text-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    border-left: 3px solid var(--privacidade-primary);
    padding-left: 0.75rem;
}

/* Destaque para informações de cookies */
.bg-white[role="article"] .cookies-info {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #c4b5fd;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #8b5cf6;
}

.bg-white[role="article"] .cookies-info h2 {
    color: #6b21a8;
    margin-bottom: 1rem;
    border-left: none;
    padding-left: 0;
}

.bg-white[role="article"] .cookies-info ul {
    color: #6b21a8;
}

.bg-white[role="article"] .cookies-info li {
    font-weight: 500;
}

/* Responsividade para seções especiais */
@media (max-width: 768px) {

    .bg-white[role="article"] .secao-contato,
    .bg-white[role="article"] .direitos-usuario,
    .bg-white[role="article"] .seguranca-dados,
    .bg-white[role="article"] .open-finance,
    .bg-white[role="article"] .cookies-info {
        margin: 1rem 0;
        padding: 1rem;
    }

    .bg-white[role="article"] .secao-contato li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .bg-white[role="article"] .secao-contato strong {
        min-width: auto;
    }
}

/* Animações suaves para seções especiais */
.bg-white[role="article"] .secao-contato,
.bg-white[role="article"] .direitos-usuario,
.bg-white[role="article"] .seguranca-dados,
.bg-white[role="article"] .open-finance,
.bg-white[role="article"] .cookies-info,
.bg-white[role="article"] .info-importante {
    transition: all 0.3s ease;
}

.bg-white[role="article"] .secao-contato:hover,
.bg-white[role="article"] .direitos-usuario:hover,
.bg-white[role="article"] .seguranca-dados:hover,
.bg-white[role="article"] .open-finance:hover,
.bg-white[role="article"] .cookies-info:hover,
.bg-white[role="article"] .info-importante:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Redução de movimento para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {

    .bg-white[role="article"] .secao-contato,
    .bg-white[role="article"] .direitos-usuario,
    .bg-white[role="article"] .seguranca-dados,
    .bg-white[role="article"] .open-finance,
    .bg-white[role="article"] .cookies-info,
    .bg-white[role="article"] .info-importante {
        transition: none;
    }

    .bg-white[role="article"] .secao-contato:hover,
    .bg-white[role="article"] .direitos-usuario:hover,
    .bg-white[role="article"] .seguranca-dados:hover,
    .bg-white[role="article"] .open-finance:hover,
    .bg-white[role="article"] .cookies-info:hover,
    .bg-white[role="article"] .info-importante:hover {
        transform: none;
    }
}