/* Simulador v85 — mesma voz tipográfica do restante do site */
.sim-page .sim-eyebrow {
  margin-bottom: 14px;
  font-size: 9px;
  line-height: 1.35;
}

.sim-hero {
  display: grid;
  min-height: min(58svh, 560px);
  padding: calc(var(--header, 54px) + 54px) 0 68px;
  align-items: center;
}

.sim-hero h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: var(--v85-page-title);
  font-weight: 560;
  letter-spacing: -.052em;
  line-height: 1.01;
  text-wrap: balance;
}

.sim-hero p:last-child {
  max-width: 680px;
  margin-top: 24px;
  font-size: var(--v85-body-large);
  line-height: 1.58;
}

.sim-section {
  display: grid;
  padding: clamp(68px, 8vh, 86px) 0;
  align-items: center;
}

.sim-shell {
  grid-template-columns: minmax(300px, .68fr) minmax(0, 1.32fr);
  max-width: 1240px;
}

.sim-controls {
  padding: clamp(32px, 3.15vw, 44px);
}

.sim-controls-head h2 {
  max-width: 340px;
  margin-bottom: 30px;
  font-size: clamp(26px, 2.15vw, 31px);
  font-weight: 520;
  letter-spacing: -.038em;
  line-height: 1.08;
}

.sim-fieldset { margin-bottom: 24px; }
.sim-fieldset legend { font-size: 9px; }
.sim-choice-row button { min-height: 36px; font-size: 10px; }
.sim-fieldset small { font-size: 9px; }

.sim-capital {
  margin-bottom: 24px;
  padding: 16px 18px;
}

.sim-capital span,
.sim-capital small { font-size: 9px; }
.sim-capital strong { font-size: 19px; }

.sim-range-block { margin: 24px 0; }
.sim-range-block label { font-size: 11px; }
.sim-range-block output { font-size: 16px; }
.sim-range-block input { margin: 18px 0 8px; }
.sim-range-block p { font-size: 8.5px; }
.sim-disclosure { font-size: 10px; }
.sim-premises-quick { padding-top: 22px; }

.sim-results {
  padding: clamp(32px, 3.4vw, 48px);
}

.sim-results-head { gap: 30px; }
.sim-results-head h2 {
  max-width: 470px;
  font-size: clamp(29px, 2.55vw, 36px);
  font-weight: 520;
  letter-spacing: -.042em;
  line-height: 1.07;
  text-wrap: balance;
}

.sim-results-head > p {
  max-width: 165px;
  font-size: 9px;
  line-height: 1.45;
}

.sim-chart {
  height: 265px;
  margin-top: 32px;
  padding-top: 30px;
}

.sim-bar-group { grid-template-rows: 1fr 28px; }
.sim-bar-track > strong { font-size: clamp(12px, 1.05vw, 15px); }
.sim-bar-track > span { width: min(72px, 54%); }
.sim-bar-group > small { padding-top: 10px; font-size: 9px; }

.sim-income { margin-top: 28px; }
.sim-income > div { padding: 14px 13px; }
.sim-income span,
.sim-income small { font-size: 8px; }
.sim-income strong { font-size: 12px; }
.sim-composition-button { margin-top: 18px; }
.sim-composition { margin-top: 16px; padding: 17px; }
.sim-composition[hidden],
.sim-premises-quick[hidden] { display: none !important; }

.sim-disclaimer {
  max-width: 1080px;
  margin-top: 15px;
  font-size: 8.5px;
}

.sim-method {
  display: grid;
  padding: var(--v85-section-space) 0;
  align-items: center;
}

.sim-method-head {
  gap: 54px;
  margin-bottom: 42px;
}

.sim-method-head .sim-eyebrow { margin-bottom: -24px; }
.sim-method-head h2,
.sim-closing h2 {
  font-size: var(--v85-section-title);
  font-weight: 540;
  letter-spacing: -.046em;
  line-height: 1.04;
  text-wrap: balance;
}

.sim-method-head > p:last-child,
.sim-closing p {
  font-size: var(--v85-body);
  line-height: 1.62;
}

.sim-details summary {
  padding: 21px 0;
  font-size: 16px;
  line-height: 1.35;
}

.sim-details details > div { font-size: 13px; }

.sim-closing {
  padding: clamp(82px, 9vh, 112px) 0;
}

@media (max-width: 1000px) {
  .sim-section,
  .sim-method { min-height: 0; }
  .sim-shell { grid-template-columns: 1fr; }
  .sim-method-head .sim-eyebrow { margin-bottom: 0; }
}

@media (max-width: 680px) {
  .sim-hero {
    min-height: 0;
    padding: calc(var(--header, 54px) + 52px) 0 68px;
  }
  .sim-hero h1 { font-size: 42px; line-height: 1.02; }
  .sim-hero p:last-child { margin-top: 20px; font-size: 16px; }
  .sim-section { padding: 58px 0; }
  .sim-controls,
  .sim-results { padding: 29px 22px; }
  .sim-controls-head h2 { font-size: 28px; }
  .sim-results-head h2 { font-size: 30px; }
  .sim-chart { height: 265px; margin-top: 28px; }
  .sim-method { padding: 76px 0; }
  .sim-method-head h2,
  .sim-closing h2 { font-size: 38px; }
}
