/*
 * blog.css — Estilos do blog Simuliza
 * Herda variáveis de tokens.css e padrões visuais de global.css (landing).
 * Mantém coerência total com .hero, .feature-card, .section-tag, .cta-section, .animated-bg.
 */

/* ═══════════════════════════════════════════════════════════
 * Body wrappers
 * `main` é `position: relative; overflow: hidden` para ancorar
 * o `.animated-bg` local ao corpo (não invade header/footer).
 * ═══════════════════════════════════════════════════════════ */

.blog-post-page main,
.blog-index-page main {
    min-height: calc(100vh - 72px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Animated-bg local: sobrepõe a regra global de fixed/inteira tela.
   Dentro do <main>, ele cobre apenas o corpo de conteúdo. */
.blog-post-page main > .animated-bg,
.blog-index-page main > .animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.blog-post-page main > .animated-bg .floating-shape,
.blog-index-page main > .animated-bg .floating-shape {
    /* Slight opacity bump (-dense variant) compensates for smaller clipping
       area inside <main> — keeps shapes visible without full-viewport spread. */
    opacity: var(--bg-shape-opacity-dense);
}

/* Garante que TODAS as sections do main fiquem acima das shapes */
.blog-post-page main > section,
.blog-index-page main > section {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
 * Back button (substitui breadcrumb)
 * Botão "← Voltar ao blog" / "← Voltar ao site" no topo das páginas.
 * ═══════════════════════════════════════════════════════════ */

.post-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.85rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 1.5rem;
}

.post-back-btn:hover {
    transform: translateX(-3px);
    box-shadow: var(--shadow-md);
    color: var(--secondary);
    border-color: var(--secondary);
}

.post-back-btn:active {
    transform: translateX(-1px);
}

.post-back-btn i {
    transition: transform 0.25s ease;
}

.post-back-btn:hover i {
    transform: translateX(-2px);
}

/* ═══════════════════════════════════════════════════════════
 * Tipo do post — badges coloridas (variação do section-tag)
 * ═══════════════════════════════════════════════════════════ */

.section-tag.post-type {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.section-tag.post-type i {
    font-size: 0.85em;
}

.post-type-noticia     { background: rgba(6, 182, 212, 0.12);   color: var(--info); }
.post-type-guia        { background: rgba(16, 185, 129, 0.12);  color: var(--success); }
.post-type-analise     { background: rgba(139, 92, 246, 0.12);  color: var(--accent); }
.post-type-comparativo { background: rgba(30, 58, 138, 0.12);   color: var(--primary); }
.post-type-dica        { background: rgba(245, 158, 11, 0.12);  color: var(--warning); }

/* ═══════════════════════════════════════════════════════════
 * POST — Hero
 * Inspirado em .hero da landing, mas centralizado e mais compacto.
 * ═══════════════════════════════════════════════════════════ */

.post-hero {
    padding: 140px 0 60px;
    position: relative;
    text-align: center;
    animation: post-fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.post-hero .post-back-btn {
    display: inline-flex;
}

.post-title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin: 0.5rem 0 1.25rem;
    max-width: 24ch;
    margin-left: auto;
    margin-right: auto;
}

.post-lead {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 60ch;
    margin: 0 auto 2rem;
}

.post-meta {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.post-meta-item i {
    color: var(--primary);
    font-size: 0.875rem;
}

.post-meta-sep {
    color: var(--gray-300);
}

/* ═══════════════════════════════════════════════════════════
 * POST — Article container (corpo do artigo)
 * Card branco com sombra suave, herda .feature-card vibes.
 * ═══════════════════════════════════════════════════════════ */

.post-article-section {
    padding: 0 0 100px;
}

.post-article {
    background: white;
    border-radius: calc(var(--radius) * 1.5);
    box-shadow: var(--shadow-lg);
    padding: 3rem 3.5rem;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.post-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

/* ═══════════════════════════════════════════════════════════
 * POST — Sumário (TOC "Neste artigo")
 * `<details>` nativo para toggle sem JS. Lista numerada com badges
 * alinhados via flex (sem sobreposição com o título da seção).
 * ═══════════════════════════════════════════════════════════ */

.post-toc {
    margin: 0 0 2.5rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
    border: 1px solid rgba(30, 58, 138, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
}

/* Summary = cabeçalho clicável do <details> */
.post-toc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background 0.2s ease;
}

.post-toc-summary::-webkit-details-marker {
    display: none;
}

.post-toc-summary:hover {
    background: rgba(30, 58, 138, 0.04);
}

.post-toc-summary:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: -2px;
}

.post-toc-title {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin: 0;
}

.post-toc-title > i {
    font-size: 0.95em;
    opacity: 0.85;
}

.post-toc-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: white;
    padding: 0.18rem 0.55rem;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.02em;
    text-transform: none;
}

.post-toc-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    font-size: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-toc[open] .post-toc-toggle {
    transform: rotate(180deg);
}

.post-toc-list {
    list-style: none;
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    counter-reset: toc-counter;
    border-top: 1px solid rgba(30, 58, 138, 0.06);
    margin-top: 0;
    padding-top: 0.75rem;
}

.post-toc-item {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--gray-200);
    line-height: 1.45;
}

.post-toc-item:last-child {
    border-bottom: none;
}

.post-toc-item--h2 {
    counter-increment: toc-counter;
}

.post-toc-item--h2::before {
    content: counter(toc-counter, decimal-leading-zero);
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    background: white;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    min-width: 2rem;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.04em;
    /* Alinha verticalmente com a primeira linha do texto */
    align-self: flex-start;
    margin-top: 0.05rem;
}

.post-toc-item--h3 {
    padding-left: 2.85rem;
    font-size: 0.9375rem;
    position: relative;
}

.post-toc-item--h3::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0.95rem;
    width: 0.85rem;
    height: 1px;
    background: var(--gray-300);
}

.post-toc-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    flex: 1;
    min-width: 0;
}

.post-toc-item--h3 .post-toc-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-toc-link:hover {
    color: var(--secondary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════
 * POST — Body (markdown renderizado)
 * Tipografia rica para leitura prolongada.
 * ═══════════════════════════════════════════════════════════ */

.post-body {
    font-size: 1.0625rem;
    line-height: 1.78;
    color: var(--text-primary);
}

.post-body > * + * {
    margin-top: 1.35rem;
}

.post-body p {
    margin: 0;
}

/* H2 com número decorativo + border-bottom gradient */
.post-body h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    scroll-margin-top: 100px;
}

.post-body h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 999px;
}

.post-body h3 {
    font-size: clamp(1.15rem, 1.8vw, 1.3rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary);
    margin-top: 2.25rem;
    margin-bottom: 0.5rem;
    scroll-margin-top: 100px;
}

.post-body h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.75rem;
}

.post-body a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--secondary);
    text-underline-offset: 3px;
    transition: all 0.15s ease;
    font-weight: 500;
}

.post-body a:hover {
    color: var(--secondary);
    text-decoration-thickness: 2px;
}

.post-body strong {
    font-weight: 700;
    color: var(--text-primary);
}

.post-body em {
    font-style: italic;
}

.post-body ul,
.post-body ol {
    padding-left: 1.5rem;
}

.post-body ul li,
.post-body ol li {
    margin-bottom: 0.45rem;
    padding-left: 0.25rem;
}

.post-body ul li::marker {
    color: var(--secondary);
}

.post-body ol li::marker {
    color: var(--secondary);
    font-weight: 700;
}

.post-body li > p {
    margin: 0 0 0.45rem;
}

/* Code inline */
.post-body code {
    background: var(--gray-100);
    color: var(--primary);
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    font-size: 0.9em;
    font-weight: 500;
}

/* Code block */
.post-body pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.65;
    box-shadow: var(--shadow-md);
}

.post-body pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-weight: 400;
}

/* Blockquote */
.post-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--primary);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--gray-700);
    font-style: italic;
    font-size: 1.0625rem;
}

.post-body blockquote p {
    margin: 0;
}

.post-body blockquote p + p {
    margin-top: 0.75rem;
}

.post-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray-200), transparent);
    margin: 2.5rem 0;
}

/* Imagens */
.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 1rem 0;
}

/* ═══════════════════════════════════════════════════════════
 * POST — Tabelas (críticas para comparativos)
 * Header gradient azul, hover row, rolagem mobile.
 * ═══════════════════════════════════════════════════════════ */

.post-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 1.5rem 0;
    display: table;
}

@media (max-width: 720px) {
    .post-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.post-body thead {
    background: var(--gradient-secondary);
    color: white;
}

.post-body th {
    text-align: left;
    padding: 0.85rem 1.1rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.post-body td {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--gray-100);
}

.post-body tbody tr:last-child td {
    border-bottom: none;
}

.post-body tbody tr:nth-child(even) {
    background: var(--gray-50);
}

.post-body tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.post-body td strong {
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
 * POST — Footer (fontes, disclaimer)
 * Cards estilizados com ícone à esquerda.
 * ═══════════════════════════════════════════════════════════ */

.post-sources,
.post-disclaimer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
    margin-top: 2.5rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.post-sources {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
    border: 1px solid rgba(30, 58, 138, 0.08);
}

.post-sources-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.post-sources-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.post-sources-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9375rem;
}

.post-sources-list li {
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--gray-200);
}

.post-sources-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-sources-list li:first-child {
    padding-top: 0;
}

.post-sources-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.post-sources-list a:hover {
    color: var(--primary);
}

.post-sources-list a i {
    font-size: 0.75em;
    opacity: 0.6;
}

.post-sources-date {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.15rem;
    font-style: italic;
}

.post-disclaimer {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    margin-top: 1.5rem;
}

.post-disclaimer-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--warning);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.post-disclaimer-content {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-700);
    align-self: center;
}

.post-disclaimer-content strong {
    color: #92400e;  /* warning-800 — passa AA (7.8:1) sobre fundo rgba(245,158,11,0.08) */
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════
 * BLOG INDEX — Hero
 * Inspirado no hero da landing, com H1 gradient.
 * ═══════════════════════════════════════════════════════════ */

.blog-hero {
    padding: 140px 0 80px;
    position: relative;
    text-align: center;
    animation: post-fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blog-hero-title {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 1rem 0 1.5rem;
    color: var(--text-primary);
}

.blog-hero-title-accent {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 60ch;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
 * BLOG INDEX — Listagem por ano
 * ═══════════════════════════════════════════════════════════ */

.blog-list-section {
    padding: 40px 0 100px;
}

.blog-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.blog-year-header:first-of-type {
    margin-top: 0;
}

.blog-year-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.blog-year-count {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    background: white;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════
 * BLOG INDEX — Card (herda .feature-card pattern)
 * ═══════════════════════════════════════════════════════════ */

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    animation: post-fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.blog-card:hover::before {
    transform: scaleX(1);
}

/* Animação stagger entre cards (até 12) */
.blog-card:nth-child(1) { animation-delay: 0.05s; }
.blog-card:nth-child(2) { animation-delay: 0.10s; }
.blog-card:nth-child(3) { animation-delay: 0.15s; }
.blog-card:nth-child(4) { animation-delay: 0.20s; }
.blog-card:nth-child(5) { animation-delay: 0.25s; }
.blog-card:nth-child(6) { animation-delay: 0.30s; }
.blog-card:nth-child(7) { animation-delay: 0.35s; }
.blog-card:nth-child(8) { animation-delay: 0.40s; }
.blog-card:nth-child(9) { animation-delay: 0.45s; }
.blog-card:nth-child(10) { animation-delay: 0.50s; }

.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.blog-card-header .section-tag.post-type {
    margin: 0;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
}

.blog-card-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    transition: color 0.2s ease;
}

.blog-card-link:hover .blog-card-title {
    color: var(--primary);
}

.blog-card-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.875rem;
}

.blog-card-read-time {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.blog-card-read-time i {
    font-size: 0.8em;
}

.blog-card-arrow {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.blog-card-link:hover .blog-card-arrow {
    gap: 0.75rem;
}

.blog-card-arrow i {
    transition: transform 0.2s ease;
}

.blog-card-link:hover .blog-card-arrow i {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════
 * BLOG INDEX — Estado vazio
 * ═══════════════════════════════════════════════════════════ */

.blog-empty {
    text-align: center;
    padding: 5rem 1rem;
    background: white;
    border-radius: calc(var(--radius) * 1.5);
    box-shadow: var(--shadow-md);
    max-width: 540px;
    margin: 0 auto;
}

.blog-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-empty h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.blog-empty p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
 * Trust badges — ícones (sobrepõe ::before inline para os FA)
 * ═══════════════════════════════════════════════════════════ */

.cta-section .trust-badge i {
    color: var(--success);
}

/* ═══════════════════════════════════════════════════════════
 * Animations
 * ═══════════════════════════════════════════════════════════ */

@keyframes post-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .blog-hero,
    .post-hero {
        animation: none !important;
    }
    .blog-card:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════
 * Responsivo
 * ═══════════════════════════════════════════════════════════ */

@media (max-width: 920px) {
    .post-article {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 720px) {
    .post-hero {
        padding: 110px 0 40px;
    }

    .post-meta {
        padding: 0.6rem 1rem;
        font-size: 0.8125rem;
    }

    .post-meta-sep {
        display: none;
    }

    .post-article-section {
        padding: 0 0 60px;
    }

    .post-article {
        padding: 2rem 1.5rem;
        border-radius: var(--radius);
    }

    .post-body {
        font-size: 1rem;
    }

    .post-body h2 {
        font-size: 1.35rem;
        margin-top: 2.25rem;
    }

    .post-body h3 {
        font-size: 1.125rem;
        margin-top: 1.75rem;
    }

    .post-sources,
    .post-disclaimer {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .post-sources-icon,
    .post-disclaimer-icon {
        width: 38px;
        height: 38px;
    }

    .blog-hero {
        padding: 110px 0 50px;
    }

    .blog-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .blog-card-link {
        padding: 1.5rem;
    }

    .blog-year-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .post-hero {
        padding: 100px 0 30px;
    }

    .post-title {
        font-size: 1.6rem;
        letter-spacing: -0.02em;
    }

    .post-lead {
        font-size: 0.9375rem;
    }

    .post-article {
        padding: 1.5rem 1.25rem;
    }

    .post-breadcrumb {
        font-size: 0.8125rem;
        gap: 0.4rem;
    }

    .post-breadcrumb-current {
        max-width: 22ch;
    }
}
