/* Recruta Blog — Magazine Layout
   Shared stylesheet for /blog hub and all article pages.
   Version: 2026-05-17
*/

:root {
    --color-primary-50: #f5f3ff;
    --color-primary-100: #ede9fe;
    --color-primary-200: #ddd6fe;
    --color-primary-300: #c4b5fd;
    --color-primary-500: #7c3aed;
    --color-primary-700: #6d28d9;
    --color-primary-900: #3f0f5c;
    --color-neutral-0: #ffffff;
    --color-neutral-50: #f9f9f9;
    --color-neutral-100: #f3f3f3;
    --color-neutral-200: #eeeeee;
    --color-neutral-300: #e5e5e5;
    --color-neutral-400: #d1d5db;
    --color-neutral-600: #776583;
    --color-neutral-700: #4a4a4a;
    --color-neutral-800: #2d2d2d;
    --color-neutral-900: #1e1e1e;
    --color-warning-bg: #fef3c7;
    --color-warning-border: #fde68a;
    --color-success-bg: #ecfdf5;
    --color-success-border: #a7f3d0;
    --color-blue-bg: #eff6ff;
    --color-blue-border: #bfdbfe;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    --gradient-warm: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --shadow-subtle: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 36px rgba(0,0,0,.12);
    --shadow-glow: 0 8px 24px rgba(124,58,237,.25);
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-display);
    background: var(--color-neutral-0);
    color: var(--color-neutral-900);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary-500); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Header EDITORIAL próprio do blog (não reusa nav do site) ===== */
/* Princípio de design: densidade compacta + roxo como acento esparso (não superfície). */
.blog-masthead {
    background: #fff; border-bottom: 1px solid var(--color-neutral-200);
    position: sticky; top: 0; z-index: 1000;
}
.blog-masthead-top {
    padding: .85rem 2rem;
    background: #fff;
}
.blog-masthead-row {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.blog-brand { display: flex; align-items: baseline; gap: .65rem; }
.blog-brand a { display: inline-flex; align-items: baseline; gap: .65rem; color: var(--color-neutral-900); text-decoration: none; line-height: 1; }
.blog-brand a:hover { text-decoration: none; }
.blog-brand .brand-suffix {
    font-family: var(--font-mono); font-size: .62rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--color-neutral-600);
    border-left: 1px solid var(--color-neutral-300); padding-left: .65rem; line-height: 1;
}

.blog-masthead-right {
    display: flex; align-items: center; gap: .65rem;
}
.blog-search {
    display: flex; align-items: center; gap: .4rem;
    background: var(--color-neutral-100); border: 1px solid transparent;
    border-radius: 9999px; padding: .42rem .9rem;
    transition: all .18s;
}
.blog-search:hover { background: var(--color-neutral-50); border-color: var(--color-neutral-200); }
.blog-search:focus-within { border-color: var(--color-primary-300); background: #fff; box-shadow: 0 0 0 3px rgba(124,58,237,.08); }
.blog-search svg { width: 14px; height: 14px; fill: none; stroke: var(--color-neutral-600); stroke-width: 2; flex-shrink: 0; }
.blog-search input {
    border: none; background: transparent; outline: none;
    font-family: var(--font-display); font-size: .82rem; color: var(--color-neutral-900);
    width: 160px; padding: 0;
}
.blog-search input::placeholder { color: var(--color-neutral-600); }
.blog-newsletter-cta {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--color-primary-500); color: #fff;
    padding: .48rem 1.05rem; border-radius: 9999px;
    font-size: .78rem; font-weight: 700; text-decoration: none;
    letter-spacing: .2px; transition: all .2s;
}
.blog-newsletter-cta:hover { background: var(--color-primary-700); text-decoration: none; transform: translateY(-1px); }

.blog-masthead-categories {
    border-top: 1px solid var(--color-neutral-100);
    background: #fff; padding: .55rem 2rem;
}
.blog-cat-row {
    max-width: 1200px; margin: 0 auto;
    display: flex; gap: 1.6rem; align-items: center; justify-content: center;
    flex-wrap: wrap;
}
.blog-cat-row a {
    font-family: var(--font-display); font-size: .76rem; font-weight: 700;
    color: var(--color-neutral-600); text-transform: uppercase; letter-spacing: 1px;
    padding: .35rem .1rem; border-bottom: 2px solid transparent;
    transition: all .15s; text-decoration: none;
}
.blog-cat-row a:hover { color: var(--color-neutral-900); text-decoration: none; }
.blog-cat-row a.active {
    color: var(--color-neutral-900); border-bottom-color: var(--color-primary-500); text-decoration: none;
}
.blog-cat-row a.cat-press { color: var(--color-primary-700); }

/* ===== Nav legada do site (mantida só para páginas fora do /blog) ===== */
.navbar-top-bar { height: 4px; background: var(--gradient-primary); }
.navbar-announcement {
    background: var(--color-primary-50); padding: 10px 0; text-align: center;
    font-size: .85rem; color: var(--color-neutral-700); font-weight: 600;
    border-bottom: 1px solid var(--color-primary-100);
}
.navbar-announcement a { color: var(--color-primary-500); text-decoration: underline; margin-left: 4px; font-weight: 700; }
nav.main-nav {
    position: sticky; top: 0; z-index: 1000; background: #fff;
    box-shadow: var(--shadow-subtle); padding: 1.1rem 2rem;
    border-bottom: 1px solid var(--color-neutral-200);
}
/* Auto-hide on scroll down — ativado por nav.js */
nav.main-nav.nav-autohide { transition: transform .28s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
nav.main-nav.nav-hidden { transform: translateY(-100%); }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--color-neutral-900); text-decoration: none; }
.nav-logo img { height: 32px; width: auto; display: block; }
/* Wordmark Recruta — única regra autoritativa. Tamanho proporcional ao masthead enxuto. */
.brand-name-img { height: 34px; width: auto; display: block; }
.footer-brand-img { height: 32px; width: auto; display: block; margin-bottom: .75rem; }
@media (max-width: 720px) {
    .nav-logo img { height: 26px; }
    .brand-name-img { height: 26px; }
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { color: var(--color-neutral-700); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: var(--color-primary-500); text-decoration: none; }
.nav-links a.nav-active { color: var(--color-primary-700); font-weight: 700; }

/* Hamburger (mobile) — estado fechado, abre com .open */
.nav-hamburger { display: none; background: transparent; border: none; padding: .35rem; cursor: pointer; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--color-neutral-900); margin: 4px 0; border-radius: 2px; transition: all .25s; }

@media (max-width: 860px) {
    nav.main-nav { padding: .85rem 1.25rem; }
    .nav-hamburger { display: inline-flex; flex-direction: column; }
    .nav-links { display: none; position: absolute; top: 100%; right: 1rem; background: #fff; flex-direction: column; align-items: stretch; gap: 0; min-width: 220px; padding: .5rem 0; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--color-neutral-200); }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: .75rem 1.25rem; font-size: .92rem; }
    .nav-links a.btn { margin: .5rem 1rem; justify-content: center; }
}

/* ===== Sub-nav editorial (categorias do blog) — abaixo do nav padrão ===== */
.blog-subnav {
    background: #fff;
    border-bottom: 1px solid var(--color-neutral-200);
    padding: .55rem 2rem;
}
.blog-subnav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; gap: 1.6rem; align-items: center; justify-content: center;
    flex-wrap: wrap;
}
.blog-subnav-inner a {
    font-family: var(--font-display); font-size: .72rem; font-weight: 700;
    color: var(--color-neutral-600); text-transform: uppercase; letter-spacing: 1px;
    padding: .3rem .15rem; border-bottom: 2px solid transparent;
    transition: all .15s; text-decoration: none;
}
.blog-subnav-inner a:hover { color: var(--color-neutral-900); text-decoration: none; }
.blog-subnav-inner a.active {
    color: var(--color-neutral-900); border-bottom-color: var(--color-primary-500); text-decoration: none;
}
.blog-subnav-inner a[data-cat="imprensa"] { color: var(--color-primary-700); }
@media (max-width: 720px) {
    .blog-subnav { padding: .45rem 1rem; }
    .blog-subnav-inner { gap: 1rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
    .blog-subnav-inner a { white-space: nowrap; font-size: .68rem; }
}

/* ===== Assinatura editorial limpa ao fim da matéria ===== */
.article-signature {
    margin-top: 2.5rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-neutral-200);
    color: var(--color-neutral-600);
    font-size: .9rem;
    line-height: 1.6;
}
.article-signature em { font-style: italic; }
.article-signature a { color: var(--color-primary-700); }

/* ===== Buttons ===== */
.btn { padding: .85rem 1.6rem; border-radius: 9999px; border: none; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all .25s ease; font-family: var(--font-display);
    display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); text-decoration: none; }
.btn-outline { background: transparent; color: var(--color-primary-500); border: 2px solid var(--color-primary-500); }
.btn-outline:hover { background: var(--color-primary-50); text-decoration: none; }
.btn-warm { background: var(--gradient-warm); color: #1e1e1e; box-shadow: 0 8px 24px rgba(245,158,11,.25); }
.btn-warm:hover { transform: translateY(-2px); text-decoration: none; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ===== Layout helpers ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-blog { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-article { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

/* ===== Blog Hub ===== */
.blog-header {
    background: linear-gradient(180deg, var(--color-primary-50) 0%, #fff 100%);
    padding: 4rem 0 3rem; border-bottom: 1px solid var(--color-neutral-200); text-align: center;
}
.blog-header h1 { font-size: 3rem; font-weight: 900; letter-spacing: -1.5px; margin-bottom: .75rem; line-height: 1.1; }
.blog-header p.tagline { font-size: 1.2rem; color: var(--color-neutral-700); max-width: 640px; margin: 0 auto 2rem; line-height: 1.55; }
.blog-categories { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.blog-categories a {
    display: inline-block; padding: .5rem 1rem; border-radius: 9999px;
    background: #fff; border: 1px solid var(--color-neutral-300); color: var(--color-neutral-700);
    font-size: .9rem; font-weight: 600; transition: all .2s;
}
.blog-categories a:hover, .blog-categories a.active { background: var(--color-primary-500); color: #fff; border-color: var(--color-primary-500); text-decoration: none; }

/* Featured post — destaque editorial principal */
.featured-post {
    margin: 2.5rem auto 3rem; max-width: 1200px; padding: 0 2rem;
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.75rem; align-items: center;
}
.featured-post .post-img {
    aspect-ratio: 16/11; background: var(--color-neutral-100); border-radius: 12px; overflow: hidden;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; font-weight: 800;
    box-shadow: var(--shadow-md); position: relative;
}
.featured-post .post-img.warm { background: var(--gradient-warm); color: #1e1e1e; }
.featured-post .post-img::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,.12) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.featured-post .post-img span { position: relative; z-index: 1; padding: 2rem; text-align: center; line-height: 1.3; }
.featured-post .post-meta {
    display: flex; gap: 1rem; font-size: .82rem; color: var(--color-neutral-600); margin-bottom: .9rem; align-items: center;
}
.featured-post .post-meta .tag {
    background: var(--color-primary-50); color: var(--color-primary-700);
    padding: .28rem .8rem; border-radius: 9999px; font-weight: 700;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .5px;
}
.featured-post h2 { font-size: 2.05rem; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; margin-bottom: .9rem; }
.featured-post h2 a { color: var(--color-neutral-900); }
.featured-post h2 a:hover { color: var(--color-primary-700); text-decoration: none; }
.featured-post p { font-size: 1.02rem; color: var(--color-neutral-700); margin-bottom: 1.4rem; line-height: 1.6; }
.featured-post .author-line { display: flex; align-items: center; gap: .75rem; font-size: .88rem; color: var(--color-neutral-600); }
.featured-post .author-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; overflow: hidden; position: relative; flex-shrink: 0; }
@media (max-width: 880px) {
    .featured-post { grid-template-columns: 1fr; gap: 1.5rem; margin: 1.5rem auto 2rem; }
    .featured-post .post-img { aspect-ratio: 16/10; }
    .featured-post h2 { font-size: 1.55rem; }
}
.featured-post .author-avatar img,
.author-avatar-lg img,
.author-avatar-xl img,
.author-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }

/* Post grid — cards editoriais, densidade compacta com hairline divider */
.posts-grid {
    max-width: 1200px; margin: 2rem auto 3rem; padding: 0 2rem;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem;
}
.post-card {
    background: #fff; border: 1px solid var(--color-neutral-200); border-radius: 10px;
    overflow: hidden; transition: all .22s ease; display: flex; flex-direction: column;
    position: relative;
}
.post-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--color-primary-500); opacity: 0; transition: opacity .2s ease;
    border-radius: 10px 0 0 10px;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--color-neutral-300); }
.post-card:hover::before { opacity: 1; }
.post-card-img {
    aspect-ratio: 16/10; background: var(--color-neutral-100); display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; padding: 1.25rem; text-align: center; font-size: 1rem; line-height: 1.3;
    border-bottom: 1px solid var(--color-neutral-200);
}
img.post-card-img {
    display: block; width: 100%; height: auto; object-fit: cover; padding: 0;
}
img.post-img {
    display: block; width: 100%; height: auto; aspect-ratio: 16/11; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-md);
}
.post-card-img.warm { background: var(--gradient-warm); color: #1e1e1e; }
.post-card-img.dark { background: linear-gradient(135deg, #1e1e1e 0%, #3f0f5c 100%); }
.post-card-img.green { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.post-card-img.blue { background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%); }
.post-card-body { padding: 1.25rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.post-card-tag {
    font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px;
    color: var(--color-primary-700); margin-bottom: .55rem;
}
.post-card h3 { font-size: 1.08rem; font-weight: 800; line-height: 1.32; margin-bottom: .55rem; letter-spacing: -.2px; }
.post-card h3 a { color: var(--color-neutral-900); }
.post-card h3 a:hover { color: var(--color-primary-700); text-decoration: none; }
.post-card p { font-size: .88rem; color: var(--color-neutral-700); flex: 1; margin-bottom: 1rem; line-height: 1.55; }
.post-card .post-meta { font-size: .77rem; color: var(--color-neutral-600); padding-top: .8rem; border-top: 1px solid var(--color-neutral-100); }
@media (max-width: 960px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 640px) {
    .posts-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Newsletter strip */
.newsletter-strip {
    background: var(--color-neutral-900); color: #fff; padding: 3rem 2rem; text-align: center; margin: 3rem 0;
}
.newsletter-strip h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.newsletter-strip p { color: rgba(255,255,255,.78); margin-bottom: 1.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.newsletter-strip form { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 0 auto; position: relative; }
.newsletter-strip input { padding: .85rem 1.2rem; border-radius: 9999px; border: none; flex: 1; min-width: 240px; font-size: 1rem; font-family: var(--font-display); }
.newsletter-strip button[disabled] { opacity: .65; cursor: not-allowed; }
.newsletter-feedback {
    min-height: 1.4em; margin: 1rem auto 0; max-width: 480px; font-size: .92rem;
    color: rgba(255,255,255,.85); transition: color .2s;
}
.newsletter-feedback.is-ok { color: #6ee7b7; font-weight: 600; }
.newsletter-feedback.is-error { color: #fca5a5; font-weight: 600; }
.newsletter-fineprint {
    margin-top: 1rem !important; font-size: .78rem !important;
    color: rgba(255,255,255,.5) !important; max-width: 480px !important;
}
.newsletter-fineprint a { color: rgba(255,255,255,.75); text-decoration: underline; }
.newsletter-fineprint a:hover { color: #fff; }

/* ===== Article (single post) ===== */
.article-hero {
    background: linear-gradient(180deg, var(--color-primary-50) 0%, #fff 100%);
    padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--color-neutral-200);
}
.article-hero .breadcrumbs { font-size: .85rem; color: var(--color-neutral-600); margin-bottom: 1.25rem; }
.article-hero .breadcrumbs a { color: var(--color-neutral-600); }
.article-hero .category-tag {
    display: inline-block; background: var(--color-primary-700); color: #fff;
    padding: .35rem .9rem; border-radius: 9999px; font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px; margin-bottom: 1rem;
}
.article-hero h1 { font-size: 2.7rem; font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1rem; }

/* Person page (equipe) — hero with portrait */
.person-hero { padding: 3rem 0 2rem; background: linear-gradient(180deg, var(--color-primary-50) 0%, #fff 100%); border-bottom: 1px solid var(--color-neutral-200); }
.person-hero .container-article { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: center; max-width: 920px; margin: 0 auto; padding: 0 2rem; }
.person-hero .author-photo { width: 180px; height: 180px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 4rem; overflow: hidden; position: relative; box-shadow: 0 8px 24px rgba(124, 58, 237, .18); }
.person-hero .person-meta .role-line { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--color-primary-700); margin-bottom: .5rem; }
.person-hero .person-meta h1 { font-size: 2.2rem; font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin-bottom: .5rem; }
.person-hero .person-meta .person-tag { font-size: 1rem; color: var(--color-neutral-700); margin: 0; }
@media (max-width: 720px) {
    .person-hero .container-article { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
    .person-hero .author-photo { width: 140px; height: 140px; font-size: 3rem; margin: 0 auto; }
}
.article-hero .lead { font-size: 1.2rem; color: var(--color-neutral-700); line-height: 1.55; margin-bottom: 2rem; }
.article-hero .author-meta {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    padding-top: 1.5rem; border-top: 1px solid var(--color-neutral-300);
}
.author-avatar-lg { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; overflow: hidden; position: relative; }
.author-meta .author-name { font-weight: 700; color: var(--color-neutral-900); font-size: .95rem; }
.author-meta .author-role { font-size: .85rem; color: var(--color-neutral-600); }
.author-meta .meta-pipe { color: var(--color-neutral-400); }
.author-meta .meta-item { font-size: .85rem; color: var(--color-neutral-600); }

/* Article body */
.article-body-wrap { padding: 3rem 0; }
.article-layout { display: grid; grid-template-columns: 220px 1fr 220px; gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 0 2rem; align-items: start; }
.article-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; font-size: .85rem; padding-right: 1rem; }
.article-toc h4 { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--color-neutral-600); margin-bottom: 1rem; }
.article-toc ul { list-style: none; margin: 0; padding: 0; }
.article-toc li { margin: .35rem 0; }
.article-toc a { color: var(--color-neutral-700); font-weight: 500; line-height: 1.4; display: block; padding: .25rem 0; border-left: 2px solid transparent; padding-left: .75rem; transition: all .15s; }
.article-toc a:hover, .article-toc a.active { color: var(--color-primary-700); border-left-color: var(--color-primary-500); text-decoration: none; }

.article-share { position: sticky; top: 100px; padding-left: 1rem; }
.article-share h4 { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--color-neutral-600); margin-bottom: 1rem; }
.share-btns { display: flex; flex-direction: column; gap: .5rem; }
.share-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .85rem; border: 1px solid var(--color-neutral-300); border-radius: 8px; color: var(--color-neutral-700); font-size: .85rem; font-weight: 600; transition: all .2s; background: #fff; cursor: pointer; }
.share-btn:hover { border-color: var(--color-primary-500); color: var(--color-primary-700); background: var(--color-primary-50); text-decoration: none; }
.share-btn svg { width: 16px; height: 16px; fill: currentColor; }

.article-content { font-size: 1.08rem; line-height: 1.75; color: #2d2d2d; }
.article-content h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.2; margin: 2.5rem 0 1rem; letter-spacing: -.5px; color: var(--color-neutral-900); }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.35; margin: 2rem 0 .75rem; color: var(--color-neutral-900); }
.article-content h4 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.article-content p { margin-bottom: 1.25rem; color: #2d2d2d; }
.article-content ul, .article-content ol { margin: 0 0 1.25rem 1.5rem; }
.article-content li { margin: .5rem 0; }
.article-content strong { color: var(--color-neutral-900); font-weight: 700; }
.article-content a { color: var(--color-primary-700); border-bottom: 1px solid var(--color-primary-200); }
.article-content a:hover { border-bottom-color: var(--color-primary-500); text-decoration: none; }
.article-content blockquote {
    border-left: 4px solid var(--color-primary-500); background: var(--color-primary-50);
    padding: 1.25rem 1.5rem; margin: 1.75rem 0; border-radius: 0 8px 8px 0;
    font-style: italic; color: var(--color-neutral-800); font-size: 1.05rem;
}
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content blockquote cite { display: block; margin-top: .75rem; font-style: normal; font-size: .9rem; color: var(--color-neutral-600); }

.article-content table {
    width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: .95rem;
    background: #fff; border: 1px solid var(--color-neutral-200); border-radius: 10px; overflow: hidden;
}
.article-content table th, .article-content table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--color-neutral-200); }
.article-content table th { background: var(--color-neutral-50); font-weight: 700; color: var(--color-neutral-900); font-size: .85rem; text-transform: uppercase; letter-spacing: .3px; }
.article-content table tr:last-child td { border-bottom: none; }
.article-content table td.num-col { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.article-content figure { margin: 2rem 0; }
.article-content figure img { border-radius: 12px; }
.article-content figcaption { font-size: .85rem; color: var(--color-neutral-600); font-style: italic; text-align: center; margin-top: .75rem; }

.article-content .callout {
    background: var(--color-blue-bg); border: 1px solid var(--color-blue-border); border-left: 4px solid #3b82f6;
    border-radius: 8px; padding: 1.25rem 1.5rem; margin: 1.75rem 0;
}
.article-content .callout p { margin: 0; color: #1e3a8a; }
.article-content .callout.warn { background: var(--color-warning-bg); border-color: var(--color-warning-border); border-left-color: #d97706; }
.article-content .callout.warn p { color: #78350f; }
.article-content .callout.success { background: var(--color-success-bg); border-color: var(--color-success-border); border-left-color: #10b981; }
.article-content .callout.success p { color: #065f46; }

.article-content .key-stat {
    background: linear-gradient(135deg, #f5f3ff 0%, #fff 100%);
    border: 1px solid var(--color-primary-200); border-radius: 14px; padding: 2rem; margin: 2rem 0; text-align: center;
}
.article-content .key-stat .num { font-size: 3rem; font-weight: 900; color: var(--color-primary-700); line-height: 1; margin-bottom: .5rem; letter-spacing: -2px; }
.article-content .key-stat .label { font-size: 1rem; color: var(--color-neutral-700); }
.article-content .key-stat .source { font-size: .8rem; color: var(--color-neutral-600); margin-top: .5rem; font-style: italic; }

.article-content .nums-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.25rem;
    padding: 1.75rem; background: var(--color-neutral-50); border: 1px solid var(--color-neutral-200); border-radius: 14px; margin: 1.75rem 0;
}
.article-content .nums-row .stat { text-align: center; }
.article-content .nums-row .stat .v { font-size: 1.6rem; font-weight: 800; color: var(--color-primary-700); line-height: 1; margin-bottom: .3rem; }
.article-content .nums-row .stat .l { font-size: .82rem; color: var(--color-neutral-600); line-height: 1.4; }

.source-line { font-size: .82rem; color: var(--color-neutral-600); font-style: italic; margin-top: .5rem; }

/* Featured offer (2 vagas grátis) */
.offer-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border: 1px solid #f59e0b;
    border-radius: 16px; padding: 2rem; margin: 2.5rem 0; box-shadow: 0 8px 24px rgba(245,158,11,.15);
}
.offer-box .tag { display: inline-block; background: #1e1e1e; color: #fbbf24; padding: .3rem .8rem; border-radius: 9999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; margin-bottom: .75rem; }
.offer-box h3 { font-size: 1.4rem; font-weight: 800; color: #78350f; margin-bottom: .75rem; }
.offer-box p { color: #78350f; margin-bottom: 1.25rem; font-size: 1rem; }
.offer-box .offer-ctas { display: flex; gap: .75rem; flex-wrap: wrap; }
.offer-box .offer-ctas .btn { font-size: .95rem; }

/* Article footer / related / author */
.article-footer-wrap { background: var(--color-neutral-50); border-top: 1px solid var(--color-neutral-200); padding: 3rem 0; }
.author-card { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--color-neutral-200); border-radius: 14px; padding: 1.75rem; margin-bottom: 2rem; }
.author-card .author-avatar-xl { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 2rem; overflow: hidden; position: relative; }
.author-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: .25rem; }
.author-card p { font-size: .92rem; color: var(--color-neutral-700); margin: 0; }
.author-card .author-links { margin-top: .75rem; font-size: .85rem; }
.author-card .author-links a { margin-right: 1rem; color: var(--color-primary-700); font-weight: 600; }

.related-posts h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.related-card { background: #fff; border: 1px solid var(--color-neutral-200); border-radius: 12px; padding: 1.25rem; transition: all .2s; }
.related-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary-300); }
.related-card .tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--color-primary-700); margin-bottom: .5rem; letter-spacing: .5px; }
.related-card h4 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: .5rem; }
.related-card h4 a { color: var(--color-neutral-900); }
.related-card h4 a:hover { color: var(--color-primary-700); text-decoration: none; }
.related-card p { font-size: .85rem; color: var(--color-neutral-600); margin: 0; }

/* Final CTA */
.article-cta {
    background: var(--color-neutral-900); color: #fff; padding: 4rem 0; text-align: center;
}
.article-cta h2 { color: #fff; font-size: 2rem; margin-bottom: .75rem; }
.article-cta p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 1.75rem; max-width: 540px; margin-left: auto; margin-right: auto; }
.article-cta .ctas { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
footer.site-footer { background: var(--color-neutral-900); color: rgba(255,255,255,.7); padding: 3rem 0 2rem; font-size: .9rem; border-top: 1px solid #333; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; max-width: 1280px; margin: 0 auto; padding: 0 2rem 2rem; }
.footer-col h5 { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { margin-bottom: .75rem; color: rgba(255,255,255,.7); }
.footer-brand .brand-name { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.footer-brand p { font-size: .88rem; line-height: 1.6; }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; transition: all .2s; }
.footer-social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.55); max-width: 1280px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
.footer-bottom a { color: rgba(255,255,255,.85); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; }
    .article-toc, .article-share { position: static; max-height: none; padding: 0; }
    .article-toc { border-bottom: 1px solid var(--color-neutral-200); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
    .article-share { display: none; }
    .featured-post { grid-template-columns: 1fr; gap: 1.5rem; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
    .blog-search input { width: 120px; }
}
@media (max-width: 720px) {
    .blog-header h1 { font-size: 2.2rem; }
    .article-hero h1 { font-size: 2rem; }
    .article-content h2 { font-size: 1.5rem; }
    .article-content { font-size: 1rem; line-height: 1.7; }
    .posts-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { gap: 1rem; font-size: .85rem; }
    .nav-links li:not(:last-child):not(:first-child) { display: none; }
    nav.main-nav { padding: 1rem; }
    .featured-post h2 { font-size: 1.7rem; }
    .article-content .nums-row { grid-template-columns: 1fr 1fr; }

    .blog-masthead-top { padding: .8rem 1rem; }
    .brand-name-img { height: 28px; }
    .blog-brand .brand-suffix { display: none; }
    .blog-masthead-right { gap: .5rem; }
    .blog-search { padding: .35rem .65rem; }
    .blog-search input { width: 0; padding: 0; opacity: 0; transition: all .2s; }
    .blog-search:focus-within input { width: 120px; padding: 0 .35rem; opacity: 1; }
    .blog-newsletter-cta { padding: .4rem .75rem; font-size: .75rem; }
    .blog-masthead-categories { padding: .5rem 1rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .blog-cat-row { flex-wrap: nowrap; justify-content: flex-start; gap: 1.25rem; padding: 0 .5rem; }
    .blog-cat-row a { white-space: nowrap; font-size: .75rem; }
}
