/* ==========================================================================
   Site de cursos — folha de estilo única
   ========================================================================== */

:root {
  --bg: #f6f7fc;
  --surface: #ffffff;
  --surface-2: #fbfbfe;
  --ink: #0d1220;
  --ink-2: #55607a;
  --ink-3: #8a93a8;
  --line: #e7eaf3;
  --line-2: #eff1f8;
  --brand: #4636e8;
  --brand-2: #6d5ef6;
  --brand-dark: #372ac0;
  --brand-soft: #efedff;
  --ok: #0f9d58;
  --ok-soft: #e9f8f0;
  --warn: #b45309;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-xs: 0 1px 2px rgba(13, 18, 32, 0.05);
  --shadow-sm: 0 2px 6px rgba(13, 18, 32, 0.05), 0 1px 2px rgba(13, 18, 32, 0.04);
  --shadow-md: 0 18px 40px -22px rgba(13, 18, 32, 0.32);
  --shadow-brand: 0 14px 28px -14px rgba(70, 54, 232, 0.55);
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

button {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.022em;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
}

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-tight {
  padding: 32px 0;
}

.stack {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: center;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 13px;
}

.tiny {
  font-size: 12px;
}

.center {
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 66px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.wordmark .dot {
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 9px;
}

.nav a:hover {
  color: var(--ink);
  background: var(--line-2);
}

.nav .nav-cta {
  color: #fff;
  background: var(--brand);
  font-weight: 600;
}

.nav .nav-cta:hover {
  background: var(--brand-dark);
  color: #fff;
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  text-align: center;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-2), var(--brand-dark));
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: #d5d9e8;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 10px 14px;
}

.btn-ghost:hover {
  background: var(--line-2);
  color: var(--ink);
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 460px at 82% -12%, #e8e4ff 0%, rgba(246, 247, 252, 0) 62%),
    radial-gradient(760px 340px at 6% 4%, #eef1ff 0%, rgba(246, 247, 252, 0) 60%);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero h1 {
  font-size: clamp(30px, 4.3vw, 50px);
  letter-spacing: -0.035em;
  margin: 18px 0 16px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand), #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 500;
}

.trust-item svg {
  color: var(--brand);
  flex: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}

.pill .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(15, 157, 88, 0.14);
}

/* hero card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

.hero-card h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
}

.hero-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.hero-item .badge-salary {
  min-width: 92px;
  text-align: center;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 6px;
}

.hero-item .info {
  min-width: 0;
}

.hero-item .info strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-item .info span {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.stat b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.stat span {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 500;
}

/* ---------- catalog ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 6px;
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.search {
  position: relative;
  max-width: 420px;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
}

.search input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.search input:focus {
  border-color: #c4c0f8;
  outline: none;
  box-shadow: 0 0 0 4px rgba(70, 54, 232, 0.1);
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.chip {
  flex: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.chip:hover {
  border-color: #d5d2f7;
  color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.16s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #d9d5fb;
  box-shadow: var(--shadow-md);
}

.card .tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 5px 10px;
  border-radius: 999px;
}

.card h3 {
  font-size: 17.5px;
  line-height: 1.25;
}

.card .org {
  font-size: 13px;
  color: var(--ink-2);
}

.card .salary {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

.card .salary b {
  font-size: 16px;
  color: var(--ok);
  letter-spacing: -0.02em;
}

.card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}

.card .price {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card .price small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}

.card .foot .btn {
  padding: 9px 15px;
  font-size: 13.5px;
  border-radius: 10px;
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  background: var(--surface);
}

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.step .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- faq ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 780px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 18px;
  box-shadow: var(--shadow-xs);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

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

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--ink-3);
  line-height: 1;
}

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

.faq p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 40px 0 34px;
  margin-top: 30px;
}

.site-footer .cols {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.site-footer p {
  font-size: 13px;
  color: var(--ink-3);
  max-width: 52ch;
  margin-top: 8px;
}

.site-footer .links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-2);
  flex-wrap: wrap;
}

/* ---------- course page ---------- */
.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  padding: 22px 0 0;
}

.crumb a {
  color: var(--ink-2);
}

.course-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 36px;
  align-items: start;
  padding: 18px 0 64px;
}

.course-layout h1 {
  font-size: clamp(27px, 3.4vw, 40px);
  margin: 14px 0 12px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.course-meta b {
  color: var(--ink);
}

.salary-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ok-soft);
  border: 1px solid #cdeede;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0 8px;
}

.salary-box .value {
  font-size: 24px;
  font-weight: 800;
  color: #0b7a45;
  letter-spacing: -0.03em;
}

.salary-box .label {
  font-size: 13px;
  color: #237a58;
  font-weight: 600;
}

.prose h2 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.prose p {
  color: var(--ink-2);
  font-size: 15.5px;
  margin-bottom: 10px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.checklist li {
  display: flex;
  gap: 11px;
  font-size: 15px;
  color: var(--ink);
  align-items: flex-start;
}

.checklist svg {
  flex: none;
  color: var(--ok);
  margin-top: 3px;
}

.buy-card {
  position: sticky;
  top: 86px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

.buy-card .from {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.buy-card .amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 4px 0 2px;
}

.buy-card .once {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.buy-card .btn {
  width: 100%;
}

.buy-list {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.buy-list div {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.buy-list svg {
  color: var(--ok);
  flex: none;
  margin-top: 2px;
}

.buy-card .safe {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 14px;
  justify-content: center;
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

/* ---------- checkout ---------- */
.steps-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 26px;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
}

.steps-bar .s {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.steps-bar .s i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--line-2);
  color: var(--ink-3);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.steps-bar .s.on {
  color: var(--ink);
}

.steps-bar .s.on i {
  background: var(--brand);
  color: #fff;
}

.steps-bar .s.done i {
  background: var(--ok-soft);
  color: var(--ok);
}

.steps-bar .sep {
  width: 26px;
  height: 1px;
  background: var(--line);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.panel h2 {
  font-size: 19px;
  margin-bottom: 4px;
}

.panel .sub {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus {
  outline: none;
  border-color: #c4c0f8;
  box-shadow: 0 0 0 4px rgba(70, 54, 232, 0.1);
}

.field input[aria-invalid="true"] {
  border-color: #f0a9a9;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.field .hint {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 6px;
}

.field .err {
  font-size: 12.5px;
  color: #c02626;
  margin-top: 6px;
  font-weight: 500;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 86px;
}

.summary .item {
  display: flex;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}

.summary .item .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  flex: none;
}

.summary .item strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.summary .item span {
  font-size: 12.5px;
  color: var(--ink-3);
}

.summary .lines {
  padding: 14px 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.summary .lines div {
  display: flex;
  justify-content: space-between;
  color: var(--ink-2);
}

.summary .total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
}

.summary .total b {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.summary .note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff5f5;
  border: 1px solid #f6d0d0;
  color: #a01f1f;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

/* ---------- pix ---------- */
.pix-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 64px;
}

.qr-box {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 22px;
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.qr-box img {
  width: 224px;
  height: 224px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.qr-svg {
  width: 224px;
  height: 224px;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  display: grid;
  place-items: center;
}

.qr-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.copyfield {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.copyfield input {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, "Cascadia Code", "Courier New", monospace;
  font-size: 12.5px;
  padding: 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(70, 54, 232, 0.28);
  border-top-color: var(--brand);
  animation: spin 0.8s linear infinite;
  flex: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink-2);
  font-size: 13px;
}

.pix-steps {
  display: grid;
  gap: 12px;
  counter-reset: passo;
}

.pix-steps li {
  list-style: none;
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
  counter-increment: passo;
}

.pix-steps li::before {
  content: counter(passo);
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--line-2);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- success / thanks ---------- */
.thanks {
  max-width: 660px;
  margin: 0 auto;
  padding: 54px 0 70px;
  text-align: center;
}

.thanks .check {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

@keyframes pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
}

.thanks h1 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-bottom: 12px;
}

.thanks p {
  color: var(--ink-2);
  font-size: 16px;
}

.receipt {
  margin: 28px 0 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
  overflow: hidden;
}

.receipt .top {
  padding: 18px 22px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
}

.receipt .body {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.receipt .line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-2);
}

.receipt .line b {
  color: var(--ink);
  text-align: right;
}

.thanks-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* ---------- my area ---------- */
.mine {
  display: grid;
  gap: 12px;
}

.mine-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  flex-wrap: wrap;
}

.mine-item .tag-ok {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ok);
  background: var(--ok-soft);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- loading ---------- */
.loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s ease;
  z-index: 60;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 22px;
  }

  .course-layout,
  .checkout-layout,
  .pix-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .buy-card,
  .summary {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 30px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
  }

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

  .trust {
    gap: 12px;
  }

  .stats {
    gap: 10px;
  }

  .stat {
    padding: 14px;
  }

  .stat b {
    font-size: 19px;
  }

  .course-layout {
    padding-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
