:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #24313a;
  --muted: #5d6b75;
  --brand: #1f4e5f;
  --accent: #c8792b;
  --line: #e4ded3;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap { width: 100%; max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--brand); }
a:hover { color: var(--accent); }

/* Cabeçalho */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; padding-bottom: .5rem; }
.brand { font-size: 1.35rem; font-weight: bold; color: var(--brand); text-decoration: none; }

.langs { display: flex; gap: .25rem; font-family: system-ui, sans-serif; font-size: .8rem; }
.langs a { padding: .25rem .5rem; border-radius: .25rem; text-decoration: none; color: var(--muted); }
.langs a[aria-current] { background: var(--brand); color: #fff; }

.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding-bottom: .75rem; font-family: system-ui, sans-serif; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--text); padding: .25rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--line); }
.nav a[aria-current] { color: var(--brand); border-bottom-color: var(--accent); font-weight: 600; }

/* Destaque da Home */
.hero { background: var(--brand); color: #fff; padding: 3.5rem 0; text-align: center; }
.hero h1 { margin: 0 0 .5rem; font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.2; }
.hero p { margin: 0; opacity: .9; font-style: italic; }

/* Conteúdo */
.content { flex: 1; padding-top: 2.5rem; padding-bottom: 3rem; }
.content h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.25; margin: 0 0 1.25rem; color: var(--brand); }
.content h2 { font-size: 1.4rem; margin: 0 0 1rem; color: var(--brand); }
.content p { max-width: 42rem; }
.content img { max-width: 100%; height: auto; border-radius: .375rem; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); padding: 1.25rem 0; font-family: system-ui, sans-serif; font-size: .85rem; color: var(--muted); text-align: center; }
