/* ============================================
   BRZ 3D LAB - Design System
   ============================================ */

:root {
  --primary: #0f172a;
  --primary-dark: #020617;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 33%, #8b5cf6 66%, #ec4899 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(6,182,212,0.12) 0%, rgba(139,92,246,0.12) 100%);
  --shopee-orange: #ee4d2d;
  --shopee-orange-light: #fff1ed;
  --stl-purple: #8b5cf6;
  --stl-purple-light: #f5f3ff;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-soft-2: #f1f5f9;
  --bg-dark: #0f172a;

  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --border: #e2e8f0;
  --border-soft: #f1f5f9;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 40px -12px rgba(15, 23, 42, 0.12);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1280px;
  --header-h: 80px;
}

/* ============================================
   Tema Escuro (Auto + Toggle) — 2 blocos SEPARADOS
   Bloco 1: toggle manual via JS (classe .dark-mode no <html>)
   Bloco 2: detecção automática da preferência do sistema
   ============================================ */

/* BLOCO 1 — Dark Mode MANUAL (quando usuário clica no botão toggle) */
:root.dark-mode {
  --bg: #0b1120;
  --bg-soft: #111827;
  --bg-soft-2: #0f172a;
  --bg-dark: #020617;

  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;

  --border: rgba(148, 163, 184, 0.18);
  --border-soft: rgba(148, 163, 184, 0.08);

  --shopee-orange-light: rgba(238, 77, 45, 0.12);
  --stl-purple-light: rgba(139, 92, 246, 0.12);
  --accent-gradient-soft: linear-gradient(135deg, rgba(6,182,212,0.18) 0%, rgba(139,92,246,0.18) 100%);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.45), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
}
:root.dark-mode body {
  background: radial-gradient(1200px 600px at 100% -10%, rgba(139, 92, 246, 0.10) 0%, transparent 60%),
              radial-gradient(900px 500px at 0% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 55%),
              var(--bg);
}
:root.dark-mode .section.bg-light { background: var(--bg-soft); }
:root.dark-mode .card, :root.dark-mode .product-card, :root.dark-mode .category-card,
:root.dark-mode .big-cat-card, :root.dark-mode .prod-info, :root.dark-mode .specs-list li,
:root.dark-mode .prod-desc, :root.dark-mode .sidebar-filters, :root.dark-mode .testimonial-card,
:root.dark-mode input, :root.dark-mode select, :root.dark-mode textarea,
:root.dark-mode .prod-specs, :root.dark-mode .prod-prazo, :root.dark-mode .article {
  background: var(--bg-soft);
  border-color: var(--border);
}
:root.dark-mode .sidebar-filters { background: rgba(17, 24, 39, 0.65); backdrop-filter: blur(12px); }
:root.dark-mode .sidebar-filters .search-block,
:root.dark-mode .sidebar-filters > * { background: transparent !important; color: var(--text); }
:root.dark-mode header.main-header, :root.dark-mode header.site-header { background: rgba(11, 17, 32, 0.88); backdrop-filter: blur(16px); border-bottom-color: var(--border); }
:root.dark-mode .mobile-menu { background: var(--bg); border-top-color: var(--border); color: var(--text); }
:root.dark-mode .mobile-menu .nav-link { color: var(--text-soft); }
:root.dark-mode .mobile-menu .nav-link.active { background: var(--bg-soft); color: var(--text); }
:root.dark-mode .cta-calculadora-banner .cta-banner-overlay { background: linear-gradient(135deg, rgba(3, 105, 161, 0.88) 0%, rgba(91, 33, 182, 0.9) 100%); }
:root.dark-mode .cta-calculadora-banner { border-color: rgba(255,255,255,0.08); }
:root.dark-mode .apoie-banner-overlay { background: linear-gradient(135deg,rgba(194,65,12,0.14) 0%,rgba(157,23,77,0.16) 50%,rgba(91,33,182,0.18) 100%) !important; border-color: var(--border) !important; }
:root.dark-mode .apoie-banner-eyebrow { color: #c4b5fd !important; }
:root.dark-mode .apoie-card.apoie-pix { border-color: rgba(52,211,153,0.45) !important; }
:root.dark-mode .apoie-card.apoie-cardao { border-color: rgba(59,130,246,0.45) !important; }
:root.dark-mode .apoie-card.apoie-pix span > span:last-child { color: #34d399 !important; }
:root.dark-mode .apoie-card.apoie-cardao span > span:last-child { color: #818cf8 !important; }
:root.dark-mode .with-banner::before { background: linear-gradient(100deg, rgba(2,6,23,0.93) 0%, rgba(2,6,23,0.75) 45%, rgba(2,6,23,0.25) 80%, transparent 100%) !important; }
:root.dark-mode .btn-outline, :root.dark-mode .link-arrow { color: var(--text); border-color: var(--border); }
:root.dark-mode .bcat-count.empty { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.3); color: #67e8f9; }
:root.dark-mode .eyebrow, :root.dark-mode .text-muted { color: var(--text-muted); }
:root.dark-mode .pthumb.active { border-color: var(--accent-cyan); box-shadow: 0 0 0 2px rgba(6,182,212,0.25); }
:root.dark-mode footer.site-footer { background: #050814; border-top-color: var(--border); }
:root.dark-mode .theme-toggle { color: var(--text); border-color: var(--border); background: rgba(17, 24, 39, 0.5); }
:root.dark-mode .theme-toggle:hover { border-color: var(--accent-cyan); color: #67e8f9; }
:root.dark-mode .theme-toggle .icon-sun  { display: inline-flex; }
:root.dark-mode .theme-toggle .icon-moon { display: none; }
:root.dark-mode .with-banner .hero-title,
:root.dark-mode .with-banner .page-title,
:root.dark-mode .with-banner h1,
:root.dark-mode .with-banner h2,
:root.dark-mode .with-banner h3,
:root.dark-mode .with-banner p,
:root.dark-mode .with-banner .eyebrow,
:root.dark-mode .with-banner .breadcrumb { color: #ffffff !important; }
:root.dark-mode .with-banner .hero-desc,
:root.dark-mode .with-banner .page-subtitle,
:root.dark-mode .with-banner .breadcrumb a,
:root.dark-mode .with-banner .text-muted { color: rgba(255,255,255,0.85) !important; }
:root.dark-mode .hero.with-banner {
  background:
    linear-gradient(90deg,
      rgba(2,6,23,0.97) 0%,
      rgba(2,6,23,0.90) 38%,
      rgba(2,6,23,0.68) 52%,
      rgba(2,6,23,0.38) 64%,
      rgba(2,6,23,0.12) 74%,
      transparent 86%),
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(139,92,246,0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(6,182,212,0.10), transparent 60%),
    url("../images/banners/d_banner_inicio.png") right center / auto 100% no-repeat,
    linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
}
:root.dark-mode .page-header.with-banner {
  background-color: #020617 !important;
}
:root.dark-mode .page-header.banner-catalogo {
  background:
    linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(59,130,246,0.14), transparent 60%),
    url("../images/banners/d_banner_catalogo.png") right center / 88% auto no-repeat,
    linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
}
:root.dark-mode .page-header.banner-categoria {
  background:
    linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.16), transparent 60%),
    url("../images/banners/d_banner_categoria.png") right center / 88% auto no-repeat,
    linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
}
:root.dark-mode .page-header.banner-sobre {
  background:
    linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(6,182,212,0.14), transparent 60%),
    url("../images/banners/d_banner_sobre.png") right center / cover no-repeat,
    linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
}
:root.dark-mode .page-header.banner-contato {
  background:
    linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(236,72,153,0.16), transparent 60%),
    url("../images/banners/d_banner_contato.png") right center / 88% auto no-repeat,
    linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
}
:root.dark-mode .page-header.banner-calculadora {
  background:
    linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.18), transparent 60%),
    url("../images/banners/d_banner_calculadora.png") right center / cover no-repeat,
    linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
}
:root.dark-mode .ct-card {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--text);
}
:root.dark-mode .ct-card h5 { color: var(--text); }
:root.dark-mode .ct-card p { color: var(--text-soft); }
:root.dark-mode .ct-card.ct-whatsapp { background: rgba(22,163,74,0.10); border-color: rgba(22,163,74,0.30); }
:root.dark-mode .ct-card.ct-email { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.30); }
:root.dark-mode .ct-card.ct-social { background: rgba(168,85,247,0.10); border-color: rgba(168,85,247,0.30); }
:root.dark-mode .ct-card.ct-hours { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.30); }
:root.dark-mode .copy-email { background: var(--bg-soft-2); color: var(--text-soft); border-color: var(--border); }
:root.dark-mode .copy-email:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }
:root.dark-mode .social-list a { background: var(--bg-soft-2); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
/* Banner inline (imagem direita) troca para d_ no dark */
:root.dark-mode .banner-inline-img {
  content: url("../images/banners/d_banner_catalogo.png") !important;
}
:root.dark-mode .hours-list strong { color: var(--text); }
:root.dark-mode .contact-form-card,
:root.dark-mode .contact-side-card {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--text);
}
:root.dark-mode .contact-form-card h3,
:root.dark-mode .contact-side-card h3,
:root.dark-mode .side-block h4 { color: var(--text); }
:root.dark-mode .side-block h4 .icon { background: rgba(59,130,246,0.16); color: var(--accent-blue); }
:root.dark-mode .faq-item { background: var(--bg-soft-2); border-color: var(--border); }
:root.dark-mode .faq-q { color: var(--text); }
:root.dark-mode .faq-q:hover { background: rgba(148,163,184,0.08); }
:root.dark-mode .faq-a-inner { color: var(--text-soft); }
:root.dark-mode .loc-pin .icon { background: rgba(59,130,246,0.16); color: var(--accent-blue); }
:root.dark-mode .loc-pin strong { color: var(--text); }
:root.dark-mode .category-card {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--text);
}
:root.dark-mode .category-card h3 { color: var(--text); }
:root.dark-mode .category-card .cat-link { color: var(--text-soft); }
:root.dark-mode .category-card .cat-link:hover { color: var(--accent-cyan); }
:root.dark-mode .cat-1, :root.dark-mode .cat-2, :root.dark-mode .cat-3,
:root.dark-mode .cat-4, :root.dark-mode .cat-5, :root.dark-mode .cat-6,
:root.dark-mode .cat-7, :root.dark-mode .cat-8 { background: var(--bg-soft); }

/* BLOCO 2 — Dark Mode AUTOMÁTICO (prefere sistema operacional, A MENOS que usuário escolheu manualmente light) */
@media (prefers-color-scheme: dark) {
  :root:not(.light-mode) {
    --bg: #0b1120;
    --bg-soft: #111827;
    --bg-soft-2: #0f172a;
    --bg-dark: #020617;

    --text: #f1f5f9;
    --text-soft: #cbd5e1;
    --text-muted: #94a3b8;
    --text-inverse: #0f172a;

    --border: rgba(148, 163, 184, 0.18);
    --border-soft: rgba(148, 163, 184, 0.08);

    --shopee-orange-light: rgba(238, 77, 45, 0.12);
    --stl-purple-light: rgba(139, 92, 246, 0.12);
    --accent-gradient-soft: linear-gradient(135deg, rgba(6,182,212,0.18) 0%, rgba(139,92,246,0.18) 100%);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.45), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
  }
  :root:not(.light-mode) body {
    background: radial-gradient(1200px 600px at 100% -10%, rgba(139, 92, 246, 0.10) 0%, transparent 60%),
                radial-gradient(900px 500px at 0% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 55%),
                var(--bg);
  }
  :root:not(.light-mode) .section.bg-light { background: var(--bg-soft); }
  :root:not(.light-mode) .card, :root:not(.light-mode) .product-card, :root:not(.light-mode) .category-card,
  :root:not(.light-mode) .big-cat-card, :root:not(.light-mode) .prod-info, :root:not(.light-mode) .specs-list li,
  :root:not(.light-mode) .prod-desc, :root:not(.light-mode) .sidebar-filters, :root:not(.light-mode) .testimonial-card,
  :root:not(.light-mode) input, :root:not(.light-mode) select, :root:not(.light-mode) textarea,
  :root:not(.light-mode) .prod-specs, :root:not(.light-mode) .prod-prazo, :root:not(.light-mode) .article {
    background: var(--bg-soft);
    border-color: var(--border);
  }
  :root:not(.light-mode) .sidebar-filters { background: rgba(17, 24, 39, 0.65); backdrop-filter: blur(12px); }
  :root:not(.light-mode) .sidebar-filters .search-block,
  :root:not(.light-mode) .sidebar-filters > * { background: transparent !important; color: var(--text); }
  :root:not(.light-mode) header.main-header, :root:not(.light-mode) header.site-header { background: rgba(11, 17, 32, 0.88); backdrop-filter: blur(16px); border-bottom-color: var(--border); }
  :root:not(.light-mode) .mobile-menu { background: var(--bg); border-top-color: var(--border); color: var(--text); }
  :root:not(.light-mode) .mobile-menu .nav-link { color: var(--text-soft); }
  :root:not(.light-mode) .mobile-menu .nav-link.active { background: var(--bg-soft); color: var(--text); }
  :root:not(.light-mode) .cta-calculadora-banner .cta-banner-overlay { background: linear-gradient(135deg, rgba(3, 105, 161, 0.88) 0%, rgba(91, 33, 182, 0.9) 100%); }
  :root:not(.light-mode) .cta-calculadora-banner { border-color: rgba(255,255,255,0.08); }
  :root:not(.light-mode) .apoie-banner-overlay { background: linear-gradient(135deg,rgba(194,65,12,0.14) 0%,rgba(157,23,77,0.16) 50%,rgba(91,33,182,0.18) 100%) !important; border-color: var(--border) !important; }
  :root:not(.light-mode) .apoie-banner-eyebrow { color: #c4b5fd !important; }
  :root:not(.light-mode) .apoie-card.apoie-pix { border-color: rgba(52,211,153,0.45) !important; }
  :root:not(.light-mode) .apoie-card.apoie-cardao { border-color: rgba(59,130,246,0.45) !important; }
  :root:not(.light-mode) .apoie-card.apoie-pix span > span:last-child { color: #34d399 !important; }
  :root:not(.light-mode) .apoie-card.apoie-cardao span > span:last-child { color: #818cf8 !important; }
  :root:not(.light-mode) .with-banner::before { background: linear-gradient(100deg, rgba(2,6,23,0.93) 0%, rgba(2,6,23,0.75) 45%, rgba(2,6,23,0.25) 80%, transparent 100%) !important; }
  :root:not(.light-mode) .btn-outline, :root:not(.light-mode) .link-arrow { color: var(--text); border-color: var(--border); }
  :root:not(.light-mode) .bcat-count.empty { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.3); color: #67e8f9; }
  :root:not(.light-mode) .eyebrow, :root:not(.light-mode) .text-muted { color: var(--text-muted); }
  :root:not(.light-mode) .pthumb.active { border-color: var(--accent-cyan); box-shadow: 0 0 0 2px rgba(6,182,212,0.25); }
  :root:not(.light-mode) footer.site-footer { background: #050814; border-top-color: var(--border); }
  :root:not(.light-mode) .theme-toggle { color: var(--text); border-color: var(--border); background: rgba(17, 24, 39, 0.5); }
  :root:not(.light-mode) .theme-toggle:hover { border-color: var(--accent-cyan); color: #67e8f9; }
  :root:not(.light-mode) .theme-toggle .icon-sun  { display: inline-flex; }
  :root:not(.light-mode) .theme-toggle .icon-moon { display: none; }
  :root:not(.light-mode) .with-banner .hero-title,
  :root:not(.light-mode) .with-banner .page-title,
  :root:not(.light-mode) .with-banner h1,
  :root:not(.light-mode) .with-banner h2,
  :root:not(.light-mode) .with-banner h3,
  :root:not(.light-mode) .with-banner p,
  :root:not(.light-mode) .with-banner .eyebrow,
  :root:not(.light-mode) .with-banner .breadcrumb { color: #ffffff !important; }
  :root:not(.light-mode) .with-banner .hero-desc,
  :root:not(.light-mode) .with-banner .page-subtitle,
  :root:not(.light-mode) .with-banner .breadcrumb a,
  :root:not(.light-mode) .with-banner .text-muted { color: rgba(255,255,255,0.85) !important; }
  :root:not(.light-mode) .hero.with-banner {
    background:
      linear-gradient(90deg,
        rgba(2,6,23,0.97) 0%,
        rgba(2,6,23,0.90) 38%,
        rgba(2,6,23,0.68) 52%,
        rgba(2,6,23,0.38) 64%,
        rgba(2,6,23,0.12) 74%,
        transparent 86%),
      radial-gradient(ellipse 80% 60% at 85% 20%, rgba(139,92,246,0.14), transparent 60%),
      radial-gradient(ellipse 60% 50% at 10% 80%, rgba(6,182,212,0.10), transparent 60%),
      url("../images/banners/d_banner_inicio.png") right center / auto 100% no-repeat,
      linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
  }
  :root:not(.light-mode) .page-header.with-banner {
    background-color: #020617 !important;
  }
  :root:not(.light-mode) .page-header.banner-catalogo {
    background:
      linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(59,130,246,0.14), transparent 60%),
      url("../images/banners/d_banner_catalogo.png") right center / 88% auto no-repeat,
      linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
  }
  :root:not(.light-mode) .page-header.banner-categoria {
    background:
      linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.16), transparent 60%),
      url("../images/banners/d_banner_categoria.png") right center / 88% auto no-repeat,
      linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
  }
  :root:not(.light-mode) .page-header.banner-sobre {
    background:
      linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(6,182,212,0.14), transparent 60%),
      url("../images/banners/d_banner_sobre.png") right center / cover no-repeat,
      linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
  }
  :root:not(.light-mode) .page-header.banner-contato {
    background:
      linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(236,72,153,0.16), transparent 60%),
      url("../images/banners/d_banner_contato.png") right center / 88% auto no-repeat,
      linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
  }
  :root:not(.light-mode) .page-header.banner-calculadora {
    background:
      linear-gradient(90deg, rgba(2,6,23,0.97) 0%, rgba(2,6,23,0.90) 38%, rgba(2,6,23,0.68) 52%, rgba(2,6,23,0.38) 62%, rgba(2,6,23,0.12) 72%, transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.18), transparent 60%),
      url("../images/banners/d_banner_calculadora.png") right center / cover no-repeat,
      linear-gradient(180deg, #0b1120 0%, #020617 100%) !important;
  }
  :root:not(.light-mode) .ct-card {
    background: var(--bg-soft);
    border-color: var(--border);
    color: var(--text);
  }
  :root:not(.light-mode) .ct-card h5 { color: var(--text); }
  :root:not(.light-mode) .ct-card p { color: var(--text-soft); }
  :root:not(.light-mode) .ct-card.ct-whatsapp { background: rgba(22,163,74,0.10); border-color: rgba(22,163,74,0.30); }
  :root:not(.light-mode) .ct-card.ct-email { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.30); }
  :root:not(.light-mode) .ct-card.ct-social { background: rgba(168,85,247,0.10); border-color: rgba(168,85,247,0.30); }
  :root:not(.light-mode) .ct-card.ct-hours { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.30); }
  :root:not(.light-mode) .copy-email { background: var(--bg-soft-2); color: var(--text-soft); border-color: var(--border); }
  :root:not(.light-mode) .copy-email:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }
  :root:not(.light-mode) .social-list a { background: var(--bg-soft-2); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
  /* Banner inline (imagem direita) troca para d_ no dark automático */
  :root:not(.light-mode) .banner-inline-img {
    content: url("../images/banners/d_banner_catalogo.png") !important;
  }
  :root:not(.light-mode) .hours-list strong { color: var(--text); }
  :root:not(.light-mode) .contact-form-card,
  :root:not(.light-mode) .contact-side-card {
    background: var(--bg-soft);
    border-color: var(--border);
    color: var(--text);
  }
  :root:not(.light-mode) .contact-form-card h3,
  :root:not(.light-mode) .contact-side-card h3,
  :root:not(.light-mode) .side-block h4 { color: var(--text); }
  :root:not(.light-mode) .side-block h4 .icon { background: rgba(59,130,246,0.16); color: var(--accent-blue); }
  :root:not(.light-mode) .faq-item { background: var(--bg-soft-2); border-color: var(--border); }
  :root:not(.light-mode) .faq-q { color: var(--text); }
  :root:not(.light-mode) .faq-q:hover { background: rgba(148,163,184,0.08); }
  :root:not(.light-mode) .faq-a-inner { color: var(--text-soft); }
  :root:not(.light-mode) .loc-pin .icon { background: rgba(59,130,246,0.16); color: var(--accent-blue); }
  :root:not(.light-mode) .loc-pin strong { color: var(--text); }
  :root:not(.light-mode) .category-card {
    background: var(--bg-soft);
    border-color: var(--border);
    color: var(--text);
  }
  :root:not(.light-mode) .category-card h3 { color: var(--text); }
  :root:not(.light-mode) .category-card .cat-link { color: var(--text-soft); }
  :root:not(.light-mode) .category-card .cat-link:hover { color: var(--accent-cyan); }
  :root:not(.light-mode) .cat-1, :root:not(.light-mode) .cat-2, :root:not(.light-mode) .cat-3,
  :root:not(.light-mode) .cat-4, :root:not(.light-mode) .cat-5, :root:not(.light-mode) .cat-6,
  :root:not(.light-mode) .cat-7, :root:not(.light-mode) .cat-8 { background: var(--bg-soft); }
}

/* Botão toggle tema (sol/lua) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  transition: all 0.25s ease;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 8px;
}
.theme-toggle:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(59,130,246,.25);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: inline-flex; }

@media (max-width: 640px) {
  .theme-toggle { margin-right: 4px; width: 38px; height: 38px; border-radius: 10px; }
  .theme-toggle svg { width: 17px; height: 17px; }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ============================================
   Layout Helpers
   ============================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 12px; color: var(--accent-blue); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-gradient {
  background: var(--accent-gradient);
  color: #fff;
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(139,92,246,0.5);
}

.btn-shopee {
  background: var(--shopee-orange-light);
  color: var(--shopee-orange);
  border: 1px solid rgba(238,77,45,0.2);
}
.btn-shopee:hover {
  background: var(--shopee-orange);
  color: #fff;
  transform: translateY(-1px);
}

.btn-stl {
  background: var(--stl-purple-light);
  color: var(--stl-purple);
  border: 1px solid rgba(139,92,246,0.2);
}
.btn-stl:hover {
  background: var(--stl-purple);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13px; border-radius: 10px; }

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 40px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: auto;
  height: 56px;
  display: block;
  max-height: 64px;
}
.hero-logo-img.brand-logo,
.hero-logo-img {
  max-width: 280px;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  display: block;
  margin: 12px 0 8px;
}
.brand-logo::before {
  display: none;
}

.brand-text {
  display: none;
}
.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-name span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-soft);
  transition: all 0.15s ease;
  position: relative;
}
.nav-link:hover { color: var(--text); background: var(--bg-soft); }
.nav-link.active { color: var(--text); font-weight: 600; }
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 3px;
  border-radius: 2px;
  background: var(--accent-gradient);
}

.nav-search {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}
.nav-search input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 14px;
  outline: none;
  transition: all 0.15s ease;
}
.nav-search input:focus {
  border-color: var(--accent-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}
.nav-search svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
}

.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 11px 20px;
  border-radius: 12px;
  min-width: 160px;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(59,130,246,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139,92,246,0.28);
}

.nav-toggle {
  display: none;
  padding: 10px;
  border-radius: 10px;
  color: var(--text);
}
.nav-toggle:hover { background: var(--bg-soft); }

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-search { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav { justify-content: space-between; gap: 16px; }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
  padding: 16px 24px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu .nav-link { display: block; padding: 14px 16px; border-radius: 12px; }
.mobile-menu .nav-link.active { background: var(--bg-soft); }
.mobile-menu .nav-link.active::after { display: none; }
.mobile-menu .mobile-search {
  position: relative;
  margin: 16px 0;
}
.mobile-menu .mobile-search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 14px;
  outline: none;
}
.mobile-menu .mobile-search svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
}

.sidebar-search {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 10px;
}
.sidebar-search input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 14px;
  outline: none;
  transition: all 0.15s ease;
  font-family: inherit;
  color: var(--text);
}
.sidebar-search input::placeholder { color: var(--text-muted); }
.sidebar-search input:focus {
  border-color: var(--accent-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}
.sidebar-search svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
}

/* ============================================
   HERO / HOME
   ============================================ */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(139,92,246,0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(6,182,212,0.10), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 80px;
  min-height: 580px;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-tags span { display: flex; align-items: center; gap: 10px; }
.hero-tags span::after {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent-purple);
  display: inline-block;
}
.hero-tags span:last-child::after { display: none; }

.hero-title {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 20px;
}
.hero-title .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
}
.badge-item .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-item .icon svg { width: 22px; height: 22px; }

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: var(--accent-gradient);
  filter: blur(80px);
  opacity: 0.18;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.18; }
  50% { transform: scale(1.08); opacity: 0.28; }
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-soft-2);
  box-shadow: var(--shadow-xl);
}
.hero-image img, .hero-image .placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-vertical-text {
  position: absolute;
  right: 0; top: 40px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}
.hero-vertical-text::after {
  content: "";
  display: block;
  width: 3px; height: 40px;
  margin-top: 14px;
  margin-left: auto;
  background: var(--accent-gradient);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 32px 0 56px;
    gap: 24px;
  }
  .hero-visual { min-height: 360px; order: -1; }
  .hero-vertical-text { display: none; }
  .hero-badges { gap: 16px; }
}

/* Placeholder images — remover quando tiver imagens reais */
.placeholder {
  background: linear-gradient(135deg, var(--bg-soft-2), #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  padding: 20px;
  position: relative;
}
.placeholder::after {
  content: attr(data-label);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  position: absolute;
  bottom: 12px; left: 12px;
}

/* ============================================
   Categorias Cards (Home)
   ============================================ */

.categories-grid { display: block; position: relative; }

.home-cats-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  --gap: 20px;
  --cat-gap: 20px;
}
.home-cats-carousel[data-no-nav] { gap: 0; }
.hcc-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  touch-action: pan-y;
}
.hcc-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--gap);
  will-change: transform;
}
.hcc-track .category-card { margin: 0; flex: 0 0 calc(20% - (var(--gap) * 4 / 5)); }

.hcc-btn {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: #0f172a;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all .18s ease;
  z-index: 2;
}
.hcc-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(59,130,246,0.22);
  color: #2563eb;
  border-color: rgba(59,130,246,0.3);
}
.hcc-btn:active:not(:disabled) { transform: translateY(0); }
.hcc-btn:disabled { opacity: .32; cursor: not-allowed; filter: grayscale(.4); }

.hcc-dots {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hcc-dot {
  width: 8px; height: 8px; border-radius: 999px;
  border: 0; padding: 0; cursor: pointer;
  background: #cbd5e1;
  transition: all .22s ease;
  transform-origin: center;
}
.hcc-dot:hover { background: #94a3b8; transform: scale(1.2); }
.hcc-dot.active {
  width: 26px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 4px 12px rgba(139,92,246,0.4);
}

@media (max-width: 900px) {
  .home-cats-carousel { --gap: 16px; --cat-gap: 16px; gap: 10px; }
  .hcc-track .category-card { flex: 0 0 calc(33.333% - (var(--gap) * 2 / 3)); }
  .hcc-btn { width: 40px; height: 40px; }
  .hcc-dot { width: 7px; height: 7px; }
  .hcc-dot.active { width: 22px; }
}
@media (max-width: 560px) {
  .home-cats-carousel { --gap: 14px; --cat-gap: 14px; gap: 8px; }
  .hcc-track .category-card { flex: 0 0 calc(50% - (var(--gap) / 2)); padding: 14px; }
  .category-card h3 { font-size: 14.5px; }
  .category-card .cat-link { font-size: 12px; }
  .category-card .cat-image { margin-bottom: 12px; }
  .hcc-btn { width: 36px; height: 36px; }
  .hcc-btn svg { width: 16px; height: 16px; }
}
@media (max-width: 380px) {
  .home-cats-carousel { --gap: 12px; --cat-gap: 12px; }
  .category-card h3 { font-size: 13.5px; margin-bottom: 8px; }
  .category-card .cat-link { font-size: 11.5px; }
  .category-card { padding: 12px; border-radius: var(--radius); }
  .hcc-dots { margin-top: 16px; }
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid var(--border-soft);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.category-card .cat-image {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-soft-2);
}
.category-card .cat-image img,
.category-card .cat-image .placeholder {
  width: 100%; height: 100%; object-fit: cover;
}
.category-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.category-card .cat-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.category-card .cat-link:hover { color: var(--accent-blue); }

.category-card .cat-image .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.category-card .cat-image .placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events: none;
}
.category-card .cat-image .bcat-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.25);
  z-index: 1;
  position: relative;
  transition: transform 0.35s ease;
}
.category-card .cat-image .bcat-icon-wrapper svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}
.category-card:hover .cat-image .bcat-icon-wrapper {
  transform: scale(1.08) rotate(-2deg);
}
.category-card[data-cat="cortadores"]:hover { border-color: rgba(239,68,68,0.35); }
.category-card[data-cat="brinquedos-sensoriais"]:hover { border-color: rgba(59,130,246,0.35); }
.category-card[data-cat="brinquedos-articulados"]:hover { border-color: rgba(16,185,129,0.35); }
.category-card[data-cat="decoracao"]:hover { border-color: rgba(139,92,246,0.35); }
.category-card[data-cat="chaveiros"]:hover { border-color: rgba(245,158,11,0.35); }
.category-card[data-cat="organizadores"]:hover { border-color: rgba(236,72,153,0.35); }
.category-card[data-cat="suportes"]:hover { border-color: rgba(6,182,212,0.35); }
.category-card[data-cat="vasos"]:hover { border-color: rgba(16,185,129,0.35); }
.category-card[data-cat="utilidades"]:hover { border-color: rgba(71,85,105,0.35); }
.category-card[data-cat="action-figures"]:hover { border-color: rgba(220,38,38,0.35); }
.category-card[data-cat="jogos"]:hover { border-color: rgba(234,179,8,0.35); }
.category-card[data-cat="porta-latas-copos"]:hover { border-color: rgba(245,158,11,0.35); }

/* category colors — preserved as fallback for static HTML; dynamic JSON uses inline */
.cat-1 { background: linear-gradient(180deg, #ecfeff 0%, #ffffff 100%); }
.cat-2 { background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%); }
.cat-3 { background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%); }
.cat-4 { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%); }
.cat-5 { background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%); }
.cat-6 { background: linear-gradient(180deg, #fdf4ff 0%, #ffffff 100%); }
.cat-7 { background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%); }
.cat-8 { background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%); }
.cat-9 { background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%); }

/* ============================================
   Produtos Cards
   ============================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } }

.products-grid.list-view {
  grid-template-columns: 1fr !important;
}
.products-grid.list-view .product-card {
  flex-direction: row;
  gap: 24px;
  padding: 20px;
}
.products-grid.list-view .product-card .product-image {
  aspect-ratio: 1 / 1;
  width: 200px;
  flex-shrink: 0;
  margin-bottom: 0;
}
.products-grid.list-view .product-card > .product-image + * { margin-top: 0; }
.products-grid.list-view .product-card .product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.products-grid.list-view .product-card .product-name {
  font-size: 18px;
}
.products-grid.list-view .product-card .product-actions {
  flex-direction: row;
  margin-top: auto;
  flex-wrap: wrap;
}
.products-grid.list-view .product-card .product-actions .btn {
  width: auto;
}
@media (max-width: 600px) {
  .products-grid.list-view .product-card { flex-direction: column; }
  .products-grid.list-view .product-card .product-image { width: 100%; }
}

.product-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.product-image {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft-2);
  margin-bottom: 18px;
  position: relative;
}
.product-image img,
.product-image .placeholder {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.04); }

.product-cat {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.product-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.3;
  flex: 1;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap;
  margin-bottom: 14px;
}
.product-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.product-stock {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 1;
  min-width: 0;
}
@media (max-width: 600px) {
  .product-price { font-size: 19px; }
  .product-stock { font-size: 11px; }
}
@media (max-width: 380px) {
  .product-price { font-size: 17px; }
  .product-stock { font-size: 10.5px; }
}
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Galeria múltipla de fotos */
.product-gallery {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.product-gallery .thumb {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--bg-soft-2);
  transition: all 0.15s ease;
  padding: 0;
}
.product-gallery .thumb:hover { border-color: var(--border); }
.product-gallery .thumb.active { border-color: var(--accent-purple); }
.product-gallery .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 480px) {
  .product-gallery { grid-template-columns: repeat(3, 1fr); }
}

/* Badges extras */
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  margin-bottom: 10px;
}
.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  line-height: 1.4;
}
.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   Benefits Bar (Home)
   ============================================ */

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  margin-top: 32px;
}
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .benefits { grid-template-columns: 1fr; } }

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
}
.benefit .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.benefit .icon svg { width: 22px; height: 22px; }
.benefit strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.benefit span {
  font-size: 13px;
  color: var(--text-soft);
}

/* ============================================
   Page Header (Interior)
   ============================================ */

.page-header {
  background:
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.10), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(6,182,212,0.08), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-soft);
}

.breadcrumb {
  padding: 20px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--accent-blue); }
.breadcrumb .sep { color: var(--text-muted); opacity: 0.5; }

.page-header-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  padding: 40px 0 64px;
  align-items: center;
}
.page-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.page-header h1 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header .page-subtitle {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.page-header .page-desc {
  color: var(--text-soft);
  font-size: 16px;
  max-width: 560px;
  line-height: 1.65;
}

.page-header-right {
  display: flex;
  justify-content: flex-end;
  position: relative;
}
.ph-feature {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  line-height: 2;
}
.ph-feature .grad-line {
  display: inline-block;
  width: 80px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin-top: 10px;
}
.ph-feature span { display: block; }
.ph-feature .c-cyan { color: var(--accent-cyan); }
.ph-feature .c-blue { color: var(--accent-blue); }
.ph-feature .c-purple { color: var(--accent-purple); }
.ph-feature .c-pink { color: var(--accent-pink); }

.ph-cube {
  position: absolute;
  right: 0; top: -20px;
  width: 220px;
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 900px) {
  .page-header-inner { grid-template-columns: 1fr; padding: 24px 0 48px; }
  .page-header-right { justify-content: flex-start; }
  .ph-feature { text-align: left; }
  .ph-cube { display: none; }
}

/* ============================================
   Catalog Layout
   ============================================ */

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: relative !important;
    top: auto !important;
    align-self: stretch;
    width: 100%;
    z-index: 10;
    margin-bottom: 8px;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.sidebar-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.cat-list::-webkit-scrollbar { width: 5px; }
.cat-list::-webkit-scrollbar-track { background: transparent; }
.cat-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.cat-list::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.cat-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
  transition: all 0.15s ease;
}
.cat-list a:hover { background: var(--bg-soft); color: var(--text); }
.cat-list a.active {
  background: var(--accent-gradient-soft);
  color: var(--accent-blue);
  font-weight: 600;
}
.cat-list a svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* Price Range */
.price-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}
.range-slider {
  position: relative;
  width: 100%;
  height: 6px;
  background: var(--border-soft);
  border-radius: 4px;
  margin-bottom: 4px;
}
.range-fill {
  position: absolute;
  left: 0; right: 0;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 4px;
}
.range-handles {
  position: absolute;
  inset: 0;
}
.range-handles input[type="range"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 6px;
}
.range-handles input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-blue);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.range-handles input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent-blue);
  cursor: pointer;
}

/* Select */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}
.field select, .field input, .field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all 0.15s ease;
}
.field select:focus, .field input:focus, .field textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

/* Catalog top bar */
.catalog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.catalog-top h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.catalog-top p { color: var(--text-muted); font-size: 14px; }

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.view-toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--bg-soft);
  border-radius: 10px;
  gap: 2px;
  border: 1px solid var(--border-soft);
}
.view-toggle button {
  width: 34px; height: 34px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.15s ease;
}
.view-toggle button svg { width: 16px; height: 16px; }
.view-toggle button.active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination .page-btn {
  min-width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  transition: all 0.15s ease;
}
.pagination .page-btn:hover { background: var(--bg-soft); color: var(--text); }
.pagination .page-btn.active {
  background: var(--accent-gradient);
  color: #fff;
}
.pagination .dots { padding: 0 4px; color: var(--text-muted); }
.pagination .nav-btn {
  color: var(--text);
}

/* ============================================
   Categorias page (big cards)
   ============================================ */

.big-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .big-cats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .big-cats-grid { grid-template-columns: 1fr; } }

.big-cat-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #fff;
  transition: all 0.25s ease;
  position: relative;
}
.big-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.big-cat-card .bcat-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft-2);
  position: relative;
}
.big-cat-card .bcat-image img,
.big-cat-card .bcat-image .placeholder {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.big-cat-card:hover .bcat-image img { transform: scale(1.06); }

.big-cat-card .bcat-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.big-cat-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.big-cat-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 10px;
}
.big-cat-card .bcat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}
.big-cat-card .bcat-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.big-cat-card .bcat-count.empty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,118,110,0.08);
  color: #0f766e;
  font-size: 12px;
}
.big-cat-card .bcat-count.empty svg {
  color: #0f766e;
}
.big-cat-card:hover .bcat-count.empty {
  background: rgba(15,118,110,0.14);
}
.big-cat-card .bcat-arrow {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all 0.2s ease;
}
.big-cat-card:hover .bcat-arrow {
  background: var(--accent-gradient);
  color: #fff;
  transform: translateX(4px);
}
.big-cat-card .bcat-arrow svg { width: 18px; height: 18px; }

.big-cat-card .bcat-image .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.big-cat-card .bcat-image .placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events: none;
}
.bcat-icon-wrapper {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.25);
  z-index: 1;
  position: relative;
  transition: transform 0.35s ease;
}
.bcat-icon-wrapper svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.9;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}
.big-cat-card:hover .bcat-icon-wrapper {
  transform: scale(1.08) rotate(-2deg);
}

.big-cat-card[data-cat="cortadores"]:hover { border-color: rgba(239,68,68,0.35); }
.big-cat-card[data-cat="brinquedos-sensoriais"]:hover { border-color: rgba(59,130,246,0.35); }
.big-cat-card[data-cat="brinquedos-articulados"]:hover { border-color: rgba(16,185,129,0.35); }
.big-cat-card[data-cat="decoracao"]:hover { border-color: rgba(139,92,246,0.35); }
.big-cat-card[data-cat="chaveiros"]:hover { border-color: rgba(245,158,11,0.35); }
.big-cat-card[data-cat="organizadores"]:hover { border-color: rgba(236,72,153,0.35); }
.big-cat-card[data-cat="suportes"]:hover { border-color: rgba(6,182,212,0.35); }
.big-cat-card[data-cat="vasos"]:hover { border-color: rgba(16,185,129,0.35); }
.big-cat-card[data-cat="utilidades"]:hover { border-color: rgba(71,85,105,0.35); }
.big-cat-card[data-cat="action-figures"]:hover { border-color: rgba(220,38,38,0.35); }
.big-cat-card[data-cat="jogos"]:hover { border-color: rgba(234,179,8,0.35); }
.big-cat-card[data-cat="porta-latas-copos"]:hover { border-color: rgba(245,158,11,0.35); }

/* Orçamento CTA */
.orcamento-cta {
  margin-top: 40px;
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(139,92,246,0.12);
  flex-wrap: wrap;
}
.orcamento-cta .cta-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.orcamento-cta .cta-icon svg { width: 28px; height: 28px; }
.orcamento-cta .cta-text { flex: 1; min-width: 240px; }
.orcamento-cta h4 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.orcamento-cta p {
  color: var(--text-soft);
  font-size: 14px;
}

/* ============================================
   Sobre Page
   ============================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-row { grid-template-columns: 1fr; } }

.stat-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-soft);
}
.stat-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.stat-card .icon svg { width: 24px; height: 24px; }
.stat-card strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-card span {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 900px) { .about-image { display: none !important; } }

.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-soft-2);
  position: relative;
  box-shadow: var(--shadow-xl);
}
.about-image img,
.about-image .placeholder {
  width: 100%; height: 100%; object-fit: cover;
}
.about-image .watermark {
  position: absolute;
  bottom: 24px; left: 24px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.about-image .watermark em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  margin-top: 6px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-story .eyebrow { color: var(--text-muted); }
.about-story h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.about-story p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 1000px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.value-card .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  margin-bottom: 2px;
}
.value-card .icon svg { width: 20px; height: 20px; }
.value-card h5 {
  font-size: 15px;
  font-weight: 700;
}
.value-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}

/* Purpose + Quote */
.purpose-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 900px) { .purpose-row { grid-template-columns: 1fr; } }

.purpose-box, .quote-box {
  border-radius: var(--radius-xl);
  padding: 36px;
}
.purpose-box {
  background: var(--bg-soft);
}
.purpose-box h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
  line-height: 1.1;
  max-width: 480px;
}
.purpose-box p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 500px;
}

.quote-box {
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(139,92,246,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-box .quote-mark {
  font-size: 80px;
  line-height: 0.6;
  color: var(--accent-purple);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 20px;
}
.quote-box blockquote {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 20px;
}
.quote-box .quote-author {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Big CTA */
.big-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 56px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .big-cta { grid-template-columns: 1fr; padding: 40px 32px; }
}
.big-cta::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  right: -100px; top: -200px;
  background: var(--accent-gradient);
  filter: blur(120px);
  opacity: 0.25;
  border-radius: 50%;
}
.big-cta h3 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
  position: relative;
}
.big-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  position: relative;
}
.big-cta-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.big-cta-image img,
.big-cta-image .placeholder {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.big-cta-action {
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 900px) {
  .big-cta-action { justify-content: flex-start; }
}
.big-cta-action .btn-note {
  width: 100%;
  text-align: right;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-top: -8px;
}

/* ============================================
   Contato Page
   ============================================ */

.contact-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
@media (max-width: 1000px) { .contact-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .contact-top { grid-template-columns: 1fr; } }

.ct-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border-soft);
  background: #fff;
}
.ct-card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 4px;
}
.ct-card .icon svg { width: 22px; height: 22px; }
.ct-card.ct-whatsapp { background: #f0fdf4; border-color: #bbf7d0; }
.ct-card.ct-whatsapp .icon { background: #22c55e; }
.ct-card.ct-email { background: #eff6ff; border-color: #bfdbfe; }
.ct-card.ct-email .icon { background: #3b82f6; }
.ct-card.ct-social { background: #fdf4ff; border-color: #f5d0fe; }
.ct-card.ct-social .icon { background: linear-gradient(135deg, #f472b6, #a855f7); }
.ct-card.ct-hours { background: #fffbeb; border-color: #fde68a; }
.ct-card.ct-hours .icon { background: #f59e0b; }

.ct-card h5 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.ct-card p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }
.ct-card .ct-action { margin-top: 4px; }
.social-list { display: flex; gap: 8px; margin-top: 4px; }
.social-list a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}
.social-list a:hover { transform: translateY(-2px); color: var(--accent-purple); }
.social-list svg { width: 18px; height: 18px; }

.hours-list { font-size: 13px; color: var(--text-soft); line-height: 1.8; }
.hours-list strong { color: var(--text); font-weight: 700; }

.copy-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  border: 1px solid var(--border);
  transition: all 0.15s ease;
}
.copy-email:hover { border-color: var(--accent-blue); color: var(--accent-blue); }
.copy-email svg { width: 15px; height: 15px; }

/* Contato main */
.contact-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .contact-main { grid-template-columns: 1fr; } }

.contact-form-card,
.contact-side-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.contact-form-card h3,
.contact-side-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.contact-form-card > p,
.contact-side-card > p {
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* FAQ */
.side-block + .side-block { margin-top: 28px; }
.side-block h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-block h4 .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-gradient-soft);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.side-block h4 .icon svg { width: 18px; height: 18px; }
.side-block > p {
  font-size: 13px;
  color: var(--text-muted);
  margin: -6px 0 14px 46px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color 0.15s ease;
}
.faq-item.open { border-color: var(--accent-blue); }

.faq-q {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  transition: background 0.15s ease;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q svg {
  width: 18px; height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--accent-blue); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a-inner {
  padding: 0 16px 16px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* Localização */
.loc-map {
  aspect-ratio: 16 / 9;
  min-height: 300px;
  height: 320px;
  max-height: 360px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-soft-2);
  border: 1px solid var(--border-soft);
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.loc-map iframe,
.loc-map img, .loc-map .placeholder {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
  object-fit: cover;
}
@media (max-width: 900px) {
  .loc-map {
    height: 290px !important;
    min-height: 260px !important;
    max-height: 320px !important;
    aspect-ratio: auto !important;
  }
}
@media (max-width: 560px) {
  .loc-map {
    height: 250px !important;
    min-height: 240px !important;
    max-height: 280px !important;
    aspect-ratio: auto !important;
    border-radius: 14px;
  }
}
.loc-pin {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.loc-pin .icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--accent-gradient-soft);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.loc-pin .icon svg { width: 16px; height: 16px; }
.loc-pin strong { font-size: 14px; font-weight: 700; display: block; }
.loc-pin span { font-size: 13px; color: var(--text-soft); }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  padding: 40px 0 24px;
  margin-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 40px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
}

.footer-brand p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.15s ease;
}
.footer-links a:hover { background: var(--bg-soft); color: var(--text); }
.footer-links a.active { color: var(--text); font-weight: 600; }

.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all 0.15s ease;
}
.footer-socials a:hover { background: var(--accent-gradient); color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom .legal a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-bottom .legal a:hover { color: var(--accent-blue); }
.footer-bottom .legal .sep { margin: 0 10px; opacity: 0.5; }

.footer-tagline {
  padding-left: 24px;
  border-left: 1px solid var(--border-soft);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.4;
}
@media (max-width: 700px) {
  .footer-tagline { border-left: none; padding-left: 0; }
}

/* ============================================
   Utility
   ============================================ */

.hidden { display: none !important; }

/* Scrollbar (modern browsers) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; border: 2px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* ============================================
   Banners de fundo das seções (PNG inteiro right)
   ============================================ */

/* Padrão: texto à esquerda, imagem PNG INTEIRA (contain) alinhada direita/centro,
   overlay de contraste gradiente do lado do texto para não ficar em cima da foto. */

.hero.with-banner {
  background:
    linear-gradient(90deg,
      rgba(248,250,252,0.98) 0%,
      rgba(248,250,252,0.95) 38%,
      rgba(248,250,252,0.75) 52%,
      rgba(248,250,252,0.35) 64%,
      rgba(248,250,252,0.10) 74%,
      transparent 86%),
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(139,92,246,0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(6,182,212,0.10), transparent 60%),
    url("../images/banners/banner_inicio.png") right center / auto 100% no-repeat,
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero.with-banner .hero-inner {
  grid-template-columns: 1fr;
  padding-right: 42%;
}
.hero.with-banner .hero-inner > :first-child {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.page-header.with-banner {
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 88% auto;
  min-height: 420px;
  position: relative;
}
.page-header.with-banner .page-header-inner {
  grid-template-columns: 1fr;
  padding-right: 0;
  position: relative;
}
.page-header.with-banner .page-header-inner > :first-child {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-right: 16px;
  padding-top: 16px;
  padding-bottom: 32px;
}
.page-header.banner-catalogo {
  background:
    linear-gradient(90deg,
      rgba(248,250,252,0.98) 0%,
      rgba(248,250,252,0.95) 38%,
      rgba(248,250,252,0.75) 52%,
      rgba(248,250,252,0.35) 62%,
      rgba(248,250,252,0.10) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(59,130,246,0.12), transparent 60%),
    url("../images/banners/banner_catalogo.png") right center / 88% auto no-repeat,
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.page-header.banner-categoria {
  background:
    linear-gradient(90deg,
      rgba(248,250,252,0.98) 0%,
      rgba(248,250,252,0.95) 38%,
      rgba(248,250,252,0.75) 52%,
      rgba(248,250,252,0.35) 62%,
      rgba(248,250,252,0.10) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.14), transparent 60%),
    url("../images/banners/banner_categoria.png") right center / 88% auto no-repeat,
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.page-header.banner-sobre {
  background:
    linear-gradient(90deg,
      rgba(248,250,252,0.98) 0%,
      rgba(248,250,252,0.95) 38%,
      rgba(248,250,252,0.75) 52%,
      rgba(248,250,252,0.35) 62%,
      rgba(248,250,252,0.10) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(6,182,212,0.12), transparent 60%),
    url("../images/banners/banner_sobre.png") right center / cover no-repeat,
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.page-header.banner-contato {
  background:
    linear-gradient(90deg,
      rgba(248,250,252,0.98) 0%,
      rgba(248,250,252,0.95) 38%,
      rgba(248,250,252,0.75) 52%,
      rgba(248,250,252,0.35) 62%,
      rgba(248,250,252,0.10) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(236,72,153,0.14), transparent 60%),
    url("../images/banners/banner_contato.png") right center / 88% auto no-repeat,
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.page-header.banner-calculadora {
  background:
    linear-gradient(90deg,
      rgba(248,250,252,0.98) 0%,
      rgba(248,250,252,0.95) 38%,
      rgba(248,250,252,0.75) 52%,
      rgba(248,250,252,0.35) 62%,
      rgba(248,250,252,0.10) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.14), transparent 60%),
    url("../images/banners/banner_calculadora.png") right center / cover no-repeat,
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.page-header.banner-calculadora .page-header-right { display: block !important; }

.hero.with-banner,
.page-header.with-banner,
.big-cta.with-banner {
  overflow: hidden;
}

.page-header.with-banner .page-header-right {
  display: none !important;
}
.big-cta.with-banner .big-cta-image {
  display: none !important;
}

.big-cta.with-banner {
  background-repeat: no-repeat;
  background-color: #0f172a;
  padding: 56px;
}
.big-cta.banner-cta-sobre {
  background:
    linear-gradient(90deg,
      rgba(15,23,42,0.98) 0%,
      rgba(15,23,42,0.97) 40%,
      rgba(15,23,42,0.90) 56%,
      rgba(15,23,42,0.70) 68%,
      rgba(15,23,42,0.40) 78%,
      rgba(30,27,75,0.20) 88%,
      transparent 96%),
    radial-gradient(circle at 70% 30%, rgba(6,182,212,0.25), transparent 55%),
    url("../images/banners/cte_solicite_um_orcamento_sobre.png") right center / cover no-repeat,
    linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}
.big-cta.banner-cta-contato {
  background:
    linear-gradient(90deg,
      rgba(15,23,42,0.98) 0%,
      rgba(15,23,42,0.97) 40%,
      rgba(15,23,42,0.90) 56%,
      rgba(15,23,42,0.70) 68%,
      rgba(15,23,42,0.40) 78%,
      rgba(30,27,75,0.20) 88%,
      transparent 96%),
    radial-gradient(circle at 70% 30%, rgba(139,92,246,0.30), transparent 55%),
    url("../images/banners/cte_solicite_um_orcamento_contato.png") right center / auto 100% no-repeat,
    linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}
.big-cta.with-banner .big-cta-image {
  display: none;
}
.big-cta.with-banner {
  grid-template-columns: 1fr;
}
.big-cta.with-banner > div:first-child {
  max-width: 560px;
  z-index: 2;
  position: relative;
}
.big-cta.with-banner .big-cta-action {
  max-width: 560px;
  justify-content: flex-start;
  z-index: 2;
  position: relative;
}
.big-cta.with-banner .btn-note {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: left !important;
  margin-top: 16px !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  float: none !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  top: auto !important;
  color: rgba(255,255,255,0.7) !important;
  font-size: 13px !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .hero.with-banner {
    background:
      linear-gradient(180deg,
        rgba(248,250,252,0.96) 0%,
        rgba(248,250,252,0.90) 45%,
        rgba(248,250,252,0.78) 100%),
      url("../images/banners/banner_inicio.png") 85% center / cover no-repeat,
      linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  }
  .hero.with-banner .hero-inner,
  .page-header.with-banner .page-header-inner {
    padding-right: 0 !important;
    padding-bottom: 56px !important;
    padding-top: 20px !important;
  }

  .page-header.with-banner {
    background:
      linear-gradient(180deg,
        rgba(248,250,252,0.96) 0%,
        rgba(248,250,252,0.88) 45%,
        rgba(248,250,252,0.72) 100%),
      var(--banner-mobile, url("../images/banners/banner_catalogo.png")) 85% center / cover no-repeat,
      linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: auto;
  }
  .page-header.banner-catalogo  { --banner-mobile: url("../images/banners/banner_catalogo.png"); }
  .page-header.banner-categoria { --banner-mobile: url("../images/banners/banner_categoria.png"); }
  .page-header.banner-sobre     { --banner-mobile: url("../images/banners/banner_sobre.png"); }
  .page-header.banner-contato   { --banner-mobile: url("../images/banners/banner_contato.png"); }
  .page-header.banner-calculadora { --banner-mobile: url("../images/banners/banner_calculadora.png"); }
  .big-cta.with-banner {
    background:
      linear-gradient(180deg,
        rgba(15,23,42,0.97) 0%,
        rgba(15,23,42,0.92) 50%,
        rgba(15,23,42,0.82) 100%),
      var(--banner-cta-mobile) 85% center / cover no-repeat,
      linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  }
  .big-cta.banner-cta-sobre   { --banner-cta-mobile: url("../images/banners/cte_solicite_um_orcamento_sobre.png"); padding: 40px 24px 40px; }
  .big-cta.banner-cta-contato { --banner-cta-mobile: url("../images/banners/cte_solicite_um_orcamento_contato.png"); padding: 40px 24px 40px; }
  .big-cta.with-banner > div:first-child,
  .big-cta.with-banner .big-cta-action { max-width: none !important; }
}

.article {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.article h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.article h2:first-of-type { margin-top: 0; }
.article h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
}
.article p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.article ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article ul li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}
.article ul li::before {
  content: "";
  position: absolute;
  left: 6px; top: 10px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent-gradient);
  transform: rotate(45deg);
}
.article strong { color: var(--text); font-weight: 700; }
.article a {
  color: var(--accent-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.article a:hover { color: var(--accent-purple); }
@media (max-width: 720px) {
  .article { padding: 28px 20px; }
  .article h2 { font-size: 20px; margin-top: 28px; }
  .article p, .article ul li { font-size: 14px; }
}

/* Selection */
::selection {
  background: rgba(59,130,246,0.25);
  color: var(--primary);
}

/* ============================================
   Produto Detalhe Page
   ============================================ */

.prod-wrapper {
  width: 100%;
}

.prod-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .prod-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Galeria */
.prod-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
@media (max-width: 900px) {
  .prod-gallery { position: relative; top: auto; }
}

.prod-main-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-lg);
}
.prod-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.prod-main-img:hover img {
  transform: scale(1.04);
}
.placeholder-prod-img {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  background: var(--accent-gradient-soft);
}
.placeholder-prod-img svg {
  width: 56px;
  height: 56px;
  opacity: 0.7;
}
.placeholder-prod-img span {
  font-size: 13px;
  font-weight: 500;
}

.prod-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.pthumb {
  all: unset;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pthumb:hover {
  transform: translateY(-1px);
  border-color: rgba(59,130,246,0.25);
}
.pthumb.active {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

/* Info do produto */
.prod-top {
  margin-bottom: 14px;
}
.prod-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-gradient-soft);
  color: var(--accent-purple);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.prod-cat-link:hover {
  background: rgba(139,92,246,0.15);
  transform: translateY(-1px);
}
.prod-cat-link > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.prod-cat-link svg {
  width: 14px;
  height: 14px;
}

.prod-name {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 20px;
  color: var(--text);
}

.prod-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16,185,129,0.12);
  margin-bottom: 22px;
}

.prod-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.pp-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pp-value {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  color: #059669;
  letter-spacing: -0.02em;
  line-height: 1;
}

.prod-prazo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-blue);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid rgba(59,130,246,0.18);
  box-shadow: var(--shadow-sm);
}
.prod-prazo svg {
  flex-shrink: 0;
}

/* CTAs */
.prod-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.prod-ctas .btn-lg {
  width: 100%;
  justify-content: center;
}

/* Especificações */
.prod-specs,
.prod-desc {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.prod-specs + .prod-desc {
  margin-top: 16px;
}

.specs-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.specs-title svg {
  color: var(--accent-blue);
}

.specs-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-soft);
}
.specs-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px;
  align-items: center;
}
@media (max-width: 520px) {
  .specs-list li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
}
.specs-list .sk {
  font-weight: 600;
  color: var(--text-soft);
  font-size: 13px;
}
.specs-list .sv {
  color: var(--text);
  font-weight: 500;
}

/* Produtos relacionados */
[data-related-products].products-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  [data-related-products].products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 780px) {
  [data-related-products].products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  [data-related-products].products-grid {
    grid-template-columns: 1fr;
  }
}

/* Not Found */
.prod-not-found h3 {
  color: var(--text);
}
.prod-not-found .btn {
  margin-top: 6px;
}

/* ============================================
   DARK MODE FIX (BLOCO GARANTIDO NO FINAL)
   Ultrapassa qualquer regra light por ordem + especificidade
   ============================================ */

/* BLOCO A: Toggle MANUAL (.dark-mode no <html>) — ESPECIFICIDADE EXTRA html:root */
html.dark-mode .hero.with-banner {
  background:
    linear-gradient(90deg,
      rgba(2,6,23,0.98) 0%,
      rgba(2,6,23,0.92) 38%,
      rgba(2,6,23,0.72) 52%,
      rgba(2,6,23,0.40) 64%,
      rgba(2,6,23,0.14) 74%,
      transparent 86%),
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(139,92,246,0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(6,182,212,0.12), transparent 60%),
    url("../images/banners/d_banner_inicio.png") right center / auto 100% no-repeat,
    #020617 !important;
}
html.dark-mode .page-header.banner-catalogo {
  background:
    linear-gradient(90deg,
      rgba(2,6,23,0.98) 0%,
      rgba(2,6,23,0.92) 38%,
      rgba(2,6,23,0.72) 52%,
      rgba(2,6,23,0.40) 62%,
      rgba(2,6,23,0.14) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(59,130,246,0.16), transparent 60%),
    url("../images/banners/d_banner_catalogo.png") right center / 88% auto no-repeat,
    #020617 !important;
}
html.dark-mode .page-header.banner-categoria {
  background:
    linear-gradient(90deg,
      rgba(2,6,23,0.98) 0%,
      rgba(2,6,23,0.92) 38%,
      rgba(2,6,23,0.72) 52%,
      rgba(2,6,23,0.40) 62%,
      rgba(2,6,23,0.14) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.18), transparent 60%),
    url("../images/banners/d_banner_categoria.png") right center / 88% auto no-repeat,
    #020617 !important;
}
html.dark-mode .page-header.banner-sobre {
  background:
    linear-gradient(90deg,
      rgba(2,6,23,0.98) 0%,
      rgba(2,6,23,0.92) 38%,
      rgba(2,6,23,0.72) 52%,
      rgba(2,6,23,0.40) 62%,
      rgba(2,6,23,0.14) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(6,182,212,0.16), transparent 60%),
    url("../images/banners/d_banner_sobre.png") right center / cover no-repeat,
    #020617 !important;
}
html.dark-mode .page-header.banner-contato {
  background:
    linear-gradient(90deg,
      rgba(2,6,23,0.98) 0%,
      rgba(2,6,23,0.92) 38%,
      rgba(2,6,23,0.72) 52%,
      rgba(2,6,23,0.40) 62%,
      rgba(2,6,23,0.14) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(236,72,153,0.18), transparent 60%),
    url("../images/banners/d_banner_contato.png") right center / 88% auto no-repeat,
    #020617 !important;
}
html.dark-mode .page-header.banner-calculadora {
  background:
    linear-gradient(90deg,
      rgba(2,6,23,0.98) 0%,
      rgba(2,6,23,0.92) 38%,
      rgba(2,6,23,0.72) 52%,
      rgba(2,6,23,0.40) 62%,
      rgba(2,6,23,0.14) 72%,
      transparent 82%),
    radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.22), transparent 60%),
    url("../images/banners/d_banner_calculadora.png") right center / cover no-repeat,
    #020617 !important;
}
/* Banner inline (imagem direita) troca para d_ no dark */
html.dark-mode .banner-inline-img {
  content: url("../images/banners/d_banner_catalogo.png") !important;
}
/* Calculadora: banner inline troca para d_banner_calculadora no dark */
html.dark-mode .page-header.banner-calculadora .banner-inline-img {
  content: url("../images/banners/d_banner_calculadora.png") !important;
}
/* ==============================
   CTA DESTAQUE: Calculadora no menu
   ============================== */
.nav-cta-calc {
  position: relative;
  padding: 9px 16px 9px 28px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(6,182,212,0.12) 0%, rgba(139,92,246,0.18) 100%);
  border: 1.5px solid rgba(139,92,246,0.35) !important;
  color: var(--text) !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(139,92,246,0.25);
}
.nav-cta-calc:hover {
  transform: translateY(-1px);
  border-color: var(--accent-purple) !important;
  box-shadow: 0 6px 20px -8px rgba(139,92,246,0.45), 0 0 0 6px rgba(139,92,246,0.04);
  color: var(--accent-purple) !important;
}
.pulse-dot {
  position: absolute;
  left: 11px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4, #8b5cf6);
  box-shadow: 0 0 0 0 rgba(139,92,246,0.55);
  animation: pulseCalc 1.9s infinite;
}
@keyframes pulseCalc {
  0%   { box-shadow: 0 0 0 0 rgba(139,92,246,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(139,92,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,92,246,0); }
}

.footer-extra-links .nav-cta-calc,
.footer-links .nav-cta-calc,
.footer-col-links .nav-cta-calc {
  padding: 6px 13px 6px 26px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-top: 2px !important;
}
.footer-extra-links .nav-cta-calc .pulse-dot,
.footer-links .nav-cta-calc .pulse-dot,
.footer-col-links .nav-cta-calc .pulse-dot {
  width: 7px !important;
  height: 7px !important;
  left: 10px !important;
}
.site-footer .footer-col ul li {
  line-height: 2;
}
.site-footer .footer-col ul li a.nav-cta-calc {
  margin: 8px 0 4px !important;
  border-radius: 999px !important;
}

/* ==============================
   CTA BANNER CALCULADORA (HOME)
   ============================== */
.cta-calculadora-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.cta-calculadora-banner {
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 14px 40px -18px rgba(139, 92, 246, 0.55), 0 4px 14px -6px rgba(6, 182, 212, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-calculadora-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px -20px rgba(139, 92, 246, 0.7), 0 8px 20px -8px rgba(6, 182, 212, 0.5);
}
.cta-calculadora-banner:hover .cta-banner-btn {
  transform: translateX(4px);
  box-shadow: 0 14px 32px -10px rgba(139, 92, 246, 0.45);
}
@media (max-width: 720px) {
  .cta-calculadora-section { padding-top: 24px !important; padding-bottom: 24px !important; }
  .cta-calculadora-section .cta-banner-content { padding: 22px 20px !important; gap: 18px !important; }
  .cta-calculadora-section .cta-banner-icon { width: 48px !important; height: 48px !important; }
  .cta-calculadora-section .cta-banner-icon svg { width: 24px !important; height: 24px !important; }
  .cta-calculadora-section h3 { font-size: 19px !important; line-height: 1.25 !important; }
  .cta-calculadora-section .cta-banner-content p { font-size: 13.5px !important; margin-top: 6px !important; }
  .cta-calculadora-section .cta-banner-btn { padding: 11px 18px !important; font-size: 13.5px !important; }
  .cta-calculadora-banner { border-radius: 18px !important; }
}

/* ==============================
   BANNER APOIE NOSSO TRABALHO (CALCULADORA)
   ============================== */
.apoie-banner {
  box-shadow: 0 10px 34px -16px rgba(139, 92, 246, 0.35);
}
.apoie-banner-section {
  padding-bottom: 0;
}
.apoie-card {
  text-decoration: none !important;
}
.apoie-card:hover {
  transform: translateY(-2px);
}
.apoie-card.apoie-pix:hover {
  border-color: rgba(16, 185, 129, 0.75) !important;
  box-shadow: 0 10px 24px -12px rgba(16, 185, 129, 0.55);
}
.apoie-card.apoie-cardao:hover {
  border-color: rgba(59, 130, 246, 0.75) !important;
  box-shadow: 0 10px 24px -12px rgba(59, 130, 246, 0.55);
}
@media (max-width: 760px) {
  .apoie-banner-section .apoie-banner > div[style] { padding: 24px 20px !important; gap: 20px !important; }
  .apoie-banner-section h3 { font-size: 18px !important; line-height: 1.3 !important; }
  .apoie-banner-section .apoie-banner-desc { font-size: 13.5px !important; }
  .apoie-banner-section .apoie-banner-ctas {
    width: 100%;
    min-width: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .apoie-banner-section .apoie-card { padding: 12px 14px !important; }
}

/* Dark mode Bloco 4: html:not(.light-mode) dentro do @media */
/* (já coberto pelos blocos 1 e 3 acima, bloco 2 media já tem banner-calculadora dark) */

/* ============================================================
   PÁGINA DE PRODUTO - REGRAS ESPECÍFICAS DARK MODE
   (manter gradiente e cores personalizadas equivalentes ao light)
   ============================================================ */
html.dark-mode .prod-price-row {
  background: linear-gradient(135deg, rgba(16,185,129,0.10) 0%, rgba(59,130,246,0.08) 100%) !important;
  border: 1px solid rgba(16,185,129,0.22) !important;
  box-shadow: none !important;
}
html.dark-mode .pp-value { color: #34d399 !important; }
html.dark-mode .pp-label { color: #94a3b8 !important; }
html.dark-mode .prod-prazo {
  background: rgba(30,41,59,0.78) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(59,130,246,0.26) !important;
  box-shadow: none !important;
}
html.dark-mode .specs-title { color: var(--text) !important; }
html.dark-mode .specs-title svg { color: var(--accent-blue) !important; }
html.dark-mode .specs-list .sk { color: var(--text-soft) !important; }
html.dark-mode .ct-card { background: var(--bg-soft); border-color: var(--border); color: var(--text); }
html.dark-mode .ct-card h5 { color: var(--text); }
html.dark-mode .ct-card p { color: var(--text-soft); }
html.dark-mode .ct-card.ct-whatsapp { background: rgba(22,163,74,0.10); border-color: rgba(22,163,74,0.32); }
html.dark-mode .ct-card.ct-email { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.32); }
html.dark-mode .ct-card.ct-social { background: rgba(168,85,247,0.10); border-color: rgba(168,85,247,0.32); }
html.dark-mode .ct-card.ct-hours { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.32); }
html.dark-mode .copy-email { background: var(--bg-soft-2); color: var(--text-soft); border-color: var(--border); }
html.dark-mode .copy-email:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }
html.dark-mode .social-list a { background: var(--bg-soft-2); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
html.dark-mode .hours-list strong { color: var(--text); }
html.dark-mode .contact-form-card,
html.dark-mode .contact-side-card { background: var(--bg-soft); border-color: var(--border); color: var(--text); }
html.dark-mode .contact-form-card h3,
html.dark-mode .contact-side-card h3,
html.dark-mode .side-block h4 { color: var(--text); }
html.dark-mode .side-block h4 .icon { background: rgba(59,130,246,0.16); color: var(--accent-blue); }
html.dark-mode .faq-item { background: var(--bg-soft-2); border-color: var(--border); }
html.dark-mode .faq-q { color: var(--text); }
html.dark-mode .faq-q:hover { background: rgba(148,163,184,0.08); }
html.dark-mode .faq-a-inner { color: var(--text-soft); }
html.dark-mode .loc-pin .icon { background: rgba(59,130,246,0.16); color: var(--accent-blue); }
html.dark-mode .loc-pin strong { color: var(--text); }
/* ============================================================
   PÁGINAS LEGAIS (PRIVACIDADE / TERMOS) - DARK MODE
   ============================================================ */
html.dark-mode .article {
  background: var(--bg-soft) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}
html.dark-mode .article h2,
html.dark-mode .article h3,
html.dark-mode .article h4 { color: var(--text) !important; }
html.dark-mode .article p,
html.dark-mode .article li,
html.dark-mode .article span { color: var(--text-soft) !important; }
html.dark-mode .article strong,
html.dark-mode .article b { color: var(--text) !important; }
html.dark-mode .article a { color: var(--accent-cyan) !important; }
html.dark-mode .article a:hover { color: var(--accent-purple) !important; }
html.dark-mode .article ul li { border-color: var(--border) !important; }
html.dark-mode .category-card { background: var(--bg-soft) !important; border-color: var(--border); color: var(--text); }
html.dark-mode .category-card h3 { color: var(--text) !important; }
html.dark-mode .category-card .cat-link { color: var(--text-soft) !important; }
html.dark-mode .category-card .cat-link:hover { color: var(--accent-cyan) !important; }
html.dark-mode .mobile-menu { background: var(--bg) !important; border-top-color: var(--border) !important; color: var(--text) !important; }
html.dark-mode .mobile-menu .nav-link { color: var(--text-soft) !important; }
html.dark-mode .mobile-menu .nav-link.active { background: var(--bg-soft) !important; color: var(--text) !important; }
html.dark-mode .cta-calculadora-banner .cta-banner-overlay { background: linear-gradient(135deg, rgba(3, 105, 161, 0.92) 0%, rgba(91, 33, 182, 0.94) 100%) !important; }
html.dark-mode .cta-calculadora-banner { border-color: rgba(255,255,255,0.08) !important; }
html.dark-mode .apoie-banner-overlay { background: linear-gradient(135deg,rgba(194,65,12,0.18) 0%,rgba(157,23,77,0.20) 50%,rgba(91,33,182,0.22) 100%) !important; border-color: var(--border) !important; }
html.dark-mode .apoie-banner-eyebrow { color: #c4b5fd !important; }
html.dark-mode .apoie-card.apoie-pix { border-color: rgba(52,211,153,0.5) !important; }
html.dark-mode .apoie-card.apoie-cardao { border-color: rgba(59,130,246,0.5) !important; }
html.dark-mode .apoie-card.apoie-pix span > span:last-child { color: #34d399 !important; }
html.dark-mode .apoie-card.apoie-cardao span > span:last-child { color: #818cf8 !important; }
html.dark-mode .cat-1,
html.dark-mode .cat-2,
html.dark-mode .cat-3,
html.dark-mode .cat-4,
html.dark-mode .cat-5,
html.dark-mode .cat-6,
html.dark-mode .cat-7,
html.dark-mode .cat-8 { background: var(--bg-soft) !important; }

html.dark-mode .sidebar-card {
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--text);
}
html.dark-mode .sidebar-card h4 { color: var(--text); }
html.dark-mode .sidebar-search input {
  background: var(--bg-soft-2);
  border-color: var(--border);
  color: var(--text);
}
html.dark-mode .sidebar-search input::placeholder { color: var(--text-muted); }
html.dark-mode .sidebar-search input:focus {
  background: var(--bg-soft-2);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.18);
}
html.dark-mode .sidebar-search svg { color: var(--text-muted); }
html.dark-mode .price-labels { color: var(--text-soft); }
html.dark-mode .price-labels span { color: var(--text-soft); }
html.dark-mode .range-slider { background: var(--border); }
html.dark-mode .range-handles input[type="range"]::-webkit-slider-thumb {
  background: var(--bg-soft);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(59,130,246,0.22);
}
html.dark-mode .range-handles input[type="range"]::-moz-range-thumb {
  background: var(--bg-soft);
  border-color: var(--accent-blue);
}
html.dark-mode .cat-list { scrollbar-color: #334155 transparent; }
html.dark-mode .cat-list::-webkit-scrollbar-thumb { background: #334155; }
html.dark-mode .cat-list::-webkit-scrollbar-thumb:hover { background: #475569; }
html.dark-mode .cat-list a { color: var(--text-soft); }
html.dark-mode .cat-list a:hover { background: var(--bg-soft-2); color: var(--text); }
html.dark-mode .cat-list a.active {
  background: rgba(59,130,246,0.16);
  color: var(--accent-cyan);
}

html.dark-mode .catalog-tools .view-toggle {
  background: var(--bg-soft-2);
  border-color: var(--border);
}
html.dark-mode .catalog-tools .view-toggle button {
  color: var(--text-muted);
}
html.dark-mode .catalog-tools .view-toggle button:hover {
  color: var(--text);
  background: rgba(148,163,184,0.10);
}
html.dark-mode .catalog-tools .view-toggle button.active {
  background: rgba(59,130,246,0.18);
  color: var(--accent-cyan);
  border-color: rgba(59,130,246,0.35);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.22), 0 2px 8px rgba(0,0,0,0.35);
}
html.dark-mode .catalog-tools .field select,
html.dark-mode .catalog-tools select,
html.dark-mode select {
  background: var(--bg-soft-2);
  border-color: var(--border);
  color: var(--text);
}
html.dark-mode .catalog-tools .field select:focus,
html.dark-mode select:focus {
  background: var(--bg-soft-2);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.16);
}
html.dark-mode select option {
  background: var(--bg-soft);
  color: var(--text);
}
html.dark-mode select option:checked,
html.dark-mode select option:selected {
  background: rgba(59,130,246,0.22);
  color: var(--accent-cyan);
}

/* BLOCO B: Automático SISTEMA OPERACIONAL (prefers-color-scheme: dark) — quando usuário NÃO escolheu manual claro */
@media (prefers-color-scheme: dark) {
  html:not(.light-mode) .hero.with-banner {
    background:
      linear-gradient(90deg,
        rgba(2,6,23,0.98) 0%,
        rgba(2,6,23,0.92) 38%,
        rgba(2,6,23,0.72) 52%,
        rgba(2,6,23,0.40) 64%,
        rgba(2,6,23,0.14) 74%,
        transparent 86%),
      radial-gradient(ellipse 80% 60% at 85% 20%, rgba(139,92,246,0.16), transparent 60%),
      radial-gradient(ellipse 60% 50% at 10% 80%, rgba(6,182,212,0.12), transparent 60%),
      url("../images/banners/d_banner_inicio.png") right center / auto 100% no-repeat,
      #020617 !important;
  }
  html:not(.light-mode) .page-header.banner-catalogo {
    background:
      linear-gradient(90deg,
        rgba(2,6,23,0.98) 0%,
        rgba(2,6,23,0.92) 38%,
        rgba(2,6,23,0.72) 52%,
        rgba(2,6,23,0.40) 62%,
        rgba(2,6,23,0.14) 72%,
        transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(59,130,246,0.16), transparent 60%),
      url("../images/banners/d_banner_catalogo.png") right center / 88% auto no-repeat,
      #020617 !important;
  }
  html:not(.light-mode) .page-header.banner-categoria {
    background:
      linear-gradient(90deg,
        rgba(2,6,23,0.98) 0%,
        rgba(2,6,23,0.92) 38%,
        rgba(2,6,23,0.72) 52%,
        rgba(2,6,23,0.40) 62%,
        rgba(2,6,23,0.14) 72%,
        transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.18), transparent 60%),
      url("../images/banners/d_banner_categoria.png") right center / 88% auto no-repeat,
      #020617 !important;
  }
  html:not(.light-mode) .page-header.banner-sobre {
    background:
      linear-gradient(90deg,
        rgba(2,6,23,0.98) 0%,
        rgba(2,6,23,0.92) 38%,
        rgba(2,6,23,0.72) 52%,
        rgba(2,6,23,0.40) 62%,
        rgba(2,6,23,0.14) 72%,
        transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(6,182,212,0.16), transparent 60%),
      url("../images/banners/d_banner_sobre.png") right center / cover no-repeat,
      #020617 !important;
  }
  html:not(.light-mode) .page-header.banner-contato {
    background:
      linear-gradient(90deg,
        rgba(2,6,23,0.98) 0%,
        rgba(2,6,23,0.92) 38%,
        rgba(2,6,23,0.72) 52%,
        rgba(2,6,23,0.40) 62%,
        rgba(2,6,23,0.14) 72%,
        transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(236,72,153,0.18), transparent 60%),
      url("../images/banners/d_banner_contato.png") right center / 88% auto no-repeat,
      #020617 !important;
  }
  html:not(.light-mode) .page-header.banner-calculadora {
    background:
      linear-gradient(90deg,
        rgba(2,6,23,0.98) 0%,
        rgba(2,6,23,0.92) 38%,
        rgba(2,6,23,0.72) 52%,
        rgba(2,6,23,0.40) 62%,
        rgba(2,6,23,0.14) 72%,
        transparent 82%),
      radial-gradient(ellipse 70% 60% at 90% 10%, rgba(139,92,246,0.22), transparent 60%),
      url("../images/banners/d_banner_calculadora.png") right center / cover no-repeat,
      #020617 !important;
  }
  /* Banner inline (imagem direita) troca para d_ no dark automático */
  html:not(.light-mode) .banner-inline-img {
    content: url("../images/banners/d_banner_catalogo.png") !important;
  }
  html:not(.light-mode) .page-header.banner-calculadora .banner-inline-img {
    content: url("../images/banners/d_banner_calculadora.png") !important;
  }
  /* ============================================================
     PÁGINA DE PRODUTO - REGRAS ESPECÍFICAS DARK MODE AUTO
     (mesmo do manual, para prefers-color-scheme: dark)
     ============================================================ */
  html:not(.light-mode) .prod-price-row {
    background: linear-gradient(135deg, rgba(16,185,129,0.10) 0%, rgba(59,130,246,0.08) 100%) !important;
    border: 1px solid rgba(16,185,129,0.22) !important;
    box-shadow: none !important;
  }
  html:not(.light-mode) .pp-value { color: #34d399 !important; }
  html:not(.light-mode) .pp-label { color: #94a3b8 !important; }
  html:not(.light-mode) .prod-prazo {
    background: rgba(30,41,59,0.78) !important;
    color: #93c5fd !important;
    border: 1px solid rgba(59,130,246,0.26) !important;
    box-shadow: none !important;
  }
  html:not(.light-mode) .specs-title { color: var(--text) !important; }
  html:not(.light-mode) .specs-title svg { color: var(--accent-blue) !important; }
  html:not(.light-mode) .specs-list .sk { color: var(--text-soft) !important; }
  html:not(.light-mode) .ct-card { background: var(--bg-soft); border-color: var(--border); color: var(--text); }
  html:not(.light-mode) .ct-card h5 { color: var(--text); }
  html:not(.light-mode) .ct-card p { color: var(--text-soft); }
  html:not(.light-mode) .ct-card.ct-whatsapp { background: rgba(22,163,74,0.10); border-color: rgba(22,163,74,0.32); }
  html:not(.light-mode) .ct-card.ct-email { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.32); }
  html:not(.light-mode) .ct-card.ct-social { background: rgba(168,85,247,0.10); border-color: rgba(168,85,247,0.32); }
  html:not(.light-mode) .ct-card.ct-hours { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.32); }
  html:not(.light-mode) .copy-email { background: var(--bg-soft-2); color: var(--text-soft); border-color: var(--border); }
  html:not(.light-mode) .copy-email:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }
  html:not(.light-mode) .social-list a { background: var(--bg-soft-2); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
  html:not(.light-mode) .hours-list strong { color: var(--text); }
  html:not(.light-mode) .contact-form-card,
  html:not(.light-mode) .contact-side-card { background: var(--bg-soft); border-color: var(--border); color: var(--text); }
  html:not(.light-mode) .contact-form-card h3,
  html:not(.light-mode) .contact-side-card h3,
  html:not(.light-mode) .side-block h4 { color: var(--text); }
  html:not(.light-mode) .side-block h4 .icon { background: rgba(59,130,246,0.16); color: var(--accent-blue); }
  html:not(.light-mode) .faq-item { background: var(--bg-soft-2); border-color: var(--border); }
  html:not(.light-mode) .faq-q { color: var(--text); }
  html:not(.light-mode) .faq-q:hover { background: rgba(148,163,184,0.08); }
  html:not(.light-mode) .faq-a-inner { color: var(--text-soft); }
  html:not(.light-mode) .loc-pin .icon { background: rgba(59,130,246,0.16); color: var(--accent-blue); }
  html:not(.light-mode) .loc-pin strong { color: var(--text); }
  /* ============================================================
     PÁGINAS LEGAIS (PRIVACIDADE / TERMOS) - DARK MODE AUTO
     ============================================================ */
  html:not(.light-mode) .article {
    background: var(--bg-soft) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    box-shadow: none !important;
  }
  html:not(.light-mode) .article h2,
  html:not(.light-mode) .article h3,
  html:not(.light-mode) .article h4 { color: var(--text) !important; }
  html:not(.light-mode) .article p,
  html:not(.light-mode) .article li,
  html:not(.light-mode) .article span { color: var(--text-soft) !important; }
  html:not(.light-mode) .article strong,
  html:not(.light-mode) .article b { color: var(--text) !important; }
  html:not(.light-mode) .article a { color: var(--accent-cyan) !important; }
  html:not(.light-mode) .article a:hover { color: var(--accent-purple) !important; }
  html:not(.light-mode) .article ul li { border-color: var(--border) !important; }
  html:not(.light-mode) .category-card { background: var(--bg-soft) !important; border-color: var(--border); color: var(--text); }
  html:not(.light-mode) .category-card h3 { color: var(--text) !important; }
  html:not(.light-mode) .category-card .cat-link { color: var(--text-soft) !important; }
  html:not(.light-mode) .category-card .cat-link:hover { color: var(--accent-cyan) !important; }
  html:not(.light-mode) .cat-1,
  html:not(.light-mode) .cat-2,
  html:not(.light-mode) .cat-3,
  html:not(.light-mode) .cat-4,
  html:not(.light-mode) .cat-5,
  html:not(.light-mode) .cat-6,
  html:not(.light-mode) .cat-7,
  html:not(.light-mode) .cat-8 { background: var(--bg-soft) !important; }

  html:not(.light-mode) .mobile-menu { background: var(--bg) !important; border-top-color: var(--border) !important; color: var(--text) !important; }
  html:not(.light-mode) .mobile-menu .nav-link { color: var(--text-soft) !important; }
  html:not(.light-mode) .mobile-menu .nav-link.active { background: var(--bg-soft) !important; color: var(--text) !important; }
  html:not(.light-mode) .cta-calculadora-banner .cta-banner-overlay { background: linear-gradient(135deg, rgba(3, 105, 161, 0.92) 0%, rgba(91, 33, 182, 0.94) 100%) !important; }
  html:not(.light-mode) .cta-calculadora-banner { border-color: rgba(255,255,255,0.08) !important; }
  html:not(.light-mode) .apoie-banner-overlay { background: linear-gradient(135deg,rgba(194,65,12,0.18) 0%,rgba(157,23,77,0.20) 50%,rgba(91,33,182,0.22) 100%) !important; border-color: var(--border) !important; }
  html:not(.light-mode) .apoie-banner-eyebrow { color: #c4b5fd !important; }
  html:not(.light-mode) .apoie-card.apoie-pix { border-color: rgba(52,211,153,0.5) !important; }
  html:not(.light-mode) .apoie-card.apoie-cardao { border-color: rgba(59,130,246,0.5) !important; }
  html:not(.light-mode) .apoie-card.apoie-pix span > span:last-child { color: #34d399 !important; }
  html:not(.light-mode) .apoie-card.apoie-cardao span > span:last-child { color: #818cf8 !important; }
  html:not(.light-mode) .sidebar-card {
    background: var(--bg-soft);
    border-color: var(--border);
    color: var(--text);
  }
  html:not(.light-mode) .sidebar-card h4 { color: var(--text); }
  html:not(.light-mode) .sidebar-search input {
    background: var(--bg-soft-2);
    border-color: var(--border);
    color: var(--text);
  }
  html:not(.light-mode) .sidebar-search input::placeholder { color: var(--text-muted); }
  html:not(.light-mode) .sidebar-search input:focus {
    background: var(--bg-soft-2);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.18);
  }
  html:not(.light-mode) .sidebar-search svg { color: var(--text-muted); }
  html:not(.light-mode) .price-labels { color: var(--text-soft); }
  html:not(.light-mode) .price-labels span { color: var(--text-soft); }
  html:not(.light-mode) .range-slider { background: var(--border); }
  html:not(.light-mode) .range-handles input[type="range"]::-webkit-slider-thumb {
    background: var(--bg-soft);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.22);
  }
  html:not(.light-mode) .range-handles input[type="range"]::-moz-range-thumb {
    background: var(--bg-soft);
    border-color: var(--accent-blue);
  }
  html:not(.light-mode) .cat-list { scrollbar-color: #334155 transparent; }
  html:not(.light-mode) .cat-list::-webkit-scrollbar-thumb { background: #334155; }
  html:not(.light-mode) .cat-list::-webkit-scrollbar-thumb:hover { background: #475569; }
  html:not(.light-mode) .cat-list a { color: var(--text-soft); }
  html:not(.light-mode) .cat-list a:hover { background: var(--bg-soft-2); color: var(--text); }
  html:not(.light-mode) .cat-list a.active {
    background: rgba(59,130,246,0.16);
    color: var(--accent-cyan);
  }

  html:not(.light-mode) .catalog-tools .view-toggle {
    background: var(--bg-soft-2);
    border-color: var(--border);
  }
  html:not(.light-mode) .catalog-tools .view-toggle button {
    color: var(--text-muted);
  }
  html:not(.light-mode) .catalog-tools .view-toggle button:hover {
    color: var(--text);
    background: rgba(148,163,184,0.10);
  }
  html:not(.light-mode) .catalog-tools .view-toggle button.active {
    background: rgba(59,130,246,0.18);
    color: var(--accent-cyan);
    border-color: rgba(59,130,246,0.35);
    box-shadow: 0 0 0 1px rgba(59,130,246,0.22), 0 2px 8px rgba(0,0,0,0.35);
  }
  html:not(.light-mode) .catalog-tools .field select,
  html:not(.light-mode) .catalog-tools select,
  html:not(.light-mode) select {
    background: var(--bg-soft-2);
    border-color: var(--border);
    color: var(--text);
  }
  html:not(.light-mode) .catalog-tools .field select:focus,
  html:not(.light-mode) select:focus {
    background: var(--bg-soft-2);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.16);
  }
  html:not(.light-mode) select option {
    background: var(--bg-soft);
    color: var(--text);
  }
  html:not(.light-mode) select option:checked,
  html:not(.light-mode) select option:selected {
    background: rgba(59,130,246,0.22);
    color: var(--accent-cyan);
  }
}

/* RESPONSIVO MOBILE (<=900px) - DARK MODE FIX também no mobile */
@media (max-width: 900px) {
  html.dark-mode .hero.with-banner,
  html.dark-mode .page-header.with-banner {
    background-color: #020617 !important;
  }
  @media (prefers-color-scheme: dark) {
    html:not(.light-mode) .hero.with-banner,
    html:not(.light-mode) .page-header.with-banner {
      background-color: #020617 !important;
    }
  }
}

/* ============================================================
   CALCULADORA DE PREÇOS 3D
   ============================================================ */

/* Card base (reutilizável) */
.card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
:root.dark-mode .card,
:root:not(.light-mode) .card { background: var(--bg-soft); border-color: var(--border); box-shadow: none; }

/* Botões ghost & lg */
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(59,130,246,0.06);
}
.btn-lg { padding: 18px 30px; font-size: 16px; border-radius: 16px; }

/* Cores utilitárias */
.c-muted { color: var(--text-muted); }
.c-cyan { color: var(--accent-cyan); }
.c-blue { color: var(--accent-blue); }
.c-purple { color: var(--accent-purple); }
.c-pink { color: var(--accent-pink); }
:root {
  --success-text: #047857;
}
:root.dark-mode,
:root:not(.light-mode) {
  --success-text: #34d399;
}

/* Form group (fields da calculadora) */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .1px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.45;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}
:root.dark-mode .form-group input,
:root.dark-mode .form-group select,
:root.dark-mode .form-group textarea,
:root:not(.light-mode) .form-group input,
:root:not(.light-mode) .form-group select,
:root:not(.light-mode) .form-group textarea {
  background: var(--bg-soft-2);
  border-color: var(--border);
  color: var(--text);
}
:root.dark-mode .form-group input:focus,
:root.dark-mode .form-group select:focus,
:root:not(.light-mode) .form-group input:focus,
:root:not(.light-mode) .form-group select:focus {
  background: var(--bg-soft-2);
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.18);
}
.input-hint { display:block; color: var(--text-muted); font-size:12.5px; line-height:1.45; margin-top:4px; }

/* Details config */
.config-details summary::-webkit-details-marker { display: none; }
.config-details[open] summary svg { transform: rotate(180deg); }

/* Layout calculadora */
.calc-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; }
.calc-side { display: flex; flex-direction: column; gap: 16px; }
.result-card { position: sticky; top: 96px; }

@media (max-width: 1020px) {
  .calc-layout { grid-template-columns: 1fr; gap: 24px; }
  .result-card { position: static; }
}
@media (max-width: 720px) {
  .card { padding: 22px 18px; border-radius: 18px; }
  .calc-main [style*="grid-template-columns: 1fr 1fr"],
  .calc-main [style*="grid-template-columns:repeat(4"],
  .calc-main [style*="grid-template-columns:1.2fr .8fr"] {
    grid-template-columns: 1fr !important;
  }
  .calc-main [style*="grid-template-columns:"] .addon-row { grid-template-columns: 1fr 1fr; }
  .calc-main [style*="grid-template-columns:"] .addon-row > div:nth-child(3) { grid-column: span 1; }
  .calc-main [style*="grid-template-columns:"] .addon-row > div:last-child { grid-column: span 2; justify-content: flex-end; }
}

/* html.dark-mode finais para calculadora */
html.dark-mode .card { background: var(--bg-soft) !important; border-color: var(--border) !important; color: var(--text) !important; box-shadow: none !important; }
html.dark-mode .form-group label { color: var(--text) !important; }
html.dark-mode .config-details summary { background: var(--bg-soft-2) !important; border-color: var(--border) !important; color: var(--text) !important; }
html.dark-mode .btn-ghost { color: var(--text) !important; border-color: var(--border) !important; background: transparent !important; }
html.dark-mode .btn-ghost:hover { color: var(--accent-cyan) !important; border-color: var(--accent-cyan) !important; }
html.dark-mode .c-muted { color: var(--text-muted) !important; }
html.dark-mode .input-hint { color: var(--text-muted) !important; }

/* html:not(.light-mode) automaticos finais */
@media (prefers-color-scheme: dark) {
  html:not(.light-mode) .card { background: var(--bg-soft) !important; border-color: var(--border) !important; color: var(--text) !important; box-shadow: none !important; }
  html:not(.light-mode) .form-group label { color: var(--text) !important; }
  html:not(.light-mode) .config-details summary { background: var(--bg-soft-2) !important; border-color: var(--border) !important; color: var(--text) !important; }
  html:not(.light-mode) .btn-ghost { color: var(--text) !important; border-color: var(--border) !important; background: transparent !important; }
  html:not(.light-mode) .btn-ghost:hover { color: var(--accent-cyan) !important; border-color: var(--accent-cyan) !important; }
  html:not(.light-mode) .c-muted { color: var(--text-muted) !important; }
  html:not(.light-mode) .input-hint { color: var(--text-muted) !important; }
}
