/* IAP Legal — editorial dark, IA na Prática */
:root {
  --ink: #0c0c0e;
  --parchment: #f8f6f1;
  --amber: #c8952e;
  --amber-light: #e4b964;
  --sage: #7a9182;
  --border: rgba(248, 246, 241, 0.08);
  --muted: rgba(248, 246, 241, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--ink);
  color: var(--parchment);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

header.site {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin-bottom: 56px;
}

header.site .wrap { padding-bottom: 0; }

header.site a.brand {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  color: var(--parchment);
  text-decoration: none;
  letter-spacing: 0.01em;
}

header.site a.brand span { color: var(--amber); }

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  margin-bottom: 16px;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 48px;
}

h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  margin: 48px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

h3 { font-size: 17px; margin: 28px 0 8px; }

p, li { color: rgba(248, 246, 241, 0.82); margin-bottom: 14px; }

ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 8px; }

a { color: var(--amber-light); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { color: var(--parchment); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th { color: var(--amber); font-weight: 500; }
td { color: rgba(248, 246, 241, 0.82); }

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  background: rgba(248, 246, 241, 0.02);
}

.card h3 { margin-top: 0; }

.hub {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.hub a.item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  color: var(--parchment);
  transition: border-color 0.2s;
  display: block;
}

.hub a.item:hover { border-color: rgba(248, 246, 241, 0.2); text-decoration: none; }

.hub a.item h2 { border: none; margin: 0 0 6px; padding: 0; font-size: 22px; }
.hub a.item p { margin: 0; font-size: 14px; color: var(--muted); }

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 72px;
  padding-top: 28px;
  font-size: 13px;
  color: var(--muted);
}

footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer.site nav a { color: var(--muted); }
