/* Documentos legais LevelClin — estilo de leitura, on-brand (teal #0b5d53 + Gelasio/Georgia). */
@import url("https://fonts.googleapis.com/css2?family=Gelasio:wght@500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --teal: #0b5d53;
  --teal-600: #0e897a;
  --ink: #14312c;
  --slate: #38504b;
  --muted: #5a6a65;
  --line: #e5ece9;
  --wash: #f4f8f6;
  --amber: #e07b39;
  --amber-tint: #fbeedd;
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--wash); color: var(--slate);
  font-family: var(--sans); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); }
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .in {
  max-width: 820px; margin-inline: auto; padding: .9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--teal); text-decoration: none; letter-spacing: -.01em; }
.back { font-size: .9rem; font-weight: 600; color: var(--slate); text-decoration: none; }
.back:hover { color: var(--teal); }
main { max-width: 820px; margin-inline: auto; padding: clamp(1.5rem, 4vw, 3rem) 1.25rem 4rem; }
.doc-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--ink); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .3rem; }
.doc-meta { font-size: .85rem; color: var(--muted); margin: 0 0 1.8rem; }
h2 { font-family: var(--sans); font-weight: 700; font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em; margin: 2.4rem 0 .6rem; }
h3 { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin: 1.4rem 0 .4rem; }
p { margin: 0 0 .9rem; }
ul { margin: 0 0 .9rem; padding-left: 1.3rem; }
li { margin-bottom: .4rem; }
strong { color: var(--ink); }
.tbl-wrap { overflow-x: auto; margin: 0 0 1.2rem; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--wash); font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.docfoot { max-width: 820px; margin: 3rem auto 0; padding: 1.6rem 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
.docfoot a { font-weight: 600; }
.dev { color: var(--muted); }
.dev b { color: var(--teal); }
a:focus-visible, .back:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 3px; border-radius: 6px; }
