/* ============================================================
   TGAD — blog (/site/blog/)
   Mesma direção do resto do site (styles.css + home.css): branco, blocos no marinho e no vermelho do logo, Archivo pesada nos
   títulos, linhas retas e a etiqueta vermelha no trecho em destaque do título. Prefixo b-.
   As páginas são geradas por scripts/gerar-blog.mjs (docs/mapa/blog.md); este CSS é escrito à mão.
   ============================================================ */

body[data-page="blog"] main { overflow-x: clip; }   /* clip e não hidden: hidden mata o sticky do sumário */
body[data-page="blog"] .site-footer { margin-top: 0; }
body[data-page="blog"] .footer-bottom a { display: inline-flex; align-items: center; min-height: 24px; }
/* texto só para leitor de tela (o aviso "abre em nova aba" dos links de fora) */
.b-so-leitor { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* as âncoras do sumário não podem parar embaixo do cabeçalho que fica grudado no topo */
.b-prosa h2, .b-prosa h3, .b-faq { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- topo (índice e post): bloco marinho, como o hero das páginas locais ---------- */
.b-topo { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-600); }
.b-topo::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(90% 70% at 100% 0%, rgba(42, 90, 160, .6), transparent 70%); }
.b-topo .h-asa-fundo { position: absolute; right: -40px; top: 0; height: 100%; width: 420px; z-index: -1; pointer-events: none; }
.b-topo .h-asa-fundo path { fill: #fff; opacity: .05; }
.b-topo :focus-visible { outline-color: #fff; }
.b-topo__conteudo, .b-topo__grade { padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(36px, 4.5vw, 64px); }
.b-topo h1 {
  margin: 0; font-size: clamp(2rem, 1rem + 2.5vw, 3.25rem); font-weight: 850; font-stretch: 112%; line-height: 1.04;
  letter-spacing: -.025em; color: #fff; text-wrap: balance;
}
.b-topo--post h1 { font-size: clamp(1.875rem, 1rem + 2.2vw, 2.9rem); }
/* a etiqueta vermelha: aqui o trecho pode quebrar em mais de uma linha, cada pedaço com o seu fundo */
.b-topo h1 em {
  display: inline; font-style: italic; font-weight: 850; color: #fff; background: var(--red-marca); padding: .02em .2em .06em; border-radius: 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.b-topo__lead { margin: 20px 0 0; max-width: 56ch; font-size: 1.125rem; line-height: 1.6; color: #dbe5f3; text-wrap: pretty; }
.b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 20px 0 0; font-size: .9375rem; color: #dbe5f3; }
.b-meta b { color: #fff; font-weight: 700; }
@media (max-width: 520px) {
  /* sem os pontos separadores: no celular cada informação vira uma linha e o ponto não fica pendurado no fim */
  .b-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .b-meta > [aria-hidden="true"] { display: none; }
}
.b-topo__grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.b-topo__texto { min-width: 0; }
/* a trilha é uma linha de links curtos: o alvo de toque precisa de pelo menos 24 px de altura (WCAG 2.2) */
.b-topo .h-trilha a { display: inline-block; padding: 5px 0; }
.b-trilha__atual { display: inline-block; max-width: min(46ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
/* a foto reta, com o fio vermelho do "T" na beirada */
.b-topo__foto { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.b-topo__foto::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 6px; background: var(--red-marca); }
.b-topo__foto img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .b-topo__grade { grid-template-columns: minmax(0, 1fr); }   /* minmax(0, …): 1fr sozinho não encolhe abaixo do conteúdo e a trilha (nowrap) vazava da tela */
  .b-topo__foto { aspect-ratio: 16 / 9; max-height: 280px; width: 100%; }
  .b-topo__foto::before { inset: 0 0 auto 0; width: auto; height: 6px; }
  .b-topo .h-asa-fundo { width: 280px; }
}

/* ---------- índice: primeira tela (título curto, busca, assuntos e destaque) ---------- */
.b-topo--indice .b-topo__grade { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 420px); }
.b-topo--indice h1 { max-width: 22ch; font-size: clamp(1.875rem, 1rem + 2.3vw, 2.9rem); }
/* a etiqueta do título do índice é curta ("queijos, frios"): fica inteira em uma linha (no celular ela pode quebrar, para o título não ganhar uma linha a mais) */
@media (min-width: 641px) { .b-topo--indice h1 em { display: inline-block; white-space: nowrap; } }
.b-topo--indice .b-topo__lead { margin-top: 14px; max-width: 52ch; }

/* campo de pesquisa: o primeiro gesto de quem chega ao blog (nasce hidden: sem JavaScript ele não funcionaria) */
.b-busca { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; margin-top: 24px; }
.b-busca[hidden] { display: none; }
.b-busca__campo { position: relative; flex: 1 1 280px; min-width: 0; }
.b-busca__campo > svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--navy-600); pointer-events: none; }
.b-busca input {
  width: 100%; min-height: 56px; padding: 0 14px 0 48px; border: 2px solid transparent; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 1.0625rem; font-weight: 600;
}
.b-busca input::placeholder { color: var(--muted-2); font-weight: 400; }
.b-busca__campo:has(.b-busca__limpar:not([hidden])) input { padding-right: 52px; }   /* com texto, o botão de limpar ocupa a ponta do campo */
.b-busca input::-webkit-search-cancel-button, .b-busca input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
/* o anel de foco é branco e separado do campo por uma folga marinho: aparece sobre o marinho do topo */
.b-topo .b-busca input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--navy-600), 0 0 0 6px #fff; }
.b-busca__limpar { position: absolute; right: 6px; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; transform: translateY(-50%); border-radius: var(--radius-sm); color: var(--navy-800); }
.b-busca__limpar[hidden] { display: none; }
.b-busca__limpar svg { width: 18px; height: 18px; }
.b-busca__limpar:hover { background: var(--paper-2); }
.b-topo .b-busca__limpar:focus-visible { outline-color: var(--red-500); outline-offset: -3px; }
.b-busca__ir { min-height: 56px; }

/* os assuntos como atalhos (âncoras: funcionam sem JavaScript), com a conta de artigos */
.b-assuntos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.b-assuntos__rotulo { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #dbe5f3; }
.b-assuntos ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.b-assunto-chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--radius-sm);
  color: #fff; font-size: .9375rem; font-weight: 700; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.b-assunto-chip svg { flex-shrink: 0; width: 17px; height: 17px; }
.b-assunto-chip__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: .75rem; }
.b-assunto-chip:hover { background: #fff; border-color: #fff; color: var(--navy-800); }
.b-assunto-chip:hover .b-assunto-chip__n { background: var(--paper-2); }

@media (max-width: 1000px) {
  .b-topo--indice .b-topo__grade { grid-template-columns: minmax(0, 1fr); }
  .b-topo--indice h1 { max-width: none; }
}
@media (max-width: 520px) {
  /* no celular o campo e o botão dividem a linha: a primeira tela ganha altura para os assuntos */
  .b-busca { flex-wrap: nowrap; }
  .b-busca__campo { flex: 1 1 0; }
  .b-busca__ir { flex: none; padding: 0 18px; }
  .b-assuntos { gap: 8px; }
}
@media (max-width: 360px) {
  .b-busca { flex-wrap: wrap; }
  .b-busca__campo, .b-busca__ir { flex: 1 1 100%; }
}

/* ---------- cartões (artigos nos assuntos, nos resultados e no "Continue lendo") e o destaque da primeira tela ---------- */
.b-rotulo { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-500); }
.b-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.b-grade > [hidden] { display: none; }
@media (max-width: 1000px) { .b-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .b-grade { grid-template-columns: 1fr; } }

.b-card, .b-destaque {
  position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.b-card:hover, .b-destaque:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.b-card:has(a:focus-visible), .b-destaque:has(a:focus-visible) { outline: 3px solid var(--red-500); outline-offset: 2px; }
.b-destaque:has(a:focus-visible) { outline-color: #fff; }
/* o cartão inteiro é o alvo do link do título */
.b-card h3 a::after, .b-destaque h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.b-card h3 a:focus-visible, .b-destaque h2 a:focus-visible { outline: 0; }
.b-card__img, .b-destaque__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.b-card__img::after, .b-destaque__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--red-marca); }   /* a faixa vermelha da base da foto, como nas marcas da home */
.b-card__img img, .b-destaque__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.b-destaque__img img { position: absolute; inset: 0; }
.b-card:hover .b-card__img img, .b-destaque:hover .b-destaque__img img { transform: scale(1.04); }
.b-card__corpo, .b-destaque__corpo { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; padding: 20px 20px 22px; }
.b-card h3 { margin: 0; font-size: 1.25rem; font-weight: 800; font-stretch: 106%; line-height: 1.2; letter-spacing: -.01em; color: var(--navy-800); }
.b-destaque h2 { margin: 0; font-size: clamp(1.25rem, 1rem + .9vw, 1.625rem); font-weight: 850; font-stretch: 108%; line-height: 1.15; letter-spacing: -.015em; color: var(--navy-800); }
.b-card:hover h3 a, .b-destaque:hover h2 a { color: var(--red-500); }
.b-card p, .b-destaque p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.b-card__corpo > p:not(.b-card__meta), .b-destaque__corpo > p:not(.b-card__meta) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.b-card__meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; padding-top: 6px; font-size: .875rem; color: var(--muted); }
.b-destaque .h-link { margin-top: 2px; }
.b-topo--indice .b-destaque__img { aspect-ratio: 16 / 9; }
.b-topo--indice .b-destaque__corpo > p:not(.b-card__meta) { -webkit-line-clamp: 2; line-clamp: 2; }
@media (min-width: 641px) and (max-width: 1000px) {
  /* no tablet o destaque deita: foto de um lado, texto do outro */
  .b-destaque { flex-direction: row; }
  .b-destaque__img { flex: 0 0 42%; aspect-ratio: auto; min-height: 220px; }
  .b-destaque__img::after { content: none; }
  .b-destaque__img::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 6px; background: var(--red-marca); }
}

/* ---------- resultados da busca (o painel substitui as seções enquanto há consulta) ---------- */
.b-resultados { padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); scroll-margin-top: calc(var(--header-h) + 8px); }
.b-resultados[hidden], .b-assuntos-lista[hidden] { display: none; }
.b-resultados__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.b-resultados__resumo { margin: 0; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 800; font-stretch: 106%; color: var(--navy-800); }
.b-resultados__limpar {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--white);
  color: var(--navy-800); font-size: .875rem; font-weight: 700; transition: border-color .15s, color .15s;
}
.b-resultados__limpar:hover { border-color: var(--red-500); color: var(--red-500); }
.b-vazio { display: grid; justify-items: start; gap: 12px; padding: clamp(20px, 3vw, 32px); border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--paper-2); }
.b-vazio[hidden] { display: none; }
.b-vazio p { margin: 0; max-width: 56ch; color: var(--muted); line-height: 1.6; }
.b-vazio .b-vazio__titulo { color: var(--navy-800); font-size: 1.25rem; font-weight: 800; }
.b-card__trecho { padding-left: 12px; border-left: 3px solid var(--red-marca); font-size: .875rem; line-height: 1.5; }
.b-card mark { padding: 0 .12em; border-radius: 3px; background: #ffd6dc; color: inherit; }

/* ---------- um bloco por assunto: o nome à esquerda, os artigos à direita ---------- */
.b-assunto { padding: clamp(40px, 5vw, 72px) 0; scroll-margin-top: calc(var(--header-h) + 8px); }
.b-assunto:nth-child(even) { background: var(--paper-2); }
.b-assunto + .b-assunto { border-top: 1px solid var(--line); }
.b-assunto__grade { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.b-assunto__cab { display: grid; justify-items: start; gap: 10px; }
.b-assunto__icone { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--red-500); color: #fff; }
.b-assunto__icone svg { width: 26px; height: 26px; }
.b-assunto__cab h2 { margin: 6px 0 0; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); line-height: 1.1; }
.b-assunto__desc { margin: 0; color: var(--muted); line-height: 1.6; text-wrap: pretty; }
.b-assunto__n { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-500); }
.b-assunto .b-grade { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 900px) {
  .b-assunto__grade { grid-template-columns: minmax(0, 1fr); }
  .b-assunto__cab { grid-template-columns: 52px minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 6px; }
  .b-assunto__icone { grid-row: span 2; }
  .b-assunto__cab h2 { margin: 0; align-self: end; }
  .b-assunto__n { align-self: start; }
  .b-assunto__desc { grid-column: 1 / -1; grid-row: 3; }
}

/* ---------- post: sumário ao lado e texto na medida de leitura ---------- */
.b-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 88px); }
.b-layout--sem-lateral { grid-template-columns: minmax(0, 760px); justify-content: center; }
.b-lateral { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 20px; }
.b-corpo { grid-column: 1; grid-row: 1; max-width: 760px; min-width: 0; }
.b-layout--sem-lateral .b-corpo { grid-column: 1; }
.b-sumario__caixa { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.b-sumario summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-500);
}
.b-sumario summary::-webkit-details-marker { display: none; }
.b-sumario summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--paper-2); color: var(--red-500); font-size: 1.125rem; line-height: 1; letter-spacing: 0; transition: transform .15s ease; }
.b-sumario details[open] summary::after { transform: rotate(45deg); }
.b-sumario ol { list-style: none; margin: 0; padding: 0 16px 12px; display: grid; }
.b-sumario a {
  display: block; padding: 8px 0 8px 14px; border-left: 3px solid var(--line); color: var(--muted); font-size: .9375rem; font-weight: 600; line-height: 1.35;
  transition: color .15s, border-color .15s;
}
.b-sumario a:hover { color: var(--navy-800); border-left-color: var(--line-2); }
.b-sumario a[aria-current="location"] { color: var(--navy-800); border-left-color: var(--red-500); font-weight: 700; }
.b-lateral__cta { padding: 20px; border-radius: var(--radius); background: var(--navy-600); color: #fff; display: grid; gap: 12px; }
.b-lateral__cta p { margin: 0; font-size: 1.0625rem; font-weight: 800; font-stretch: 108%; }
.b-lateral__cta .h-btn { min-height: 48px; padding: 0 18px; }
.b-lateral__cta :focus-visible { outline-color: #fff; }
@media (max-width: 1000px) {
  .b-layout { grid-template-columns: minmax(0, 1fr); }
  .b-layout--sem-lateral { grid-template-columns: minmax(0, 1fr); }
  .b-lateral { grid-column: 1; grid-row: auto; position: static; }
  .b-corpo { grid-column: 1; grid-row: auto; }
  .b-lateral__cta { display: none; }   /* no celular a chamada vem no fim do texto */
  .b-sumario a { padding: 12px 0 12px 14px; }
}

/* resposta rápida: a resposta curta no topo, para quem lê (e para quem resume) */
.b-resposta { margin-bottom: 36px; padding: 20px 24px; background: var(--paper-2); border-left: 6px solid var(--red-marca); border-radius: 0 var(--radius) var(--radius) 0; }
.b-resposta__rotulo { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-500); }
.b-resposta p:last-child { margin: 0; font-size: 1.125rem; line-height: 1.6; font-weight: 600; color: var(--navy-800); }

/* ---------- texto do post ---------- */
.b-prosa { font-size: 1.0625rem; line-height: 1.75; color: var(--ink); overflow-wrap: break-word; }
.b-prosa > * + * { margin-top: 1.1em; }
.b-prosa h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); line-height: 1.15; }
.b-prosa h2::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 14px; border-radius: 4px; background: var(--red-marca); }
.b-prosa h2:first-child { margin-top: 0; }
.b-prosa h3 { margin-top: 1.8em; font-size: 1.25rem; line-height: 1.25; }
.b-prosa h2 + *, .b-prosa h3 + * { margin-top: .8em; }
.b-prosa p, .b-resp p { text-wrap: pretty; }
.b-prosa a { color: var(--navy-800); font-weight: 600; text-decoration: underline; text-decoration-color: var(--red-500); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.b-prosa a:hover { color: var(--red-500); }
.b-prosa strong { color: var(--navy-800); font-weight: 700; }
.b-prosa ul, .b-prosa ol { display: grid; gap: .55em; padding: 0; }
.b-prosa ul { list-style: none; }
.b-prosa ul li { position: relative; padding-left: 1.5em; }
.b-prosa ul li::before { content: ""; position: absolute; left: .1em; top: .72em; width: 8px; height: 8px; background: var(--red-500); }
.b-prosa ol { padding-left: 1.6em; }
.b-prosa ol li::marker { color: var(--red-500); font-weight: 800; }
.b-prosa code { padding: .1em .4em; border-radius: 4px; background: var(--paper-2); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.b-prosa hr { height: 1px; margin: 2.4em 0; border: 0; background: var(--line); }
.b-nota { padding: 16px 20px; border-left: 4px solid var(--navy-600); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--paper-2); }
.b-nota p + p { margin-top: .6em; }
.b-tabela { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.b-tabela:focus-visible { outline: 3px solid var(--red-500); outline-offset: 2px; }
.b-tabela table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.b-tabela thead th { padding: 12px 16px; background: var(--navy-600); color: #fff; font-weight: 700; text-align: left; }
.b-tabela tbody th, .b-tabela tbody td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; text-align: left; }
.b-tabela tbody th { color: var(--navy-800); font-weight: 700; }
.b-tabela tbody tr:nth-child(even) > * { background: var(--paper-2); }

/* ---------- perguntas frequentes ---------- */
.b-faq { margin-top: clamp(40px, 5vw, 64px); }
.b-faq h2 { margin: 0 0 20px; font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem); line-height: 1.15; }
.b-faq h2::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 14px; border-radius: 4px; background: var(--red-marca); }
.b-faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s; }
.b-faq details + details { margin-top: 12px; }
.b-faq details[open] { border-color: var(--navy-600); }
.b-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding: 18px 20px;
  font-size: 1.0625rem; font-weight: 700; line-height: 1.35; color: var(--navy-800);
}
.b-faq summary::-webkit-details-marker { display: none; }
.b-faq summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; background: var(--paper-2); color: var(--red-500);
  font-size: 1.25rem; font-weight: 700; line-height: 1; transition: transform .15s ease, background .15s;
}
.b-faq details[open] summary::after { transform: rotate(45deg); background: var(--red-500); color: #fff; }
.b-resp { padding: 0 20px 20px; color: var(--muted); line-height: 1.7; }
.b-resp > * + * { margin-top: .8em; }
.b-resp p, .b-resp ul, .b-resp ol { margin: 0; }
.b-resp ul, .b-resp ol { padding-left: 1.3em; }
.b-resp a { color: var(--navy-800); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- fim do post: catálogo, chamada, compartilhar, aviso ---------- */
.b-catalogo { margin-top: 32px; }
.b-cta {
  position: relative; display: grid; gap: 20px; margin-top: 40px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(28px, 3.4vw, 42px);
  background: var(--navy-600); color: #fff; border-radius: var(--radius); overflow: hidden;
}
.b-cta::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--red-marca); }
.b-cta p { margin: 0; line-height: 1.55; color: #dbe5f3; }
.b-cta__titulo { margin-bottom: 8px !important; font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); font-weight: 850; font-stretch: 110%; line-height: 1.15; color: #fff !important; }
.b-cta__acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.b-cta :focus-visible { outline-color: #fff; }
@media (max-width: 520px) { .b-cta__acoes .h-btn { flex: 1 1 100%; } }
.b-compartilhar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.b-compartilhar__rotulo { font-size: .875rem; font-weight: 700; color: var(--muted); }
.b-compartilhar a, .b-compartilhar button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--white);
  color: var(--navy-800); font-size: .875rem; font-weight: 700; transition: border-color .15s, color .15s;
}
.b-compartilhar button[hidden] { display: none; }
.b-compartilhar a:hover, .b-compartilhar button:hover { border-color: var(--red-500); color: var(--red-500); }
.b-aviso { margin: 24px 0 0; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.b-mais .b-grade { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .b-card, .b-destaque, .b-card__img img, .b-destaque__img img, .b-sumario summary::after, .b-faq summary::after { transition: none; }
  .b-card:hover, .b-destaque:hover { transform: none; }
  .b-card:hover .b-card__img img, .b-destaque:hover .b-destaque__img img { transform: none; }
}
