/* ============================================================
   site.css — blog + páginas públicas
   Dark premium matching home (Geist + Plus Jakarta + Geist Mono).
   Foco em legibilidade editorial pra textos longos.
   ============================================================ */

:root {
    --bg:           #0a0a0a;
    --bg-elev-1:    #111111;
    --bg-elev-2:    #1a1a1a;
    --bg-card:      #131313;
    --border:       rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text:         #fafafa;
    --text-soft:    #e4e4e7;
    --text-muted:   #a0a0a0;
    --text-dim:     #6b7280;
    --brand:        #DC2626;
    --brand-hover:  #B91C1C;
    --brand-glow:   rgba(220, 38, 38, 0.18);
    --brand-from:   #DC2626;
    --brand-to:     #F97316;
    --radius-sm:    6px;
    --radius:       10px;
    --radius-lg:    16px;
    --radius-xl:    24px;
    --max-content:  1200px;
    --max-prose:    680px;
    --font-sans:    'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-sans);
    --font-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color 0.15s, background 0.15s, border-color 0.15s; }

.container       { max-width: var(--max-content); margin: 0 auto; padding: 0 24px; }
.container-prose { max-width: var(--max-prose);   margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Site header (matching home)
   ============================================================ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.site-header .brand {
    font-family: var(--font-display);
    font-weight: 800; font-size: 17px; letter-spacing: -0.02em;
    display: inline-flex; align-items: center; gap: 8px;
}
.site-header .brand .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 14px var(--brand-glow);
}
.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a {
    padding: 8px 12px; border-radius: var(--radius-sm);
    color: var(--text-muted); font-size: 14px; font-weight: 500;
}
.site-header nav a:hover { color: var(--text); background: var(--bg-elev-1); }
.site-header nav a.active { color: var(--text); background: var(--bg-elev-1); }

/* ============================================================
   Footer (matching home)
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    margin-top: 100px;
    color: var(--text-dim);
    font-size: 14px;
}
.site-footer .container {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; font-size: 14px; font-weight: 600;
    border-radius: var(--radius); transition: all 0.15s;
    cursor: pointer; border: 1px solid transparent; line-height: 1;
}
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px var(--brand-glow); }
.btn--brand:hover { background: var(--brand-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--bg-elev-1); border-color: var(--text); }

/* ============================================================
   Blog hero
   ============================================================ */
.blog-hero {
    position: relative;
    padding: 80px 0 40px;
    text-align: center;
    overflow: hidden;
}
.blog-hero::before {
    content: ''; position: absolute; top: 0; left: 50%;
    transform: translateX(-50%); width: 100%; height: 400px;
    background: radial-gradient(ellipse 600px 300px at center top, var(--brand-glow), transparent 70%);
    pointer-events: none; z-index: 0;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero__eyebrow {
    display: inline-block;
    color: var(--brand);
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.blog-hero h1 {
    font-family: var(--font-display);
    font-weight: 800; font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05; letter-spacing: -0.03em;
    margin: 0 0 16px;
}
.blog-hero p {
    color: var(--text-muted); font-size: 17px;
    max-width: 600px; margin: 0 auto;
}

/* ============================================================
   Post list (grid de cards)
   ============================================================ */
.post-list {
    padding: 40px 24px 60px;
    max-width: var(--max-content); margin: 0 auto;
}
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    display: flex; flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -16px rgba(0,0,0,0.6);
}
.post-card__image {
    aspect-ratio: 16 / 10;
    background: var(--bg-elev-1);
    overflow: hidden;
    position: relative;
}
.post-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__image--empty {
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim); font-size: 32px;
    background: linear-gradient(135deg, var(--bg-elev-1), var(--bg-elev-2));
}
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__meta {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.05em;
}
.post-card__meta .sep { opacity: 0.5; }
.post-card h2 {
    font-family: var(--font-display);
    font-size: 19px; font-weight: 700; line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 0;
}
.post-card h2 a { color: var(--text); }
.post-card:hover h2 a { color: var(--brand); }
.post-card__excerpt { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; }
.post-card__readmore {
    margin-top: auto;
    color: var(--text-muted); font-size: 13px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px;
}
.post-card:hover .post-card__readmore { color: var(--brand); }
.post-card__readmore i { transition: transform 0.15s; }
.post-card:hover .post-card__readmore i { transform: translateX(3px); }

/* Featured (primeiro post da lista, maior) */
.post-list--with-featured .post-card:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    min-height: 380px;
}
.post-list--with-featured .post-card:first-child .post-card__image {
    flex: 1.2; aspect-ratio: auto;
}
.post-list--with-featured .post-card:first-child .post-card__body {
    flex: 1; padding: 40px; justify-content: center;
}
.post-list--with-featured .post-card:first-child h2 { font-size: 32px; }
.post-list--with-featured .post-card:first-child .post-card__excerpt { font-size: 16px; }

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
    display: flex; justify-content: center; gap: 8px;
    padding: 40px 0 0; flex-wrap: wrap;
}
.pagination a, .pagination span {
    padding: 10px 16px; border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    color: var(--text-muted); font-size: 14px; font-weight: 500;
}
.pagination a:hover { background: var(--bg-elev-1); color: var(--text); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   Single post (artigo)
   ============================================================ */
.post-single { padding: 40px 0 80px; }

.breadcrumb {
    max-width: var(--max-prose); margin: 0 auto 32px;
    padding: 0 24px;
    color: var(--text-dim); font-size: 13px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { opacity: 0.5; margin: 0 6px; }

.post-header { max-width: var(--max-prose); margin: 0 auto 32px; padding: 0 24px; }
.post-header__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.post-header__tags a {
    font-size: 12px; font-weight: 600;
    padding: 4px 10px; border-radius: 999px;
    color: var(--brand);
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.25);
    text-transform: uppercase; letter-spacing: 0.04em;
}
.post-header__tags a:hover { background: rgba(220, 38, 38, 0.2); }
.post-header h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08; letter-spacing: -0.03em;
    margin: 0 0 16px;
}
.post-header__excerpt {
    color: var(--text-muted);
    font-size: 19px; line-height: 1.5;
    margin: 0 0 24px;
}
.post-header__meta {
    display: flex; align-items: center; gap: 16px;
    color: var(--text-dim); font-size: 14px;
    padding-top: 20px; border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.post-header__meta .author { display: flex; align-items: center; gap: 8px; }
.post-header__meta .author strong { color: var(--text); font-weight: 600; }
.post-header__meta .sep { opacity: 0.5; }

.post-featured {
    max-width: var(--max-content); margin: 0 auto 40px;
    padding: 0 24px;
}
.post-featured img {
    width: 100%; max-height: 520px; object-fit: cover;
    border-radius: var(--radius-xl);
}

/* Body (typography editorial) */
.post-body {
    max-width: var(--max-prose); margin: 0 auto;
    padding: 0 24px;
    font-size: 18px; line-height: 1.75; color: var(--text-soft);
    word-wrap: break-word;
}
.post-body > * + * { margin-top: 1.25em; }
.post-body p { margin: 0; }
.post-body h2 {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700; line-height: 1.2;
    letter-spacing: -0.02em; color: var(--text);
    margin-top: 2em; margin-bottom: 0.4em;
}
.post-body h3 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; line-height: 1.3;
    letter-spacing: -0.015em; color: var(--text);
    margin-top: 1.6em; margin-bottom: 0.4em;
}
.post-body h4 {
    font-size: 18px; font-weight: 700; color: var(--text);
    margin-top: 1.4em; margin-bottom: 0.3em;
}
.post-body a {
    color: var(--brand);
    text-decoration: underline;
    text-decoration-color: rgba(220, 38, 38, 0.4);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.post-body a:hover { text-decoration-color: var(--brand); }
.post-body strong { color: var(--text); font-weight: 700; }
.post-body em { color: var(--text-soft); }
.post-body ul, .post-body ol {
    padding-left: 1.5em;
    margin: 1em 0;
}
.post-body li { margin-bottom: 0.5em; }
.post-body li::marker { color: var(--brand); }
.post-body img, .post-body figure {
    border-radius: var(--radius-lg);
    margin: 2em auto;
    box-shadow: 0 12px 40px -12px rgba(0,0,0,0.5);
}
.post-body figcaption {
    text-align: center; font-size: 14px;
    color: var(--text-dim); margin-top: 8px;
    font-style: italic;
}
.post-body blockquote {
    border-left: 3px solid var(--brand);
    padding: 8px 0 8px 24px;
    margin: 2em 0;
    font-family: var(--font-display);
    font-size: 22px; font-style: italic; line-height: 1.5;
    color: var(--text);
}
.post-body code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: var(--bg-elev-2);
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid var(--border);
    color: #fcd34d;
}
.post-body pre {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 14px; line-height: 1.6;
}
.post-body pre code {
    background: transparent;
    border: 0;
    padding: 0;
    color: var(--text-soft);
    font-size: inherit;
}
.post-body hr {
    border: 0; height: 1px; background: var(--border);
    margin: 2.5em 0;
}
.post-body table {
    width: 100%; border-collapse: collapse; font-size: 15px;
    margin: 1.5em 0;
}
.post-body th, .post-body td {
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--border);
}
.post-body th { color: var(--text); font-weight: 700; background: var(--bg-elev-1); }

/* Tags no fim do artigo */
.post-tags {
    max-width: var(--max-prose); margin: 60px auto 0;
    padding: 32px 24px 0;
    border-top: 1px solid var(--border);
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.post-tags__label {
    font-size: 12px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.06em;
    font-weight: 600; margin-right: 8px;
}
.post-tags a {
    font-size: 13px; font-weight: 500;
    padding: 6px 12px; border-radius: var(--radius);
    color: var(--text-muted);
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
}
.post-tags a:hover { color: var(--text); background: var(--bg-elev-2); border-color: var(--border-strong); }

/* Share buttons */
.post-share {
    max-width: var(--max-prose); margin: 24px auto;
    padding: 0 24px;
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap;
}
.post-share__label {
    font-size: 13px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.post-share a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: var(--radius);
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px; font-weight: 500;
}
.post-share a:hover { background: var(--bg-elev-2); color: var(--text); border-color: var(--border-strong); }
.post-share a i { font-size: 14px; }

/* CTA no fim do artigo */
.post-cta {
    max-width: var(--max-prose); margin: 60px auto 0;
    padding: 36px;
    border-radius: var(--radius-xl);
    background: radial-gradient(ellipse 400px 200px at 20% 0%, var(--brand-glow), transparent 70%), var(--bg-elev-1);
    border: 1px solid var(--border-strong);
}
.post-cta h3 {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.post-cta p { color: var(--text-muted); margin: 0 0 20px; font-size: 15px; }
.post-cta .btn { padding: 12px 22px; }

/* Posts relacionados */
.related-posts {
    max-width: var(--max-content); margin: 80px auto 0;
    padding: 60px 24px 0;
    border-top: 1px solid var(--border);
}
.related-posts h3 {
    font-family: var(--font-display);
    font-size: 14px; font-weight: 700;
    color: var(--brand);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin: 0 0 24px;
    text-align: center;
}
.related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* ============================================================
   404
   ============================================================ */
.error-page { padding: 120px 24px; text-align: center; }
.error-page h1 {
    font-family: var(--font-display);
    font-size: 96px; font-weight: 800;
    background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0 0 16px;
}
.error-page p { color: var(--text-muted); font-size: 17px; }
.error-page p a { color: var(--brand); text-decoration: underline; }

/* ============================================================
   Reading progress bar (fixed top)
   ============================================================ */
.reading-bar {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--brand-from), var(--brand-to));
    z-index: 100;
    transition: width 0.12s linear;
    pointer-events: none;
}

/* ============================================================
   Featured image credit (Pexels attribution)
   ============================================================ */
.post-featured__credit {
    text-align: right;
    padding: 8px 24px 0;
    font-size: 12px;
    color: var(--text-dim);
    max-width: var(--max-content);
    margin: 0 auto;
}
.post-featured__credit a { color: var(--text-muted); text-decoration: underline; }
.post-featured__credit a:hover { color: var(--text); }

/* ============================================================
   Layout do single (TOC sidebar + main content)
   ============================================================ */
.post-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
.post-main { width: 100%; max-width: var(--max-prose); margin: 0 auto; }

@media (min-width: 1100px) {
    .post-layout {
        grid-template-columns: 240px 1fr;
        align-items: start;
    }
    .post-main { margin: 0; }
}

/* TOC sticky lateral */
.post-toc { font-size: 13px; }
.post-toc details summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    padding: 10px 12px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--text-muted);
    user-select: none;
}
.post-toc details summary::-webkit-details-marker { display: none; }
.post-toc details summary i { color: var(--brand); }
.post-toc details[open] summary { margin-bottom: 12px; }
.post-toc nav {
    display: flex; flex-direction: column;
    gap: 2px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 4px;
}
.post-toc nav a {
    color: var(--text-muted);
    padding: 7px 12px;
    border-left: 2px solid transparent;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    line-height: 1.4;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.post-toc nav a:hover { color: var(--text); background: var(--bg-elev-1); }
.post-toc nav a.is-active {
    color: var(--text); background: var(--bg-elev-1);
    border-left-color: var(--brand); font-weight: 600;
}
.post-toc nav a.toc-h3 {
    padding-left: 24px; font-size: 12.5px;
    color: var(--text-dim);
}
.post-toc nav a.toc-h3.is-active { color: var(--text-muted); }

@media (min-width: 1100px) {
    .post-toc { position: sticky; top: 84px; }
}

/* ============================================================
   Newsletter inline (mid-article)
   ============================================================ */
.newsletter-inline {
    margin: 2.5em 0;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse 300px 150px at 0% 0%, var(--brand-glow), transparent 70%),
        var(--bg-elev-1);
    border: 1px solid var(--border-strong);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: center;
}
.newsletter-inline__copy h3 {
    font-family: var(--font-display);
    font-size: 19px; font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    color: var(--text);
}
.newsletter-inline__copy p {
    font-size: 14px; color: var(--text-muted);
    margin: 0; line-height: 1.5;
}
.newsletter-inline__form { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.newsletter-inline__form input[type="email"] {
    flex: 1; min-width: 200px;
    padding: 11px 14px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 14px;
}
.newsletter-inline__form input:focus { outline: none; border-color: var(--brand); }
.newsletter-inline__form button {
    padding: 11px 20px;
    background: var(--brand); color: #fff;
    border: 0; border-radius: var(--radius);
    font-weight: 600; font-size: 14px;
    cursor: pointer; transition: background 0.15s;
}
.newsletter-inline__form button:hover { background: var(--brand-hover); }
.newsletter-inline__form button:disabled { opacity: 0.6; cursor: not-allowed; }
.newsletter-inline__msg { flex-basis: 100%; font-size: 13px; padding-top: 4px; }

@media (max-width: 720px) {
    .newsletter-inline { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
    .newsletter-inline__form { flex-direction: column; }
    .newsletter-inline__form button { width: 100%; }
}

/* ============================================================
   In-article ads
   ============================================================ */
.in-article-ad {
    display: block;
    margin: 36px 0;
    padding: 14px;
    background: var(--bg-elev-1);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    min-height: 90px;
    position: relative;
}
.in-article-ad::before {
    content: 'Publicidade';
    display: block;
    text-align: center;
    font-size: 10px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 6px;
}

/* ============================================================
   Comments
   ============================================================ */
.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.comments-section h2 {
    font-family: var(--font-display);
    font-size: 24px; font-weight: 800;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}
.comments-section h2 .muted { color: var(--text-dim); font-weight: 500; font-size: 18px; }
.comments-empty { color: var(--text-muted); font-style: italic; margin-bottom: 32px; }

.comments-list {
    display: flex; flex-direction: column; gap: 16px;
    margin-bottom: 40px;
}
.comment {
    padding: 18px 22px;
    background: var(--bg-elev-1);
    border-radius: var(--radius);
    border-left: 3px solid var(--border);
}
.comment__head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 8px; flex-wrap: wrap; gap: 8px;
}
.comment__head strong { color: var(--text); font-weight: 700; font-size: 15px; }
.comment__head time { color: var(--text-dim); font-size: 12px; }
.comment__body {
    color: var(--text-soft); font-size: 15px;
    margin: 0; line-height: 1.6;
}

.comment-form {
    padding: 28px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
}
.comment-form h3 {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 700; margin: 0 0 18px;
}
.comment-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 11px 14px;
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 14px;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--brand); }
.comment-form textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.comment-form__actions {
    display: flex; align-items: center; gap: 16px;
    margin-top: 14px; flex-wrap: wrap;
}
.comment-form__actions button {
    padding: 11px 22px;
    background: var(--brand); color: #fff;
    border: 0; border-radius: var(--radius);
    font-weight: 600; font-size: 14px;
    cursor: pointer; transition: background 0.15s;
}
.comment-form__actions button:hover { background: var(--brand-hover); }
.comment-form__actions button:disabled { opacity: 0.6; cursor: not-allowed; }
.comment-form__actions .muted { font-size: 12px; color: var(--text-dim); }
.comment-form__msg { margin-top: 14px; font-size: 13px; }

@media (max-width: 640px) {
    .comment-form__row { grid-template-columns: 1fr; }
    .comment-form { padding: 20px; }
}

/* ============================================================
   Share copy button (novo)
   ============================================================ */
.post-share button[data-copy-link] {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: var(--radius);
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 13px; font-weight: 500;
    cursor: pointer;
}
.post-share button[data-copy-link]:hover {
    color: var(--text); background: var(--bg-elev-2);
    border-color: var(--border-strong);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .post-list--with-featured .post-card:first-child {
        flex-direction: column; grid-column: 1 / -1;
    }
    .post-list--with-featured .post-card:first-child .post-card__image { aspect-ratio: 16 / 9; }
    .post-list--with-featured .post-card:first-child h2 { font-size: 26px; }
}

@media (max-width: 640px) {
    .blog-hero { padding: 60px 0 30px; }
    .post-list { padding: 24px 16px 40px; }
    .post-grid, .related-grid { grid-template-columns: 1fr; }
    .post-body { font-size: 17px; }
    .post-body h2 { font-size: 24px; }
    .post-body h3 { font-size: 20px; }
    .post-body blockquote { font-size: 18px; padding-left: 16px; }
    .post-header h1 { font-size: 28px; }
    .post-header__excerpt { font-size: 17px; }
    .post-cta { padding: 24px; }
    .site-header nav a:not(.active) { display: none; }
}
