/* ========================================================================
   DLABS CREATION — Stylesheet partilhado
   Editorial tech studio aesthetic. Cream + ink + heat orange.
   ======================================================================== */

/* ========================================================================
   DLABS CREATION — DESIGN SYSTEM
   Editorial tech studio aesthetic. Cream + ink + heat orange.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Palette */
  --ink: #f4ecd9;        /* primary text — warm cream */
  --graphite: #1a1a1f;   /* lifted surface */
  --soot: #232328;       /* more lifted surface */
  --cream: #1f1f24;      /* alt surface (legacy name) */
  --paper: #0a0a0a;      /* main background — deep black, matches logo */
  --bone: #16161a;       /* subtle lifted */
  --sand: #2a2a2e;       /* mid surface */
  --accent: #ee7c1f;     /* warm orange — from logo S */
  --accent-deep: #b25612;
  --lime: #f5c518;       /* yellow — legacy var */
  /* logo color system */
  --c-blue: #4a8df0;     /* brightened for dark bg */
  --c-green: #2bc090;
  --c-yellow: #fbcf2c;
  --c-purple: #a259f5;
  --c-orange: #f59140;
  --ink-mute: #8e8a80;
  --paper-mute: #8b8780;
  --line: rgba(var(--text-rgb), 0.10);
  --line-strong: rgba(12, 12, 10, 0.2);

  /* RGB temáticos (mudam entre dark/light) */
  --text-rgb: 250, 246, 238;   /* texto claro sobre fundo escuro */
  --bg-rgb: 10, 10, 10;        /* fundo escuro */
  --surface-rgb: 26, 26, 31;   /* superfícies elevadas */

  /* Type */
  --display: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1480px;
  --radius: 22px;
  --radius-sm: 12px;
  --radius-lg: 32px;
}

/* ============================================================ LIGHT MODE */
[data-theme="light"] {
  --ink: #17130c;          /* texto principal — quase preto quente (alto contraste) */
  --graphite: #ffffff;     /* superfície elevada */
  --soot: #f1ebe0;         /* superfície mais elevada */
  --cream: #faf7f0;        /* fundo alt — creme claro */
  --paper: #fefcf7;        /* fundo principal — quase branco quente */
  --bone: #f4efe4;         /* subtil elevado */
  --sand: #e6ddcc;         /* superfície média */
  --accent: #d65e08;       /* laranja escuro para contraste forte em claro */
  --accent-deep: #a84c06;
  --lime: #b8920a;
  --c-blue: #1e54c8;
  --c-green: #0e8a5e;
  --c-yellow: #b8920a;
  --c-purple: #7a2fd6;
  --c-orange: #d65e08;
  --ink-mute: #5a5142;     /* texto secundário — castanho médio-escuro (contraste OK) */
  --paper-mute: #5a5142;
  --line: rgba(23, 19, 12, 0.14);
  --line-strong: rgba(23, 19, 12, 0.28);

  /* RGB temáticos — escuros para contraste forte mesmo com opacidade */
  --text-rgb: 23, 19, 12;       /* texto escuro — base quase preta p/ legibilidade translúcida */
  --bg-rgb: 254, 252, 247;      /* fundo claro */
  --surface-rgb: 255, 255, 255; /* superfícies brancas */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle grain overlay across the whole site for warmth */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

/* ============================================================ TYPOGRAPHY */

.display {
  font-family: var(--display);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 50; }

.mono { font-family: var(--mono); font-weight: 500; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

h1.hero-title {
  font-family: var(--display);
  font-weight: 360;
  font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, 8.4vw, 8.4rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

h2.section-title {
  font-family: var(--display);
  font-weight: 380;
  font-variation-settings: "opsz" 144;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 60ch;
}

.deemph { color: var(--ink-mute); }

/* ============================================================ LAYOUT */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: clamp(4rem, 9vw, 8rem) 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head .lead { max-width: 50ch; }

@media (max-width: 780px) {
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Dark surface */
.dark {
  background: var(--graphite);
  color: var(--ink);
}
.dark .deemph, .dark .eyebrow { color: rgba(var(--text-rgb), 0.6); }
.dark { --line: rgba(var(--text-rgb), 0.12); --line-strong: rgba(var(--text-rgb), 0.22); }

/* ============================================================ HEADER */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem var(--gutter);
  /* Fundo SEMPRE presente (resolve bug de texto passando por trás) */
  background: rgba(var(--bg-rgb), 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}
/* Quando se scroll, fica ligeiramente mais opaco e compacto */
.header.scrolled {
  background: rgba(var(--bg-rgb), 0.92);
  border-bottom-color: var(--line-strong);
  padding: 0.7rem var(--gutter);
}
/* Fallback para browsers sem backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .header {
    background: rgba(var(--bg-rgb), 0.95);
  }
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  line-height: 1;
}
.brand-word {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.045em;
  display: inline-flex;
}
.brand-word .bw-d { color: var(--c-blue); }
.brand-word .bw-l { color: var(--c-green); }
.brand-word .bw-a { color: var(--c-yellow); }
.brand-word .bw-b { color: var(--c-purple); }
.brand-word .bw-s { color: var(--c-orange); }
.brand-cube { width: 24px; height: 24px; flex-shrink: 0; margin-left: 1px; }
/* legacy fallbacks (kept harmless) */
.brand-mark, .brand-text, .brand-text small { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  list-style: none;
  flex-wrap: nowrap;
}
.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  color: var(--ink-mute, rgba(20,20,20,0.65));
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(20,20,20,0.04);
}
.nav-links a.active {
  color: var(--ink);
  font-weight: 600;
  background: transparent;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 1.5px;
  background: var(--accent, var(--ink));
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  align-items: center;
  justify-content: center;
}

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta .btn:not(.btn-icon) { display: none; }
}

/* Mobile nav drawer */
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: var(--paper);
  z-index: 200;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.drawer.open { transform: translateX(0); }
.drawer a {
  font-family: var(--display);
  font-size: 2rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em;
  font-weight: 380;
}
.drawer a:last-child { border-bottom: none; }
.drawer-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,12,10, 0.4);
  backdrop-filter: blur(8px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================ BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--paper);
}

.btn-accent {
  background: var(--accent);
  color: var(--paper);
}
.btn-accent:hover {
  background: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.dark .btn-ghost { color: var(--ink); border-color: rgba(var(--text-rgb),0.25); }
.dark .btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-icon {
  width: 44px; height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
}
.btn-icon:hover { background: var(--accent); }

.btn-wa {
  background: #25D366;
  color: white;
}
.btn-wa:hover { background: #1eb858; }

.btn-arrow svg { transition: transform 0.3s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }

.btn-lg { padding: 1.1rem 1.9rem; font-size: 1rem; }

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

.hero {
  padding: clamp(8rem, 14vh, 11rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-eyebrow-row .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-eyebrow-row .badge .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-sub {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--ink-mute);
}

.hero-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-meta-item .num {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 360;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-meta-item .lbl {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-top: 0.5rem;
}

/* Hero 3D Visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.cube-stage {
  width: min(85%, 460px);
  aspect-ratio: 1;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 24s linear infinite;
}
@keyframes spin {
  to { transform: rotateY(360deg) rotateX(20deg); }
}
.cube-face {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: rgba(var(--text-rgb), 0.04);
}
.cube-face.front  { transform: translateZ(180px); }
.cube-face.back   { transform: translateZ(-180px) rotateY(180deg); }
.cube-face.right  { transform: rotateY(90deg) translateZ(180px); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(180px); }
.cube-face.top    { transform: rotateX(90deg) translateZ(180px); background: rgba(238,124,31,0.16); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(180px); }

/* Floating chips around hero */
.float-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px -8px rgba(12,12,10,0.12);
  animation: floatA 6s ease-in-out infinite;
}
.chip::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.chip:nth-child(1) { top: 8%; left: -2%; animation-delay: 0s; }
.chip:nth-child(2) { top: 18%; right: 0%; animation-delay: -1s; --tx: 6px; }
.chip:nth-child(2)::before { background: var(--c-blue); }
.chip:nth-child(3) { bottom: 22%; left: 4%; animation-delay: -2s; }
.chip:nth-child(3)::before { background: var(--ink); }
.chip:nth-child(4) { bottom: 8%; right: 8%; animation-delay: -3s; }
.chip:nth-child(5) { top: 48%; left: -6%; animation-delay: -1.5s; }
.chip:nth-child(5)::before { background: var(--c-purple); }
.chip:nth-child(6) { top: 56%; right: -4%; animation-delay: -2.5s; }

@keyframes floatA {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(var(--tx, -4px)); }
}

/* Background atmospheric blobs */
.atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.atmosphere::before, .atmosphere::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.atmosphere::before {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,74,20,0.55), transparent 70%);
  top: 10%; right: -8%;
}
.atmosphere::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(216,255,60,0.4), transparent 70%);
  bottom: -10%; left: -5%;
}

/* ============================================================ MARQUEE */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  animation: scroll 35s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 360;
  letter-spacing: -0.02em;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 4rem; }
.marquee-track svg, .marquee-track .star {
  width: 18px; height: 18px;
  color: var(--accent);
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================================ STEPS / HOW */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  counter-increment: step;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(12,12,10,0.18);
}
.step .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-bottom: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.step .num::before {
  content: '0' counter(step);
  font-family: var(--display);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1;
  font-weight: 360;
}
.step h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
  line-height: 1.05;
}
.step p { font-size: 0.95rem; color: var(--ink-mute); line-height: 1.5; }

/* ============================================================ CARDS / SERVICES */

.grid-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-services { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.25);
}
.svc-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.svc-card .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bone);
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.svc-card:hover .ico { background: var(--accent); color: var(--paper); }
.svc-card h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.svc-card p { color: var(--ink-mute); font-size: 0.95rem; }
.svc-card .arrow {
  position: absolute;
  bottom: 1.85rem; right: 1.85rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.svc-card:hover .arrow { background: var(--accent); transform: rotate(-45deg); }

.dark .svc-card {
  background: var(--graphite);
  border-color: rgba(var(--text-rgb),0.1);
}
.dark .svc-card:hover {
  border-color: rgba(var(--text-rgb),0.35);
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(238,124,31,0.15);
}
.dark .svc-card .ico { background: rgba(var(--text-rgb),0.06); }
.dark .svc-card p { color: rgba(var(--text-rgb),0.65); }

/* ---- svc-card--info: card de característica/garantia, não clicável ---- */
.svc-card--info {
  cursor: default;
  background: linear-gradient(135deg, rgba(238,124,31,0.08) 0%, rgba(238,124,31,0.03) 100%);
  border-color: rgba(238,124,31,0.25);
}
.svc-card--info:hover {
  transform: none;
  border-color: rgba(238,124,31,0.4);
  box-shadow: none;
}
.svc-card--info .ico {
  background: var(--accent);
  color: var(--paper);
}
.dark .svc-card--info {
  background: linear-gradient(135deg, rgba(238,124,31,0.12) 0%, rgba(238,124,31,0.04) 100%);
  border-color: rgba(238,124,31,0.3);
}
.dark .svc-card--info:hover {
  transform: none;
  border-color: rgba(238,124,31,0.45);
  box-shadow: none;
}

.svc-badge {
  display: inline-block;
  font-family: var(--mono, var(--sans));
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(238,124,31,0.12);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  border: 1px solid rgba(238,124,31,0.25);
}
.dark .svc-badge {
  background: rgba(238,124,31,0.18);
  border-color: rgba(238,124,31,0.35);
}

/* Variante informativa: card não-clicável, sem afford de hover "vou algures" */
.svc-card--info {
  cursor: default;
}
.svc-card--info:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}
.svc-card--info:hover .ico {
  background: var(--bone);
  color: inherit;
}
.dark .svc-card--info:hover {
  border-color: rgba(var(--text-rgb),0.1);
  box-shadow: none;
}
.dark .svc-card--info:hover .ico {
  background: rgba(var(--text-rgb),0.06);
  color: inherit;
}

/* ============================================================ STUDIO BLOCK */

.studio {
  background: var(--graphite);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) { .studio { grid-template-columns: 1fr; } }

.studio::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,124,31,0.5), transparent 70%);
  top: -50%; right: -20%;
  filter: blur(60px);
  opacity: 0.7;
}
.studio-content { position: relative; z-index: 1; }
.studio h2 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.studio h2 .italic { color: var(--accent); }
.studio p { color: rgba(var(--text-rgb),0.7); font-size: 1.05rem; max-width: 50ch; margin-bottom: 2rem; }

.studio-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
  list-style: none;
}
.studio-list li {
  font-family: var(--mono);
  font-size: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(var(--text-rgb),0.12);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.studio-list li::before {
  content: '+';
  color: var(--accent);
  font-weight: 600;
}

/* ============================================================ PRODUCTS */

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1080px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products { grid-template-columns: 1fr; } }

.product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-4px); }
.product-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bone), var(--sand));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product-img svg {
  width: 50%;
  height: 50%;
  opacity: 0.85;
  transition: transform 0.6s var(--ease);
}
.product:hover .product-img svg { transform: rotate(15deg) scale(1.1); }
.product-tag {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-tag.hot { background: var(--accent); }
.product-info { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.product-info h4 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.product-info .meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-info .price {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 380;
  letter-spacing: -0.02em;
}
.product-info .buy {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.product-info .buy:hover { background: var(--accent); transform: rotate(-45deg); }

/* ============================================================ AREAS GRID */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 980px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .areas-grid { grid-template-columns: 1fr; } }

.area {
  background: var(--paper);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 200px;
  transition: background 0.3s var(--ease);
  cursor: default;
}
.area:hover { background: var(--bone); }
.area .ico-area {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--accent);
}
.area h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.area p { font-size: 0.85rem; color: var(--ink-mute); line-height: 1.45; }
.area .area-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  margin-top: auto;
  letter-spacing: 0.08em;
}

/* ============================================================ DIFFERENTIALS */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2.5rem;
}
@media (max-width: 880px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .diff-grid { grid-template-columns: 1fr; } }
.diff {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.diff .num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}
.diff h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.diff p { font-size: 0.92rem; color: var(--ink-mute); line-height: 1.5; }

/* ============================================================ FORM (UPLOAD) */

.form-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-row.full { grid-template-columns: 1fr; }
.form-row.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .form-row, .form-row.three { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.95rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.field textarea { min-height: 120px; resize: vertical; }

/* File upload */
.dropzone {
  border: 2px dashed var(--line-strong);
  border-radius: 18px;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream), var(--paper));
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  cursor: pointer;
  position: relative;
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--accent);
  background: rgba(255,74,20,0.04);
}
.dropzone .dz-ico {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
}
.dropzone h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.dropzone p { color: var(--ink-mute); font-size: 0.9rem; }
.dropzone input[type="file"] { display: none; }
.dz-formats {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.dz-formats span {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.file-preview {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--bone);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.file-preview .name { flex: 1; }
.file-preview .remove { color: var(--accent); cursor: pointer; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-mute);
  line-height: 1.45;
}
.checkbox-row input { margin-top: 4px; accent-color: var(--accent); }

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.success {
  display: none;
  background: var(--ink);
  color: var(--paper);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}
.success.show { display: block; }
.success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  margin: 0 auto 1.5rem;
}
.success h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 2rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

/* ============================================================ FAQ */

.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.faq-q .toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bone);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item.open .faq-q .toggle {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--paper);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding-top: 1rem;
  color: var(--ink-mute);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 70ch;
}

/* ============================================================ PORTFOLIO */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.portfolio-item:hover { transform: translateY(-4px); }
.portfolio-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bone), var(--sand));
  position: relative;
  display: grid; place-items: center;
}
.portfolio-img svg { width: 50%; height: 50%; opacity: 0.7; }
.portfolio-info { padding: 1.25rem; }
.portfolio-info .cat {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.portfolio-info h4 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.portfolio-info p { font-size: 0.88rem; color: var(--ink-mute); }
.portfolio-info .meta {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.portfolio-info .meta span {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  background: var(--bone);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ============================================================ B2B PAGE */

.b2b-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 880px) { .b2b-hero { grid-template-columns: 1fr; } }

.b2b-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.b2b-stat {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.b2b-stat .num {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 360;
  letter-spacing: -0.03em;
  line-height: 1;
}
.b2b-stat .lbl { font-size: 0.85rem; color: var(--ink-mute); margin-top: 0.5rem; }

.b2b-cta-block {
  background: #1a1612;
  color: #faf6ee;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.b2b-cta-block::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,124,31,0.25), transparent 70%);
  bottom: -50%; left: -10%;
  filter: blur(60px);
}
.b2b-cta-block > * { position: relative; z-index: 1; }
.b2b-cta-block h2 { color: #ffffff !important; margin-bottom: 1rem; }
.b2b-cta-block .eyebrow { color: var(--accent); }
.b2b-cta-block p { color: rgba(250, 246, 238, 0.75) !important; max-width: 50ch; margin: 0 auto 2rem; }
/* Botão ghost dentro do banner escuro — texto claro sempre */
.b2b-cta-block .btn-ghost {
  color: #faf6ee !important;
  border-color: rgba(250, 246, 238, 0.3) !important;
}
.b2b-cta-block .btn-ghost:hover {
  background: rgba(250, 246, 238, 0.1) !important;
  border-color: rgba(250, 246, 238, 0.6) !important;
}

/* ============================================================ TESTIMONIALS */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
}
.testimonial blockquote {
  font-family: var(--display);
  font-weight: 380;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}
.testimonial blockquote::before { content: '"'; color: var(--accent); }
.testimonial blockquote::after { content: '"'; color: var(--accent); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-author .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.85rem;
}
.testimonial-author .who { font-size: 0.9rem; font-weight: 600; }
.testimonial-author .what { font-size: 0.8rem; color: var(--ink-mute); }

/* ============================================================ CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 1rem; } }

.contact-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); background: var(--accent); }
.contact-card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(var(--text-rgb),0.1);
  display: grid; place-items: center;
}
.contact-card h4 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 1.6rem;
  letter-spacing: -0.025em;
}
.contact-card p { font-size: 0.95rem; opacity: 0.7; }
.contact-card .val {
  font-family: var(--mono);
  font-size: 0.95rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--text-rgb),0.15);
}

/* ============================================================ CTA BIG */

.cta-big {
  background: var(--graphite);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.cta-big::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,124,31,0.40), transparent 70%);
  top: -50%; left: -20%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-big::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162,89,245,0.25), transparent 70%);
  bottom: -40%; right: -10%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-big > * { position: relative; z-index: 1; }
.cta-big h2 {
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.cta-big p {
  color: rgba(var(--text-rgb),0.78);
  max-width: 55ch;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}
.cta-big .btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================ FOOTER */

footer {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } .footer-top > div:first-child { grid-column: 1; } }

.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-word { /* colors pop natively on dark */ }
.footer-brand p {
  font-size: 0.92rem;
  color: rgba(var(--text-rgb),0.6);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(var(--text-rgb),0.4);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a {
  font-size: 0.92rem;
  color: rgba(var(--text-rgb),0.8);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(var(--text-rgb),0.12);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(var(--text-rgb),0.5);
}
.footer-bottom .links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* WhatsApp floating */
.wa-float {
  position: fixed;
  bottom: 1.25rem; right: 1.25rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  z-index: 90;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,0.55);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: ring 2s infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================ SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }

/* ============================================================ UTIL */

.center { text-align: center; }
.flex { display: flex; align-items: center; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.spacer-sm { height: 1.5rem; }
.spacer-md { height: 3rem; }
.spacer-lg { height: 5rem; }

.divider {
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}

/* Page header (subpages) */
.page-header {
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.page-header .crumbs {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
}
.page-header .crumbs span:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  color: var(--ink-mute);
}
.page-header h1 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  max-width: 18ch;
}
.page-header p { max-width: 60ch; color: var(--ink-mute); font-size: 1.1rem; }

/* Notice / alert */
.notice {
  background: var(--bone);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--ink-mute);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 2rem;
}
.notice strong { color: var(--ink); display: block; margin-bottom: 0.25rem; }

/* Print-tape band — moves on scroll */
.tape {
  background: var(--accent);
  color: var(--paper);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.tape-track {
  display: inline-flex;
  gap: 3rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  animation: scroll 25s linear infinite;
}
.tape-track span { display: inline-flex; align-items: center; gap: 3rem; }
.tape-track svg { width: 14px; height: 14px; }


/* ============================================================ ENHANCEMENTS v4 */

/* -------- Logo image (replaces colored letters) -------- */
/* Logo horizontal "DLABS / 3D CREATIONS" + cubo, ratio ≈3.5:1 */
.brand {
  flex-shrink: 0;            /* o link do logo nunca encolhe no grid do header */
  padding: 4px 0;            /* respiração vertical, evita parecer colado às linhas */
}
.brand-logo {
  height: 40px;              /* logo horizontal: 40px de altura ≈ 148px de largura */
  width: auto;
  max-width: none;           /* anula o "img { max-width: 100% }" global que causava colapso */
  flex-shrink: 0;            /* não encolhe dentro do flex do .brand */
  aspect-ratio: 700 / 189;   /* dimensões reais do WEBP (≈3.704:1) — evita comprimir o cubo */
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
  image-rendering: -webkit-optimize-contrast;  /* mais nitidez ao reduzir o raster */
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s;
}
.brand:hover .brand-logo {
  transform: scale(1.05);    /* sem rotação — o logo tem texto, manter direito */
  filter: drop-shadow(0 4px 14px rgba(238,124,31,0.4));
}
/* Quando o header tem fundo (scrolled), o logo encolhe ligeiramente */
.header.scrolled .brand-logo { height: 36px; }

.footer-brand .brand-logo { height: 56px; margin-bottom: 1rem; }

/* Tablet */
@media (max-width: 980px) {
  .brand-logo { height: 36px; }
  .header.scrolled .brand-logo { height: 32px; }
}
/* Telemóvel */
@media (max-width: 720px) {
  .brand-logo { height: 32px; }
  .header.scrolled .brand-logo { height: 30px; }
  .footer-brand .brand-logo { height: 44px; }
}

/* -------- Hero animated background — "Studio Cosmos" -------- */
.hero { position: relative; }
.hero-cosmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.cosmos-shape {
  position: absolute;
  opacity: 0.42;
  filter: blur(0.5px);
  will-change: transform;
}
.cosmos-shape svg { width: 100%; height: 100%; display: block; }

.cs-1 { top: 8%;  left: 6%;  width: 90px;  animation: drift-a 22s ease-in-out infinite; }
.cs-2 { top: 18%; right: 32%; width: 130px; animation: drift-b 28s ease-in-out infinite; }
.cs-3 { bottom: 18%; left: 28%; width: 70px;  animation: drift-c 18s ease-in-out infinite; opacity: 0.55; }
.cs-4 { bottom: 6%; right: 8%;  width: 110px; animation: drift-a 25s ease-in-out infinite reverse; }
.cs-5 { top: 42%;  left: 46%; width: 60px;  animation: drift-b 16s ease-in-out infinite; opacity: 0.3; }
.cs-6 { top: 60%;  right: 14%; width: 50px;  animation: drift-c 20s ease-in-out infinite reverse; opacity: 0.5; }

@keyframes drift-a {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  33%     { transform: translate(28px,-22px) rotate(120deg) scale(1.06); }
  66%     { transform: translate(-22px,18px) rotate(240deg) scale(0.96); }
}
@keyframes drift-b {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50%     { transform: translate(-30px,28px) rotate(180deg); }
}
@keyframes drift-c {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  25%     { transform: translate(18px,16px) rotate(90deg) scale(1.1); }
  75%     { transform: translate(-14px,-22px) rotate(270deg) scale(0.92); }
}

/* Soft radial glows that pulse */
.cosmos-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
  animation: pulse-glow 10s ease-in-out infinite;
}
.cg-1 { top: 10%; left: 20%; width: 360px; height: 360px; background: var(--c-orange); }
.cg-2 { bottom: 0;  right: 18%; width: 420px; height: 420px; background: var(--c-purple); animation-delay: -3s; opacity: 0.18; }
.cg-3 { top: 35%; left: 60%; width: 280px; height: 280px; background: var(--c-blue); animation-delay: -6s; opacity: 0.14; }
@keyframes pulse-glow {
  0%,100% { transform: scale(1); opacity: 0.22; }
  50%     { transform: scale(1.15); opacity: 0.32; }
}

/* Make sure hero content sits above cosmos */
.hero > .container, .hero-grid, .hero-text, .hero-visual { position: relative; z-index: 2; }

/* Scanline grid overlay (very subtle "studio" feel) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--text-rgb),0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--text-rgb),0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* -------- Wireframe cube — colorize faces -------- */
.cube-face.front  { background: rgba(74,141,240,0.06); border-color: rgba(74,141,240,0.55); }
.cube-face.back   { background: rgba(43,192,144,0.06); border-color: rgba(43,192,144,0.5); }
.cube-face.right  { background: rgba(251,207,44,0.05); border-color: rgba(251,207,44,0.55); }
.cube-face.left   { background: rgba(162,89,245,0.06); border-color: rgba(162,89,245,0.5); }
.cube-face.top    { background: rgba(245,145,64,0.10); border-color: rgba(245,145,64,0.6); }
.cube-face.bottom { background: rgba(var(--text-rgb),0.04); border-color: rgba(var(--text-rgb),0.3); }





/* -------- Headline "rise" reveal -------- */
.rise-line {
  display: block;
  overflow: hidden;
}
.rise-line > span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: rise-up 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.rise-line:nth-child(2) > span { animation-delay: 0.12s; }
.rise-line:nth-child(3) > span { animation-delay: 0.24s; }
.rise-line:nth-child(4) > span { animation-delay: 0.36s; }
@keyframes rise-up {
  to { transform: translateY(0); opacity: 1; }
}

/* -------- Stagger reveal enhancement — sharper easing -------- */
.reveal { transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* -------- Glow on accent bits -------- */
.italic { 
  position: relative;
  background: linear-gradient(120deg, var(--c-orange), var(--c-yellow), var(--c-orange));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* -------- Smooth scrolling -------- */
html { scroll-behavior: smooth; }

/* -------- Marquee strip (if it exists, ensure animation) -------- */
.marquee { overflow: hidden; }
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-scroll 35s linear infinite;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------- Number count-up — preserve format -------- */
.count { display: inline-block; font-variant-numeric: tabular-nums; }

/* -------- Page transition fade-in -------- */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
main, .page-header { animation: page-fade-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

/* -------- Glow border on hover for interactive elements -------- */
.glow-on-hover {
  position: relative;
  overflow: hidden;
}
.glow-on-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(238,124,31,0);
  transition: box-shadow 0.4s;
  pointer-events: none;
}
.glow-on-hover:hover::after { box-shadow: 0 0 28px 2px rgba(238,124,31,0.25); }

/* -------- Active nav: relative positioning for underline -------- */
.nav-links a.active {
  position: relative;
}

/* -------- Scroll indicator (very subtle progress bar) -------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple), var(--c-orange), var(--c-yellow));
  width: 0;
  z-index: 9998;
  transition: width 0.1s linear;
}

/* -------- Float WhatsApp pulse -------- */
.wa-float {
  animation: wa-pulse 2.4s ease-in-out infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 8px 28px rgba(37,211,102,0.55), 0 0 0 14px rgba(37,211,102,0); }
}


/* CARD-ICON-CONTRAST-SAFETY */
.product-img svg, .portfolio-img svg {
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.45)) drop-shadow(0 3px 8px rgba(0,0,0,0.35));
}

/* Slightly stronger ring around icon-letter chips for safety on any bg */
.svc-card .ico {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.18);
}


/* ============================================================ LANGUAGE SELECTOR */
/* === FIX: Google Translate injeta estilos no body que podem mudar a cor.
       Forçamos os valores originais para evitar regressão visual. === */
html { background: var(--paper) !important; }
body { 
  top: 0 !important; 
  position: static !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
}

/* Esconder a barra superior do Google Translate */
.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

/* Seletor de idiomas próprio */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.7rem;
  background: transparent;
  border: 1px solid rgba(var(--text-rgb),0.18);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.lang-current:hover {
  border-color: var(--accent);
  background: rgba(255,74,20,0.08);
}
.lang-current .lang-flag {
  font-size: 1rem;
  line-height: 1;
}
.lang-current .lang-arrow {
  width: 10px; height: 10px;
  transition: transform 0.2s ease;
}
.lang-switcher.open .lang-current .lang-arrow {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--bone, #16161a);
  border: 1px solid rgba(var(--text-rgb),0.12);
  border-radius: 12px;
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 1000;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.lang-switcher.open .lang-dropdown {
  display: flex;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease;
  width: 100%;
}
.lang-option:hover {
  background: rgba(var(--text-rgb),0.06);
}
.lang-option.active {
  background: rgba(255,74,20,0.12);
  color: var(--accent);
}
.lang-option .lang-flag {
  font-size: 1.15rem;
  line-height: 1;
}
.lang-option .lang-name {
  flex: 1;
}
.lang-option .lang-code {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.55;
  text-transform: uppercase;
}

/* No mobile, mostra só a bandeira */
@media (max-width: 720px) {
  .lang-current .lang-code-current { display: none; }
  .lang-current { padding: 0.45rem 0.55rem; }
  .lang-dropdown { right: -0.5rem; }
}

/* Esconde o lang-switcher do header em ecrãs pequenos (vai para o drawer) */
@media (max-width: 900px) {
  .nav-cta .lang-switcher { display: none !important; }
  .nav-cta .btn-wa { display: none !important; }
}

/* Lang-switcher dentro do drawer mobile — versão horizontal compacta */
.drawer .lang-switcher-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 0;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}
.drawer .lang-switcher-mobile-label {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb),0.5);
  margin-bottom: 0.5rem;
}
.drawer .lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: var(--bone, #16161a);
  border: 1px solid rgba(var(--text-rgb),0.12);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.drawer .lang-pill:hover {
  border-color: var(--accent);
  background: rgba(255,74,20,0.08);
}
.drawer .lang-pill.active {
  background: rgba(255,74,20,0.14);
  border-color: var(--accent);
  color: var(--accent);
}
.drawer .lang-pill .lang-flag {
  font-size: 1rem;
  line-height: 1;
}

/* ============================================================ MOBILE FIXES */
@media (max-width: 540px) {
  /* Hero stats: passa a 1 coluna em ecrãs pequenos para evitar quebras feias */
  .hero-meta {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .hero-meta-item {
    text-align: left;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
  }
  .hero-meta-item:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-meta-item .num {
    font-size: 2.2rem !important;
  }
  
  /* Nav CTA mais compacto em mobile */
  .nav-cta {
    gap: 0.4rem !important;
  }
  
  /* Drawer com padding-top reduzido para caber tudo */
  .drawer {
    padding: 5rem 1.5rem 1.5rem !important;
  }
  .drawer a {
    font-size: 1.6rem !important;
    padding: 0.45rem 0 !important;
  }
}

@media (max-width: 360px) {
  .hero-meta-item .num {
    font-size: 1.9rem !important;
  }
  .lang-current { padding: 0.4rem 0.5rem !important; }
}

/* ============================================================ MATERIALS PAGE */
.materials-group-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(var(--text-rgb),0.1);
}
.svc-card .ico {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
}

/* ============================================================================
   CARRINHO E CHECKOUT — Adicionado para a loja
   ============================================================================ */

/* Botão flutuante do carrinho */
#cart-fab {
  position: fixed;
  bottom: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 90;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
#cart-fab:hover {
  background: var(--accent);
  transform: scale(1.05);
}
.cart-fab-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--paper);
}

/* Drawer + overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--paper);
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -8px 0 32px rgba(0,0,0,0.2);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart-header h3 {
  font-family: var(--display);
  font-weight: 380;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 0;
}
.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s var(--ease);
}
.cart-close:hover { background: var(--bone); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-mute);
}
.cart-empty p { margin-bottom: 1.5rem; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.cart-item-info small {
  color: var(--ink-mute);
  font-size: 0.78rem;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bone);
  border-radius: 8px;
  padding: 0.2rem;
}
.cart-item-qty button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s var(--ease);
}
.cart-item-qty button:hover { background: var(--paper); }
.cart-item-qty span {
  min-width: 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}
.cart-item-price {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.cart-item-remove:hover {
  background: rgba(220,38,38,0.1);
  color: rgb(220,38,38);
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--bone);
}
.cart-footer:empty { display: none; }
.cart-shipping {
  margin-bottom: 1rem;
}
.cart-shipping label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.cart-shipping select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.cart-totals {
  margin-bottom: 1rem;
}
.cart-totals > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  color: var(--ink-mute);
}
.cart-total {
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.75rem !important;
  font-size: 1.1rem !important;
  font-weight: 600;
  color: var(--ink) !important;
}
.cart-hint {
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}
.cart-checkout {
  width: 100%;
  margin-bottom: 0.5rem;
}
.cart-clear {
  width: 100%;
  background: transparent;
  color: var(--ink-mute);
  font-size: 0.85rem;
  padding: 0.5rem;
  border: none;
}
.cart-clear:hover { color: var(--ink); }

/* Animação no botão "Adicionar" */
.cart-flash {
  animation: cart-flash-anim 0.4s ease;
}
@keyframes cart-flash-anim {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); background: var(--accent) !important; color: white !important; }
}

/* Tema dark do carrinho (se a página for dark) */
.dark .cart-drawer { background: var(--graphite); }
.dark .cart-header { border-bottom-color: rgba(var(--text-rgb),0.1); }
.dark .cart-item { border-bottom-color: rgba(var(--text-rgb),0.08); }
.dark .cart-footer { background: rgba(0,0,0,0.3); border-top-color: rgba(var(--text-rgb),0.1); }
.dark .cart-shipping select { background: var(--graphite); border-color: rgba(var(--text-rgb),0.15); color: var(--ink); }
.dark .cart-item-qty { background: rgba(var(--text-rgb),0.06); }
.dark .cart-item-qty button:hover { background: rgba(var(--text-rgb),0.12); }

/* ============================================================================
   NEW BADGE — Selo "NEW" no menu para página recente
   ============================================================================ */
.nav-links a .badge-new,
.menu-drawer-links a .badge-new,
.drawer a .badge-new {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  border-radius: 999px;
  vertical-align: middle;
  line-height: 1.2;
  transform: translateY(-1px);
}

/* ============================================================================
   VENDA NA EUROPA — Página B2B Fulfillment
   ============================================================================ */

/* Hero */
.vne-hero {
  position: relative;
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}
.vne-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 80% 10%, rgba(238,124,31,0.10), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(238,124,31,0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.vne-hero > .wrap { position: relative; z-index: 1; }
.vne-hero h1 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  max-width: 16ch;
  margin: 1.25rem 0 1.5rem;
}
.vne-hero h1 .accent {
  font-style: italic;
  color: var(--accent);
}
.vne-hero .lead {
  max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
}
.vne-hero .support {
  max-width: 60ch;
  font-size: 0.95rem;
  color: var(--ink-mute);
  margin-bottom: 2.25rem;
  opacity: 0.85;
}
.vne-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.vne-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  max-width: 720px;
}
.vne-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  background: rgba(var(--text-rgb),0.04);
  border: 1px solid rgba(var(--text-rgb),0.1);
  border-radius: 999px;
  white-space: nowrap;
}
.vne-badge svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
}

/* Secções genéricas */
.vne-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  position: relative;
}
.vne-section h2 {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 22ch;
  margin-bottom: 1rem;
}
.vne-section h2 .italic { font-style: italic; color: var(--accent); }
.vne-section .sub {
  max-width: 56ch;
  color: var(--ink-mute);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Problem cards */
.vne-pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.vne-pain {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.vne-pain:hover { transform: translateY(-3px); border-color: var(--ink); }
.vne-pain .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(220,38,38,0.1);
  color: rgb(220,38,38);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.vne-pain h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.vne-pain p { color: var(--ink-mute); font-size: 0.92rem; line-height: 1.55; }
.dark .vne-pain { background: var(--graphite); border-color: rgba(var(--text-rgb),0.1); }
.dark .vne-pain:hover { border-color: rgba(var(--text-rgb),0.35); }

/* Solution highlight */
.vne-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}
@media (max-width: 880px) { .vne-solution { grid-template-columns: 1fr; } }
.vne-solution-points { display: flex; flex-direction: column; gap: 1.25rem; }
.vne-point { display: flex; gap: 1rem; align-items: flex-start; }
.vne-point .ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(238,124,31,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vne-point h5 { font-weight: 500; font-size: 1rem; margin-bottom: 0.2rem; }
.vne-point p { color: var(--ink-mute); font-size: 0.92rem; line-height: 1.55; }

/* Timeline How It Works */
.vne-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}
@media (max-width: 980px) { .vne-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .vne-timeline { grid-template-columns: 1fr; } }
.vne-step {
  position: relative;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.vne-step:hover { transform: translateY(-3px); border-color: var(--accent); }
.vne-step .step-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.vne-step .ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(238,124,31,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.vne-step h5 { font-weight: 500; font-size: 0.98rem; margin-bottom: 0.4rem; }
.vne-step p { color: var(--ink-mute); font-size: 0.85rem; line-height: 1.5; }
.dark .vne-step { background: var(--graphite); border-color: rgba(var(--text-rgb),0.1); }

/* Plans */
.vne-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (max-width: 880px) { .vne-plans { grid-template-columns: 1fr; } }
.vne-plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.vne-plan:hover { transform: translateY(-4px); border-color: var(--ink); }
.vne-plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(238,124,31,0.06), transparent 50%);
}
.vne-plan.featured::before {
  content: "Recomendado";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
.vne-plan h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.vne-plan .plan-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.vne-plan ul { list-style: none; padding: 0; margin: 0 0 1.75rem; flex: 1; }
.vne-plan li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--ink-mute);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(var(--text-rgb),0.06);
}
.vne-plan li:last-child { border-bottom: none; }
.vne-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.dark .vne-plan { background: var(--graphite); border-color: rgba(var(--text-rgb),0.1); }
.dark .vne-plan li { border-bottom-color: rgba(var(--text-rgb),0.06); }

/* Add-ons grid */
.vne-addons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.vne-addon {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.vne-addon:hover { border-color: var(--accent); transform: translateY(-2px); }
.vne-addon .ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(238,124,31,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.vne-addon h5 { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.3rem; }
.vne-addon p { color: var(--ink-mute); font-size: 0.82rem; line-height: 1.5; }
.dark .vne-addon { background: var(--graphite); border-color: rgba(var(--text-rgb),0.1); }

/* CALCULADORA */
.vne-calc {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}
@media (max-width: 980px) { .vne-calc { grid-template-columns: 1fr; } }
.vne-calc-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.dark .vne-calc-form { background: var(--graphite); border-color: rgba(var(--text-rgb),0.1); }
.vne-calc-form fieldset { border: none; padding: 0; margin: 0 0 1.75rem; }
.vne-calc-form fieldset:last-child { margin-bottom: 0; }
.vne-calc-form legend {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0;
}
.vne-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.vne-row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 540px) {
  .vne-row, .vne-row.three { grid-template-columns: 1fr; }
}
.vne-field {
  display: flex;
  flex-direction: column;
}
.vne-field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 0.35rem;
}
.vne-field input,
.vne-field select,
.vne-field textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease);
}
.dark .vne-field input,
.dark .vne-field select,
.dark .vne-field textarea {
  background: rgba(0,0,0,0.25);
  border-color: rgba(var(--text-rgb),0.15);
}
.vne-field input:focus,
.vne-field select:focus,
.vne-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.vne-field textarea { resize: vertical; min-height: 80px; }

.vne-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
@media (max-width: 540px) { .vne-checkboxes { grid-template-columns: 1fr; } }
.vne-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.vne-check:hover { border-color: var(--accent); }
.vne-check input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.vne-check span { font-size: 0.86rem; flex: 1; }
.vne-check .price-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}
.vne-check input:checked ~ span { font-weight: 500; }
.dark .vne-check { border-color: rgba(var(--text-rgb),0.12); }

/* Upload area */
.vne-upload {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.vne-upload:hover, .vne-upload.dragging {
  border-color: var(--accent);
  background: rgba(238,124,31,0.04);
}
.dark .vne-upload { border-color: rgba(var(--text-rgb),0.18); }
.dark .vne-upload:hover, .dark .vne-upload.dragging {
  background: rgba(238,124,31,0.06);
  border-color: var(--accent);
}
.vne-upload input[type="file"] { display: none; }
.vne-upload-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  color: var(--accent);
}
.vne-upload h5 { font-weight: 500; font-size: 0.98rem; margin-bottom: 0.25rem; }
.vne-upload p { color: var(--ink-mute); font-size: 0.82rem; }
.vne-upload .small { color: var(--ink-mute); font-size: 0.75rem; opacity: 0.8; margin-top: 0.4rem; }
.vne-files-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.vne-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: rgba(238,124,31,0.06);
  border: 1px solid rgba(238,124,31,0.2);
  border-radius: 8px;
  font-size: 0.85rem;
}
.vne-file-item .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vne-file-item .size { color: var(--ink-mute); font-family: var(--mono); font-size: 0.78rem; }
.vne-file-item .status {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.vne-file-item .remove {
  background: none; border: none; cursor: pointer; color: var(--ink-mute);
  padding: 0.2rem; border-radius: 4px;
}
.vne-file-item .remove:hover { color: rgb(220,38,38); }

/* Resultado de preço (sticky) */
.vne-result {
  position: sticky;
  top: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.dark .vne-result { background: var(--graphite); border-color: rgba(var(--text-rgb),0.1); }
.vne-result h4 {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.75rem;
}
.vne-total {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1.75rem;
}
.vne-total .currency { font-size: 0.6em; color: var(--ink); margin-right: 0.15em; }
.vne-breakdown {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
}
.dark .vne-breakdown { border-top-color: rgba(var(--text-rgb),0.1); }
.vne-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--ink-mute);
}
.vne-breakdown-row.total {
  border-top: 1px solid var(--line);
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.dark .vne-breakdown-row.total { border-top-color: rgba(var(--text-rgb),0.1); }
.vne-pay-btn {
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.95rem 1.25rem;
  font-size: 1rem;
}
.vne-pay-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.vne-disclaimer {
  font-size: 0.78rem;
  color: var(--ink-mute);
  line-height: 1.5;
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(238,124,31,0.06);
  border-radius: 8px;
  border-left: 3px solid var(--accent);
}

/* Why DLabs */
.vne-why {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.vne-why-item {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
}
.dark .vne-why-item { background: var(--graphite); border-color: rgba(var(--text-rgb),0.1); }
.vne-why-item .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(238,124,31,0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.vne-why-item h5 { font-weight: 500; font-size: 1rem; margin-bottom: 0.35rem; }
.vne-why-item p { color: var(--ink-mute); font-size: 0.88rem; line-height: 1.55; }

/* Final CTA */
.vne-final {
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: linear-gradient(135deg, rgba(238,124,31,0.08) 0%, rgba(238,124,31,0.02) 100%);
  border-top: 1px solid rgba(238,124,31,0.2);
  border-bottom: 1px solid rgba(238,124,31,0.2);
}
.vne-final h2 {
  max-width: 22ch;
  margin: 0 auto 1.25rem;
}
.vne-final p {
  max-width: 50ch;
  margin: 0 auto 2rem;
  color: var(--ink-mute);
  font-size: 1.05rem;
}
.vne-final .vne-ctas { justify-content: center; }

/* FAQ adaptado para Vne (reusa estilos faq) */
.vne-faq { margin-top: 3rem; }

/* ============================================================================
   MOBILE FIXES FINAIS — Layout do nav e drawer scroll
   ============================================================================ */

/* Em mobile, garantir que o nav fica bem alinhado: logo à esquerda, ações à direita */
@media (max-width: 1180px) {
  .nav {
    grid-template-columns: auto auto 1fr auto;
    gap: 0.5rem;
  }
  .nav .brand { grid-column: 1; }
  .nav .nav-links { display: none; }
  .nav .nav-cta {
    grid-column: 4;
    justify-self: end;
  }
}

/* Mobile/tablet: esconder o lang-switcher do header (acessível pelo drawer) */
@media (max-width: 900px) {
  .nav-cta .lang-switcher {
    display: none !important;
  }
  /* Esconder também btn-wa do header (já existe wa-float flutuante no canto) */
  .nav-cta .btn-wa {
    display: none !important;
  }
  .nav {
    grid-template-columns: auto 1fr auto !important;
  }
  .nav .brand { grid-column: 1; }
  .nav .nav-cta {
    grid-column: 3;
    justify-self: end;
    flex-wrap: nowrap;
  }
}

/* Drawer scroll para suportar muitos itens */
.drawer {
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Garantir que conteúdo extra do drawer (lang-switcher, btn) não fica cortado */
@media (max-width: 720px) {
  .drawer {
    padding: 5rem 1.5rem 2rem !important;
  }
  .drawer a {
    font-size: 1.5rem !important;
    padding: 0.55rem 0 !important;
  }
  .drawer .badge-new {
    font-size: 0.55rem !important;
    padding: 0.1rem 0.35rem !important;
    transform: translateY(-3px) !important;
  }
}

/* Garantir que badge NEW funciona no drawer (cores invertidas para tema light) */
.drawer a .badge-new {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  border-radius: 999px;
  vertical-align: middle;
  line-height: 1.2;
}

/* ============================================================================
   VNE — Cards de materiais (Venda na Europa)
   ============================================================================ */
.vne-mats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.vne-mat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.vne-mat:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.4);
}
.dark .vne-mat {
  background: var(--graphite);
  border-color: rgba(var(--text-rgb), 0.1);
}
.dark .vne-mat:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.7);
}

.vne-mat-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(var(--text-rgb), 0.06);
}
.dark .vne-mat-head {
  border-bottom-color: rgba(var(--text-rgb), 0.06);
}

.vne-mat-swatch {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}

.vne-mat-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}

.vne-mat-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0.2rem 0 0;
}

.vne-mat-price {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: right;
}
.vne-mat-price small {
  font-size: 0.55em;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 0.1rem;
}

.vne-mat > p {
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.vne-mat-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}
.vne-mat-specs li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.vne-mat-specs strong {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.bars {
  display: inline-flex;
  gap: 3px;
}
.bars i {
  width: 14px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
}
.bars i.off {
  background: rgba(var(--text-rgb), 0.12);
}

.vne-mat-uses {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(var(--text-rgb), 0.06);
}
.dark .vne-mat-uses {
  border-top-color: rgba(var(--text-rgb), 0.06);
}
.vne-mat-uses-label {
  font-family: var(--mono);
  font-size: 0.65rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin: 0 0 0.4rem !important;
  line-height: 1 !important;
}
.vne-mat-uses p:not(.vne-mat-uses-label) {
  color: var(--ink-mute);
  font-size: 0.86rem !important;
  line-height: 1.5;
  margin: 0 !important;
}

.vne-mats-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(238, 124, 31, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  color: var(--ink-mute);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 540px) {
  .vne-mat { padding: 1.5rem; }
  .vne-mat-head { gap: 0.65rem; }
  .vne-mat-swatch { width: 38px; height: 38px; }
  .vne-mat-head h3 { font-size: 1.3rem; }
  .vne-mat-price { font-size: 1.2rem; }
  .vne-mat-specs { grid-template-columns: 1fr; }
}

/* ============================================================================
   COMING SOON — Página de produtos em construção
   Cores hard-coded para garantir tema dark independente do contexto
   ============================================================================ */

.cs-hero {
  /* Variáveis locais isoladas — não dependem do tema do site */
  --cs-bg: #0c0c0e;
  --cs-fg: #faf6ee;
  --cs-fg-mute: rgba(var(--text-rgb), 0.7);
  --cs-fg-faint: rgba(var(--text-rgb), 0.5);
  --cs-fg-line: rgba(var(--text-rgb), 0.1);
  --cs-accent: #ee7c1f;
}

.cs-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 8rem 0 4rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0c0e !important;
  color: #faf6ee !important;
}

/* Forçar todas as cores da secção em dark mode independente do tema do site */
section.cs-hero,
section.cs-hero .cs-text,
section.cs-hero .cs-title,
section.cs-hero p,
section.cs-hero span {
  color: #faf6ee !important;
}

/* Grid de fundo subtil */
.cs-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(238, 124, 31, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 124, 31, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
}

/* Glow laranja radial */
.cs-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 30% 40%, rgba(238, 124, 31, 0.18), transparent 60%),
    radial-gradient(600px 400px at 75% 70%, rgba(238, 124, 31, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 2;
  animation: cs-glow-pulse 8s ease-in-out infinite;
}

@keyframes cs-glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.cs-container {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (max-width: 880px) {
  .cs-container { grid-template-columns: 1fr; gap: 3rem; }
}

/* ===== STAGE DA IMPRESSORA ===== */
.cs-printer-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cs-printer {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

/* Cores da impressora */
.cs-printer-base { fill: rgba(var(--text-rgb), 0.18); }
.cs-printer-frame { fill: rgba(var(--text-rgb), 0.28); }
.cs-printer-bed {
  fill: rgba(238, 124, 31, 0.25);
  stroke: var(--accent);
  stroke-width: 0.8;
}

/* Eixo X (barra horizontal) — animação de movimento esquerda-direita */
.cs-printer-xaxis rect:first-child {
  fill: rgba(var(--text-rgb), 0.4);
}

/* Cabeça de impressão — desliza com a barra */
.cs-printer-head {
  fill: var(--accent);
  transform: translateX(160px);
  animation: cs-head-move 4s ease-in-out infinite;
  transform-box: fill-box;
}

@keyframes cs-head-move {
  0%, 100% { transform: translateX(80px); }
  50% { transform: translateX(240px); }
}

/* LED da cabeça — pulsa */
.cs-printer-led {
  fill: #fff;
  filter: drop-shadow(0 0 4px #fff);
  animation: cs-led-blink 1.4s ease-in-out infinite;
}

@keyframes cs-led-blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* Camadas da peça — vão aparecendo de baixo para cima */
.cs-layer {
  fill: var(--accent);
  opacity: 0;
  transform-origin: center;
}

.cs-layer-1 { animation: cs-layer-appear 8s ease-out 0s infinite; }
.cs-layer-2 { animation: cs-layer-appear 8s ease-out 0.7s infinite; }
.cs-layer-3 { animation: cs-layer-appear 8s ease-out 1.4s infinite; }
.cs-layer-4 { animation: cs-layer-appear 8s ease-out 2.1s infinite; }
.cs-layer-5 { animation: cs-layer-appear 8s ease-out 2.8s infinite; }
.cs-layer-6 { animation: cs-layer-appear 8s ease-out 3.5s infinite; }
.cs-layer-7 { animation: cs-layer-appear 8s ease-out 4.2s infinite; }
.cs-layer-8 { animation: cs-layer-appear 8s ease-out 4.9s infinite; }

@keyframes cs-layer-appear {
  0% { opacity: 0; transform: scaleY(0); }
  6%, 70% { opacity: 0.95; transform: scaleY(1); }
  90%, 100% { opacity: 0; transform: scaleY(1); }
}

/* Filamento sai da cabeça */
.cs-filament {
  stroke: var(--accent);
  stroke-width: 1.2;
  stroke-dasharray: 2 1;
  animation: cs-filament-flow 0.5s linear infinite;
}

@keyframes cs-filament-flow {
  to { stroke-dashoffset: -3; }
}

/* Sparks pequenos (partículas) */
.cs-spark { fill: var(--accent); opacity: 0; }
.cs-spark-1 { animation: cs-spark-fly 1.5s ease-out infinite; }
.cs-spark-2 { animation: cs-spark-fly 1.5s ease-out 0.5s infinite; }
.cs-spark-3 { animation: cs-spark-fly 1.5s ease-out 1s infinite; }

@keyframes cs-spark-fly {
  0% { opacity: 1; transform: translate(0, 0); }
  100% { opacity: 0; transform: translate(0, 30px); }
}

/* ===== BARRA DE PROGRESSO ===== */
.cs-progress-wrap {
  width: 100%;
  max-width: 320px;
}

.cs-progress-track {
  height: 4px;
  background: rgba(var(--text-rgb), 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.cs-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff9a4d);
  border-radius: 999px;
  transition: width 0.6s var(--ease);
  box-shadow: 0 0 12px rgba(238, 124, 31, 0.6);
  position: relative;
  width: 5%;
}

.cs-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: cs-shimmer 2s ease-in-out infinite;
}

@keyframes cs-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cs-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-progress-label {
  color: rgba(var(--text-rgb), 0.55) !important;
}

.cs-progress-pct {
  color: var(--accent);
  font-weight: 600;
}

/* ===== TEXTO PRINCIPAL ===== */
.cs-text {
  display: flex;
  flex-direction: column;
}

.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(238, 124, 31, 0.35);
  background: rgba(238, 124, 31, 0.08);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.cs-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(238, 124, 31, 0.6);
  animation: cs-pulse 1.5s ease-in-out infinite;
}

@keyframes cs-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(238, 124, 31, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(238, 124, 31, 0); }
}

.cs-title {
  font-family: var(--display);
  font-weight: 380;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 16ch;
  color: var(--cs-fg);
}

.cs-italic {
  font-style: italic;
  color: var(--accent);
}

.cs-lead {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.6;
  color: rgba(var(--text-rgb), 0.7) !important;
  max-width: 56ch;
  margin-bottom: 2.5rem;
}

/* ===== COUNTDOWN ===== */
.cs-countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cs-count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  padding: 1rem 0.8rem;
  background:
    linear-gradient(180deg, rgba(255, 74, 20, 0.08), rgba(20, 14, 10, 0.6));
  border: 1px solid rgba(255, 74, 20, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}
.cs-count-block::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 74, 20, 0.6), transparent);
  pointer-events: none;
}

.cs-count-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
  font-feature-settings: "tnum";
  text-shadow: 0 2px 12px rgba(255, 74, 20, 0.4);
  position: relative;
  z-index: 1;
}

.cs-count-lbl {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 74, 20, 0.9) !important;
  position: relative;
  z-index: 1;
}

.cs-count-sep {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--accent);
  padding-top: 0.85rem;
  font-weight: 300;
  user-select: none;
  animation: cs-blink 1s steps(2) infinite;
}

@keyframes cs-blink {
  50% { opacity: 0.3; }
}

.cs-launch-date {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb), 0.5) !important;
  margin-bottom: 2.5rem;
}

.cs-launch-date strong {
  color: var(--accent);
  font-weight: 600;
}

/* ===== CTAs ===== */
.cs-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

@media (max-width: 540px) {
  .cs-ctas .btn { flex: 1 1 100%; }
}

/* ===== INFO STRIP ===== */
.cs-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(var(--text-rgb), 0.08);
}

.cs-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(var(--text-rgb), 0.65) !important;
}

.cs-info-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ===== Mobile ===== */
@media (max-width: 880px) {
  .cs-hero { padding: 6rem 0 3rem; min-height: auto; }
  .cs-printer-stage { order: 2; }
  .cs-text { order: 1; align-items: flex-start; }
  .cs-printer { max-width: 280px; }
}

@media (max-width: 540px) {
  .cs-count-block { min-width: 60px; padding: 0.8rem 0.5rem; }
  .cs-count-sep { font-size: 1.5rem; padding-top: 0.6rem; }
  .cs-info { gap: 0.85rem 1.5rem; }
  .cs-info-item { font-size: 0.8rem; }
}

/* Reduzir movimento para acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .cs-printer-head,
  .cs-printer-led,
  .cs-layer,
  .cs-filament,
  .cs-spark,
  .cs-bg-glow,
  .cs-pulse,
  .cs-count-sep,
  .cs-progress-fill::after {
    animation: none !important;
  }
  .cs-layer { opacity: 0.85; }
}

/* ============================================================================
   CARRINHO DE COMPRAS — badge, link no header, página, mini-cart
   ============================================================================ */

/* Link do carrinho no header */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--text-rgb), 0.08);
  color: var(--ink, #faf6ee);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-right: 0.6rem;
}
.cart-link:hover {
  background: rgba(255, 74, 20, 0.15);
  color: var(--accent, #ff4a14);
  transform: translateY(-1px);
}
.cart-link .cart-icon {
  width: 22px;
  height: 22px;
}

/* Badge com contagem */
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent, #ff4a14);
  color: #fff;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
  box-shadow: 0 2px 6px rgba(255, 74, 20, 0.4);
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-badge.is-empty {
  background: rgba(var(--text-rgb), 0.2);
  box-shadow: none;
}
/* Pulse quando adiciona */
.cart-link.cart-pulse .cart-badge {
  animation: cart-bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cart-bounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* ===== Página do carrinho ===== */
.cart-page {
  padding: 6rem 0 4rem;
  min-height: 70vh;
}
.cart-page-head {
  margin-bottom: 2.5rem;
}
.cart-page h1 {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.cart-page .cart-sub {
  color: var(--ink-mute, #b8b3aa);
  font-size: 0.95rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: flex-start;
}
@media (max-width: 880px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Lista de items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.2rem;
  padding: 1rem;
  background: rgba(var(--text-rgb), 0.04);
  border: 1px solid rgba(var(--text-rgb), 0.08);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.cart-item:hover {
  border-color: rgba(255, 74, 20, 0.3);
}
.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background: #1a1a18;
  object-fit: cover;
  display: block;
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.cart-item-name {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: 1.1rem;
  margin: 0;
  color: var(--ink, #faf6ee);
}
.cart-item-name a {
  color: inherit;
  text-decoration: none;
}
.cart-item-name a:hover { color: var(--accent, #ff4a14); }
.cart-item-meta {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.72rem;
  color: var(--ink-mute, #b8b3aa);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cart-item-meta span + span::before {
  content: " · ";
  opacity: 0.5;
}
.cart-item-price {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.85rem;
  color: var(--ink-mute, #b8b3aa);
  margin-top: auto;
}
.cart-item-controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--text-rgb), 0.15);
  border-radius: 6px;
  overflow: hidden;
}
.cart-qty button {
  width: 28px;
  height: 28px;
  background: transparent;
  border: 0;
  color: var(--ink, #faf6ee);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}
.cart-qty button:hover { background: rgba(255, 74, 20, 0.15); }
.cart-qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.cart-qty input {
  width: 36px;
  height: 28px;
  text-align: center;
  background: transparent;
  border: 0;
  color: var(--ink, #faf6ee);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.85rem;
  -moz-appearance: textfield;
}
.cart-qty input::-webkit-outer-spin-button,
.cart-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-subtotal {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent, #ff4a14);
}
.cart-remove {
  background: transparent;
  border: 0;
  color: var(--ink-mute, #b8b3aa);
  font-size: 0.75rem;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.cart-remove:hover { color: #ff5a3a; }

@media (max-width: 540px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 0.9rem;
  }
  .cart-item-img { width: 80px; height: 80px; }
  .cart-item-controls {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 0.4rem;
  }
}

/* Resumo lateral */
.cart-summary {
  position: sticky;
  top: 100px;
  background: rgba(var(--text-rgb), 0.04);
  border: 1px solid rgba(var(--text-rgb), 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}
.cart-summary h3 {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent, #ff4a14);
  margin: 0 0 1.2rem;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  font-size: 0.92rem;
}
.cart-summary-row.muted {
  color: var(--ink-mute, #b8b3aa);
  font-size: 0.82rem;
}
.cart-summary-row.total {
  border-top: 1px solid rgba(var(--text-rgb), 0.1);
  margin-top: 0.8rem;
  padding-top: 1rem;
  font-family: var(--display, 'Playfair Display', serif);
  font-size: 1.3rem;
  font-weight: 700;
}
.cart-summary-row.total .v {
  color: var(--accent, #ff4a14);
}
.cart-summary .btn {
  width: 100%;
  margin-top: 1.2rem;
  justify-content: center;
}
.cart-summary-note {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--ink-mute, #b8b3aa);
  text-align: center;
  line-height: 1.5;
}

/* Estado vazio */
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  border: 1px dashed rgba(var(--text-rgb), 0.15);
  border-radius: 12px;
}
.cart-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  opacity: 0.4;
}
.cart-empty h2 {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
}
.cart-empty p {
  color: var(--ink-mute, #b8b3aa);
  margin: 0 0 1.5rem;
}

/* Toast de "adicionado ao carrinho" */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a18;
  border: 1px solid rgba(255, 74, 20, 0.4);
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  color: var(--ink, #faf6ee);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart-toast .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00e676;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 11px;
  flex-shrink: 0;
}

/* ============================================================================
   HERO PATHS — 2 caminhos premium (Imprimir vs Comprar)
   ============================================================================ */
.hero-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
@media (max-width: 580px) {
  .hero-paths { grid-template-columns: 1fr; }
}

.path-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem 1.35rem;
  background:
    linear-gradient(135deg, rgba(var(--text-rgb), 0.04) 0%, rgba(var(--text-rgb), 0.015) 100%);
  border: 1px solid rgba(var(--text-rgb), 0.1);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Glow gradient atrás de cada card, distinto */
.path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 74, 20, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.path-comprar::before {
  background: radial-gradient(circle at 100% 0%, rgba(255, 138, 20, 0.08), transparent 60%);
}

.path-card:hover {
  border-color: rgba(255, 74, 20, 0.45);
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 74, 20, 0.15) inset;
}
.path-card:hover::before { opacity: 1; }

/* Ícone */
.path-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 74, 20, 0.1);
  border: 1px solid rgba(255, 74, 20, 0.25);
  color: var(--accent, #ff4a14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.path-icon svg { width: 22px; height: 22px; }
.path-card:hover .path-icon {
  background: rgba(255, 74, 20, 0.18);
  border-color: rgba(255, 74, 20, 0.5);
  transform: scale(1.05);
}

/* Conteúdo */
.path-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.path-eyebrow {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb), 0.55);
  font-weight: 500;
}
.path-title {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0;
  color: var(--cream, #faf6ee);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.path-desc {
  font-size: 0.82rem;
  color: rgba(var(--text-rgb), 0.6);
  line-height: 1.45;
  margin: 0.1rem 0 0.5rem;
}
.path-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--accent, #ff4a14);
  transition: gap 0.2s;
}
.path-card:hover .path-cta {
  gap: 0.55rem;
}
.path-cta svg { transition: transform 0.2s; }
.path-card:hover .path-cta svg { transform: translateX(2px); }

/* Link secundário (B2B / projetos especiais) */
.hero-secondary-link {
  font-size: 0.82rem;
  color: rgba(var(--text-rgb), 0.55);
  margin: 0;
  line-height: 1.5;
}
.hero-secondary-link a {
  color: rgba(var(--text-rgb), 0.8);
  text-decoration: none;
  border-bottom: 1px dashed rgba(var(--text-rgb), 0.3);
  padding-bottom: 1px;
  transition: all 0.15s;
}
.hero-secondary-link a:hover {
  color: var(--accent, #ff4a14);
  border-bottom-color: var(--accent, #ff4a14);
}

/* ============================================================================
   QUICK IMPORT — Atalho "colar link de plataforma 3D" em enviar-arquivo.html
   ============================================================================ */
.quick-import {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 1.8rem;
  padding: 1.8rem 2rem;
  margin: 2rem 0 1.5rem;
  background:
    linear-gradient(135deg, rgba(20, 14, 10, 0.6) 0%, rgba(15, 12, 10, 0.8) 100%);
  border: 1px solid rgba(255, 74, 20, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.quick-import::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 74, 20, 0.06), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(255, 138, 20, 0.03), transparent 50%);
  pointer-events: none;
  opacity: 0.5;
}
.quick-import > * { position: relative; z-index: 1; }

@media (max-width: 720px) {
  .quick-import {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.4rem 1.3rem;
  }
}

/* Lado esquerdo: só o ícone principal */
.qi-side {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 74, 20, 0.18);
}
@media (max-width: 720px) {
  .qi-side {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 74, 20, 0.18);
    padding-right: 0;
    padding-bottom: 1.1rem;
    justify-content: flex-start;
  }
}

.qi-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 74, 20, 0.15), rgba(255, 138, 20, 0.08));
  border: 1px solid rgba(255, 74, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #ff4a14);
  box-shadow: 0 4px 14px rgba(255, 74, 20, 0.15);
}
.qi-icon svg { width: 28px; height: 28px; }

/* Plataformas suportadas — chips horizontais com label, abaixo do form */
.qi-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(var(--text-rgb), 0.08);
}
.qi-platforms-label {
  width: 100%;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb), 0.7);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

/* Chip de plataforma — ícone + label */
.qi-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border-radius: 8px;
  background: rgba(var(--text-rgb), 0.06);
  border: 1px solid rgba(var(--text-rgb), 0.15);
  color: rgba(var(--text-rgb), 0.92);
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  cursor: default;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.qi-platform svg {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
  opacity: 0.95;
}
.qi-platform-label {
  display: inline;
}
.qi-platform:hover {
  background: rgba(255, 74, 20, 0.1);
  border-color: rgba(255, 74, 20, 0.5);
  color: var(--accent, #ff4a14);
  transform: translateY(-1px);
}
.qi-platform:hover svg {
  opacity: 1;
}

/* Lado direito: texto + form */
.qi-body {
  flex: 1;
  min-width: 0;
}
.qi-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.75rem;
  background: rgba(255, 74, 20, 0.15);
  border: 1px solid rgba(255, 74, 20, 0.45);
  border-radius: 999px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, #ff4a14);
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.qi-title {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 0.7rem;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.qi-desc {
  font-size: 0.95rem;
  color: rgba(var(--text-rgb), 0.92);
  margin: 0 0 1.2rem;
  line-height: 1.6;
  font-weight: 400;
}
.qi-desc strong {
  color: var(--accent, #ff4a14);
  font-weight: 600;
}
.qi-desc code {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.85rem;
  padding: 0.12rem 0.4rem;
  background: rgba(255, 74, 20, 0.18);
  border: 1px solid rgba(255, 74, 20, 0.4);
  border-radius: 4px;
  color: var(--accent, #ff4a14);
  font-weight: 600;
}

/* Form com input + botão */
.qi-form {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}
@media (max-width: 540px) {
  .qi-form { flex-direction: column; }
}
.qi-input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  background: rgba(10, 10, 8, 0.7);
  border: 1.5px solid rgba(var(--text-rgb), 0.12);
  border-radius: 10px;
  color: var(--cream, #faf6ee);
  font-family: inherit;
  font-size: 0.92rem;
  transition: all 0.2s;
}
.qi-input::placeholder {
  color: rgba(var(--text-rgb), 0.35);
  font-size: 0.88rem;
}
.qi-input:focus {
  outline: none;
  border-color: var(--accent, #ff4a14);
  background: rgba(10, 10, 8, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 74, 20, 0.1);
}
.qi-input-error {
  border-color: #ff5a3a !important;
  animation: qi-shake 0.4s ease;
}
@keyframes qi-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.qi-btn {
  flex-shrink: 0;
  padding: 0.85rem 1.4rem !important;
  font-weight: 600;
}
.qi-error {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #ff8a6a;
  padding-left: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.qi-error::before {
  content: "⚠";
  font-size: 0.9rem;
}

/* Separador OU entre link e upload */
.qi-or {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0 0.85rem;
}
.qi-or-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--text-rgb), 0.18), transparent);
}
.qi-or-text {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb), 0.5);
  font-weight: 500;
}

/* Botão de upload alternativo */
.qi-upload-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: rgba(var(--text-rgb), 0.04);
  border: 1.5px dashed rgba(var(--text-rgb), 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(var(--text-rgb), 0.85);
}
.qi-upload-btn:hover {
  background: rgba(255, 74, 20, 0.06);
  border-color: rgba(255, 74, 20, 0.5);
  border-style: solid;
  color: var(--accent, #ff4a14);
  transform: translateY(-1px);
}
.qi-upload-btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.85;
  transition: transform 0.2s;
}
.qi-upload-btn:hover svg {
  opacity: 1;
  transform: translateY(-2px);
}
.qi-upload-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: left;
}
.qi-upload-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: inherit;
}
.qi-upload-text small {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.7rem;
  color: rgba(var(--text-rgb), 0.5);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.qi-upload-btn:hover .qi-upload-text small {
  color: rgba(255, 74, 20, 0.7);
}

/* Highlight do dropzone quando recebe ficheiro do atalho */
.dropzone.dz-highlight {
  border-color: var(--accent, #ff4a14) !important;
  background: rgba(255, 74, 20, 0.08) !important;
  box-shadow: 0 0 0 4px rgba(255, 74, 20, 0.15);
  animation: dz-pulse 0.6s ease-out;
}
@keyframes dz-pulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.015); }
  100% { transform: scale(1); }
}

/* Estados do upload no atalho */
.qi-upload-btn[data-state="uploading"] {
  border-color: var(--accent, #ff4a14);
  background: rgba(255, 74, 20, 0.05);
  border-style: solid;
  color: var(--accent, #ff4a14);
  cursor: progress;
  pointer-events: none;
}
.qi-upload-btn[data-state="success"] {
  border-color: #00e676;
  background: rgba(0, 230, 118, 0.06);
  border-style: solid;
  color: #4ade80;
  pointer-events: none;
}

/* Progress bar */
.qi-progress {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 0.5rem;
  background: rgba(var(--text-rgb), 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.qi-progress-bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent, #ff4a14), #ff8a14);
  border-radius: 2px;
  transition: width 0.25s ease-out;
  box-shadow: 0 0 8px rgba(255, 74, 20, 0.5);
}

/* Divider "ou" */
.qi-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
  text-align: center;
}
.qi-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--text-rgb), 0.15), transparent);
}
.qi-divider-text {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--text-rgb), 0.5);
  white-space: nowrap;
}

/* ============================================================================
   ADMIN LINK NO MENU (visualmente distinto — área restrita)
   ============================================================================ */
.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem !important;
  background: rgba(255, 74, 20, 0.08);
  border: 1px solid rgba(255, 74, 20, 0.25);
  border-radius: 999px;
  font-size: 0.85rem !important;
  color: rgba(255, 74, 20, 0.9) !important;
  transition: all 0.2s;
}
.nav-admin:hover {
  background: rgba(255, 74, 20, 0.15);
  border-color: rgba(255, 74, 20, 0.5);
  color: var(--accent, #ff4a14) !important;
}
.drawer a.nav-admin {
  background: rgba(255, 74, 20, 0.08);
  border: 1px solid rgba(255, 74, 20, 0.25);
  border-radius: 10px;
  padding: 0.7rem 1rem !important;
  margin-top: 0.5rem;
  color: rgba(255, 74, 20, 0.9) !important;
  text-align: center;
}

/* ============================================================================
   GALERIA DE FOTOS (reutilizável: b2b, loja pública, produto detalhe)
   ============================================================================ */
.gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(10, 10, 8, 0.5);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
  display: block;
}
.gallery-main img.fading {
  opacity: 0;
}
.gallery-main-placeholder {
  font-size: 3rem;
  color: rgba(255, 74, 20, 0.3);
}

/* Setas de navegação (aparecem só em hover) */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 8, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s, background 0.15s;
  z-index: 2;
}
.gallery-main:hover .gallery-nav {
  opacity: 1;
}
.gallery-nav:hover {
  background: var(--accent, #ff4a14);
}
.gallery-nav.prev { left: 0.6rem; }
.gallery-nav.next { right: 0.6rem; }

/* Contador "1 / 3" */
.gallery-counter {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  background: rgba(10, 10, 8, 0.8);
  color: #ffffff;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-family: var(--mono, monospace);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  pointer-events: none;
  z-index: 2;
}

/* Thumbnails */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: 0.4rem;
}
.gallery-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: rgba(10, 10, 8, 0.5);
  transition: all 0.15s;
  padding: 0;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.65;
  transition: opacity 0.15s;
}
.gallery-thumb:hover img {
  opacity: 0.9;
}
.gallery-thumb.active {
  border-color: var(--accent, #ff4a14);
}
.gallery-thumb.active img {
  opacity: 1;
}

/* ============================================================================
   LIGHTBOX (modal full-screen)
   ============================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.show { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-image-wrap {
  position: relative;
  max-width: 100%;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.15s;
}
.lightbox-close:hover {
  background: rgba(255, 60, 60, 0.3);
  border-color: rgba(255, 60, 60, 0.6);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  z-index: 2;
}
.lightbox-nav:hover {
  background: var(--accent, #ff4a14);
  border-color: var(--accent, #ff4a14);
}
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox-counter {
  font-family: var(--mono, monospace);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
}

/* Cursor zoom na foto principal (sinaliza ampliação) */
.gallery-main.zoomable {
  cursor: zoom-in;
}

/* Badge "📷 +N" na listagem de produtos (indica fotos extras) */
.product-img-multi {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(10, 10, 8, 0.85);
  color: #ffffff;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-family: var(--mono, 'JetBrains Mono', monospace);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ============================================================================
   PARCEIROS LINK NO MENU (verde, destaca convite)
   ============================================================================ */
.nav-parceiros {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem !important;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  font-size: 0.85rem !important;
  color: #4ade80 !important;
  transition: all 0.2s;
}

/* Link destacado "Imprimir em 3D" no menu — DESTAQUE FORTE */
.nav-imprimir {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem !important;
  background: linear-gradient(135deg, #ff4a14, #ff6a24) !important;
  border: 1px solid rgba(255, 122, 68, 0.6);
  border-radius: 999px;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  color: #ffffff !important;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(255, 74, 20, 0.35);
  animation: navImprimirPulse 2.8s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-imprimir:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 8px 22px rgba(255, 74, 20, 0.55);
  color: #ffffff !important;
}
.nav-imprimir svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}
@keyframes navImprimirPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(255, 74, 20, 0.35), 0 0 0 0 rgba(255, 74, 20, 0); }
  50%      { box-shadow: 0 6px 18px rgba(255, 74, 20, 0.5), 0 0 0 6px rgba(255, 74, 20, 0); }
}

/* No drawer mobile, nav-imprimir fica como pílula maior centralizada */
.drawer .nav-imprimir {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.04em !important;
  margin: 0.4rem 0 !important;
  width: auto;
  max-width: 100%;
  align-self: flex-start;
}
.drawer ul li .nav-imprimir {
  /* Quando está dentro de uma <li> do drawer */
  display: inline-flex !important;
}
.nav-parceiros:hover {
  background: rgba(74, 222, 128, 0.18);
  border-color: rgba(74, 222, 128, 0.55);
  color: #6ef0a0 !important;
}
.drawer a.nav-parceiros {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 10px;
  padding: 0.7rem 1rem !important;
  margin-top: 0.5rem;
  color: #4ade80 !important;
  text-align: center;
}

/* ============================================================ THEME TOGGLE */
/* Transição suave ao trocar tema */
body, .header, .footer, .card, .btn, section, .nav-links a,
.product-card, .portfolio-item, input, textarea, select {
  transition: background-color 0.4s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Botão toggle sol/lua */
.dlabs-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}
.dlabs-theme-toggle:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: rotate(15deg) scale(1.05);
}
.dlabs-theme-toggle svg { display: block; }

/* Toggle no drawer mobile — item destacado */
.dlabs-theme-toggle-mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  margin: 0.3rem 0 0.8rem;
  background: rgba(var(--text-rgb), 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s var(--ease);
}
.dlabs-theme-toggle-mobile:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.dlabs-theme-toggle-mobile svg { flex-shrink: 0; }

/* Esconder toggle do header em mobile (vai para drawer) */
@media (max-width: 900px) {
  .nav-cta .dlabs-theme-toggle { display: none !important; }
}

/* ===== LIGHT MODE — ajustes de contraste específicos ===== */
/* Títulos que eram #ffffff fixo → usar var(--ink) no light */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 {
  color: var(--ink);
}

/* Header no light mode — fundo claro com blur */
[data-theme="light"] .header {
  background: rgba(254, 252, 247, 0.82);
}
[data-theme="light"] .header.scrolled {
  background: rgba(254, 252, 247, 0.94);
}

/* Botão menu no light */
[data-theme="light"] .menu-toggle {
  background: var(--ink);
  color: var(--paper);
}

/* Drawer no light mode */
[data-theme="light"] .drawer {
  background: var(--paper);
}

/* As mini-impressoras e máquinas mantêm chassis escuro (são equipamentos reais) */
/* Não alteramos — o SVG da impressora tem cores próprias */
