/* ============================================================
   BASE — reset, tipografia e utilitários genéricos
============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.5;
}

/* espaço para a barra fixa de orçamento (classe posta por js/orcamento.js) */
body.has-quote-bar { padding-bottom: var(--quote-bar-h); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Título de seção */
.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

/* Botões genéricos */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover { background: var(--primary-dark); color: #fff; }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); color: #fff; }

/* Botão do WhatsApp */
.btn--wa {
  background: var(--wa);
  color: var(--wa-ink);
}

.btn--wa:hover { background: var(--wa-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border);
}

.btn--ghost:hover { border-color: var(--text-faint); }

/* Botão vazado sobre fundo escuro (barra de orçamento) */
.btn--outline-light {
  background: transparent;
  color: #e3b3c3;
  border: 1px solid rgba(255, 255, 255, .24);
}

.btn--outline-light:hover {
  border-color: #fff;
  color: #fff;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: .85rem;
  box-shadow: var(--shadow-strong);
  z-index: 300;
  animation: toast-in .25s ease;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* Destaque de produto encontrado na busca */
@keyframes card-flash {
  0%, 100% { box-shadow: var(--shadow); }
  50%      { box-shadow: 0 0 0 3px var(--primary-pale); }
}

.card--flash { animation: card-flash 1.2s ease 2; }
