/* Página /parceiros (programa de parceiros). Cabeçalho e rodapé vêm do legal.css; aqui só o conteúdo. Ouro só no
   que é valor (a comissão). */
.pt h1,
.pt h2,
.pt h3 {
  font-family: var(--tc-font-display);
  color: var(--tc-fg);
  letter-spacing: -0.02em;
  margin: 0;
}
.pt p {
  margin: 0;
  color: var(--tc-fg-muted);
}
.pt-gold {
  color: var(--tc-accent-text);
}
:root[data-theme='dark'] .pt-gold {
  color: var(--tc-accent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pt-gold {
    color: var(--tc-accent);
  }
}

/* Topo */
.pt-hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--tc-border);
  background:
    radial-gradient(
      700px 360px at 85% 10%,
      color-mix(in srgb, var(--tc-primary) 14%, transparent),
      transparent 70%
    ),
    var(--tc-bg);
}
.pt-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.pt h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.06;
  font-weight: 700;
}
.pt-lead {
  font-size: 18px;
  line-height: 1.55;
  margin-top: 20px !important;
  max-width: 560px;
}
.pt-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.pt-cta svg,
.pt-final svg {
  width: 18px;
  height: 18px;
}

/* Condições */
.pt-terms {
  margin: 0;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-xl);
  background: var(--tc-surface);
  box-shadow: var(--tc-shadow-md);
  overflow: hidden;
}
.pt-terms__row {
  padding: 22px 26px;
  border-top: 1px solid var(--tc-border);
}
.pt-terms__row:first-child {
  border-top: 0;
}
.pt-terms dt {
  font: 500 12px/1 var(--tc-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tc-fg-subtle);
  margin-bottom: 10px;
}
.pt-terms dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--tc-fg-muted);
  font-size: 15px;
  line-height: 1.4;
}
.pt-num {
  font: 700 28px/1 var(--tc-font-display);
  color: var(--tc-fg);
  flex: none;
  min-width: 112px;
  font-variant-numeric: tabular-nums;
}
.pt-terms__row--main .pt-num {
  font-size: 44px;
}
.pt-terms__row--main .pt-num.pt-gold {
  color: var(--tc-accent-text);
}
:root[data-theme='dark'] .pt-terms__row--main .pt-num.pt-gold {
  color: var(--tc-accent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pt-terms__row--main .pt-num.pt-gold {
    color: var(--tc-accent);
  }
}

/* Seções */
.pt-section {
  padding: 88px 0;
}
.pt-section--alt {
  background: var(--tc-bg-subtle);
  border-block: 1px solid var(--tc-border);
}
.pt-h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 36px !important;
}
.pt-cards,
.pt-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.pt-card {
  padding: 28px;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-xl);
  background: var(--tc-surface);
}
.pt-card svg {
  width: 26px;
  height: 26px;
  color: var(--tc-primary-text);
  margin-bottom: 18px;
}
.pt h3 {
  font-size: 19px;
  font-weight: 650;
  margin-bottom: 8px;
}
.pt-card p,
.pt-steps p {
  font-size: 15px;
  line-height: 1.55;
}
.pt-steps li {
  position: relative;
  padding-top: 4px;
}
.pt-step {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--tc-radius-full);
  background: var(--tc-primary);
  color: var(--tc-primary-on);
  font: 700 17px/1 var(--tc-font-display);
  margin-bottom: 18px;
}
.pt-code {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  background: var(--tc-surface);
  font: 500 14px/1.3 var(--tc-font-mono);
  color: var(--tc-fg);
  word-break: break-all;
}
.pt-code b {
  color: var(--tc-primary-text);
  font-weight: 600;
}

/* Chamada final: sempre em Noite, nos dois temas. */
.pt-final {
  padding: 72px 0;
  background: #0a0f2c;
}
.pt-final__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.pt .pt-final h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
}
.pt .pt-final p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
}

@media (max-width: 900px) {
  .pt-hero {
    padding: 44px 0 56px;
  }
  .pt-hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pt-cards,
  .pt-steps {
    grid-template-columns: 1fr;
  }
  .pt-section {
    padding: 64px 0;
  }
  .pt-steps {
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .pt-cta .tc-btn,
  .pt-final .tc-btn {
    width: 100%;
    justify-content: center;
  }
  .pt-terms__row {
    padding: 18px 20px;
  }
  .pt-terms dd {
    flex-direction: column;
    gap: 8px;
  }
  .pt-terms__row--main .pt-num {
    font-size: 40px;
  }
}
