:root {
  --bg:           #f7f8fc;
  --surface:      #ffffff;
  --surface-2:    #f0f2f9;
  --border:       #e2e5ef;
  --text:         #0d0f14;
  --text-2:       #525a6b;
  --muted:        #8b94a8;
  --shadow:       0 10px 30px rgba(16,24,60,0.08);
  --plano:        #93B4F0;
  --sage:         #2C4F9A;
  --sage-bg:      #EEF3FD;
  --sage-border:  #B8CAEE;
  --danger:       #c94040;
  --danger-bg:    #fdf1f1;
  --danger-border:#f5c0c0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 60px;
}

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247,248,252,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.nav-logo-img {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-logo-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
}

.nav-links { display: flex; align-items: center; gap: 24px; }

.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.18s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--sage-border);
  background: var(--sage-bg);
  color: var(--sage) !important;
  font-weight: 500;
  font-size: 13px;
  transition: background 0.18s, border-color 0.18s !important;
}

.nav-cta:hover {
  background: #dce8fb;
  border-color: var(--sage);
}

.container {
  max-width: 740px;
  margin: 0 auto;
  padding: 56px 32px 80px;
  position: relative;
  z-index: 1;
}

header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

header h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 8px;
}

header h1 em { font-style: italic; color: var(--sage); }

.subtitle {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
}

.meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 32px;
}

.toc-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.toc ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
  padding-left: 20px;
}

.toc a {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.18s;
}

.toc a:hover { color: var(--sage); }

.card {
  background: var(--sage-bg);
  border: 1px solid var(--sage-border);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 20px 0;
}

.card strong { color: var(--text); }

section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

section:last-of-type { border-bottom: none; }

h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sage);
  background: var(--sage-bg);
  border: 1px solid var(--sage-border);
  border-radius: 6px;
  padding: 2px 8px;
}

p { font-size: 15px; color: var(--text-2); margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

ul, ol {
  padding-left: 20px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

li { font-size: 15px; color: var(--text-2); }
li strong { color: var(--text); }

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-box p { font-size: 15px; color: var(--text-2); margin: 0; }

.contact-box a {
  font-size: 16px;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
}

.contact-box a:hover { text-decoration: underline; }

.link-accent { color: var(--sage); text-decoration: underline; }
.flex-gap { display: flex; gap: 20px; }

footer {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer p { font-size: 13px; color: var(--muted); margin: 0; }
footer a { color: var(--text-2); text-decoration: none; font-size: 13px; }
footer a:hover { color: var(--text); }

@media (max-width: 560px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .container { padding: 40px 20px 60px; }
  header h1 { font-size: 32px; }
}

@media (max-width: 520px) { .toc ol { grid-template-columns: 1fr; } }
