*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-corpo);
  font-size: var(--fs-base);
  line-height: var(--lh-corpo);
  color: var(--texto);
  background: var(--branco);
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--azul); text-underline-offset: 0.2em; }
a:hover { color: var(--azul-escuro); }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
main:focus { outline: none; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  font-weight: 700;
  color: var(--sobre-amarelo);
  background: var(--amarelo);
  border: 2px solid var(--amarelo-borda);
  border-radius: var(--raio);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

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

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.sec { padding-block: var(--secao-y); }
.sec--cinza { background: var(--cinza-secao); }

.sec--azul {
  --foco: var(--branco);
  color: var(--sobre-azul);
  background: var(--azul);
}

.sec--azul .h-sec { color: var(--sobre-azul); }
.sec--azul .lead,
.sec--azul .eyebrow { color: var(--sobre-azul-suave); }

.h-sec {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--lh-titulo);
  letter-spacing: -0.01em;
  color: var(--azul);
  text-wrap: balance;
}

.h-card {
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.25;
  color: var(--azul);
}

.lead {
  max-width: var(--maxw-texto);
  font-size: var(--fs-lead);
  color: var(--texto-suave);
}

.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--texto-suave);
}

.micro {
  font-size: var(--fs-sm);
  color: var(--texto-suave);
}

.hand {
  font-family: var(--font-hand);
  font-size: var(--fs-hand);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.3;
  color: var(--azul);
}

.hand--lg { font-size: var(--fs-hand-lg); }

.sec-cab {
  display: grid;
  gap: var(--esp-3);
  justify-items: center;
  max-width: 760px;
  margin: 0 auto var(--esp-7);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--esp-2);
  min-height: 48px;
  padding: 11px 26px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--sobre-amarelo);
  background: var(--amarelo);
  border: 2px solid var(--amarelo-borda);
  border-radius: var(--raio);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  color: var(--sobre-amarelo);
  background: var(--amarelo-hover);
}

.btn--lg {
  min-height: 56px;
  padding-inline: 32px;
  font-size: 1.125rem;
}

.btn--sm {
  min-height: var(--alvo-min);
  padding: 8px 20px;
  font-size: 1rem;
}

.btn--block { display: flex; width: 100%; }

.btn--ghost {
  color: var(--azul);
  background: var(--branco);
  border-color: var(--azul);
}

.btn--ghost:hover {
  color: var(--azul-escuro);
  background: var(--azul-claro);
  border-color: var(--azul-escuro);
}

.btn--wa {
  color: var(--branco);
  background: var(--whatsapp);
  border-color: var(--whatsapp);
}

.btn--wa:hover {
  color: var(--branco);
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: var(--alvo-min);
  font-weight: 700;
  color: var(--azul);
}

.todo {
  font-style: italic;
  font-weight: 400;
  color: var(--texto-mudo);
}

html[data-revisao] .todo::after {
  content: " (" attr(data-todo) ")";
  font-size: var(--fs-xs);
}

html[data-revisao] [data-todo] {
  outline: 2px dashed var(--azul);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .btn { transition: none; }
}
