/* Páginas jurídicas públicas do Postei.AI (/termos-de-uso e /politica-de-privacidade) */
:root {
  --bg: #0F0D14;
  --panel: #17141F;
  --line: rgba(255, 255, 255, .09);
  --text: #D8D3E0;
  --strong: #FFFFFF;
  --muted: #9C96A8;
  --accent: #F2495C;
  --purple: #8B2FE8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(139, 47, 232, .16), transparent 140%);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; max-width: 820px; margin: 0 auto; padding: 16px 20px;
}
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; height: 24px; width: auto; max-width: 100%; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  background: rgba(255, 255, 255, .05); color: var(--strong);
  font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.back-link:hover { background: rgba(255, 255, 255, .12); }

main { flex: 1 0 auto; width: 100%; padding: 32px 20px 56px; }
.doc {
  width: 100%; max-width: 760px; margin: 0 auto; padding: 32px 28px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px;
}
.doc h1 {
  margin: 0 0 24px; color: var(--strong);
  font-size: clamp(1.625rem, 5vw + .5rem, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em;
}
.doc h2 { margin: 32px 0 12px; color: var(--strong); font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.doc h3 { margin: 24px 0 8px; color: var(--strong); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.doc p { margin: 0 0 16px; }
.doc p:last-child { margin-bottom: 0; }
.doc a { color: var(--accent); text-underline-offset: 3px; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  width: 100%; max-width: 820px; margin: 0 auto; padding: 20px;
  color: var(--muted); font-size: 14px;
}
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--strong); text-decoration: underline; text-underline-offset: 3px; }
.site-footer p { margin: 0; }

@media (max-width: 600px) {
  .site-header__inner { padding: 12px 16px; }
  main { padding: 20px 16px 40px; }
  .doc { padding: 24px 18px; border-radius: 18px; }
}
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .skip-link { display: none; }
  .doc { border: none; background: none; padding: 0; }
  .doc h1, .doc h2, .doc h3 { color: #000; }
}
