/* ==========================================================================
   TEMA: CONTABILIDADE ESTRATÉGICA & CONSULTORIA B2B
   Médias Empresas, BPO Financeiro, Gestão Tributária & Outsourcing Contábil
   Atmosfera: Ordem Numérica, Blindagem Fiscal, Precisão Matemática & Safira
   ========================================================================== */

:root, body.theme-contabilidade {
  --bg-deep: #060911;
  --bg-base: #090F1C;
  --bg-card: #0F172A;
  --bg-card-hover: #16213B;
  --bg-subtle: #1E2D4F;

  --border-hairline: rgba(59, 130, 246, 0.16);
  --border-strong: rgba(59, 130, 246, 0.32);
  --border-focus: #3B82F6;

  --brand-orange: #3B82F6; /* Safira Institucional / Azul Precisão */
  --brand-orange-soft: rgba(59, 130, 246, 0.12);
  --brand-orange-hover: #60A5FA;

  --brand-emerald: #10B981; /* Esmeralda de Lucro Líquido & Auditoria */
  --brand-emerald-soft: rgba(16, 185, 129, 0.12);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
}

body.theme-contabilidade ::selection {
  background-color: #3B82F6;
  color: #FFFFFF;
}

body.theme-contabilidade .geo-tag {
  color: #60A5FA;
}

body.theme-contabilidade .btn-primary {
  background-color: #3B82F6;
  color: #FFFFFF;
  font-weight: 800;
  border: 1px solid #3B82F6;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-contabilidade .btn-primary:hover {
  background-color: #60A5FA;
  border-color: #60A5FA;
  box-shadow: 0 6px 26px rgba(96, 165, 250, 0.35);
  transform: translateY(-1px);
}

body.theme-contabilidade .btn-outline {
  color: #F8FAFC;
  border-color: rgba(59, 130, 246, 0.35);
}
body.theme-contabilidade .btn-outline:hover {
  background-color: rgba(59, 130, 246, 0.12);
  border-color: #3B82F6;
}

body.theme-contabilidade .kicker {
  color: #60A5FA;
}
body.theme-contabilidade .kicker::before {
  background-color: #3B82F6;
}

body.theme-contabilidade .stat-val {
  color: #60A5FA;
}

body.theme-contabilidade .process-num {
  color: #60A5FA;
}

/* ==========================================================================
   PAINEL EDITORIAL DE INTELIGÊNCIA TRIBUTÁRIA & BPO (HERO VISUAL)
   ========================================================================== */
.finance-dossier-panel {
  background: #0E1628;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-family: var(--font-sans);
}
.finance-dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.14);
  margin-bottom: 18px;
}
.finance-dossier-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #F8FAFC;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.finance-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3B82F6;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.finance-dossier-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  background-color: rgba(59, 130, 246, 0.14);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.30);
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.finance-solution-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.finance-solution-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  background-color: #141E34;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.finance-solution-item:hover {
  border-color: #3B82F6;
  background-color: #1A2744;
}
.finance-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #F8FAFC;
}
.finance-item-meta {
  font-size: 0.74rem;
  color: #94A3B8;
  margin-top: 2px;
}
.finance-item-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #60A5FA;
  background: rgba(59, 130, 246, 0.10);
  padding: 4px 8px;
  border: 1px solid rgba(59, 130, 246, 0.24);
  border-radius: 6px;
  white-space: nowrap;
}
.finance-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(59, 130, 246, 0.14);
}
.finance-metric-card {
  background: #141E34;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.12);
}
.finance-metric-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: #60A5FA;
  line-height: 1.1;
}
.finance-metric-lbl {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.3;
}
.finance-dossier-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(59, 130, 246, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94A3B8;
}
.finance-compliance-tag {
  color: #10B981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
