/* Página de planos do Prepara TEMI 2027 (/prepara-temi-2027/, o destino do QR Code do lançamento).
   Identidade visual da campanha (o PDF "Prepara TEMI" aprovado pelo board, 19/10/2026): fundo petróleo desfocado,
   turquesa da marca, Montserrat pesada nos títulos, rótulos em caixa alta espaçada, cartões com fio turquesa sobre
   fundo translúcido, selos TEMI LIGHT/PLUS/PRIME e a tabela branca com os vistos turquesa.
   Complementa launch.css (cabeçalho, rodapé e utilitários ln-*): mobile primeiro, sem estilo inline (CSP).
   Contrastes (WCAG AA) anotados nos tokens; o turquesa claro só vai em texto sobre o fundo escuro. */

/* body.tp-body: vence o body.ln-body de launch.css (fonte, cor e fundo claros do checkout). */
body.tp-body {
  --tp-bg: #061a1f;          /* o petróleo das páginas do PDF */
  --tp-ink: #041114;         /* rodapé */
  --tp-head: #041a20;        /* cabeçalho escuro da tabela */
  --tp-line: rgba(79, 171, 185, 0.55);
  --tp-line-soft: rgba(79, 171, 185, 0.24);
  --tp-teal: #4fabb9;        /* turquesa da marca: títulos e destaques sobre o fundo (6,7:1 ou mais) */
  --tp-teal-bright: #5ac2d1; /* números do preço e nomes dos itens (6,8:1 sobre o cartão) */
  --tp-teal-deep: #267d8a;   /* fundo de botão com texto branco (4,8:1) e visto sobre a tabela (4,5:1) */
  --tp-teal-deeper: #1f6c78; /* hover dos botões (branco: 6,0:1) */
  --tp-muted: #b9cbd1;       /* texto secundário sobre o fundo (9,5:1) */
  --tp-red: #e5484d;         /* o risco do preço "De" */
  --tp-buy: #00873c;         /* verde de compra (pedido do marketing, 20/10): tom da página de referência, branco 4,6:1 */
  --tp-buy-hover: #007534;   /* hover do verde (branco: 5,9:1) */
  --tp-buy-glow: rgba(0, 155, 68, 0.7); /* brilho em volta, como na página de referência */
  --tp-paper: #f6f8f8;
  --ln-focus-ring: #8fdde8;  /* anel de foco claro sobre o fundo escuro */
  position: relative;
  font-family: "Montserrat", var(--ln-font);
  color: #fff;
  background-color: var(--tp-bg);
  background-image:
    radial-gradient(900px 620px at 92% 1900px, rgba(48, 84, 94, 0.42), transparent 70%),
    radial-gradient(760px 560px at 0% 3300px, rgba(48, 84, 94, 0.34), transparent 70%);
  background-repeat: no-repeat;
}
/* O fundo desfocado da campanha atrás do cabeçalho e do topo, esmaecendo no petróleo. */
body.tp-body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1500px; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 26, 31, 0.2) 0%, rgba(6, 26, 31, 0.5) 50%, var(--tp-bg) 100%),
    url("../../../img/pages/payments/temi/temi-fundo.f39f4c7f8a59.webp") center top / cover no-repeat;
}
.tp-body > :not(.ln-skip) { position: relative; z-index: 1; }
.tp-body .ln-header { background: transparent; }
.tp-body .ln-secure { background: rgba(255, 255, 255, 0.06); border-color: var(--tp-line); }
.tp-body a:not([class]) { color: #cfe7ec; }

/* --- Topo ------------------------------------------------------------------------------- */
/* A foto sangra para os lados (margens negativas): o recorte evita rolagem horizontal. */
.tp-hero { padding: 0 0 8px; overflow: hidden; }
.tp-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
.tp-hero-photo { margin: 0 -16px; }
.tp-hero-photo img { display: block; width: 100%; height: auto; }
.tp-hero-copy { margin-top: -54px; }
.tp-hero-eyebrow {
  display: inline-block; margin: 0; padding: 6px 12px; border-radius: 4px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em; color: #fff; background: var(--tp-teal-deep);
}
.tp-hero-eyebrow strong { font-weight: 800; }
.tp-hero-title {
  --tp-year: 118px;
  display: flex; flex-direction: column; align-items: flex-start; margin: 16px 0 0;
  font-size: var(--tp-year); line-height: 0.84; font-weight: 900; letter-spacing: -0.035em;
}
.tp-hero-mark { display: block; width: 2.46em; max-width: 100%; height: auto; margin-bottom: 0.06em; }
.tp-hero-title span { color: var(--tp-teal); }
.tp-hero-text { margin: 18px 0 0; max-width: 34em; text-wrap: pretty; font-size: 16px; line-height: 1.55; color: #e6eff1; }
.tp-hero-text strong { color: var(--tp-teal-bright); font-weight: 700; }

/* A condição: "40% OFF" grande à esquerda, as outras três à direita (como "40% | somente essa semana"). */
.tp-offer {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; row-gap: 8px;
}
.tp-offer li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.3; }
.tp-offer li strong { font-weight: 700; }
.tp-offer li:not(.tp-offer-main)::before { content: "+"; flex: none; color: var(--tp-teal); font-size: 20px; font-weight: 900; line-height: 1; }
.tp-offer .tp-offer-main {
  grid-row: span 3; flex-direction: column; align-items: flex-start; gap: 6px; padding-right: 18px;
  border-right: 1px solid var(--tp-line);
}
.tp-offer .tp-offer-main strong { width: min-content; font-size: 42px; line-height: 0.92; font-weight: 900; letter-spacing: -0.03em; }
.tp-offer .tp-offer-main span { width: min-content; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tp-teal); }

.tp-hero-cta, .tp-cta, .tp-final-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 10px 22px;
  border-radius: 12px; color: #fff; background: var(--tp-buy); text-decoration: none;
  font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
  box-shadow: 0 0 34px -6px var(--tp-buy-glow), 0 12px 28px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.tp-hero-cta:hover, .tp-cta:hover, .tp-final-cta:hover { color: #fff; background: var(--tp-buy-hover); }
.tp-hero-cta:active, .tp-cta:active, .tp-final-cta:active { transform: translateY(1px); }
.tp-hero-cta:focus-visible, .tp-cta:focus-visible, .tp-final-cta:focus-visible { outline: 2px solid var(--ln-focus-ring); outline-offset: 3px; }
.tp-hero-cta { margin-top: 26px; width: 100%; }
.tp-hero-cta .tp-icon { width: 20px; height: 20px; transform: rotate(90deg); }

.tp-statement {
  margin: 44px auto 0; max-width: 860px; text-align: center; text-wrap: balance;
  font-size: 17px; line-height: 1.45; font-weight: 500; color: #fff;
}
.tp-statement strong { color: var(--tp-teal); font-weight: 800; }

/* --- Cartões dos planos ----------------------------------------------------------------- */
.tp-body .ln-main { margin-top: 0; padding-top: 40px; padding-bottom: 64px; }
.tp-page { display: flex; flex-direction: column; gap: 64px; }
.tp-plans { scroll-margin-top: 12px; }
.tp-plans:focus { outline: none; }
.tp-headline { margin: 0; text-wrap: balance; text-align: center; font-size: 30px; line-height: 1.08; font-weight: 800; letter-spacing: -0.035em; color: #fff; }
.tp-headline span { color: var(--tp-teal); }
.tp-deadline { margin: 10px 0 0; text-align: center; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.tp-deadline strong { color: var(--tp-teal); }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: stretch; margin-top: 30px; }
.tp-card {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 28px 20px 22px;
  border-radius: 26px; border: 1px solid var(--tp-line);
  background: linear-gradient(180deg, rgba(18, 52, 62, 0.74) 0%, rgba(7, 27, 33, 0.82) 100%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.tp-card.is-featured {
  padding-top: 36px; border: 1.5px solid var(--tp-teal);
  box-shadow: 0 0 0 4px rgba(79, 171, 185, 0.12), 0 30px 70px rgba(0, 0, 0, 0.36), 0 0 70px rgba(79, 171, 185, 0.16);
}
.tp-ribbon {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; white-space: nowrap;
  padding: 7px 16px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; background: var(--tp-teal-deep); border: 1px solid var(--tp-teal); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}
.tp-card-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.tp-badge {
  margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--tp-teal-bright); background: rgba(79, 171, 185, 0.1); border: 1px solid var(--tp-line-soft);
}
.tp-name { margin: 0; display: flex; align-items: flex-start; justify-content: center; min-height: 116px; line-height: 0; }
.tp-name-logo { display: block; width: 190px; height: auto; }
.tp-tagline { margin: 0; text-wrap: balance; max-width: 30ch; font-size: 15px; line-height: 1.45; color: var(--tp-muted); }

.tp-price { padding-top: 18px; text-align: center; border-top: 1px solid var(--tp-line-soft); }
.tp-price p { margin: 0; }
.tp-anchor { font-size: 17px; font-weight: 500; }
.tp-anchor s { text-decoration-line: line-through; text-decoration-color: var(--tp-red); text-decoration-thickness: 2px; }
.tp-por { margin-top: 4px !important; font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.tp-installment { margin-top: 8px !important; line-height: 1; font-variant-numeric: lining-nums; }
.tp-installment-visual { display: inline-flex; align-items: flex-end; gap: 4px; color: var(--tp-teal-bright); }
.tp-times { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 6px; color: #fff; font-weight: 800; }
.tp-times span:first-child { font-size: 10.5px; letter-spacing: 0.02em; text-transform: uppercase; }
.tp-times span:last-child { font-size: 25px; line-height: 0.95; letter-spacing: -0.04em; }
.tp-installment strong { font-size: 60px; line-height: 0.9; font-weight: 800; letter-spacing: -0.055em; }
.tp-cents { align-self: flex-start; padding-top: 3px; font-size: 20px; font-weight: 800; }
.tp-total { margin-top: 10px !important; font-size: 14px; color: var(--tp-muted); }
.tp-total-last { display: block; }
.tp-today {
  margin-top: 14px !important; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45;
  color: #e7f1f3; background: rgba(79, 171, 185, 0.1); border: 1px solid var(--tp-line-soft);
}
.tp-today strong { color: #fff; }
.tp-price-soon { padding-bottom: 4px; }
.tp-soon { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: var(--tp-teal); }

/* --- Mensalidades do cartão (6x, 12x, 16x e 18x) ------------------------------------------
   Rádios nativos, sem JavaScript (CSP): os rádios vêm antes do preço e dos botões, como irmãos no cartão, e o marcado
   mostra o preço e o botão da mesma posição (até 6 opções). O teclado usa o próprio grupo de rádios (Tab e setas). */
.tp-opt-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
/* Os preços ficam empilhados na mesma célula: a altura é sempre a da opção mais alta (nada pula ao trocar). */
.tp-opt-prices { display: grid; }
.tp-opt-price { grid-area: 1 / 1; visibility: hidden; }
.tp-opt-input:nth-of-type(1):checked ~ .tp-price .tp-opt-price:nth-child(1),
.tp-opt-input:nth-of-type(2):checked ~ .tp-price .tp-opt-price:nth-child(2),
.tp-opt-input:nth-of-type(3):checked ~ .tp-price .tp-opt-price:nth-child(3),
.tp-opt-input:nth-of-type(4):checked ~ .tp-price .tp-opt-price:nth-child(4),
.tp-opt-input:nth-of-type(5):checked ~ .tp-price .tp-opt-price:nth-child(5),
.tp-opt-input:nth-of-type(6):checked ~ .tp-price .tp-opt-price:nth-child(6) { visibility: visible; }
.tp-terms { margin-top: 18px; }
.tp-price .tp-terms-label {
  margin: 0 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tp-teal);
}
.tp-terms-row {
  display: flex; gap: 4px; padding: 4px; border-radius: 14px;
  background: rgba(4, 17, 20, 0.5); border: 1px solid var(--tp-line-soft);
}
.tp-term {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px;
  border-radius: 10px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: lining-nums;
  color: var(--tp-muted); cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.tp-term:hover { color: #fff; background: rgba(79, 171, 185, 0.14); }
/* A opção marcada: branco sobre o turquesa escuro (4,8:1), com o fio turquesa da marca. */
.tp-opt-input:nth-of-type(1):checked ~ .tp-price .tp-term:nth-child(1),
.tp-opt-input:nth-of-type(2):checked ~ .tp-price .tp-term:nth-child(2),
.tp-opt-input:nth-of-type(3):checked ~ .tp-price .tp-term:nth-child(3),
.tp-opt-input:nth-of-type(4):checked ~ .tp-price .tp-term:nth-child(4),
.tp-opt-input:nth-of-type(5):checked ~ .tp-price .tp-term:nth-child(5),
.tp-opt-input:nth-of-type(6):checked ~ .tp-price .tp-term:nth-child(6) {
  color: #fff; background: var(--tp-teal-deep);
  box-shadow: inset 0 0 0 1px var(--tp-teal), 0 6px 16px rgba(0, 0, 0, 0.3);
}
.tp-opt-input:nth-of-type(1):focus-visible ~ .tp-price .tp-term:nth-child(1),
.tp-opt-input:nth-of-type(2):focus-visible ~ .tp-price .tp-term:nth-child(2),
.tp-opt-input:nth-of-type(3):focus-visible ~ .tp-price .tp-term:nth-child(3),
.tp-opt-input:nth-of-type(4):focus-visible ~ .tp-price .tp-term:nth-child(4),
.tp-opt-input:nth-of-type(5):focus-visible ~ .tp-price .tp-term:nth-child(5),
.tp-opt-input:nth-of-type(6):focus-visible ~ .tp-price .tp-term:nth-child(6) { outline: 2px solid var(--ln-focus-ring); outline-offset: 2px; }
.tp-ctas { margin-top: auto; }
.tp-ctas > .tp-cta { display: none; width: 100%; }
.tp-opt-input:nth-of-type(1):checked ~ .tp-ctas > .tp-cta:nth-child(1),
.tp-opt-input:nth-of-type(2):checked ~ .tp-ctas > .tp-cta:nth-child(2),
.tp-opt-input:nth-of-type(3):checked ~ .tp-ctas > .tp-cta:nth-child(3),
.tp-opt-input:nth-of-type(4):checked ~ .tp-ctas > .tp-cta:nth-child(4),
.tp-opt-input:nth-of-type(5):checked ~ .tp-ctas > .tp-cta:nth-child(5),
.tp-opt-input:nth-of-type(6):checked ~ .tp-ctas > .tp-cta:nth-child(6) { display: flex; }

.tp-includes { display: flex; flex-direction: column; gap: 10px; }
.tp-includes-label { margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.34em; text-transform: uppercase; color: var(--tp-teal); }
.tp-includes-all {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 13px; border-radius: 14px;
  font-size: 14.5px; font-weight: 700; background: rgba(79, 171, 185, 0.12); border: 1px solid rgba(79, 171, 185, 0.32);
}
.tp-includes-all .tp-icon { flex: none; width: 20px; height: 20px; color: var(--tp-teal-bright); }
.tp-includes-more { margin: 2px 0 0; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tp-muted); }
.tp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.tp-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.38; }
.tp-list .tp-icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--tp-teal-bright); stroke-width: 2.4; }
.tp-list strong { font-weight: 700; color: var(--tp-teal-bright); }
.tp-list small { display: block; margin-top: 2px; font-size: 13px; color: var(--tp-muted); }

.tp-cta { gap: 12px; min-height: 60px; padding: 10px 18px; font-size: 14.5px; font-weight: 500; letter-spacing: 0.03em; text-align: left; }
.tp-cta strong { font-weight: 800; }
/* Duas linhas fixas como no PDF ("QUERO ME MATRICULAR" / "NO PLANO X"): nunca "...MATRICULAR NO" / "PLANO X". */
.tp-cta-line { display: block; }
.tp-cta .tp-icon, .tp-final-cta .tp-icon { flex: none; width: 26px; height: 26px; stroke-width: 1.7; }
.tp-cta-soon {
  margin: auto 0 0; display: flex; align-items: center; justify-content: center; min-height: 60px; border-radius: 12px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tp-muted);
  border: 1.5px dashed var(--tp-line);
}
.tp-plans-note { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--tp-muted); }

/* --- Alunos e ex-alunos: a faixa turquesa "50% OFF" ------------------------------------- */
.tp-alumni {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; padding: 28px 22px;
  border-radius: 26px; text-align: center; color: #fff;
  background:
    radial-gradient(520px 260px at 0% 0%, rgba(255, 255, 255, 0.12), transparent 62%),
    linear-gradient(135deg, var(--tp-teal-deep) 0%, var(--tp-teal-deeper) 100%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
}
.tp-alumni .tp-alumni-off { margin: 0; font-size: 54px; line-height: 1; font-weight: 900; letter-spacing: -0.03em; }
.tp-alumni h2 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.tp-alumni p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #fff; }
.tp-whatsapp {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px;
  border-radius: 12px; font-size: 14.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; color: #0b3a42; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.tp-whatsapp .tp-icon { flex: none; color: #128c4a; }
.tp-whatsapp:hover { color: #0b3a42; background: #e6f5f7; }
.tp-whatsapp:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* --- Compare e escolha: cabeçalho escuro, linhas brancas, vistos turquesa ---------------- */
.tp-compare {
  width: 100%; max-width: 880px; margin: 0 auto; overflow: hidden; border-radius: 26px;
  background: var(--tp-paper); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}
.tp-compare-head { padding: 28px 16px 6px; text-align: center; background: var(--tp-head); }
.tp-compare-title { margin: 0; text-wrap: balance; font-size: 25px; line-height: 1.15; font-weight: 800; letter-spacing: -0.035em; color: var(--tp-teal); }
.tp-spaced { margin: 8px 0 0; padding-left: 0.5em; font-size: 11.5px; font-weight: 700; letter-spacing: 0.5em; text-transform: uppercase; color: #fff; }
.tp-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13.5px; color: #10262d; }
/* Os selos alinhados pelo quadro "TEMI" (o PLUS é mais alto); a marca PREPARA TEMI embaixo, à esquerda. */
.tp-table thead th { padding: 16px 5px 18px; vertical-align: top; background: var(--tp-head); }
.tp-table thead th:first-child { width: 45%; padding-left: 14px; text-align: left; vertical-align: bottom; }
.tp-table thead img { display: block; width: 100%; max-width: 56px; height: auto; margin: 0 auto; }
.tp-table thead .tp-table-mark { max-width: 170px; margin: 0; }
.tp-table tbody th { padding: 13px 8px 13px 14px; text-align: left; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.tp-table td { text-align: center; border-left: 1px solid #e1e7e8; }
.tp-table tbody tr + tr th, .tp-table tbody tr + tr td { border-top: 1px solid #e1e7e8; }
.tp-table td:last-child { background: rgba(79, 171, 185, 0.09); }
.tp-yes { display: inline-flex; color: var(--tp-teal-deep); }
.tp-yes .tp-icon { width: 22px; height: 22px; stroke-width: 2.8; }
.tp-no { color: #6b7d82; font-weight: 700; }

/* --- Por que escolher: títulos centrados com os "+" turquesa entre eles ------------------ */
.tp-why { text-align: center; }
.tp-spaced-title {
  margin: 0 auto 30px; max-width: 760px; padding-left: 0.3em; font-size: 16px; line-height: 1.7; font-weight: 800;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--tp-teal); text-wrap: balance;
}
.tp-spaced-title span { color: #fff; }
.tp-why-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; max-width: 1000px; }
.tp-why-grid li { position: relative; padding: 0 10px; }
.tp-why-grid li:nth-child(2n)::before,
.tp-why-grid li:nth-child(n+3)::after {
  content: "+"; position: absolute; color: var(--tp-teal); font-size: 28px; font-weight: 800; line-height: 1;
}
.tp-why-grid li:nth-child(2n)::before { left: 0; top: 50%; transform: translate(-50%, -50%); }
.tp-why-grid li:nth-child(n+3)::after { left: 50%; top: -17px; transform: translate(-50%, -50%); }
.tp-why-grid strong { display: block; font-size: 15.5px; line-height: 1.25; font-weight: 700; color: #fff; }
.tp-why-grid p { margin: 6px auto 0; text-wrap: balance; max-width: 30ch; font-size: 13.5px; line-height: 1.45; color: var(--tp-muted); }

/* --- Chamada final ---------------------------------------------------------------------- */
.tp-final {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 22px;
  border-radius: 26px; border: 1px solid var(--tp-line);
  background: linear-gradient(180deg, rgba(18, 52, 62, 0.74) 0%, rgba(7, 27, 33, 0.82) 100%);
}
.tp-final h2 { margin: 0; text-wrap: balance; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.tp-final h2 span { color: var(--tp-teal); }
.tp-final p { margin: 10px 0 0; font-size: 14.5px; font-weight: 600; color: var(--tp-muted); }
.tp-final-cta { margin-top: 22px; width: 100%; max-width: 380px; }

/* --- Rodapé escuro ---------------------------------------------------------------------- */
.tp-body .ln-footer { color: #9fb4ba; background: var(--tp-ink); border-top: 1px solid rgba(79, 171, 185, 0.18); }
.tp-body .ln-footer strong { color: #fff; }
.tp-body .ln-footer a { color: #cfe7ec; }

/* --- Telas maiores ---------------------------------------------------------------------- */
@media (min-width: 560px) {
  .tp-hero-title { --tp-year: 150px; }
  .tp-hero-text { font-size: 17px; }
  .tp-hero-cta { width: auto; }
  .tp-offer li { font-size: 15px; }
  .tp-statement { font-size: 19px; }
  .tp-headline { font-size: 38px; }
  .tp-card { padding: 30px 26px 24px; }
  .tp-card.is-featured { padding-top: 38px; }
  .tp-alumni { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; padding: 28px 30px; gap: 8px 26px; }
  .tp-alumni .tp-alumni-off { grid-row: span 2; align-self: center; font-size: 64px; }
  .tp-compare-title { font-size: 32px; }
  .tp-spaced { font-size: 13px; }
  .tp-table { font-size: 14.5px; }
  .tp-table thead th { padding: 18px 12px 20px; }
  .tp-table thead th:first-child { width: 40%; padding-left: 24px; }
  .tp-table thead img { max-width: 88px; }
  .tp-table thead .tp-table-mark { max-width: 220px; }
  .tp-table tbody th { padding: 14px 12px 14px 24px; }
  .tp-spaced-title { font-size: 20px; }
  .tp-why-grid strong { font-size: 18px; }
  .tp-why-grid p { font-size: 15px; }
  .tp-final h2 { font-size: 32px; }
}

@media (min-width: 960px) {
  .tp-hero { padding-bottom: 20px; }
  .tp-hero-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: end; }
  .tp-hero-photo { grid-column: 2; grid-row: 1; align-self: start; margin: 0 -96px 0 -150px; }
  .tp-hero-copy { grid-column: 1; grid-row: 1; margin-top: 0; padding: 40px 0 26px; }
  .tp-hero-title { --tp-year: clamp(132px, 13.6vw, 178px); }
  .tp-offer { column-gap: 22px; }
  .tp-offer .tp-offer-main { padding-right: 22px; }
  .tp-offer .tp-offer-main strong { font-size: 50px; }
  .tp-statement { margin-top: 56px; font-size: 23px; }
  .tp-body .ln-main { padding-top: 56px; padding-bottom: 88px; }
  .tp-page { gap: 88px; }
  .tp-headline { font-size: 50px; }
  .tp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
  .tp-card.is-featured { transform: translateY(-10px); }
  .tp-alumni { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; padding: 30px 36px; }
  .tp-alumni .tp-alumni-off { grid-row: auto; font-size: 72px; }
  .tp-alumni h2 { font-size: 19px; }
  .tp-whatsapp { justify-self: end; }
  .tp-why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .tp-why-grid li:nth-child(2n)::before, .tp-why-grid li:nth-child(n+3)::after { content: none; }
  .tp-why-grid li:not(:nth-child(3n+1))::before,
  .tp-why-grid li:nth-child(n+4)::after {
    content: "+"; position: absolute; color: var(--tp-teal); font-size: 30px; font-weight: 800; line-height: 1;
  }
  .tp-why-grid li:not(:nth-child(3n+1))::before { left: 0; top: 50%; transform: translate(-50%, -50%); }
  .tp-why-grid li:nth-child(n+4)::after { left: 50%; top: -22px; transform: translate(-50%, -50%); }
}

@media (max-width: 359px) {
  .tp-hero-title { --tp-year: 100px; }
  .tp-offer .tp-offer-main strong { font-size: 36px; }
  .tp-installment strong { font-size: 52px; }
  .tp-table { font-size: 12.5px; }
  .tp-table th, .tp-table td { padding-left: 4px; padding-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-hero-cta, .tp-cta, .tp-final-cta, .tp-term { transition: none; }
  .tp-card.is-featured { transform: none; }
}

@media print {
  .tp-body { color: #000; background: #fff; }
  .tp-body::before { display: none; }
  .tp-card, .tp-final, .tp-alumni { background: none; color: #000; box-shadow: none; }
  .tp-hero-photo, .tp-cta, .tp-whatsapp, .tp-final-cta, .tp-hero-cta { display: none; }
}
