/* ============================================================
   MOZCONTRATA · Base / reset / tipografia
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0; }

a {
  color: var(--brand-600);
  text-decoration: none;
}
a:hover { color: var(--brand-500); }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

input, select, textarea {
  font: inherit;
  color: var(--ink);
}

::placeholder { color: var(--slate-2); }

:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}

::selection { background: var(--brand-100); }

/* Container */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-10);
}
.section--tight { padding-block: var(--space-6); }

/* Headings de secção */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.section-head {
  max-width: 42rem;
  margin-bottom: var(--space-8);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  margin-top: var(--space-3);
  color: var(--slate);
  font-size: var(--fs-lg);
}

/* Utilities */
.muted { color: var(--slate); }
.small { font-size: var(--fs-sm); }
.bold { font-weight: 700; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.text-center { text-align: center; }

@media (max-width: 640px) {
  .section-head h2 { font-size: var(--fs-2xl); }
  .section-head p { font-size: var(--fs-base); }
}

/* Scroll em marcações */
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }