


/* ── HERO ── */
.sim-hero {
  background: #1E1E1E;
  padding: var(--space-12) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sim-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200, 16, 46, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.sim-hero-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: var(--space-3);
}

.sim-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.sim-hero h1 span {
  color: var(--red);
}

.sim-hero p {
  font-size: 0.9rem;
  color: #888;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── MAIN CARD ── */
.sim-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-8) var(--space-16);
}

.sim-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* margin-top: calc(-1 * var(--space-10)); */
  position: relative;
  z-index: 1;
}

/* steps header */
.sim-steps {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
}

.sim-step {
  flex: 1;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.sim-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: #f0f0f0;
}

.sim-step.active {
  background: #fafafa;
}

.sim-step.done .step-num {
  background: var(--red);
  color: #fff;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #aaa;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}

.sim-step.active .step-num {
  background: var(--red);
  color: #fff;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #aaa;
  line-height: 1;
}

.step-label span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  margin-top: 2px;
  color: #ccc;
}

.sim-step.active .step-label {
  color: #1E1E1E;
}

.sim-step.done .step-label {
  color: #888;
}

/* step panels */
.sim-panels {
  padding: var(--space-8);
}

.sim-panel {
  display: none;
}

.sim-panel.active {
  display: block;
}

.sim-panel h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E1E1E;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.sim-panel .panel-sub {
  font-size: 0.82rem;
  color: #aaa;
  margin-bottom: var(--space-6);
}

/* fields */
.sim-field {
  margin-bottom: var(--space-5);
}

.sim-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.sim-field input,
.sim-field select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1E1E1E;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.sim-field input:focus,
.sim-field select:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.sim-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: var(--space-10);
  cursor: pointer;
  background-color: #fafafa;
}

.sim-field select:focus {
  background-color: #fff;
}

.sim-field input::placeholder {
  color: #ccc;
}

.sim-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* range slider */
.sim-slider-wrap {
  margin-top: var(--space-2);
}

.sim-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--red) 0%, var(--red) 30%, #e0e0e0 30%);
  outline: none;
  cursor: pointer;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(200, 16, 46, 0.4);
  border: 2px solid #fff;
}

.sim-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(200, 16, 46, 0.4);
  border: 2px solid #fff;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #bbb;
  margin-top: var(--space-2);
}

.sim-nav {
  display: flex;
  flex-direction: row;
  gap: var(--space-3);
  padding: 0 20px 20px 20px;
}

/* prazo pills */
.prazo-pills {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.prazo-pill {
  flex: 1;
  min-width: 60px;
  padding: var(--space-2) var(--space-3);
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  background: #fafafa;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.prazo-pill:hover {
  border-color: var(--red);
  color: var(--red);
}

.prazo-pill.active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(200, 16, 46, 0.06);
}

/* result box */
.result-box {
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.result-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.result-parcela {
  line-height: 1;
}

.result-parcela-label {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.result-parcela-value {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1E1E1E;
}

.result-parcela-detail {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: var(--space-1);
}

.result-badge {
  background: rgba(200, 16, 46, 0.09);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.result-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid #ebebeb;
}

.breakdown-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.breakdown-label {
  font-size: 0.68rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breakdown-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E1E1E;
}

.result-tax {
  font-size: 0.7rem;
  color: #bbb;
  text-align: center;
  margin-top: var(--space-3);
}

/* nav buttons */
.btn-back {
  flex: 1;
  padding: var(--space-3);
  background: transparent;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-back:hover {
  border-color: #999;
  color: #555;
}

.btn-next {
  flex: 2;
  position: relative;
  overflow: hidden;
  padding: var(--space-3);
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(200, 16, 46, 0.28);
}

.btn-next:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(200, 16, 46, 0.35);
}

/* whatsapp CTA */
.wpp-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: #f8f8f8;
  border-radius: 12px;
  text-align: center;
  margin-bottom: var(--space-6);
}

.wpp-cta p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
}

.btn-wpp-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 3px 14px rgba(200, 16, 46, 0.3);
  text-decoration: none;
}

.btn-wpp-full:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-estoque {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: transparent;
  color: #888;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-estoque:hover {
  border-color: #999;
  color: #555;
}

/* trust strip */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  padding: var(--space-8);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.78rem;
  color: #888;
}

.trust-item svg {
  color: var(--red);
  flex-shrink: 0;
}

/* progress bar */
.progress-bar {
  height: 3px;
  background: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--red);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media(max-width: 560px) {
  .sim-wrap {
    padding: var(--space-5) var(--space-4) var(--space-12);
  }

  .sim-panels {
    padding: var(--space-6) var(--space-5);
  }

  .sim- .sim-hero h1 {
    font-size: 1.8rem;
  }

  .result-parcela-value {
    font-size: 2rem;
  }

  .result-breakdown {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }

  .sim-field-row {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
       FOOTER
    ══════════════════════════════════════ */