/* Blog estático da Behemothcode — independente do bundle da landing. */
:root {
  --bg: #0a0a0f;
  --surface: #15151f;
  --border: #262633;
  --text: #f4f4f8;
  --text-soft: #a9a9bd;
  --text-dim: #6f6f86;
  --brand: #7c5cff;
  --brand-2: #19e3b1;
  --grad: linear-gradient(120deg, #7c5cff, #19e3b1);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header / footer */
.bsite-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.bsite-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}
.bsite-logo:hover { text-decoration: none; }
.bsite-nav { display: flex; align-items: center; gap: 22px; }
.bsite-nav a { color: var(--text-soft); font-weight: 500; }
.bsite-nav a:hover { color: var(--text); text-decoration: none; }
.bsite-cta {
  background: var(--grad);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
}
.bsite-cta:hover { text-decoration: none; opacity: 0.92; }

.bsite-footer {
  max-width: 1080px;
  margin: 60px auto 0;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
}
.bsite-footer p { margin: 4px 0; }

/* Índice */
.bindex { max-width: 1080px; margin: 0 auto; padding: 48px 24px; }
.bindex-head { max-width: 720px; margin-bottom: 36px; }
.bindex-eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 12px;
}
.bindex-head h1 { font-family: 'Sora', sans-serif; font-size: 2.2rem; line-height: 1.15; margin: 0 0 12px; }
.bindex-head p { color: var(--text-soft); font-size: 1.05rem; margin: 0; }

.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.bcard {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.bcard:hover { transform: translateY(-4px); border-color: var(--brand); text-decoration: none; }
.bcard-date { font-size: 0.78rem; color: var(--text-dim); }
.bcard h2 { font-family: 'Sora', sans-serif; font-size: 1.25rem; line-height: 1.3; margin: 8px 0 10px; }
.bcard p { color: var(--text-soft); font-size: 0.92rem; margin: 0 0 14px; }
.bcard-more { color: var(--brand-2); font-weight: 600; font-size: 0.9rem; }

/* Artigo */
.bpost { max-width: 740px; margin: 0 auto; padding: 40px 24px; }
.bpost-back { font-size: 0.9rem; color: var(--text-soft); }
.bpost h1 {
  font-family: 'Sora', sans-serif;
  font-size: 2.3rem;
  line-height: 1.18;
  margin: 18px 0 10px;
}
.bpost-meta { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 28px; }

.bpost-body { font-size: 1.06rem; color: #e7e7f0; }
.bpost-body h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  margin: 38px 0 12px;
  padding-top: 6px;
}
.bpost-body h3 { font-family: 'Sora', sans-serif; font-size: 1.18rem; margin: 26px 0 8px; }
.bpost-body p { margin: 0 0 18px; }
.bpost-body ul, .bpost-body ol { margin: 0 0 18px; padding-left: 22px; }
.bpost-body li { margin: 7px 0; }
.bpost-body strong { color: #fff; }
.bpost-body a { text-decoration: underline; }
.bpost-body code {
  background: #1b1b27;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
}
.bpost-body blockquote {
  margin: 22px 0;
  padding: 8px 18px;
  border-left: 3px solid var(--brand);
  color: var(--text-soft);
}

.bpost-cta {
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.bpost-cta strong { font-family: 'Sora', sans-serif; font-size: 1.2rem; display: block; margin-bottom: 6px; }
.bpost-cta p { color: var(--text-soft); margin: 0 0 18px; }

@media (max-width: 640px) {
  .bindex-head h1 { font-size: 1.7rem; }
  .bpost h1 { font-size: 1.7rem; }
  .bsite-nav { gap: 14px; }
}
