/* Shared legal page styles — privacy + terms */
:root {
  --gold: #d4af37;
  --gold-bright: #f4cd57;
  --gold-line: rgba(212, 175, 55, 0.18);
  --green: #16a34a;
  --green-deep: #15803d;
  --page: #08120e;
  --text: #f0fdf4;
  --text-body: #cdded4;
  --text-muted: #a7c4b5;
  --text-dim: #7a8f82;
  --text-faint: #5a6e63;
  --surface: rgba(15, 27, 23, 0.60);
  --border: rgba(212, 175, 55, 0.10);
  --border-2: rgba(212, 175, 55, 0.18);
  --border-3: rgba(212, 175, 55, 0.32);
  --font-ui: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;
  --font-serif: 'Instrument Serif', ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.atmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 700px 400px at 20% 10%, rgba(22,163,74,0.08), transparent 70%),
    radial-gradient(ellipse 600px 360px at 80% 60%, rgba(212,175,55,0.06), transparent 70%);
}

/* NAV (copy of landing) */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 18, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { width: 38px; height: 38px; }
.nav-brand-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav-brand-text sup { font-size: 9px; color: var(--gold); margin-left: 2px; font-weight: 500; }
.nav-links { display: none; gap: 28px; }
@media (min-width: 900px) { .nav-links { display: flex; align-items: center; } }
.nav-link { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 150ms ease; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--gold-bright); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  font-size: 11px; font-weight: 600;
}
.lang-toggle button {
  background: transparent; border: none; color: var(--text-muted);
  padding: 5px 9px; border-radius: 7px; transition: all 150ms ease;
}
.lang-toggle button[aria-pressed="true"] {
  background: rgba(212,175,55,0.18);
  color: var(--gold-bright);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 200ms ease;
}
.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }
.btn--gold {
  color: #1c1305;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  box-shadow: 0 4px 16px rgba(212,175,55,0.20);
  font-weight: 700;
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(212,175,55,0.35); }

/* Legal content */
.legal {
  position: relative;
  z-index: 1;
  padding: 80px 0 96px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--readable { max-width: 760px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text);
}

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 12px;
}

.updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal section {
  margin-bottom: 40px;
}

.legal h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.legal p {
  margin: 0 0 14px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 0;
  list-style: none;
}
.legal li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}
.legal li:last-child { border-bottom: none; }
.legal li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.10);
}
.legal li strong { color: var(--text); font-weight: 600; }

.legal a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 3px;
}
.legal a:hover { text-decoration-color: var(--gold); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 10px 18px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 200ms ease;
}
.back-link:hover {
  color: var(--text);
  border-color: var(--border-3);
  transform: translateX(-2px);
}

/* Footer (copy of landing) */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 720px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; }
.footer-brand-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.footer-brand-text strong sup { font-size: 9px; color: var(--gold); margin-left: 2px; }
.footer-tagline { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--text-muted); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding: 18px 24px 0;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}
.mono { font-family: var(--font-mono); }

/* ───────── Backfill: wordmark + pulse + footer headline ───────── */

/* Wordmark — gold C + L, ™ in gold */
.wordmark { color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.wordmark .wm-letter { color: var(--gold); font-weight: 700; }
.wordmark sup { font-size: 9px; color: var(--gold); margin-left: 2px; font-weight: 500; }

/* Pulse animation for the gold CTA — mirrors landing.css */
.btn--gold {
  animation: pulseGlow 2.4s ease-in-out infinite;
}
.btn--gold:hover { transform: translateY(-1px) scale(1.025); }

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(212,175,55,0.20),
                0 0 0 0 rgba(212,175,55,0.40);
  }
  50% {
    box-shadow: 0 4px 16px rgba(212,175,55,0.20),
                0 0 0 10px rgba(212,175,55,0);
  }
}

/* Footer headline — the new "Seu tempo é sua maior moeda." tagline */
.footer-headline {
  max-width: 1280px;
  margin: 0 auto 28px;
  padding: 0 24px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.3;
  color: var(--gold);
}
@media (prefers-reduced-motion: reduce) {
  .btn--gold { animation: none; }
}
