*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

:root {
  --bg: #080808;
  --bg-2: #111113;
  --bg-3: #18181b;
  --border: rgba(255,255,255,.08);
  --text: #f0f0f0;
  --muted: #888;
  --accent: #7c3aed;
  --accent-2: #9f5fff;
  --glow: rgba(124,58,237,.22);
  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-lg: 1.125rem;
  --fs-xl: 1.375rem; --fs-2xl: 1.75rem; --fs-3xl: 2.5rem;
  --radius: 12px;
  --max-w: 1160px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 1.25rem; }

/* HEADER (igual ao site) */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8,8,8,.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: var(--fs-lg); letter-spacing: .04em; }
.logo-mark { position: relative; width: 48px; height: 38px; flex: 0 0 48px; overflow: hidden; }
.logo-mark img { position: absolute; left: 50%; top: 43%; width: 92px; height: 92px; max-width: none; transform: translate(-50%, -50%); }
.logo-wordmark { white-space: nowrap; }
nav { display: flex; align-items: center; gap: 1.75rem; }
nav a { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; letter-spacing: .02em; transition: color .2s; }
nav a:hover, nav a.active { color: #fff; }
.nav-btn { background: var(--accent); color: #fff !important; padding: .45rem 1.1rem; border-radius: 7px; font-weight: 600; transition: background .2s; }
.nav-btn:hover { background: var(--accent-2); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: .4rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-menu { display: none; position: fixed; inset: 66px 0 0; background: #080808; z-index: 99; padding: 2rem 1.25rem; flex-direction: column; gap: 1.25rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: var(--fs-xl); font-weight: 600; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
@media (max-width: 820px) { nav { display: none; } .hamburger { display: flex; } }

/* COMUM */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: var(--accent-2); }
.btn-primary { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent); color: #fff; padding: .85rem 1.6rem; border-radius: 9px; font-weight: 600; transition: background .2s, transform .2s; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }

/* LISTAGEM */
.blog-hero { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0 2.5rem; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; top: -40%; left: 50%; width: 760px; height: 520px; transform: translateX(-50%); background: radial-gradient(circle, var(--glow), transparent 65%); filter: blur(30px); z-index: -1; }
.blog-hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; max-width: 760px; text-wrap: balance; }
.blog-hero h1 em { font-style: normal; color: var(--accent-2); }
.blog-hero p { color: var(--muted); font-size: var(--fs-lg); max-width: 620px; margin-top: 1rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; }
.chip { font-size: var(--fs-sm); padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); background: var(--bg-2); transition: .2s; }
.chip:hover { color: #fff; border-color: rgba(167,139,250,.4); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; padding: 2rem 0 5rem; }
.post-card { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.35); box-shadow: 0 20px 50px rgba(0,0,0,.45), 0 0 40px var(--glow); }
.post-cover { aspect-ratio: 16/9; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #1d0b33, #0e0e10 70%); }
.post-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 75% 20%, rgba(159,95,255,.45), transparent 55%); }
.post-cover span { position: relative; z-index: 1; font-size: 2.6rem; font-weight: 700; letter-spacing: -.03em; color: rgba(255,255,255,.92); }
.post-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.post-meta { display: flex; gap: .6rem; align-items: center; font-size: var(--fs-xs); color: var(--muted); }
.tag { font-size: var(--fs-xs); font-weight: 600; color: var(--accent-2); background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.3); padding: .15rem .6rem; border-radius: 999px; }
.post-card h2 { font-size: var(--fs-xl); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.post-card p { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.read-more { font-size: var(--fs-sm); font-weight: 600; color: var(--accent-2); margin-top: .35rem; }
.post-card[hidden] { display: none; }

/* ARTIGO */
.breadcrumb { font-size: var(--fs-xs); color: var(--muted); padding-top: 2rem; }
.breadcrumb a:hover { color: #fff; }
.article-head { padding: 1.5rem 0 2rem; max-width: 780px; margin-inline: auto; }
.article-head h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; margin: .75rem 0 1rem; }
.article-head .lead { color: #bdbdbd; font-size: var(--fs-lg); }
.article-head .post-meta { margin-top: 1.25rem; }
.article { max-width: 780px; margin-inline: auto; padding-bottom: 4rem; }
.article h2 { font-size: var(--fs-2xl); line-height: 1.25; letter-spacing: -.015em; margin: 2.5rem 0 .9rem; }
.article h3 { font-size: var(--fs-xl); margin: 1.75rem 0 .6rem; }
.article p, .article li { color: #cfcfcf; font-size: 1.0625rem; }
.article p { margin-bottom: 1.1rem; }
.article ul, .article ol { padding-left: 1.3rem; margin-bottom: 1.25rem; display: grid; gap: .45rem; }
.article strong { color: #fff; }
.article a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.callout { background: var(--bg-2); border: 1px solid rgba(124,58,237,.35); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.callout p:last-child { margin-bottom: 0; }
.article table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.5rem; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.article th, .article td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--border); color: #cfcfcf; }
.article th { color: #fff; background: var(--bg-3); }
.cta-box { margin: 3rem 0 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 18px; background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(17,17,19,.9) 60%); border: 1px solid rgba(167,139,250,.3); }
.cta-box h2 { margin-top: 0; }
.cta-box p { color: #d6d6d6; }
.related { border-top: 1px solid var(--border); padding: 3rem 0 4rem; }
.related h2 { font-size: var(--fs-2xl); margin-bottom: 1.25rem; }
.related .posts { padding: 0; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; background: var(--bg); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-brand img { display: block; }
.footer-copy { font-size: var(--fs-xs); color: var(--muted); margin-top: .5rem; line-height: 1.8; }
.socials { display: flex; gap: .6rem; }
.social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-2); transition: .2s; }
.social:hover { border-color: var(--accent); background: rgba(124,58,237,.15); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 90; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
