/* Regras globais, tipografia, acessibilidade e helpers. */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #eff5fc 100%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

p {
  color: var(--color-text-muted);
}

h1,
h2,
h3 {
  color: var(--color-text-strong);
  line-height: 1.08;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

input,
textarea,
select {
  width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(47, 140, 255, 0.28);
  outline-offset: 3px;
}

.skip-link,
.sr-only {
  position: absolute;
}

.skip-link {
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--color-primary-700);
  color: var(--color-white);
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
