/* =====================================================
   E3R 3D PRINTING — STYLE
   Aesthetic: industrial-warm dark · maker · forge
   Palette: amber/orange-extrusion · warm near-black
   ===================================================== */

:root {
  /* Cores — paleta neon futurista do logo */
  --bg:        #000000;
  --bg-2:      #0a0a14;
  --bg-3:      #0f0f1e;
  --line:      #1a1a2e;
  --line-warm: #2a2a44;
  --text:      #ffffff;
  --text-mid:  #a0a8c0;
  --text-dim:  #5a6080;
  --hot:       #00d4ff;   /* cyan elétrico — cor primária do logo */
  --hot-2:     #4ae3ff;   /* cyan claro pra hover */
  --hot-deep:  #0099cc;
  --pink:      #ff2f8f;   /* rosa neon — accent secundário */
  --blue:      #0066ff;   /* azul elétrico */
  --yellow:    #ffcc00;   /* amarelo do diamante interno do logo */
  --gold:      #f5b94e;
  --cream:     #ede0c8;
  --danger:    #ff4f7a;

  /* Tipografia */
  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body:    'Manrope', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Espaços */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  --container: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* Atmosfera neon: gradient cyan + pink + grain */
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,212,255,.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255,47,143,.06), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(0,102,255,.05), transparent 60%);
  background-attachment: fixed;
}

/* Grain overlay sutil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

::selection { background: var(--hot); color: #000; }

/* =====================================================
   HEADER
   ===================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 32px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(0,0,0,.92);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--f-display);
}
.brand-mark {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.02em;
  display: inline-flex;
  text-shadow: 0 0 16px rgba(0,212,255,.4);
  transition: text-shadow .3s;
}
.brand:hover .brand-mark {
  text-shadow: 0 0 24px rgba(0,212,255,.7);
}
.brand-mark .b1 { color: var(--text); }
.brand-mark .b2 { color: var(--hot); }

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav a:hover { color: var(--text); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--hot);
  transition: right .25s;
}
.nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line-warm);
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--text);
  transition: all .2s;
}
.cart-btn:hover {
  border-color: var(--hot);
  color: var(--hot);
}
.cart-icon { font-size: 14px; line-height: 1; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--hot);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform .25s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: 80px 32px 120px;
  max-width: var(--container);
  margin: 0 auto;
  z-index: 2;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-logo {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter:
    drop-shadow(0 0 60px rgba(0,212,255,.55))
    drop-shadow(0 0 30px rgba(255,47,143,.35));
  animation: heroLogoPulse 8s ease-in-out infinite;
}

@keyframes heroLogoPulse {
  0% {
    filter:
      drop-shadow(0 0 60px rgba(0,212,255,.6))
      drop-shadow(0 0 30px rgba(0,212,255,.4));
  }
  25% {
    filter:
      drop-shadow(0 0 70px rgba(255,47,143,.6))
      drop-shadow(0 0 35px rgba(255,47,143,.4));
  }
  50% {
    filter:
      drop-shadow(0 0 70px rgba(255,204,0,.55))
      drop-shadow(0 0 35px rgba(255,204,0,.35));
  }
  75% {
    filter:
      drop-shadow(0 0 70px rgba(0,102,255,.65))
      drop-shadow(0 0 35px rgba(0,102,255,.4));
  }
  100% {
    filter:
      drop-shadow(0 0 60px rgba(0,212,255,.6))
      drop-shadow(0 0 30px rgba(0,212,255,.4));
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  opacity: .35;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 30% 40%, rgba(0,212,255,.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,47,143,.12) 0%, transparent 50%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-meta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.hero-meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 12px var(--hot);
  animation: pulse 2s ease-in-out infinite;
}
.hero-meta .hr {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--line-warm);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

.hero-title {
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 104px);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--text);
  margin-bottom: 32px;
}
.hero-title > span { display: block; }
.hero-em {
  background: linear-gradient(
    115deg,
    #00d4ff 0%,
    #4ae3ff 18%,
    #ff2f8f 42%,
    #ffcc00 68%,
    #0066ff 92%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  font-style: italic;
  font-weight: 600;
  animation: gradientShift 9s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-lead {
  position: relative;
  max-width: 600px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-mid);
  margin-bottom: 40px;
}

.hero-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  transition: all .2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--hot);
  color: #000;
  box-shadow: 0 8px 24px -8px rgba(0,212,255,.5);
}
.btn-primary:hover {
  background: var(--hot-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(0,212,255,.65);
}
.btn-ghost {
  border-color: var(--line-warm);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--hot);
  color: var(--hot);
}
.btn-lg {
  padding: 20px 36px;
  font-size: 17px;
}
.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}
.btn-block { width: 100%; justify-content: center; }
.btn .arrow {
  transition: transform .25s;
}
.btn:hover .arrow { transform: translateX(4px); }

/* =====================================================
   SECTIONS GENERIC
   ===================================================== */
section {
  position: relative;
  z-index: 2;
}

.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  margin-bottom: 60px;
}

.section-pre {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--hot);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title em {
  color: var(--hot);
  font-style: italic;
  font-weight: 600;
}

/* Accent color por seção — cada uma com uma cor da paleta do logo */
.catalogo .section-title em { color: var(--hot); }    /* cyan */
.sobre .section-title em    { color: var(--pink); }   /* rosa */
.servicos .section-title em { color: var(--yellow); } /* amarelo */
.contato .section-title em  { color: var(--blue); }   /* azul */

/* Section-pre (// CATÁLOGO) também ganha cor da seção */
.catalogo .section-pre { color: var(--hot); }
.sobre .section-pre    { color: var(--pink); }
.servicos .section-pre { color: var(--yellow); }
.contato .section-pre  { color: var(--blue); }

.section-sub {
  max-width: 640px;
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* Reveal on scroll — só esconde se JS adicionar a classe */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s, transform .8s;
}
.reveal-init.in-view {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--d, 0s);
}

/* =====================================================
   CATÁLOGO
   ===================================================== */
.catalogo {
  padding: 100px 0 120px;
}

.filter-bar {
  max-width: var(--container);
  margin: 0 auto 40px;
  padding: 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-warm);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--text-mid);
  transition: all .2s;
}
.chip:hover {
  color: var(--text);
  border-color: var(--text-mid);
}
.chip.is-active {
  background: var(--hot);
  border-color: var(--hot);
  color: #000;
}

.product-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    #00d4ff 0%,
    #0066ff 25%,
    #ff2f8f 50%,
    #ffcc00 75%,
    #00d4ff 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover::before {
  opacity: 1;
  animation: borderSpin 4s linear infinite;
}
.product-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow:
    0 24px 60px -20px rgba(0,0,0,.6),
    0 0 24px -4px rgba(0,212,255,.25);
}
@keyframes borderSpin {
  to { filter: hue-rotate(360deg); }
}

.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .5s;
}
.product-card:hover .product-img img {
  transform: scale(1.04);
}

.product-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  background: rgba(14,12,10,.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--text);
  z-index: 2;
}

.product-info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.product-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.product-spec {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-dim);
  margin-bottom: 18px;
  line-height: 1.5;
  flex-grow: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--hot);
  letter-spacing: -.02em;
}
.product-price.quote {
  font-size: 14px;
  font-family: var(--f-mono);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold);
}
.add-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--hot);
  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transition: all .2s;
  flex-shrink: 0;
}
.add-btn:hover {
  background: var(--hot-2);
  transform: scale(1.06);
}
.add-btn.is-quote {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  font-family: var(--f-mono);
  font-weight: 600;
  letter-spacing: .08em;
  width: auto;
  padding: 0 14px;
}
.add-btn.is-quote:hover {
  background: var(--gold);
  color: #000;
}

/* =====================================================
   SOBRE
   ===================================================== */
.sobre {
  padding: 100px 0;
}
.sobre-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.sobre-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at top right, rgba(0,212,255,.18), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.sobre-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sobre-tag {
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--hot);
}
.sobre-logo {
  position: relative;
  width: 80%;
  max-width: 320px;
  height: auto;
  align-self: center;
  margin: auto;
  filter: drop-shadow(0 0 40px rgba(0,212,255,.6)) drop-shadow(0 0 20px rgba(255,47,143,.3));
}
.sobre-bigtext {
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.03em;
}
.sobre-bigtext em {
  color: var(--hot);
  font-style: italic;
  font-weight: 600;
}
.sobre-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--hot);
}
.sobre-corner.tl { top: 16px; left: 16px; border-top: 2px solid; border-left: 2px solid; }
.sobre-corner.br { bottom: 16px; right: 16px; border-bottom: 2px solid; border-right: 2px solid; }

.sobre-text p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.sobre-text em {
  color: var(--text);
  font-style: italic;
  font-weight: 500;
}

.sobre-list {
  list-style: none;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.sobre-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text);
}
.sobre-list li span {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--hot);
  letter-spacing: .08em;
}
.sobre-list li:nth-child(1) span { color: var(--hot); }    /* cyan */
.sobre-list li:nth-child(2) span { color: var(--pink); }   /* rosa */
.sobre-list li:nth-child(3) span { color: var(--yellow); } /* amarelo */
.sobre-list li:nth-child(4) span { color: var(--blue); }   /* azul */

/* =====================================================
   SERVIÇOS
   ===================================================== */
.servicos {
  padding: 100px 0;
}
.services-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 36px 28px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    #00d4ff 0%,
    #0066ff 25%,
    #ff2f8f 50%,
    #ffcc00 75%,
    #00d4ff 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.service-card:hover::before {
  opacity: 1;
  animation: borderSpin 4s linear infinite;
}
.service-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 0 24px -4px rgba(0,212,255,.25);
}

.service-num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--hot);
  margin-bottom: 24px;
}
.service-card:nth-child(1) .service-num { color: var(--hot); }    /* cyan */
.service-card:nth-child(2) .service-num { color: var(--pink); }   /* rosa */
.service-card:nth-child(3) .service-num { color: var(--yellow); } /* amarelo */
.service-card:nth-child(4) .service-num { color: var(--blue); }   /* azul */
.service-card:nth-child(1) .service-link { color: var(--hot); border-color: transparent; }
.service-card:nth-child(2) .service-link { color: var(--pink); border-color: transparent; }
.service-card:nth-child(3) .service-link { color: var(--yellow); border-color: transparent; }
.service-card:nth-child(4) .service-link { color: var(--blue); border-color: transparent; }
.service-card:nth-child(1) .service-link:hover { border-bottom-color: var(--hot); }
.service-card:nth-child(2) .service-link:hover { border-bottom-color: var(--pink); }
.service-card:nth-child(3) .service-link:hover { border-bottom-color: var(--yellow); }
.service-card:nth-child(4) .service-link:hover { border-bottom-color: var(--blue); }
.service-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.service-card p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.service-link {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--hot);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s;
}
.service-link:hover { border-color: var(--hot); }

/* =====================================================
   TECH
   ===================================================== */
.tech {
  padding: 100px 0;
}
.tech-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tech-card {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.tech-card:hover {
  border-color: var(--line-warm);
  background: var(--bg-3);
}
.tech-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--hot);
  margin-bottom: 16px;
}
.tech-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.tech-card p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.tech-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tech-meta span {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-dim);
  padding: 4px 10px;
  background: var(--bg);
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* =====================================================
   CONTATO
   ===================================================== */
.contato {
  padding: 100px 0 80px;
}
.contato-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}
.contato-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.contato-card:not(.is-static)::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    #00d4ff 0%,
    #0066ff 25%,
    #ff2f8f 50%,
    #ffcc00 75%,
    #00d4ff 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.contato-card:not(.is-static):hover::before {
  opacity: 1;
  animation: borderSpin 4s linear infinite;
}
.contato-card:not(.is-static):hover {
  border-color: transparent;
  transform: translateY(-4px);
  background: var(--bg-3);
  box-shadow: 0 0 24px -4px rgba(0,212,255,.25);
}
.cc-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--hot);
  margin-bottom: 14px;
}
.contato-card:nth-child(1) .cc-tag { color: var(--hot); }    /* cyan — whatsapp */
.contato-card:nth-child(2) .cc-tag { color: var(--pink); }   /* rosa — instagram */
.contato-card:nth-child(3) .cc-tag { color: var(--yellow); } /* amarelo — shopee */
.contato-card:nth-child(4) .cc-tag { color: var(--blue); }   /* azul — empresa */
.cc-val {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.cc-desc {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-dim);
}
.cc-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 22px;
  color: var(--text-dim);
  transition: all .25s;
}
.contato-card:hover .cc-arrow {
  color: var(--hot);
  transform: translateX(4px);
}

.contato-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 32px;
  background:
    radial-gradient(ellipse at top, rgba(0,212,255,.12), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cb-text {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.cb-text em {
  background: linear-gradient(
    115deg,
    #00d4ff 0%,
    #ff2f8f 40%,
    #ffcc00 70%,
    #0066ff 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  font-style: italic;
  font-weight: 600;
  animation: gradientShift 9s ease-in-out infinite;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  padding: 60px 32px 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  align-self: flex-start;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 14px rgba(0,212,255,.25));
}
.footer-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--text-dim);
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-dim);
}
.footer-meta .hr {
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--line-warm);
}

/* =====================================================
   CART PANEL
   ===================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  z-index: 200;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.6,.05,.3,1);
  z-index: 201;
}
.cart-panel.is-open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
}
.cart-head button {
  font-size: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: all .2s;
}
.cart-head button:hover { color: var(--text); background: var(--bg-3); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty {
  padding: 60px 0;
  text-align: center;
}
.cart-empty-icon {
  font-size: 48px;
  color: var(--line-warm);
  margin-bottom: 20px;
}
.cart-empty p {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cart-items { display: none; flex-direction: column; gap: 14px; }
.cart-items.has-items { display: flex; }
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.cart-item-img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.cart-item-price {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--hot);
  margin-bottom: 8px;
}
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg-3);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.cart-item-qty button {
  width: 26px;
  height: 26px;
  font-weight: 700;
  color: var(--text-mid);
  transition: color .2s;
}
.cart-item-qty button:hover { color: var(--hot); }
.cart-item-qty span {
  min-width: 22px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 600;
}
.cart-item-rm {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-left: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
}
.cart-item-rm:hover { color: var(--danger); }

.cart-foot {
  border-top: 1px solid var(--line);
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-2);
  display: none;
}
.cart-foot.has-items { display: flex; }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.cart-total span {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-mid);
}
.cart-total strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--text);
  letter-spacing: -.02em;
}

/* =====================================================
   PRODUCT MODAL
   ===================================================== */
.product-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
  z-index: 300;
}
.product-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 301;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s;
}
.product-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.product-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transform: scale(.94) translateY(20px);
  transition: transform .35s cubic-bezier(.6,.05,.3,1);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,.8),
    0 0 60px -10px rgba(0,212,255,.15);
}
.product-modal.is-open .product-modal-inner {
  transform: scale(1) translateY(0);
}

/* Borda multicolor animada igual aos cards */
.product-modal-inner::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  padding: 1px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    #00d4ff 0%,
    #0066ff 25%,
    #ff2f8f 50%,
    #ffcc00 75%,
    #00d4ff 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  animation: borderSpin 6s linear infinite;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text-mid);
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all .2s;
  border: 1px solid var(--line);
}
.modal-close:hover {
  color: var(--text);
  background: var(--bg);
  border-color: var(--hot);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  position: relative;
  z-index: 2;
}

/* GALERIA */
.modal-gallery {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-3);
  border-radius: var(--r-xl) 0 0 var(--r-xl);
}

.modal-main-img {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}
.modal-img-placeholder {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--text-dim);
}

.modal-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--hot);
  z-index: 2;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.modal-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-2);
  border: 2px solid var(--line);
  padding: 4px;
  cursor: pointer;
  transition: all .25s;
  flex-shrink: 0;
}
.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-thumb:hover { border-color: var(--text-mid); }
.modal-thumb.is-active {
  border-color: var(--hot);
  box-shadow: 0 0 0 2px rgba(0,212,255,.18);
}

/* CONTEÚDO */
.modal-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.modal-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--text);
  margin: 0;
}
.modal-spec {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-dim);
  margin: 0;
}

.modal-section {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.modal-section-label {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  color: var(--hot);
  margin-bottom: 12px;
}
.modal-desc {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.modal-colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.color-chip {
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text);
}

.modal-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--hot);
}
.modal-price.quote {
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--yellow);
}

/* Mobile */
@media (max-width: 860px) {
  .product-modal { padding: 12px; }
  .product-modal-inner { max-height: calc(100vh - 24px); }
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .modal-gallery {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: 20px;
  }
  .modal-content { padding: 28px 24px; }
  .modal-thumb { width: 52px; height: 52px; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px 32px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .menu-toggle { display: flex; }

  .sobre-grid { grid-template-columns: 1fr; gap: 50px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-logo-wrap { order: -1; }
  .hero-logo { max-width: 280px; }
}

@media (max-width: 640px) {
  .header { padding: 14px 20px; }
  .cart-label { display: none; }
  .cart-btn { padding: 10px 12px; }

  .hero { padding: 60px 20px 80px; }
  .section-head, .filter-bar, .product-grid,
  .sobre-grid, .services-grid, .tech-grid,
  .contato-grid { padding-left: 20px; padding-right: 20px; }
  .contato-bottom {
    padding: 36px 24px;
    text-align: center;
    flex-direction: column;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .chip { padding: 8px 14px; font-size: 11px; }
}
