/* Checkout padrão de cursos curtos. Escopo próprio para preservar o checkout contratual. */
.sc-body {
  --ln-primary: #087f86; --ln-primary-hover: #05676d; --ln-focus-ring: #087f86;
  --ln-text: #152f3c; --ln-muted: #586c76; --ln-border: #d8e2e6;
  --ln-page: #f5f7f8; --ln-focus: rgb(8 127 134 / 16%);
  background: var(--ln-page); color: var(--ln-text);
}
.sc-body .ln-header { background: #0b2d3a; }
.sc-body .ln-header-inner { min-height: 68px; max-width: 1140px; }
.sc-body .ln-secure { border: 0; background: none; font-size: 12px; font-weight: 500; }
.sc-body .ln-main { padding: 44px 0 64px; margin: 0; }
.sc-layout { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 640px); gap: 48px; max-width: 1100px; align-items: start; }
.sc-course { position: sticky; top: 28px; min-width: 0; overflow-wrap: anywhere; }
.sc-course-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: #e5eef0; }
/* Capa do curso (2:1, regra da capa no Editorial): aparece inteira, sem corte nas laterais. */
img.sc-course-cover { aspect-ratio: 2 / 1; }
.sc-course-cover-empty { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; background: linear-gradient(130deg, #163846, #27626b); color: #cbe9e7; letter-spacing: .1em; font-size: 12px; }
.sc-course-content { padding: 26px 2px 0; }
.sc-eyebrow { margin: 0 0 10px; color: #527077; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.sc-course h1 { margin: 0; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.18; letter-spacing: -.03em; font-weight: 750; }
.sc-description { margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--ln-muted); }
.sc-course-price { display: grid; margin: 28px 0 20px; gap: 4px; }
.sc-course-price > span { font-size: 12px; color: var(--ln-muted); }
.sc-course-price > strong { font-size: 30px; line-height: 1.2; font-weight: 750; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.sc-course-price > small { max-width: 270px; margin-top: 5px; font-size: 12px; color: var(--ln-muted); line-height: 1.5; }
.sc-course-access { color: var(--ln-muted); font-size: 12px; margin: 12px 0; }
.sc-course-help { display: inline-block; font-size: 13px; margin-top: 8px; color: #28646a; text-decoration-color: #bbd3d6; text-underline-offset: 4px; }
.sc-form { display: block; margin: 0; min-width: 0; background: #fff; border: 1px solid #e3eaed; border-radius: 20px; box-shadow: 0 8px 32px rgb(15 43 57 / 4%); padding: 30px 32px; }
.sc-section { min-width: 0; margin: 0; padding: 0; border: 0; }
.sc-section + .sc-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid #edf0f2; }
.sc-section-title { float: none; width: 100%; margin: 0 0 22px; padding: 0; display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 1.35; letter-spacing: -.015em; font-weight: 700; }
.sc-section-title + * { clear: both; }
.sc-step { flex: 0 0 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 50%; background: #eaf3f3; color: #28636b; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.sc-form .ln-fields { display: grid; gap: 16px; }
.sc-form .ln-fields-row { gap: 14px; }
.sc-form .ln-field { min-width: 0; }
.sc-form .ln-input, .sc-form .ln-select { min-height: 48px; border: 1px solid #cbd8dd; border-radius: 8px; background-color: #fff; color: #17313f; font-size: 16px; box-shadow: none; padding: 11px 13px; }
.sc-form .ln-select { padding-right: 34px; }
.sc-form .ln-input:hover, .sc-form .ln-select:hover { border-color: #8eaab5; }
.sc-form .ln-input:focus, .sc-form .ln-select:focus { border-color: var(--ln-primary); box-shadow: 0 0 0 3px var(--ln-focus); }
.sc-form .ln-label { color: #405962; font-size: 12px; line-height: 1.4; font-weight: 600; margin-bottom: 6px; }
.sc-form .ln-field-help { font-size: 12px; margin-top: 5px; }
.sc-form .ln-address-start { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sc-form .ln-postal-address { margin: 0; }
.sc-form .ln-address-fields { margin-top: 14px; }
.sc-form .ln-address-manual { font-size: 12px; }
.sc-form .ln-field-error { font-size: 12px; margin: 7px 0 0; }
.sc-coupon { border: 0; padding: 0; margin-top: 20px; border-radius: 0; }
.sc-coupon summary { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: #087780; cursor: pointer; list-style: none; }
.sc-coupon summary::before { content: "+"; font-size: 18px; font-weight: 400; }
.sc-coupon[open] summary::before { content: "−"; }
.sc-coupon summary::-webkit-details-marker { display: none; }
.sc-coupon .ln-coupon-row { padding: 0; margin-top: 12px; }
.sc-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sc-method { position: relative; min-width: 0; }
.sc-method-label { display: flex; min-height: 76px; flex-direction: column; justify-content: center; align-items: center; gap: 7px; padding: 12px 6px; border: 1px solid #d4e0e4; border-radius: 10px; background: #fff; color: #38535e; cursor: pointer; transition: border-color .15s, background .15s; }
.sc-method-label > span:not(.sc-method-check) { font-size: 12px; font-weight: 600; line-height: 1.25; text-align: center; }
.sc-method-label .ln-method-icon { width: 23px; height: 23px; color: #506f7b; }
.sc-method-label .ln-method-icon-combined { width: 64px; height: 24px; flex-shrink: 0; }
.sc-method:hover .sc-method-label { border-color: #7ba4ae; }
.sc-method.is-selected .sc-method-label, .sc-method input:checked + .sc-method-label { border-color: #087f86; background: #eff8f7; box-shadow: inset 0 0 0 1px #087f86; color: #086c72; }
.sc-method.is-selected .ln-method-icon { color: #087f86; }
.sc-method-check { position: absolute; top: -6px; right: -5px; display: none; width: 18px; height: 18px; border-radius: 50%; background: #087f86; color: #fff; font-size: 11px; line-height: 18px; text-align: center; box-shadow: 0 0 0 3px #fff; }
.sc-method.is-selected .sc-method-check { display: block; }
.sc-method input:focus-visible + .sc-method-label { outline: 2px solid var(--ln-focus-ring); outline-offset: 4px; }
.sc-credit-options { margin-top: 0; }
/* UX-08: notas de preço e parcelas com pelo menos 12px. */
.sc-note { color: #586c76; font-size: 12px; line-height: 1.5; margin: 8px 0 0; }
.sc-method-info { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px; border-radius: 10px; background: #f3f7f8; }
.sc-method-info > svg { flex-shrink: 0; color: #48808a; margin-top: 2px; }
.sc-method-info strong { font-size: 13px; font-weight: 650; }
.sc-method-info p { color: var(--ln-muted); font-size: 12px; margin: 5px 0 0; line-height: 1.6; }
.sc-split { margin-top: 0; }
.sc-split-intro, .sc-card-sequence { margin: 0 0 14px; font-size: 12px; line-height: 1.6; color: var(--ln-muted); }
.sc-split-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.sc-split-part { min-width: 0; padding: 0; border: 0; }
.sc-split-part + .sc-split-part { padding-top: 24px; border-top: 1px dashed #cbd8dd; }
.sc-split-part [data-single-card-host], .sc-split-part [data-dual-fields] { margin-bottom: 16px; }
.sc-split-part h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.sc-split-part .ln-label { display: block; }
.sc-split-part .ln-select { font-size: 14px; padding-left: 10px; }
.sc-money { display: flex; align-items: center; position: relative; margin-bottom: 14px; }
.sc-money > span { position: absolute; left: 12px; font-size: 13px; color: #6a7c85; pointer-events: none; }
.sc-money .ln-input { padding-left: 36px; width: 100%; }
.sc-remaining { display: flex; align-items: center; min-height: 48px; margin-bottom: 14px; padding: 11px 13px; border-radius: 8px; background: #f3f7f8; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-finish .ln-inline-card { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.sc-finish .ln-card-brands { display: flex; gap: 10px; margin: 0 0 14px; flex-wrap: wrap; justify-content: flex-start; }
.sc-finish .ln-inline-card-frame { height: 260px; min-height: 260px; border: 0; background: #fff; }
.sc-finish .ln-inline-card-illustration { padding: 0; border: 0; background: none; }
.sc-finish .ln-inline-card-visual { display: none; }
.sc-finish .ln-inline-card-example-line { border-color: #cbd8dd; border-radius: 8px; height: 46px; }
.sc-finish .ln-inline-card-example { gap: 6px; }
.sc-totals { border-top: 1px solid #edf0f2; margin-top: 20px; padding-top: 16px; }
.sc-summary-line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 10px; font-size: 12px; color: var(--ln-muted); }
.sc-summary-line > :last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sc-summary-discount { color: #087862; }
.sc-summary-total { margin-top: 10px; margin-bottom: 0; align-items: center; color: #17313f; font-size: 14px; }
.sc-summary-total strong { font-size: 20px; letter-spacing: -.02em; font-weight: 700; }
/* F3: dois cartões, uma parte por linha ("Cartão 1: …" / "Cartão 2: …"), sem vazar do quadro. */
.sc-summary-total { flex-wrap: wrap; row-gap: 4px; }
.sc-summary-total strong.sc-pay-split { margin-left: auto; min-width: 0; max-width: 100%; font-size: 18px; letter-spacing: -.015em; line-height: 1.35; white-space: normal; }
.sc-pay-part { display: block; overflow-wrap: anywhere; }
.sc-finish .ln-inline-card-hint { margin: 6px 0 0; font-size: 12px; }
.sc-summary-installments { text-align: right; margin: 2px 0 0; font-size: 12px; color: var(--ln-muted); }
.sc-summary .sc-note { font-size: 12px; text-align: right; margin-bottom: 6px; }
.sc-conditions { display: block; text-align: right; font-size: 12px; color: #47636f; }
.sc-form .sc-accept { border: 0; border-radius: 0; background: none; grid-template-columns: 17px minmax(0, 1fr); gap: 9px; font-size: 12px; line-height: 1.6; align-items: flex-start; margin: 18px 0 0; padding: 0; }
.sc-accept input { width: 17px; height: 17px; margin-top: 1px; flex-shrink: 0; accent-color: #087f86; }
.sc-accept a { color: #356773; text-decoration-color: #a1bfc5; }
.sc-form .sc-pay { margin-top: 18px; min-height: 52px; border-radius: 9px; border: 0; background: #087f86; color: #fff; box-shadow: 0 3px 6px rgb(8 127 134 / 12%); font-size: 15px; font-weight: 650; }
.sc-form .sc-pay:hover { background: #056b72; }
.sc-form .sc-pay:disabled { background: #8da8aa; box-shadow: none; cursor: not-allowed; }
.sc-secure-note { margin: 12px 0 0; text-align: center; color: #667b84; font-size: 10px; line-height: 1.5; }
.sc-secure-note a { color: inherit; }
.sc-body .ln-footer { background: transparent; border-top: 1px solid #e4ebee; color: #6b7b83; padding: 26px 0; font-size: 10px; }
.sc-body .ln-footer p { margin: 4px 0; }
.sc-body .ln-footer-trust { margin-bottom: 12px; color: #4e6e79; font-size: 12px; }
.sc-body .ln-footer-trust svg { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .sc-layout { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 28px; }
  .sc-form { padding: 26px 22px; }
  .sc-split-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .sc-body .ln-header-inner { min-height: 54px; padding-inline: 20px; }
  .sc-body .ln-brand img { height: 20px; }
  .sc-body .ln-secure { font-size: 10px; padding: 0; }
  .sc-body .ln-main { padding: 22px 0 32px; }
  .sc-layout { display: flex; flex-direction: column; gap: 24px; padding: 0; }
  /* Celular: capa grande e centralizada em cima; textos alinhados à esquerda logo abaixo. */
  .sc-course { position: static; display: block; width: 100%; padding: 0 20px; }
  .sc-course-cover { width: 100%; max-width: 560px; margin: 0 auto; border-radius: 16px; box-shadow: 0 14px 30px rgb(15 43 57 / 16%); }
  .sc-course-cover-empty { gap: 12px; font-size: 11px; letter-spacing: .08em; }
  .sc-course-cover-empty svg { width: 48px; height: 48px; }
  .sc-course-content { padding: 20px 2px 0; text-align: left; }
  .sc-eyebrow { font-size: 10px; margin: 0 0 8px; }
  .sc-course h1 { font-size: 23px; line-height: 1.2; }
  .sc-description { font-size: 13px; margin-top: 10px; }
  .sc-course-price { margin: 18px 0 0; gap: 3px; }
  .sc-course-price > span { font-size: 11px; }
  .sc-course-price > strong { font-size: 28px; }
  .sc-course-price > small { font-size: 11px; margin: 4px 0 0; max-width: none; }
  .sc-course-access { font-size: 11px; margin: 10px 0 0; }
  .sc-course-help { font-size: 12px; margin-top: 12px; }
  .sc-form { width: 100%; border-radius: 18px; border-left: 0; border-right: 0; padding: 26px 20px; box-shadow: 0 4px 16px rgb(15 43 57 / 3%); }
  .sc-section-title { font-size: 17px; margin-bottom: 20px; }
  .sc-form .ln-fields-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sc-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .sc-method-label { min-height: 74px; }
  .sc-method-label > span:not(.sc-method-check) { font-size: 11px; }
  .sc-split-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sc-split-part { padding: 0; }
  .sc-split-part + .sc-split-part { padding-top: 20px; }
  .sc-split-part .ln-select { font-size: 16px; }
  .sc-summary-total strong { font-size: 19px; }
}
@media (max-width: 359px) {
  .sc-course { padding-inline: 16px; }
  .sc-course h1 { font-size: 21px; }
  .sc-form { padding-inline: 16px; }
  .sc-form .sc-payer > .ln-fields > .ln-fields-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sc-body *, .sc-body *::before, .sc-body *::after { scroll-behavior: auto !important; transition: none !important; } }

.sc-finish .ln-card-brand { min-width: 38px; padding: 0 6px; height: 27px; }
.sc-form .sc-accept:has(input:checked) { background: none; border: 0; }

.sc-form fieldset.sc-section { padding-top: 0; border-top: 0; }

/* Troca do pagamento: mesma hierarquia visual do checkout curto. */
.sc-body-switch .ln-band { background: #eef4f5; border-bottom: 1px solid #dce7e9; color: #17313f; }
.sc-body-switch .ln-band-eyebrow { color: #527077; }
.sc-body-switch .ln-band-title { color: #17313f; font-size: clamp(24px, 4vw, 30px); }
.sc-body-switch .ln-switch > .ln-section-title { padding-top: 24px; }
.sc-body-switch .ln-switch-payer { margin-top: 24px; padding-top: 20px; border-top: 1px solid #edf0f2; }
.sc-body-switch .sc-switch-installment { display: block; margin-top: 7px; color: #586c76; font-size: 12px; line-height: 1.6; }
.sc-body-switch .ln-btn-primary { background: #087f86; box-shadow: 0 3px 6px rgb(8 127 134 / 12%); }
.sc-body-switch .ln-btn-primary:hover { background: #056b72; }

.sc-split-part h3 { display: flex; align-items: center; gap: 9px; }
.sc-split-part h3 .ln-method-icon { width: 23px; height: 23px; color: #28535e; }
/* UX-03: aviso de que o aceite precisa ser marcado de novo depois de mudar valores ou parcelas. */
.sc-accept-notice { margin: 14px 0 0; color: #7a4a00; font-size: 13px; line-height: 1.5; }
