/*
 * Landing "Treinamentos prontos e editáveis" (/treinamentos-prontos).
 * Carrega DEPOIS de home.css e usa os mesmos tokens (--red-*, --teal-*, --ink,
 * --paper, --n-*, --head, --body, --pad, --e-quint). Aqui ficam só as peças que
 * a home não tem: a assinatura das três capas, a faixa "não é para você",
 * coleções, capas reais, licença, escolas e os ajustes de espaçamento que a home
 * fazia com style="" inline. Prefixo: tr-
 */

/* ---------- utilitários ---------- */
/* A tabela comparativa rola dentro do .cmpwrap; sem um contêiner posicionado, os
   rótulos .tr-sr (absolute) das células escapavam do recorte e alargavam a página
   inteira no celular. */
.tr .cmpwrap{position:relative}
.tr-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tr-spine-logo{line-height:0;display:block}
.tr-spine-logo img{width:40px;height:auto;display:block}
.tr-logo{height:26px;width:auto;display:block}
.tr-h-gap{margin:14px 0 0}
.tr-h-light{color:#fff;margin:14px 0 0;max-width:20ch}
.tr-h-problem{margin:14px 0;max-width:20ch}
.tr-h-personas{margin:14px 0 26px}
.tr-h-formatos{margin-top:14px;max-width:17ch}
.tr-kick-gap{margin-top:10px}
.tr-lede-wide{max-width:62ch}
.tr-lede-dark{color:#aab7bd}
.tr-note{margin-top:16px;font-size:.86rem;max-width:80ch}
.tr-src{margin-top:20px;font-size:.82rem;max-width:80ch}
.tr-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:clamp(24px,3vw,34px)}
.tr-actions--center{justify-content:center}
.tr-ink{color:var(--ink)}
.tr-btn-onteal{color:#fff;--btn-out-ink:var(--teal-700)}
.tr-btn-ondark{color:#fff;--btn-out-ink:var(--ink)}
.tr-mk{margin-top:30px}
.tr-mk-muted{color:#7f8f98}
.tr-ed{margin-top:30px}
.tr-ed-last{margin-bottom:0}
.tr-qb-center{left:50%;top:46%}
/* Abaixo da dobra: a imagem entra quando chega perto da tela (.is-near, treinamentos.js). */
html:not(.js) .tr-qb-cam,.tr-qb-cam.is-near{background-image:url("../images/avatar-gravacao.jpg")}
.tr-foot-logo{height:38px;width:auto;display:block}
.tr-foot-tag{margin-top:16px;max-width:32ch}

/* Fotos do bento (as mesmas da home) */
/* Fotos do "como funciona": ficam bem abaixo da dobra e somavam ~430 KB baixados
   junto com a foto do hero. Só entram quando o card chega perto da tela (classe
   .is-near, posta pelo treinamentos.js); sem JS, entram direto. WebP. */
.tr-bimg-4{--bpos:center 28%}
html:not(.js) .tr-bimg-1,.tr-bimg-1.is-near{--bimg:url("../images/bento-1.webp")}
html:not(.js) .tr-bimg-2,.tr-bimg-2.is-near{--bimg:url("../images/bento-2.webp")}
html:not(.js) .tr-bimg-3,.tr-bimg-3.is-near{--bimg:url("../images/bento-3.webp")}
html:not(.js) .tr-bimg-4,.tr-bimg-4.is-near{--bimg:url("../images/bento-4.webp")}

/* Planos: só o nº de colunas; o empilhamento no celular continua sendo o da home */
.tr-plans-1{--plan-count:1}.tr-plans-2{--plan-count:2}.tr-plans-3{--plan-count:3}.tr-plans-4{--plan-count:4}
.tr-plans-note{margin-top:22px;max-width:72ch}

/* Pôster */
.tr-poster-lede{color:#ffe4e2;margin:20px auto 0}
.tr-poster-micro{margin-top:16px;color:#ffd9d6;font-size:.9rem}

/* ============================================================
   ASSINATURA: o mesmo treinamento com três marcas
   ============================================================ */
.tr-marca{overflow:hidden}
.tr-marca::after{content:"";position:absolute;inset:0;opacity:.06;background-image:radial-gradient(circle at 1px 1px,#fff 1px,transparent 0);background-size:26px 26px;pointer-events:none}
.tr-marca__grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr;gap:clamp(28px,5vw,64px);align-items:center}
.tr-marca__copy .big{margin:14px 0 0;color:#fff;text-wrap:balance}
.tr-marca__copy .lede{color:#ffe4e2;margin:18px 0 26px;max-width:44ch}

/* Celular primeiro: as três capas cabem na largura útil, com as laterais abertas
   o bastante para mostrar a faixa da marca; a legenda logo abaixo dá os nomes
   inteiros. Do tablet para cima o leque cresce; no desktop vai para a coluna. */
.tr-fan{position:relative;height:262px;width:100%;margin:6px auto 0}
.tr-cv{
  --w:150px;
  position:absolute;left:50%;top:50%;width:var(--w);aspect-ratio:3/4;
  display:flex;flex-direction:column;background:#fff;color:var(--ink);border-radius:12px;overflow:hidden;
  box-shadow:0 30px 60px -28px rgba(60,12,10,.75),0 2px 0 rgba(0,0,0,.04);
  transition:transform .6s var(--e-quint)
}
.tr-cv--1{z-index:3;transform:translate(-50%,-50%) rotate(-2deg)}
.tr-cv--2{z-index:2;transform:translate(-116%,-46%) rotate(-8deg)}
.tr-cv--3{z-index:1;transform:translate(16%,-46%) rotate(7deg)}
.tr-cv__band{display:flex;align-items:center;gap:7px;padding:9px 11px;color:#fff;font-weight:700;font-size:.66rem;letter-spacing:.01em}
/* a capa da direita aparece pelo lado direito: a marca vai para lá */
.tr-cv--3 .tr-cv__band{flex-direction:row-reverse;text-align:right}
.tr-cv--1 .tr-cv__band{background:var(--teal-500)}
.tr-cv--2 .tr-cv__band{background:#2f7d4f}
.tr-cv--3 .tr-cv__band{background:#33456e}
.tr-cv__mark{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.24);font-family:var(--head);font-weight:800;font-size:.72rem;flex:none}
.tr-cv__brand{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr-cv__body{flex:1;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:12px 13px}
.tr-cv__kind{font-size:.52rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--n-500)}
.tr-cv__title{font-family:var(--head);font-weight:800;font-size:1rem;line-height:1.04;letter-spacing:-.02em;text-wrap:balance}
.tr-cv__lines{display:grid;gap:5px;margin-top:4px}
.tr-cv__lines i{display:block;height:4px;border-radius:3px;background:var(--paper-2)}
.tr-cv__lines i:nth-child(2){width:86%}.tr-cv__lines i:nth-child(3){width:64%}
.tr-cv__foot{padding:8px 13px;font-size:.56rem;font-weight:600;color:var(--n-500);border-top:2px solid var(--paper-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tr-cv--3 .tr-cv__foot{text-align:right}
.tr-cv--1 .tr-cv__foot{border-top-color:var(--teal-500)}
.tr-cv--2 .tr-cv__foot{border-top-color:#2f7d4f}
.tr-cv--3 .tr-cv__foot{border-top-color:#33456e}

/* Legenda das marcas */
.tr-fan__legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px}
.tr-fan__chip{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-weight:700;font-size:.86rem;line-height:1.2}
.tr-fan__chip::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--chip);box-shadow:0 0 0 2px rgba(255,255,255,.85)}
.tr-fan__chip--1{--chip:var(--teal-500)}
.tr-fan__chip--2{--chip:#2f7d4f}
.tr-fan__chip--3{--chip:#33456e}

@media (min-width:600px){
  .tr-fan{height:380px}
  .tr-cv{--w:220px}
  .tr-cv--2{transform:translate(-118%,-45%) rotate(-10deg)}
  .tr-cv--3{transform:translate(18%,-45%) rotate(9deg)}
  .tr-cv__title{font-size:1.3rem}
  .tr-cv__band{font-size:.76rem;padding:12px 14px}
  .tr-cv__mark{width:26px;height:26px;font-size:.82rem}
  .tr-cv__kind{font-size:.6rem}
  .tr-cv__foot{font-size:.66rem}
}
@media (min-width:860px){
  .tr-marca__grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .tr-marca__copy .big{font-size:clamp(2.2rem,3vw,2.9rem)}
  .tr-fan__legend{grid-column:2;margin-top:-6px}
  .tr-fan{height:440px}
  .tr-cv{--w:248px}
  .tr-cv--2{transform:translate(-114%,-44%) rotate(-11deg)}
  .tr-cv--3{transform:translate(14%,-44%) rotate(10deg)}
  .tr-fan:hover .tr-cv--2{transform:translate(-121%,-46%) rotate(-13deg)}
  .tr-fan:hover .tr-cv--3{transform:translate(21%,-46%) rotate(12deg)}
  .tr-cv__title{font-size:1.45rem}
  .tr-cv__band{font-size:.8rem;padding:13px 16px}
  .tr-cv__mark{width:28px;height:28px;font-size:.86rem}
  .tr-cv__kind{font-size:.64rem}
  .tr-cv__foot{font-size:.7rem}
}

/* ============================================================
   "Não é para você se"
   ============================================================ */
/* Painel em tinta: é um filtro, não uma nota de rodapé. Celular empilha na ordem
   do DOM (título, itens, fecho); a partir de 860px o título e o fecho ocupam a
   coluna da esquerda e os itens a da direita. */
.tr-not{margin-top:clamp(40px,6vw,72px);background:var(--ink);color:#fff;
  padding:clamp(26px,4.4vw,60px) clamp(22px,4.4vw,64px);display:grid;gap:22px 56px;
  grid-template-areas:"h" "list" "close"}
.tr-not__h{grid-area:h;font-family:var(--head);font-weight:800;color:#fff;
  font-size:clamp(1.7rem,3.4vw,2.7rem);line-height:1.04;letter-spacing:-.025em;text-wrap:balance}
.tr-not__list{grid-area:list;list-style:none;margin:0;padding:0}
.tr-not__list li{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;
  padding:16px 0;border-top:1px solid rgba(255,255,255,.14);
  font-weight:600;font-size:clamp(1rem,1.3vw,1.12rem);line-height:1.4;color:#e8eef1}
.tr-not__list li:last-child{border-bottom:1px solid rgba(255,255,255,.14)}
.tr-not__x{position:relative;width:34px;height:34px;border-radius:50%;background:var(--red-500);flex:none}
.tr-not__x::before,.tr-not__x::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2.5px;
  border-radius:2px;background:#fff;transform:translate(-50%,-50%) rotate(45deg)}
.tr-not__x::after{transform:translate(-50%,-50%) rotate(-45deg)}
.tr-not__close{grid-area:close;font-family:var(--head);font-weight:800;color:var(--teal-400);
  font-size:clamp(1.15rem,1.9vw,1.45rem);line-height:1.25;letter-spacing:-.01em;text-wrap:balance}
@media(min-width:860px){
  .tr-not{grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto 1fr;
    grid-template-areas:"h list" "close list";align-items:start;row-gap:18px}
}

/* ============================================================
   Coleções do acervo
   ============================================================ */
.tr-cols{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;border-top:1px solid var(--n-300)}
.tr-col{display:grid;gap:6px;padding:20px 0 20px 34px;border-bottom:1px solid var(--n-300);position:relative}
.tr-col::before{content:"✳";position:absolute;left:2px;top:19px;color:var(--red-500);font-family:var(--head);font-weight:800;font-size:1.1rem;line-height:1}
.tr-col b{font-family:var(--head);font-weight:800;font-size:clamp(1.2rem,2.2vw,1.55rem);letter-spacing:-.02em;line-height:1.1}
.tr-col span{color:var(--n-600);font-size:.95rem;line-height:1.55}
@media (min-width:860px){
  .tr-cols{grid-template-columns:1fr 1fr;column-gap:56px}
  .tr-col{padding:26px 0 26px 38px}
}

/* Capas reais: carrossel horizontal no celular, grade no desktop */
.tr-covers__h{margin-top:clamp(34px,5vw,56px);font-family:var(--head);font-weight:800;font-size:1.15rem}
.tr-covers{display:grid;grid-auto-flow:column;grid-auto-columns:42%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding:14px 2px 18px;margin:0 calc(var(--pad) * -1);padding-inline:var(--pad);scrollbar-width:thin}
.tr-covers li{scroll-snap-align:start}
.tr-covers a{display:block}
.tr-covers img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px;box-shadow:0 22px 40px -24px rgba(20,26,29,.6);transition:transform .35s var(--e-quint)}
.tr-covers a:hover img{transform:translateY(-6px) rotate(-1deg)}
.tr-covers span{display:block;margin-top:10px;font-weight:600;font-size:.84rem;line-height:1.35;color:var(--n-700)}
@media (min-width:860px){
  .tr-covers{grid-auto-flow:row;grid-template-columns:repeat(4,1fr);grid-auto-columns:auto;overflow:visible;margin:0;padding:14px 0 0}
}
@media (min-width:1200px){.tr-covers{grid-template-columns:repeat(8,1fr)}}

/* ============================================================
   Escolas (fundo escuro)
   ============================================================ */
.tr-checks{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid #2c383e}
.tr-checks li{display:grid;gap:4px;padding:18px 0 18px 36px;border-bottom:1px solid #2c383e;position:relative}
.tr-checks li::before{content:"";position:absolute;left:4px;top:24px;width:14px;height:8px;border-left:2.5px solid var(--teal-400);border-bottom:2.5px solid var(--teal-400);transform:rotate(-45deg)}
.tr-checks b{font-family:var(--head);font-weight:800;font-size:1.15rem;color:#fff;letter-spacing:-.01em}
.tr-checks span{color:#9fb0b6;font-size:.95rem}
@media (min-width:760px){.tr-checks{grid-template-columns:1fr 1fr;column-gap:48px}}

/* ============================================================
   Licença e limites
   ============================================================ */
.tr-lic{display:grid;grid-template-columns:1fr;gap:16px;margin-top:clamp(28px,4vw,44px)}
.tr-lic__col{border-radius:14px;padding:clamp(22px,3vw,32px)}
.tr-lic__col--yes{background:#fff;border:1px solid var(--n-200)}
.tr-lic__col--no{background:var(--ink);color:#eef2f4}
.tr-lic__h{font-family:var(--head);font-weight:800;font-size:1.25rem;letter-spacing:-.01em;margin-bottom:12px}
.tr-lic__col ul{display:grid;gap:0}
.tr-lic__col li{position:relative;padding:11px 0 11px 30px;border-top:1px solid var(--n-200);font-size:.96rem;line-height:1.45}
.tr-lic__col li:first-child{border-top:0}
.tr-lic__col--no li{border-top-color:#2c383e;color:#cdd8dc}
.tr-lic__col--yes li::before{content:"";position:absolute;left:3px;top:17px;width:13px;height:7px;border-left:2.5px solid #1a7f52;border-bottom:2.5px solid #1a7f52;transform:rotate(-45deg)}
.tr-lic__col--no li::before,.tr-lic__col--no li::after{content:"";position:absolute;left:3px;top:20px;width:13px;height:2px;border-radius:2px;background:var(--red-400);transform:rotate(45deg)}
.tr-lic__col--no li::after{transform:rotate(-45deg)}
.tr-lic__col--no .split__link{color:#fff;margin-top:16px}
.tr-honest__h{margin-top:clamp(30px,4vw,44px);font-family:var(--head);font-weight:800;font-size:1.15rem}
.tr-honest{margin-top:12px}
@media (min-width:760px){.tr-lic{grid-template-columns:1fr 1fr}}

/* FAQ: a home deixa a coluna de número ocupar espaço demais no celular */
@media (max-width:560px){
  .tr-faq .qa button{gap:14px}
  .tr-faq .qa .body p{padding-left:6px}
}

@media (prefers-reduced-motion:reduce){
  .tr-cv,.tr-covers img{transition:none}
}
@media (prefers-reduced-motion:reduce) and (min-width:860px){
  .tr-fan:hover .tr-cv--2{transform:translate(-114%,-44%) rotate(-11deg)}
  .tr-fan:hover .tr-cv--3{transform:translate(14%,-44%) rotate(10deg)}
}

/* Maquetes do split no celular: sem a barra lateral e o painel da direita, os
   cartões do acervo e a capa do editor ganham largura e voltam a ser legíveis. */
@media (max-width:560px){
  .tr-mk{aspect-ratio:4/5}
  .tr-mk .mk__side{display:none}
  .tr-mk .mk__grid{grid-template-columns:repeat(3,1fr)}
  .tr-ed{aspect-ratio:1/1}
  .tr-ed .ed__panel{display:none}
  .tr-ed .ed__rail{width:34%;min-width:0}
}

/* ============================================================
   Correções da revisão de design (rodada 1)
   ============================================================ */
.tr-h-first{margin-top:0}
.tr .head2 h2{margin:0}
.tr .head2 .kick + h2{margin-top:14px}

/* Comparativo: no celular a tabela vira linhas — rótulo em cima e 3 colunas
   embaixo, cada valor com o nome curto da coluna. Nada fica fora da tela. */
.tr-cmp tbody th{font-weight:600;text-align:left;padding:16px 18px;border-bottom:1px solid var(--n-200);font-size:.94rem}
@media (max-width:600px){
  .tr .cmpwrap{overflow:visible}
  .tr .tr-cmp{min-width:0;width:100%}
  .tr .tr-cmp thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .tr .tr-cmp,.tr .tr-cmp tbody{display:block}
  .tr .tr-cmp tr{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:14px 0;border-bottom:1px solid var(--n-200)}
  .tr .tr-cmp tbody th{grid-column:1/-1;border:0;padding:0 0 4px;font-family:var(--head);font-weight:800;font-size:1.02rem;letter-spacing:-.01em}
  .tr .tr-cmp td{display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:0;padding:9px 10px;border-radius:8px;background:#fff;text-align:left;font-size:.9rem;line-height:1.3}
  .tr .tr-cmp td::before{content:attr(data-col);font-family:var(--body);font-weight:700;font-size:.7rem;letter-spacing:.04em;color:var(--n-500)}
  .tr .tr-cmp td.us{background:var(--red-50)}
  .tr .tr-cmp td.us::before{color:var(--red-600)}
  .tr .tr-cmp td.y,.tr .tr-cmp td.no{font-size:1.05rem}
}

/* Cursores falsos das maquetes paravam em cima de letras; sem eles as telas leem limpas */
.tr .tr-ed .ed__cursor,.tr .tr-ed .ed__ghost,.tr .sc__cursor{display:none}
.tr .tr-mk .mk__cursor{display:none}

/* Kit: altura pelo conteúdo, sem área vazia embaixo */
.tr .tr-kit{aspect-ratio:auto}
.tr .tr-kit .rck{flex:none;padding-bottom:16px}

/* Escolas: respiro entre título e texto de apoio */
.tr-escolas .head2{column-gap:clamp(40px,6vw,96px)}
.tr-escolas .head2 h2{max-width:14ch}

/* Vídeo principal: fachada com capa e play */
.tr-vf{position:relative}
.tr-vf__poster{position:absolute;inset:0;z-index:2;display:block;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#0b0f11;color:#fff;text-align:left}
.tr-vf__poster img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92;transition:opacity .3s,transform .6s var(--e-quint)}
.tr-vf__poster:hover img{opacity:1;transform:scale(1.02)}
.tr-vf__poster:focus-visible{outline:3px solid var(--red-500);outline-offset:3px}
.tr-vf__play{position:absolute;right:clamp(16px,3vw,28px);bottom:clamp(16px,3vw,28px);z-index:1;width:clamp(56px,7vw,76px);aspect-ratio:1;border-radius:50%;background:var(--red-500);box-shadow:0 18px 40px -12px rgba(217,83,79,.8);transition:transform .3s var(--e-quint)}
.tr-vf__play::after{content:"";position:absolute;left:54%;top:50%;transform:translate(-50%,-50%);border-style:solid;border-width:12px 0 12px 20px;border-color:transparent transparent transparent #fff}
.tr-vf__poster:hover .tr-vf__play{transform:scale(1.06)}
.tr-vf__cap{position:absolute;left:clamp(16px,3vw,28px);bottom:clamp(14px,3vw,24px);z-index:1;display:grid;gap:2px}
.tr-vf__cap b{font-family:var(--head);font-weight:800;font-size:clamp(1.05rem,2.2vw,1.5rem);letter-spacing:-.01em}
.tr-vf__cap span{font-size:.9rem;color:#cbd6db}

/* Abas de público: no celular, controle segmentado 2×2 em vez de abas quebradas */
@media (max-width:560px){
  .tr .ptabs{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--n-200);border-radius:12px;overflow:hidden;background:#fff}
  .tr .ptab{margin:0;padding:13px 10px;min-height:48px;text-align:center;font-size:1rem;border:0;border-bottom:1px solid var(--n-200)}
  .tr .ptab:nth-child(odd){border-right:1px solid var(--n-200)}
  .tr .ptab:nth-last-child(-n+2){border-bottom:0}
  .tr .ptab[aria-selected="true"]{background:var(--ink);color:#fff}
}

/* Selos sobre as fotos de público: legíveis no celular */
@media (max-width:560px){
  .tr .pfloat{max-width:210px;padding:8px 11px}
  .tr .pfloat__tx small{font-size:.7rem}
  .tr .pfloat__tx b{font-size:.82rem}
}

/* Quadro branco no celular: mapa mais alto, rótulos que quebram em 2 linhas e ≥10px */
@media (max-width:560px){
  .tr .qb{aspect-ratio:4/5}
  .tr .qb__tools,.tr .qb__fmt{display:none}
  .tr .qb__n{font-size:.64rem;padding:4px 7px;white-space:normal;max-width:34%;text-align:center;line-height:1.15}
  .tr .qb__n--c{font-size:.8rem;max-width:40%}
  .tr .qb__cam{width:22%}
}

/* Maquete do acervo no celular: títulos dos cartões legíveis */
@media (max-width:560px){
  .tr-mk{aspect-ratio:3/4}
  .tr-mk .mk__pctitle b{font-size:.72rem}
  .tr-mk .mk__pctitle span{font-size:.62rem}
}

/* Toque e leitura */
.tr .btn--sm{min-height:44px}
.tr .bill__opt{min-height:44px}
.tr .hero__ticks{font-size:.91rem}
.tr .tr-src,.tr .tr-note{font-size:.9rem}
.tr .videocard__txt span{font-size:.88rem}
.tr .qa .num{flex:0 0 2.4ch;font-variant-numeric:tabular-nums}
@media (max-width:560px){
  .tr .btn--sm{min-height:48px}
  .tr .foot a{padding-block:11px}
  .tr .poster .display{font-size:2.35rem}
}
@media (max-width:420px){.tr .kick{letter-spacing:.14em}}

/* ============================================================
   Correções da revisão de design (rodada 2)
   ============================================================ */
/* Hierarquia: nenhum H2 maior que o H1 do hero */
.tr .sec .display{font-size:clamp(2.2rem,5.4vw,4.4rem)}
.tr .asst__h{font-size:clamp(2.2rem,5.4vw,4.4rem)}
.tr .poster .display{font-size:clamp(2.35rem,6vw,4.8rem)}

/* Espaço único entre rótulo e título */
.tr .kick + h1,.tr .kick + h2{margin-top:14px}

/* Título vermelho: a segunda frase em linha própria, balanceada */
.tr-balance{display:block;text-wrap:balance}

/* Legenda do leque: legenda, não botão */
.tr .tr-fan__legend{gap:6px 18px}
.tr .tr-fan__chip{padding:0;background:none;border-radius:0;font-weight:600;color:#ffe4e2;font-size:.9rem}
.tr .tr-fan__chip::before{width:10px;height:10px;border-radius:3px;box-shadow:none}
@media (max-width:420px){
  .tr .tr-fan__legend{flex-wrap:nowrap;gap:14px}
  .tr .tr-fan__chip{font-size:.8rem}
}

/* Comparativo no celular: cabeçalho fixo com os nomes curtos; as células só com o valor */
@media (max-width:600px){
  .tr .tr-cmp thead{position:sticky;top:64px;z-index:2;display:block;width:auto;height:auto;overflow:visible;clip:auto;background:var(--paper)}
  .tr .tr-cmp thead tr{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:10px 0;border-bottom:2px solid var(--ink)}
  .tr .tr-cmp thead th{border:0;padding:0 10px;text-align:left;font-size:0;line-height:1.2}
  .tr .tr-cmp thead th::after{content:attr(data-short);font-family:var(--body);font-weight:800;font-size:.82rem;color:var(--ink)}
  .tr .tr-cmp thead th.us::after{color:var(--red-600)}
  .tr .tr-cmp thead th:first-child{display:none}
  .tr .tr-cmp tr{padding:12px 0}
  .tr .tr-cmp td{padding:8px 10px;font-size:.88rem}
  .tr .tr-cmp td::before{content:none}
}

/* Alvos de toque dos links de texto */
.tr .split__link{min-height:44px}

/* Textos pequenos que restavam */
@media (max-width:560px){
  .tr .pfloat__tx small{font-size:.75rem}
  .tr .pfloat__tx b{font-size:.875rem}
}
.tr .plan__tag,.tr .bill__save{font-size:.72rem;letter-spacing:.06em}
.tr .plan .price small{font-size:.85rem}

/* Abas inativas com contraste de leitura */
.tr .ptab{color:var(--n-600)}
.tr .ptab:hover{color:var(--ink)}

/* WhatsApp menor e mais encostado no celular, para cobrir menos texto */
@media (max-width:767px){
  .tr .wa{right:10px;bottom:10px}
  .tr .wa__btn{width:50px;height:50px}
}

/* ============================================================
   Correções da revisão de design (rodada 3)
   ============================================================ */
/* Comparativo no celular: cabeçalho de topo (não fixo, para não cobrir linhas)
   e cada coluna com a sua cor do começo ao fim — HotLearn rosa, "Do zero"
   branco, "IA + Canva" cinza —, então a coluna se reconhece em qualquer linha. */
@media (max-width:600px){
  .tr .tr-cmp thead{position:static;box-shadow:none;background:none}
  .tr .tr-cmp thead tr{gap:6px;padding:0 0 6px;border-bottom:0}
  .tr .tr-cmp thead th{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid var(--n-200)}
  .tr .tr-cmp thead th.us{background:var(--red-50);border-color:var(--red-100)}
  .tr .tr-cmp thead th:last-child{background:var(--paper-2)}
  .tr .tr-cmp thead th:first-child{display:none}
  .tr .tr-cmp td{border:1px solid var(--n-200)}
  .tr .tr-cmp td.us{border-color:var(--red-100)}
  .tr .tr-cmp td:last-child{background:var(--paper-2)}
}

/* Legenda do leque no desktop: proporcional à peça */
@media (min-width:860px){
  .tr .tr-fan__legend{font-size:.95rem;gap:22px;margin-top:28px}
  .tr .tr-fan__chip{font-size:.95rem}
  .tr .tr-fan__chip::before{width:12px;height:12px}
}

/* WhatsApp no celular: some enquanto a pessoa rola e volta quando ela para
   (treinamentos.js), para não ficar sobre botões e textos durante a leitura. */
@media (max-width:767px){
  .tr .wa{transition:opacity .25s,transform .25s var(--e-quint)}
  .tr .wa.tr-wa-hide{opacity:0;transform:translateY(14px);pointer-events:none}
}
@media (prefers-reduced-motion:reduce){.tr .wa{transition:none}}
@media (max-width:600px){
  .tr .tr-cmp tr,.tr .tr-cmp thead tr{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tr .tr-cmp td{font-size:.9rem;padding:8px 10px;overflow-wrap:normal;hyphens:auto}
}

/* Rodada 4: a legenda encosta na base real das capas (~30px), compensando o
   espaço da grade, que no desktop é de 64px. */
.tr .tr-fan__legend{margin-top:-12px}
@media (min-width:600px){.tr .tr-fan__legend{margin-top:-22px}}
@media (min-width:860px){.tr .tr-fan__legend{margin-top:-72px}}

/* Licença: título com a regra e a frase que a explica */
.tr .tr-h-licenca{max-width:20ch}
.tr .tr-lic__rule{margin-top:16px;max-width:62ch;color:var(--n-600)}

/* ============================================================
   Topo: o menu da landing tem 6 itens (a home tem menos). Rótulo nunca quebra
   linha; entre 861px e 1180px, onde não cabem, vale o menu ☰ do celular.
   ============================================================ */
.tr .top nav a,.tr .top .btn{white-space:nowrap}
@media (max-width:1180px){
  .tr .top nav,.tr .top .top__auth{display:none}
  .tr .burger{display:inline-flex;align-items:center;justify-content:center}
}
