.checkout-payment {
  --checkout-ink: var(--jo-ink);
  --checkout-soft-ink: #486581;
  --checkout-border: #dce6f4;
  --checkout-soft: #f8fbff;
  max-width: 1280px;
  margin: 0 auto 2rem;
}

.checkout-payment__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #d6e5fa;
  background: var(--jo-hero-bg);
  box-shadow: var(--jo-shadow-soft);
}

.checkout-payment__hero .title,
.checkout-payment__hero .subtitle {
  color: var(--checkout-ink);
}

.checkout-payment__hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.checkout-payment__hero-tags .tag {
  border: 1px solid #d6e4f5;
  color: #22577a;
  background: #f4f9ff;
  font-weight: 600;
}

.checkout-payment__hero-tags .checkout-payment__hero-tag--featured {
  border-color: #b8d5f6;
  background: linear-gradient(135deg, #e7f2ff 0%, #f3f8ff 100%);
  color: #0f5c96;
  box-shadow: 0 8px 14px -14px rgb(15 92 150 / 60%);
}

.checkout-payment__hero-tags .checkout-payment__hero-tag--featured i {
  color: #0b6fb8;
}

.checkout-payment__trust-strip {
  margin-top: 1rem;
  border: 1px solid #dce8f8;
  box-shadow: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.checkout-payment__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid #e1ebf8;
  border-radius: 12px;
  background: #fff;
  padding: 0.6rem 0.7rem;
}

.checkout-payment__trust-item .icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #e9f3ff;
  color: #0f6fb8;
  font-size: 0.8rem;
  display: inline-grid;
  place-content: center;
  flex-shrink: 0;
}

.checkout-payment__trust-item strong {
  display: block;
  color: var(--jo-ink-mid);
  font-size: 0.8rem;
  line-height: 1.2;
}

.checkout-payment__trust-item p {
  margin: 0.1rem 0 0;
  color: #627e99;
  font-size: 0.72rem;
  line-height: 1.25;
}

.checkout-payment__summary-card {
  border: 1px solid var(--checkout-border);
}

.checkout-payment__summary-card,
.pricing-page__controls,
.order-show__card {
  box-shadow: none;
}

.checkout-payment__summary-table {
  margin-bottom: 0;
}

.checkout-payment__summary-table th {
  color: #58718d;
  font-weight: 600;
  width: 44%;
}

.checkout-payment__summary-total {
  border: 1px solid #d9e8f9;
  background: #f4f9ff;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.checkout-payment__summary-total span {
  display: block;
  color: var(--checkout-soft-ink);
  font-size: 0.82rem;
}

.checkout-payment__summary-total strong {
  display: block;
  color: var(--checkout-ink);
  font-size: 1.55rem;
  line-height: 1.1;
}

.checkout-payment__summary-old-price,
.checkout-payment__charge-old-price,
.checkout-payment__mobile-old-price {
  line-height: 1.1;
}

.checkout-payment__summary-old-price span,
.checkout-payment__charge-old-price span,
.checkout-payment__mobile-old-price span,
.pricing-card__old-price,
.pricing-page__old-price,
.order-show__old-price {
  text-decoration: line-through;
}

.checkout-payment__summary-old-price {
  margin-top: 0.2rem;
  color: #6b8098;
  font-size: 0.74rem;
}

.checkout-payment__summary-old-price span {
  opacity: 0.82;
}

.checkout-payment__summary-discount {
  margin-top: 0.25rem;
  color: #2b6e4d;
  font-size: 0.8rem;
  font-weight: 700;
}

.checkout-payment__summary-discount strong {
  display: inline;
  color: #0f7a41;
  font-size: 0.86rem;
}

.checkout-payment__summary-voucher {
  margin-top: 0.18rem;
  color: #4a6f58;
  font-size: 0.76rem;
}

.checkout-payment__sticky {
  position: sticky;
  top: 1rem;
}

.checkout-payment__form-shell {
  border: 1px solid #d7e4f6;
  box-shadow: 0 14px 26px -24px rgb(16 42 67 / 46%);
  background: #fff;
}

.checkout-payment__section {
  border: 1px solid #e2eaf5;
  border-radius: 12px;
  background: var(--checkout-soft);
  padding: 1rem;
}

.checkout-payment__section + .checkout-payment__section {
  margin-top: 1rem;
}

.checkout-payment__section-header {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
}

.checkout-payment__step-badge {
  display: inline-grid;
  place-content: center;
  min-width: 4.9rem;
  min-height: 1.8rem;
  border-radius: 999px;
  background: #e5f0ff;
  color: #0f6fb8;
  font-size: 0.78rem;
  font-weight: 700;
}

.checkout-payment__section .title {
  color: var(--checkout-ink);
}

.checkout-payment__section--card.is-locked {
  border-color: #d9e4f5;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.checkout-payment__card-lock {
  border: 1px dashed #b6cbe8;
  border-radius: 10px;
  background: #eef5ff;
  color: #2f5879;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.35rem;
}

.checkout-payment__card-lock strong {
  display: block;
  font-size: 0.93rem;
}

.checkout-payment__card-lock p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.3;
}

.checkout-payment__doc-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkout-payment__doc-option {
  margin: 0;
  display: inline-flex;
}

.checkout-payment__doc-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-payment__doc-option span {
  border: 1px solid #cfdbec;
  border-radius: 999px;
  background: #fff;
  color: #4a5d73;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.55rem 1rem;
  transition: 180ms ease;
}

.checkout-payment__doc-option input:checked + span {
  border-color: var(--jo-blue);
  background: var(--jo-blue);
  color: #fff;
  box-shadow: 0 8px 16px -14px rgb(20 137 229 / 85%);
}

.checkout-payment__cnpj-status {
  min-height: 1.1rem;
  margin-top: 0.3rem;
}

.checkout-payment__cep-addons .control.is-expanded .checkout-payment__cep-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.checkout-payment__cep-button {
  border: 1px solid #0f7ac9;
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background: linear-gradient(135deg, var(--jo-blue) 0%, #0f70ba 100%);
  color: #fff;
  font-weight: 700;
  min-width: 6.9rem;
  box-shadow: 0 8px 14px -14px rgb(15 112 186 / 80%);
}

.checkout-payment__cep-button:hover {
  background: linear-gradient(135deg, #0f7fd5 0%, #0d5f9f 100%);
  color: #fff;
}

.checkout-payment__cep-button.is-busy,
.checkout-payment__cep-button:disabled {
  cursor: wait;
  opacity: 0.9;
}

.checkout-payment__cep-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.125em rgb(20 137 229 / 28%);
}

.checkout-payment__cep-button i {
  font-size: 0.82rem;
}

.checkout-payment .input.is-success {
  border-color: #26a269;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2326A269'%3E%3Cpath d='M20.285 6.709a1 1 0 0 1 .006 1.414l-10.25 10.333a1 1 0 0 1-1.422 0L3.71 13.547a1 1 0 1 1 1.414-1.414l4.206 4.206 9.544-9.626a1 1 0 0 1 1.411-.004Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: right 0.7rem center;
  padding-right: 2rem;
}

.checkout-payment .input.is-danger {
  border-color: #f14668;
}

.checkout-payment__submit-row {
  margin-top: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid #e3ecf7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.checkout-payment__charge-info span {
  display: block;
  color: #6e8094;
  font-size: 0.82rem;
}

.checkout-payment__charge-old-price {
  margin-top: 0.15rem;
  color: #70839a;
  font-size: 0.74rem;
}

.checkout-payment__charge-old-price span {
  opacity: 0.82;
}

.checkout-payment__charge-info strong {
  display: block;
  color: var(--checkout-ink);
  font-size: 1.5rem;
  line-height: 1.15;
}

.checkout-payment__fine-print {
  margin: 0.15rem 0 0;
  color: #6f8094;
  font-size: 0.76rem;
}

.checkout-payment .buttons .button.is-link {
  min-width: 12.8rem;
}

.checkout-payment__mobile-cta {
  display: none;
}

.checkout-payment__mobile-amount-label {
  display: block;
  font-size: 0.72rem;
  color: #5c728b;
  line-height: 1.1;
}

.checkout-payment__mobile-old-price {
  margin-top: 0.15rem;
  color: #6b8098;
  font-size: 0.68rem;
}

.checkout-payment__mobile-old-price span {
  opacity: 0.8;
}

.checkout-payment__mobile-amount-value {
  display: block;
  font-size: 1.08rem;
  color: var(--jo-ink);
  line-height: 1.2;
}

.checkout-payment__mobile-discount {
  margin-top: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid #b6e8ca;
  border-radius: 999px;
  background: #ecfff4;
  color: #2b6e4d;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.18rem 0.5rem;
}

.checkout-payment__mobile-discount strong {
  color: #0f7a41;
  font-size: 0.74rem;
}

.checkout-payment__mobile-safe {
  margin-top: 0.15rem;
  color: #496a87;
  font-size: 0.72rem;
}

.pricing-public {
  padding-top: 1.35rem;
}

.pricing-public__header {
  margin-bottom: 1rem;
}

.pricing-public__title {
  margin: 0;
  color: #0d3f66;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: clamp(1.62rem, 1.16rem + 1.35vw, 2.32rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.pricing-public__subtitle {
  margin: 0.65rem 0 0;
  max-width: 100%;
  color: #3f607f;
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
}

.pricing-public__voucher-box {
  border: 1px solid #dbe6f4;
  box-shadow: none;
  max-width: 26rem;
}

.pricing-public__voucher-box form {
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-public__voucher-box .input {
  width: 14rem;
}

.pricing-public__partner-note {
  margin-top: 1rem;
  border: 1px solid #c9dbf1;
  border-left: 4px solid var(--jo-blue);
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
  padding: 0.75rem 0.9rem;
}

.pricing-public__partner-note-title {
  margin: 0;
  color: #0d3f66;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.pricing-public__partner-note-text {
  margin-top: 0.35rem;
  color: #3b5c7b;
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pricing-public__partner-note strong {
  color: #0f5d98;
  font-weight: 700;
}

.pricing-public__trial-cta {
  margin-top: 0.95rem;
}

.pricing-page {
  max-width: 1280px;
  margin: 0 auto 2rem;
}

.pricing-page__hero {
  border: 1px solid #d6e5fa;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  background: var(--jo-hero-bg);
}

.pricing-page__hero .title,
.order-show__hero .title {
  color: var(--jo-ink);
}

.pricing-page__hero .subtitle {
  color: #57708b;
}

.pricing-page__hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.pricing-page__hero-tags .tag {
  border: 1px solid #d7e4f5;
  background: #f3f9ff;
  color: #215780;
  font-weight: 600;
}

.pricing-page__voucher-notice {
  border: 1px solid #b8e2c8;
}

.pricing-page__controls {
  border: 1px solid #dfe8f4;
}

.pricing-page__control-label {
  margin: 0 0 0.4rem;
  color: #5c7591;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-page__voucher-form {
  display: flex;
  gap: 0.55rem;
}

.pricing-page__voucher-form .input {
  max-width: 17rem;
}

.pricing-page__applied-voucher {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  border: 1px solid #c9dbf1;
  border-radius: 999px;
  background: #f5f9ff;
  color: #36587a;
  font-size: 0.8rem;
  padding: 0.42rem 0.8rem;
}

.pricing-page__applied-voucher-label {
  color: #4a6683;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-page__applied-voucher-code {
  border-radius: 999px;
  background: #e9f3ff;
  color: #0d5d9c;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.24rem 0.5rem;
}

.pricing-page__remove-voucher {
  color: #1d67b0;
  font-weight: 700;
}

.pricing-card {
  --pricing-card-accent-start: #9ec7f3;
  --pricing-card-accent-end: #79b3ec;
  height: 100%;
  border: 1px solid #dfe8f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--jo-shadow-card);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pricing-card-accent-start) 0%, var(--pricing-card-accent-end) 100%);
}

.pricing-card--starter { --pricing-card-accent-start: #86c7f7; --pricing-card-accent-end: #59a9e6; }
.pricing-card--basic { --pricing-card-accent-start: #56bcd6; --pricing-card-accent-end: #2f91b0; }
.pricing-card--essencial { --pricing-card-accent-start: #3fa67c; --pricing-card-accent-end: #2d8f67; }
.pricing-card--premium { --pricing-card-accent-start: #d39b3e; --pricing-card-accent-end: #bd7a1c; }

.pricing-card.is-featured {
  border-color: #9ec7f3;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 38%);
  box-shadow: 0 16px 30px -24px rgb(20 104 184 / 45%);
}

.pricing-card__badge {
  align-self: flex-start;
  border: 1px solid #b9d8fb;
  border-radius: 999px;
  background: #eaf4ff;
  color: var(--jo-blue-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.24rem 0.55rem;
}

.pricing-card__title {
  margin: 0.5rem 0 0.35rem;
  color: #0d3f66;
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: clamp(1.56rem, 1.26rem + 0.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.pricing-card__cycle {
  margin: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6e5f6;
  border-radius: 999px;
  background: #f3f8ff;
  color: #1c5d8d;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.28rem 0.62rem;
}

.pricing-card.is-featured .pricing-card__cycle {
  border-color: #bbd9f6;
  background: #eaf4ff;
  color: var(--jo-blue-dark);
}

.pricing-card__old-price {
  margin: 0.65rem 0 0;
  color: #73859b;
  font-size: 0.82rem;
}

.pricing-card__cycle + .pricing-card__price {
  margin-top: 0.95rem;
}

.pricing-card__price {
  margin: 0.2rem 0 0;
  color: var(--jo-ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-card__price-caption {
  margin: 0.15rem 0 0;
  color: #5f7a95;
  font-size: 0.78rem;
}

.pricing-card__saving {
  margin: 0.4rem 0 0;
  color: #2f6f4f;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card__saving strong {
  color: #167541;
}

.pricing-card__features {
  margin: 0.8rem 0 0;
  padding-left: 0;
  list-style: none;
  color: #2e4c67;
  display: grid;
  gap: 0.34rem;
  flex-grow: 1;
}

.pricing-card__features li {
  position: relative;
  line-height: 1.35;
  padding-left: 1rem;
}

.pricing-card__features li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: #1678bf;
  font-size: 1rem;
  font-weight: 700;
}

.pricing-card__footnote {
  margin: 0.65rem 0 0;
  color: #6a8099;
  font-size: 0.75rem;
  font-style: italic;
}

.pricing-card__cta {
  margin-top: 0.9rem;
}

.pricing-page__selected-summary,
.pricing-page__next-step,
.pricing-page__support {
  border: 1px solid #dfe7f2;
}

.pricing-page__summary-table th {
  color: #56708c;
  font-weight: 600;
  width: 48%;
}

.pricing-page__summary-table td { color: #17334d; }
.pricing-page__old-price { color: #76879c; }
.pricing-page__saving { color: #167541; }

.pricing-page__final-price {
  color: var(--jo-ink);
  font-size: 1.15rem;
}

.pricing-page__inline-voucher {
  margin-top: 1rem;
  border-top: 1px solid #e2eaf5;
  padding-top: 0.85rem;
}

.pricing-page__voucher-title {
  color: #516c89;
  font-weight: 700;
  font-size: 0.84rem;
}

.pricing-page__next-step { background: #f9fcff; }

.pricing-page__video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d8e5f5;
  background: #000;
}

.pricing-page__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 1023px) {
  .checkout-payment__sticky { position: static; }
  .checkout-payment__trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-page__hero { flex-direction: column; }
  .pricing-page__hero-tags { justify-content: flex-start; }
  .pricing-page__voucher-form { width: 100%; }
  .pricing-page__voucher-form .input { max-width: 100%; }
}

@media (max-width: 768px) {
  .checkout-payment { padding-bottom: 6.8rem; }
  .pricing-public__subtitle { font-size: 0.94rem; }
  .checkout-payment__hero { flex-direction: column; }
  .checkout-payment__hero-tags { justify-content: flex-start; }
  .pricing-page__voucher-form { flex-direction: column; align-items: stretch; }
  .pricing-public__voucher-box { max-width: 100%; }
  .pricing-public__voucher-box form { flex-direction: column; align-items: stretch; }
  .pricing-public__voucher-box .input,
  .pricing-public__voucher-box .button,
  .pricing-page__voucher-form .button { width: 100%; }
  .pricing-card__title { font-size: 1.3rem; }
  .pricing-card__price { font-size: 1.75rem; }
  .checkout-payment__trust-strip { gap: 0.45rem; }
  .checkout-payment__trust-item { padding: 0.52rem 0.55rem; }
  .checkout-payment__trust-item p { display: none; }
  .checkout-payment__summary-total strong { font-size: 1.35rem; }
  .checkout-payment__submit-row { display: none; }
  .checkout-payment__mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid #d8e4f3;
    background: rgb(255 255 255 / 96%);
    backdrop-filter: blur(6px);
    box-shadow: 0 -12px 24px -24px rgb(16 42 67 / 66%);
  }
  .checkout-payment__mobile-summary { min-width: 0; }
  .checkout-payment__mobile-cta .button { min-width: 11.8rem; }
}
