:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #eef1f5;
  --text: #1a1d24;
  --muted: #5c6570;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.08);
  --border: #e2e6ec;
  --max: 720px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

body.has-lead-overlay {
  overflow: hidden;
  background: #000;
}

body.has-lead-overlay .skip-link,
body.has-lead-overlay .site-header,
body.has-lead-overlay main,
body.has-lead-overlay .site-footer {
  visibility: hidden;
  pointer-events: none;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--surface);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-identity {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-tag {
  font-size: 0.9rem;
  color: var(--muted);
}

.main {
  padding: 2rem 0 3rem;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.2;
}

.hero__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__nav a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid var(--border);
}

.hero__nav a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.block {
  margin-bottom: 2rem;
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.block__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.block__body,
.block__muted {
  margin: 0;
  color: var(--muted);
}

.block__list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.block__list li + li {
  margin-top: 0.5rem;
}

.faq__item {
  border-top: 1px solid var(--border);
  padding: 0.75rem 0;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq__item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--surface);
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0 0 0.75rem;
}

.site-footer__legal {
  font-size: 0.85rem;
}

/* Overlay escuro + loading — apenas LEAD (bloqueia visualização do conteúdo) */
.lead-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  background: #000;
  box-shadow: inset 0 0 0 100vmax #000;
}

.lead-overlay__panel {
  text-align: center;
  padding: 2rem 2.5rem;
  max-width: 20rem;
}

.lead-overlay__spinner {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #60a5fa;
  animation: lead-spin 0.85s linear infinite;
}

.lead-overlay__title {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
}

.lead-overlay__hint {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

@keyframes lead-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-overlay__spinner {
    animation: none;
    border-top-color: #60a5fa;
    opacity: 0.85;
  }
}
