/* Fontes do site, servidas daqui desde 09/11/2026 (antes vinham do Google Fonts). scripts/build.mjs junta este arquivo
   ao início de styles.css; as páginas avulsas (doc-recrutamento) o carregam direto. Os .woff2 trazem o latim usado em
   português; os .woff, com a fonte inteira, só são baixados quando a página tem caracteres das faixas indicadas. */
@font-face { font-family: Montserrat; src: url('/assets/podcast/montserrat-600.woff2') format('woff2'), url('/assets/podcast/montserrat-600.woff') format('woff'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Montserrat; src: url('/assets/podcast/montserrat-700.woff2') format('woff2'), url('/assets/podcast/montserrat-700.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url('/assets/podcast/source-sans-400.woff2') format('woff2'), url('/assets/podcast/source-sans-400.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url('/assets/podcast/source-sans-600.woff2') format('woff2'), url('/assets/podcast/source-sans-600.woff') format('woff'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url('/assets/podcast/source-sans-700.woff2') format('woff2'), url('/assets/podcast/source-sans-700.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; }
/* Latim estendido, cirílico e vietnamita (e grego, na Source Sans): nomes próprios e termos de outras línguas. */
@font-face { font-family: Montserrat; src: url('/assets/podcast/montserrat-600.woff') format('woff'); font-style: normal; font-weight: 600; font-display: swap; unicode-range: U+0100-024F, U+0400-04FF, U+1E00-1EFF; }
@font-face { font-family: Montserrat; src: url('/assets/podcast/montserrat-700.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; unicode-range: U+0100-024F, U+0400-04FF, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; src: url('/assets/podcast/source-sans-400.woff') format('woff'); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+0370-03FF, U+0400-04FF, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; src: url('/assets/podcast/source-sans-600.woff') format('woff'); font-style: normal; font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+0370-03FF, U+0400-04FF, U+1E00-1EFF; }
@font-face { font-family: "Source Sans 3"; src: url('/assets/podcast/source-sans-700.woff') format('woff'); font-style: normal; font-weight: 700; font-display: swap; unicode-range: U+0100-02AF, U+0370-03FF, U+0400-04FF, U+1E00-1EFF; }

:root {
  --blue: #1f1f1f;
  --black: #000000;
  --white: #f7f7f5;
  --soft: #b8b8b5;
  --muted: #777774;
  --line: #202020;
  --line-strong: #333333;
  --sidebar: 188px;
  --max: 1080px;
  --article: 760px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { background: var(--black); scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }
body { scrollbar-width: none; -ms-overflow-style: none; }
body { margin: 0; background: var(--black); color: var(--white); font-family: "Source Sans 3", Arial, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: #4a4a4a; color: #fff; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: #000; color: var(--white); border: 1px solid var(--line-strong); border-bottom: 2px solid var(--blue); padding: 10px 14px; font-family: Montserrat, Arial, sans-serif; font-weight: 700; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); height: 100dvh; padding: 42px 20px 28px; border-right: 1px solid rgba(255,255,255,.035); background: #000; display: flex; flex-direction: column; z-index: 30; }
.sidebar-head p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.35; max-width: 138px; }
.brand, .mobile-brand { font-family: Montserrat, Arial, sans-serif; font-size: 24px; font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; }
.brand span, .mobile-brand span, .blue-dot { color: var(--blue); }
.side-nav { display: grid; gap: 2px; margin-top: 52px; }
.side-nav a { position: relative; padding: 9px 0 9px 14px; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 13px; font-weight: 600; transition: color .18s ease; }
.side-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; background: var(--blue); transform: translateY(-50%); transition: height .18s ease; }
.side-nav a:hover, .side-nav a:focus-visible, .side-nav a.active { color: var(--white); }
.side-nav a.active::before { height: 18px; }
.sidebar-meta { margin-top: auto; display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
.sidebar-meta a { width: fit-content; }
.sidebar-meta a:hover, .sidebar-meta a:focus-visible { color: var(--white); }
.sidebar-meta p { margin: 12px 0 0; max-width: 128px; }

.mobile-header { display: none; }
.site-frame { margin-left: var(--sidebar); min-height: 100vh; }
.page-width { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }
.article-width { width: min(calc(100% - 96px), var(--article)); }

.eyebrow { margin: 0 0 14px; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero { min-height: 76vh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 84px; }
.hero h1, .page-intro h1, .article-header h1 { margin: 0; font-family: Montserrat, Arial, sans-serif; font-weight: 700; letter-spacing: -.055em; line-height: .98; }
.hero h1 { max-width: 860px; font-size: clamp(58px, 8vw, 104px); }
.hero-lead { margin: 34px 0 0; max-width: 760px; color: var(--white); font-size: clamp(21px, 2.5vw, 28px); line-height: 1.35; }
.hero-text { margin: 18px 0 0; max-width: 720px; color: var(--soft); font-size: 17px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.hero-links a, .section-link, .profile-links a { color: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--blue); padding-bottom: 3px; }
.hero-links a:hover, .section-link:hover, .profile-links a:hover { color: #fff; }

.content-section { padding: 76px 0; }
.section-head { margin-bottom: 34px; }
.section-head h2, .contact-callout h2 { margin: 0; font-family: Montserrat, Arial, sans-serif; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.split-section { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.split-section .section-head { margin: 0; position: sticky; top: 44px; }
.section-copy h3 { margin: 0 0 16px; font-family: Montserrat, Arial, sans-serif; font-size: 24px; letter-spacing: -.03em; }
.section-copy p { margin: 0 0 14px; color: var(--soft); max-width: 680px; font-size: 18px; }
.section-copy .essay-row { grid-template-columns: 90px minmax(0, 1fr) auto; }
.section-copy .essay-row .row-body h3 { font-size: 22px; }
.research-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.quiet-section { padding-block: 44px; }
.quiet-section .section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.muted { color: var(--muted) !important; }

.rows { display: grid; gap: 34px; }
.essay-row, .publication-row, .timeline-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 28px; align-items: start; padding: 0; }
.row-meta { display: grid; gap: 6px; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.row-body h3 { margin: 0; font-family: Montserrat, Arial, sans-serif; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.18; letter-spacing: -.035em; }
.row-body p { margin: 10px 0 0; color: var(--soft); max-width: 690px; }
.row-link { align-self: center; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.row-link:hover, .row-link:focus-visible, .row-body h3 a:hover { color: #fff; }
.section-link { display: inline-block; margin-top: 28px; }

.page-intro { padding: 94px 0 72px; }
.page-intro h1 { font-size: clamp(52px, 7vw, 82px); }
.page-intro > p:not(.eyebrow) { max-width: 720px; margin: 28px 0 0; color: var(--soft); font-size: 19px; }
.page-intro code { color: var(--white); background: #000; border-bottom: 1px solid var(--line-strong); padding: 2px 5px; font-size: .9em; }

.filter-bar { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 18px; }
.search-box { flex: 1; max-width: 520px; }
.search-box input { width: 100%; height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line-strong); outline: 0; background: transparent; color: var(--white); font-size: 16px; }
.search-box input:focus { border-bottom-color: var(--blue); }
.search-box input::placeholder { color: var(--muted); }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.filter-buttons button { border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--muted); padding: 8px 0 6px; cursor: pointer; font-family: Montserrat, Arial, sans-serif; font-size: 11px; font-weight: 700; }
.filter-buttons button:hover, .filter-buttons button:focus-visible, .filter-buttons button.active { color: var(--white); border-bottom-color: var(--blue); }
.result-count { margin: 0 0 34px; color: var(--muted); font-size: 12px; }
.empty-state { color: var(--muted); padding: 32px 0; }
[hidden] { display: none !important; }

.timeline-row { grid-template-columns: 150px minmax(0, 1fr); }
.timeline-row .row-body h3 { font-size: 22px; }
.timeline-row .row-body p { margin-top: 7px; }
.plain-list { display: grid; gap: 14px; }
.plain-list p { margin: 0; font-family: Montserrat, Arial, sans-serif; font-size: 18px; font-weight: 600; }
.profile-links { display: grid; gap: 18px; }
.profile-links a { display: flex; justify-content: space-between; padding: 0; }
.download-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 14px; border: 0; background: #101010; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 12px; font-weight: 600; }
.download-link:hover, .download-link:focus-visible { background: #181818; color: var(--soft); }
.download-link:focus-visible { outline: 1px solid var(--muted); outline-offset: 2px; }
.download-link span { font-size: 16px; line-height: 1; }
.floating-download { position: fixed; right: 32px; bottom: 28px; z-index: 25; }
.empty-editorial { margin: 0; max-width: 620px; color: var(--soft); font-size: clamp(22px, 3vw, 30px); line-height: 1.35; }
.publication-source { font-size: 13px !important; }
.publication-source a { color: var(--white); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }

.year-section + .year-section { margin-top: 72px; }
.year-section > h2 { margin: 0 0 18px; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 18px; }
.publication-row .row-body h3 { font-size: 21px; }
.publication-row .row-body p { font-size: 14px; }

.contact-callout { padding-top: 96px; padding-bottom: 96px; }
.contact-callout h2 { max-width: 720px; }
.contact-callout > a, .contact-email { display: inline-block; margin-top: 30px; color: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: clamp(20px, 2.6vw, 31px); font-weight: 600; letter-spacing: -.025em; border-bottom: 2px solid var(--blue); }
.contact-page { min-height: 66vh; }

.article-header { padding-top: 78px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; margin-bottom: 56px; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 11px; font-weight: 700; }
.back-link:hover { color: var(--white); }
.article-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-header h1 { font-size: clamp(42px, 6vw, 70px); line-height: 1.03; }
.article-header > p { margin: 24px 0 0; color: var(--soft); font-size: 20px; line-height: 1.45; text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 6 3 3; }
.article-presentation { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: -6px 0 -6px -6px; color: var(--muted); border-radius: 4px; transition: color .18s ease, background-color .18s ease; }
.article-presentation:hover, .article-presentation:focus-visible { color: var(--white); background: #161616; outline: none; }
.article-presentation svg { display: block; }
.article-body { padding-top: 56px; padding-bottom: 82px; }
.prose { color: #d7d7d4; font-size: 18px; line-height: 1.74; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35em; }
.prose h2, .prose h3, .prose h4 { color: var(--white); font-family: Montserrat, Arial, sans-serif; letter-spacing: -.035em; line-height: 1.2; }
.prose h2 { margin: 2.2em 0 .8em; font-size: 30px; }
.prose h3 { margin: 1.9em 0 .7em; font-size: 23px; }
.prose h4 { margin: 1.7em 0 .6em; font-size: 19px; }
.prose a { color: var(--white); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose strong { color: var(--white); }
/* Ensaios: texto justificado, com hifenização em português (lang="pt-BR" no html). */
.article-body .prose p, .article-body .prose li { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 6 3 3; }
/* Quadros dos ensaios: legenda acima, fonte abaixo, alinhadas à esquerda. */
.article-body .prose p:has(+ .table-wrap) { margin: 2.2em 0 .7em; color: var(--white); font-size: 15px; line-height: 1.45; text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.article-body .prose .table-wrap + p { margin: .8em 0 2.2em; color: var(--muted); font-size: 13px; line-height: 1.5; text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.article-body .prose td { line-height: 1.45; }
.article-body .prose .table-wrap { margin: 0; }
/* Notas de rodapé: chamada numerada, lista ao fim e popup (main.js). */
.prose .fn-ref { margin-left: 1px; font-size: .62em; line-height: 0; vertical-align: super; }
.prose .fn-ref a { padding: 0 2px; color: var(--white); font-family: Montserrat, Arial, sans-serif; font-weight: 700; text-decoration: none; scroll-margin-top: 96px; }
.prose .fn-ref a:hover, .prose .fn-ref a:focus-visible { background: var(--white); color: #000; outline: none; }
.prose .footnotes { margin-top: 3.4em; padding-top: 1.6em; border-top: 1px solid var(--line-strong); color: #bdbdb9; font-size: 15px; line-height: 1.6; }
.prose .footnotes h2 { margin: 0 0 1.2em; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.prose .footnotes ol { margin: 0; padding-left: 1.6em; }
.prose .footnotes li { margin: 0 0 .8em; padding-left: .2em; scroll-margin-top: 96px; }
.prose .footnotes li::marker { color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 12px; font-weight: 700; }
.prose .footnotes li p { margin: 0; }
.prose .footnotes li:target p { color: var(--white); }
.prose .footnotes .fn-back { margin-left: 4px; color: var(--muted); text-decoration: none; }
.prose .footnotes .fn-back:hover { color: var(--white); }
.fn-popup { position: absolute; z-index: 60; padding: 14px 16px 15px; border: 1px solid var(--line-strong); background: #0d0d0d; color: #d7d7d4; font-size: 15px; line-height: 1.55; text-align: justify; -webkit-hyphens: auto; hyphens: auto; box-shadow: 0 18px 48px rgba(0,0,0,.6); }
.fn-popup[hidden] { display: none; }
.fn-popup p { margin: 0; }
.fn-popup em { color: var(--white); }
.prose blockquote { margin: 2em 0; padding: 2px 0 2px 24px; border-left: 2px solid var(--blue); color: var(--white); }
.prose blockquote p { margin: 0; }
.prose code { background: #000; color: #fff; border-bottom: 1px solid var(--line-strong); padding: 2px 5px; }
.prose pre { overflow: auto; padding: 20px; background: #000; border: 1px solid var(--line); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin: .45em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.table-wrap { overflow-x: auto; margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: 12px; }
.article-related { width: min(calc(100% - 96px), var(--max)); }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0 34px; color: #a0a09c; font-size: 12px; }
.site-footer p { margin: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.page-mobile-index { min-height: 100svh; }
.mobile-index-wrap { width: min(calc(100% - 48px), 560px); margin-inline: auto; padding: max(52px, env(safe-area-inset-top)) 0 max(54px, env(safe-area-inset-bottom)); }
.mobile-index-header { margin-bottom: 70px; text-align: center; }
.mobile-index-logo { margin: 0; color: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: clamp(36px, 9vw, 46px); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.mobile-index-logo span { color: #777774; }
.mobile-index-section + .mobile-index-section { margin-top: 58px; }
.mobile-index-section h2 { margin: 0 0 27px; color: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -.035em; }
.mobile-index-contact { display: grid; gap: 23px; margin: 0; }
.mobile-index-contact dt, .mobile-index-publications span { margin-bottom: 5px; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mobile-index-contact dd { margin: 0; color: var(--soft); font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.mobile-index-contact a, .mobile-index-publications a { color: var(--white); }
.mobile-index-contact a:hover, .mobile-index-publications a:hover, .mobile-index-desktop:hover { color: var(--soft); }
.mobile-index-publications { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.mobile-index-publications li { display: grid; gap: 5px; }
.mobile-index-publications a { width: fit-content; font-family: Montserrat, Arial, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: -.025em; line-height: 1.36; }
.mobile-index-publications p { margin: 0; color: var(--muted); font-size: 13px; }
.mobile-index-desktop { display: block; max-width: 390px; margin: 66px auto 0; color: var(--soft); font-size: 14px; line-height: 1.5; text-align: center; text-decoration: underline; text-decoration-color: #555; text-underline-offset: 5px; }
.page-mobile-index :focus-visible { outline-color: #b8b8b5; }

@media (max-width: 960px) {
  :root { --sidebar: 0px; }
  body.menu-open { overflow: hidden; }
  .mobile-header { position: fixed; inset: 0 0 auto 0; height: 64px; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: #000; border-bottom: 1px solid var(--line); }
  .mobile-brand { font-size: 20px; }
  .menu-toggle { border: 0; background: transparent; padding: 10px 0; font-family: Montserrat, Arial, sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
  .sidebar { top: 64px; width: 100%; height: calc(100dvh - 64px); padding: 34px 22px 26px; border-right: 0; transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-head { display: none; }
  .side-nav { margin-top: 0; gap: 3px; }
  .side-nav a { padding: 11px 0 11px 18px; font-size: 17px; }
  .sidebar-meta { margin-top: auto; }
  .site-frame { margin-left: 0; padding-top: 64px; }
  .page-width, .article-width, .article-related { width: min(calc(100% - 44px), var(--max)); }
  .split-section { grid-template-columns: 1fr; gap: 34px; }
  .split-section .section-head { position: static; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .search-box { max-width: none; }
  .floating-download { right: 22px; top: auto; bottom: 22px; }
}

@media (max-width: 680px) {
  .page-width, .article-width, .article-related { width: calc(100% - 32px); }
  .hero { min-height: auto; padding: 70px 0 64px; }
  .hero h1 { font-size: clamp(50px, 17vw, 72px); }
  .hero-lead { margin-top: 28px; font-size: 21px; }
  .hero-text { font-size: 16px; }
  .content-section { padding: 58px 0; }
  .page-intro { padding: 62px 0 54px; }
  .page-intro h1 { font-size: 52px; }
  .page-intro > p:not(.eyebrow) { font-size: 17px; }
  .essay-row, .publication-row, .timeline-row { grid-template-columns: 1fr; gap: 12px; padding: 22px 0 24px; }
  .section-copy .essay-row { grid-template-columns: 1fr; }
  .row-meta { display: flex; gap: 12px; }
  .row-link { justify-self: start; margin-top: 4px; }
  .filter-buttons { gap: 12px 16px; }
  .article-header { padding-top: 54px; padding-bottom: 42px; }
  .back-link { margin-bottom: 42px; }
  .article-header h1 { font-size: 42px; }
  .article-header > p { font-size: 18px; }
  .article-body { padding-top: 44px; padding-bottom: 62px; }
  .prose { font-size: 17px; line-height: 1.7; }
  .floating-download { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); }
  .page-curriculo .site-frame { padding-bottom: 110px; }
  .site-footer { flex-direction: column; }
}

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

/* Home hero: the signing animation is confined to this introductory section. */
.page-inicio .hero-kinetic {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 76vh;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.page-inicio .hero-kinetic::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(120px, 18vh, 220px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 22%, rgba(0,0,0,.62) 62%, rgba(0,0,0,.88) 82%, #000 100%);
}

.page-inicio .hero-kinetic-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #000 url('/kinetic/idle.jpg') 92% center / cover no-repeat;
  background-image: image-set(url('/kinetic/idle.webp') type('image/webp'), url('/kinetic/idle.jpg') type('image/jpeg'));
}

#heroKineticCanvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.page-inicio .hero-kinetic-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.985) 0%, rgba(0,0,0,.94) 42%, rgba(0,0,0,.66) 64%, rgba(0,0,0,.20) 84%, rgba(0,0,0,.08) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.04) 54%, rgba(0,0,0,.62) 86%, rgba(0,0,0,.92) 100%);
}

.page-inicio .hero-kinetic .hero-content {
  position: relative;
  z-index: 2;
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 84px;
}

.page-inicio .hero-kinetic h1 {
  max-width: 720px;
  font-size: clamp(48px, 5.8vw, 78px);
  line-height: 1;
}

.page-inicio .hero-kinetic .hero-text {
  color: #d0d0cc;
  text-shadow: 0 1px 22px rgba(0,0,0,.78);
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.page-inicio .hero-kinetic .hero-text em {
  color: var(--white);
  font-style: italic;
}

.page-inicio .hero-kinetic .hero-areas {
  margin: 18px 0 0;
  max-width: 760px;
  color: #7d7d79;
  font-size: 14px;
  letter-spacing: .01em;
  text-shadow: 0 1px 18px rgba(0,0,0,.72);
}

.page-inicio .hero-kinetic .hero-lead,
.page-inicio .hero-kinetic h1,
.page-inicio .hero-kinetic .eyebrow,
.page-inicio .hero-kinetic .hero-links {
  text-shadow: 0 2px 28px rgba(0,0,0,.72);
}

@media (max-width: 960px) {
  .page-inicio .hero-kinetic-shade {
    background:
      linear-gradient(90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.84) 48%, rgba(0,0,0,.44) 80%, rgba(0,0,0,.20) 100%),
      linear-gradient(180deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.05) 56%, rgba(0,0,0,.64) 86%, rgba(0,0,0,.92) 100%);
  }
}

@media (max-width: 680px) {
  .page-inicio .hero-kinetic h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .page-inicio .hero-kinetic,
  .page-inicio .hero-kinetic .hero-content {
    min-height: calc(100dvh - 64px);
  }
  .page-inicio .hero-kinetic .hero-content {
    padding-top: 70px;
    padding-bottom: 64px;
  }
  .page-inicio .hero-kinetic-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.60) 42%, rgba(0,0,0,.38) 66%, rgba(0,0,0,.82) 88%, rgba(0,0,0,.96) 100%),
      linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.24));
  }
}

/* Ensaios (09/11/2026): sumário das seções ao lado do texto, linha de progresso e "Como citar".
   A barra de rolagem continua oculta, como no resto do site; a linha de progresso faz as vezes dela. */
.prose h2, .prose h3, .article-cite { scroll-margin-top: 96px; }

.read-progress { position: fixed; top: 0; left: var(--sidebar); right: 0; z-index: 40; height: 2px; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--soft); transform: scaleX(0); transform-origin: 0 50%; }

.article-shell .article-header, .article-shell .article-body { width: auto; margin-inline: 0; }
.article-toc ol { margin: 0; padding: 0; list-style: none; }
.article-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line-strong); color: var(--muted); font-size: 14px; line-height: 1.35; transition: color .18s ease, border-color .18s ease; }
.article-toc a:hover, .article-toc a[aria-current] { color: var(--white); border-left-color: var(--soft); }
.article-toc summary { list-style: none; font-family: Montserrat, Arial, sans-serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc a:focus-visible, .article-toc summary:focus-visible, .cite-copy:focus-visible { outline: 2px solid var(--soft); outline-offset: 3px; }

/* Telas largas: o texto e o sumário dividem a coluna; o sumário fica preso no alto enquanto o texto corre. */
@media (min-width: 1180px) {
  .article-shell.has-toc { width: min(calc(100% - 96px), calc(var(--article) + 48px + 190px)); display: grid; grid-template-columns: minmax(0, 1fr) 190px; column-gap: 48px; }
  .article-shell.has-toc .article-header { grid-column: 1; grid-row: 1; }
  .article-shell.has-toc .article-body { grid-column: 1; grid-row: 2; }
  .article-toc { grid-column: 2; grid-row: 2; padding-top: 62px; }
  .article-toc details { position: sticky; top: 40px; max-height: calc(100vh - 80px); overflow-y: auto; scrollbar-width: none; }
  .article-toc details::-webkit-scrollbar { display: none; }
  .article-toc summary { margin-bottom: 14px; color: var(--muted); font-size: 10px; pointer-events: none; }
}

/* Telas estreitas: botão discreto no canto, que aparece só durante a leitura e abre a lista por cima do texto. */
@media (max-width: 1179px) {
  .article-toc { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .article-toc.is-shown { opacity: 1; visibility: visible; transform: none; }
  .article-toc details { position: relative; }
  .article-toc summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); background: #0d0d0d; color: var(--soft); font-size: 11px; cursor: pointer; }
  .article-toc summary::after { content: "+"; color: var(--muted); font-size: 15px; letter-spacing: 0; }
  .article-toc details[open] summary::after { content: "\2212"; }
  .article-toc ol { position: absolute; right: 0; bottom: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); max-height: min(62vh, 480px); overflow-y: auto; padding: 12px 16px; border: 1px solid var(--line-strong); background: #0d0d0d; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
  .article-toc a { padding: 9px 0 9px 14px; font-size: 15px; }
}

.article-cite { margin-top: 3.4em; padding-top: 1.6em; border-top: 1px solid var(--line-strong); }
.article-cite h2 { margin: 0 0 1.2em; color: var(--muted); font-family: Montserrat, Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cite-text { margin: 0; color: #bdbdb9; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.cite-text strong { color: var(--white); }
.cite-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin: 18px 0 0; min-height: 44px; }
.cite-copy { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line-strong); background: #0d0d0d; color: var(--white); font-family: Montserrat, Arial, sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.cite-copy:hover { background: #181818; border-color: var(--muted); }
.cite-status { color: var(--soft); font-size: 14px; }

@media (max-width: 960px) {
  .read-progress { top: 64px; left: 0; }
}
