/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── DESIGN TOKENS ── */
:root {
  --bg:         #130A04;
  --bg2:        #1E1108;
  --bg3:        #2A180A;
  --amber:      #C8621C;
  --amber2:     #E07828;
  --amber3:     #F0A050;
  --amber-glow: rgba(200,98,28,0.18);
  --text:       #F0E8DC;
  --muted:      #9E8872;
  --line:       rgba(200,98,28,0.25);
  --oswald:     'Oswald', sans-serif;
  --source:     'Source Sans 3', sans-serif;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--source);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}
a { color: inherit; text-decoration: none; }

/* ── TOPBAR (shared entre blog e artigo) ── */
.topbar {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 20px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--line);
}
.topbar-back {
  font-family: var(--oswald);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  transition: color 0.2s;
}
.topbar-back:hover { color: var(--amber); }
.topbar-divider { width: 1px; height: 16px; background: var(--line); }

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--oswald);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
}
.section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-family: var(--oswald);
  text-transform: uppercase;
}

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
