/* Reset, tipografia e componentes base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  line-height: 1.65; font-size: 1rem; overflow-x: hidden; overflow-x: clip; /* as entradas laterais nunca criam scroll horizontal (hidden é o recurso para browsers antigos) */ -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark p { color: #8e9aaf; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue-deep); margin-bottom: 12px;
}
.section--dark .eyebrow { color: #e0a08a; }
.lead { font-size: 1.1rem; color: var(--steel); max-width: 60ch; }
.section--dark .lead { color: #8e9aaf; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem var(--font-head); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-deep); color: #fff; box-shadow: 0 8px 20px rgba(200,109,81,.28); }
.btn--primary:hover { background: #984a31; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); }
.btn--lg { min-height: 56px; padding-inline: 34px; font-size: 1.08rem; }

/* Marcador de conteúdo por preencher (visível de propósito) */
mark.todo { background: #fff3bf; color: #5c4400; padding: 0 .3em; border-radius: 4px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
