/* Santa Comedoria — páginas legais (padrão aprovado Meta Ads) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0c0c0d;
  --bg-soft: #151515;
  --border: #2a2a2a;
  --gold: #c9a25a;
  --gold-soft: #d8bd86;
  --cream: #ece4d2;
  --text: #b4b2ac;
  --text-strong: #e8e6e0;
  --muted: #6f6d68;
  --maxw: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(12,12,13,0.92);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand .mark {
  font-size: 22px;
  color: var(--gold);
}
.brand .name {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.back-link {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.back-link:hover { color: var(--gold-soft); }

/* ---------- Document ---------- */
.doc {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 24px 40px;
}

.doc h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.1;
  color: var(--cream);
  margin: 0 0 8px;
}

.doc .updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 50px;
}

.doc h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--gold-soft);
  margin: 48px 0 16px;
}

.doc p { margin: 0 0 14px; }

.doc ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.doc li { margin-bottom: 8px; }

.doc strong { color: var(--text-strong); font-weight: 600; }

/* ---------- Tables ---------- */
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 24px;
  font-size: 14.5px;
}
.doc th, .doc td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
.doc th {
  background: var(--bg-soft);
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 13.5px;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 0 24px 50px;
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px 0;
  font-size: 14px;
}
.footer-nav a { color: var(--gold); text-decoration: none; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-nav .sep { color: var(--border); }

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 24px;
}
.footer-legal {
  text-align: center;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.8;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ---------- Home (index) ---------- */
.home {
  min-height: calc(100vh - 86px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.home .mark-lg { font-size: 56px; color: var(--gold); margin-bottom: 18px; }
.home h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  color: var(--cream);
  margin: 0 0 6px;
  letter-spacing: 1px;
}
.home .tagline { color: var(--text); max-width: 520px; margin: 0 0 26px; }
.home .links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.home .links a {
  text-decoration: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 11px 22px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.home .links a:hover { background: var(--gold); color: var(--bg); }

@media (max-width: 640px) {
  .site-header { padding: 18px 20px; }
  .doc h1 { font-size: 34px; }
  .home h1 { font-size: 38px; }
  .doc { padding-top: 50px; }
  .footer-nav { flex-wrap: wrap; }
}
