/* ============================================================
   VARIÁVEIS & RESET
   ============================================================ */
:root {
  --bg:          #f5f3ef;
  --card:        #ffffff;
  --surface:     #eeece8;
  --surface-2:   #e5e3de;
  --text:        #111111;
  --text-inv:    #ffffff;
  --muted:       #888880;
  --accent:      #111111;
  --accent-h:    #2a2a2a;
  --gold:        #c9a84c;
  --border:      rgba(0,0,0,0.07);
  --border-s:    rgba(0,0,0,0.14);
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow:      0 4px 20px rgba(0,0,0,0.09), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.13), 0 4px 12px rgba(0,0,0,0.06);
  --radius:      1rem;
  --radius-sm:   0.6rem;
  --tr:          0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.w-full { width: 100%; }

/* ============================================================
   CABEÇALHO
   ============================================================ */
/* top bar */
.top-bar {
  background: var(--accent);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.45rem; padding-bottom: 0.45rem; gap: 1rem; flex-wrap: wrap;
}
.top-bar-wa {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: #fff; text-decoration: none; opacity: .85; transition: opacity .15s;
  white-space: nowrap;
}
.top-bar-wa:hover { opacity: 1; }
@media (max-width: 480px) {
  .top-bar-inner { justify-content: center; gap: 0.6rem; }
}

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,243,239,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-s);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap;
}
.brand-rocket { font-size: 1.25rem; }
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  color: #555; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color var(--tr);
}
.nav-links a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Sino de notificações */
.bell-btn {
  position: relative; background: none; border: none; cursor: pointer;
  font-size: 1.15rem; padding: 0.3rem; line-height: 1;
  display: flex; align-items: center; transition: transform .15s;
}
.bell-btn:hover { transform: scale(1.15); }
.bell-badge {
  position: absolute; top: -2px; right: -4px;
  background: #dc2626; color: #fff;
  font-size: 0.58rem; font-weight: 800;
  border-radius: 999px; min-width: 1rem; height: 1rem;
  display: flex; align-items: center; justify-content: center;
  padding: 0 0.2rem; border: 1.5px solid #fff;
}
.bell-dropdown {
  position: absolute; top: calc(100% + 0.6rem); right: 0; z-index: 999;
  background: #fff; border: 1px solid var(--border);
  border-radius: 0.85rem; box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  width: 300px; padding: 1rem;
}
.bell-list { display: flex; flex-direction: column; gap: 0.1rem; max-height: 340px; overflow-y: auto; }
.bell-item {
  display: block; padding: 0.6rem 0.75rem; border-radius: 0.55rem;
  text-decoration: none; transition: background .12s;
  border-bottom: 1px solid var(--border);
}
.bell-item:last-child { border-bottom: none; }
.bell-item:hover { background: var(--surface); }

.cart-header-btn {
  position: relative; background: var(--text); color: var(--text-inv);
  border: none; border-radius: 0.4rem; padding: 0.5rem 1.05rem;
  cursor: pointer; display: inline-flex; align-items: center;
  gap: 0.45rem; font-size: 0.88rem; font-weight: 600;
  transition: background var(--tr), transform var(--tr);
}
.cart-header-btn:hover { background: var(--accent-h); transform: translateY(-1px); }
.cart-count {
  background: var(--gold); color: #000; font-size: 0.68rem; font-weight: 800;
  border-radius: 0.2rem; min-width: 1.25rem; height: 1.25rem;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 0.25rem;
}
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.4rem; cursor: pointer;
}

/* Botões de conta no header */
.header-login-btn {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
  border: 1.5px solid var(--border-s); border-radius: 0.35rem;
  padding: 0.42rem 1rem; transition: all var(--tr); white-space: nowrap;
}
.header-login-btn:hover { color: var(--text); border-color: var(--text); }

.header-user {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface); border-radius: 0.4rem;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  border: 1px solid var(--border-s);
}
.header-user-name {
  font-size: 0.82rem; font-weight: 700; color: var(--text);
  max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-decoration: none; transition: opacity .15s;
}
.header-user-name:hover { opacity: .7; }
.header-logout-btn {
  background: var(--text); color: var(--text-inv);
  border: none; border-radius: 0.3rem;
  padding: 0.3rem 0.7rem; font-size: 0.73rem; font-weight: 600;
  cursor: pointer; transition: background var(--tr);
}
.header-logout-btn:hover { background: var(--accent-h); }

/* Quantidade no modal de produto */
.pd-qty-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pd-qty-ctrl { display: flex; align-items: center; gap: 0.75rem; }
.pd-qty-btn {
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1.5px solid var(--border-s); background: var(--surface);
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr); color: var(--text);
}
.pd-qty-btn:hover { background: var(--text); color: var(--text-inv); border-color: var(--text); }
.pd-qty-val { font-size: 1.05rem; font-weight: 800; min-width: 1.8rem; text-align: center; }

/* ============================================================
   HERO — PRETO DRAMÁTICO
   ============================================================ */
.hero {
  background: linear-gradient(145deg, #2a2520 0%, #1c1a17 50%, #252220 100%);
  color: var(--text-inv);
  min-height: 92vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

/* textura sutil */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero-simple {
  text-align: center;
  padding: 5rem 1rem;
  position: relative; z-index: 1;
  max-width: 780px; margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero-simple h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  max-width: 520px; margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25d366; color: #fff; border: 2px solid #25d366;
  padding: 0.75rem 1.5rem; border-radius: 0.6rem;
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
  transition: background 0.18s, transform 0.18s;
}
.btn-whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; transform: translateY(-2px); }

.hero-atacado-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.45);
  color: #c9a84c;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem; border-radius: 0.25rem;
  margin-top: 1.75rem;
}
.hero-tags {
  display: flex; gap: 0.65rem; justify-content: center; flex-wrap: wrap;
  margin-top: 3rem;
}
.tag {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border-radius: 0.2rem; padding: 0.35rem 0.9rem;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.65rem; border-radius: 0.4rem;
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.05em;
  text-transform: uppercase; cursor: pointer; border: 2px solid transparent;
  transition: all var(--tr);
}
.btn-primary {
  background: var(--text-inv); color: var(--text);
  border-color: var(--text-inv);
}
.btn-primary:hover { background: transparent; color: var(--text-inv); }

/* btn-primary no contexto claro (fora do hero) */
section:not(.hero) .btn-primary,
.checkout-page .btn-primary,
.pd-info .btn-primary,
.cart-foot .btn-primary {
  background: var(--text); color: var(--text-inv);
  border-color: var(--text);
}
section:not(.hero) .btn-primary:hover,
.checkout-page .btn-primary:hover,
.pd-info .btn-primary:hover,
.cart-foot .btn-primary:hover {
  background: transparent; color: var(--text);
}

.btn-secondary {
  background: transparent; color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: var(--text-inv); color: var(--text-inv);
}
section:not(.hero) .btn-secondary {
  color: var(--muted); border-color: var(--border-s);
}
section:not(.hero) .btn-secondary:hover {
  color: var(--text); border-color: var(--text);
}

/* ============================================================
   SEÇÕES
   ============================================================ */
.section {
  padding: 5rem 0;
}
.produtos-bg {
  background: var(--surface);
}
/* ---- Info bar ---- */
.info-bar {
  background: var(--bg);
  padding: 2.5rem 1rem;
}
.info-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.info-bar-item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem; text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}
.info-bar-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.info-bar-icon {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.info-bar-title {
  font-size: 0.88rem; font-weight: 800; color: var(--text);
  letter-spacing: 0.01em;
}
.info-bar-sub {
  font-size: 0.72rem; color: var(--muted); margin-top: -0.3rem;
  line-height: 1.5;
}
.info-bar-divider { display: none; }
@media (max-width: 640px) {
  .info-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

.section-head {
  text-align: center; margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  margin-bottom: 0.6rem;
}
.section-head p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   GRADE DE PRODUTOS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ============================================================
   CARD DE PRODUTO
   ============================================================ */
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--tr), transform var(--tr);
  display: flex; flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
}
.product-main-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.product-card:hover .product-main-img { transform: scale(1.05); }

.product-img-placeholder {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; background: var(--surface); color: var(--muted);
}

.product-thumbs {
  display: flex; gap: 0.4rem; padding: 0.5rem 0.75rem 0;
  background: var(--card);
}
.product-thumb {
  width: 44px; height: 44px; object-fit: cover;
  border-radius: 0.4rem; cursor: pointer;
  border: 2px solid transparent; transition: border-color var(--tr);
  flex-shrink: 0;
}
.product-thumb.active, .product-thumb:hover { border-color: var(--accent); }

.product-info {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex; flex-direction: column; flex: 1; gap: 0.45rem;
}
.product-badge-row {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.product-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  background: var(--surface); border-radius: 999px;
  padding: 0.18rem 0.6rem;
}
.product-gender {
  font-size: 0.68rem; color: var(--muted);
}
.product-info h3 {
  font-size: 0.98rem; font-weight: 700;
  letter-spacing: -0.01em; line-height: 1.3;
}
.product-info p {
  font-size: 0.8rem; color: var(--muted);
  line-height: 1.55; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}
.price {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em;
}
.btn-add {
  background: var(--text); color: var(--text-inv);
  border: none; border-radius: 999px;
  padding: 0.48rem 1.05rem; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  cursor: pointer; transition: background var(--tr), transform var(--tr);
}
.btn-add:hover { background: var(--accent-h); transform: scale(1.04); }

.no-products {
  grid-column: 1 / -1; text-align: center;
  color: var(--muted); padding: 3rem 1rem; line-height: 2;
}

/* FILTROS (index e seção de produtos) */
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.filter-btn {
  background: var(--card); border: 1.5px solid var(--border-s);
  color: var(--muted); border-radius: 999px;
  padding: 0.5rem 1.15rem; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.03em; cursor: pointer; transition: all var(--tr);
}
.filter-btn:hover { border-color: var(--text); color: var(--text); }
.filter-btn.active {
  background: var(--text); color: var(--text-inv);
  border-color: var(--text);
}

/* ============================================================
   CARRINHO OVERLAY + LATERAL
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: 0;
  width: min(420px,100vw); height: 100dvh;
  background: var(--card); border-left: 1px solid var(--border-s);
  z-index: 300; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(.4,0,.2,1);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.cart-top h3 { font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; }
.cart-close {
  background: var(--surface); border: none; border-radius: 50%;
  width: 2rem; height: 2rem; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 0.85rem;
  color: var(--muted); transition: all var(--tr);
}
.cart-close:hover { background: var(--text); color: var(--text-inv); }

.cart-body {
  flex: 1; overflow-y: auto; padding: 1rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.cart-empty {
  text-align: center; color: var(--muted);
  padding: 3rem 1rem; font-size: 0.88rem; line-height: 2;
}
.cart-foot {
  padding: 1.25rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.9rem;
  background: var(--surface);
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
}
.cart-total-row span { color: var(--muted); font-size: 0.85rem; }
.cart-total-row strong { font-size: 1.2rem; font-weight: 800; }

.cart-min-warn {
  background: #fffbeb; border: 1px solid #fcd34d;
  border-radius: 0.5rem; padding: 0.55rem 0.8rem;
  font-size: 0.78rem; color: #92400e; text-align: center; line-height: 1.5;
}
#checkoutLink.disabled {
  opacity: 0.4; pointer-events: none; cursor: not-allowed;
}

.cart-item {
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 0.85rem; display: flex; flex-direction: column; gap: 0.65rem;
  border: 1px solid var(--border);
}
.cart-item-main { display: flex; gap: 0.7rem; align-items: flex-start; }
.cart-item-img {
  width: 58px; height: 58px; object-fit: cover;
  border-radius: 0.45rem; flex-shrink: 0;
  border: 1px solid var(--border);
}
.cart-item-img-placeholder {
  width: 58px; height: 58px; display: flex; align-items: center;
  justify-content: center; background: var(--surface-2);
  border-radius: 0.45rem; font-size: 1.4rem; flex-shrink: 0;
}
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }
.cart-item-name { font-size: 0.83rem; font-weight: 600; line-height: 1.3; }
.cart-item-variant { font-size: 0.73rem; color: var(--muted); }
.cart-item-price { font-size: 0.75rem; color: var(--muted); }
.remove-btn {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 0.8rem; padding: 0.2rem; transition: color var(--tr);
  flex-shrink: 0;
}
.remove-btn:hover { color: #c0392b; }
.cart-item-row {
  display: flex; align-items: center; justify-content: space-between;
}
.cart-item-controls { display: flex; align-items: center; gap: 0.6rem; }
.qty-btn {
  background: var(--card); border: 1px solid var(--border-s);
  border-radius: 50%; width: 1.6rem; height: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--text);
  transition: all var(--tr);
}
.qty-btn:hover { background: var(--text); color: var(--text-inv); border-color: var(--text); }
.qty-val { font-size: 0.88rem; font-weight: 700; min-width: 1.2rem; text-align: center; }
.cart-item-subtotal { font-size: 0.9rem; font-weight: 700; }

/* Botão flutuante */
.cart-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 150;
  background: var(--text); color: var(--text-inv);
  border: none; border-radius: 999px;
  width: 3.4rem; height: 3.4rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.1);
  transition: transform var(--tr), box-shadow var(--tr);
}
.cart-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(0,0,0,0.28);
}
.float-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--gold); color: #000;
  border-radius: 999px; min-width: 1.25rem; height: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 800; padding: 0 0.25rem;
  border: 2px solid var(--bg);
}

/* Toast */
.cart-notif {
  position: fixed; bottom: 6rem; right: 2rem; z-index: 500;
  background: var(--text); color: var(--text-inv);
  border-radius: var(--radius-sm); padding: 0.8rem 1.25rem;
  font-size: 0.85rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 300px; pointer-events: none;
}
.cart-notif.show { opacity: 1; transform: translateY(0); }
.cart-notif.error { background: #c0392b; }

/* ============================================================
   CONTATO
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.info-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem; background: var(--card);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  transition: box-shadow var(--tr);
}
.info-row:hover { box-shadow: var(--shadow); }
.info-ico {
  font-size: 1.3rem; flex-shrink: 0; width: 2.2rem;
  text-align: center; margin-top: 0.1rem;
}
.info-row strong { font-size: 0.82rem; font-weight: 700; display: block; margin-bottom: 0.2rem; }
.info-row p { font-size: 0.82rem; color: var(--muted); }

.contact-form {
  background: var(--card); border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow);
}
.contact-form label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted); display: block;
  margin-bottom: 0.35rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%; background: var(--surface);
  border: 1.5px solid var(--border-s); border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem; font-size: 0.88rem; color: var(--text);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.contact-form textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter-section { position: relative; }

.newsletter-bg {
  background: linear-gradient(145deg, #1c1a17 0%, #2a2520 60%, #1a1814 100%);
  padding: 6rem 0;
  position: relative; overflow: hidden;
}
.newsletter-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 60%, rgba(201,168,76,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 20%, rgba(255,255,255,0.04) 0%, transparent 45%);
  pointer-events: none;
}
.newsletter-bg::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4), transparent);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative; z-index: 1;
}

/* Lado esquerdo — texto */
.newsletter-text { color: var(--text-inv); }
.newsletter-text .section-label { color: var(--gold); }

.newsletter-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.05;
  margin: 0.7rem 0 1.1rem;
}
.newsletter-desc {
  font-size: 0.95rem; line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 400px; margin-bottom: 1.8rem;
}
.newsletter-benefits {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.newsletter-benefits li {
  font-size: 0.87rem; color: rgba(255,255,255,0.65);
  display: flex; align-items: center; gap: 0.5rem;
}

/* Lado direito — formulário */
.newsletter-form-wrap { position: relative; }

.newsletter-card {
  background: #ffffff;
  border-radius: calc(var(--radius) * 1.3);
  padding: 2.5rem 2rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.2);
  position: relative;
}
.newsletter-card::before {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(201,168,76,0.4), transparent 50%);
  z-index: -1; border-radius: calc(var(--radius) * 1.3 + 1px);
}
.newsletter-card h3 {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em;
  text-align: center; margin-bottom: 1.75rem; color: var(--text);
}

.newsletter-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.nl-field {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.nl-field label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.nl-field input {
  background: var(--surface); border: 1.5px solid var(--border-s);
  border-radius: var(--radius-sm); padding: 0.78rem 1rem;
  font-size: 0.92rem; color: var(--text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nl-field input:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.07);
}
.nl-field input::placeholder { color: var(--muted); }

.nl-btn {
  width: 100%; padding: 0.9rem;
  background: linear-gradient(135deg, #1a1814, #2a2520);
  color: #fff; border: none; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.35rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.nl-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Tela de sucesso */
.newsletter-success {
  background: #ffffff;
  border-radius: calc(var(--radius) * 1.3);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.success-icon {
  width: 3.5rem; height: 3.5rem; background: #111;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff; font-weight: 900;
  margin: 0 auto 1rem;
}
.newsletter-success h3 {
  font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem;
}
.newsletter-success p {
  font-size: 0.88rem; color: var(--muted); line-height: 1.7;
}

@media (max-width: 820px) {
  .newsletter-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .newsletter-text { text-align: center; }
  .newsletter-desc { margin: 0 auto 1.8rem; }
  .newsletter-benefits { align-items: center; }
  .newsletter-bg { padding: 4rem 0; }
}

/* ============================================================
   CONTATO
   ============================================================ */
.contato-section { background: var(--bg); }
.contato-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}
.contato-card {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-s);
  background: var(--card);
  text-decoration: none; color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  position: relative; overflow: hidden;
}
.contato-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.contato-card-icon {
  width: 3.2rem; height: 3.2rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform var(--tr);
}
.contato-card:hover .contato-card-icon { transform: scale(1.08); }
.contato-card-info {
  flex: 1; display: flex; flex-direction: column; gap: 0.2rem;
}
.contato-card-info strong { font-size: 1rem; font-weight: 700; }
.contato-card-info span  { font-size: 0.82rem; color: var(--muted); }
.contato-card-arrow {
  font-size: 1.1rem; color: var(--muted); opacity: 0;
  transition: opacity var(--tr), transform var(--tr);
  transform: translateX(-6px);
}
.contato-card:hover .contato-card-arrow {
  opacity: 1; transform: translateX(0);
}

/* WhatsApp */
.contato-whatsapp { border-color: rgba(37,211,102,0.25); }
.contato-whatsapp:hover { border-color: #25d366; }
.contato-whatsapp .contato-card-icon {
  background: rgba(37,211,102,0.1); color: #128c7e;
}

/* Instagram */
.contato-instagram { border-color: rgba(225,48,108,0.2); }
.contato-instagram:hover { border-color: #e1306c; }
.contato-instagram .contato-card-icon {
  background: rgba(225,48,108,0.08);
  color: #c13584;
}

@media (max-width: 560px) {
  .contato-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   RODAPÉ — ESCURO
   ============================================================ */
.site-footer {
  background: #0d0d0d; color: rgba(255,255,255,0.65);
  padding: 3.5rem 0 1.5rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-col { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo {
  font-size: 1rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-inv);
  margin-bottom: 0.25rem;
}
.footer-brand-col p { font-size: 0.82rem; line-height: 1.65; }
.footer-nav {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  align-items: flex-start; justify-content: flex-end;
}
.footer-nav a {
  font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 500; color: rgba(255,255,255,0.5);
  transition: color var(--tr);
}
.footer-nav a:hover { color: var(--text-inv); }
.footer-copy {
  padding-top: 1.5rem; text-align: center;
}
.footer-copy p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-page { padding: 3rem 0 5rem; }
.checkout-header { margin-bottom: 2rem; }
.checkout-header h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; }
.checkout-header p { color: var(--muted); font-size: 0.88rem; margin-top: 0.35rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }

.checkout-form-card, .checkout-summary-card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 1.75rem;
}
.checkout-form-card h2, .checkout-summary-card h2 {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 1.25rem;
  padding-bottom: 0.85rem; border-bottom: 1px solid var(--border);
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-group label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.form-group input, .form-group textarea, .form-group select {
  background: var(--surface); border: 1.5px solid var(--border-s);
  border-radius: var(--radius-sm); padding: 0.7rem 0.85rem;
  font-size: 0.88rem; color: var(--text);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.delivery-options { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.1rem; }
.delivery-option {
  display: flex; align-items: flex-start; gap: 0.85rem;
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 1rem; cursor: pointer; border: 1.5px solid var(--border-s);
  transition: border-color var(--tr);
}
.delivery-option:has(input:checked) { border-color: var(--text); }
.delivery-option input[type=radio] { margin-top: 0.15rem; accent-color: var(--text); }
.delivery-option-info strong { display: block; font-size: 0.88rem; margin-bottom: 0.15rem; }
.delivery-option-info span { font-size: 0.78rem; color: var(--muted); }

.address-fields { display: none; margin-top: 1rem; }
.address-fields.visible { display: block; }
.checkout-section-title {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.85rem;
}
.checkout-submit { margin-top: 1.5rem; }

.summary-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.summary-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; }
.summary-item-info { display: flex; flex-direction: column; gap: 0.15rem; }
.summary-item-name { font-size: 0.83rem; font-weight: 600; }
.summary-item-qty { font-size: 0.75rem; color: var(--muted); }
.summary-item-price { font-size: 0.88rem; font-weight: 700; white-space: nowrap; }
.summary-total-row {
  display: flex; justify-content: space-between; padding-top: 1rem;
  border-top: 1px solid var(--border); font-weight: 700;
}
.summary-total-row span:last-child { font-size: 1.1rem; }
.summary-empty { color: var(--muted); font-size: 0.85rem; text-align: center; padding: 1.5rem 0; }

/* Confirmação de pedido */
.order-confirmation {
  text-align: center; padding: 5rem 1rem;
  max-width: 560px; margin: 0 auto;
}
.order-confirmation .confirm-icon { font-size: 4rem; margin-bottom: 1rem; }
.order-confirmation h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.65rem; }
.order-confirmation p { color: var(--muted); max-width: 36rem; margin: 0 auto 0.5rem; }
.order-id {
  display: inline-block; background: var(--surface);
  border: 1px solid var(--border-s); border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem; font-size: 0.83rem; font-family: monospace;
  margin: 0.9rem 0;
}

/* ============================================================
   MODAL DE DETALHE DO PRODUTO
   ============================================================ */
.pd-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 400; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.pd-overlay.open { opacity: 1; pointer-events: all; }

.pd-modal {
  background: var(--card); border-radius: var(--radius);
  width: min(860px, 100%); max-height: 90dvh; overflow-y: auto;
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(28px); transition: transform 0.28s cubic-bezier(.2,.8,.4,1);
  box-shadow: var(--shadow-lg);
}
.pd-overlay.open .pd-modal { transform: translateY(0); }

.pd-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  background: rgba(0,0,0,0.06); border: 1px solid var(--border);
  border-radius: 999px; width: 2.1rem; height: 2.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.85rem; color: var(--muted);
  transition: all 0.15s;
}
.pd-close:hover { background: var(--text); color: var(--text-inv); border-color: var(--text); }

.pd-gallery {
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--surface);
  border-radius: var(--radius) 0 0 var(--radius);
}
.pd-main-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: transform 0.4s ease;
}
.pd-main-img:hover { transform: scale(1.03); }
.pd-placeholder {
  width: 100%; aspect-ratio: 1/1; display: flex; align-items: center;
  justify-content: center; font-size: 5rem; background: var(--surface-2);
  border-radius: var(--radius-sm); color: var(--muted);
}
.pd-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pd-thumb {
  width: 58px; height: 58px; object-fit: cover; border-radius: 0.5rem;
  cursor: pointer; border: 2px solid transparent; transition: border-color 0.15s;
}
.pd-thumb.active, .pd-thumb:hover { border-color: var(--text); }

.pd-info {
  padding: 2rem 1.75rem 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.pd-badge {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold);
  background: rgba(201,168,76,0.1); border-radius: 999px;
  padding: 0.22rem 0.75rem; display: inline-block; align-self: flex-start;
  border: 1px solid rgba(201,168,76,0.25);
}
.pd-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.pd-price { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.03em; }
.pd-desc { color: var(--muted); font-size: 0.87rem; line-height: 1.7; }

.pd-variant-group { display: flex; flex-direction: column; gap: 0.5rem; }
/* ---- Seletor de COR ---- */
.pd-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pd-pill {
  background: transparent;
  border: 1px solid #ccc9c0;
  color: #111;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.84rem; font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  display: inline-flex; align-items: center; gap: 0.28rem;
}
.pd-pill:hover:not(.active) { border-color: #111; }
.pd-pill.active {
  background: #111; color: #fff; border-color: #111; font-weight: 600;
}
.pd-pill.active::before { content: '✓'; font-size: 0.68rem; }
.pd-pill:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

/* ---- Label dinâmico de variante ---- */
.pd-variant-label {
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--muted); transition: color 0.2s;
}
.pd-variant-label.chosen { color: #111; text-transform: none; font-size: 0.76rem; letter-spacing: 0; font-weight: 600; }

.pd-stock { font-size: 0.8rem; min-height: 1.2em; }
.pd-stock.low { color: #c0392b; font-weight: 600; }

/* ---- Seletor de TAMANHO ---- */
.pd-size-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pd-size-btn {
  position: relative;
  height: 3rem;
  min-width: 4rem;
  padding: 0 1.2rem;
  border: 1.5px solid #ccc9c0;
  border-radius: 10px;
  background: #fafaf8;
  color: #222;
  font-size: 0.92rem; font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.pd-size-btn:hover { border-color: #555; background: #f0ede8; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.pd-size-btn.active {
  background: #111; color: #fff;
  border-color: #111; font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
}
.pd-size-btn:disabled { opacity: 0.25; cursor: not-allowed; text-decoration: line-through; box-shadow: none; }
.pd-size-low-badge {
  position: absolute; top: -6px; right: -6px;
  background: #dc2626; color: #fff;
  font-size: 0.5rem; font-weight: 800; line-height: 1;
  border-radius: 999px; min-width: 1.05rem; height: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  padding: 0 0.2rem; border: 1.5px solid #fff;
}

.pd-add-btn {
  width: 100%; padding: 0.95rem; font-size: 0.92rem; font-weight: 700;
  border-radius: var(--radius-sm); margin-top: auto;
  background: var(--text); color: var(--text-inv); border: none;
  letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.pd-add-btn:hover:not(:disabled) { background: var(--accent-h); transform: translateY(-1px); }
.pd-add-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .checkout-grid, .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .checkout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column; gap: 0.85rem; padding: 1.25rem;
    background: var(--card); border: 1px solid var(--border-s);
    border-radius: var(--radius-sm);
    position: absolute; top: 100%; left: 0; right: 0;
    box-shadow: var(--shadow-lg); z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: relative; }
}

@media (max-width: 640px) {
  .pd-modal { grid-template-columns: 1fr; }
  .pd-gallery { border-radius: var(--radius) var(--radius) 0 0; }
  .pd-info { padding: 1.25rem 1.25rem 1.75rem; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .cart-float { bottom: 1.25rem; right: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 0; }
  .hero-simple { padding: 4rem 1rem; }
}
