:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1f2328;
  --text-soft: #6b7280;
  --border: #e5e8ee;
  --brand: #16a34a;
  --brand-dark: #15803d;
  --was: #25d366;
  --was-dark: #1db457;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(31, 35, 40, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── Cabeçalho ─────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(31, 35, 40, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand { display: inline-flex; flex: 1 1 auto; min-width: 0; }
.brand-logo { height: 54px; width: auto; max-width: 100%; object-fit: contain; display: block; }

.header-contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.95rem;
}

.contact-item { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.contact-icon { font-size: 1rem; }

.header-actions { display: flex; gap: 10px; margin-left: auto; align-items: center; }

/* ── Hero ───────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #eef7f1 0%, #e3f3ea 55%, #d7efdd 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner { padding-top: 56px; padding-bottom: 56px; max-width: 780px; }
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); margin: 0 0 12px; line-height: 1.2; }
.hero p { font-size: 1.12rem; color: var(--text-soft); margin: 0 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Botões ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.05s ease;
}

.btn:active { transform: scale(0.98); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }

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

.btn-ghost { background: var(--surface); color: var(--brand-dark); border: 1px solid #b7e3c5; }
.btn-ghost:hover { background: #f0fbF4; border-color: var(--brand); }

.btn-block { width: 100%; }

/* ── Catálogo ───────────────────────────── */
.products { padding-top: 44px; padding-bottom: 60px; }

.products h2 { font-size: 1.6rem; margin: 0 0 6px; }
.products-subtitle { color: var(--text-soft); margin: 0 0 26px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef1f5;
  display: block;
}

.card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  font-weight: 700;
  color: #9aa5b1;
  aspect-ratio: 4 / 3;
}

.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-name { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.card-price { margin: 0; font-weight: 700; font-size: 1.28rem; color: var(--brand-dark); }
.card-meta { margin: 0; font-size: 0.85rem; color: var(--text-soft); }
.card-cta { margin-top: auto; padding-top: 12px; }

/* ── Footer / estados ───────────────────── */
.catalog-empty { color: var(--text-soft); text-align: center; padding: 40px 0; }

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }

@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .header-contacts { flex-direction: row; gap: 12px; font-size: 0.85rem; }
  .header-actions { width: 100%; margin-left: 0; }
  .header-actions .btn { flex: 1; }
  .brand-logo { height: 46px; }
}