/* Blog e páginas de texto (privacidade). Usa os tokens de ../styles.css */

.bg-hero { padding: 84px clamp(8px, 1.4vw, 20px) 0; }
.bg-hero__bloco {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1560px; margin: 0 auto; border-radius: var(--raio-g);
  background: var(--noite); color: #fff;
  padding: clamp(44px, 6.4vw, 96px) clamp(20px, 5vw, 80px);
}
.bg-hero__bloco :focus-visible { outline-color: #fff; }
.bg-hero h1 { margin-top: 22px; font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.6rem); line-height: 1; letter-spacing: -0.04em; max-width: 16ch; }
.bg-hero h1 em { font-style: normal; color: var(--acento); }
.bg-hero__sub { margin-top: 20px; max-width: 38em; font-size: var(--t-lead); color: rgb(255 255 255 / .8); }
@media (prefers-reduced-motion: no-preference) {
  .js .bg-hero__bloco > .selo, .js .bg-hero h1, .js .bg-hero__sub, .js .migalhas, .js .art-meta, .js .bg-hero__capa { animation: bg-sobe .9s var(--sai) backwards; }
  .js .bg-hero h1 { animation-delay: .08s; } .js .bg-hero__sub, .js .art-meta { animation-delay: .18s; } .js .bg-hero__capa { animation-delay: .26s; }
}
@keyframes bg-sobe { from { opacity: 0; transform: translateY(22px); } }

/* Seletor de idioma do blog: links reais (PT | EN | ES), com o mesmo visual dos botões do resto do site */
.idioma a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 999px; background: transparent; color: var(--tinta-3); font-size: 0.8rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; transition: background-color .25s var(--sai), color .25s, box-shadow .25s; }
.idioma a[aria-current="true"] { background: #fff; color: var(--tinta); box-shadow: 0 1px 3px rgb(15 16 20 / .16); }
.idioma a:hover:not([aria-current="true"]) { color: var(--tinta); }
@media (max-width: 380px) { .idioma a { min-width: 34px; padding: 0 6px; } }

/* ===== Listagem ===== */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 40px); }
.filtros button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--cinza); color: var(--tinta-2); font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: background-color .25s var(--sai), color .25s, transform .3s var(--sai); }
.filtros button:hover { background: var(--cinza-2); color: var(--tinta); }
.filtros button[aria-pressed="true"] { background: var(--tinta); color: #fff; }
.blog-lista { padding-top: clamp(40px, 5vw, 72px); }
.posts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.post { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--raio); background: var(--cinza); overflow: hidden; text-decoration: none; color: var(--tinta); transition: transform .5s var(--sai), box-shadow .5s var(--sai); }
.post[hidden] { display: none; }
.post:hover { transform: translateY(-6px); box-shadow: 0 28px 46px -30px rgb(15 16 20 / .5); }
.post__capa { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: var(--noite); }
.post__capa svg { width: 78%; height: auto; transition: transform .7s var(--mola); }
.post:hover .post__capa svg { transform: scale(1.05) rotate(-1.5deg); }
.post__corpo { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 28px); flex: 1; }
.post__tema { font-size: 0.74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--tinta-3); }
.post h2, .post h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.15; letter-spacing: -0.025em; }
.post p { color: var(--tinta-2); font-size: 0.95rem; }
.post__meta { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--tinta-3); font-variant-numeric: tabular-nums; }
.post__meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.post--destaque { grid-column: 1 / -1; flex-direction: row; background: var(--noite); color: #fff; }
.post--destaque .post__capa { flex: 1 1 52%; aspect-ratio: auto; min-height: 320px; background: var(--acento); }
.post--destaque .post__corpo { flex: 1 1 48%; justify-content: center; padding: clamp(24px, 4vw, 56px); gap: 14px; }
.post--destaque h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.8rem); line-height: 1.04; letter-spacing: -0.035em; }
.post--destaque p { color: var(--noite-texto); font-size: 1.02rem; }
.post--destaque .post__tema, .post--destaque .post__meta { color: #8D92A1; }
.post--destaque .post__meta { margin-top: 8px; }
.post--larga { grid-column: span 3; }
.posts__vazio { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--tinta-3); background: var(--cinza); border-radius: var(--raio); }
@media (max-width: 980px) { .post, .post--larga { grid-column: span 3; } .post--destaque { flex-direction: column; } .post--destaque .post__capa { min-height: 0; aspect-ratio: 16 / 9; flex: none; } }
@media (max-width: 640px) { .post, .post--larga { grid-column: 1 / -1; } }

/* Capas desenhadas */
.capa .c-papel { fill: #fff; } .capa .c-cinza { fill: #E7E9EE; } .capa .c-tinta { fill: #0F1014; } .capa .c-acento { fill: var(--acento); }
.capa .c-suave { fill: #2A2D37; } .capa .c-linha { fill: none; stroke: #A9AEBB; stroke-width: 3; stroke-linecap: round; }
.capa .c-linha-acento { fill: none; stroke: var(--acento); stroke-width: 6; stroke-linecap: round; }
.capa text { font: 600 20px var(--f-display); fill: #0F1014; }
.post--destaque .capa .c-acento, .bg-hero__capa--acento .capa .c-acento { fill: #0F1014; }
.post--destaque .capa .c-linha-acento { stroke: #0F1014; }
.capa .c-check { fill: none; stroke: #0F1014; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.post--destaque .capa .c-check { stroke: var(--acento); }
.post--destaque .capa .c-linha { stroke: #0F1014; opacity: .45; }
.post--destaque .capa .c-suave { fill: rgb(15 16 20 / .18); }

/* Chamada da listagem */
.blog-cta { margin-top: clamp(48px, 6vw, 88px); }

/* ===== Artigo ===== */
.art-hero .bg-hero__bloco { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(36px, 5vw, 72px); }
.art-hero h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.7rem); line-height: 1.03; max-width: 20ch; margin-top: 18px; }
.migalhas { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 0.86rem; color: #8D92A1; margin-bottom: 22px; }
.migalhas a { color: #C9CDD6; text-decoration: none; }
.migalhas a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.migalhas li { display: flex; align-items: center; gap: 10px; }
.migalhas li + li::before { content: "›"; color: #5E6372; }
.migalhas [aria-current] { color: #8D92A1; max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 24px; font-size: 0.9rem; color: var(--noite-texto); font-variant-numeric: tabular-nums; }
.art-meta b { color: #fff; font-weight: 600; }
.art-meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.bg-hero__capa { border-radius: 24px; background: #1B1D25; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.bg-hero__capa svg { width: 80%; height: auto; }
@media (max-width: 900px) { .art-hero .bg-hero__bloco { grid-template-columns: 1fr; } .bg-hero__capa { display: none; } }

.art-corpo { max-width: 1180px; margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--gutter) 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sumario { position: sticky; top: 104px; font-size: 0.9rem; }
.sumario__t { font-size: 0.74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-3); margin-bottom: 12px; }
.sumario ol { display: grid; gap: 2px; border-left: 1.5px solid var(--cinza-2); }
.sumario a { display: block; padding: 7px 0 7px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--tinta-3); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
.sumario a:hover { color: var(--tinta); }
.sumario a.is-ativo { color: var(--tinta); font-weight: 600; border-left-color: var(--acento); }
.sumario a.sumario__volta { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; padding: 0; border: 0; font-weight: 600; color: var(--tinta); text-decoration: none; }
.sumario a.sumario__volta:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .art-corpo { grid-template-columns: minmax(0, 1fr); }
  .sumario { position: static; background: var(--cinza); border-radius: var(--raio); padding: 20px 22px; }
  .sumario a.sumario__volta { display: none; }
}

.prosa { min-width: 0; max-width: 68ch; font-size: 1.125rem; line-height: 1.7; color: #23252C; }
.prosa > * + * { margin-top: 1.15em; }
.prosa .abre { font-size: 1.28rem; line-height: 1.55; color: var(--tinta); letter-spacing: -0.01em; }
.prosa h2 { margin-top: 2.1em; font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem); line-height: 1.12; letter-spacing: -0.03em; scroll-margin-top: 104px; color: var(--tinta); }
.prosa h3 { margin-top: 1.7em; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--tinta); }
.prosa h2 + *, .prosa h3 + * { margin-top: .7em; }
.prosa a { color: var(--tinta); font-weight: 500; text-decoration: underline; text-decoration-color: var(--acento); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: background-color .2s; border-radius: 3px; }
.prosa a:hover { background: #FFE9DE; }
.prosa strong { font-weight: 600; color: var(--tinta); }
.prosa ul, .prosa ol { display: grid; gap: .55em; padding-left: 0; }
.prosa ul > li { position: relative; padding-left: 1.6em; }
.prosa ul > li::before { content: ""; position: absolute; left: .25em; top: .68em; width: .42em; height: .42em; border-radius: 50%; background: var(--acento); }
.prosa ol { counter-reset: passo; }
.prosa ol > li { position: relative; padding-left: 2.3em; counter-increment: passo; }
.prosa ol > li::before { content: counter(passo); position: absolute; left: 0; top: .12em; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--tinta); color: #fff; display: grid; place-items: center; font: 600 .78em/1 var(--f-display); font-variant-numeric: tabular-nums; }
.prosa blockquote { margin: 2em 0; padding: clamp(22px, 3vw, 34px); border-radius: var(--raio); background: var(--noite); color: #fff; }
.prosa blockquote p { font-family: var(--f-display); font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); font-weight: 600; line-height: 1.22; letter-spacing: -0.025em; text-wrap: balance; }
.prosa blockquote::before { content: ""; display: block; width: 34px; height: 6px; border-radius: 99px; background: var(--acento); margin-bottom: 16px; }
.prosa .marcador { background: #FFE9DE; color: #9A3A0C; font-weight: 600; padding: .1em .4em; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--acento); }
.tabela-rolavel { overflow-x: auto; border-radius: var(--raio-p); box-shadow: inset 0 0 0 1px var(--cinza-2); }
.prosa table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; min-width: 520px; }
.prosa th, .prosa td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--cinza-2); }
.prosa th { background: var(--cinza); font-weight: 600; font-size: 0.82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--tinta-2); }
.prosa tr:last-child td { border-bottom: 0; }
.autor { display: flex; align-items: center; gap: 14px; margin-top: 3em; padding-top: 1.6em; border-top: 1px solid var(--cinza-2); font-size: 0.95rem; color: var(--tinta-2); }
.autor__av { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--tinta); color: var(--acento); display: grid; place-items: center; font: 600 1.05rem var(--f-display); }
.autor b { display: block; color: var(--tinta); font-weight: 600; }

/* Chamada para o diagnóstico */
.chamada { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--raio-g); background: var(--acento); color: var(--acento-sobre); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.chamada h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem); max-width: 18ch; }
.chamada p { margin-top: 12px; max-width: 34em; color: rgb(31 10 0 / .82); font-size: var(--t-lead); }
.chamada .hero__grade { background-image: linear-gradient(rgb(31 10 0 / .08) 1px, transparent 1px), linear-gradient(90deg, rgb(31 10 0 / .08) 1px, transparent 1px); }
.chamada :focus-visible { outline-color: var(--tinta); }
@media (max-width: 760px) { .chamada { grid-template-columns: 1fr; } }

.leia { padding-top: clamp(56px, 7vw, 104px); }
.leia h2 { margin-bottom: clamp(20px, 3vw, 32px); }
.leia .posts .post { grid-column: span 3; }
@media (max-width: 640px) { .leia .posts .post { grid-column: 1 / -1; } }

/* Página de texto (privacidade) */
.txt-hero .bg-hero__bloco { padding-block: clamp(36px, 5vw, 72px); }
.txt-hero h1 { max-width: 14ch; }

/* Revelar ao rolar: sem JS o conteúdo fica visível */
.rodape__logao { opacity: 1 !important; transform: none !important; }
@media (max-width: 560px) { .topo__acoes > .botao { display: none; } }
@media (max-width: 1040px) { .topo__links { display: none; } .topo__acoes { margin-left: auto; } .topo__menu { display: inline-flex; } }
@media (max-width: 640px) { .migalhas li:last-child { display: none; } }


/* ===== Listagem: ver mais ===== */
.posts__mais { display: flex; justify-content: center; margin-top: clamp(24px, 3vw, 40px); }
.posts__mais button { border: 0; }
.posts__mais button[hidden] { display: none; }
.post[hidden] { display: none; }

/* ===== Página de texto em uma coluna (privacidade) ===== */
.art-corpo--so { display: block; max-width: calc(68ch + 2 * var(--gutter)); }
.art-corpo--so .prosa { max-width: 68ch; margin-inline: auto; }

/* Marca: o símbolo de registro pequeno, no alto */
.autor__av { text-transform: none; }
