/* Nowon: páginas públicas no design Brasa (escuro por padrão, claro quando o aparelho estiver no claro). */
:root {
  color-scheme: dark light;
  --noite: #0a0a0c;
  --laranja: #ff8a00;
  --coral: #e8325a;
  --bg: #0a0a0c;
  --text: rgba(255, 255, 255, 0.78);
  --title: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --accent: #ff8a00;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.18);
  --divider: rgba(255, 255, 255, 0.12);
  --glow-a: rgba(255, 138, 0, 0.45);
  --glow-b: rgba(232, 50, 90, 0.28);
  --mark: rgba(255, 196, 107, 0.16);
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f3f0;
    --text: rgba(10, 10, 12, 0.78);
    --title: #0a0a0c;
    --muted: rgba(10, 10, 12, 0.6);
    --accent: #c75f00;
    --glass: rgba(255, 255, 255, 0.92);
    --glass-strong: rgba(255, 255, 255, 0.92);
    --border: rgba(10, 10, 12, 0.1);
    --divider: rgba(10, 10, 12, 0.1);
    --glow-a: rgba(255, 138, 0, 0.22);
    --glow-b: rgba(232, 50, 90, 0.12);
    --mark: rgba(255, 138, 0, 0.18);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
/* As duas luzes do fundo (laranja e coral), fixas atrás do conteúdo. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(520px 420px at 12% 0%, var(--glow-a), transparent 70%),
    radial-gradient(420px 360px at 92% 4%, var(--glow-b), transparent 70%);
}

/* Barra do topo: pílula de vidro com o logo e os atalhos */
.top {
  position: sticky;
  top: 12px;
  z-index: 10;
  max-width: 760px;
  margin: 12px auto 0;
  padding: 0 12px;
}
.top .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.logo { display: inline-flex; color: var(--title); }
.logo svg { height: 22px; width: auto; display: block; }
.top nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a {
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}
.top nav a:hover { background: var(--glass); }
.top nav a[aria-current='page'] { background: var(--laranja); color: #0a0a0c; font-weight: 600; }

/* Cabeçalho da página */
header {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 8px;
  background: none;
  text-align: left;
}
header h1 {
  margin: 0;
  color: var(--title);
  font-weight: 300;
  font-size: clamp(34px, 8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
header p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

main { max-width: 760px; margin: 0 auto; padding: 24px 20px 72px; }

.card {
  margin-bottom: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
h2 {
  margin: 0 0 10px;
  color: var(--title);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.part {
  margin: 44px 0 14px;
  color: var(--title);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.03em;
  text-align: left;
}
p, li { color: var(--text); font-size: 15px; }
p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--title); font-weight: 600; }
ul, ol { padding-left: 20px; margin: 8px 0; }
li { margin-bottom: 4px; }
a { color: var(--accent); text-underline-offset: 3px; }
.muted { color: var(--muted); font-size: 13px; }
.updated { text-align: center; margin-top: 24px; }
.todo { background: var(--mark); padding: 1px 6px; border-radius: 6px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--divider); }
th { color: var(--title); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* Botões e página inicial */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  background: var(--laranja);
  color: #0a0a0c;
}
.btn.glass {
  background: var(--glass-strong);
  border: 1px solid var(--border);
  color: var(--title);
  font-weight: 500;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.links { display: grid; gap: 10px; margin-top: 6px; }
.links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--glass);
  color: var(--title);
  font-weight: 500;
  text-decoration: none;
}
.links a::after { content: '›'; color: var(--muted); font-size: 22px; line-height: 1; }

@media (max-width: 520px) {
  .card { padding: 20px; border-radius: 24px; }
  .top .bar { padding-left: 16px; }
}
