/* Hares — Calculadora IBS/CBS sobre Aluguéis — Premium Hotfix v1.1
   Exclusivamente visual. Não altera motor, fórmulas, validações, ranking ou impressões. */

/* ================================================================
   DARK MODE — contraste e legibilidade
   ================================================================ */
html[data-theme="dark"] body.hares-alugueis-page{
  --hares-dark-text:#f8fafc;
  --hares-dark-secondary:#d7e3f0;
  --hares-dark-muted:#aebfd2;
  --hares-dark-soft:#8fa3ba;
  --hares-dark-border:rgba(125,211,252,.18);
}
html[data-theme="dark"] body.hares-alugueis-page main,
html[data-theme="dark"] body.hares-alugueis-page main p,
html[data-theme="dark"] body.hares-alugueis-page main li,
html[data-theme="dark"] body.hares-alugueis-page main span{
  color:var(--hares-dark-secondary);
}
html[data-theme="dark"] body.hares-alugueis-page main h1,
html[data-theme="dark"] body.hares-alugueis-page main h2,
html[data-theme="dark"] body.hares-alugueis-page main h3,
html[data-theme="dark"] body.hares-alugueis-page main h4,
html[data-theme="dark"] body.hares-alugueis-page main label,
html[data-theme="dark"] body.hares-alugueis-page .section-title h3,
html[data-theme="dark"] body.hares-alugueis-page .result-title,
html[data-theme="dark"] body.hares-alugueis-page .winner-box strong,
html[data-theme="dark"] body.hares-alugueis-page .comparison-focus strong,
html[data-theme="dark"] body.hares-alugueis-page .scenario-card h4,
html[data-theme="dark"] body.hares-alugueis-page .scenario-card .net,
html[data-theme="dark"] body.hares-alugueis-page .metric strong,
html[data-theme="dark"] body.hares-alugueis-page .faq-body strong{
  color:var(--hares-dark-text)!important;
}
html[data-theme="dark"] body.hares-alugueis-page .hint,
html[data-theme="dark"] body.hares-alugueis-page .field-help,
html[data-theme="dark"] body.hares-alugueis-page .result-summary,
html[data-theme="dark"] body.hares-alugueis-page .scenario-note,
html[data-theme="dark"] body.hares-alugueis-page .public-guidance,
html[data-theme="dark"] body.hares-alugueis-page .public-footer-note,
html[data-theme="dark"] body.hares-alugueis-page .compare-note,
html[data-theme="dark"] body.hares-alugueis-page .sources-box,
html[data-theme="dark"] body.hares-alugueis-page .faq-body .details-body,
html[data-theme="dark"] body.hares-alugueis-page .metric span,
html[data-theme="dark"] body.hares-alugueis-page .scenario-card small,
html[data-theme="dark"] body.hares-alugueis-page .legal,
html[data-theme="dark"] body.hares-alugueis-page .test-expected{
  color:var(--hares-dark-muted)!important;
}
html[data-theme="dark"] body.hares-alugueis-page .legal,
html[data-theme="dark"] body.hares-alugueis-page .test-expected,
html[data-theme="dark"] body.hares-alugueis-page .public-guidance{
  background:#0f2742!important;
  border-color:var(--hares-dark-border)!important;
}
html[data-theme="dark"] body.hares-alugueis-page .metric,
html[data-theme="dark"] body.hares-alugueis-page .compare-form,
html[data-theme="dark"] body.hares-alugueis-page .scenario-card,
html[data-theme="dark"] body.hares-alugueis-page .comparison-table-wrap,
html[data-theme="dark"] body.hares-alugueis-page .faq-body details{
  background:#0b1f35!important;
  border-color:var(--hares-dark-border)!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.best{
  background:#0b3328!important;
  border-color:#2dd4a0!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.second-best{
  background:#102b4d!important;
  border-color:#60a5fa!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.third-best{
  background:#18263a!important;
  border-color:#52677f!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card.high-burden{
  background:#40202b!important;
  border-color:#fb7185!important;
}
html[data-theme="dark"] body.hares-alugueis-page .scenario-card .effective-rate,
html[data-theme="dark"] body.hares-alugueis-page .comparison-focus span{
  color:#bae6fd!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table thead th{
  background:#102b47!important;
  color:#eaf4ff!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table td{
  color:#dbe7f4!important;
  background:#0b1f35!important;
}
html[data-theme="dark"] body.hares-alugueis-page .comparison-table .selected-col{
  background:#13385b!important;
  border-left-color:#60a5fa!important;
  border-right-color:#60a5fa!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 .compare-note{
  background:#3a2a0d!important;
  color:#fde7b2!important;
  border-left-color:#f59e0b!important;
}
html[data-theme="dark"] body.hares-alugueis-page .legal-param-status{
  background:#102640!important;
  color:#cbd5e1!important;
  border-left-color:#38bdf8!important;
}
html[data-theme="dark"] body.hares-alugueis-page .legal-param-status.success{
  background:#0b3328!important;
  color:#bbf7d0!important;
  border-left-color:#22c55e!important;
}
html[data-theme="dark"] body.hares-alugueis-page .legal-param-status.warning,
html[data-theme="dark"] body.hares-alugueis-page .legal-param-status.loading{
  background:#3a2a0d!important;
  color:#fde7b2!important;
  border-left-color:#f59e0b!important;
}
html[data-theme="dark"] body.hares-alugueis-page input[disabled],
html[data-theme="dark"] body.hares-alugueis-page select[disabled],
html[data-theme="dark"] body.hares-alugueis-page input[readonly]{
  background:#102640!important;
  color:#b8c8da!important;
  border-color:rgba(148,163,184,.22)!important;
}
html[data-theme="dark"] body.hares-alugueis-page .faq-header h2,
html[data-theme="dark"] body.hares-alugueis-page .faq-header p,
html[data-theme="dark"] body.hares-alugueis-page .compare-intro h2,
html[data-theme="dark"] body.hares-alugueis-page .compare-intro p{
  color:#f8fafc!important;
}
html[data-theme="dark"] body.hares-alugueis-page .public-trust-item{
  background:#0f2742!important;
  border-color:var(--hares-dark-border)!important;
  color:#d7e3f0!important;
}
html[data-theme="dark"] body.hares-alugueis-page .public-trust-item strong{color:#fff!important}

/* ================================================================
   LIGHT MODE — camada Premium Hares
   ================================================================ */
html:not([data-theme="dark"]) body.hares-alugueis-page{
  background:
    radial-gradient(circle at 8% 12%,rgba(14,165,233,.055),transparent 30rem),
    radial-gradient(circle at 92% 76%,rgba(124,58,237,.045),transparent 28rem),
    linear-gradient(180deg,#fbfdff 0%,#f7fbff 48%,#ffffff 100%)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page main.container{
  position:relative;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .public-trust-strip{
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(247,251,255,.98))!important;
  border:1px solid rgba(14,165,233,.16)!important;
  box-shadow:0 18px 44px rgba(15,29,82,.075)!important;
  border-radius:16px!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .public-trust-item{
  background:linear-gradient(145deg,#fff,#fbfdff)!important;
  border-color:rgba(14,165,233,.13)!important;
  box-shadow:0 8px 22px rgba(15,29,82,.045)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .card,
html:not([data-theme="dark"]) body.hares-alugueis-page .compare-section,
html:not([data-theme="dark"]) body.hares-alugueis-page .faq-section{
  border-color:rgba(18,115,222,.13)!important;
  box-shadow:0 22px 58px rgba(15,29,82,.09)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .card{
  background:rgba(255,255,255,.98)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .card-header{
  background:
    radial-gradient(circle at 92% 10%,rgba(56,189,248,.16),transparent 28%),
    linear-gradient(135deg,#10395b,#155a82 70%,#1776a4)!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .section{
  background:
    radial-gradient(circle at 96% 4%,rgba(14,165,233,.035),transparent 24%),
    linear-gradient(145deg,#fff,#fbfdff)!important;
  border-color:rgba(148,163,184,.24)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 8px 24px rgba(15,29,82,.035)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page input,
html:not([data-theme="dark"]) body.hares-alugueis-page select{
  background:#fff!important;
  border-color:#cbd9e8!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.025)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page input:focus,
html:not([data-theme="dark"]) body.hares-alugueis-page select:focus{
  border-color:#0ea5e9!important;
  box-shadow:0 0 0 3px rgba(14,165,233,.12),0 8px 20px rgba(14,165,233,.06)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .btn-primary{
  background:linear-gradient(135deg,#1475df 0%,#0ea5e9 64%,#7c3aed 100%)!important;
  box-shadow:0 12px 28px rgba(18,115,222,.20)!important;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .btn-primary:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 16px 34px rgba(18,115,222,.26)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .winner-box{
  background:
    radial-gradient(circle at 90% 12%,rgba(56,189,248,.16),transparent 28%),
    linear-gradient(135deg,#10395b,#155a82)!important;
  box-shadow:0 14px 30px rgba(15,47,74,.13)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .scenario-card{
  box-shadow:0 8px 24px rgba(15,29,82,.045)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .scenario-card:hover{
  transform:translateY(-3px)!important;
  box-shadow:0 14px 32px rgba(15,29,82,.08)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .scenario-card.best{
  background:linear-gradient(145deg,#f0fdf4,#f8fff9)!important;
  box-shadow:0 12px 28px rgba(22,163,74,.10)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .scenario-card.second-best{
  background:linear-gradient(145deg,#eff6ff,#f8fbff)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .scenario-card.high-burden{
  background:linear-gradient(145deg,#fff1f2,#fff8f8)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .comparison-focus{
  background:linear-gradient(145deg,#eff6ff,#f7fbff)!important;
  border-color:rgba(59,130,246,.24)!important;
  box-shadow:0 8px 22px rgba(59,130,246,.055)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .comparison-table-wrap{
  box-shadow:0 10px 28px rgba(15,29,82,.045)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .compare-note{
  background:linear-gradient(145deg,#fffbeb,#fffdf5)!important;
  box-shadow:0 8px 20px rgba(245,158,11,.05)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .faq-header{
  background:
    radial-gradient(circle at 92% 12%,rgba(56,189,248,.14),transparent 26%),
    linear-gradient(135deg,#10395b,#155a82 72%,#1776a4)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .faq-header h2,
html:not([data-theme="dark"]) body.hares-alugueis-page .faq-header p{
  color:#fff!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .faq-body details{
  border-color:rgba(18,115,222,.13)!important;
  background:#fff!important;
  box-shadow:0 8px 20px rgba(15,29,82,.035)!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .faq-body details:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(14,165,233,.28)!important;
  box-shadow:0 12px 28px rgba(15,29,82,.065)!important;
}
html:not([data-theme="dark"]) body.hares-alugueis-page .public-cta{
  box-shadow:0 26px 64px rgba(15,29,82,.20)!important;
  border:1px solid rgba(255,255,255,.14)!important;
}

@media(prefers-reduced-motion:reduce){
  html:not([data-theme="dark"]) body.hares-alugueis-page .btn-primary,
  html:not([data-theme="dark"]) body.hares-alugueis-page .scenario-card,
  html:not([data-theme="dark"]) body.hares-alugueis-page .faq-body details{transition:none!important;transform:none!important}
}
