:root {
  --bg: #fafafa;
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --text-faint: #999;
  --border: #e0e0e0;
  --accent: #555;
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --navbar-border: #e0e0e0;
  --btn-primary-bg: #1a1a1a;
  --btn-primary-text: #fff;
  --btn-secondary-border: #1a1a1a;
  --btn-secondary-text: #1a1a1a;
  --section-dark-bg: #1a1a1a;
  --section-dark-text: #ccc;
  --section-dark-title: #fff;
  --section-dark-desc: #999;
  --service-gap-bg: #e8e8e8;
  --service-card-bg: #f5f5f5;
  --service-card-hover: #eee;
  --service-icon: #777;
  --service-title: #1a1a1a;
  --service-text: #666;
  --footer-border: #e0e0e0;
  --footer-bg: #fafafa;
  --form-bg: #333;
  --form-border: #444;
  --form-text: #eee;
  --form-placeholder: #888;
  --hero-overlay: rgba(0, 0, 0, 0.02);
  --stat-border: #e0e0e0;
  --contact-value: #fff;
  --contact-label: #aaa;
  --contact-social: #999;
  --contact-social-hover: #fff;
  --produto-border: #e0e0e0;
  --produto-bg: #f5f5f5;
  --opcao-bg: #fff;
  --opcao-border: #e0e0e0;
  --opcao-destaque-border: #1a1a1a;
  --badge-bg: #1a1a1a;
  --badge-text: #fff;
  --preco-color: #1a1a1a;
  --cta-bg: #f0f0f0;
}

[data-theme="dark"] {
  --bg: #0f0f0f;
  --text: #e8e8ea;
  --text-secondary: #999;
  --text-muted: #777;
  --text-faint: #666;
  --border: #2a2a2a;
  --accent: #999;
  --navbar-bg: rgba(15, 15, 15, 0.95);
  --navbar-border: #2a2a2a;
  --btn-primary-bg: #e8e8ea;
  --btn-primary-text: #0f0f0f;
  --btn-secondary-border: #e8e8ea;
  --btn-secondary-text: #e8e8ea;
  --section-dark-bg: #0a0a0a;
  --section-dark-text: #999;
  --section-dark-title: #e8e8ea;
  --section-dark-desc: #777;
  --service-gap-bg: #222;
  --service-card-bg: #151515;
  --service-card-hover: #1f1f1f;
  --service-icon: #888;
  --service-title: #e8e8ea;
  --service-text: #888;
  --footer-border: #2a2a2a;
  --footer-bg: #0f0f0f;
  --form-bg: #151515;
  --form-border: #2a2a2a;
  --form-text: #e8e8ea;
  --form-placeholder: #555;
  --hero-overlay: rgba(255, 255, 255, 0.02);
  --stat-border: #2a2a2a;
  --contact-value: #e8e8ea;
  --contact-label: #999;
  --contact-social: #777;
  --contact-social-hover: #e8e8ea;
  --produto-border: #2a2a2a;
  --produto-bg: #151515;
  --opcao-bg: #1a1a1a;
  --opcao-border: #2a2a2a;
  --opcao-destaque-border: #e8e8ea;
  --badge-bg: #e8e8ea;
  --badge-text: #0f0f0f;
  --preco-color: #e8e8ea;
  --cta-bg: #151515;
}

.logo-dark { display: none; }
.logo-light { display: block; }

[data-theme="dark"] .logo-dark { display: block; }
[data-theme="dark"] .logo-light { display: none; }

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }

.section-dark {
  background: var(--section-dark-bg);
  color: var(--section-dark-text);
}

.section-dark .section-title { color: var(--section-dark-title); }

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.accent { color: var(--accent); }

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  background: transparent;
  color: var(--btn-secondary-text);
  border: 1.5px solid var(--btn-secondary-border);
}

.btn-secondary:hover {
  background: var(--btn-secondary-border);
  color: var(--btn-primary-text);
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  transition: color 0.2s;
}

.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: block; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }

.nav-logo-img { height: 34px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.3s;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 1px, var(--hero-overlay) 1px, var(--hero-overlay) 2px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero-logo { height: 96px; width: auto; margin: 0 auto 20px; }

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

#hero .btn { margin: 0 6px; }

.about-content {
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--stat-border);
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: var(--service-gap-bg);
}

.service-card {
  background: var(--service-card-bg);
  padding: 40px 32px;
  transition: background 0.2s ease;
}

.service-card:hover { background: var(--service-card-hover); }

.service-icon {
  width: 36px; height: 36px;
  color: var(--service-icon);
  margin-bottom: 20px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--service-title);
}

.service-card p {
  color: var(--service-text);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 380px;
}

/* Store */
.store-section {
  padding: 120px 0 80px;
}

.store-title {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.store-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
}

.store-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.filter-btn.active {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}

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

.store-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
}

.produto-card {
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.produto-card:hover {
  border-color: var(--accent);
}

.produto-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  z-index: 1;
}

.produto-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--produto-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.produto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produto-info {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.produto-nome {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.produto-info .produto-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}

.produto-preco {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--preco-color);
  margin-bottom: 16px;
}

.produto-card {
  text-decoration: none;
  cursor: pointer;
}

/* Product Page */
.produto-page {
  padding: 120px 0 80px;
}

.voltar-link {
  display: inline-block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.voltar-link:hover {
  color: var(--text);
}

.produto-nao-encontrado {
  text-align: center;
  padding: 80px 0;
}

.produto-nao-encontrado h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.produto-nao-encontrado p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.produto-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.produto-page-img {
  background: var(--produto-bg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.produto-page-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.produto-page-nome {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.produto-page-preco {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--preco-color);
  margin-bottom: 20px;
}

.produto-page-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.produto-page-comprar {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.comprar-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.produto-page-comprar .plataforma-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  margin-bottom: 10px;
}

.produto-page-comprar .plataforma-btn:hover {
  border-color: var(--accent);
}

.produto-page-comprar .plataforma-btn img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.shopee-btn {
  background: #fc6b03;
  color: #fff !important;
  border-color: #fc6b03 !important;
}

.shopee-btn:hover {
  background: #e05e02 !important;
  border-color: #e05e02 !important;
}

.ml-btn {
  background: #3483fa;
  color: #fff !important;
  border-color: #3483fa !important;
}

.ml-btn:hover {
  background: #2968c8 !important;
  border-color: #2968c8 !important;
}

.whats-btn {
  background: #25d366;
  color: #fff !important;
  border-color: #25d366 !important;
}

.whats-btn:hover {
  background: #1da851 !important;
  border-color: #1da851 !important;
}

.desconto {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 6px;
  border-radius: 3px;
}

/* Tabela de Precos */
.tabela-precos {
  margin-bottom: 32px;
}

.tabela-precos h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.tabela-precos table {
  width: 100%;
  border-collapse: collapse;
}

.tabela-precos th,
.tabela-precos td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.tabela-precos th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tabela-precos td {
  color: var(--text-secondary);
}

.tabela-precos td strong {
  color: var(--text);
  font-size: 1rem;
}

/* Configurador Produto */
.config-produto {
  margin-bottom: 32px;
}

.config-grupo {
  margin-bottom: 20px;
}

.config-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.adicional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
}

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

.opcao-horiz {
  padding: 10px 18px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.opcao-horiz:hover {
  border-color: var(--accent);
  color: var(--text);
}

.opcao-horiz.ativa {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}

.config-grupo input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--accent);
}

.preco-total {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--cta-bg);
  margin-top: 24px;
}

.preco-total-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.preco-total-valor {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

/* Contact */
.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid var(--form-border);
  background: var(--form-bg);
  color: var(--form-text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--form-placeholder); }

.contato-whats {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contato-whats-text {
  font-size: 1.1rem;
  color: var(--section-dark-title);
  margin-bottom: 16px;
  text-align: center;
}

.whats-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}

.whats-img:hover {
  opacity: 0.9;
}



.footer {
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid var(--footer-border);
  background: var(--footer-bg);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.footer p { color: var(--text-faint); font-size: 0.8rem; }

.admin-link { color: var(--text-muted); text-decoration: none; font-size: 0.7rem; opacity: 0.4; transition: opacity 0.2s; }
.admin-link:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 0.9rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    background: var(--navbar-bg);
    padding: 16px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--navbar-border);
  }

  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }
  .theme-toggle { margin-right: 8px; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .produto-page-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats { gap: 32px; }
  .section-title { font-size: 1.8rem; }

  #hero .btn {
    display: block;
    margin: 10px auto;
    max-width: 240px;
  }
}
