/* Blog da Prospera (/blog/). Complementa o v4.css: usa as mesmas cores,
   fontes e componentes (menu, .sec, .faq, .endcta, .btn). Páginas geradas por
   SITE_GERADOR/blog.py. Modelo provisório até o design refinar (09/11/2026). */

/* ---------------------------------------------------------------- topo -- */
.post__head { padding: 140px 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.post__head .wrap { max-width: 920px; }
.post__head .crumb { margin-bottom: 22px; }
.post__head h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.04em; max-width: 18em; }
.post__head h1 .hl { color: var(--blue); }
.post__lead { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.post__meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 14px; color: var(--ink-soft); }
.post__meta img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.post__meta p { display: flex; flex-direction: column; gap: 2px; }
.post__meta strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------- sumário + texto -- */
.post__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); max-width: 1080px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 110px); }
.post__toc { position: sticky; top: 110px; align-self: start; font-size: 14px; }
.post__toc p { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.post__toc ol { list-style: none; border-left: 1px solid var(--line); }
.post__toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-soft); line-height: 1.35; }
.post__toc li a:hover { color: var(--ink); border-left-color: var(--blue); }

.prose { max-width: 700px; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); margin-top: 2em; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 1.3; color: var(--ink); margin-top: 1.6em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose__note { border-left: 3px solid var(--blue); background: var(--surface); padding: 18px 22px; border-radius: 0 12px 12px 0; color: var(--ink); }
.prose__table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }

/* Caixa que leva à página do sistema. */
.post-cta { margin-top: 2.2em !important; padding: 28px; border-radius: 18px; background: var(--navy); color: #fff; }
.post-cta__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-pale); }
.post-cta__title { font-family: var(--font-display); font-size: 22px; line-height: 1.25; letter-spacing: -.02em; margin-top: 8px; }
.post-cta__text { margin-top: 10px; color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.55; }
.post-cta .btn { margin-top: 20px; text-decoration: none; color: #fff; }

/* ---------------------------------------------------------------- autor -- */
.author { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; max-width: 860px; }
.author img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.author__name { font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; margin-top: 8px; }
.author__role { font-size: 14px; color: var(--ink-soft); margin: 2px 0 12px; }
.author p:last-child { color: var(--ink-2); max-width: 40em; }

/* --------------------------------------------------- cartões e índice -- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 32px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .25s, transform .25s var(--ease); }
.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card__cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.card p:not(.card__cat) { color: var(--ink-soft); font-size: 15px; }
.card__meta { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--ink-soft); }

.post__head--index { text-align: left; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.blog-cat { padding: clamp(48px, 6vw, 80px) 0 0; scroll-margin-top: 90px; }
.blog-cat:last-of-type { padding-bottom: clamp(72px, 9vw, 120px); }
.blog-cat h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; }
.blog-cat__desc { margin-top: 8px; color: var(--ink-soft); }

/* -------------------------------------------------------------- celular -- */
@media (max-width: 900px) {
  .post__grid { grid-template-columns: minmax(0, 1fr); }  /* minmax: a tabela rola dentro da caixa, não estica a coluna */
  .post__toc { position: static; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
  .post__toc ol { border-left: 0; }
  .post__toc li a { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .post__head { padding-top: 110px; }
  .prose { font-size: 16px; }
  .author { grid-template-columns: 1fr; gap: 16px; }
  .author img { width: 88px; height: 88px; }
  .post-cta { padding: 22px; }
}

/* Checklist ("- [ ]" no artigo): caixinha vazia para a escola marcar no papel */
ul.checklist{list-style:none;padding-left:0}
ul.checklist li{position:relative;padding-left:2.1em}
ul.checklist li::before{content:"";position:absolute;left:0;top:.2em;width:1.15em;height:1.15em;border:2px solid currentColor;border-radius:4px;opacity:.55}
@media print{ul.checklist li::before{opacity:1}}
