:root {
  --w0-bg: #F8FAFC;
  --w0-surface: #FFFFFF;
  --w0-primary: #2563EB;
  --w0-primary-hover: #1D4ED8;
  --w0-secondary: #10B981;
  --w0-ink: #0F172A;
  --w0-muted: #475569;
  --w0-outline: #CBD5E1;
  --w0-error: #DC2626;
}

.w0-vitrine-body, .w0-vitrine-body *, .w0-vitrine-body *::before, .w0-vitrine-body *::after { box-sizing: border-box; }

:where(.w0-vitrine-body a, .w0-vitrine-body a:visited) {
  color: inherit;
  text-decoration: none;
}

:where(.w0-vitrine-body ul, .w0-vitrine-body ol) {
  list-style: none;
  margin: 0;
  padding: 0;
}

:where(
  .w0-vitrine-body h1,
  .w0-vitrine-body h2,
  .w0-vitrine-body h3,
  .w0-vitrine-body h4,
  .w0-vitrine-body h5,
  .w0-vitrine-body h6,
  .w0-vitrine-body p
) {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.w0-vitrine-body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--w0-bg);
  color: var(--w0-ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.w0-vitrine-body .font-headline {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.w0-vitrine-body .font-body { font-family: 'Inter', sans-serif; }

.w0-card {
  background: var(--w0-surface);
  border: 1px solid var(--w0-outline);
  border-radius: 0.75rem;
}

.w0-card-featured {
  border: 2px solid var(--w0-primary);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12);
}

.w0-badge-blue,
.w0-badge-emerald {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.w0-badge-blue {
  background-color: #EFF6FF;
  color: var(--w0-primary-hover);
  border: 1px solid #BFDBFE;
}

.w0-badge-emerald {
  background-color: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.w0-btn-primary,
.w0-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.w0-btn-primary,
.w0-btn-primary:visited {
  background-color: var(--w0-primary);
  color: #FFFFFF;
  border: 1px solid transparent;
}
.w0-btn-primary:hover { background-color: var(--w0-primary-hover); }
.w0-btn-primary:disabled { opacity: 0.65; cursor: not-allowed; }

.w0-btn-outline,
.w0-btn-outline:visited {
  background-color: var(--w0-surface);
  color: var(--w0-ink);
  border: 1px solid var(--w0-outline);
}
.w0-btn-outline:hover { background-color: #F1F5F9; border-color: #94A3B8; }

.w0-btn-primary:focus-visible, .w0-btn-outline:focus-visible, .w0-vitrine-body a:focus-visible, .w0-vitrine-body button:focus-visible { outline: 2px solid var(--w0-primary); outline-offset: 2px; }

.w0-btn-disabled, .w0-vitrine-body button:disabled, .w0-vitrine-body button[aria-disabled="true"] {
  background: #E2E8F0;
  color: #64748B;
  border: 1px solid var(--w0-outline);
  cursor: not-allowed;
  opacity: 0.85;
}

.w0-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--w0-ink);
  margin-bottom: 0.375rem;
}

.w0-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid var(--w0-outline);
  background-color: var(--w0-surface);
  color: var(--w0-ink);
  font-size: 0.9375rem;
  line-height: 1.5;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.w0-input:focus {
  outline: none;
  border-color: var(--w0-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.w0-alert {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.w0-alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.w0-alert-info {
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}
.w0-alert-success {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.w0-hidden { display: none !important; }
[hidden] { display: none !important; }
.w0-sr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

details.w0-faq-item summary { cursor: pointer; list-style: none; }
details.w0-faq-item summary::-webkit-details-marker { display: none; }

.w0-grid-2,
.w0-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.w0-desktop-only { display: none; }
.w0-mobile-only { display: block; }

@media (min-width: 768px) {
  .w0-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w0-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w0-desktop-only { display: block; }
  .w0-mobile-only { display: none; }
}

/* Anti-FOUT Material Symbols Outlined */
:where(.material-symbols-outlined) {
  font-size: 24px;
}

.material-symbols-outlined {
  display: inline-block;
  width: 1em;
  height: 1em;
  overflow: hidden;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  user-select: none;
}

/* Rotas Juridicas Light Mode (.w0-legal-prose) */
.w0-legal-prose {
  max-width: 820px;
  margin: 0 auto;
  color: var(--w0-ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.75;
}

.w0-legal-prose h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--w0-ink);
  margin: 0 0 1rem;
}

.w0-legal-prose h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--w0-ink);
  margin: 2rem 0 0.75rem;
}

.w0-legal-prose h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--w0-ink);
  margin: 1.25rem 0 0.5rem;
}

.w0-legal-prose p {
  color: var(--w0-muted);
  margin: 0 0 1rem;
}

.w0-legal-prose ul,
.w0-legal-prose ol {
  color: var(--w0-muted);
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.w0-legal-prose ul { list-style: disc; }
.w0-legal-prose ol { list-style: decimal; }
.w0-legal-prose li { margin-bottom: 0.4rem; }

.w0-legal-prose a,
.w0-legal-prose a:visited {
  color: var(--w0-primary);
  text-decoration: underline;
  font-weight: 500;
}

.w0-legal-prose a:hover {
  color: var(--w0-primary-hover);
}

.w0-legal-prose strong {
  color: var(--w0-ink);
  font-weight: 600;
}

.w0-legal-prose blockquote {
  margin: 1.25rem 0;
  padding: 0.875rem 1.25rem;
  background-color: var(--w0-bg);
  border-left: 3px solid var(--w0-primary);
  border-radius: 0.375rem;
  color: var(--w0-ink);
}
