/* ---------- Notícias (lista e páginas de cada notícia) ---------- */
.phero--article .display { font-size: clamp(34px, 5vw, 66px); max-width: 24ch; line-height: 1.04; }
.phero--article .pmeta { margin: 0 0 18px; }
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ncard { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; border: 1px solid rgba(56, 51, 42, .1); background: rgba(255, 255, 255, .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: inherit; text-decoration: none; box-shadow: 0 24px 54px -38px rgba(20, 44, 30, .4); transition: transform .4s var(--ease-spring), box-shadow .3s, border-color .3s; }
.ncard:hover { transform: translateY(-5px); border-color: rgba(31, 122, 73, .4); box-shadow: 0 34px 60px -34px rgba(20, 44, 30, .55); }
.ncard:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.ncard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: rgba(31, 122, 73, .08); }
.ncard__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform 1.2s var(--ease-spring); }
.ncard:hover .ncard__img img { transform: scale(1.05); }
.ncard__ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(31, 122, 73, .22), rgba(42, 157, 138, .12) 55%, rgba(127, 176, 74, .18)); }
.ncard__ph b { font-family: var(--font-serif); font-weight: 400; font-size: 64px; letter-spacing: -.04em; color: var(--green); opacity: .9; }
.ncard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.ncard__body time { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-ink-muted); }
.ncard__body strong { font-family: var(--font-serif); font-weight: 400; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.12; letter-spacing: -.025em; }
.ncard__ex { font-size: 14.5px; line-height: 1.55; color: #5a5448; }
.ncard__body em { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--green); }
.ncard__body em svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-spring); }
.ncard:hover .ncard__body em svg { transform: translate(2px, -2px); }
.ngrid--list .ncard--big { grid-column: span 2; flex-direction: row; }
.ngrid--list .ncard--big .ncard__img { flex: 0 0 44%; aspect-ratio: auto; min-height: 320px; }
.ngrid--list .ncard--big .ncard__body strong { font-size: clamp(26px, 2.8vw, 38px); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 380px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.article--solo { grid-template-columns: minmax(0, 780px); }
.article__img { position: sticky; top: 96px; margin: 0; }
.article__img img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 34px 70px -38px rgba(20, 44, 30, .6); }
.prose p { margin: 0 0 1.1em; max-width: 62ch; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.7; color: #342f24; }
.prose .lead { font-family: var(--font-serif); font-size: clamp(23px, 2.3vw, 31px); line-height: 1.28; letter-spacing: -.02em; color: var(--color-ink); max-width: 36ch; }
.prose .tags { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--green); }
.prose .note { font-size: 14px; color: var(--color-ink-muted); overflow-wrap: anywhere; }
.prose .note a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; gap: 8px; margin: 1.6em 0; max-width: 560px; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 18px; border-radius: 16px; border: 1px solid rgba(56, 51, 42, .1); background: rgba(255, 255, 255, .58); }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-ink-muted); padding-top: 3px; }
.facts dd { margin: 0; text-align: right; font-weight: 500; font-size: 15.5px; }
.quote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--green); max-width: 62ch; }
.quote p { margin: 0 0 .6em; font-family: var(--font-serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.4; letter-spacing: -.015em; }
.quote cite { display: block; font-style: normal; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink-muted); }
.prose .files--one { grid-template-columns: minmax(0, 420px); margin: 1.4em 0; }
.ngallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.ngallery figure { margin: 0; }
.ngallery img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 20px 40px -26px rgba(20, 44, 30, .55); }
.article__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(34px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line-color); }
.article__links .back { font-weight: 600; color: var(--green); text-decoration: none; }
.article__links .back:hover { text-decoration: underline; text-underline-offset: 4px; }
.article__links .orig { font-size: 13px; color: var(--color-ink-muted); text-decoration: none; border-bottom: 1px solid var(--line-color); }
.article__links .orig:hover { color: var(--green); border-color: var(--green); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.step { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-radius: 20px; border: 1px solid rgba(56, 51, 42, .1); background: rgba(255, 255, 255, .5); color: inherit; text-decoration: none; transition: background .25s, transform .3s var(--ease-spring), border-color .25s; }
.step:hover { background: #fff; transform: translateY(-3px); border-color: rgba(31, 122, 73, .4); }
.step--next { grid-column: 2; text-align: right; }
.step--prev { grid-column: 1; }
.step small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-ink-muted); }
.step span { font-family: var(--font-serif); font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.block.rel { padding-top: 0; }
.block.rel .eyebrow { margin-bottom: 20px; }

@media (max-width: 900px) {
  .article { grid-template-columns: 1fr; }
  .article__img { position: static; order: -1; max-width: 420px; }
  .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ngrid--list .ncard--big { grid-column: span 2; }
}
@media (max-width: 640px) {
  .ngrid, .ngrid--list { grid-template-columns: 1fr; }
  .ngrid--list .ncard--big { grid-column: auto; flex-direction: column; }
  .ngrid--list .ncard--big .ncard__img { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .ngallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step--next, .step--prev { grid-column: auto; text-align: left; }
  .facts div { flex-direction: column; gap: 4px; }
  .facts dd { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .ncard, .ncard__img img, .step { transition: none; } }

/* modo escuro */
html[data-theme="dark"] .ncard, html[data-theme="dark"] .facts div, html[data-theme="dark"] .step { background: rgba(255, 255, 255, .055); border-color: rgba(235, 231, 220, .14); color: var(--color-ink); }
html[data-theme="dark"] .ncard:hover, html[data-theme="dark"] .step:hover { background: rgba(255, 255, 255, .11); }
html[data-theme="dark"] .ncard__ex, html[data-theme="dark"] .prose p { color: rgba(235, 231, 220, .84); }
html[data-theme="dark"] .prose .lead, html[data-theme="dark"] .quote p { color: var(--color-ink); }
html[data-theme="dark"] .ncard__ph { background: linear-gradient(135deg, rgba(79, 194, 135, .22), rgba(61, 191, 166, .12) 55%, rgba(155, 201, 94, .16)); }
html[data-theme="dark"] .ncard__ph b, html[data-theme="dark"] .ncard__body em, html[data-theme="dark"] .article__links .back, html[data-theme="dark"] .prose .tags { color: #6fd9a0; }
html[data-theme="dark"] .quote { border-left-color: #4fc287; }
html[data-theme="dark"] .article__img img, html[data-theme="dark"] .ncard__img img { filter: brightness(.93); }
