/* Páginas legais (privacidade, termos, exclusão, suporte): mesmo visual do site de apresentação. Copiado para site/m/legal.css pelo build. */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url('assets/fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Marcellus'; font-weight: 400; font-display: swap; src: url('assets/fonts/marcellus-latin-400-normal.woff2') format('woff2'); }

:root {
  --accent: #10b981; --accent-2: #059669; --accent-dark: #047857;
  --ink: #10241c; --text: #06382a; --muted: #4b6b5f; --amber-d: #b45309;
  --glass: rgba(255, 255, 255, 0.7); --glass-border: rgba(255, 255, 255, 0.95);
  --shadow: 0 6px 18px rgba(120, 90, 20, 0.1); --line: rgba(4, 120, 87, 0.14);
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; font-family: 'DM Sans', system-ui, -apple-system, sans-serif; color: var(--text);
  background: linear-gradient(165deg, #fffdf8, #f6eddd) fixed; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before, body::after { content: ''; position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
body::before { width: 440px; height: 440px; background: #bfeedb; opacity: 0.45; top: -150px; left: -150px; }
body::after { width: 520px; height: 520px; background: #fbd9a8; opacity: 0.55; bottom: -160px; right: -140px; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
p { margin: 0 0 14px; }
.wordmark { font-family: 'Marcellus', serif; color: var(--accent-2); }
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* Header (same as the site) */
header.nav { position: sticky; top: 0; z-index: 60; background: rgba(255, 253, 248, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(16, 36, 28, 0.07); }
.navin { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; flex: none; box-shadow: 0 4px 10px rgba(4, 120, 87, 0.25); }
.nav-links { display: flex; gap: 30px; font-weight: 500; font-size: 0.96rem; }
.nav-links a { color: var(--ink); text-decoration: none; opacity: 0.7; padding: 6px 0; position: relative; transition: opacity 0.2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current='page']::after { transform: scaleX(1); }

/* Content */
main.legal { width: min(820px, 100% - 40px); margin-inline: auto; padding: 48px 0 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 253, 248, 0.9); border: 0.5px solid var(--glass-border); box-shadow: var(--shadow); font-size: 0.82rem; font-weight: 600; color: var(--accent-dark); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; margin: 18px 0 10px; color: var(--ink); }
.muted, small { color: var(--muted); }
.muted { margin-bottom: 26px; }
.glass, .card { background: var(--glass); border: 0.5px solid var(--glass-border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); border-radius: 28px; }
.doc { padding: 34px 38px 26px; }
.doc > p:first-child { color: var(--ink); font-size: 1.08rem; }
.doc h2, .card h2 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); margin: 30px 0 8px; padding-left: 14px; border-left: 4px solid var(--accent); }
.doc h2:nth-of-type(3n+2) { border-color: #f59e0b; }
.doc h2:nth-of-type(3n+3) { border-color: #3b82f6; }
.doc h2:first-child, .card h2:first-child { margin-top: 0; }
ul, ol { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 8px; padding-left: 4px; }
li::marker { color: var(--accent); }
b { color: var(--ink); }
.card { padding: 28px 32px 18px; margin: 18px 0; }
.card h2 { margin-top: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35); }
.btn:hover { background: var(--accent-2); }

/* Footer */
footer { border-top: 1px solid rgba(16, 36, 28, 0.07); padding: 32px 0 44px; color: var(--muted); font-size: 0.92rem; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--accent-dark); }
footer .legal-note { margin: 22px 0 0; font-size: 0.82rem; opacity: 0.85; max-width: 720px; }

@media (max-width: 640px) {
  .navin { padding: 10px 0 8px; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 32px; height: 32px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
  main.legal { padding: 28px 0 48px; }
  .doc { padding: 24px 20px 16px; border-radius: 22px; }
  .card { padding: 22px 20px 12px; border-radius: 22px; }
}
