/* Simulador de impostos PJ */

body.home-v2#simulador-de-impostos-pj {
  background: #f4f7fb;
  color: #0b1d35;
  font-family: Urbanist, Avenir, "Segoe UI", sans-serif;
}

.sip {
  font-family: Urbanist, Avenir, "Segoe UI", sans-serif;
  color: #0b1d35;
  padding-bottom: 8px;
}

.sip *,
.sip *::before,
.sip *::after {
  box-sizing: border-box;
}

.sip-wrap {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
}

.sip-wrap--narrow {
  width: min(100% - 32px, 720px);
}

.sip-hero {
  margin: 0;
  padding: 56px 0 40px;
  text-align: left;
  background: #fff;
  border-bottom: 1px solid #e6edf7;
}

.sip-badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #250a63;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(93, 72, 236, 0.06);
}

.sip-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0368ff;
}

.sip h1 {
  margin: 0 0 14px;
  max-width: 14em;
  font-family: inherit;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #0b1d35;
}

.sip-lead {
  margin: 0;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.55;
  color: #5c6b84;
}

.sip-cta {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sip-cta .hv2-btn {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
}

.sip-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: none;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sip-proof li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7f9fc;
  border: 1px solid #e6edf7;
  text-align: left;
}

.sip-proof__text {
  display: block;
  min-width: 0;
}

.sip-proof strong,
.sip-proof__text > span {
  display: block;
}

.sip-proof strong {
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #0b1d35;
}

.sip-proof span {
  margin-top: 2px;
  font-size: 13px;
  color: #5c6b84;
}

.sip-ico {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 12px;
  background: #eef4ff;
}

.sip-ico box-icon {
  width: 22px;
  height: 22px;
}

.sip-section {
  padding: 64px 0;
}

.sip-section--white {
  background: #fff;
  border-top: 1px solid #e6edf7;
  border-bottom: 1px solid #e6edf7;
}

.sip-head {
  max-width: 40rem;
  margin: 0 0 24px;
}

.sip-head h2,
.sip-fechar h2 {
  margin: 0;
  font-family: inherit;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #0b1d35;
}

.sip-head p:last-child {
  max-width: 46ch;
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: #5c6b84;
}

.sip-cards,
.sip-passos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.sip-cards {
  margin-top: 0;
}

.sip-cards article,
.sip-passos li {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e6edf7;
}

.sip-section--white .sip-cards article,
.sip-section--white .sip-passos li {
  background: #f7f9fc;
}

.sip-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-bottom: 12px;
}

.sip-card__top h3 {
  margin: 0;
}

.sip-cards h3,
.sip-passos h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0b1d35;
}

.sip-cards p,
.sip-passos p,
.sip-tool__head p,
.sip-fechar p,
.sip-faq p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #5c6b84;
}

.sip-tool {
  margin: 0;
  scroll-margin-top: 88px;
}

#como-funciona {
  scroll-margin-top: 88px;
}

.sip-passos .sip-passo-num {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #0368ff;
}

.sip-passos {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sip-faq {
  margin-top: 0;
  border-top: 1px solid #e6edf7;
}

.sip-faq details {
  border-bottom: 1px solid #e6edf7;
}

.sip-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0b1d35;
  cursor: pointer;
  list-style: none;
}

.sip-faq summary::-webkit-details-marker {
  display: none;
}

.sip-faq summary::after {
  content: "+";
  flex: none;
  color: #0368ff;
  font-weight: 600;
}

.sip-faq details[open] summary::after {
  content: "-";
}

.sip-faq p {
  padding-bottom: 16px;
}

.sip-fechar {
  width: auto;
  margin: 0;
  padding: 36px 28px;
  border-radius: 20px;
  text-align: left;
  background: #0c1428;
}

.sip-fechar h2,
.sip-fechar p {
  color: #fff;
}

.sip-fechar p {
  margin: 8px 0 18px;
  max-width: 36ch;
  color: #c5d0e4;
}

.sip-fechar .hv2-btn {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: #0b1d35;
  font-weight: 700;
}

.sip-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 0;
}

.sip-side {
  display: flex;
}

.sip-side .sip-resultado {
  width: 100%;
}

.sip-panel,
.sip-hibrido {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: 16px;
}

.sip-panel {
  padding: 22px 20px 18px;
  background: #f7f9fc;
}

.sip-panel h2,
.sip-resultado h2 {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: inherit;
}

.sip-field {
  margin-top: 18px;
}

.sip-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0b1d35;
}

.sip-money {
  position: relative;
}

.sip-money span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #7b879c;
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}

.sip input[type="text"] {
  width: 100%;
  height: 48px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: #fff;
  color: #0b1d35;
  padding: 0 14px 0 42px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.sip select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: #fff;
  color: #0b1d35;
  padding: 0 14px;
  font-family: inherit;
  font-size: 16px;
}

.sip .cs__toggle {
  min-height: 48px;
  border-radius: 12px;
  border-color: #e1e8f2;
  font-size: 16px;
  color: #0b1d35;
  background: #fff;
}

.sip input[type="text"]:focus {
  border-color: #0368ff;
  box-shadow: 0 0 0 3px rgba(3, 104, 255, 0.14);
}

.sip a:focus-visible,
.sip input:focus-visible,
.sip select:focus-visible,
.sip .cs__toggle:focus-visible {
  outline: 2px solid #0368ff;
  outline-offset: 2px;
}

.sip-field.is-invalid input {
  border-color: #ff005c;
  box-shadow: 0 0 0 3px rgba(255, 0, 92, 0.12);
}

.sip-note,
.sip-hint,
.sip-erro,
.sip-legal,
.sip-hibrido__nota,
.sip-sobra-nota,
.sip-faixa {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.sip-note,
.sip-hint,
.sip-legal,
.sip-hibrido__nota {
  color: #5c6b84;
}

.sip-erro {
  color: #b00040;
  font-weight: 600;
}

.sip-erro[hidden],
.sip-aviso[hidden] {
  display: none !important;
}

.sip-resultado {
  background: #fff;
  color: #0b1d35;
  border: 1px solid #e6edf7;
  border-radius: 16px;
  padding: 18px;
}

.sip-resultado__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sip-resultado__head h2 {
  margin: 0;
}

.sip-resultado__valor {
  margin-top: 14px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: #f4f8ff;
  border: 1px solid #e3edff;
}

#sip-resultado {
  scroll-margin-top: 88px;
}

.sip-anexo {
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0066ff;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.sip-k,
.sip-metrics dt,
.sip-ratio__top {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #5c6b84;
}

.sip-das {
  margin: 0;
  font-size: clamp(34px, 7vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #0368ff;
}

.sip-das-nota {
  margin: 8px 0 0;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.4;
  color: #3d4d68;
}

.sip-das-nota[hidden] {
  display: none !important;
}

.sip-resultado .sip-faixa,
.sip-resultado .sip-sobra-nota {
  color: #5c6b84;
}

.sip-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 0;
}

.sip-metric {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px solid #e6edf7;
}

.sip-metric > div {
  min-width: 0;
}

.sip-ico--sm {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
}

.sip-ico--sm box-icon {
  width: 18px;
  height: 18px;
}

.sip-metrics dd {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  color: #0b1d35;
}

.sip-aviso {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4d6;
  color: #6a4a08;
  font-size: 14px;
  line-height: 1.45;
}

.sip-ratio {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px solid #e6edf7;
}

.sip-ratio__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.sip-ratio__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b1d35;
  font-weight: 700;
}

.sip-ratio__label box-icon {
  width: 18px;
  height: 18px;
}

.sip-bar {
  position: relative;
  height: 8px;
  border-radius: 99px;
  background: #e1e8f2;
}

.sip-bar__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0368ff;
}

.sip-bar__mark {
  position: absolute;
  left: 28%;
  top: -3px;
  width: 2px;
  height: 14px;
  border-radius: 2px;
  background: #0b1d35;
}

.sip-hibrido {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-top: 12px;
  padding: 16px 18px;
  border-left: 3px solid #e4b84a;
}

.sip-hibrido__kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #8a5a00;
}

.sip-hibrido__valor {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #0b1d35;
  white-space: nowrap;
}

.sip-legal {
  margin: 18px 0 4px;
  font-size: 12px;
}

.sip-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sip-noscript {
  width: min(100% - 32px, 960px);
  margin: 12px auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4d6;
  color: #6a4a08;
}

.sip .hv2-footer {
  margin: 28px 16px 16px;
  width: auto !important;
}

.sip-resultado.is-limite .sip-das,
.sip-resultado.is-invalido .sip-das {
  font-size: clamp(22px, 5vw, 28px);
  color: #0b1d35;
}

@media (min-width: 640px) {
  .sip-proof {
    grid-template-columns: repeat(2, minmax(0, 280px));
  }
}

@media (max-width: 640px) {
  .sip-hibrido {
    flex-direction: column;
    gap: 8px;
  }

  .sip-metrics {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 480px) and (max-width: 640px) {
  .sip-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 880px) {
  .sip-hero {
    padding: 72px 0 56px;
  }

  .sip-cards,
  .sip-passos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sip-faq-layout {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .sip-faq-layout .sip-head {
    margin: 0;
  }

  .sip-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 20px;
  }

  .sip-side {
    position: sticky;
    top: 92px;
    align-self: start;
  }

  .sip-panel,
  .sip-resultado {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sip-bar__fill {
    transition: none;
  }
}
