/* Elevatron: só o que é específico do blog.
   Base, header e rodapé vêm de /assets/shared.css. */

.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* Artigo */
.article-head { padding: calc(var(--header-h) + 34px) 0 8px; }
.article-head h1 {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 900; line-height: 1.15; letter-spacing: -.5px;
}
.article-meta {
  margin-top: 20px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim); font-size: 14.5px;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.article-meta .dot { opacity: .5; }

.article-body { padding: 34px 0 64px; font-size: 17px; line-height: 1.72; color: #d6deec; }
.article-body > p { margin-bottom: 22px; }
.article-body .lead { font-size: 19.5px; line-height: 1.6; color: #eaf0fa; }
.article-body h2 {
  font-size: clamp(21px, 2.9vw, 27px); font-weight: 900;
  color: #fff; line-height: 1.25; margin: 44px 0 16px;
}
.article-body h3 { font-size: 18.5px; font-weight: 700; color: #fff; margin: 30px 0 12px; }
.article-body strong { color: #fff; font-weight: 700; }
.article-body a:not(.btn) { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin-bottom: 10px; }
.article-body li::marker { color: var(--accent); }

.callout {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 22px 24px; margin: 30px 0;
  font-size: 16px; line-height: 1.62;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 12px; }
.callout strong { color: #fff; }

.table-wrap { overflow-x: auto; margin: 26px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .6px; }
td { color: var(--text-dim); }

.article-cta {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px; margin: 46px 0 0;
}
.article-cta h2 { margin: 0 0 10px; font-size: 22px; }
.article-cta p { color: var(--text-dim); margin-bottom: 22px; font-size: 16px; }

/* Índice do blog */
.blog-hero { padding: calc(var(--header-h) + 44px) 0 40px; border-bottom: 1px solid var(--border); }
.blog-hero h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 900; line-height: 1.15; }
.blog-hero h1 span { color: var(--accent-light); }
.blog-hero p { color: var(--text-dim); margin-top: 16px; font-size: 17px; max-width: 560px; }
.post-list { padding: 20px 0 70px; }
.post-card { display: block; padding: 30px 0; border-bottom: 1px solid var(--border); transition: opacity .18s; }
.post-card:hover { opacity: .78; }
.post-card h2 { font-size: clamp(20px, 2.6vw, 25px); font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.post-card p { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
.post-card .post-meta { color: var(--accent-light); font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 12px; }

@media (max-width: 760px) {
  .article-body { font-size: 16.5px; }
  .article-cta { padding: 24px; }
  .article-cta .btn { width: 100%; justify-content: center; }
}

/* Perguntas rápidas no fim do artigo (espelha o FAQPage do schema) */
.article-faq { margin: 52px 0 0; padding-top: 8px; border-top: 1px solid var(--border); }
.article-faq h2 { font-size: clamp(20px, 2.6vw, 25px); font-weight: 900; color: #fff; margin: 24px 0 8px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 0; font-size: 16px; font-weight: 700;
  line-height: 1.4; color: #fff; transition: color .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--accent-light); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; border-radius: 4px; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent-light); border-bottom: 2px solid var(--accent-light);
  transform: rotate(45deg); transition: transform .22s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-answer { padding: 0 40px 22px 0; color: var(--text-dim); font-size: 16px; line-height: 1.65; }
@media (max-width: 760px) {
  .faq-item summary { padding-right: 32px; font-size: 15.5px; }
  .faq-answer { padding-right: 0; }
}
