/* Hares — Calculadora IBS/CBS sobre Aluguéis — hotfix visual v0.2
   Exclusivamente contraste e acabamento visual. Não altera motor, regras ou cálculos. */

/* FAQ no modo claro: cabeçalho com contraste institucional. */
.hares-alugueis-page .faq-header{
  background:linear-gradient(135deg,#0f2f4a 0%,#123e63 66%,#1f5d89 100%)!important;
  color:#fff!important;
}
.hares-alugueis-page .faq-header h2{color:#fff!important}
.hares-alugueis-page .faq-header p{color:#dceaf5!important}

/* Refinamento de leitura geral. */
.hares-alugueis-page .compare-intro h2{color:#0f2f4a}
.hares-alugueis-page .compare-intro p{color:#64748b}
.hares-alugueis-page .comparison-focus strong{color:#1e3a8a}
.hares-alugueis-page .comparison-focus span{color:#334155}

/* Dark mode — trust strip e formulário comparativo. */
html[data-theme="dark"] body.hares-alugueis-page .public-trust-item{
  background:#0f2742!important;
  border-color:rgba(125,211,252,.18)!important;
  color:#cbd5e1!important;
}
html[data-theme="dark"] body.hares-alugueis-page .public-trust-item strong{color:#f8fafc!important}
html[data-theme="dark"] body.hares-alugueis-page .compare-form{
  background:#0c1d33!important;
  border-color:rgba(125,211,252,.18)!important;
  color:#e5eef8!important;
}
html[data-theme="dark"] body.hares-alugueis-page .compare-form h3{color:#f8fafc!important}
html[data-theme="dark"] body.hares-alugueis-page .compare-form .field-help{color:#94a3b8!important}

/* Dark mode — cards do ranking PF x PJ x Holding. */
html[data-theme="dark"] body.hares-alugueis-page .scenario-card{
  background:#0f2742!important;
  border-color:rgba(148,163,184,.24)!important;
  color:#e5eef8!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.best{
  background:linear-gradient(145deg,#0d2d29,#103a31)!important;
  border-color:#22c55e!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.second-best{
  background:linear-gradient(145deg,#102640,#123354)!important;
  border-color:#60a5fa!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.third-best{
  background:#162338!important;
  border-color:#64748b!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.high-burden{
  background:linear-gradient(145deg,#351b26,#3b1f29)!important;
  border-color:#fb7185!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card h4,
html[data-theme="dark"] body.hares-alugueis-page .scenario-card .net{color:#f8fafc!important}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card small{color:#cbd5e1!important}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card .effective-rate{color:#7dd3fc!important}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.best .rank-badge{background:#14532d!important;color:#bbf7d0!important}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.second-best .rank-badge{background:#1e3a8a!important;color:#dbeafe!important}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.third-best .rank-badge{background:#334155!important;color:#e2e8f0!important}
html[data-theme="dark"] body.hares-alugueis-page .burden-badge{background:#4c1d2b!important;color:#fecdd3!important}

/* Dark mode — foco detalhado e tabela comparativa. */
html[data-theme="dark"] body.hares-alugueis-page .comparison-focus{
  background:#102640!important;
  border-color:#315675!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-focus strong{color:#bae6fd!important}
html[data-theme="dark"] body.hares-alugueis-page .comparison-focus span{color:#cbd5e1!important}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table-wrap{
  border-color:#31506e!important;
  background:#0b1b30!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table{
  color:#e5eef8!important;
  background:#0b1b30!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table thead th{
  background:#102640!important;
  color:#f8fafc!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table td{
  background:#0c1d33!important;
  color:#e5eef8!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table .emphasis td{
  background:#102640!important;
  color:#f8fafc!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table .selected-col{
  background:#12304f!important;
  color:#e0f2fe!important;
  border-left-color:#38bdf8!important;
  border-right-color:#38bdf8!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table thead .selected-col{
  background:#16456e!important;
  color:#fff!important;
}

/* Dark mode — notas e FAQ. */
html[data-theme="dark"] body.hares-alugueis-page .compare-note{
  background:#332a16!important;
  color:#fde68a!important;
  border-left-color:#f59e0b!important;
}
html[data-theme="dark"] body.hares-alugueis-page .sources-box{color:#b6c7d9!important;border-top-color:#31506e!important}
html[data-theme="dark"] body.hares-alugueis-page .faq-header{
  background:linear-gradient(135deg,#102640,#0c1d33)!important;
}
html[data-theme="dark"] body.hares-alugueis-page .faq-body .details-body{color:#cbd5e1!important}
html[data-theme="dark"] body.hares-alugueis-page .faq-body strong{color:#f8fafc!important}

@media(prefers-reduced-motion:reduce){
  .hares-alugueis-page .scenario-card{transition:none!important}
}
