/**
 * Precatorize Enterprise - Governance & Compliance Design V7.0
 * Localização: assets/css/compliance.css
 * Estilo: Institutional Audit / Fintech Standard
 */

/* --- 1. HERO DE GOVERNANÇA --- */
.hero-premium {
    background: radial-gradient(circle at top right, #0f172a 0%, #002d5e 100%) !important;
    padding-top: 160px !important;
    padding-bottom: 120px !important;
    position: relative;
    overflow: hidden;
}

/* --- 2. CARDS DE POLÍTICA --- */
.card-premium {
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f5f9;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.08) !important;
}

/* --- 3. MOTOR DA TIMELINE DE AUDITORIA --- */
.audit-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Linha Central da Timeline */
.audit-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.audit-item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    padding: 0 40px;
}

/* Alinhamento Alternado (Esquerda/Direita) */
.audit-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.audit-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* O Ponto/Ícone da Timeline */
.audit-dot {
    position: absolute;
    top: 10px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid #0056b3;
    border-radius: 16px; /* Squircle style */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0056b3;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.15);
    font-size: 1.1rem;
}

.audit-item:nth-child(odd) .audit-dot {
    right: -25px;
}

.audit-item:nth-child(even) .audit-dot {
    left: -25px;
}

/* Conteúdo do Bloco */
.audit-content {
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.audit-content:hover {
    border-color: #0056b3 !important;
    transform: scale(1.02);
}

.audit-step {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* --- 4. INFRAESTRUTURA DARK (R2 VAULT) --- */
.bg-dark {
    background-color: #0f172a !important;
}

.avatar-squircle {
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* --- 5. ANIMAÇÕES REVEAL (SYNC COM MAIN.JS) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 6. RESPONSIVIDADE PWA READY --- */
@media (max-width: 991.98px) {
    .audit-timeline::before {
        left: 30px;
    }

    .audit-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 70px;
        padding-right: 0;
    }

    .audit-dot {
        left: 5px !important;
        right: auto !important;
    }

    .hero-premium {
        padding-top: 130px !important;
        padding-bottom: 80px !important;
    }

    .audit-content {
        padding: 20px;
    }
}