/* Estilos do blog: base copiada de /index.html (variáveis, topo, botões, rodapé) + estilos dos artigos. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy-950: #061226;
  --navy-900: #0b1d3a;
  --navy-800: #0f2a52;
  --brand: #154886;
  --teal: #45a1bf;
  --sky: #a5cdee;
  --amber: #f4b548;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --white: #ffffff;
  --green: #16a34a;
  --red: #e11d48;
  --wa: #25d366;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- logo (SVG recolorido via máscara) ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-glyph, .logo-text { display: block; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.logo-glyph { --src: url("/assets/logo-argos-glyph.svg"); width: 44px; height: 22px; }
.logo-text { --src: url("/assets/logo-argos-text.svg"); width: 92px; height: 18px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px; font-weight: 650; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--amber); color: var(--navy-950); box-shadow: 0 6px 20px rgba(244, 181, 72, .35); }
.btn-primary:hover { background: #f7c368; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-wa { background: var(--wa); color: #05301a; }
.btn-wa:hover { background: #3ee07a; }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(6, 18, 38, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.top-cta { display: flex; gap: 10px; align-items: center; }
.top-cta .btn { padding: 10px 16px; font-size: .92rem; }
.link-login { color: rgba(255,255,255,.8); text-decoration: none; font-size: .92rem; font-weight: 550; padding: 10px 6px; }
.link-login:hover { color: #fff; }
@media (max-width: 960px) { .nav { display: none; } }
.sm-only { display: none; }
@media (max-width: 520px) { .lg-only { display: none; } .sm-only { display: inline; } .link-login { display: none; } }

/* rodapé */
footer { background: var(--navy-950); color: #8fa0b8; padding: 56px 0 36px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { margin-top: 14px; max-width: 30em; }
.foot h4 { color: #e2e8f0; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: #a8b5c8; }
.foot a:hover { color: #fff; }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: #64748b; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }


/* ---------- blog ---------- */
.blog-hero { color: #cbd5e1; padding: 64px 0 56px;
  background: radial-gradient(900px 500px at 85% 10%, rgba(69,161,191,.28), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(21,72,134,.55), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.blog-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; margin: 14px 0 16px; max-width: 22em; }
.blog-hero .lead { font-size: 1.15rem; color: #b8c4d6; max-width: 40em; }
.blog-hero .kicker { color: var(--amber); }
.crumb { font-size: .9rem; color: #a8b5c8; }
.crumb a { color: var(--sky); text-decoration: none; }
.crumb a:hover { color: #fff; }
.kicker { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.blog-list { padding: 64px 0 96px; }
.blog-list .wrap { max-width: 860px; display: grid; gap: 20px; }
.post-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.post-card:hover { border-color: #c7d6ea; box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card h2 { font-size: 1.45rem; margin: 8px 0 10px; }
.post-card p { color: var(--muted); }
.post-card .more { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; color: var(--brand); font-weight: 650; }
.post-card .more svg { width: 18px; height: 18px; }
.meta { font-size: .85rem; color: var(--muted); }
.blog-hero .meta { color: #8fa0b8; margin-top: 18px; }
.article { padding: 56px 0 24px; }
.article .wrap { max-width: 760px; }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h2 + p, .prose h3 + p { margin-top: .6em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose .lead { font-size: 1.22rem; color: var(--ink); line-height: 1.6; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: #f8fafc; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; border-top: 0; }
.callout { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; padding: 16px 20px; color: var(--ink); }
.wa-msg { background: #efeae2; border-radius: 16px; padding: 16px; }
.wa-msg div { background: #fff; border-radius: 10px 10px 10px 2px; padding: 12px 14px; font-size: .95rem; line-height: 1.5; color: #111b21; white-space: pre-line; box-shadow: 0 1px 1px rgba(0,0,0,.08); max-width: 420px; }
.post-cta { margin: 56px 0 0; border-radius: 24px; padding: 40px 36px; color: #cbd5e1;
  background: radial-gradient(500px 260px at 100% 0%, rgba(244,181,72,.18), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--brand)); }
.post-cta h2 { color: #fff; font-size: 1.6rem; margin: 0; }
.post-cta p { margin: 12px 0 24px; color: #c3d2e6; }
.sources { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.sources h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.sources ul { padding-left: 1.2em; margin: 0; display: grid; gap: 6px; }
.sources a { color: var(--muted); }
.more-posts { padding: 56px 0 96px; }
.more-posts .wrap { max-width: 760px; }
.more-posts h2 { font-size: 1.3rem; margin-bottom: 16px; }
.more-posts .grid { display: grid; gap: 14px; }
.more-posts .post-card { padding: 20px 22px; }
.more-posts .post-card h3 { font-size: 1.05rem; }
