/* Simulador v86 — patrimônio e renda pertencem à mesma coluna */
.sim-results-head {
  display: block;
}

.sim-chart {
  width: calc(100% - clamp(34px, 5.8vw, 72px));
  height: auto;
  margin: 30px 0 0 auto;
  padding-top: 0;
  border-bottom: 0;
  gap: clamp(18px, 2.5vw, 36px);
}

.sim-bar-group {
  grid-template-rows: 224px 30px 64px;
}

.sim-bar-track {
  border-bottom: 1px solid #bfbfc2;
}

.sim-bar-track > strong {
  bottom: calc(var(--bar-height, 0%) + 11px);
  color: #303030;
  font-size: clamp(12px, 1.05vw, 15px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
}

.sim-bar-track > span {
  width: min(70px, 56%);
}

.sim-bar-group.property .sim-bar-track > span {
  background: linear-gradient(180deg, #8a63f2 0%, #735bb3 24%, #6b5b9e 58%, #554270 100%);
  box-shadow: 0 0 14px rgba(138, 99, 242, .32), 0 0 30px rgba(85, 66, 112, .22);
}

.sim-bar-group.property .sim-bar-track > strong {
  color: #735bb3;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 700;
  text-shadow: 0 0 16px rgba(138, 99, 242, .16);
}

.sim-bar-group > .sim-bar-name {
  display: flex;
  min-width: 0;
  padding-top: 10px;
  align-items: flex-start;
  justify-content: center;
  color: #6f6f73;
  font-size: 9px;
  line-height: 1.25;
}

.sim-bar-group.property > .sim-bar-name {
  color: #554270;
  font-weight: 600;
}

.sim-bar-income {
  padding: 13px 4px 0;
  border-top: 1px solid #dedede;
  text-align: center;
}

.sim-bar-income span {
  display: block;
  color: #858589;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.sim-bar-income strong {
  display: block;
  margin-top: 6px;
  color: #303030;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.015em;
  white-space: nowrap;
}

.sim-bar-group.property .sim-bar-income strong {
  color: #554270;
  font-size: 14px;
  font-weight: 700;
}

.sim-chart-caption {
  display: flex;
  width: calc(100% - clamp(34px, 5.8vw, 72px));
  margin: 14px 0 0 auto;
  justify-content: space-between;
  gap: 20px;
  color: #858589;
  font-size: 8px;
  line-height: 1.45;
}

.sim-chart-caption strong {
  color: inherit;
  font-weight: 500;
}

.sim-composition-button {
  margin-top: 16px;
}

@media (max-width: 680px) {
  .sim-chart,
  .sim-chart-caption {
    width: 100%;
  }

  .sim-chart {
    margin-top: 26px;
    gap: 10px;
  }

  .sim-bar-group {
    grid-template-rows: 210px 34px 72px;
  }

  .sim-bar-track > span {
    width: min(56px, 58%);
  }

  .sim-bar-track > strong {
    font-size: 10px;
  }

  .sim-bar-group.property .sim-bar-track > strong {
    font-size: 14px;
  }

  .sim-bar-income {
    padding-inline: 0;
  }

  .sim-bar-income span {
    min-height: 20px;
    font-size: 7px;
    letter-spacing: .02em;
  }

  .sim-bar-income strong,
  .sim-bar-group.property .sim-bar-income strong {
    font-size: 10px;
  }

  .sim-chart-caption {
    display: block;
  }

  .sim-chart-caption span {
    display: block;
  }
}
