@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #152129;
  --ink-soft: #4b5d66;
  --canvas: #f5f8f7;
  --surface: #ffffff;
  --line: #d9e2df;
  --green: #0f766e;
  --green-soft: #dff3ed;
  --blue: #2878a5;
  --hero: #0f1d24;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-underline-offset: 3px; }
.legal-topbar {
  background: var(--hero);
  color: white;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}
.legal-topbar-inner,
.legal-layout,
.legal-footer-inner {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}
.legal-topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 800;
}
.legal-brand img { width: 40px; height: 40px; border-radius: 8px; }
.legal-brand strong { color: #8ee4cc; }
.legal-back { color: rgb(255 255 255 / 82%); font-size: 14px; font-weight: 700; }
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 32px;
  padding-block: 48px 72px;
}
.legal-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.legal-nav strong { display: block; margin-bottom: 10px; }
.legal-nav a { display: block; padding: 7px 0; color: var(--ink-soft); font-size: 14px; }
.legal-nav a:hover { color: var(--green); }
.legal-document {
  padding: clamp(24px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgb(15 29 36 / 7%);
}
.legal-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.legal-updated { margin: 14px 0 28px; color: var(--ink-soft); }
.legal-summary {
  padding: 20px;
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 8px;
}
h2 { margin: 42px 0 12px; font-size: 23px; line-height: 1.25; scroll-margin-top: 24px; }
h3 { margin: 24px 0 8px; font-size: 17px; }
p, li { color: var(--ink-soft); }
li + li { margin-top: 7px; }
.legal-note {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #b8d6e5;
  border-radius: 10px;
  background: #e4f2f9;
}
.legal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-weight: 800;
  text-decoration: none;
}
.legal-footer { padding: 28px 0; background: var(--hero); color: white; }
.legal-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.legal-footer p { margin: 0; color: rgb(255 255 255 / 66%); }
.legal-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-footer a { color: rgb(255 255 255 / 82%); }
@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; padding-top: 24px; }
  .legal-nav { position: static; }
  .legal-topbar-inner { min-height: 64px; }
  .legal-back { font-size: 0; }
  .legal-back::after { content: "Início"; font-size: 14px; }
}
