:root {
  --bg: #fafaf8;
  --bg-alt: #f1f2f2;
  --card: #ffffff;
  --champagne: #ede7df;
  --graphite: #373435;
  --text-soft: #717477;
  --brand: #0dd0e6;
  --brand-deep: #087f8c;
  --silver: #c7c9cb;
  --line: #e4e2e0;
  --radius: 2px;
  --shadow: 0 24px 60px rgba(55, 52, 53, 0.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--graphite); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--graphite); margin: 0 0 .5em; line-height: 1.15; letter-spacing: .005em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .22em;
  font-size: .72rem; font-weight: 600; color: var(--brand-deep);
}
.hr-line { border: none; border-top: 1px solid var(--line); margin: 0; }

/* Buttons: rectangular, letter-spaced, no border-radius pill shapes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; font-family: var(--font-body); font-weight: 600;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .16em;
  border: 1px solid var(--graphite); cursor: pointer; transition: all .25s ease;
  border-radius: var(--radius); background: transparent; color: var(--graphite);
}
.btn-primary { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn:not(.btn-primary):not(.btn-brand):not(.btn-whats):hover { background: var(--bg-alt); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--graphite); }
.btn-brand:hover { background: transparent; color: var(--brand-deep); border-color: var(--brand-deep); }
.btn-whats { background: var(--brand); border-color: var(--brand); color: var(--graphite); }
.btn-whats:hover { background: transparent; color: var(--brand-deep); border-color: var(--brand-deep); }
.btn-sm { padding: 9px 18px; font-size: .68rem; letter-spacing: .12em; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand img { height: 24px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: var(--text-soft); font-weight: 500; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .14em;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand-deep); }
.nav-toggle { display: none; background: none; border: 0; color: var(--graphite); font-size: 1.5rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 68px 0 0 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; padding: 30px 32px; gap: 0;
    transform: translateY(-110%); transition: transform .3s ease;
  }
  .main-nav a { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line); }
  body.nav-open .main-nav { transform: translateY(0); }
}

/* Hero */
.hero { background: var(--champagne); color: var(--graphite); padding: 110px 0 96px; position: relative; overflow: hidden; }
.hero .container { max-width: 760px; text-align: center; }
.hero-eyebrow { color: var(--brand-deep); }
.hero h1 {
  color: var(--graphite); font-size: clamp(2.4rem, 4vw, 3.4rem); margin: 20px auto 24px; font-weight: 600;
}
.hero p { color: var(--text-soft); font-size: 1.05rem; max-width: 44ch; margin: 0 auto 34px; font-family: var(--font-body); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* Category strip */
.categorias { padding: 96px 0 88px; background: var(--bg); }
.categorias .section-head { text-align: center; margin-bottom: 52px; }
.categorias .section-head .eyebrow { display: block; margin-bottom: 12px; }
.categorias h2 { font-size: 2rem; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
  background: var(--card); padding: 40px 16px; text-align: center; transition: background .2s ease;
}
.cat-card:hover { background: var(--bg-alt); }
.cat-card .cat-mark { font-family: var(--font-display); font-size: 1.6rem; color: var(--brand-deep); margin-bottom: 14px; }
.cat-card span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--graphite); }

/* Product grid */
.produtos { padding: 24px 0 120px; background: var(--bg); }
.produtos-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 44px; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.produtos-header h1, .produtos-header h2 { margin: 0; font-size: 1.8rem; }
.produto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 32px; }
.produto-card { background: transparent; }
.produto-card .foto { display: block; aspect-ratio: 1/1; background: var(--card); overflow: hidden; margin-bottom: 18px; border: 1px solid var(--line); }
.produto-card .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.produto-card:hover .foto img { transform: scale(1.04); }
.produto-card .info .cat-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-deep); font-weight: 600; }
.produto-card h3 { font-size: 1.05rem; margin: 8px 0 6px; font-weight: 600; }
.produto-card h3 a { border-bottom: 1px solid transparent; }
.produto-card h3 a:hover { border-color: var(--graphite); }
.produto-card .preco { font-family: var(--font-body); font-weight: 600; color: var(--graphite); font-size: .95rem; }
.produto-card .info a.ver { display: inline-block; margin-top: 10px; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-soft); }
.produto-card .info a.ver:hover { color: var(--graphite); }
.empty-state { text-align: center; padding: 80px 20px; color: var(--text-soft); }

/* Product detail */
.produto-detalhe { padding: 56px 0 100px; background: var(--bg); }
.produto-detalhe .voltar { display: inline-block; margin-bottom: 32px; color: var(--text-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.produto-detalhe .voltar:hover { color: var(--graphite); }
.detalhe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
@media (max-width: 900px) { .detalhe-grid { grid-template-columns: 1fr; gap: 32px; } }
.detalhe-fotos .foto-principal { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--card); border: 1px solid var(--line); margin-bottom: 14px; }
.detalhe-fotos .foto-principal img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.detalhe-fotos .foto-principal .zoom-aviso { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(55, 52, 53, .78); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .01em; pointer-events: none; }
.detalhe-fotos .foto-principal .zoom-aviso svg { width: 14px; height: 14px; flex-shrink: 0; }
.detalhe-fotos .miniaturas { display: flex; gap: 10px; flex-wrap: wrap; }
.detalhe-fotos .miniaturas img { width: 72px; height: 72px; object-fit: cover; border: 1px solid var(--line); cursor: pointer; opacity: .7; }
.detalhe-fotos .miniaturas img.ativa { opacity: 1; border-color: var(--brand-deep); }

.lightbox { position: fixed; inset: 0; background: rgba(55, 52, 53, .94); display: none; align-items: center; justify-content: center; padding: 32px; z-index: 999; }
.lightbox.aberta { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-fechar { position: absolute; top: 18px; right: 22px; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 50%; }
.lightbox-fechar:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 600px) { .lightbox { padding: 16px; } .lightbox-fechar { top: 10px; right: 10px; } }
.detalhe-info .cat-label { color: var(--brand-deep); font-weight: 600; text-transform: uppercase; font-size: .7rem; letter-spacing: .14em; }
.detalhe-info h1 { font-size: 2.1rem; margin: 14px 0 12px; }
.detalhe-info .preco { font-family: var(--font-body); font-size: 1.35rem; font-weight: 600; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.detalhe-info .material { color: var(--text-soft); font-size: .85rem; margin-bottom: 20px; }
.detalhe-info .descricao { margin-bottom: 30px; color: var(--graphite); }

/* CTA band (institutional section, per palette guide) */
.cta-band { background: var(--bg-alt); color: var(--graphite); padding: 64px 0; text-align: center; }
.cta-band h2 { color: var(--graphite); }
.cta-band p { color: var(--graphite); opacity: .8; margin-bottom: 26px; font-family: var(--font-body); }

/* Footer */
.site-footer { background: var(--graphite); color: rgba(255,255,255,.68); padding: 64px 0 28px; }
.footer-brand { margin-bottom: 18px; }
.footer-brand img { height: 24px; width: auto; }
.footer-tagline { max-width: 32ch; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.footer-grid a { color: rgba(255,255,255,.68); display: block; margin-bottom: 12px; font-size: .88rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: .74rem; text-align: center; color: rgba(255,255,255,.42); letter-spacing: .04em; }

/* WhatsApp float */
.whats-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  font-size: 1.5rem; color: #0c2b18;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Admin (kept functional, not part of the public luxury layout) ---------- */
.admin-body { background: var(--bg-alt); font-family: var(--font-body); }
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 20px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.admin-header h1 { font-size: 1.5rem; }
.admin-card { background: var(--card); border-radius: 8px; border: 1px solid var(--line); padding: 24px; margin-bottom: 20px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.admin-table thead th { color: var(--text-soft); text-transform: uppercase; font-size: .74rem; letter-spacing: .05em; }
.admin-table img.thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.badge-ativo { background: #dcf5e8; color: #1a7a44; }
.badge-inativo { background: #f5dcdc; color: #a12b2b; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-body); font-size: .95rem;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.admin-filtros { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-filtros .form-field { margin-bottom: 0; min-width: 180px; }
.admin-filtros .form-field.admin-filtros-acoes { display: flex; flex-direction: row; gap: 8px; min-width: auto; }
.admin-filtros-resultado { font-size: .85rem; color: var(--text-soft); margin: -6px 0 16px; }
.admin-login { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.admin-login .admin-card { width: 340px; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: .9rem; }
.alert-erro { background: #f5dcdc; color: #a12b2b; }
.alert-sucesso { background: #dcf5e8; color: #1a7a44; }
.thumb-atual { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.thumb-atual .thumb-item { position: relative; }
.thumb-atual img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; }
.thumb-atual .del-thumb { position: absolute; top: -6px; right: -6px; background: #a12b2b; color: #fff; border: none; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; font-size: .8rem; line-height: 1; }
