/* Estilo das páginas estáticas (institucionais e blog) do Snapdark.
   Estas páginas existem em HTML puro para serem lidas por buscadores e
   pelo revisor do AdSense — o app Flutter renderiza em canvas. */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #9da7b3;
  --accent: #a69bf5;
  --accent-strong: #8b7ff0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--accent); }
a:hover { color: #c7c0fa; }
img { max-width: 100%; height: auto; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, .92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

.wrap { max-width: 880px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main.wrap { padding-top: 32px; padding-bottom: 56px; }

h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 24px; line-height: 1.3; margin: 36px 0 10px; }
h3 { font-size: 19px; margin: 24px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 6px; }
.lead { font-size: 19px; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #11131a; font-weight: 700; text-decoration: none;
}
.btn:hover { background: var(--accent-strong); color: #11131a; }
.btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn.secondary:hover { border-color: var(--accent); color: var(--text); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; margin: 20px 0; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; color: var(--text); text-decoration: none; display: block;
}
a.card:hover { border-color: var(--accent); color: var(--text); }
.card h3 { margin-top: 0; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

.callout { background: var(--surface); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 8px; margin: 20px 0; }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 32px; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
