/* ===== Distribox — Blog / Artigos ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #F5F7FA; --bg2: #EDF0F5; --surface: #fff;
  --border: rgba(30,50,100,.09); --border2: rgba(30,50,100,.18);
  --text: #0E1828; --text2: #4A5875; --text3: #8A96AA;
  --blue: #000080; --blue-dark: #00005a; --blue-light: #E6E6F5;
  --green: #0AD096; --green-light: #E0FAF3;
  --radius: 12px; --radius-lg: 16px;
  --shadow-md: 0 4px 12px rgba(30,50,100,.08), 0 16px 48px rgba(30,50,100,.09);
}
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--surface); line-height: 1.75; }
h1, h2, h3 { font-family: 'Archivo Black', sans-serif; font-weight: 400; line-height: 1.2; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* nav */
.art-nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px; max-width: 1000px; margin: 0 auto;
}
.art-nav .cta { background: var(--blue); color: #fff; padding: 9px 18px; border-radius: 10px; font-weight: 600; font-size: .85rem; }
.art-nav .cta:hover { background: var(--blue-dark); text-decoration: none; }

/* article shell */
.article { max-width: 760px; margin: 0 auto; padding: 40px 24px 72px; }
.breadcrumb { font-size: .8rem; color: var(--text3); margin-bottom: 24px; }
.breadcrumb a { color: var(--text2); }
.art-tag { display: inline-block; background: var(--blue-light); color: var(--blue); border-radius: 20px; padding: 5px 14px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.article h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); letter-spacing: -.02em; margin-bottom: 16px; }
.art-meta { display: flex; align-items: center; gap: 10px; color: var(--text3); font-size: .85rem; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.art-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; }
.art-lead { font-size: 1.2rem; color: var(--text2); line-height: 1.7; margin-bottom: 32px; }
.article h2 { font-size: 1.5rem; margin: 40px 0 14px; letter-spacing: -.01em; }
.article h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.article p { margin-bottom: 18px; color: var(--text); }
.article ul, .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article strong { font-weight: 700; }
.article blockquote {
  border-left: 4px solid var(--green); background: var(--green-light);
  padding: 16px 20px; border-radius: 8px; margin: 24px 0; font-size: 1.05rem; color: var(--text);
}
.key-box {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; margin: 32px 0;
}
.key-box h3 { margin-top: 0; }

/* CTA block */
.art-cta {
  background: linear-gradient(135deg, #00005a, #000080); color: #fff;
  border-radius: var(--radius-lg); padding: 36px 32px; margin: 48px 0 0; text-align: center;
}
.art-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.art-cta p { color: rgba(255,255,255,.8); margin-bottom: 22px; }
.art-cta .btn { display: inline-block; background: var(--green); color: #05261b; padding: 13px 28px; border-radius: 12px; font-weight: 700; }
.art-cta .btn:hover { text-decoration: none; opacity: .92; }

/* related */
.related { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; }
.related h2 { font-size: 1.25rem; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.related-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: .18s; }
.related-card:hover { box-shadow: var(--shadow-md); text-decoration: none; transform: translateY(-2px); }
.related-card .t { font-weight: 700; color: var(--text); font-size: .95rem; line-height: 1.35; }
.related-card .c { font-size: .78rem; color: var(--text3); margin-top: 6px; }

/* footer */
.art-footer { background: #0b1020; color: rgba(255,255,255,.6); text-align: center; padding: 32px 24px; font-size: .82rem; }
.art-footer a { color: rgba(255,255,255,.85); }

@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
  .art-nav .links { display: none; }
}
