/* Casa em Boas Mãos — base (reset, tipografia, botões) */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--fonte-corpo);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
[hidden] {
  display: none !important;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--petroleo);
}
h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  font-family: var(--fonte-titulo);
  color: var(--petroleo);
  line-height: 1.2;
}
h1,
.titulo-1 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -.01em;
}
h2,
.titulo-2 {
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
}
h3 {
  font-weight: 600;
  font-size: 1.2rem;
}
p {
  margin: 0 0 1em;
}
.container {
  width: 100%;
  max-width: var(--largura-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--raio-pilula);
  font: 600 1rem/1.2 var(--fonte-corpo);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primario {
  background: var(--petroleo);
  color: var(--branco);
}
.btn--primario:hover {
  background: var(--petroleo-escuro);
}
.btn--secundario {
  background: transparent;
  color: var(--petroleo);
  border-color: var(--petroleo);
}
.btn--secundario:hover {
  background: var(--verde-agua-claro);
}
.btn[disabled] {
  opacity: .6;
  cursor: wait;
}
:focus-visible {
  outline: 3px solid var(--amarelo);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

