:root {
  --terra: #c45c26;
  --terra-escura: #9a4318;
  --creme: #f7efe6;
  --papel: #fff8f1;
  --ink: #2b2118;
  --muted: #7a6656;
  --linha: #ead8c6;
  --ouro: #c4a15a;
  --sombra: 0 18px 40px rgba(43, 33, 24, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 380px at 100% -10%, #f3d2b4 0%, transparent 55%),
    var(--creme);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  background: rgba(247, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linha);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ouro);
}

.brand strong { display: block; font-size: 15px; }
.brand small { color: var(--terra); letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; }

nav { display: flex; gap: 16px; }
nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
nav a:hover { color: var(--terra); }

.hero {
  text-align: center;
  padding: 56px 20px 40px;
  max-width: 720px;
  margin: 0 auto;
}

.hero-logo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--ouro), var(--sombra);
  margin-bottom: 20px;
}

.eyebrow {
  color: var(--terra);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

h1 { font-size: clamp(36px, 7vw, 58px); margin-bottom: 12px; }
.lead { color: var(--muted); margin-bottom: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

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

.loja, .sobre { max-width: 1100px; margin: 0 auto; padding: 20px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head h2 { font-size: 34px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  border: 1px solid var(--linha);
  background: var(--papel);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

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

.card {
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--sombra);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #efe3d4;
}

.card-body { padding: 14px 16px 16px; }
.card .cat { color: var(--terra); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.card h3 { font-size: 22px; margin: 4px 0 6px; }
.card p { color: var(--muted); font-size: 14px; }
.card .preco { margin-top: 10px; font-weight: 700; color: var(--terra-escura); }

.sobre {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 28px;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 24px;
}

.sobre img { border-radius: 50%; width: 88px; height: 88px; object-fit: cover; }
.sobre h2 { font-size: 30px; margin-bottom: 8px; }
.sobre p + p { margin-top: 8px; color: var(--muted); }

.foot {
  text-align: center;
  padding: 28px 16px 40px;
  color: var(--muted);
  font-size: 14px;
}
.foot img { border-radius: 50%; margin-bottom: 8px; }
.foot a { color: var(--terra); }

.sheet {
  border: 0;
  border-radius: 24px;
  width: min(520px, calc(100vw - 24px));
  padding: 0;
  background: var(--papel);
  box-shadow: var(--sombra);
}
.sheet::backdrop { background: rgba(43, 33, 24, 0.45); }
.sheet img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sheet-body { padding: 18px 20px 24px; }
.sheet h3 { font-size: 30px; margin: 4px 0 8px; }
.sheet .preco { font-size: 22px; font-weight: 700; color: var(--terra-escura); margin: 12px 0 16px; }
.sheet .btn { width: 100%; }
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 248, 241, 0.92);
  font-size: 26px;
  cursor: pointer;
}

.linkish {
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.linkish:hover { color: var(--terra); }

.admin { max-width: 880px; margin: 0 auto; padding: 28px 20px 48px; }
.admin h1 { font-size: 36px; margin-bottom: 8px; }
.card-box {
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--sombra);
  margin-bottom: 22px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full, .form-grid h1, .form-grid h2, .form-grid .flash, .form-grid .form-actions { grid-column: 1 / -1; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.form-grid input, .form-grid textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid var(--linha);
  border-radius: 12px;
  background: #fff;
}
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--linha);
}
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.flash { color: #9a2b2b; font-size: 14px; }
.muted { color: var(--muted); }
.admin-list { display: grid; gap: 12px; }
.admin-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--papel);
  border: 1px solid var(--linha);
  border-radius: 16px;
  padding: 10px;
}
.admin-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.admin-actions { display: flex; gap: 8px; }

@media (max-width: 640px) {
  .top { padding: 10px 14px; }
  nav { gap: 12px; }
  .sobre { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-item { grid-template-columns: 64px 1fr; }
  .admin-actions { grid-column: 1 / -1; }
}
