/* Campo de busca compacto do header */

#pagina-home { background: var(--cinza-fundo); }

.busca-caixa {
  display: flex;
  align-items: center;
  background: var(--branco);
  border: 3px solid var(--preto);
  border-radius: var(--raio);
  box-shadow: 4px 4px 0px var(--preto);
  overflow: hidden;
  height: 54px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.busca-caixa:focus-within {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--preto);
}

.busca-caixa.erro {
  border-color: var(--vermelho);
  animation: sacudir 0.4s ease;
}

@keyframes sacudir {
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

.busca-lupa {
  flex: none;
  font-size: 1.1rem;
  padding: 0 0.7rem;
  line-height: 1;
}

.busca-caixa input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--preto);
  height: 100%;
}

.busca-caixa input::placeholder { color: #666; font-weight: 600; }

.botao-buscar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0 1.3rem;
  height: 100%;
  background: var(--preto);
  color: var(--amarelo);
  border: 0;
  font-family: var(--fonte-titulo);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}

.botao-buscar:hover { background: var(--verde); color: var(--branco); }
.botao-buscar:active { background: var(--preto); color: var(--amarelo); }

/* CTA reutilizado na página Sobre */
.sobre-cta {
  display: inline-flex;
  height: auto;
  padding: 0.9rem 1.6rem;
  margin-top: 2rem;
  border: 3px solid var(--preto);
  border-radius: var(--raio);
  box-shadow: var(--sombra-dura);
  font-family: var(--fonte-titulo);
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--preto);
  color: var(--amarelo);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sobre-cta:hover { background: var(--verde); color: var(--branco); border-color: var(--verde); }
.sobre-cta:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--preto); }