/* =========================================================================
   Teste de Nível (/teste-de-nivel/) · v2 (direção "Netflix / HBO refinado")
   Carregado depois de base.css e casca.css (escrito à mão: não é pacote do montar). Tudo com prefixo .tn-
   Usa os componentes do base.css: .destaque, .fileira, .card, .card-top, .serie, .btn, .barra, .etiqueta.
   Telas (assets/js/teste.js): #abertura · #perguntas · #trava · #resultado (só uma visível por vez).
   Estados:
     [aria-checked="true"]          → opção escolhida (contorno branco + ✓)
     .tn-palco.is-saindo/.is-entrando [data-dir="frente|tras"] → troca de pergunta
     .tn-barras.is-visivel          → barras das áreas enchem
     .tn-cartao__moldura.is-pronto  → cartão dos stories gerado
     .tn-nivel.is-seu               → o nível da pessoa na fileira "Os cinco níveis"
   Hover só em @media (hover: hover): no toque o realce "gruda" e parece uma opção já escolhida.
   ========================================================================= */

/* linha de metadados com pontinhos: "15 perguntas · 5 minutos · Grátis" */
.tn-meta, .tn-res__meta { display: flex; flex-wrap: wrap; align-items: center; font-size: var(--tt-peq); line-height: 1.5; color: var(--t2); }
.tn-meta > span + span::before, .tn-res__meta > span + span::before {
  content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: currentColor; opacity: .6; vertical-align: middle;
}
.tn-fora { display: inline-block; flex: none; margin-left: 6px; vertical-align: -1px; opacity: .7; }

/* =====================================================================
   Abertura
   ===================================================================== */
.tn-abertura__destaque .titulo-destaque { max-width: 11em; }
.tn-abertura__destaque .titulo-destaque:focus { outline: none; }
.tn-abertura__destaque .tn-meta { margin-top: 18px; }
.tn-abertura__destaque .desc { margin-top: 12px; }
.tn-onde { font-weight: 400; opacity: .56; }
.tn-abertura__acoes .btn--vidro .seta { display: none; }   /* a seta fica só na ação principal */
.tn-ultimo { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 20px; font-size: var(--tt-peq); line-height: 1.45; color: var(--t2); }
.tn-ultimo b { color: var(--t1); }
.tn-ultimo__ponto { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--t1); }
.tn-sem-js { margin-top: 16px; }

/* os cinco níveis: fileira "Top 10" com pôsteres altos (não são links: sem realce de hover) */
.tn-niveis .fileira__trilho { grid-auto-columns: calc((100% - 4 * var(--vao) * 2) / 5); }
.tn-nivel .card-top__n { --top-n: clamp(96px, 8.6vw, 150px); }
.tn-nivel .card-top__card { aspect-ratio: 2 / 3; background: var(--sup-1); box-shadow: inset 0 0 0 1px var(--fio); }
.tn-nivel .card-top__card img { position: absolute; inset: 0; }
.tn-nivel .card__titulo { z-index: 2; }
.tn-nivel .card__etiqueta { z-index: 2; }
.tn-nivel:hover .card-top__n { -webkit-text-stroke-color: rgba(255, 255, 255, .36); }
.tn-nivel:hover .card-top__card { box-shadow: inset 0 0 0 1px var(--fio); }
.tn-nivel:hover img { transform: none; }
.tn-nivel.is-seu .card-top__n, .tn-nivel.is-seu:hover .card-top__n { -webkit-text-stroke-color: var(--t1); }
.tn-nivel.is-seu .card-top__card, .tn-nivel.is-seu:hover .card-top__card { box-shadow: 0 0 0 2px var(--t1); }

@media (max-width: 1100px) {
  .tn-niveis .fileira__trilho { grid-auto-columns: calc((100% - 3 * var(--vao) * 2) / 3.4); }
}
@media (max-width: 760px) {
  .tn-niveis .fileira__cab, .tn-passo .fileira__cab { flex-wrap: wrap; row-gap: 2px; }
  .tn-niveis .fileira__sub, .tn-passo .fileira__sub { flex-basis: 100%; }
  .tn-niveis .fileira__trilho { grid-auto-columns: calc((100% - var(--vao) * 2) / 1.7); }
  .tn-nivel .card-top__n { --top-n: 104px; }
}
@media (max-width: 560px) {
  .tn-abertura__acoes .btn, .destaque__texto .tn-abertura__acoes .btn { flex: 1 1 100%; }
}

/* =====================================================================
   Perguntas
   ===================================================================== */
.tn-quiz { min-height: 100svh; padding: calc(var(--topo-h) + clamp(20px, 3vw, 40px)) 0 var(--e-8); }
.tn-quiz__in { padding-inline: var(--m); }

.tn-quiz__barra { display: flex; align-items: center; justify-content: space-between; gap: var(--e-4); min-height: 44px; }
.tn-voltar {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; margin-left: -10px; border-radius: var(--r-2);
  font-size: var(--tt-peq); color: var(--t2); transition: background var(--d-1) ease, color var(--d-1) ease;
}
.tn-voltar svg { transition: transform var(--d-1) var(--ease); }
@media (hover: hover) {
  .tn-voltar:hover { background: var(--vidro); color: var(--t1); }
  .tn-voltar:hover svg { transform: translateX(-2px); }
}
.tn-quiz__conta { font-size: var(--tt-peq); color: var(--t3); }
.tn-quiz__conta b { color: var(--t1); }
.tn-progresso { margin-top: 6px; height: 2px; }

.tn-palco { padding-top: clamp(32px, 6svh, 64px); }

/* uma pergunta */
.tn-q { display: grid; gap: clamp(24px, 4vw, 64px); max-width: 1400px; }
.tn-q__corpo { display: grid; align-content: start; min-width: 0; }
.tn-q__enunciado {
  margin: 12px 0 clamp(24px, 4svh, 40px); max-width: 22em;
  font-size: clamp(24px, 2.4vw, 34px); font-weight: 400; letter-spacing: -.024em; line-height: 1.16;
}
/* o título recebe o foco a cada pergunta (leitor de tela): sem contorno, não é um controle */
.tn-q__enunciado:focus, .tn-q__enunciado:focus-visible { outline: none; }
.tn-q--longa .tn-q__enunciado { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
.tn-q--texto .tn-q__corpo { max-width: 760px; }
.tn-q--fotos .tn-q__enunciado { max-width: 26em; }

/* foto à esquerda (ilustra a pergunta; não é a resposta) */
.tn-q--com-foto { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.tn-q__foto { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-1); overflow: hidden; background: var(--sup-2); }
.tn-q__foto .tn-foto { position: absolute; inset: 0; }
.tn-q__foto .tn-foto img { filter: var(--foto); }
.tn-q__foto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--fio); pointer-events: none; }

/* opções em texto: linhas largas, tecla à esquerda, ✓ à direita */
.tn-opcoes--texto { display: grid; gap: var(--vao); }
.tn-op {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 16px 12px 14px; border-radius: var(--r-2);
  text-align: left; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.35; letter-spacing: -.008em; color: var(--t1);
  background: var(--sup-1); box-shadow: inset 0 0 0 1px var(--fio);
  transition: background var(--d-1) ease, box-shadow var(--d-1) ease, transform var(--d-1) var(--ease);
}
@media (hover: hover) { .tn-op:hover { background: var(--sup-2); box-shadow: inset 0 0 0 1px var(--fio-2); } }
.tn-op:active { transform: scale(.996); }
.tn-op__tecla {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r-1);
  font-size: var(--tt-mini); color: var(--t3); box-shadow: inset 0 0 0 1px var(--fio-2);
  transition: background var(--d-1) ease, color var(--d-1) ease, box-shadow var(--d-1) ease;
}
.tn-op__txt { flex: 1; min-width: 0; }
.tn-op__marca, .tn-opf__marca {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--t1); color: var(--preto); opacity: 0; transform: scale(.6);
  transition: opacity var(--d-1) ease, transform var(--d-2) var(--ease);
}
.tn-op[aria-checked="true"] { background: var(--sup-2); box-shadow: inset 0 0 0 1.5px var(--t1); }
.tn-op[aria-checked="true"] .tn-op__tecla { background: var(--t1); color: var(--preto); box-shadow: none; }
.tn-op[aria-checked="true"] .tn-op__marca, .tn-opf[aria-checked="true"] .tn-opf__marca { opacity: 1; transform: none; }
.tn-q--op-longas .tn-op { font-size: clamp(15.5px, 1.1vw, 17px); }

/* opções em fotos: 2 ou 3 fotos lado a lado (sem o tratamento de cor: a foto é a resposta) */
.tn-opcoes--fotos { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: clamp(8px, 1vw, 14px); }
.tn-opf {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--r-1); overflow: hidden; background: var(--sup-2);
  transition: box-shadow var(--d-1) ease;
}
.tn-opf::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--fio); pointer-events: none; }
.tn-opf .tn-foto { position: absolute; inset: 0; }
.tn-opf .tn-foto img { transition: transform .8s var(--ease); }
@media (hover: hover) {
  .tn-opf:hover { box-shadow: 0 0 0 2px var(--fio-3); }
  .tn-opf:hover .tn-foto .tn-foto__img { transform: scale(1.05); }
  .tn-opf:hover .tn-foto .tn-foto__fantasma--1 { transform: translate(.75cqi, -.3cqi) scale(1.04); }
  .tn-opf:hover .tn-foto .tn-foto__fantasma--2 { transform: translate(1.5cqi, -.6cqi) scale(1.04); }
}
.tn-opf__letra {
  position: absolute; z-index: 3; left: 10px; top: 10px; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 3px;
  font-size: var(--tt-mini); font-weight: 500; line-height: 1; color: var(--t1);
  background: rgba(0, 0, 0, .62); box-shadow: inset 0 0 0 1px var(--fio-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background var(--d-1) ease, color var(--d-1) ease;
}
.tn-opf__marca { position: absolute; z-index: 3; right: 10px; top: 10px; }
.tn-opf[aria-checked="true"] { box-shadow: 0 0 0 2px var(--t1); }
.tn-opf[aria-checked="true"] .tn-opf__letra { background: var(--t1); color: var(--preto); box-shadow: none; }
.tn-opf:focus-visible { outline: 2px solid var(--t1); outline-offset: 4px; }

/* foto com efeito (filtro CSS vem dos dados; "tremida" = rastro da mesma foto) */
.tn-foto { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; container-type: inline-size; background: var(--sup-2); }
.tn-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* corta 1–2 px das bordas: algumas fotos de banco vêm com um fio claro na borda */
.tn-foto .tn-foto__img { transform: scale(1.02); }
.tn-foto img.is-falhou { visibility: hidden; }
.tn-foto--tremida .tn-foto__img { filter: blur(1px); }
.tn-foto__fantasma { opacity: .5; transform: translate(6px, -2px); transform: translate(.75cqi, -.3cqi); }
.tn-foto__fantasma--2 { opacity: .3; transform: translate(12px, -4px); transform: translate(1.5cqi, -.6cqi); }

/* pé: atalhos de teclado + "Próxima" (aparece quando a pergunta já tem resposta) */
.tn-quiz__pe { display: flex; align-items: center; justify-content: space-between; gap: var(--e-4); min-height: 48px; margin-top: clamp(24px, 4svh, 40px); }
.tn-quiz__pe .btn { margin-left: auto; }
.tn-dica { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; font-size: var(--tt-mini); color: var(--t3); }
.tn-dica > span { display: inline-flex; align-items: center; gap: 6px; }
.tn-dica kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-1);
  font: inherit; font-size: var(--tt-micro); color: var(--t2); box-shadow: inset 0 0 0 1px var(--fio-2);
}
@media (pointer: coarse), (max-width: 760px) { .tn-dica { display: none; } }

/* troca de pergunta */
.tn-palco.is-saindo .tn-q { opacity: 0; transform: translateX(-16px); transition: opacity .17s ease-in, transform .17s ease-in; }
.tn-palco.is-saindo[data-dir="tras"] .tn-q { transform: translateX(16px); }
.tn-palco.is-entrando .tn-q { animation: tn-entra .5s var(--ease) both; }
.tn-palco.is-entrando[data-dir="tras"] .tn-q { animation-name: tn-entra-tras; }
.tn-palco.is-entrando .tn-op, .tn-palco.is-entrando .tn-opf { animation: tn-sobe .55s var(--ease) both; }
.tn-palco.is-entrando .tn-op:nth-child(2), .tn-palco.is-entrando .tn-opf:nth-child(2) { animation-delay: 40ms; }
.tn-palco.is-entrando .tn-op:nth-child(3), .tn-palco.is-entrando .tn-opf:nth-child(3) { animation-delay: 80ms; }
.tn-palco.is-entrando .tn-op:nth-child(4), .tn-palco.is-entrando .tn-opf:nth-child(4) { animation-delay: 120ms; }
@keyframes tn-entra { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes tn-entra-tras { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes tn-sobe { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* "Revelando seu resultado…" (quem já tem conta) */
.tn-revelando { display: grid; justify-items: start; gap: var(--e-5); padding-block: clamp(56px, 14svh, 160px); }
.tn-revelando p { font-size: var(--tt-titulo); font-weight: 400; letter-spacing: -.022em; line-height: 1.15; }
.tn-revelando__arco { color: var(--t1); }
.tn-revelando__traco { stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 20px 20px; animation: tn-revela 1.1s var(--ease-io) forwards; }
@keyframes tn-revela { to { stroke-dashoffset: 0; } }

/* telas altas: as fotos das opções crescem em altura (4:3) */
@media (min-width: 900px) and (min-height: 860px) { .tn-q--fotos[data-n="3"] .tn-opf { aspect-ratio: 4 / 3; } }
@media (max-width: 899px) {
  .tn-q--com-foto { grid-template-columns: 1fr; gap: var(--e-5); }
  .tn-q__foto { aspect-ratio: auto; height: min(28svh, 220px); }
}
@media (max-width: 760px) {
  .tn-palco { padding-top: var(--e-5); }
  .tn-q { gap: var(--e-5); }
  .tn-q__foto { height: min(22svh, 176px); }
  .tn-q__enunciado { font-size: clamp(23px, 6.2vw, 27px); margin: 10px 0 var(--e-5); }
  .tn-q--longa .tn-q__enunciado { font-size: clamp(20px, 5.4vw, 23px); }
  .tn-q--longa .tn-q__foto { height: min(16svh, 128px); }
  .tn-op { min-height: 56px; padding: 11px 14px 11px 12px; gap: 12px; }
  .tn-q--op-longas .tn-op { font-size: 15.5px; }
  /* fotos uma embaixo da outra; 3 fotos ficam mais baixas, 4 viram 2 × 2 */
  .tn-opcoes--fotos { grid-template-columns: 1fr; gap: 10px; }
  .tn-q--fotos[data-n="3"] .tn-opf { aspect-ratio: 2.2 / 1; }
  .tn-q--fotos[data-n="4"] .tn-opcoes--fotos { grid-template-columns: 1fr 1fr; }
  .tn-q--fotos[data-n="4"] .tn-opf { aspect-ratio: 1; }
  .tn-quiz__pe { margin-top: var(--e-5); }
  .tn-quiz__pe .btn { flex: 1; }
}

/* =====================================================================
   Trava: "Seu resultado está pronto" (a foto da abertura, fora de foco)
   ===================================================================== */
.tn-trava .destaque__foto img { filter: var(--foto) blur(10px) brightness(.8); transform: scale(1.06); }
.tn-trava .titulo-destaque { max-width: 11em; }
.tn-trava .titulo-destaque:focus { outline: none; }
.tn-trava__nota { margin-top: 18px; }

/* =====================================================================
   Resultado
   ===================================================================== */
/* destaque: número vazado grande (como a fileira "Top 10") + nome do nível */
.tn-res__cab { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: clamp(14px, 1.8vw, 28px); }
.tn-res__num {
  margin-left: -.05em; font-size: clamp(112px, 11vw, 172px); font-weight: 500; line-height: .74; letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .78); paint-order: stroke fill; user-select: none;
}
.tn-res__nomes { display: grid; justify-items: start; min-width: 0; }
.tn-res__destaque .destaque__texto .tn-res__titulo { margin-top: 10px; }
.tn-res__titulo:focus { outline: none; }
.tn-res__meta { margin-top: 12px; }
.tn-res__perfil { font-weight: 400; opacity: .62; margin-left: .3em; }
.tn-medidor { display: flex; gap: 4px; width: min(100%, 360px); margin-top: 26px; }
.tn-medidor li { flex: 1; height: 2px; border-radius: 1px; background: var(--t4); }
.tn-medidor li.is-cheio { background: var(--t2); animation: tn-enche .6s var(--ease) both; animation-delay: calc(200ms + var(--k) * 90ms); }
.tn-medidor li.is-atual { background: var(--t1); }
@keyframes tn-enche { from { background: var(--t4); } }
.tn-res__destaque .destaque__texto .desc { margin-top: 18px; }

/* blocos de texto do resultado */
.tn-bloco { padding-inline: var(--m); margin-top: var(--entre-blocos); }

/* áreas: título à esquerda, barras à direita */
.tn-areas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.tn-areas__cab .desc { margin-top: 12px; }
.tn-barras { display: grid; gap: 22px; padding-top: 6px; }
.tn-barras.revela { opacity: 1; transform: none; }   /* a lista aparece já; só as barras enchem */
.tn-barra { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: baseline; gap: 10px 12px; }
.tn-barra__nome { font-size: var(--tt-texto); color: var(--t1); }
.tn-barra__tag { font-size: var(--tt-micro); color: var(--t3); }
.tn-barra__pct { grid-column: 4; font-size: var(--tt-peq); color: var(--t2); }
.tn-barra__trilho { position: relative; grid-column: 1 / -1; height: 2px; border-radius: 1px; background: var(--fio-2); overflow: hidden; }
.tn-barra__trilho i {
  position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: var(--t2);
  transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--ease) calc(var(--k, 0) * 90ms);
}
.tn-barras.is-visivel .tn-barra__trilho i { transform: none; }
.tn-barra.is-forte .tn-barra__trilho i { background: var(--t1); }
.tn-barra.is-forte .tn-barra__pct { color: var(--t1); }

/* próximo passo: 3 guias grandes (os cards da base, com o tempo de leitura) */
.tn-passo { margin-top: var(--entre-blocos); --n: 3; --peek: 0; }
.tn-guia .card__t { display: block; overflow: visible; -webkit-line-clamp: none; }
.tn-guia__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tn-passo .card__titulo { font-size: 15px; }
/* seu caminho: cards largos de série (página do perfil + cursos) */
.tn-serie__sobre { font-size: var(--tt-micro); font-weight: 500; color: var(--t2); }
.tn-serie .serie__texto .marca { margin-bottom: 4px; }
@media (max-width: 1100px) { .tn-passo { --n: 2; --peek: .3; } }
@media (max-width: 760px) { .tn-passo { --n: 1; --peek: .3; } }

/* cartão para os stories */
.tn-cartao { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.tn-cartao__fig { min-width: 0; }
.tn-cartao__moldura {
  position: relative; display: grid; place-items: center; aspect-ratio: 9 / 16; border-radius: var(--r-2); overflow: hidden;
  background: var(--sup-1); box-shadow: inset 0 0 0 1px var(--fio);
}
.tn-cartao__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--d-3) var(--ease); }
.tn-cartao__moldura.is-pronto .tn-cartao__img { opacity: 1; }
.tn-cartao__moldura::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--fio-2); pointer-events: none; }
.tn-cartao__espera { padding: 24px; }
.tn-cartao__texto { display: grid; justify-items: start; }
.tn-cartao__texto .desc { margin-top: 12px; }
.tn-cartao__texto .acoes { margin-top: 24px; }
.tn-cartao__texto .nota { margin-top: 16px; }

/* gabarito */
.tn-rev__cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.tn-rev__cab .desc { margin-top: 10px; }
.tn-rev__seta { transition: transform var(--d-1) var(--ease); }
[aria-expanded="true"] > .tn-rev__seta { transform: rotate(180deg); }
.tn-rev__lista { margin-top: 32px; border-top: 1px solid var(--fio); }
.tn-rev__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; padding-block: 28px; border-bottom: 1px solid var(--fio); }
.tn-rev__num { font-size: var(--tt-peq); color: var(--t3); line-height: 1.6; }
.tn-rev__corpo { display: grid; justify-items: start; gap: 12px; max-width: 760px; min-width: 0; }
.tn-rev__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: var(--tt-mini); color: var(--t3); }
.tn-rev__selo { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--t2); }
.is-certa > .tn-rev__corpo .tn-rev__selo svg { color: var(--ok); }
.tn-rev__q { font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; text-wrap: pretty; }
.tn-rev__fotos { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 132px)); gap: 8px; width: 100%; }
.tn-rev__fotos li { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-1); overflow: hidden; background: var(--sup-2); }
.tn-rev__fotos li::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--fio); pointer-events: none; }
.tn-rev__fotos li.is-certa::after { box-shadow: inset 0 0 0 2px var(--t1); }
.tn-rev__fotos .tn-foto { position: absolute; inset: 0; }
.tn-rev__letra {
  position: absolute; z-index: 3; left: 6px; top: 6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 3px;
  font-size: 11px; font-weight: 500; line-height: 1; background: rgba(0, 0, 0, .62); box-shadow: inset 0 0 0 1px var(--fio-2);
}
.tn-rev__marca { position: absolute; z-index: 3; right: 6px; top: 6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--t1); color: var(--preto); }
.tn-rev__marca svg { width: 12px; height: 12px; }
.is-sua:not(.is-certa) .tn-rev__marca { background: rgba(0, 0, 0, .62); color: var(--t1); box-shadow: inset 0 0 0 1px var(--fio-2); }
.tn-rev__resps { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: var(--tt-peq); }
.tn-rev__resps dt { font-size: var(--tt-micro); color: var(--t3); }
.tn-rev__resps dd { color: var(--t1); }
.tn-rev__resp--certa dd { color: var(--t1); }
.tn-rev__exp { font-size: 15px; line-height: 1.6; color: var(--t2); max-width: 40em; }
.tn-rev__guia { display: inline; font-size: var(--tt-peq); }
.tn-rev__guia .seta, .tn-rev__guia .tn-fora { display: inline-block; margin-left: 6px; vertical-align: -3px; }

/* refazer */
.tn-fim { display: grid; justify-items: start; gap: 8px; margin-bottom: var(--entre-blocos); }
.tn-fim .btn { margin-top: 16px; }

@media (max-width: 900px) {
  .tn-areas { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tn-res__num { font-size: 96px; -webkit-text-stroke-width: 1.25px; }
  .tn-res__destaque .destaque__texto .titulo-destaque { font-size: 34px; }
  .tn-serie { aspect-ratio: 4 / 3; }
  .tn-cartao { grid-template-columns: 1fr; }
  .tn-cartao__fig { width: min(64%, 260px); }
  .tn-rev__item { grid-template-columns: 32px minmax(0, 1fr); gap: 0 10px; padding-block: 24px; }
  .tn-rev__fotos { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
}

/* ---------- depois do teste (na abertura): como usar, por que isso importa, perguntas frequentes e a ponte ----------
   Cópia dos blocos .fv-uso, .fv-faq e .fv-curso de assets/css/ferramentas-v2.css (seção 9), que esta página não carrega:
   mudou lá, mude aqui também. Ficam dentro de #abertura, então somem enquanto o teste está na tela. */
.fv-uso { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); margin-top: var(--entre-blocos); }
.fv-passos, .fv-uso__texto { margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--fio); }
.fv-passos { display: grid; gap: 18px; counter-reset: fv-passo; }
.fv-passos li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; counter-increment: fv-passo; }
.fv-passos li::before { content: counter(fv-passo); font-size: clamp(26px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.03em; line-height: 1; color: var(--t3); font-variant-numeric: tabular-nums; }
.fv-passos p { font-size: 16px; line-height: 1.55; color: var(--t1); max-width: 34em; text-wrap: pretty; }
.fv-uso__texto { font-size: var(--tt-desc); line-height: 1.6; color: var(--t2); padding-right: max(0px, 100% - 30em); text-wrap: pretty; }   /* o fio vai até o fim da coluna; o texto continua com no máximo 30em */

.fv-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(24px, 4vw, 64px); align-items: start; margin-top: var(--entre-blocos); }
.fv-faq__lista { border-bottom: 1px solid var(--fio); }   /* vai até o fim da coluna, como os fios de "Como usar" e a ponte */
.fv-faq__item { border-top: 1px solid var(--fio); }
.fv-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; border-radius: 2px; }
.fv-faq__item summary::-webkit-details-marker { display: none; }
.fv-faq__item summary:focus-visible { outline: 2px solid var(--t1); outline-offset: 2px; }
/* + que vira − ao abrir */
.fv-faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px; color: var(--t3);
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: background-size var(--d-2) var(--ease), color var(--d-1) ease;
}
.fv-faq__item summary:hover::after, .fv-faq__item[open] summary::after { color: var(--t1); }
.fv-faq__item[open] summary::after { background-size: 100% 1.5px, 1.5px 0; }
.fv-faq__q { font-size: 17px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; color: var(--t1); text-wrap: pretty; }
.fv-faq__r { padding-bottom: 24px; max-width: 42em; }
.fv-faq__r p { font-size: 15.5px; line-height: 1.65; color: var(--t2); text-wrap: pretty; }
.fv-faq__r a { color: var(--t1); text-decoration: underline; text-decoration-color: var(--fio-3); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color var(--d-1) ease; }
.fv-faq__r a:hover { text-decoration-color: var(--t1); }

/* ponte para o curso: um "episódio" do curso (capa 16:9 com a aula) ao lado da chamada */
.fv-curso { margin-top: var(--entre-blocos); }
.fv-curso__caixa {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(12px, 1.2vw, 16px) clamp(20px, 4vw, 56px) clamp(12px, 1.2vw, 16px) clamp(12px, 1.2vw, 16px);
  border-radius: var(--r-2); background: var(--sup-1); box-shadow: inset 0 0 0 1px var(--fio);
}
.fv-curso__capa { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-1); overflow: hidden; background: var(--sup-2); }
.fv-curso__capa img { width: 100%; height: 100%; object-fit: cover; filter: var(--foto); }
.fv-curso__capa .etiqueta { position: absolute; left: 12px; bottom: 12px; }
.fv-curso__t { margin-top: 12px; font-size: var(--tt-titulo); font-weight: 400; letter-spacing: -.022em; line-height: 1.15; text-wrap: balance; max-width: 18em; }
.fv-curso__p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--t2); max-width: 34em; text-wrap: pretty; }
.fv-curso .acoes { margin-top: 24px; }
.tn-abertura > .fv-curso:last-child { margin-bottom: var(--entre-blocos); }

@media (max-width: 900px) {
  .fv-uso, .fv-faq { grid-template-columns: 1fr; }
  .fv-uso { gap: 48px; }
}
@media (max-width: 760px) {
  .fv-passos li { grid-template-columns: 36px minmax(0, 1fr); }
  .fv-faq__q { font-size: 16px; }
  .fv-curso__caixa { grid-template-columns: 1fr; gap: 18px; padding: 10px 10px 20px; }
  .fv-curso__texto { padding-inline: 8px; }
  .fv-curso .acoes .btn { flex: 1 1 100%; }
}
