/* Páginas legais do Aventtal (termos e privacidade): mesma identidade da landing, coluna de leitura. */
:root {
  --bg: #f7f5fb; --surface: #ffffff; --surface-2: #eeedf6; --border: #e2e0ec; --border-strong: #cbc9db;
  --ink: #1a1720; --ink-2: #4c4a5e; --muted: #726f86;
  --accent: #4f46e5; --accent-deep: #3730a3; --accent-ink: #3730a3; --accent-soft: #e9e8fc;
  --fill: #fff1d2; --fill-ink: #6b4a08;
  --display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #100f16; --surface: #19181f; --surface-2: #22212b; --border: #2d2b3a; --border-strong: #3f3c4f;
    --ink: #f2f1f6; --ink-2: #c6c4d3; --muted: #9694a8;
    --accent: #6b63ec; --accent-deep: #8a84f2; --accent-ink: #b3aff8; --accent-soft: #26244a;
    --fill: #3a2e14; --fill-ink: #f0d79a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #100f16; --surface: #19181f; --surface-2: #22212b; --border: #2d2b3a; --border-strong: #3f3c4f;
  --ink: #f2f1f6; --ink-2: #c6c4d3; --muted: #9694a8;
  --accent: #6b63ec; --accent-deep: #8a84f2; --accent-ink: #b3aff8; --accent-soft: #26244a;
  --fill: #3a2e14; --fill-ink: #f0d79a;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 0; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: .5rem; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink-2); padding: .6rem .9rem; }
.theme { width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme:hover { background: var(--surface-2); }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; }
:root[data-theme="dark"] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: block; } :root:not([data-theme="light"]) .theme .moon { display: none; } }
.theme:focus-visible, a:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 3px; }

.doc { width: min(720px, 100% - 2.5rem); margin: 2rem auto 5rem; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }
h1 { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; margin: .6rem 0 .6rem; text-wrap: balance; }
.updated { color: var(--muted); font-size: .95rem; margin: 0 0 2.2rem; }
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 1.3rem 1.5rem; margin: 0 0 2.5rem; display: grid; gap: .5rem; }
.summary strong { font-family: var(--display); font-size: 1.05rem; }
.summary ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); display: grid; gap: .3rem; }
h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 2.6rem 0 .8rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
h2 span { color: var(--accent-ink); margin-right: .5rem; }
h3 { font-family: var(--display); font-size: 1.12rem; font-weight: 700; margin: 1.4rem 0 .4rem; }
p { margin: 0 0 .9rem; color: var(--ink-2); }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; color: var(--ink-2); }
li { margin: .25rem 0; }
li::marker { color: var(--accent-ink); }
strong { color: var(--ink); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .5rem 0 1.2rem; }
.tbl { overflow-x: auto; }
th, td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--ink-2); }
th { color: var(--ink); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.fill { background: var(--fill); color: var(--fill-ink); border-radius: 4px; padding: 0 .3em; font-weight: 700; }
.toc { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.toc a { text-decoration: none; font-size: .85rem; font-weight: 700; color: var(--ink-2); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .3rem .75rem; }
.toc a:hover { border-color: var(--border-strong); color: var(--ink); }
footer { border-top: 1px solid var(--border); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
footer a { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
