:root {
  --yellow: #e8c500;
  --yellow-dark: #c9a800;
  --black: #111111;
  --gray-900: #1a1a1a;
  --gray-800: #242424;
  --gray-700: #333333;
  --text: #ececec;
  --muted: #9a9a9a;
  --whats: #25D366;
  --whats-dark: #1da851;
  --surface: #181818;
  --border: #2e2e2e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.55;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 17px; border-radius: 12px; }

.btn-whats {
  background: var(--whats);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .25);
}
.btn-whats:hover { background: var(--whats-dark); }

.btn-outline {
  background: transparent;
  color: var(--yellow);
  border: 2px solid var(--yellow);
}
.btn-outline:hover { background: var(--yellow); color: var(--black); }

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover { background: var(--yellow-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--muted); color: var(--yellow); }

.wa-icon { width: 20px; height: 20px; fill: currentColor; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 13, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-700);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand img { height: 42px; display: block; }
.nav { display: flex; gap: 26px; margin-left: auto; margin-right: 8px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav a:hover, .nav a.active { color: var(--yellow); }

/* Hero */
.hero {
  background: var(--black);
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.12; margin-bottom: 16px; font-weight: 700; }
.hero h1 .hl { color: var(--yellow); }
.hero-text > p { color: var(--muted); font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.hero-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-row span { color: var(--muted); font-size: 14px; }
.hero-panel-row strong { font-size: 18px; font-weight: 700; }

/* Sections */
.section { padding: 64px 0; }
.section-dark, .section-muted { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: 28px; text-align: left; font-weight: 700; }
.section-head { margin-bottom: 28px; }
.section-title span { color: var(--yellow); }
.section-sub { text-align: left; color: var(--muted); margin: 8px 0 0; max-width: 520px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.card-featured { border-color: var(--yellow); box-shadow: 0 10px 30px rgba(255,212,0,.08); }
.card-tag {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--black);
  font-size: 12px; font-weight: 800;
  padding: 4px 12px; border-radius: 999px;
}
.card-icon { font-size: 40px; margin-bottom: 12px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

/* Catalog */
.catalog-hero {
  padding: 36px 0 10px;
  background: var(--black);
  border-bottom: 1px solid var(--border);
}
.catalog-page { padding-top: 28px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span:last-child {
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 280px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  margin-bottom: 16px;
}
.catalog-search {
  position: relative;
}
.catalog-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--muted);
  pointer-events: none;
}
.catalog-search input,
.catalog-filters select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--gray-700);
  background: var(--gray-900);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.catalog-search input { padding-left: 42px; }
.catalog-search input:focus,
.catalog-filters select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .12);
}

.catalog-brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.brand-pill {
  border: 1px solid var(--gray-700);
  background: var(--gray-900);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.brand-pill:hover { border-color: var(--yellow); color: var(--yellow); }
.brand-pill.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

.catalog-meta { margin-bottom: 22px; }
.catalog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  color: var(--muted);
  font-size: 13px;
}
.stat-pill strong { color: var(--yellow); font-weight: 800; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--yellow);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--brand-accent, var(--border));
}
.product-image-lg { aspect-ratio: 1 / 1; border-radius: 16px; }
.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
  z-index: 2;
}
.product-image-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  z-index: 1;
}
.product-image.is-fallback .product-image-fallback,
.product-image:not(:has(img)) .product-image-fallback {
  display: flex;
}
.product-image-letter {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--brand-accent, var(--gray-700));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.product-image-brand {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-brand {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.product-name {
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
}
.product-sku { color: var(--muted); font-size: 12px; }
.product-price { font-size: 20px; font-weight: 800; color: var(--yellow); margin-top: auto; }
.product-price .old {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}
.product-link-hint {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: color .15s;
}
.product-card:hover .product-link-hint { color: var(--yellow); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-top: 3px solid var(--brand-accent, var(--border));
  transition: border-color .15s, background .15s;
  text-align: center;
}
.brand-card:hover {
  border-color: var(--brand-accent, var(--yellow));
  background: var(--gray-900);
}
.brand-card.brand-outros {
  border-style: dashed;
  border-top-style: dashed;
  --brand-accent: var(--muted);
}
.brand-card-name {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.catalog-cta-wrap { margin-top: 8px; }

.catalog-empty { padding: 20px 0; }
.catalog-empty-text { text-align: center; color: var(--muted); }
.empty-state {
  text-align: center;
  padding: 36px 20px;
  background: var(--gray-900);
  border: 1px dashed var(--gray-700);
  border-radius: 16px;
}
.empty-icon { font-size: 36px; display: block; margin-bottom: 10px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 16px; }

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.catalog-pagination button {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--gray-700);
  background: var(--gray-900);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
.catalog-pagination button:hover:not(:disabled) { border-color: var(--yellow); color: var(--yellow); }
.catalog-pagination button.active { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.catalog-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.page-ellipsis { color: var(--muted); padding: 0 4px; }

.catalog-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
}

.skeleton-card { pointer-events: none; }
.skeleton-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg, var(--gray-800) 25%, var(--gray-700) 50%, var(--gray-800) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}
.skeleton-line {
  height: 14px;
  margin: 14px 16px 0;
  border-radius: 6px;
  background: var(--gray-800);
}
.skeleton-line.short { width: 55%; margin-bottom: 16px; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Product detail page */
.product-page { padding-top: 28px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.product-detail-media .product-image { border-radius: 16px; border: 1px solid var(--gray-700); }
.product-detail-name {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.15;
  margin: 8px 0 10px;
}
.product-detail-price { font-size: 32px; margin: 12px 0; }
.product-stock {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
.product-stock.in-stock { color: var(--whats); }
.product-stock.out-stock { color: var(--muted); }
.product-benefits {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px;
  background: var(--gray-900);
  border-radius: 12px;
  border: 1px solid var(--gray-700);
}
.product-benefits li {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.product-description-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-700);
}
.product-description-title {
  font-size: 20px;
  margin: 0 0 12px;
}
.product-short-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 72ch;
}
.product-description {
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  max-width: 72ch;
}
.product-description p { margin: 0 0 12px; }
.product-description ul,
.product-description ol {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}
.product-description li { margin-bottom: 6px; }
.product-description strong { color: var(--text); }
.product-description a {
  color: var(--accent);
  text-decoration: underline;
}
.product-benefits li { padding: 4px 0; }
.product-back-link { margin-top: 12px; width: 100%; }

.hidden { display: none !important; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--black);
  border-radius: 8px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
}
.feature-num { color: var(--muted); font-weight: 700; font-size: 14px; }
.feature h4 { margin: 8px 0 6px; font-size: 17px; }
.feature p { color: var(--muted); font-size: 14px; }

/* Categorias populares */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  transition: border-color .15s ease, transform .15s ease;
}
.cat-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.cat-card h4 { font-size: 17px; margin-bottom: 6px; }
.cat-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.cat-link { color: var(--yellow); font-size: 14px; font-weight: 600; }

/* Depoimentos */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-stars { color: var(--yellow); font-size: 16px; letter-spacing: 2px; }
.review-card > p { color: var(--text); font-size: 15px; line-height: 1.6; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-800);
  border: 1px solid var(--border);
  color: var(--yellow);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.review-author strong { display: block; font-size: 14px; }
.review-author small { color: var(--muted); font-size: 12px; }

/* FAQ */
.faq-wrap { max-width: 760px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  font-size: 20px;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { color: var(--yellow); }
.faq-item p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  padding: 0 18px 16px;
}

/* CTA final */
.cta-final {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 64px 0;
}
.cta-inner { text-align: center; }
.cta-final h2 { font-size: 32px; margin-bottom: 10px; }
.cta-final p { color: var(--muted); margin-bottom: 26px; }

/* Footer */
.footer { background: var(--gray-900); border-top: 1px solid var(--gray-700); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner img { height: 38px; }
.footer-inner p { color: var(--muted); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand img { height: 38px; display: block; margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 2px 0; }
.footer-brand .footer-company { color: var(--text); font-weight: 700; font-size: 14px; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.footer-meta p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--yellow); }
.footer-admin { color: var(--gray-700); font-size: 13px; }
.footer-admin:hover { color: var(--yellow); }

/* Paginas legais */
.legal-top { padding: 16px 0; border-bottom: 1px solid var(--gray-700); }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-top img { height: 38px; display: block; }
.legal-top a { color: var(--muted); font-size: 14px; }
.legal-top a:hover { color: var(--yellow); }
.legal { padding: 44px 0 64px; }
.legal-inner { max-width: 820px; }
.legal h1 { font-size: 32px; margin-bottom: 8px; }
.legal .legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; color: var(--yellow); }
.legal p, .legal li { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }
.legal a { color: var(--yellow); text-decoration: underline; }

/* Floating WhatsApp */
.float-whats {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 60px; height: 60px;
  border: none; border-radius: 50%;
  background: var(--whats);
  color: #fff;
  cursor: pointer;
  z-index: 60;
  box-shadow: 0 10px 24px rgba(37,211,102,.45);
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2s infinite;
}
.float-whats .wa-icon { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 360px; }
  .hero h1 { font-size: 30px; }
  .nav { display: none; }
  .cards, .features { grid-template-columns: 1fr; }
  .cat-grid, .review-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title, .section-sub { text-align: left; }
  .footer-grid { flex-direction: column; }
  .footer-meta { align-items: flex-start; text-align: left; }
}
