/* Replica a paleta e a tipografia do app (frontend/src/index.css) — este
   blog é HTML estático de propósito, fora do build do React, então não
   herda o Tailwind. Cores copiadas na mão: se a marca mudar lá, mudar aqui
   também. */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0A0A0A;
  --card: #121212;
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.05);
  --white: #FFFFFF;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --orange-500: #f97316;
  --green-500: #22c55e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

a { color: inherit; }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
header.site .bar {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--red-600), var(--orange-500));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo .mark-icon { width: 20px; height: 20px; }
.logo .name { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 19px; letter-spacing: -0.01em; }
.logo .tag { color: var(--zinc-500); font-size: 13px; margin-left: 4px; font-family: 'Inter', sans-serif; font-weight: 400; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 8px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  border: 1px solid var(--border);
}
.btn-primary { background: var(--red-600); border-color: var(--red-600); color: white; }
.btn-primary:hover { background: #b91c1c; }
.btn-ghost { color: white; }
.btn-ghost:hover { background: rgba(255,255,255,0.05); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red-500); margin-bottom: 12px;
}

.hero { padding: 64px 0 40px; border-bottom: 1px solid var(--border-soft); }
.hero h1 { font-size: clamp(32px, 5vw, 52px); }
.hero p.lede { color: var(--zinc-400); font-size: 18px; margin-top: 16px; max-width: 640px; }

.post-meta { color: var(--zinc-500); font-size: 14px; margin-top: 20px; display: flex; gap: 12px; align-items: center; }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--zinc-600); }

article.post { padding: 48px 0 24px; font-size: 17px; color: var(--zinc-300); }
article.post p { margin: 0 0 22px; }
article.post h2 { font-size: 26px; margin: 44px 0 16px; color: white; }
article.post h3 { font-size: 20px; margin: 32px 0 12px; color: white; font-weight: 700; }
article.post ul, article.post ol { margin: 0 0 22px; padding-left: 22px; }
article.post li { margin-bottom: 8px; }
article.post strong { color: white; font-weight: 600; }
article.post a.inline-link { color: var(--red-500); text-decoration: underline; text-underline-offset: 2px; }
article.post blockquote {
  margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red-600);
  color: var(--zinc-400); font-style: italic;
}

.callout {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; margin: 32px 0;
}
.callout strong { color: white; }

.cta-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 40px 32px; text-align: center; margin: 56px 0 8px;
}
.cta-box h3 { font-size: 24px; margin-bottom: 10px; }
.cta-box p { color: var(--zinc-400); margin: 0 0 22px; }
.cta-box .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-box .fine { color: var(--zinc-600); font-size: 13px; margin-top: 14px; }

.list-posts { padding: 40px 0 80px; }
.post-card {
  display: block; text-decoration: none; padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
}
.post-card:first-child { padding-top: 0; }
.post-card .cat { color: var(--red-500); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; }
.post-card h2 { font-size: 24px; margin: 10px 0 8px; color: white; }
.post-card p { color: var(--zinc-400); font-size: 15px; margin: 0; max-width: 620px; }
.post-card .meta { color: var(--zinc-600); font-size: 13px; margin-top: 12px; }

.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--zinc-500); font-size: 14px; text-decoration: none; margin-bottom: 24px; }
.back-link:hover { color: white; }

footer.site {
  border-top: 1px solid var(--border-soft); padding: 32px 0; margin-top: 40px;
}
footer.site .bar {
  max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  color: var(--zinc-500); font-size: 14px;
}

@media (max-width: 640px) {
  header.site .bar .btn-ghost { display: none; }
  .cta-box .row { flex-direction: column; }
  .cta-box .row .btn { width: 100%; justify-content: center; }
}
