/* PAGINAS DE CATEGORIA e BLOG da Filamentos RJ (29/11/2026). Carregado so nessas paginas, DEPOIS do home.css: reaproveita
   os tokens (shared/tokens.css) e os componentes .t- da home (vitrine, cartao, FAQ, botoes). Aqui so o que e novo:
   topo da pagina, migalha, texto corrido (.t-prosa), tabela, lista de posts e links relacionados. Sem animacao nova. */

/* ---------- topo: faixa azul da marca, mais baixa que a abertura da home */
.t-pg-topo .t-pg-caixa { padding: 26px 18px 28px; border-radius: 28px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #0E6FA8 0%, rgba(14, 111, 168, 0) 60%), linear-gradient(160deg, #0A4A75 0%, var(--p-azul-900) 55%, #062E49 100%); }
.t-pg-topo h1 { font-size: clamp(1.75rem, 6.4vw, 3rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; overflow-wrap: break-word; max-width: 18em; }
.t-pg-lead { margin-top: 14px; font-size: clamp(1rem, 1.5vw, 1.125rem); color: rgba(255, 255, 255, .84); max-width: 42em; }
.t-pg-meta { margin-top: 16px; font-size: .875rem; color: rgba(255, 255, 255, .68); }
.t-migalha { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 14px; font-size: .8125rem; color: rgba(255, 255, 255, .68); }
.t-migalha a { display: inline-flex; align-items: center; min-height: 32px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .t-pg-topo .t-pg-caixa { padding: 44px 56px 48px; } }
.t-sub .t-vit { padding-block: 36px 16px; }
.t-sub .t-ent { padding-block: 24px 8px; }

/* ---------- texto corrido (categoria e post) */
.t-pg-texto { padding-block: 40px 8px; }
.t-post-corpo { padding-block: 36px 8px; }
.t-prosa { max-width: 46em; font-size: 1.0625rem; line-height: 1.65; }
.t-prosa h2 { margin: 1.9em 0 .55em; font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.t-prosa > h2:first-child { margin-top: 0; }
.t-prosa p { margin-bottom: 1em; color: var(--ink); }
.t-prosa ul, .t-prosa ol { margin: 0 0 1.1em 1.25em; display: grid; gap: .5em; }
.t-prosa ul { list-style: disc; }
.t-prosa ol { list-style: decimal; }
.t-prosa a { color: var(--azul-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.t-prosa .t-fontes, .t-prosa .t-nota-post { font-size: .875rem; line-height: 1.5; color: var(--mut); }
.t-prosa .t-nota-post { padding: 12px 14px; border-radius: var(--r-sm); background: var(--sur); }
.t-prosa .t-fontes { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--linha); }
@media (hover: hover) and (pointer: fine) { .t-prosa a:hover { color: var(--ink); } }
/* tabela: rola de lado dentro da propria caixa no celular (a pagina nunca ganha rolagem horizontal) */
.t-tabela { margin: 0 0 1.2em; overflow-x: auto; overscroll-behavior-x: contain; border-radius: var(--r); background: var(--sur); }
.t-tabela table { width: 100%; min-width: 30em; border-collapse: collapse; font-size: .9375rem; line-height: 1.4; }
.t-tabela th, .t-tabela td { padding: 11px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--linha); }
.t-tabela thead th { border-top: 0; font-family: var(--disp); font-weight: 700; }
.t-tabela tbody th { font-weight: 700; }

/* ---------- perguntas da pagina (mesmo componente do FAQ da home, sem a coluna lateral) */
.t-sub .t-faq { padding-block: 40px 24px; }
.t-pg-faq .t-h2 { margin-bottom: 8px; }
.t-pg-faq .t-faq-lista { max-width: 46em; }

/* ---------- links relacionados e lista de posts */
.t-pg-rel { padding-block: 32px 72px; }
.t-pg-rel h2 { font-size: 1.25rem; font-weight: 900; margin-bottom: 14px; }
.t-pg-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.t-pg-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1em; border-radius: var(--r-pill); background: var(--sur); font-family: var(--disp); font-weight: 700; font-size: .9375rem; touch-action: manipulation; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.t-pg-chips a:active { transform: scale(.97); }
.t-posts { list-style: none; display: grid; gap: 12px; }
.t-posts a { display: block; height: 100%; padding: 20px; border-radius: 20px; background: var(--sur); touch-action: manipulation; transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 200ms ease; }
.t-posts a:active { transform: scale(.985); }
.t-posts b { display: block; font-family: var(--disp); font-size: 1.125rem; font-weight: 900; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.t-posts span { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--mut); }
.t-posts small { display: block; margin-top: 12px; font-size: .8125rem; font-weight: 700; color: var(--azul-ink); }
@media (min-width: 700px) { .t-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .t-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (hover: hover) and (pointer: fine) {
  .t-pg-chips a:hover { background: var(--sur-2); }
  .t-posts a:hover { background: #fff; box-shadow: var(--sh); }
}
.t-blog-lista { padding-block: 36px 72px; }
/* a vitrine das paginas internas alinha com o topo e o texto (na home ela e mais larga para caber 7 colunas) */
.t-sub .t-vit > .t-wrap { width: min(100% - 32px, var(--max)); }
@media (max-width: 380px) { .t-sub .t-vit > .t-wrap { width: calc(100% - 24px); } }
@media (min-width: 1040px) { .t-sub .t-grade { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
