/* Neres Focus Blog — Editorial Design System (Identidade Oficial) */
:root {
  --bg: #081218;
  --surface: #0d2231;
  --surface-2: #082f46;
  --border: rgba(219, 168, 42, 0.24);
  --text: #f2f6f8;
  --muted: #b6cad7;
  --gold: #dba82a;
  --gold-soft: rgba(219, 168, 42, 0.14);
  --cyan: #00d4b8;
  --radius: 14px;
  --max-w: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), #f5d76e); z-index: 999;
}
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); letter-spacing: 0.4px; }
.brand-logo { height: 42px; width: auto; object-fit: contain; display: block; }
.brand-sub { color: var(--muted); font-weight: 600; font-size: 0.85rem; padding-left: 10px; border-left: 1px solid var(--border); }
.btn-cyan {
  display: inline-block; background: rgba(0, 212, 184, 0.12); color: var(--cyan) !important;
  border: 1px solid rgba(0, 212, 184, 0.4); font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem;
}
.btn-cyan:hover { background: rgba(0, 212, 184, 0.22); text-decoration: none; }
.nav-links { display: flex; gap: 18px; align-items: center; font-size: 0.92rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn-gold {
  display: inline-block; background: var(--gold); color: #0b0e14 !important;
  font-weight: 700; padding: 10px 18px; border-radius: 999px; font-size: 0.9rem;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-gold:hover { transform: translateY(-1px); opacity: 0.94; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 40px 22px 72px; }
.hero {
  background: radial-gradient(circle at top right, rgba(212,175,55,0.14), transparent 55%), var(--surface);
  border: 1px solid var(--border); border-radius: 20px; padding: 38px 34px; margin-bottom: 34px;
}
.badge {
  display: inline-block; background: var(--gold-soft); color: var(--gold);
  border: 1px solid rgba(212,175,55,0.35); border-radius: 999px;
  padding: 4px 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}
.hero h1 { margin: 14px 0 12px; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.18; }
.hero p { color: var(--muted); max-width: 700px; margin: 0 0 20px; font-size: 1.05rem; }
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  background: var(--surface); color: var(--muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px; font-size: 0.86rem; cursor: pointer; font-weight: 600;
}
.filter-btn.active, .filter-btn:hover { background: var(--gold-soft); color: var(--gold); border-color: var(--gold); }
.search-input {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; padding: 9px 16px; min-width: 240px; font-size: 0.92rem;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(305px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card-meta { display: flex; gap: 10px; align-items: center; font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; }
.card h2 { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.32; }
.card h2 a { color: var(--text); }
.card h2 a:hover { color: var(--gold); text-decoration: none; }
.card p { color: var(--muted); font-size: 0.93rem; margin: 0 0 16px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--gold); font-weight: 600; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-header { margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
.article-header h1 { font-size: clamp(1.75rem, 3.8vw, 2.55rem); line-height: 1.2; margin: 14px 0 14px; }
.article-meta { color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 14px; }
.article-body { font-size: 1.06rem; color: #e5e7eb; }
.article-body h2 { margin: 34px 0 12px; font-size: 1.42rem; color: #fff; border-left: 3px solid var(--gold); padding-left: 12px; }
.article-body h3 { margin: 24px 0 8px; font-size: 1.16rem; color: var(--gold); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 14px 0 20px; }
.article-body li { margin-bottom: 10px; }
.article-body blockquote {
  margin: 26px 0; padding: 18px 22px; background: var(--surface);
  border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  color: #f9fafb; font-style: italic;
}
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0; }
.share-btn {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  padding: 8px 14px; border-radius: 10px; font-size: 0.86rem; font-weight: 600;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); text-decoration: none; }
.cta-box {
  margin-top: 38px; padding: 30px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(212,175,55,0.16), rgba(19,24,34,0.95));
  border: 1px solid rgba(212,175,55,0.45);
}
.cta-box h3 { margin: 0 0 10px; font-size: 1.32rem; color: #fff; }
.cta-box p { margin: 0 0 18px; color: #d1d5db; }
.author-box {
  margin-top: 28px; padding: 20px 24px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.author-box strong { color: var(--gold); }
.author-box p { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }
.site-footer {
  border-top: 1px solid var(--border); padding: 28px 22px; text-align: center;
  color: var(--muted); font-size: 0.86rem;
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 24px 20px; }
  .search-input { width: 100%; }
}
