body.page-cadastro {
  background: #f8fafd;
  min-height: 100vh;
}

.page-wrapper {
  display: flex;
  padding-top: 76px;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
}

.sidebar-info {
  width: 280px;
  flex-shrink: 0;
  padding: 2rem 1.5rem;
}

.sidebar-sticky {
  position: sticky;
  top: 92px;
}

.sidebar-plan-card {
  background: linear-gradient(135deg, rgb(92, 103, 247) 0%, rgb(158, 92, 247) 100%);
  border-radius: 16px;
  padding: 1.75rem;
  color: #fff;
  margin-bottom: 2rem;
}

.plan-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.sidebar-plan-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.plan-desc {
  font-size: 0.82rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 1.25rem;
}

.plan-currency {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.plan-amount {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.plan-cents {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.plan-cents small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
}

.plan-perks {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.perk {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.perk i {
  font-size: 0.85rem;
  opacity: 0.7;
}

.sidebar-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8a9bb5;
  transition: all 0.2s;
}

.step.active {
  color: rgb(92, 103, 247);
  background: rgba(92, 103, 247, 0.06);
  font-weight: 600;
}

.step.done {
  color: #21ce9e;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ecf3fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step.active .step-num {
  background: rgb(92, 103, 247);
  color: #fff;
}

.step.done .step-num {
  background: #21ce9e;
  color: #fff;
}

.form-area {
  flex: 1;
  padding: 2.5rem 3rem;
  max-width: 780px;
  margin: 0 auto;
}

.step-header {
  margin-bottom: 2rem;
}

.step-badge {
  display: inline-block;
  background: rgba(92, 103, 247, 0.08);
  color: rgb(92, 103, 247);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.step-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #212b37;
  margin-bottom: 4px;
}

.step-header p {
  font-size: 0.92rem;
  color: #6e829f;
  margin-bottom: 0;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #3d4f65;
  margin-bottom: 0.35rem;
}

.req {
  color: #f44336;
}

.form-control,
.form-select {
  background: #fff;
  border: 1.5px solid #dfe7f0;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: #212b37;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control::placeholder {
  color: #b0bec5;
}

.form-control:focus,
.form-select:focus {
  border-color: rgb(92, 103, 247);
  box-shadow: 0 0 0 3px rgba(92, 103, 247, 0.1);
  outline: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236e829f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.form-hint {
  font-size: 0.78rem;
  color: #8a9bb5;
  margin-top: 0.3rem;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #f44336;
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ecf3fb;
}

.btn-next,
.btn-submit {
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-next i,
.btn-submit i {
  transition: transform 0.2s;
}

.btn-next:hover i {
  transform: translateX(3px);
}

.btn-prev {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 10px;
  border: 1.5px solid #dfe7f0;
  color: #6e829f;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-prev:hover {
  border-color: #c0cbda;
  color: #3d4f65;
  background: #f8fafd;
}

.btn-prev i {
  transition: transform 0.2s;
}

.btn-prev:hover i {
  transform: translateX(-3px);
}

.review-card {
  background: #f8fafd;
  border: 1px solid #ecf3fb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.review-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ecf3fb;
}

.review-row:last-child {
  border-bottom: none;
}

.review-label {
  font-size: 0.85rem;
  color: #8a9bb5;
  font-weight: 500;
}

.review-value {
  font-size: 0.85rem;
  color: #212b37;
  font-weight: 600;
}

.terms-box {
  background: #f8fafd;
  border: 1px solid #ecf3fb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.form-check-input {
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.2em;
  border: 1.5px solid #c0cbda;
}

.form-check-input:checked {
  background-color: rgb(92, 103, 247);
  border-color: rgb(92, 103, 247);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(92, 103, 247, 0.15);
  border-color: rgb(92, 103, 247);
}

.form-check-label {
  font-size: 0.88rem;
  color: #6e829f;
}

.form-check-label a {
  color: rgb(92, 103, 247);
  text-decoration: underline;
}

.result-message {
  text-align: center;
  padding: 4rem 2rem;
}

.result-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.result-icon.success { color: #21ce9e; }
.result-icon.error { color: #f44336; }

.result-message h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212b37;
  margin-bottom: 0.75rem;
}

.result-message p {
  font-size: 0.95rem;
  color: #6e829f;
  max-width: 440px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.btn-back {
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.trial-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, rgba(33, 206, 158, 0.06) 0%, rgba(33, 206, 158, 0.12) 100%);
  border: 1.5px solid rgba(33, 206, 158, 0.25);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.trial-icon {
  width: 42px;
  height: 42px;
  background: rgba(33, 206, 158, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #18a87b;
  flex-shrink: 0;
}

.trial-text strong {
  display: block;
  font-size: 0.95rem;
  color: #18a87b;
  margin-bottom: 4px;
}

.trial-text span {
  font-size: 0.85rem;
  color: #4d7a68;
  line-height: 1.5;
}

.payment-summary {
  background: #f8fafd;
  border: 1px solid #ecf3fb;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.payment-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ecf3fb;
  font-size: 0.9rem;
  color: #3d4f65;
}

.payment-summary-row:last-child {
  border-bottom: none;
}

.payment-summary-row.total {
  font-weight: 700;
  font-size: 1rem;
  color: #212b37;
  padding-top: 12px;
}

.trial-tag {
  background: rgba(33, 206, 158, 0.12);
  color: #18a87b;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

.trial-tag-sm {
  background: rgba(33, 206, 158, 0.12);
  color: #18a87b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 50px;
}

.payment-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #8a9bb5;
  padding: 1rem 0;
}

.payment-secure i {
  font-size: 1rem;
  color: #21ce9e;
}

.success-details {
  margin-bottom: 1.5rem;
}

.success-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafd;
  border: 1px solid #ecf3fb;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: #3d4f65;
}

.success-info i {
  color: rgb(92, 103, 247);
}

@media (max-width: 991px) {
  .sidebar-info {
    display: none;
  }

  .form-area {
    padding: 1.5rem;
    max-width: 100%;
  }

  .step-header h1 {
    font-size: 1.35rem;
  }
}

@media (max-width: 576px) {
  .step-nav {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .btn-next,
  .btn-submit,
  .btn-prev {
    width: 100%;
    justify-content: center;
  }
}
