:root {
  --legal-petrol: #004d40;
  --legal-petrol-2: #0e3b43;
  --legal-cream: #fbf7ef;
  --legal-text: #1a2332;
  --legal-muted: #5c6b7a;
  --legal-border: #d8e0e8;
  --legal-amber: #e9a23b;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  background: var(--legal-cream);
  color: var(--legal-text);
  line-height: 1.6;
  font-size: 1.0625rem;
}

a { color: var(--legal-petrol); }
a:hover { text-decoration: none; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--legal-petrol);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  z-index: 2;
}
.skip:focus { top: 0.75rem; }

.top {
  background: var(--legal-petrol-2);
  color: #fff;
}

.top-inner {
  width: min(44rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* 0,26 × altura do símbolo (32 px), spec do logótipo V3 */
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
  min-height: 44px;
}

.brand svg { display: block; }

.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.top nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.top nav a:hover { text-decoration: underline; }

main {
  width: min(44rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--legal-muted);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--legal-petrol-2);
}

.updated {
  margin: 0 0 1.5rem;
  color: var(--legal-muted);
}

.panel {
  background: #fff;
  border: 1px solid var(--legal-border);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 1px 2px rgba(14, 59, 67, 0.04), 0 8px 24px rgba(14, 59, 67, 0.06);
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--legal-petrol-2);
}

h2:first-child { margin-top: 0; }

p, li { margin: 0; }

.panel > p + p,
.panel li + li { margin-top: 0.75rem; }

ul, ol {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

li + li { margin-top: 0.35rem; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 1rem;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  background: var(--legal-petrol);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cta:hover { background: #00352c; text-decoration: none; }

.note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #fff4e0;
  border-radius: 12px;
}

footer {
  border-top: 1px solid var(--legal-border);
  padding: 1.5rem 0 2.5rem;
}

.foot {
  width: min(44rem, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--legal-muted);
}

.foot a { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--legal-amber);
  outline-offset: 3px;
}
