/* woff2 (subset latin + latin-ext, gerado por fonts.py) com ttf/otf de reserva. Caminhos relativos a site/assets/ */
@font-face { font-family: "Archivo"; src: url("../assets/fonts/Archivo.woff2") format("woff2"), url("../assets/fonts/Archivo.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Analogue"; src: url("../assets/fonts/Analogue.woff2") format("woff2"), url("../assets/fonts/Analogue.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Analogue"; src: url("../assets/fonts/AnalogueRed-56Oblique.woff2") format("woff2"), url("../assets/fonts/AnalogueRed-56Oblique.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --paper: #FFFCEE;
  --ink: #1E110F;
  --ink-2: #6B5A55;
  --line: rgba(30,17,15,.12);
  --panel: #F6F0DC;
  --cobalt: #D7932F;
  --cobalt-deep: #54151D;
  --grifo: #F3DDB0;
  --link: #D7932F;
  --display: "Analogue", Georgia, serif;
  --ui: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- masthead ---------- */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.masthead-row { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ui); font-weight: 500; font-size: 16px; }
.brand-selo { height: 50px; width: auto; }
.brand-word { height: 34px; width: auto; }
.brand-lab { color: var(--cobalt-deep); }
.brand-blog { font-weight: 500; color: var(--ink-2); font-size: 16px; }
.cats { display: flex; gap: 26px; justify-self: center; font-family: var(--ui); font-weight: 500; font-size: 14px; }
.cats a { color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.cats a:hover { color: var(--ink); border-color: var(--cobalt); }
.masthead-cta { justify-self: end; font-family: var(--ui); font-weight: 500; font-size: 13px; color: var(--cobalt-deep); }
.masthead-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Analogue só tem peso 400: engrossa por stroke */
.lead-title, .post-title, .card-title, .band-head { -webkit-text-stroke: 0.45px currentColor; paint-order: stroke fill; }
.card-title { -webkit-text-stroke: 0.4px currentColor; }

/* ---------- vocabulário ---------- */
.kicker { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt-deep); }
.kicker a:hover { text-decoration: underline; text-underline-offset: 4px; }
.meta { font-family: var(--ui); font-size: 13px; color: var(--ink-2); }

/* o traço de marcador */
.stroke { position: relative; display: inline; background-image: linear-gradient(var(--grifo), var(--grifo)); background-repeat: no-repeat; background-size: 100% 0.42em; background-position: 0 88%; padding: 0 0.04em; }
.home .stroke { animation: draw .7s cubic-bezier(.2,.7,.2,1) .15s both; }
@keyframes draw { from { background-size: 0% 0.42em; } to { background-size: 100% 0.42em; } }
mark { background: linear-gradient(transparent 8%, var(--grifo) 8%, var(--grifo) 92%, transparent 92%); color: inherit; padding: 0 0.1em; margin: 0 -0.1em; }

/* ---------- capa: lead + trilho ---------- */
.lead-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr); gap: 56px; padding: 44px 0 56px; border-bottom: 1px solid var(--line); }
.lead-img { display: block; overflow: hidden; border-radius: 4px; background: var(--panel); aspect-ratio: 16/9; margin-bottom: 22px; }
.lead-img img { width: 100%; height: 100%; object-fit: cover; }
.lead { position: relative; }
.lead-body { display: flex; flex-direction: column; gap: 14px; }
.lead-title { font-family: var(--display); font-size: clamp(34px, 5vw, 60px); font-weight: 400; letter-spacing: 0; line-height: 1.02;  }
.lead-title a:hover .stroke { background-color: transparent; }
.lead-desc { font-size: 20px; line-height: 1.45; color: var(--ink-2); max-width: 60ch; }

.rail { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.rail-head { font-family: var(--ui); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.rail-head + .rail-head { margin-top: 12px; }
.rail-note { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.rail .card { padding: 14px 0; border-bottom: 1px solid var(--line); gap: 6px; }
.rail .card-desc { display: none; }
.rail .card-title { font-size: 21px; line-height: 1.2; }

/* ---------- faixas e grade ---------- */
.band { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.band:last-of-type { border-bottom: 0; }
.band-head { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: 0; margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.band-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }

.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
/* um link só por card: o <a> do título cobre o card inteiro */
.card-title a::after, .lead-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 6px; }
.card .kicker, .lead .kicker { position: relative; z-index: 2; align-self: flex-start; }
.card:hover .card-title, .lead:hover .lead-title { color: var(--cobalt-deep); }
.card-img { display: block; overflow: hidden; border-radius: 4px; background: var(--panel); aspect-ratio: 16/9; margin-bottom: 6px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.02); }
.card-title { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 0; line-height: 1.15; }
.card-title a:hover { color: var(--cobalt-deep); }
.card-desc { font-size: 16px; color: var(--ink-2); line-height: 1.45; }

/* variantes de faixa */
.band-stack > * + * { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.split-main .card-title { font-size: 32px; }
.split-list { border-left: 1px solid var(--line); padding-left: 32px; }
.split-list .card { padding: 14px 0; border-bottom: 1px solid var(--line); gap: 6px; }
.split-list .card:first-child { padding-top: 0; }
.split-list .card-desc { display: none; }
.split-list .card-title { font-size: 21px; line-height: 1.2; }
.row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.card--compact { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 4px; align-content: start; }
.card--compact .card-img { grid-row: 1 / span 3; aspect-ratio: 1; margin: 0; }
.card--compact .card-title { font-size: 18px; line-height: 1.2; }

/* ---------- post ---------- */
.post { padding: 44px 0 24px; }
.post-head { max-width: 780px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.crumb { font-family: var(--ui); font-size: 13px; color: var(--ink-2); }
.crumb a:hover { color: var(--cobalt); }
.post-title { font-family: var(--display); font-size: clamp(36px, 5.6vw, 66px); font-weight: 400; letter-spacing: 0; line-height: 1.0;  }
.post-desc { font-size: 21px; line-height: 1.45; color: var(--ink-2); }
.post-cover { overflow: hidden; border-radius: 4px; background: var(--panel); margin-bottom: 40px; }
.post-grid { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: 56px; align-items: start; }

.toc { position: sticky; top: 84px; font-family: var(--ui); }
.toc-head { font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.toc ul { list-style: none; }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 9px 0; font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--ink-2); letter-spacing: -0.01em; }
.toc a:hover { color: var(--cobalt); }

.prose { font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child::first-letter { font-family: var(--display); font-size: 3.3em; line-height: 1; float: left; padding: 0 .28em .04em 0; margin-top: -.06em; color: var(--cobalt-deep); }
.prose h2 { font-family: var(--ui); font-weight: 700; font-size: 27px; letter-spacing: -0.02em; line-height: 1.15; margin-top: 2em; }
.prose h3 { font-family: var(--ui); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: var(--cobalt); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose ol { list-style: none; counter-reset: passo; padding-left: 0; }
.prose ol li { counter-increment: passo; position: relative; padding-left: 2.2em; }
.prose ol li::before { content: counter(passo); position: absolute; left: 0; top: 0; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--cobalt-deep); padding-top: .3em; }
.prose blockquote { margin: 1.8em 0; padding: 22px 26px; background: var(--panel); color: var(--cobalt-deep); font-family: var(--ui); font-weight: 500; font-size: 21px; line-height: 1.4; letter-spacing: -0.01em; border-radius: 6px; }
.prose blockquote p { margin: 0; }
.prose blockquote mark { background: none; text-decoration: none; }

/* ---------- rodapé ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 64px; }
.foot-row { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; font-family: var(--ui); font-size: 13px; color: var(--ink-2); }
.foot-brand img { height: 44px; width: auto; }
.foot-legal { margin-left: auto; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .lead-wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split-list { border-left: 0; padding-left: 0; }
  .row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: minmax(0, 680px); }
  .toc { display: none; }
  }
@media (max-width: 640px) {
  body { font-size: 17px; }
  .masthead-row { gap: 16px; height: 54px; }
  .masthead-row { grid-template-columns: auto 1fr; }
  .cats { display: none; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .row4 { grid-template-columns: 1fr; }
  .lead-desc { font-size: 18px; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 23px; }
  .prose blockquote { font-size: 20px; padding: 18px 20px; }
  .foot-legal { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home .stroke { animation: none; }
  .card-img img { transition: none; }
}

/* ---------- dentro do texto ---------- */
.prose a.ln { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: var(--cobalt); text-underline-offset: 3px; }
.prose a.ln:hover { text-decoration-thickness: 2px; }
.fig { margin: 2em 0; }
.fig img { width: 100%; border-radius: 4px; background: var(--panel); }
.fig figcaption, .post-cover figcaption, .video figcaption { font-family: var(--ui); font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.4; }
.credit { opacity: .7; }
.credit::before { content: "· "; }
.post-cover figcaption { padding: 8px 2px 0; }
.video { margin: 2em 0; }
.video-box { position: relative; aspect-ratio: 16/9; background: var(--ink); border-radius: 4px; overflow: hidden; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ad-slot { margin: 2.2em 0; padding: 20px; border: 1px dashed var(--line); border-radius: 6px; text-align: center; min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.ad-label { font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0; }
.leia { margin: 2em 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.leia-head { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.leia-item { display: flex; flex-direction: column; gap: 2px; }
.leia-title { font-family: var(--display); font-size: 20px; line-height: 1.25; -webkit-text-stroke: .4px currentColor; }
.leia-item:hover .leia-title { color: var(--cobalt-deep); }
.post-grid--single { grid-template-columns: minmax(0, 680px); }
.post-grid--single .prose { font-size: 19px; }

/* rodapé do post: tags + bio */
.post-foot { max-width: 680px; margin: 48px 0 0 276px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.post-grid--single + .post-foot { margin-left: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-family: var(--ui); font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.bio { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; }
.bio img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.bio-name { font-family: var(--ui); font-weight: 700; font-size: 15px; }
.bio-text { font-family: var(--ui); font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
.bio-link { font-family: var(--ui); font-size: 13px; color: var(--cobalt-deep); text-decoration: underline; text-underline-offset: 3px; display: inline-block; margin-top: 6px; }

/* card de nota: só texto, painel */
.card--nota { background: var(--panel); border-radius: 6px; padding: 20px 22px; }
.card--nota .card-title { font-size: 22px; }
.card--nota .card-img { margin: -20px -22px 14px; border-radius: 6px 6px 0 0; }
.rail .card--nota .card-img, .split-list .card--nota .card-img { margin: -22px -24px 14px; }
.rail .card--nota, .split-list .card--nota, .rail .card--nota:first-child, .split-list .card--nota:first-child { padding: 22px 24px; border-bottom: 0; margin: 4px 0 14px; }
@media (max-width: 960px) { .post-foot { margin-left: 0; } }

/* ---------- navbar do post ---------- */
.masthead-row--post { grid-template-columns: 1fr auto 1fr; height: 68px; }
.menu-btn { justify-self: start; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.brand--center { justify-self: center; }
.wordmark { font-family: var(--display); font-size: 30px; letter-spacing: .01em; color: var(--ink); -webkit-text-stroke: .5px currentColor; line-height: 1; }
.btn-site { justify-self: end; font-family: var(--ui); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--paper); background: var(--cobalt-deep); padding: 10px 16px; border-radius: 4px; transition: background .2s; }
.btn-site:hover { background: var(--ink); }
.menu { max-width: var(--max); margin: 0 auto; padding: 8px var(--gutter) 18px; display: flex; flex-wrap: wrap; gap: 6px 26px; font-family: var(--ui); font-size: 15px; font-weight: 500; border-top: 1px solid var(--line); }
.menu a { padding: 6px 0; color: var(--ink-2); border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--ink); border-color: var(--cobalt); }
@media (max-width: 640px) { .wordmark { font-size: 22px; } .btn-site { padding: 8px 10px; font-size: 11px; } .masthead-row--post { grid-template-columns: auto 1fr auto; gap: 12px; } }

/* ---------- newsletter (modal) ---------- */
.masthead .btn-site { justify-self: end; border: 0; cursor: pointer; }
.news-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.news-backdrop { position: absolute; inset: 0; background: rgba(30,17,15,.72); }
.news-box { position: relative; width: min(520px, 100%); background: var(--paper); border-radius: 8px; padding: 36px 36px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 10px; }
.news-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.news-close:hover { color: var(--ink); }
.news-h { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.news-p { font-family: var(--ui); font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.news-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.news-form input { font: 500 15px var(--ui); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.news-form input:focus { outline: 2px solid var(--cobalt); outline-offset: 2px; border-color: var(--cobalt-deep); }
.news-form input.bad { border-color: var(--cobalt); }
.btn-site--lg { padding: 14px 18px; font-size: 14px; margin-top: 4px; }
.news-priv { font-family: var(--ui); font-size: 12.5px; color: var(--ink-2); text-align: center; }
.news-ok { font-family: var(--ui); font-weight: 600; font-size: 17px; color: var(--cobalt-deep); padding: 20px 0 6px; }
[hidden] { display: none !important; }
.news-form button { border: 0; cursor: pointer; }

/* Promos (programas) */
.band--promo { padding: 36px 0 44px; }
.promo-head { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promo { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 26px; border-radius: 8px; text-decoration: none; color: #FFFCEE; background: linear-gradient(150deg, var(--cobalt-deep) 0%, #7A2A34 55%, #B0575F 100%); transition: transform .18s ease, box-shadow .18s ease; }
.promo:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(84,21,29,.28); }
.promo-eyebrow { font-family: var(--ui); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); }
.promo-title { font-family: var(--display); font-size: 30px; line-height: 1.1; -webkit-text-stroke: .5px currentColor; max-width: 13ch; }
.promo-text { font-family: var(--ui); font-size: 14px; line-height: 1.55; opacity: .8; max-width: 34ch; }
.promo-cta { margin-top: auto; padding-top: 18px; font-family: var(--ui); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.promo-cta span { transition: transform .2s ease; }
.promo:hover .promo-cta span { transform: translateX(4px); }
@media (max-width: 960px) { .promos { grid-template-columns: 1fr; } }
.wordmark--sm { font-size: 22px; }

/* ---------- acessibilidade ---------- */
.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; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; font-family: var(--ui); font-weight: 600; font-size: 14px; color: var(--paper); background: var(--cobalt-deep); padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- menu no índice (só abaixo de 640px) ---------- */
.masthead-row--home { grid-template-columns: auto 1fr auto 1fr; gap: 0 32px; }
.masthead-row--home .brand { justify-self: start; }
.menu-btn--home { display: none; }
.masthead-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.menu-news { font: 500 15px var(--ui); color: var(--ink-2); background: none; border: 0; padding: 6px 0; cursor: pointer; border-bottom: 2px solid transparent; }
.menu-news:hover { color: var(--ink); border-color: var(--cobalt); }
@media (max-width: 640px) {
  .masthead-row--home { grid-template-columns: auto auto 1fr; gap: 12px; }
  .menu-btn--home { display: flex; }
  .masthead-actions .search { display: none; }
}

/* ---------- busca ---------- */
.search { position: relative; }
.search input { font: 500 14px var(--ui); width: 150px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); -webkit-appearance: none; appearance: none; }
.search input:focus { outline: 2px solid var(--cobalt); outline-offset: 2px; border-color: var(--cobalt-deep); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-results { position: absolute; top: calc(100% + 8px); right: 0; width: min(420px, calc(100vw - 40px)); max-height: 60vh; overflow: auto; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px rgba(30,17,15,.18); z-index: 30; padding: 6px 0; }
.search-results a { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; }
.search-results a:hover, .search-results a:focus-visible { background: var(--panel); outline-offset: -2px; }
.search-results .kicker { font-size: 11px; }
.search-title { font-family: var(--display); font-size: 18px; line-height: 1.2; -webkit-text-stroke: .4px currentColor; }
.search-empty { font-family: var(--ui); font-size: 14px; color: var(--ink-2); padding: 12px 16px; }
.menu .search { flex-basis: 100%; margin-top: 6px; }
.menu .search input { width: min(100%, 320px); }
.menu .search-results { right: auto; left: 0; }

/* ---------- índice: "Todos os textos" e link da faixa ---------- */
.band-head a:hover { color: var(--cobalt-deep); }
.band-more { margin-top: 24px; font-family: var(--ui); font-weight: 600; font-size: 14px; }
.band-more a { color: var(--cobalt-deep); text-decoration: underline; text-underline-offset: 4px; }
.band-more a:hover { color: var(--ink); }
.all-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.all-item a { display: grid; grid-template-columns: 118px 1fr auto; gap: 4px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.all-item .kicker { font-size: 11px; }
.all-title { font-family: var(--display); font-size: 20px; line-height: 1.2; -webkit-text-stroke: .4px currentColor; }
.all-item a:hover .all-title { color: var(--cobalt-deep); }
.all-item .meta { white-space: nowrap; }
@media (max-width: 960px) { .all-list { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .all-item a { grid-template-columns: 1fr auto; } .all-item .kicker { grid-column: 1 / -1; } }

/* ---------- página de categoria ---------- */
.band--cat { padding-top: 36px; }
.band--cat .crumb { margin-bottom: 18px; }
.cat-title { font-size: clamp(34px, 5vw, 52px); margin-bottom: 6px; }
.cat-count, .cat-empty { font-family: var(--ui); font-size: 14px; color: var(--ink-2); margin-bottom: 32px; }

/* ---------- post: sumário mobile, compartilhar, progresso ---------- */
.toc-mobile { display: none; font-family: var(--ui); border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; margin-bottom: 8px; }
.toc-mobile summary { font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; }
.toc-mobile ul { list-style: none; margin-top: 8px; }
.toc-mobile li { border-top: 1px solid var(--line); }
.toc-mobile a { display: block; padding: 9px 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.toc-mobile a:hover { color: var(--cobalt); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--ui); font-size: 13px; }
.share-head { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-right: 4px; }
.share a, .share button { font: 600 13px var(--ui); color: var(--cobalt-deep); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: background .15s, border-color .15s; }
.share a:hover, .share button:hover { background: var(--panel); border-color: var(--cobalt-deep); }
.share-msg { color: var(--ink-2); }
.tags a { font-family: var(--ui); font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.tags a:hover { border-color: var(--cobalt-deep); color: var(--cobalt-deep); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--cobalt); }
.post-head--404 { text-align: center; padding: 96px 0; margin: 0 auto; }
@media (max-width: 960px) { .toc-mobile { display: block; } }

/* ---------- CTA de ebook (lead magnet dentro do post) ---------- */
.ebook { margin: 44px 0; border-radius: 12px; padding: 34px 36px; background: linear-gradient(150deg, #54151D, #7A2A34 55%, #B0575F); color: #FFFCEE; }
.ebook-kicker { font-family: var(--ui); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #F3DDB0; margin-bottom: 10px; }
.ebook-h { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; color: #FFFCEE; margin-bottom: 10px; }
.ebook-p { font-family: var(--ui); font-size: 16px; line-height: 1.55; color: #F6E9DA; max-width: 56ch; margin-bottom: 20px; }
.ebook-form { display: grid; gap: 10px; max-width: 430px; }
.ebook-form input { border: 1px solid rgba(255, 252, 238, .5); background: #FFFCEE; color: var(--ink); border-radius: 8px; padding: 12px 14px; font: 500 15px var(--ui); width: 100%; }
.ebook-form input.bad { border-color: #E8833A; }
.ebook-form button { margin-top: 4px; background: var(--cobalt); color: #1E110F; border: 0; border-radius: 8px; padding: 13px 18px; font: 700 15px var(--ui); cursor: pointer; }
.ebook-form button:hover { filter: brightness(1.06); }
.ebook-form button:disabled { opacity: .7; cursor: default; }
.ebook-priv { font-family: var(--ui); font-size: 12.5px; color: rgba(255, 252, 238, .78); margin: 2px 0 0; }
.ebook-live p { font: 600 15px var(--ui); margin-top: 14px; }
.ebook-ok a { color: #F3DDB0; }
@media (max-width: 640px) { .ebook { padding: 26px 22px; } .ebook-h { font-size: 26px; } }
