* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-cream);
  color: var(--coffee);
  font-family: var(--fonte-corpo);
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
.pagina { max-width: 560px; margin: 0 auto; padding: 20px 16px 40px; }
header { text-align: center; padding: 12px 0 4px; }
h1 { font-family: var(--fonte-titulo); font-size: 2rem; margin: 0 0 4px; color: var(--coffee); }
.sub { margin: 0; color: var(--coffee-muted); font-size: 1.05rem; }
.aviso {
  margin: 16px 0; padding: 10px 14px; border-radius: 12px;
  background: var(--sand); color: var(--coffee-muted); font-size: .82rem; text-align: center;
}
.busca { margin: 20px 0 8px; }
.busca label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--coffee); }
.busca .linha { display: flex; gap: 8px; }
.busca input {
  flex: 1; min-width: 0; min-height: 52px; padding: 0 14px; font-size: 1.1rem;
  font-family: inherit; color: var(--coffee); background: var(--white);
  border: 2px solid var(--sand-line); border-radius: 14px;
}
.busca input:focus { outline: none; border-color: var(--terracotta); }
.busca button {
  min-height: 52px; padding: 0 20px; font-size: 1rem; font-weight: 700; font-family: inherit;
  color: var(--white); background: var(--terracotta); border: 0; border-radius: 14px; cursor: pointer;
}
#msg-busca { min-height: 1.3em; margin: 8px 2px 0; font-size: .95rem; color: var(--coffee-muted); }
section { margin-top: 28px; }
h2 { font-family: var(--fonte-titulo); font-size: 1.35rem; margin: 0 0 12px; color: var(--coffee); }
.cards { display: flex; flex-direction: column; gap: 12px; }
.card {
  display: flex; gap: 14px; align-items: center; padding: 12px;
  background: var(--white); border: 1px solid var(--sand-line); border-radius: 16px;
  scroll-margin-top: 16px;
}
.card.destaque { animation: destaque 2.4s ease-out; border-color: var(--terracotta); }
@keyframes destaque { from { background: var(--destaque-fundo); } to { background: var(--white); } }
.card img { width: 88px; height: 88px; flex: none; border-radius: 12px; object-fit: cover; background: var(--sand); }
.info { flex: 1; min-width: 0; }
.num { color: var(--terracotta); font-weight: 700; font-size: .95rem; }
.nome { margin: 2px 0; font-weight: 700; font-size: 1.02rem; }
.plat { margin: 0 0 8px; color: var(--coffee-muted); font-size: .85rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  color: var(--white); background: var(--olive); border-radius: 12px; font-weight: 700; text-decoration: none;
}
footer { margin-top: 36px; }
footer .aviso { margin-bottom: 0; }
