/* Estilos das páginas legais (privacidade e termos). A home tem estilos próprios no componente. */
:root {
  --primary: #0e6b6b;
  --primary-hover: #0a5656;
  --primary-soft: #e3f1ef;
  --on-primary: #ffffff;
  --on-primary-container: #00302f;
  --surface: #fafbfa;
  --surface-container: #eaefee;
  --text-primary: #171d1c;
  --text-secondary: #4a5654;
  --border: #dfe6e4;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #6fd3cc;
    --primary-hover: #8fe0da;
    --primary-soft: #0f3f3d;
    --on-primary: #003735;
    --on-primary-container: #bdf2ee;
    --surface: #0f1514;
    --surface-container: #1b2423;
    --text-primary: #e0e8e6;
    --text-secondary: #b2bebb;
    --border: #263331;
  }
}

html { overflow-x: clip; }

* { box-sizing: border-box; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--surface);
  color: var(--text-primary);
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--primary); }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header { padding: 20px 0; border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}
.brand-mark { display: block; width: 28px; height: 28px; }

.legal { padding: 32px 0 48px; }
.legal h1 { margin: 0 0 8px; font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.2; letter-spacing: -0.02em; }
.legal .updated { margin: 0 0 32px; color: var(--text-secondary); font-size: 0.875rem; }
.legal h2 { margin: 32px 0 8px; font-size: 1.2rem; letter-spacing: -0.01em; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }

.back { display: inline-block; margin-bottom: 24px; font-size: 0.875rem; font-weight: 600; text-decoration: none; }

.placeholder {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--on-primary-container);
  font-weight: 600;
}

.site-footer { margin-top: 64px; padding: 32px 0 48px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 0.875rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.site-footer a { color: var(--text-secondary); }
