:root {
  --bg: #0e0e10;
  --bg-soft: #17171b;
  --panel: #111216;
  --text: #f3f1ea;
  --muted: #b3ad9d;
  --line: rgba(255,255,255,.08);
  --gold: #d8b36a;
  --gold-strong: #f0c97e;
  --red: #7c1f28;
  --green: #1fa463;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { min-height: 70vh; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 72px 0; }
.section-dark { background: linear-gradient(180deg, #121216 0%, #0b0b0d 100%); }
.eyebrow { display: inline-block; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .77rem; font-weight: 600; margin-bottom: 14px; }
h1,h2,h3,h4 { margin: 0 0 12px; line-height: 1.05; }
h1,h2 { font-family: 'Playfair Display', serif; }
p { margin: 0; color: var(--muted); line-height: 1.7; }
.lead { font-size: 1.08rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 600; transition: .2s ease; border: 1px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-strong)); color: #161616; }
.btn-secondary { border-color: rgba(216,179,106,.45); color: var(--text); background: rgba(255,255,255,.02); }
.btn-mini { min-height: 40px; padding: 0 16px; font-size: .92rem; background: rgba(216,179,106,.12); border: 1px solid rgba(216,179,106,.35); }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(14,14,16,.72); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), #9b6d1d); color: #111; font-weight: 900; overflow: hidden; }
.brand-mark-text { line-height: 1; font-weight: 900; font-size: 1.05rem; }
.brand strong { display: block; }
.brand small { color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { color: #e4ddce; font-size: .96rem; }
.nav-admin { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); }
.menu-toggle { display: none; background: transparent; color: white; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.hero { position: relative; overflow: hidden; background-position: center center; background-size: cover; background-repeat: no-repeat; background-color: #0b0b0d; }
.hero-overlay { position: absolute; inset: 0; z-index: 0; background: linear-gradient(110deg, rgba(10,10,12,.90) 0%, rgba(10,10,12,.72) 35%, rgba(10,10,12,.25) 100%), radial-gradient(circle at top right, rgba(216,179,106,.18), transparent 35%); }
.hero-grid { position: relative; z-index: 1; min-height: calc(100vh - 78px); display: grid; gap: 24px; grid-template-columns: 1.2fr .8fr; align-items: center; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 5.6rem); max-width: 760px; }
.hero-content p { max-width: 640px; margin-top: 18px; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-card, .story-box, .contact-card, .admin-panel, .admin-card, .banner-card, .category-card, .product-card, .cta-box { background: rgba(20,20,24,.86); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card { padding: 28px; max-width: 420px; justify-self: end; }
.hero-badge, .pill { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(216,179,106,.14); color: var(--gold); font-size: .82rem; font-weight: 600; border: 1px solid rgba(216,179,106,.22); }
.banners-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.banner-card { overflow: hidden; }
.banner-card img { width: 100%; height: 240px; object-fit: cover; }
.banner-content { padding: 20px; }
.section-head { margin-bottom: 30px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
.categories-grid, .products-grid, .contact-grid, .admin-cards { display: grid; gap: 20px; }
.categories-grid { grid-template-columns: repeat(5, 1fr); }
.category-card { padding: 24px; transition: .25s ease; }
.category-card:hover { transform: translateY(-4px); border-color: rgba(216,179,106,.3); }
.category-icon { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 16px; background: rgba(216,179,106,.12); border: 1px solid rgba(216,179,106,.22); overflow: hidden; }
.category-icon-emoji { font-size: 1.8rem; line-height: 1; }
.category-icon-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.products-grid { grid-template-columns: repeat(3, 1fr); }
.product-card { overflow: hidden; }
.product-card img { width: 100%; height: 310px; object-fit: cover; }
.product-content { padding: 22px; }
.product-content h3 { font-size: 1.35rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.product-footer strong, .price-large { color: var(--gold-strong); font-size: 1.2rem; }
.brand-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; }
.story-box { padding: 32px; min-height: 220px; display: grid; place-items: center; }
.story-box blockquote { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; color: var(--text); margin: 0; }
.cta-section { padding: 0 0 80px; }
.cta-box { padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; min-height: 54px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--green); color: white; font-weight: 800; box-shadow: var(--shadow); }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: #0b0b0d; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.page-hero { padding: 80px 0 30px; background: linear-gradient(180deg, #131317 0%, transparent 100%); }
.page-hero-small { padding-bottom: 10px; }
.product-single { display: grid; gap: 26px; grid-template-columns: 1fr 1fr; align-items: start; }
.product-single-image img { border-radius: var(--radius); width: 100%; height: 560px; object-fit: cover; box-shadow: var(--shadow); }
.product-description { margin-top: 20px; }
.contact-grid { grid-template-columns: repeat(3, 1fr); }
.contact-card { padding: 24px; }
.admin-body { background: #0b0c0f; }
.admin-shell { display: grid; min-height: 100vh; grid-template-columns: 280px 1fr; }
.admin-sidebar { padding: 22px; border-right: 1px solid var(--line); background: #0f1014; }
.admin-sidebar nav { display: grid; gap: 8px; margin-top: 24px; }
.admin-sidebar nav a { padding: 12px 14px; border-radius: 14px; color: #e6dcc6; }
.admin-sidebar nav a:hover { background: rgba(255,255,255,.04); }
.admin-main { padding: 24px; }
.admin-topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 20px; }
.admin-note { color: #ffcc85; font-size: .92rem; }
.admin-cards { grid-template-columns: repeat(4, 1fr); margin-bottom: 20px; }
.admin-card { padding: 22px; }
.admin-card strong { display: block; font-size: 2rem; color: var(--gold); margin-bottom: 8px; }
.panel-head, .quick-actions, .check-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.admin-panel { padding: 22px; }
.table-wrap { overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 14px 10px; border-bottom: 1px solid var(--line); }
.admin-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.settings-grid { grid-template-columns: repeat(2, 1fr); }
.admin-form label { display: grid; gap: 8px; color: #dfd7c8; font-weight: 600; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #15161b; color: var(--text); padding: 13px 14px; font: inherit; }
.alert { background: rgba(124,31,40,.2); color: #ffd0d5; padding: 14px; border-radius: 14px; border: 1px solid rgba(124,31,40,.5); }
@media (max-width: 980px) {
  .hero-grid, .brand-story, .product-single, .contact-grid, .footer-grid, .admin-shell { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; }
  .categories-grid, .products-grid, .banners-grid, .admin-cards { grid-template-columns: repeat(2, 1fr); }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 78px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(14,14,16,.95); flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .hero-grid { min-height: auto; padding: 80px 0; }
  .hero-content h1 { font-size: 2.8rem; }
  .categories-grid, .products-grid, .banners-grid, .contact-grid, .admin-cards, .form-grid, .settings-grid { grid-template-columns: 1fr; }
  .product-card img { height: 250px; }
  .product-single-image img { height: 340px; }
  .cta-box, .panel-head, .quick-actions, .check-row, .admin-topbar { flex-direction: column; align-items: flex-start; }
  .whatsapp-float { left: 16px; right: 16px; bottom: 16px; }
}

.image-preview { display: inline-flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.image-preview img { width: 110px; height: 110px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.image-preview.small img { width: 64px; height: 64px; }



/* Aviso discreto sobre imagens ilustrativas nos produtos */
.product-image-wrap{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #090909;
}
.product-card .product-image-wrap{
  border-radius: var(--radius) var(--radius) 0 0;
}
.product-image-wrap img{
  display: block;
  width: 100%;
}
.product-card .product-image-wrap img{
  height: 260px;
  object-fit: cover;
}
.product-image-wrap-large img{
  border-radius: var(--radius);
  width: 100%;
  height: 560px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.image-disclaimer{
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.62);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.product-image-wrap img[src$="product-placeholder.jpg"]{
  object-fit: cover;
  background:#000;
  padding: 0;
}
@media (max-width: 720px){
  .product-card .product-image-wrap img{ height: 250px; }
  .product-image-wrap-large img{ height: 340px; }
  .image-disclaimer{ font-size: 9.5px; padding: 4px 8px; left: 6px; right: 6px; bottom: 6px; }
}


/* Descrição curta + ingredientes nos cards */
.product-short-description{
  margin: 4px 0 4px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}
.product-short-description strong{
  font-weight: 800;
}
.product-ingredients{
  margin: 0 0 10px;
  color: rgba(255,255,255,.64);
  font-size: 12.5px;
  line-height: 1.45;
}
.product-content > p:not(.product-short-description):not(.product-ingredients){
  margin: 4px 0 4px;
}
