/* Homem com Atitude - folha de estilos do site
   Conceito: o rótulo. Painéis com regras grossas como uma declaração nutricional,
   leitura calma em papel branco, preto e dourado da marca. */

@font-face { font-family: "Big Shoulders Display"; src: url(fonts/bsd-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders Text"; src: url(fonts/bst-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Big Shoulders Text"; src: url(fonts/bst-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/ss4-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/ss4-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(fonts/ss4-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --preto: #000;
  --tinta: #1d1d1b;
  --cinza: #5d5a54;
  --linha: #d8d6d0;
  --giz: #efefec;
  --papel: #fff;
  --ouro: #c4a035;
  --ouro-texto: #7a5c0e;
  --ouro-claro: #f5ecc8;
  --osso: #f4f1e8;
  --osso-2: #c9c4b7;
  --faixa: #000;

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-ui: "Big Shoulders Text", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-texto: "Source Serif 4", Georgia, "Times New Roman", serif;

  --largura: 74rem;
  --coluna: 40rem;
  --margem: 1.25rem;
  color-scheme: light;
}

:root[data-tema="noite"] {
  --preto: #f4f1e8;
  --tinta: #e6e2d8;
  --cinza: #a7a297;
  --linha: #34322d;
  --giz: #161614;
  --papel: #0d0d0c;
  --ouro-texto: #dcb84d;
  --ouro-claro: #3a3015;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font: 400 1.125rem/1.7 var(--f-texto);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--ouro); color: #000; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1.1em; }

.contentor { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); }
.saltar { position: absolute; left: .75rem; top: -4rem; z-index: 50; background: var(--ouro); color: #000; padding: .6rem 1rem; font: 800 1rem var(--f-ui); text-decoration: none; }
.saltar:focus { top: .75rem; }

/* ------------------------------------------------------------ topo */

.topo { background: var(--faixa); color: var(--osso); border-bottom: 1px solid #222; }
.topo-in { max-width: var(--largura); margin: 0 auto; padding: .7rem var(--margem) 0; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem; }
.marca { display: inline-flex; align-items: center; gap: .6rem; color: var(--osso); text-decoration: none; padding-bottom: .55rem; }
.marca img { width: 40px; height: 40px; }
.marca span { font: 800 1.55rem/1 var(--f-display); letter-spacing: .005em; }
.menu { grid-column: 1 / -1; order: 3; margin: 0 calc(var(--margem) * -1); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.menu::-webkit-scrollbar { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0 var(--margem); display: flex; gap: 1.35rem; white-space: nowrap; }
.menu a { display: block; padding: .6rem 0 .65rem; color: var(--osso-2); text-decoration: none; font: 600 1.05rem/1 var(--f-ui); letter-spacing: .01em; border-bottom: 3px solid transparent; }
.menu a:hover { color: var(--osso); }
.menu a[aria-current="page"] { color: var(--osso); border-bottom-color: var(--ouro); }
.tema { width: 2.5rem; height: 2.5rem; display: inline-grid; place-items: center; background: transparent; border: 1px solid #3a3a37; border-radius: 50%; color: var(--osso); cursor: pointer; margin-bottom: .55rem; }
.tema:hover { border-color: var(--ouro); color: var(--ouro); }
.tema .ico { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.tema .ico-sol { display: none; }
[data-tema="noite"] .tema .ico-sol { display: block; }
[data-tema="noite"] .tema .ico-lua { display: none; }

@media (min-width: 960px) {
  .topo-in { grid-template-columns: auto 1fr auto; padding-top: 0; }
  .marca { padding: .9rem 0; }
  .menu { grid-column: auto; order: 0; margin: 0; -webkit-mask-image: none; mask-image: none; justify-self: end; }
  .menu ul { padding: 0; gap: 1.6rem; }
  .menu a { padding: 1.55rem 0 1.4rem; }
  .tema { margin: 0; }
}

.progresso { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40; pointer-events: none; }
.progresso span { display: block; height: 100%; background: var(--ouro); transform-origin: 0 50%; transform: scaleX(var(--lido, 0)); }

/* ------------------------------------------------------------ peças comuns */

.faixa-preta { background: var(--faixa); color: var(--osso); }
.faixa-giz { background: var(--giz); padding: 4rem 0; }
.seccao-cabeca { margin-bottom: 1.75rem; max-width: 46rem; }
.seccao-cabeca-linha { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; }
.seccao-titulo { font: 800 clamp(2rem, 1.45rem + 2vw, 3rem)/1 var(--f-display); color: var(--preto); margin-bottom: .55rem; letter-spacing: .003em; }
.seccao-intro { color: var(--cinza); font-size: 1.1rem; max-width: 40rem; margin: 0; }
.ver-todos { font: 800 1.1rem var(--f-ui); color: var(--preto); text-decoration: underline; text-decoration-color: var(--ouro); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.ver-todos:hover { text-decoration-color: var(--preto); }

.botao { display: inline-flex; align-items: center; gap: .5rem; padding: .78rem 1.25rem .8rem; border: 2px solid var(--preto); border-radius: 3px; background: var(--preto); color: var(--papel); font: 800 1.12rem/1.1 var(--f-ui); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.botao:hover { background: var(--ouro); border-color: var(--ouro); color: #000; }
.botao .ico { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.botao-ouro { background: var(--ouro); border-color: var(--ouro); color: #000; }
.botao-ouro:hover { background: var(--osso); border-color: var(--osso); }
.botao-contorno { background: transparent; color: var(--preto); }
.botao-contorno-claro { background: transparent; border-color: var(--osso-2); color: var(--osso); }
.botao-contorno-claro:hover { background: var(--osso); border-color: var(--osso); color: #000; }

/* O rótulo: o elemento de assinatura do site */
.rotulo { background: #fff; color: #000; border: 3px solid #000; padding: .55rem .8rem .7rem; font-family: var(--f-ui); max-width: 24rem; }
.rotulo-titulo { font: 800 2.25rem/1 var(--f-display); margin: 0; padding-bottom: .3rem; border-bottom: 12px solid #000; letter-spacing: .003em; }
.rotulo-sub { font: 600 1rem/1.3 var(--f-ui); margin: 0; padding: .3rem 0 .35rem; border-bottom: 5px solid #000; }
.rotulo dl { margin: 0; }
.rotulo-linha { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .42rem 0 .38rem; border-bottom: 1px solid #000; font-size: 1.05rem; line-height: 1.25; }
.rotulo-linha:last-child { border-bottom: 0; }
.rotulo dt { font-weight: 800; flex: 0 0 auto; }
.rotulo dd { margin: 0; font-weight: 600; text-align: right; }
.rotulo-nota { margin: .45rem 0 0; padding-top: .45rem; border-top: 5px solid #000; font: 600 .9rem/1.35 var(--f-ui); }
[data-tema="noite"] .rotulo { background: #0d0d0c; color: var(--osso); border-color: var(--osso); }
[data-tema="noite"] .rotulo-titulo, [data-tema="noite"] .rotulo-sub, [data-tema="noite"] .rotulo-nota, [data-tema="noite"] .rotulo-linha { border-color: var(--osso); }

.capa-tipo { display: flex; align-items: flex-end; background-color: #000; color: var(--ouro); padding: .6rem .7rem; text-decoration: none; font: 800 1.15rem/1 var(--f-display); aspect-ratio: 3 / 2;
  background-image: repeating-linear-gradient(45deg, #2a2618 0 1px, transparent 1px 7px), repeating-linear-gradient(-45deg, #2a2618 0 1px, transparent 1px 7px); }

/* ------------------------------------------------------------ listas de artigos */

.lista-artigos { display: grid; column-gap: 3rem; }
.linha-artigo { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.1rem; padding: 1.35rem 0; border-top: 1px solid var(--linha); align-items: start; }
.la-img { display: block; border-radius: 3px; overflow: hidden; }
.la-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.la-tema { margin: 0 0 .2rem; font: 800 .95rem/1.2 var(--f-ui); color: var(--ouro-texto); letter-spacing: .01em; }
.la-titulo { font: 800 1.45rem/1.05 var(--f-display); margin: 0 0 .35rem; letter-spacing: .004em; }
.la-titulo a { color: var(--preto); text-decoration: none; }
.la-titulo a:hover { text-decoration: underline; text-decoration-color: var(--ouro); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.la-dek { margin: 0 0 .4rem; color: var(--cinza); font-size: 1rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.la-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .2rem 1rem; font: 600 .95rem/1.3 var(--f-ui); color: var(--cinza); }
.linha-breve .la-titulo { color: var(--cinza); }
.linha-breve .capa-tipo { color: var(--osso-2); font-size: 1rem; }
@media (min-width: 700px) {
  .linha-artigo { grid-template-columns: 10rem minmax(0, 1fr); gap: 1.4rem; }
  .la-titulo { font-size: 1.6rem; }
}
@media (min-width: 960px) {
  .lista-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lista-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lista-3 .linha-artigo { grid-template-columns: 1fr; }
}

.destaque-artigo { display: grid; gap: 1.25rem; padding: .25rem 0 2rem; }
.dest-img { display: block; border-radius: 4px; overflow: hidden; }
.dest-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.dest-img.capa-tipo { font-size: 2.4rem; padding: 1.2rem; }
.dest-nota { display: inline-block; margin: 0 0 .9rem; background: #000; color: var(--ouro); font: 800 1rem/1 var(--f-ui); padding: .45rem .6rem .42rem; }
[data-tema="noite"] .dest-nota { background: var(--ouro); color: #000; }
.dest-titulo { font: 800 clamp(2.1rem, 1.5rem + 2.3vw, 3.2rem)/.98 var(--f-display); margin: 0 0 .7rem; }
.dest-titulo a { color: var(--preto); text-decoration: none; }
.dest-titulo a:hover { text-decoration: underline; text-decoration-color: var(--ouro); text-decoration-thickness: 4px; }
.dest-dek { font-size: 1.15rem; color: var(--cinza); margin: 0 0 .8rem; }
@media (min-width: 900px) {
  .destaque-artigo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
}

/* ------------------------------------------------------------ início */

.inicio-topo { padding: 3rem 0 4rem; }
.inicio-grelha { display: grid; gap: 2.5rem; align-items: center; }
.inicio-chave { font: 800 1.15rem/1 var(--f-ui); color: var(--ouro); margin: 0 0 1rem; letter-spacing: .01em; }
.inicio-titulo { font: 800 clamp(2.9rem, 1.9rem + 3.6vw, 4.7rem)/.94 var(--f-display); color: var(--osso); margin: 0 0 1.3rem; letter-spacing: .002em; }
.inicio-titulo span { display: block; }
.inicio-sub { font-size: 1.25rem; line-height: 1.55; color: var(--osso-2); max-width: 33rem; margin: 0 0 1.8rem; }
.inicio-acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.rotulo-inicio { justify-self: start; width: 100%; }
@media (min-width: 960px) {
  .inicio-topo { padding: 4.5rem 0 5.5rem; }
  .inicio-grelha { grid-template-columns: minmax(0, 1.7fr) minmax(19rem, 23rem); gap: 4.5rem; justify-content: space-between; }
  .rotulo-inicio { justify-self: end; transform: rotate(1.2deg); box-shadow: 10px 10px 0 var(--ouro); }
}
.inicio-guias { padding-top: 4rem; padding-bottom: 2rem; }
.guias-resto { margin-top: .5rem; }
.nota-afiliado { font: 600 .98rem/1.4 var(--f-ui); color: var(--cinza); margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--linha); }
.inicio-pilares { margin-top: 3rem; }
.pilares { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 3rem; }
.pilares li { border-top: 6px solid var(--preto); padding-top: .9rem; }
.pilares h3 { font: 800 2.1rem/1 var(--f-display); margin: 0 0 .5rem; }
.pilares h3 a { color: var(--preto); text-decoration: none; }
.pilares h3 a:hover { text-decoration: underline; text-decoration-color: var(--ouro); text-decoration-thickness: 3px; }
.pilares p { margin: 0 0 .7rem; font-size: 1.05rem; }
.pilar-link a { font: 800 1.05rem var(--f-ui); color: var(--ouro-texto); }
@media (min-width: 900px) { .pilares { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.inicio-ultimos { padding-top: 4.5rem; }
.citacao { margin: 5rem auto; }
.citacao blockquote { margin: 0; padding-left: 1.4rem; border-left: 8px solid var(--ouro); max-width: 52rem; }
.citacao blockquote p { font: 800 clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem)/1.04 var(--f-display); color: var(--preto); margin: 0; }
.citacao figcaption { padding-left: calc(1.4rem + 8px); margin-top: .8rem; font: 600 1.05rem var(--f-ui); color: var(--cinza); }
.inicio-autor { display: grid; gap: 2rem; padding-top: 4.5rem; padding-bottom: 5rem; align-items: center; }
.autor-foto { margin: 0; max-width: 20rem; }
.autor-foto img { width: 100%; border-radius: 4px; filter: grayscale(.15) contrast(1.03); }
.autor-texto p { font-size: 1.15rem; }
@media (min-width: 900px) { .inicio-autor { grid-template-columns: 20rem minmax(0, 38rem); gap: 4rem; } }

/* ------------------------------------------------------------ newsletter */

.protocolo { background: var(--faixa); color: var(--osso); padding: 3.5rem 0; margin-top: 4rem; }
.protocolo-in { max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); display: grid; gap: 2rem; align-items: center; }
.protocolo-tipo { font: 800 1.05rem/1 var(--f-ui); color: var(--ouro); margin: 0 0 .6rem; }
.protocolo h2 { font: 800 clamp(2.6rem, 1.8rem + 3vw, 4rem)/.95 var(--f-display); margin: 0 0 .8rem; color: var(--osso); }
.protocolo-texto p { color: var(--osso-2); font-size: 1.1rem; max-width: 34rem; }
.protocolo-bonus { border-left: 4px solid var(--ouro); padding-left: .9rem; color: var(--osso) !important; }
.protocolo-form { background: #fff; color: #000; border: 3px solid #fff; padding: 1.1rem 1.1rem 1rem; max-width: 30rem; }
.protocolo-form label { display: block; font: 800 1.15rem var(--f-ui); margin-bottom: .45rem; }
.protocolo-campo { display: flex; flex-wrap: wrap; gap: .5rem; }
.protocolo-campo input { flex: 1 1 14rem; min-width: 0; font: 400 1.1rem var(--f-texto); padding: .72rem .8rem; border: 2px solid #000; border-radius: 3px; background: #fff; color: #000; }
.protocolo-campo button { flex: 1 1 auto; font: 800 1.12rem var(--f-ui); padding: .75rem 1rem; border: 2px solid #000; border-radius: 3px; background: #000; color: var(--ouro); cursor: pointer; }
.protocolo-campo button:hover { background: var(--ouro); color: #000; border-color: var(--ouro); }
.protocolo-letras { font: 600 .95rem/1.35 var(--f-ui); color: #5d5a54; margin: .7rem 0 0; }
.protocolo-estado:empty { display: none; }
.protocolo-estado { margin: .8rem 0 0; padding: .6rem .7rem; background: var(--ouro-claro); color: #000; font: 800 1.05rem/1.3 var(--f-ui); border-left: 5px solid var(--ouro); }
[data-tema="noite"] .protocolo-estado { background: #f5ecc8; }
.protocolo-iframe iframe { width: 100%; border: 0; background: #fff; }
.isco { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 900px) {
  .protocolo { padding: 4.5rem 0; }
  .protocolo-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; }
  .protocolo-form { justify-self: end; width: 100%; }
}

/* ------------------------------------------------------------ artigo */

.artigo-topo { padding-top: 2.2rem; padding-bottom: 1.6rem; }
.artigo-tema { margin: 0 0 .8rem; font: 800 1.1rem/1 var(--f-ui); }
.artigo-tema a { color: var(--ouro-texto); text-decoration: none; border-bottom: 2px solid var(--ouro); padding-bottom: .1rem; }
.artigo-titulo { font: 800 clamp(2.45rem, 1.4rem + 4vw, 4.5rem)/.97 var(--f-display); color: var(--preto); max-width: 56rem; margin: 0 0 1rem; letter-spacing: .002em; }
.artigo-dek { font-size: 1.28rem; line-height: 1.5; color: var(--cinza); max-width: var(--coluna); margin: 0 0 1.4rem; }
.artigo-assinatura { display: flex; align-items: center; gap: .75rem; }
.artigo-assinatura p { margin: 0; font: 600 1rem/1.25 var(--f-ui); color: var(--cinza); display: flex; flex-direction: column; }
.assinatura-nome { font-weight: 800; color: var(--preto); font-size: 1.1rem; }
.assinatura-foto { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

.artigo-corpo { display: grid; grid-template-columns: minmax(0, 1fr); }
.artigo-principal { min-width: 0; max-width: var(--coluna); }
.artigo-capa { margin: 0 0 2rem; }
.artigo-capa img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; background: var(--giz); }
.artigo-ficha-movel { display: grid; gap: 1rem; margin: 0 0 2.2rem; }
.artigo-ficha-movel .rotulo { max-width: none; }
.artigo-ficha-movel .rotulo-titulo { font-size: 1.7rem; border-bottom-width: 9px; }
.artigo-ficha-movel .rotulo-linha { padding: .3rem 0 .26rem; font-size: 1rem; }
.artigo-lateral { display: none; }
@media (min-width: 1100px) {
  .artigo-corpo { grid-template-columns: minmax(0, var(--coluna)) 17.5rem; gap: 5rem; }
  .artigo-ficha-movel { display: none; }
  .artigo-lateral { display: flex; flex-direction: column; gap: 1.5rem; }
  .artigo-lateral .rotulo { max-width: none; }
  .rotulo-artigo .rotulo-titulo { font-size: 1.9rem; }
}
.indice-fixo { position: sticky; top: 1.5rem; border-top: 6px solid var(--preto); padding-top: .8rem; }
.indice-titulo { font: 800 1.2rem/1 var(--f-ui); margin: 0 0 .6rem; color: var(--preto); }
.indice-fixo ol { list-style: none; margin: 0; padding: 0; counter-reset: idx; }
.indice-fixo li { counter-increment: idx; }
.indice-fixo a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .38rem 0; font: 600 1rem/1.25 var(--f-ui); color: var(--cinza); text-decoration: none; border-bottom: 1px solid var(--linha); }
.indice-fixo a::before { content: counter(idx); font-weight: 800; color: var(--ouro-texto); }
.indice-fixo a:hover, .indice-fixo a[aria-current="true"] { color: var(--preto); }
.indice-fixo a[aria-current="true"]::before { content: "▸"; }
.indice { border: 3px solid var(--preto); padding: .2rem .9rem; }
.indice summary { cursor: pointer; font: 800 1.45rem/1 var(--f-display); padding: .55rem 0; color: var(--preto); list-style-position: inside; }
.indice summary span { font: 600 1rem var(--f-ui); color: var(--cinza); margin-left: .4rem; }
.indice ol { margin: .2rem 0 .8rem; padding-left: 1.4rem; }
.indice li { margin: .3rem 0; font: 600 1.05rem/1.3 var(--f-ui); }
.indice li::marker { color: var(--ouro-texto); font-weight: 800; }
.indice a { color: var(--tinta); text-decoration: none; }
.indice a:hover { text-decoration: underline; text-decoration-color: var(--ouro); }

.artigo-fim { margin-top: 3rem; display: grid; gap: 2.2rem; }
.continua { padding-top: 3.5rem; }

/* partilha */
.partilha { border-top: 6px solid var(--preto); padding-top: .9rem; }
.partilha-titulo { font: 800 1.2rem/1.2 var(--f-ui); color: var(--preto); margin: 0 0 .7rem; }
.partilha ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.partilha a, .partilha button { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .8rem .55rem .7rem; border: 2px solid var(--preto); border-radius: 3px; background: var(--papel); color: var(--preto); font: 800 1rem/1 var(--f-ui); text-decoration: none; cursor: pointer; }
.partilha a:hover, .partilha button:hover { background: var(--preto); color: var(--papel); }
.partilha .ico { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.partilha .ico-traco { fill: none; stroke: currentColor; }
.partilha-compacta { border-top-width: 3px; }
.partilha-compacta .partilha-titulo { font-size: 1.05rem; }
.partilha-compacta a, .partilha-compacta button { padding: .55rem; }
.partilha-compacta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.partilha button.copiado { background: var(--ouro); border-color: var(--ouro); color: #000; }

.autor-caixa { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.1rem; border-top: 1px solid var(--linha); padding-top: 1.4rem; align-items: start; }
.autor-caixa img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.autor-caixa p { margin: 0 0 .5rem; font-size: 1.02rem; }
.autor-caixa-quem { font: 600 1.15rem var(--f-ui) !important; color: var(--cinza); }
.autor-caixa-quem strong { color: var(--preto); font-weight: 800; }

/* ------------------------------------------------------------ texto corrido (artigos e páginas) */

.texto { font-size: 1.125rem; }
@media (min-width: 700px) { .texto { font-size: 1.1875rem; } }
.texto > *:first-child { margin-top: 0; }
.texto p { margin: 0 0 1.15em; }
.texto h2 { font: 800 clamp(1.9rem, 1.5rem + 1.4vw, 2.4rem)/1.02 var(--f-display); color: var(--preto); margin: 2.3em 0 .65em; scroll-margin-top: 1.5rem; letter-spacing: .003em; }
.texto h3 { font: 800 clamp(1.45rem, 1.3rem + .6vw, 1.7rem)/1.08 var(--f-display); color: var(--preto); margin: 1.9em 0 .55em; scroll-margin-top: 1.5rem; }
.texto h4 { font: 800 1.3rem/1.15 var(--f-ui); color: var(--preto); margin: 1.6em 0 .5em; }
.texto h5 { font: 800 1.15rem/1.2 var(--f-ui); color: var(--preto); margin: 1.4em 0 .4em; }
.texto a { color: var(--tinta); text-decoration: underline; text-decoration-color: var(--ouro); text-decoration-thickness: 2px; text-underline-offset: .18em; }
.texto a:hover { background: var(--ouro-claro); text-decoration-color: var(--preto); }
.texto strong { font-weight: 700; color: var(--preto); }
.texto ul, .texto ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.texto li { margin: 0 0 .5em; padding-left: .15em; }
.texto ul li::marker { color: var(--ouro-texto); }
.texto ol li::marker { color: var(--ouro-texto); font-weight: 700; }
.texto blockquote { margin: 2em 0; padding: .1em 0 .1em 1.3em; border-left: 4px solid var(--preto); font-style: italic; font-size: 1.12em; color: var(--preto); }
.texto blockquote p:last-child { margin-bottom: 0; }
.texto figure { margin: 2.2em auto; }
.texto figure img { margin: 0 auto; border-radius: 3px; }
.texto figcaption { margin-top: .55rem; text-align: center; font: 600 .95rem/1.35 var(--f-ui); color: var(--cinza); }
.texto figcaption a { text-decoration-thickness: 1px; }
.texto .img-s { max-width: 16rem; }
.texto .img-m { max-width: 26rem; }
.texto img { height: auto; }
.texto hr, hr.knurl { border: 0; height: 14px; width: min(12rem, 60%); margin: 3em auto; opacity: .9;
  background: repeating-linear-gradient(45deg, var(--cinza) 0 1px, transparent 1px 6px), repeating-linear-gradient(-45deg, var(--cinza) 0 1px, transparent 1px 6px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.texto .lead { font-size: 1.28em; line-height: 1.55; color: var(--preto); }
.texto .maior { font-size: 1.12em; }
.texto .destaque { font: 800 clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem)/1.12 var(--f-display); color: var(--preto); margin: 1.6em 0 .8em; }
.texto .remate { font: 800 clamp(2rem, 1.5rem + 2vw, 2.8rem)/1 var(--f-display); color: var(--preto); margin: 1.2em 0; }
.texto .tabela { overflow-x: auto; margin: 2em 0; }
.texto table { width: 100%; border-collapse: collapse; font-size: .95em; line-height: 1.45; border-top: 5px solid var(--preto); }
.texto th { font: 800 1.05rem/1.2 var(--f-ui); text-align: left; padding: .55rem .6rem; border-bottom: 3px solid var(--preto); vertical-align: bottom; }
.texto td { padding: .6rem .6rem; border-bottom: 1px solid var(--linha); vertical-align: top; }
.texto tr:last-child td { border-bottom: 2px solid var(--preto); }

/* caixas herdadas dos artigos (mesma linguagem do rótulo) */
.texto .hca-box, .texto .hca-rota { border: 3px solid var(--preto); padding: 1.15rem 1.3rem 1.3rem; margin: 2.3em 0; background: var(--papel); }
.texto .hca-kicker { font: 800 1.05rem/1.2 var(--f-ui); color: var(--ouro-texto); margin: 0 0 .35rem; letter-spacing: .01em; }
.texto .hca-box h4, .texto .hca-box .hca-titulo, .texto .hca-rota h3 { font: 800 1.75rem/1.02 var(--f-display); margin: 0 0 .65rem; color: var(--preto); }
.texto .hca-box p { font-size: .98em; }
.texto .hca-box > :last-child, .texto .hca-rota > :last-child { margin-bottom: 0; }
.texto .hca-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 0; }
.texto .hca-btn, .texto .btn { display: inline-flex; align-items: center; justify-content: center; padding: .68rem 1.1rem .7rem; border: 2px solid var(--preto); border-radius: 3px; background: var(--preto); color: var(--papel); font: 800 1.08rem/1.15 var(--f-ui); letter-spacing: .01em; text-decoration: none; text-align: center; }
.texto .hca-btn:hover, .texto .btn:hover { background: var(--ouro); border-color: var(--ouro); color: #000; }
.texto .hca-btn--alt { background: transparent; color: var(--preto); }
.texto .hca-disc, .texto .disclosure { font: 600 .98rem/1.4 var(--f-ui); color: var(--cinza); margin: 1rem 0 0; }
.texto .hca-pos { font-size: .95em; border-top: 1px solid var(--linha); padding-top: .85rem; margin: 1.1rem 0 0; }
.texto .registo, .texto .hca-regras { border: 3px solid var(--preto); padding: .55rem .8rem .65rem; margin: 2.2em 0; font-family: var(--f-ui); max-width: 30rem; background: var(--papel); }
.texto .registo > p:not(.registo-titulo) { font: 400 1rem/1.55 var(--f-texto); margin: .6rem 0; }
.texto .registo > p:last-child { margin-bottom: .2rem; }
.texto .registo-titulo, .texto .hca-regras > .hca-kicker { font: 800 2rem/1 var(--f-display); color: var(--preto); margin: 0 0 .3rem; padding-bottom: .3rem; border-bottom: 10px solid var(--preto); }
.texto .registo dl, .texto .hca-regras dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); }
.texto .registo dt, .texto .registo dd, .texto .hca-regras dt, .texto .hca-regras dd { padding: .45rem 0 .4rem; border-bottom: 1px solid var(--preto); font-size: 1.05rem; line-height: 1.3; margin: 0; }
.texto .registo dt, .texto .hca-regras dt { font-weight: 800; padding-right: 1.2rem; }
.texto .registo dd, .texto .hca-regras dd { font-weight: 600; }
.texto .registo dt:last-of-type, .texto .registo dd:last-of-type, .texto .hca-regras dt:last-of-type, .texto .hca-regras dd:last-of-type { border-bottom: 0; }
.texto .hca-mito { border-left: 6px solid var(--preto); padding: .1rem 0 .1rem 1.2rem; margin: 2.2em 0; }
.texto .hca-mito h3 { margin-top: 0; }
.texto .hca-mito > :last-child { margin-bottom: 0; }
.texto .hca-aviso { background: var(--ouro-claro); border-left: 6px solid var(--ouro); padding: 1rem 1.2rem; margin: 2em 0; }
.texto .hca-aviso > :last-child { margin-bottom: 0; }
.texto .hca-duo, .texto .hca-stack { display: grid; gap: .9rem; margin: 1.1rem 0; }
.texto .hca-card { border: 2px solid var(--preto); padding: .95rem 1rem 1rem; display: flex; flex-direction: column; }
.texto .hca-card--top { border-top: 9px solid var(--ouro); }
.texto .hca-tag { font: 800 1rem/1 var(--f-ui); color: var(--ouro-texto); margin-bottom: .4rem; }
.texto .hca-card h5, .texto .hca-item h5, .texto .hca-card .hca-titulo, .texto .hca-item .hca-titulo { font: 800 1.35rem/1.08 var(--f-display); margin: 0 0 .5rem; color: var(--preto); }
.texto .hca-card ul { font-size: .95em; margin-bottom: 1rem; }
.texto .hca-card .hca-btn { margin-top: auto; }
.texto .hca-item { border-top: 2px solid var(--preto); padding-top: .65rem; }
.texto .hca-item p { font-size: .95em; margin-bottom: .5rem; }
.texto .hca-item a { font: 800 1.05rem var(--f-ui); }
.texto .hca-lista { list-style: none; padding: 0; margin: 0; }
.texto .hca-lista li { border-top: 1px solid var(--linha); padding: .8rem 0 0; margin: 0 0 .8rem; }
.texto .hca-lista li:last-child { margin-bottom: 0; }
.texto .hca-lista a { font: 800 1.35rem/1.1 var(--f-display); text-decoration: none; color: var(--preto); }
.texto .hca-lista a:hover { text-decoration: underline; text-decoration-color: var(--ouro); background: none; }
.texto .hca-lista span { display: block; color: var(--cinza); font-size: .95em; margin-top: .25rem; line-height: 1.5; }
.texto .lado-a-lado { display: grid; gap: 1rem; margin: 1.5em 0; }
.texto .lado-a-lado > div { border-top: 6px solid var(--preto); padding-top: .7rem; }
.texto .lado-a-lado h3 { margin-top: 0; }
@media (min-width: 640px) {
  .texto .hca-duo, .texto .hca-stack, .texto .lado-a-lado { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* anúncios manuais */
.pub { margin: 2.5em 0; min-height: 120px; text-align: center; }
.pub-rotulo { display: block; font: 600 .8rem/1 var(--f-ui); color: var(--cinza); margin-bottom: .4rem; letter-spacing: .02em; }

/* ------------------------------------------------------------ temas (categorias) */

.tema-topo { padding: 3rem 0 3.5rem; }
.tema-grelha { display: grid; gap: 2.2rem; align-items: center; }
.tema-nome { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; font: 800 1.15rem/1 var(--f-ui); color: var(--ouro); margin: 0 0 .9rem; }
.tema-nome span { font-weight: 600; color: var(--osso-2); }
.tema-titulo { font: 800 clamp(3rem, 1.8rem + 5vw, 5.6rem)/.92 var(--f-display); color: var(--osso); margin: 0 0 1rem; }
.tema-intro { font-size: 1.22rem; line-height: 1.55; color: var(--osso-2); max-width: 36rem; margin: 0; }
@media (min-width: 960px) {
  .tema-topo { padding: 4rem 0 4.5rem; }
  .tema-grelha { grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 1fr); gap: 4rem; }
  .rotulo-tema { justify-self: end; width: 100%; transform: rotate(-1deg); box-shadow: -10px 10px 0 var(--ouro); }
}
.tema-artigos { padding-top: 3.5rem; }
.vazio { font-size: 1.15rem; color: var(--cinza); border-top: 1px solid var(--linha); padding-top: 1.2rem; }
.a-caminho { padding-top: 3rem; }
.caminho-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem 3rem; }
.caminho-lista li { border-top: 2px dashed var(--cinza); padding-top: .8rem; }
.caminho-lista p { margin: 0; color: var(--cinza); font-size: 1rem; }
.caminho-titulo { font: 800 1.45rem/1.05 var(--f-display) !important; color: var(--preto) !important; margin-bottom: .35rem !important; }
.caminho-nota { margin-top: 1.5rem; font: 600 1.05rem/1.4 var(--f-ui); color: var(--cinza); }
.caminho-nota a { color: var(--preto); text-decoration-color: var(--ouro); text-decoration-thickness: 2px; }
@media (min-width: 900px) { .caminho-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tema-extra { padding-top: 2rem; }
.tema-extra .texto { max-width: 46rem; }

/* ------------------------------------------------------------ páginas, arquivo e 404 */

.pagina-topo { padding-top: 2.5rem; padding-bottom: 1.2rem; }
.pagina-titulo { font: 800 clamp(2.6rem, 1.6rem + 4vw, 4.6rem)/.95 var(--f-display); color: var(--preto); margin: 0 0 .9rem; }
.pagina-dek { font-size: 1.28rem; line-height: 1.5; color: var(--cinza); max-width: var(--coluna); margin: 0 0 1rem; }
.pagina .texto { max-width: var(--coluna); }
.pagina-larga .texto { max-width: 52rem; }
.arquivo-topo { padding-top: 2.5rem; padding-bottom: 1rem; }
.temas-atalhos ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.temas-atalhos a { display: inline-block; padding: .5rem .85rem; border: 2px solid var(--preto); border-radius: 3px; font: 800 1.02rem/1 var(--f-ui); color: var(--preto); text-decoration: none; }
.temas-atalhos a:hover { background: var(--preto); color: var(--papel); }
.arquivo-lista { padding-top: 1rem; }
.paginas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 3px solid var(--preto); font: 800 1.05rem var(--f-ui); }
.paginas a { color: var(--preto); }
.nao-existe { display: grid; gap: 2.5rem; padding-top: 3rem; padding-bottom: 3rem; align-items: center; }
@media (min-width: 900px) { .nao-existe { grid-template-columns: 22rem minmax(0, 1fr); gap: 4rem; } }

/* ------------------------------------------------------------ rodapé */

.rodape { background: var(--faixa); color: var(--osso-2); margin-top: 5rem; padding: 3rem 0 2.5rem; }
.pg-artigo .protocolo + .continua + .rodape, .protocolo + .rodape { margin-top: 0; }
.rodape-in { max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); display: grid; gap: 1.6rem; }
.rodape-marca { display: flex; gap: .9rem; align-items: flex-start; }
.rodape-marca img { width: 48px; height: 48px; flex: none; }
.rodape-marca p { margin: 0; font-size: 1rem; max-width: 30rem; }
.rodape-nome { font: 800 1.6rem/1 var(--f-display) !important; color: var(--osso); margin-bottom: .35rem !important; }
.rodape-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.rodape-links a { color: var(--osso); font: 600 1.05rem var(--f-ui); text-decoration: none; }
.rodape-links a:hover { color: var(--ouro); text-decoration: underline; }
.redes { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.redes a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid #3a3a37; border-radius: 50%; color: var(--osso); }
.redes a:hover { border-color: var(--ouro); color: var(--ouro); }
.redes .ico { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.rodape-nota { font: 600 .95rem/1.4 var(--f-ui); margin: 0; padding-top: 1.2rem; border-top: 1px solid #2c2c2a; }
.rodape-copy { font: 600 .9rem/1.4 var(--f-ui); color: #8d897f; margin: 0; }
@media (min-width: 900px) {
  .rodape-in { grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 3rem; }
  .rodape-links { justify-self: end; }
  .rodape-nota, .rodape-copy { grid-column: 1 / -1; }
  .redes { grid-column: 1; }
}

/* noite: faixas pretas ganham margem visível */
[data-tema="noite"] .faixa-preta, [data-tema="noite"] .protocolo, [data-tema="noite"] .rodape { background: #000; }
[data-tema="noite"] .texto .hca-btn, [data-tema="noite"] .texto .btn, [data-tema="noite"] .botao:not(.botao-ouro):not(.botao-contorno-claro):not(.botao-contorno) { color: #000; }

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

@media print {
  .topo, .rodape, .protocolo, .partilha, .pub, .artigo-lateral, .continua, .progresso, .indice { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .artigo-principal { max-width: none; }
  .texto a { text-decoration: none; }
}
