/* Ariadne — páginas de projeto e do blog (geradas por tools/build.py). Tokens em styles.css. */

.sub main { padding-top: var(--nav-h); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-3); }
.crumbs a { color: var(--text-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--text); }

/* ---------- Projeto ---------- */
.pj-head { padding-top: 88px; }
.pj-title { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-top: 28px; }
.pj-title h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 0.98; font-weight: 510; letter-spacing: -0.035em; }
.pj-lede { max-width: 440px; font-size: 20px; line-height: 1.45; color: var(--text-2); letter-spacing: -0.012em; }
.pj-meta { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 12px 56px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); }
.pj-meta dt { font-size: 12px; font-family: var(--mono); text-transform: uppercase; color: var(--text-3); }
.pj-meta dd { margin: 6px 0 0; color: var(--text); }
.pj-meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.2s; }
.pj-meta a:hover { border-color: var(--text); }
.pj-meta a svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.pj-meta a:hover svg { transform: translate(2px, -2px); }

.pj-win { overflow: hidden; border-radius: 12px; background: var(--panel); box-shadow: var(--win-shadow); }
.pj-bar { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.pj-bar .dots { display: flex; gap: 6px; }
.pj-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.pj-url { position: absolute; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; max-width: 60%; padding: 4px 12px; border-radius: 7px; background: var(--panel-3); font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-url svg { flex: none; width: 11px; height: 11px; }
.pj-win img { display: block; width: 100%; height: auto; }

/* Primeira tela: o computador e o celular juntos, como uma foto de produto */
/* A composição fica sobre uma pintura, o momento de cor da página (como o hero da home) */
.pj-hero { position: relative; isolation: isolate; margin-top: 56px; padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 88px) 0; overflow: hidden; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
.pj-paint { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; image-rendering: pixelated; }
.pj-hero-comp { position: relative; padding: 0 7% 64px 0; }
.pj-hero .pj-win { box-shadow: 0 30px 70px -24px rgba(4, 8, 30, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.pj-hero-win { transform-origin: 50% 0; }
.js .pj-hero-win { animation: pj-rise 1.2s cubic-bezier(0.2, 0.75, 0.15, 1) 0.2s both; }
.pj-hero-phone { position: absolute; right: 0; bottom: 0; --w: clamp(150px, 19vw, 262px); translate: 0 var(--hy, 0px); }
.js .pj-hero-phone { animation: pj-phone-in 1.3s cubic-bezier(0.2, 0.75, 0.15, 1) 0.55s both; }
@keyframes pj-rise { from { opacity: 0; transform: perspective(1400px) rotateX(9deg) translateY(40px) scale(0.97); } }
@keyframes pj-phone-in { from { opacity: 0; transform: translateY(70px) rotate(4deg); } }

.pj-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px 96px; padding: 128px 0 96px; }
.pj-intro { margin-top: 18px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; letter-spacing: -0.018em; color: var(--text); text-wrap: pretty; }
.pj-done { display: grid; gap: 12px; margin: 18px 0 32px; padding: 0; list-style: none; color: var(--text-soft); }
.pj-done li { display: flex; gap: 10px; align-items: baseline; }
.pj-done svg { flex: none; width: 14px; height: 14px; color: #4cb782; transform: translateY(2px); }
.pj-visit svg { width: 14px; height: 14px; margin-left: 4px; transition: transform 0.3s var(--ease); }
.pj-visit:hover svg { transform: translate(2px, -2px); }

.pj-hl ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.pj-hl li { position: relative; padding: 28px 32px 8px; }
.pj-hl li:first-child { padding-left: 0; }
.pj-hl li + li { border-left: 1px solid var(--line); }
.pj-hl li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--text-2); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) calc(var(--si, 0) * 140ms + 200ms); }
.pj-hl ol.in li::before { transform: scaleX(1); }
.pj-hl h3 { margin-top: 16px; font-size: 18px; font-weight: 510; letter-spacing: -0.015em; }
.pj-hl p { margin-top: 8px; color: var(--text-2); line-height: 1.6; }

/* O iPhone da página inicial, com a página do cliente dentro */
.pj-iphone { flex: none; }
.pj-iphone .ip-status { z-index: 3; }
.ip-status--light { color: #fff; }
.pjp-page { position: absolute; inset: 7% 0 9% 0; overflow: hidden; background: #fff; }
.pjp-page > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pjp-bar { height: 9%; padding: 2% 4% 0; }
.pjp-bar .sf-url { height: 50%; }
.pj-iphone .sf-host { max-width: 72%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Percorra o site: a rolagem da página rola o site, no computador e no celular ao mesmo tempo */
.pj-tour { position: relative; height: 340vh; margin-top: 128px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 16px 16px; }
.pj-tour-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.pj-tour-in { display: grid; gap: 28px; padding-top: calc(var(--nav-h) * 0.6); }
.pj-tour-h { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px 40px; }
.pj-tour-h .mono-cap { grid-column: 1 / -1; }
.pj-tour-h h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; font-weight: 510; letter-spacing: -0.022em; }
.pj-tour-hint { display: flex; align-items: center; gap: 12px; }
.pj-tour-bar { position: relative; width: 160px; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.pj-tour-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, #ff8a1f, #e5242f); transform: scaleX(0); transform-origin: left; }
#tourPct { min-width: 3.5ch; font-variant-numeric: tabular-nums; }
.pj-tour-stage { position: relative; height: min(66vh, 700px); padding-right: 12%; }
.pj-tour-desk { height: 100%; }
.pj-tour-desk .pj-vp { height: calc(100% - 40px); overflow: hidden; background: #fff; }
.pj-tour-phone { position: absolute; right: 0; bottom: -4%; --w: calc(min(66vh, 700px) * 0.46); }
.pj-vp > img { display: block; width: 100%; height: auto; will-change: transform; }
.pjp-page > .pj-vp { height: 100%; overflow: hidden; }

/* Sem animação (ou sem JavaScript): as duas telas viram caixas roláveis, lado a lado */
html:not(.js) .pj-tour { height: auto; padding: 96px 0; }
html:not(.js) .pj-tour-pin { position: static; height: auto; }
html:not(.js) .pj-vp, html:not(.js) .pjp-page > .pj-vp { overflow-y: auto; }
html:not(.js) .pj-tour-hint { display: none; }

/* Detalhes: duas seções do site, em alturas diferentes */
.pj-details { padding-top: 128px; }
.pj-det-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; align-items: start; }
.pj-det:nth-child(2) { margin-top: 96px; }
.pj-det .pj-win { transition: transform 0.7s var(--ease), box-shadow 0.5s; }
@media (hover: hover) { .pj-det .pj-win:hover { transform: translateY(-6px); } }

/* No celular: três telas, cada uma andando numa velocidade */
.pj-phones { padding: 128px 0 32px; overflow: hidden; }
.pj-phones-row { display: flex; justify-content: center; gap: 56px; margin-top: 32px; padding: 20px 0 60px; }
.pj-phone { translate: 0 var(--py, 0px); }
.pj-phone .pj-iphone { --w: 280px; }
.pj-phone:nth-child(2) { margin-top: 80px; }

.pj-next { padding: 128px 0 0; }
.pj-next-a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); grid-template-rows: auto auto 1fr; gap: 8px 64px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); color: inherit; }
.pj-next-name { display: inline-flex; align-items: center; gap: 18px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1; font-weight: 510; letter-spacing: -0.035em; }
.pj-next-name svg { width: 0.5em; height: 0.5em; transition: transform 0.45s var(--ease); }
.pj-next-a:hover .pj-next-name svg { transform: translateX(10px); }
.pj-next-seg { color: var(--text-2); }
.pj-next-img { grid-column: 2; grid-row: 1 / 4; overflow: hidden; border-radius: 10px; box-shadow: var(--win-shadow); }
.pj-next-img img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease); }
.pj-next-a:hover .pj-next-img img { transform: scale(1.04); }

/* ---------- Blog ---------- */
.bl-head { padding-top: 112px; }
.bl-head h1 { margin-top: 20px; font-size: clamp(44px, 6vw, 84px); line-height: 1; font-weight: 510; letter-spacing: -0.035em; }
.bl-lede { max-width: 560px; margin-top: 28px; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.bl-list { padding: 80px 0 128px; }
.bl-list .bl-grid { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--line); }
.bl-more { padding-top: 120px; }
.bl-more h2 { margin-bottom: 32px; }

.read-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 2px; pointer-events: none; }
.read-bar i { display: block; height: 100%; background: linear-gradient(90deg, #ff8a1f, #e5242f); transform: scaleX(0); transform-origin: left; }
.post-head { max-width: 860px; padding-top: 96px; text-align: center; }
.post-head .crumbs { justify-content: center; }
.post-head h1 { margin-top: 24px; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; font-weight: 510; letter-spacing: -0.03em; text-wrap: balance; }
.post-lede-lg { max-width: 680px; margin: 24px auto 0; font-size: 20px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.post-by { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; text-align: left; font-size: 14px; }
.post-by > span:nth-child(2) { display: grid; line-height: 1.35; }
.post-by b { font-weight: 510; }
.post-by > span:nth-child(2) > span { color: var(--text-3); font-size: 13px; }
.post-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.post-av svg { width: 20px; height: 20px; }
.post-share { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--text-2); font-size: 13px; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.post-share:hover { color: var(--text); border-color: var(--line-2); background: var(--hover); }
.post-share svg { width: 14px; height: 14px; }
.post-cover { display: grid; place-items: center; margin-top: 56px; aspect-ratio: 16 / 7; max-width: 1080px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 16px 16px; overflow: hidden; }
.post-cover .fig-svg { width: min(520px, 76%); max-width: none; margin: 0; }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 680px); justify-content: center; gap: 72px; max-width: 1080px; padding-top: 72px; }
.post-toc { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.post-toc ol { margin: 14px 0 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.post-toc a { position: relative; display: block; padding: 6px 0 6px 14px; font-size: 13.5px; line-height: 1.4; color: var(--text-3); transition: color 0.25s; }
.post-toc a::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 1px; background: var(--text); transform: scaleY(0); transition: transform 0.35s var(--ease); }
.post-toc a:hover { color: var(--text-2); }
.post-toc a.on { color: var(--text); }
.post-toc a.on::before { transform: none; }

.prose { font-size: 17.5px; line-height: 1.75; color: var(--text-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 26px; line-height: 1.2; font-weight: 510; letter-spacing: -0.02em; color: var(--text); scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h2 + p { margin-top: 0.7em; }
.prose b, .prose strong { font-weight: 560; color: var(--text); }
.prose em { font-family: var(--serif); font-size: 1.12em; font-style: italic; color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--text-3); }
.prose code { padding: 2px 6px; border-radius: 5px; background: var(--panel-2); font-family: var(--mono); font-size: 0.86em; color: var(--text); }
.prose pre { overflow-x: auto; padding: 18px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--code-bg); }
.prose pre code { padding: 0; background: none; font-size: 14px; color: var(--c-text); }
.prose .note { position: relative; padding: 18px 22px 18px 22px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-size: 16px; line-height: 1.6; }
.prose .note b { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; color: #ff6a1f; }

/* ---------- Celular e tablet ---------- */
@media (max-width: 1100px) {
  .pj-title { grid-template-columns: 1fr; }
  .pj-about { grid-template-columns: 1fr; gap: 48px; }
  .pj-next-a { grid-template-columns: 1fr; }
  .pj-next-img { grid-column: 1; grid-row: auto; margin-top: 24px; }
  .post-layout { grid-template-columns: minmax(0, 680px); }
  .post-toc { display: none; }
}
@media (max-width: 760px) {
  .pj-head { padding-top: 56px; }
  .pj-lede { font-size: 18px; }
  .pj-meta { grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 40px; }
  .pj-meta > div:last-child { grid-column: 1 / -1; }
  .pj-hero { margin-top: 36px; padding: 32px 14px 0; border-radius: 14px; }
  .pj-paint { object-position: 35% 30%; }
  .pj-bar { height: 32px; }
  .pj-url { font-size: 11px; }
  .pj-about { padding: 88px 0 64px; }
  .pj-hl ol { grid-template-columns: 1fr; }
  .pj-hl li, .pj-hl li:first-child { padding: 24px 0; border-left: 0 !important; }
  .pj-hl li + li { border-top: 1px solid var(--line); }
  .pj-hero-comp { padding: 0 0 72px; }
  .pj-hero-win { margin-right: 16%; }
  .pj-hero-phone { --w: 108px; right: -2px; }
  .pj-tour { height: 280vh; margin-top: 88px; }
  .pj-tour-h { grid-template-columns: 1fr; }
  .pj-tour-stage { height: 68vh; padding: 0; display: grid; justify-items: center; }
  .pj-tour-desk { display: none; }
  .pj-tour-phone { position: relative; bottom: auto; --w: calc(68vh * 0.46); }
  .pj-details { padding-top: 88px; }
  .pj-det-grid { grid-template-columns: 1fr; gap: 16px; }
  .pj-det:nth-child(2) { margin-top: 0; }
  .pj-phones { padding-top: 88px; }
  .pj-phones-row { justify-content: flex-start; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px var(--gutter) 40px; scrollbar-width: none; }
  .pj-phones-row::-webkit-scrollbar { display: none; }
  .pj-phone { scroll-snap-align: center; translate: none; }
  .pj-phone .pj-iphone { --w: 64vw; }
  .pj-phone:nth-child(2) { margin-top: 0; }
  .pj-next { padding-top: 88px; }
  .bl-head { padding-top: 64px; }
  .bl-lede, .post-lede-lg { font-size: 18px; }
  .bl-list .bl-grid { margin-top: 56px; }
  .post-head { padding-top: 56px; }
  .post-by { flex-wrap: wrap; justify-content: center; }
  .post-share { margin-left: 0; }
  .post-cover { aspect-ratio: 4 / 3; margin-top: 40px; border-radius: 12px; }
  .post-layout { padding-top: 48px; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 23px; }

}
@media (prefers-reduced-motion: reduce) {
  .js .pj-hero-win, .js .pj-hero-phone { animation: none; }
  .pj-tour { height: auto; padding: 96px 0; }
  .pj-tour-pin { position: static; height: auto; }
  .pj-vp, .pjp-page > .pj-vp { overflow-y: auto; }
  .pj-tour-hint { display: none; }
  .pj-hl li::before { transform: none; transition: none; }
}

/* ---------- Blog v2: filtros, resumo, navegação entre textos ---------- */
.bl-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 28px; }
.bl-stats span { display: inline-flex; align-items: center; gap: 8px; }
.bl-stats span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); margin-right: 14px; }
.bl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 88px; padding-top: 28px; border-top: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; transition: color 0.2s, border-color 0.2s, background-color 0.2s, transform 0.15s; }
.chip em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] em { color: var(--bg); opacity: 0.6; }
.bl-list .bl-grid { margin-top: 36px; padding-top: 0; border-top: 0; }
.post-card { transition: opacity 0.35s var(--ease), transform 0.45s var(--ease); }
.post-card.out { opacity: 0; transform: translateY(10px) scale(0.98); }
.post-card[hidden] { display: none; }
.bl-empty { margin-top: 24px; color: var(--text-3); }
.post-card--big .post-go { grid-column: 2; grid-row: 5; align-self: start; }

.bl-more { padding: 120px 0 120px; }
.bl-more .bl-grid { margin-top: 0; }


.post-summary { margin-bottom: 2.2em; padding: 20px 24px 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.post-summary ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.post-summary li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.55; color: var(--text-soft); }
.post-summary li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 9px; height: 9px; border-radius: 2px; background: var(--fig-acc); transform: rotate(45deg) scale(0.8); }
.prose .post-summary + * { margin-top: 0; }
.prose h2 { position: relative; }
.h-anchor { position: absolute; left: -1.1em; top: 0; width: 1em; color: var(--text-3); opacity: 0; text-decoration: none; transition: opacity 0.2s, color 0.2s; }
.prose h2:hover .h-anchor, .h-anchor:focus-visible { opacity: 1; }
.h-anchor:hover { color: var(--fig-acc); }
.prose h2:target { animation: target-flash 1.6s ease; }
@keyframes target-flash { 0%, 40% { color: var(--fig-acc); } }
.toc-left { margin-top: 18px; }
.toc-mobile { display: none; margin-bottom: 1.6em; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.toc-mobile summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 510; color: var(--text); }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary::after { content: ""; width: 8px; height: 8px; margin-left: 10px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease); }
.toc-mobile[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.toc-mobile summary .mono-cap { margin-left: auto; }
.toc-mobile ol { margin: 0; padding: 0 18px 14px 36px; font-size: 15px; }
.toc-mobile li + li { margin-top: 6px; }
.toc-mobile a { color: var(--text-2); text-decoration: none; }

.post-end { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 3em !important; padding: 20px 24px 20px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 14px 14px; }
.post-end-fig .fig-svg { width: 100%; max-width: none; margin: 0; }
.post-end b { display: block; font-size: 18px; font-weight: 510; letter-spacing: -0.015em; color: var(--text); }
.post-end p { margin: 6px 0 14px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.post-end .btn svg { width: 14px; height: 14px; margin-right: 6px; }
.post-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 2em !important; }
.pn { display: grid; gap: 6px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--ease); }
.pn b { font-size: 15px; line-height: 1.35; font-weight: 510; color: var(--text); }
.pn--next { text-align: right; }
.pn:hover { border-color: var(--line-2); background: var(--panel); transform: translateY(-2px); }
.pn--empty { border: 0; }

@media (max-width: 1100px) {
  .toc-mobile { display: block; }
}
@media (max-width: 760px) {
  .bl-filter { margin-top: 56px; }
  .post-card--big .post-go { grid-column: 1; grid-row: auto; }
  .bl-stats { flex-direction: column; gap: 4px; }
  .bl-stats span + span::before { display: none; }
  .post-end { grid-template-columns: 1fr; padding: 18px; }
  .post-end-fig { display: none; }
  .post-pn { grid-template-columns: 1fr; }
  .pn--next { text-align: left; }
  .pn--empty { display: none; }
  .bl-more { padding: 88px 0; }
  .h-anchor { display: none; }

}

/* v18: páginas na folha pautada */
.sheet--solo { margin-top: 96px; border-top: 1px solid var(--line); }
.sheet--solo > section:first-child::before, .sheet--solo > section:first-child::after { display: block; }
.bl-page .bl-head h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; font-weight: 560; letter-spacing: -0.032em; }
.bl-head h1 .hl { display: block; }
.sub .sheet { margin-top: 0; }
.sub .sheet:not(.sheet--solo) { padding-top: 0; }
.sheet > section.container { width: auto; margin-inline: 0; padding-inline: clamp(20px, 4.2vw, 56px); }
.sheet .post-head { max-width: none; margin-inline: max(clamp(20px, 4.2vw, 56px), calc((100% - 860px) / 2)); }
.sheet .post-cover, .sheet .post-layout { max-width: none; margin-inline: max(clamp(20px, 4.2vw, 56px), calc((100% - 1080px) / 2)); }
.sheet > .bl-head { padding-bottom: 64px; }

/* Blog: o topo é uma pintura (coxilhas ao meio-dia), com o título no céu */
.sheet > .bl-head { position: relative; isolation: isolate; padding: 112px 0 104px; color: #fff; }
.bl-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.bl-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; image-rendering: pixelated; }
.bl-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 12, 40, 0.62), rgba(6, 12, 40, 0.18) 72%); }
.bl-head .eyebrow { color: rgba(255, 255, 255, 0.85); }
.bl-head .eyebrow svg { color: #fff; }
.bl-head h1 { text-shadow: 0 2px 18px rgba(4, 8, 30, 0.3); }
.bl-head .bl-lede { color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 10px rgba(4, 8, 30, 0.35); }
.bl-head .bl-stats { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 760px) {
  .sheet > .bl-head { padding: 72px 0 80px; }
  .bl-bg img { object-position: 22% 45%; }
}
