/* ==========================================================================
   Saimon | Blog
   Folha PRÓPRIA do blog. Não importa nem depende de css/style.css.

   Por que separada:
   - o style.css do site tem ~5.700 linhas e um monte de animação que o
     blog não usa. Artigo tem de abrir rápido e ser lido, não performar;
   - o desktop do site é versão aprovada e congelada. Se o blog vivesse
     dentro do style.css, qualquer ajuste aqui teria risco de vazar para
     lá. Aqui não tem como: nenhum seletor desta folha existe no site.

   Os tokens abaixo são cópia dos do site, de propósito. A identidade é a
   mesma; a independência é o objetivo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --cream: #faf7f3;
  --ink: #111111;
  --white: #ffffff;
  --accent: #ff6a00;
  --accent-deep: #d95300;
  --muted: #999999;
  --muted-ink: #6b6560;
  --line: rgba(136, 136, 136, 0.24);
  --line-forte: rgba(17, 17, 17, 0.12);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-titulo: "Play", "Archivo", system-ui, sans-serif;

  --container: 1180px;
  /* Largura de leitura. ~72 caracteres por linha em 18px, que é a faixa
     confortável para texto corrido. */
  --leitura: 720px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
}

/* --------------------------------------------------------------------------
   2. Reset curto
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  background-color: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background-color: var(--accent);
  color: var(--ink);
}

/* Pular para o conteúdo: só aparece no Tab. */
.b-pular {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  background-color: var(--ink);
  color: var(--cream);
  border-radius: 0 0 var(--r-sm) 0;
}

.b-pular:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   3. Layout base
   -------------------------------------------------------------------------- */
.b-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

/* Coluna estreita, para tudo que é texto para ler. */
.b-container--leitura {
  max-width: calc(var(--leitura) + 40px);
}

/* --------------------------------------------------------------------------
   4. Topo

   Sem posição fixa e sem menu de tela cheia: no blog o topo é uma barra
   comum que rola junto. É um controle a menos para o leitor tropeçar e
   zero JavaScript para o navegador executar antes de pintar o texto.
   -------------------------------------------------------------------------- */
.b-topo {
  background-color: var(--ink);
  color: var(--cream);
}

.b-topo__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.b-topo__logo {
  font-family: var(--font-titulo);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: var(--cream);
  white-space: nowrap;
}

.b-topo__nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.b-topo__nav a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.7;
  white-space: nowrap;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}

.b-topo__nav a:hover {
  opacity: 1;
  background-color: rgba(250, 247, 243, 0.1);
}

.b-topo__nav a[aria-current="page"] {
  opacity: 1;
  background-color: var(--cream);
  color: var(--ink);
}

.b-topo__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  background-color: var(--cream);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.b-topo__cta:hover {
  background-color: var(--accent);
}

.b-topo__cta svg {
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   5. Trilha (breadcrumb)
   -------------------------------------------------------------------------- */
.b-trilha {
  padding-top: 22px;
  font-size: 14px;
  color: var(--muted-ink);
}

.b-trilha ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.b-trilha li::after {
  content: "/";
  margin-left: 6px;
  opacity: 0.5;
}

.b-trilha li:last-child::after {
  content: none;
}

.b-trilha a {
  text-decoration: underline;
  text-decoration-color: var(--line-forte);
  text-underline-offset: 3px;
}

.b-trilha a:hover {
  color: var(--ink);
  text-decoration-color: var(--accent-deep);
}

.b-trilha [aria-current="page"] {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   6. Cabeçalho do artigo
   -------------------------------------------------------------------------- */
.b-cabeca {
  padding-top: 34px;
  padding-bottom: 34px;
}

.b-cabeca__cat {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background-color: rgba(217, 83, 0, 0.1);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.b-cabeca__titulo {
  margin-top: 18px;
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 700;
  line-height: 1.03;
}

.b-cabeca__linha {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted-ink);
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* Assinatura: quem escreveu, quando, e quanto tempo leva. */
.b-assinatura {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted-ink);
}

.b-assinatura strong {
  font-weight: 600;
  color: var(--ink);
}

.b-assinatura a {
  text-decoration: underline;
  text-decoration-color: var(--line-forte);
  text-underline-offset: 3px;
}

.b-assinatura a:hover {
  text-decoration-color: var(--accent-deep);
}

.b-assinatura__sep {
  opacity: 0.45;
}

/* --------------------------------------------------------------------------
   7. Capa

   SVG embutido no HTML, não arquivo de imagem: são poucos bytes, chega
   junto com o texto e não gera nem requisição nem salto de layout.
   -------------------------------------------------------------------------- */
.b-capa {
  margin-bottom: 40px;
  border-radius: var(--r-md);
  overflow: hidden;
  background-color: var(--ink);
}

.b-capa svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 480;
}

/* --------------------------------------------------------------------------
   8. Sumário
   -------------------------------------------------------------------------- */
.b-sumario {
  margin-bottom: 40px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: rgba(255, 255, 255, 0.6);
}

.b-sumario h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-ink);
}

.b-sumario ol {
  margin-top: 14px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 16px;
}

.b-sumario a {
  text-decoration: underline;
  text-decoration-color: var(--line-forte);
  text-underline-offset: 3px;
}

.b-sumario a:hover {
  color: var(--accent-deep);
  text-decoration-color: var(--accent-deep);
}

/* --------------------------------------------------------------------------
   9. Corpo do artigo
   -------------------------------------------------------------------------- */
.b-artigo {
  font-size: 18px;
  line-height: 1.65;
  color: #23201d;
  letter-spacing: -0.011em;
}

.b-artigo > * + * {
  margin-top: 20px;
}

.b-artigo h2 {
  margin-top: 52px;
  font-size: clamp(26px, 3.4vw, 32px);
  font-weight: 700;
  color: var(--ink);
  scroll-margin-top: 20px;
}

.b-artigo h3 {
  margin-top: 36px;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  scroll-margin-top: 20px;
}

.b-artigo p strong,
.b-artigo li strong {
  font-weight: 600;
  color: var(--ink);
}

.b-artigo a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.b-artigo a:hover {
  background-color: rgba(255, 106, 0, 0.12);
}

.b-artigo ul,
.b-artigo ol {
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.b-artigo ul {
  list-style: disc;
}

.b-artigo ol {
  list-style: decimal;
}

.b-artigo li::marker {
  color: var(--accent-deep);
}

.b-artigo blockquote {
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}

.b-artigo hr {
  margin-block: 44px;
  border: 0;
  border-top: 1px solid var(--line);
}

/* Tabela: rola sozinha dentro do próprio quadro quando não cabe, para a
   página nunca rolar de lado no celular. */
.b-tabela {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: rgba(255, 255, 255, 0.6);
}

/* O min-width é o piso de largura em que a tabela ainda se lê. Abaixo
   dele as colunas ficam tão estreitas que cada célula vira uma coluna de
   palavras soltas — pior do que rolar de lado. Quem rola é o quadro
   acima, nunca a página. */
.b-tabela table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 16px;
}

/* Tabela de quatro colunas precisa de mais chão que a de três. */
.b-tabela--4 table {
  min-width: 780px;
}

.b-tabela th,
.b-tabela td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.b-tabela th {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted-ink);
  white-space: nowrap;
}

.b-tabela tr:last-child td {
  border-bottom: 0;
}

.b-tabela caption {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--muted-ink);
  border-bottom: 1px solid var(--line);
}

/* Caixa de destaque: uma observação que interrompe a leitura de propósito. */
.b-caixa {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  background-color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
}

/* Título da caixa. É um <p>, e não um <h3>, de propósito: a caixa é um
   aparte, não um degrau da estrutura do artigo, e não deveria aparecer no
   sumário nem no esboço que o leitor de tela anuncia. */
.b-caixa__t {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
}

.b-caixa > * + * {
  margin-top: 12px;
}

/* Lista de conferência. Os quadradinhos são desenhados em CSS, não são
   imagem: nenhuma requisição a mais. */
.b-check {
  padding: 0 !important;
  list-style: none !important;
  display: grid;
  gap: 12px;
}

.b-check li {
  position: relative;
  padding-left: 32px;
}

.b-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--accent-deep);
  border-radius: 5px;
}

.b-check li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
  transform: rotate(45deg);
}

/* Blocos de código, para os exemplos de URL e de tag. */
.b-artigo code {
  padding: 2px 6px;
  border-radius: 5px;
  background-color: rgba(17, 17, 17, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  letter-spacing: 0;
  word-break: break-word;
}

.b-artigo pre {
  padding: 18px 20px;
  border-radius: var(--r-sm);
  background-color: var(--ink);
  color: #e8e4de;
  overflow-x: auto;
  font-size: 14.5px;
  line-height: 1.6;
}

.b-artigo pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

/* Figura com legenda */
.b-artigo figure {
  margin-top: 32px;
}

.b-artigo figcaption {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted-ink);
}

/* --------------------------------------------------------------------------
   10. Fechamento do artigo: fontes, autor, CTA, relacionados
   -------------------------------------------------------------------------- */
.b-fontes {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted-ink);
}

.b-fontes h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.b-fontes ul {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
  display: grid;
  gap: 8px;
}

.b-fontes a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.b-fontes a:hover {
  color: var(--accent-deep);
}

.b-autor {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background-color: rgba(255, 255, 255, 0.6);
}

.b-autor__foto {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--line);
}

.b-autor__nome {
  font-size: 18px;
  font-weight: 600;
}

.b-autor__nome a:hover {
  color: var(--accent-deep);
}

.b-autor__cargo {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted-ink);
}

.b-autor__bio {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted-ink);
}

/* Chamada para o site principal. É o motivo de o blog existir: o artigo
   resolve a dúvida, e daqui a pessoa vai para o orçamento. */
.b-cta {
  margin-top: 48px;
  padding: 34px;
  border-radius: var(--r-lg);
  background-color: var(--ink);
  color: var(--cream);
}

.b-cta h2 {
  font-size: clamp(24px, 3.4vw, 30px);
  font-weight: 700;
}

.b-cta p {
  margin-top: 12px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(250, 247, 243, 0.72);
}

.b-cta__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.b-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease,
    transform 0.25s ease;
}

.b-btn--claro {
  background-color: var(--cream);
  color: var(--ink);
}

.b-btn--claro:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.b-btn--escuro {
  background-color: var(--ink);
  color: var(--cream);
}

.b-btn--escuro:hover {
  background-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}

/* Contornado, para fundo escuro. */
.b-btn--linha {
  border: 1px solid rgba(250, 247, 243, 0.28);
  color: var(--cream);
}

.b-btn--linha:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}

/* Contornado, para fundo claro. Sem a borda ele sumiria no creme. */
.b-btn--contorno {
  border: 1px solid var(--line-forte);
  color: var(--ink);
}

.b-btn--contorno:hover {
  border-color: var(--ink);
  background-color: var(--white);
  transform: translateY(-2px);
}

.b-btn svg {
  width: 17px;
  height: 17px;
}

/* Leituras relacionadas: os links internos que amarram o blog. */
.b-relacionados {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.b-relacionados > h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted-ink);
}

.b-relacionados ul {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  list-style: none;
}

.b-relacionados a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background-color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.b-relacionados a:hover {
  border-color: var(--accent);
  background-color: var(--white);
}

.b-relacionados strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.b-relacionados span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted-ink);
}

/* --------------------------------------------------------------------------
   11. Índice do blog
   -------------------------------------------------------------------------- */
.b-indice-cabeca {
  padding-top: 40px;
  padding-bottom: 12px;
}

.b-indice-cabeca h1 {
  font-size: clamp(38px, 6.4vw, 68px);
  font-weight: 800;
  line-height: 0.98;
}

.b-indice-cabeca p {
  margin-top: 20px;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted-ink);
}

/* Atalhos para as três frentes. São âncoras de verdade, para o leitor e
   para o rastreador enxergarem a mesma organização. */
.b-atalhos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.b-atalhos a {
  padding: 9px 16px;
  border: 1px solid var(--line-forte);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
}

.b-atalhos a:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.b-grupo {
  padding-top: 56px;
  scroll-margin-top: 20px;
}

.b-grupo__cabeca {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.b-grupo__cabeca h2 {
  font-size: clamp(24px, 3.2vw, 30px);
  font-weight: 700;
}

.b-grupo__cabeca p {
  margin-top: 10px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted-ink);
}

.b-lista {
  display: grid;
  gap: 0;
  list-style: none;
}

/* Lista, não grade de cartões: no blog o que importa é bater o olho no
   título e na primeira linha. Cartão com imagem grande empurraria o
   quarto post para fora da tela sem acrescentar informação nenhuma. */
/* A coluna da data tem largura fixa porque "18 de fevereiro de 2026" é a
   data mais larga do ano em português e precisa caber numa linha só;
   quebrada em duas ela desalinha o olho de todos os itens da lista. */
.b-item a {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 4px 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.b-item a:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.b-item__data {
  font-size: 14.5px;
  color: var(--muted-ink);
  padding-top: 5px;
}

.b-item__corpo {
  min-width: 0;
}

.b-item__titulo {
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.b-item a:hover .b-item__titulo {
  color: var(--accent-deep);
}

.b-item__resumo {
  margin-top: 8px;
  max-width: 62ch;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--muted-ink);
}

.b-item__tempo {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted-ink);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   12. Página de autor
   -------------------------------------------------------------------------- */
.b-perfil {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 40px;
}

.b-perfil__foto {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--line);
}

.b-perfil h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
}

.b-perfil__cargo {
  margin-top: 8px;
  font-size: 18px;
  color: var(--accent-deep);
  font-weight: 500;
}

.b-perfil__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* Respiro entre o cabeçalho do perfil e a bio, e entre a bio e a lista
   de artigos. Fica aqui, e não num style= no HTML, porque é o único
   lugar do blog em que esses três blocos se encostam. */
.b-perfil + .b-artigo {
  margin-top: 44px;
}

.b-artigo + .b-lista {
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   13. Rodapé
   -------------------------------------------------------------------------- */
.b-rodape {
  margin-top: 88px;
  padding-block: 52px 34px;
  background-color: var(--ink);
  color: var(--cream);
}

.b-rodape__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

.b-rodape__tagline {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  max-width: 20ch;
}

.b-rodape h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(250, 247, 243, 0.55);
}

.b-rodape ul {
  margin-top: 14px;
  display: grid;
  gap: 9px;
  list-style: none;
  font-size: 16px;
}

.b-rodape ul a {
  color: rgba(250, 247, 243, 0.78);
  transition: color 0.2s ease;
}

.b-rodape ul a:hover {
  color: var(--accent);
}

.b-rodape__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 247, 243, 0.14);
  font-size: 14px;
  color: rgba(250, 247, 243, 0.55);
}

.b-rodape__bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.b-rodape__bottom a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   14. Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .b-rodape__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .b-rodape__tagline {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   15. Celular
   -------------------------------------------------------------------------- */
@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  /* O topo vira duas linhas: nome e CTA em cima, links numa faixa que
     desliza de lado embaixo. Sem menu escondido, sem botão, sem JS. */
  .b-topo__row {
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  .b-topo__nav {
    order: 3;
    width: calc(100% + 40px);
    margin-inline: -20px;
    padding-inline: 20px;
    padding-block: 4px 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .b-topo__nav::-webkit-scrollbar {
    display: none;
  }

  .b-topo__cta {
    margin-left: auto;
  }

  .b-artigo {
    font-size: 17px;
  }

  .b-artigo h2 {
    margin-top: 42px;
  }

  .b-cta {
    padding: 26px 22px;
  }

  .b-cta__acoes .b-btn {
    width: 100%;
    justify-content: center;
  }

  .b-autor {
    flex-direction: column;
    gap: 14px;
    padding: 22px;
  }

  /* Data em cima do título, e não numa coluna que espremeria as duas. */
  .b-item a {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 22px 0;
  }

  .b-item__data {
    padding-top: 0;
  }

  .b-perfil {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .b-perfil__foto {
    width: 96px;
    height: 96px;
  }

  .b-sumario,
  .b-caixa {
    padding: 20px;
  }
}

/* --------------------------------------------------------------------------
   16. Impressão: sai só o artigo.
   -------------------------------------------------------------------------- */
@media print {
  .b-topo,
  .b-rodape,
  .b-cta,
  .b-sumario,
  .b-relacionados,
  .b-capa {
    display: none !important;
  }

  body {
    background: #fff;
    font-size: 12pt;
  }

  .b-artigo a::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
}
