/* — tipos de letra próprios — */
@font-face {
  font-family: "Oswald TR";
  src: url("assets/fonts/oswald-var.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans TR";
  src: url("assets/fonts/sourcesans-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans TR Fallback";
  src: local("Helvetica Neue"), local("Helvetica"), local("Arial"), local("Liberation Sans");
  size-adjust: 92.27%;
  ascent-override: 111%;
  descent-override: 43.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Oswald TR Fallback";
  src: local("Arial Narrow"), local("Helvetica Neue Condensed"), local("Liberation Sans Narrow");
  size-adjust: 96.6%;
  ascent-override: 123.5%;
  descent-override: 29.9%;
  line-gap-override: 0%;
}

/* — base — */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #111;
  font-family: "Source Sans TR", "Source Sans TR Fallback", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-synthesis-weight: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #17795e; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #17795e;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* — variáveis — */
:root {
  --tf-verde: #17795e;
  --tf-verde-fundo: #0f5b46;
  --tf-cinza: #6b6b6b;
  --tf-linha: #e3e3e3;
  --tf-superficie: #f4f4f4;
  --tf-capsula: 999px;
  --tf-caixa: 1180px;
}

/* — tipografia editorial — */
h1, h2, h3, .tf-marca__nome, .tf-etiqueta, .tf-accao {
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); }
p { margin: 0 0 1.05em; }
.tf-etiqueta {
  display: inline-block;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tf-verde);
}
.tf-assinatura {
  font-size: 0.86rem;
  color: var(--tf-cinza);
  letter-spacing: 0.01em;
}
.tf-legenda {
  font-size: 0.83rem;
  color: var(--tf-cinza);
  margin: 8px 0 0;
  line-height: 1.45;
}
.tf-medida { max-width: 38em; }
.tf-oculto {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* — grelha geral — */
.tf-caixa {
  width: 100%;
  max-width: var(--tf-caixa);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 34px);
}
main > section { padding-block: 34px; }
main > section:nth-of-type(2n) { padding-block: 52px; }
#tf-primeira { padding-block: 22px 40px; }
#tf-agenda { padding-block: 46px; background: #fff; }
#tf-normas { padding-block: 58px 40px; }

/* — cabeçalho da secção — */
.tf-cabeco { margin-bottom: 22px; }
.tf-cabeco__titulo { display: block; }
.tf-cabeco__nota {
  margin: 8px 0 0;
  color: var(--tf-cinza);
  max-width: 44em;
}

/* — botões e cápsulas — */
.tf-accao {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 26px;
  border-radius: var(--tf-capsula);
  border: 2px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.tf-accao--cheia { background: var(--tf-verde); color: #fff; }
.tf-accao--cheia:hover { background: var(--tf-verde-fundo); transform: translateX(4px); }
.tf-accao--traco { border-color: var(--tf-verde); color: var(--tf-verde); background: #fff; }
.tf-accao--traco:hover { background: var(--tf-verde); color: #fff; transform: translateX(4px); }
.tf-accao--leve {
  min-height: 40px;
  padding: 6px 16px;
  color: var(--tf-verde);
  background: transparent;
  font-size: 0.85rem;
}
.tf-accao--leve:hover { background: var(--tf-superficie); transform: translateX(4px); }
.tf-accao svg { width: 15px; height: 15px; flex: none; }

/* — topo — */
.tf-topo { background: #fff; }
.tf-topo__fixa {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
}
.tf-topo__barra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
main > section[id], article[id], .tf-artigo[id] { scroll-margin-top: 84px; }
.tf-marca {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #111;
}
.tf-marca__selo {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px 3px 11px 3px;
  background: var(--tf-verde);
  color: #fff;
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}
.tf-marca__nome {
  font-size: 1.42rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tf-marca__nome em { font-style: normal; color: var(--tf-verde); }
.tf-menu__lista {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0; padding: 0;
}
.tf-menu__lista a {
  text-decoration: none;
  color: #111;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 12px 0;
  display: inline-block;
}
.tf-menu__lista a:hover { color: var(--tf-verde); }
.tf-abrir {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid #111;
  border-radius: var(--tf-capsula);
  background: #fff;
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
}
.tf-rubricas { padding-block: 4px 10px; }
.tf-rubricas__lista {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.tf-chip {
  display: inline-block;
  padding: 7px 17px;
  min-height: 38px;
  line-height: 24px;
  border-radius: var(--tf-capsula);
  background: var(--tf-superficie);
  color: #111;
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 600;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.tf-chip:hover { background: #e4e9e7; transform: translateY(-2px); }
.tf-chip[aria-current="true"] { background: var(--tf-verde); color: #fff; }

/* — rodapé — */
.tf-rodape { background: #fff; padding-block: 46px 30px; }
.tf-rodape__grelha {
  display: grid;
  gap: 26px 30px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.tf-rodape h2 {
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tf-cinza);
  margin-bottom: 12px;
}
.tf-rodape ul { list-style: none; margin: 0; padding: 0; }
.tf-rodape li { margin-bottom: 7px; }
.tf-rodape a { color: #111; text-decoration: none; font-size: 0.94rem; }
.tf-rodape a:hover { color: var(--tf-verde); text-decoration: underline; }
.tf-rodape__nota {
  margin-top: 30px;
  font-size: 0.82rem;
  color: var(--tf-cinza);
  max-width: 62em;
}
.tf-rodape__nota a { color: var(--tf-verde); text-decoration: underline; }

/* — primeira página — */
.tf-primeira__grelha { display: grid; gap: 30px; }
.tf-destaque__foto { margin: 0 0 16px; }
.tf-destaque__foto img {
  width: 100%;
  aspect-ratio: 37 / 20;
  object-fit: cover;
  border-radius: 4px 22px 4px 22px;
}
.tf-destaque h1 { margin: 10px 0 12px; }
.tf-destaque__lead {
  font-size: 1.12rem;
  color: #2a2a2a;
  max-width: 34em;
}
.tf-destaque__pe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 18px;
}
.tf-coluna { align-self: start; background: var(--tf-superficie); padding: 22px 20px; border-radius: 4px 22px 4px 22px; }
.tf-coluna > h2 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tf-cinza);
  margin-bottom: 14px;
}
.tf-coluna ol { list-style: none; margin: 0; padding: 0; counter-reset: tfc; }
.tf-coluna li { counter-increment: tfc; padding: 13px 0; }
.tf-coluna li + li { border-top: 1px solid var(--tf-linha); }
.tf-coluna li a {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  text-decoration: none;
  color: #111;
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.22;
}
.tf-coluna li a::before {
  content: counter(tfc);
  color: var(--tf-verde);
  font-size: 1.25rem;
  line-height: 1;
  padding-top: 2px;
}
.tf-coluna__corpo { min-width: 0; }
.tf-coluna li a:hover { color: var(--tf-verde); }
.tf-coluna li .tf-etiqueta { display: block; font-size: 0.71rem; margin-bottom: 3px; }

/* — últimas (lista de materiais) — */
.tf-lista { display: grid; gap: 30px 26px; grid-template-columns: repeat(12, 1fr); }
.tf-ficha { grid-column: span 12; display: grid; gap: 14px; }
.tf-ficha--media { grid-column: span 6; }
.tf-ficha--curta { grid-column: span 4; }
.tf-ficha--larga { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.tf-ficha--larga.tf-ficha--espelho { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tf-ficha--larga.tf-ficha--espelho .tf-ficha__foto { order: 2; }
.tf-ficha__foto { margin: 0; }
.tf-ficha__foto img {
  width: 100%;
  object-fit: cover;
  border-radius: 3px 16px 3px 16px;
}
.tf-ficha--larga .tf-ficha__foto img { aspect-ratio: 4 / 3; }
.tf-ficha--media .tf-ficha__foto img { aspect-ratio: 16 / 9; }
.tf-ficha--curta .tf-ficha__foto img { aspect-ratio: 3 / 2; }
.tf-ficha__titulo { margin: 7px 0 8px; }
.tf-ficha--larga .tf-ficha__titulo { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.tf-ficha__titulo a { color: #111; text-decoration: none; }
.tf-ficha__titulo a:hover { color: var(--tf-verde); }
.tf-ficha__lead { color: #333; margin-bottom: 10px; max-width: 36em; }
.tf-ficha--curta .tf-ficha__lead { font-size: 0.95rem; }
.tf-ficha__pe { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-bottom: 8px; }
.tf-ficha[hidden] { display: none; }
.tf-vazio { color: var(--tf-cinza); }

/* — grande análise e regras — */
.tf-ensaio { display: grid; gap: 30px; align-items: start; }
.tf-ensaio__texto p { max-width: 38em; }
.tf-ensaio__foto { margin: 0; align-self: start; }
.tf-ensaio__foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px 20px 3px 20px; }
.tf-citacao {
  margin: 26px 0;
  padding-left: 20px;
  border-left: 4px solid var(--tf-verde);
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem);
  line-height: 1.28;
  max-width: 26em;
}
.tf-pontos { list-style: none; margin: 20px 0 0; padding: 0; max-width: 44em; }
.tf-pontos li { position: relative; padding: 0 0 12px 30px; }
.tf-pontos li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 13px; height: 3px;
  background: var(--tf-verde);
}

/* — agenda — */
.tf-agenda__moldura {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.tf-agenda__tabela { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; }
.tf-agenda__tabela caption {
  text-align: left;
  padding-bottom: 12px;
  color: var(--tf-cinza);
  font-size: 0.9rem;
}
.tf-agenda__tabela thead th {
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: 0.83rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 2px solid var(--tf-verde);
  white-space: nowrap;
}
.tf-agenda__tabela td, .tf-agenda__tabela tbody th { padding: 12px 14px; vertical-align: top; font-size: 0.95rem; }
.tf-agenda__tabela tbody th { font-weight: 700; white-space: nowrap; }
.tf-agenda__tabela tbody tr:nth-child(2n) { background: var(--tf-superficie); }
.tf-agenda__tabela tbody tr.tf-agenda__grupo { background: #fff; }
.tf-agenda__mes {
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--tf-verde);
  padding-top: 20px;
}
.tf-agenda__pe { margin-top: 16px; color: var(--tf-cinza); font-size: 0.9rem; max-width: 54em; }

/* — recintos — */
.tf-recintos { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tf-recinto { background: var(--tf-superficie); padding: 22px 22px 26px; border-radius: 4px 24px 4px 24px; }
.tf-recinto h3 { margin-bottom: 10px; }
.tf-recinto dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; font-size: 0.93rem; }
.tf-recinto dt { color: var(--tf-cinza); }
.tf-recinto dd { margin: 0; }
.tf-recintos__foto { margin: 26px 0 0; }
.tf-recintos__foto img { width: 100%; aspect-ratio: 40 / 11; object-fit: cover; border-radius: 4px 24px 4px 24px; }

/* — arquivo — */
.tf-arquivo__moldura { width: 100%; overflow-x: auto; }
.tf-arquivo__tabela { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.tf-arquivo__tabela caption { text-align: left; padding-bottom: 12px; color: var(--tf-cinza); font-size: 0.9rem; }
.tf-arquivo__tabela thead th {
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: 0.83rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 2px solid #111;
}
.tf-arquivo__tabela td, .tf-arquivo__tabela tbody th { padding: 11px 14px; font-size: 0.95rem; vertical-align: top; }
.tf-arquivo__tabela tbody th { font-weight: 700; white-space: nowrap; }
.tf-arquivo__tabela tbody tr:nth-child(2n) { background: var(--tf-superficie); }

/* — glossário — */
.tf-glossario__foto { margin: 0 0 26px; }
.tf-glossario__foto img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 30%; border-radius: 3px 20px 3px 20px; }
.tf-verbetes { columns: 2; column-gap: 40px; margin: 0; }
.tf-verbete { break-inside: avoid; margin-bottom: 18px; }
.tf-verbete dt {
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
}
.tf-verbete dt span { color: var(--tf-verde); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; }
.tf-verbete dd { margin: 3px 0 0; font-size: 0.95rem; color: #333; }

/* — normas — */
.tf-normas { display: grid; gap: 28px 34px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.tf-normas p { max-width: 40em; }

/* — dúvidas — */
.tf-duvidas { width: 100%; }
.tf-duvida { border-bottom: 1px solid var(--tf-linha); }
.tf-duvida__botao {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 14px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.28rem);
  color: #111;
}
.tf-duvida__botao:hover { color: var(--tf-verde); }
.tf-duvida__sinal {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: var(--tf-capsula);
  background: var(--tf-superficie);
  color: var(--tf-verde);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.tf-duvida__botao[aria-expanded="true"] .tf-duvida__sinal { transform: rotate(45deg); background: var(--tf-verde); color: #fff; }
.tf-duvida__resposta { padding: 0 4px 18px; max-width: 52em; }
.tf-duvida__resposta[hidden] { display: none; }

/* — página de artigo — */
.tf-migalhas { padding-block: 16px 4px; font-size: 0.86rem; color: var(--tf-cinza); }
.tf-migalhas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 auto; padding: 0; max-width: 44rem; }
.tf-migalhas li::after { content: "/"; margin-left: 8px; color: var(--tf-linha); }
.tf-migalhas li:last-child::after { content: ""; }
.tf-migalhas a { color: var(--tf-cinza); text-decoration: none; }
.tf-migalhas a:hover { color: var(--tf-verde); }
.tf-artigo { padding-block: 8px 40px; }
.tf-artigo > .tf-etiqueta,
.tf-artigo h1,
.tf-artigo__pe,
.tf-corpo,
.tf-autor { max-width: 44rem; margin-inline: auto; }
.tf-artigo h1 { margin: 12px auto 14px; }
.tf-artigo__pe { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-bottom: 22px; }
.tf-artigo__foto { margin: 0 0 28px; }
.tf-artigo__foto img { width: 100%; aspect-ratio: 37 / 20; object-fit: cover; border-radius: 4px 24px 4px 24px; }
.tf-corpo { font-size: 1.06rem; }
.tf-corpo h2 { margin: 32px 0 12px; }
.tf-corpo h3 { margin: 24px 0 10px; }
.tf-corpo figure { margin: 26px 0; }
.tf-corpo figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px 18px 3px 18px; }
.tf-autor {
  margin-top: 34px;
  width: 100%;
  padding: 20px 22px;
  background: var(--tf-superficie);
  border-radius: 4px 24px 4px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.tf-autor__inicial {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: var(--tf-capsula);
  background: var(--tf-verde);
  color: #fff;
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: 1.1rem;
}
.tf-autor p { margin: 4px 0 0; font-size: 0.94rem; color: #333; }
.tf-tambem { padding-block: 10px 46px; }
.tf-tambem__lista { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; margin: 0; padding: 0; }
.tf-tambem__lista li { padding-top: 14px; border-top: 2px solid var(--tf-verde); }
.tf-tambem__lista a {
  font-family: "Oswald TR", "Oswald TR Fallback", "Arial Narrow", Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #111;
  text-decoration: none;
  display: block;
  margin-top: 4px;
}
.tf-tambem__lista a:hover { color: var(--tf-verde); }

/* — páginas jurídicas — */
.tf-juridico { padding-block: 22px 50px; }
.tf-juridico h1 { margin-bottom: 10px; }
.tf-juridico h2 { margin: 30px 0 10px; }
.tf-juridico h3 { margin: 22px 0 8px; }
.tf-juridico > :not(.tf-blocos) { max-width: 48rem; margin-inline: auto; }
.tf-juridico .tf-blocos { margin-block: 26px; }
.tf-juridico ul, .tf-juridico ol { padding-left: 20px; }
.tf-juridico li { margin-bottom: 7px; }
.tf-juridico__data { color: var(--tf-cinza); font-size: 0.9rem; margin-bottom: 24px; }
.tf-blocos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.tf-bloco { background: var(--tf-superficie); padding: 20px 22px; border-radius: 4px 22px 4px 22px; }
.tf-bloco h2 { margin-top: 0; font-size: 1.2rem; }
.tf-bloco p { margin-bottom: 0; }

/* — aviso e subir — */
.tf-aviso {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.14);
  padding: 16px 0 18px;
}
.tf-aviso[hidden] { display: none; }
.tf-aviso__interior { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; justify-content: space-between; }
.tf-aviso__texto { margin: 0; font-size: 0.92rem; max-width: 46em; }
.tf-aviso__accoes { display: flex; flex-wrap: wrap; gap: 10px; }
.tf-subir {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 50;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--tf-capsula);
  background: var(--tf-verde);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.tf-subir--vista { opacity: 1; visibility: visible; }
.tf-subir:hover { background: var(--tf-verde-fundo); transform: translateY(-4px); }
.tf-subir svg { width: 20px; height: 20px; }

/* — adaptação — */
@media (min-width: 700px) {
  .tf-ensaio { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 36px; }
  .tf-ensaio--invertido { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .tf-ensaio--invertido .tf-ensaio__foto { order: -1; }
  .tf-ensaio__foto { position: sticky; top: 84px; }
}
@media (min-width: 940px) {
  body { font-size: 17.5px; }
  .tf-primeira__grelha { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 38px; }
  .tf-rodape__grelha { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; }
}
@media (max-width: 939px) {
  .tf-ficha--media, .tf-ficha--curta { grid-column: span 6; }
  .tf-ficha--larga { grid-template-columns: minmax(0, 1fr); }
  .tf-ficha--larga.tf-ficha--espelho { grid-template-columns: minmax(0, 1fr); }
  .tf-ficha--larga.tf-ficha--espelho .tf-ficha__foto { order: 0; }
  .tf-ficha--larga .tf-ficha__foto img { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .tf-topo__barra { min-height: 56px; }
  .tf-abrir { display: inline-flex; }
  .tf-menu {
    display: none;
    width: 100%;
    padding-bottom: 12px;
  }
  .tf-menu--aberto { display: block; }
  .tf-menu__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .tf-menu__lista li + li { border-top: 1px solid var(--tf-linha); }
  .tf-menu__lista a { padding: 13px 2px; }
  .tf-ficha--media, .tf-ficha--curta { grid-column: span 12; }
  .tf-verbetes { columns: 1; }
  .tf-marca__nome { font-size: 1.22rem; }
  .tf-recintos__foto img { aspect-ratio: 16 / 9; }
  main > section, main > section:nth-of-type(2n) { padding-block: 30px; }
  #tf-normas { padding-block: 38px 26px; }
}
