/* ============================================================
   TEMA — mude as cores da marca aqui
   ============================================================ */
:root {
  /* Cores da logo LayerX 3D: azul, branco/prata e preto */
  --brand: #1f6fff;
  --brand-rgb: 31, 111, 255;
  --brand-2: #4aa8ff;
  --brand-2-rgb: 74, 168, 255;
  --accent: #8cc4ff;
  --accent-rgb: 140, 196, 255;
  --silver: #d9dee7;
  --bg: #07080b;
  --bg-2: #0d0f14;
  --surface: #13161d;
  --surface-2: #1b1f29;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #eef1f6;
  --muted: #9aa3b5;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --grad: linear-gradient(120deg, var(--brand), var(--brand-2));
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-logo: "Michroma", "Space Grotesk", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
svg.solid { stroke: none; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.loading { overflow: hidden; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--brand); color: #fff; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 32px); }

/* ============ Botões ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, opacity .3s;
  will-change: transform;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px var(--brand); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px var(--brand); }
.btn-ghost { border-color: var(--border-strong); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: .6em 1.2em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.quote-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: .4rem; }
.link-btn {background: none; border: 0; color: var(--accent); cursor: pointer; padding: .5em 0; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1rem;
}

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 1.2rem;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-stack { display: flex; flex-direction: column-reverse; gap: 4px; width: 90px; }
.preloader-stack span {
  height: 8px; border-radius: 3px; background: var(--grad);
  transform-origin: left; transform: scaleX(0);
  animation: layer 1.8s var(--ease) infinite;
}
.preloader-stack span:nth-child(2) { animation-delay: .15s; width: 92%; margin-inline: auto; }
.preloader-stack span:nth-child(3) { animation-delay: .3s; width: 82%; margin-inline: auto; }
.preloader-stack span:nth-child(4) { animation-delay: .45s; width: 70%; margin-inline: auto; }
.preloader-stack span:nth-child(5) { animation-delay: .6s; width: 55%; margin-inline: auto; }
.preloader-stack span:nth-child(6) { animation-delay: .75s; width: 38%; margin-inline: auto; }
@keyframes layer { 0% { transform: scaleX(0); } 40%, 80% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.preloader-text { color: var(--muted); font-size: .9rem; margin: 0; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: var(--grad); transform-origin: left; transform: scaleX(0);
}

/* ============ Navegação ============ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .4s, border-color .4s, transform .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 13, 18, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; }
/* Recorte do ícone (hexágono + impressora) direto da imagem da logo */
.logo-icon {
  width: 40px; height: 43px; flex-shrink: 0;
  background: url(../img/logo.jpg) no-repeat -28px -7px / 96px auto;
  mix-blend-mode: lighten; transition: transform .5s var(--ease);
}
.logo:hover .logo-icon { transform: rotate(-6deg) scale(1.08); }
.logo-word { font-family: var(--font-logo); font-size: 1.05rem; letter-spacing: .04em; color: var(--silver); display: inline-flex; align-items: baseline; }
.logo-word b { color: var(--brand); font-weight: 400; font-size: 1.2em; margin-left: 1px; text-shadow: 0 0 18px rgba(var(--brand-rgb), .6); }
.logo-word small { font-size: .55em; color: var(--brand); margin-left: .45em; letter-spacing: .12em; }
@keyframes layer-bounce { 50% { transform: translateY(-3px); } }

.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { color: var(--muted); font-size: .95rem; font-weight: 500; position: relative; transition: color .3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -200px;
  background: radial-gradient(closest-side, rgba(var(--brand-rgb), .22), transparent 70%);
  animation: float-glow 12s ease-in-out infinite alternate; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -300px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .12), transparent 70%);
  animation: float-glow 14s ease-in-out infinite alternate-reverse; pointer-events: none;
}
@keyframes float-glow { to { transform: translate(-80px, 60px) scale(1.1); } }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  animation: grid-pan 30s linear infinite;
}
@keyframes grid-pan { to { background-position: 56px 56px; } }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: .4em; }
.typed-wrap { display: inline-flex; align-items: baseline; }
.typed { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 4px; height: .9em; margin-left: 6px; background: var(--brand); border-radius: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--muted); font-size: .92rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: .4em; }
.hero-badges svg { width: 18px; height: 18px; color: var(--brand); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.hero-visual { position: relative; }
.hero-canvas-wrap { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; margin-inline: auto; }
#hero-canvas { width: 100%; height: 100%; display: block; }
.hero-fallback { display: none; position: absolute; inset: 15%; border-radius: 50%; background: repeating-linear-gradient(0deg, var(--brand) 0 6px, var(--brand-2) 6px 12px); opacity: .8; animation: spin 20s linear infinite; }
.hero-canvas-wrap.no-webgl .hero-fallback { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.print-hud {
  position: absolute; left: 0; bottom: 6%; width: 210px; padding: 14px 16px; border-radius: 14px;
  background: rgba(22, 26, 35, .72); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .82rem; box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-10px); } }
.hud-row { display: flex; justify-content: space-between; color: var(--muted); }
.hud-row strong { color: var(--text); font-variant-numeric: tabular-nums; }
.hud-row.small { font-size: .74rem; margin-top: 6px; }
.hud-bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 8px; overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 20px; z-index: 1; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============ Stats ============ */
.stats { border-block: 1px solid var(--border); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.4rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ============ Seções ============ */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ============ Cards de serviço ============ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .5s var(--ease), border-color .4s; transform-style: preserve-3d;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(var(--brand-rgb), .15), transparent 45%);
}
.card:hover { border-color: rgba(var(--brand-rgb), .35); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), .18), rgba(var(--brand-2-rgb), .12)); color: var(--brand);
  transition: transform .5s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { transform: translateZ(30px) rotate(-8deg) scale(1.08); }

/* ============ Timeline ============ */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.timeline-line { position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: var(--border-strong); z-index: 0; }
.timeline-line i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .2s linear; }
.step { position: relative; z-index: 1; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--border-strong); font-family: var(--font-head); font-weight: 700;
  margin-bottom: 1.2rem; transition: border-color .5s, background .5s, color .5s, box-shadow .5s;
}
.step.lit .step-num { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 0 0 8px rgba(var(--brand-rgb), .15); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }

/* ============ Orçamento ============ */
.quote {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.6rem;
  padding: 1.6rem; border-radius: calc(var(--radius) + 6px);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.dropzone {
  position: relative; display: grid; place-items: center; min-height: 380px; border-radius: var(--radius);
  border: 2px dashed var(--border-strong); background: var(--bg-2); cursor: pointer; overflow: hidden;
  transition: border-color .3s, background .3s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: rgba(var(--brand-rgb), .05); }
.dropzone.drag .dz-icon { transform: translateY(-8px) scale(1.1); }
.dz-idle { display: grid; justify-items: center; gap: .3rem; text-align: center; padding: 2rem; color: var(--muted); }
.dz-idle strong { color: var(--text); font-size: 1.1rem; }
.dz-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--brand-rgb), .12); color: var(--brand); margin-bottom: .8rem; transition: transform .4s var(--ease); animation: bob 3s ease-in-out infinite; }
.dz-icon svg { width: 28px; height: 28px; }
#stl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; cursor: grab; }
#stl-canvas:active { cursor: grabbing; }
.dropzone.has-model { border-style: solid; }
.dropzone.has-model .dz-idle { display: none; }
.dropzone.has-model #stl-canvas { display: block; }
.dz-loading { position: absolute; inset: 0; display: none; place-items: center; background: rgba(11,13,18,.8); gap: .6rem; }
.dropzone.loading .dz-loading { display: flex; justify-content: center; align-items: center; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.model-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1rem; }
.model-info[hidden] { display: none; }
.model-info div { padding: .7rem .8rem; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--border); min-width: 0; }
.model-info span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.model-info strong { display: block; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

.quote-right { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field > label { font-size: .85rem; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; }
.field output { color: var(--brand); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips button {
  padding: .5em 1em; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border-strong);
  cursor: pointer; font-weight: 600; font-size: .9rem; transition: all .25s var(--ease);
}
.chips button:hover { border-color: var(--brand); }
.chips button.active { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-1px); }
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatches button {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border-strong); cursor: pointer;
  background: var(--c); transition: transform .25s var(--ease), box-shadow .25s;
}
.swatches button:hover { transform: scale(1.12); }
.swatches button.active { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--brand); }
select, input[type="number"], input:not([type]), textarea {
  width: 100%; padding: .8em 1em; border-radius: var(--radius-sm); background: var(--bg-2);
  border: 1px solid var(--border-strong); outline: none; transition: border-color .25s, box-shadow .25s;
}
select:focus, input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .2); }
select option { background: var(--surface); }
textarea { resize: vertical; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--brand) var(--fill, 11%), var(--surface-2) var(--fill, 11%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); cursor: pointer; }
.stepper { display: flex; align-items: stretch; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); overflow: hidden; width: 150px; }
.stepper button { width: 44px; background: var(--bg-2); border: 0; cursor: pointer; font-size: 1.2rem; transition: background .2s; }
.stepper button:hover { background: var(--surface-2); }
.stepper input { border: 0; border-radius: 0; text-align: center; padding: .6em 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Abas do orçamento: arquivo STL ou imagem */
.quote-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.4rem; }
.quote-tabs button {
  display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.3em; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--muted); font-weight: 600; transition: all .3s var(--ease);
}
.quote-tabs button svg { width: 18px; height: 18px; }
.quote-tabs button:hover { color: var(--text); }
.quote-tabs button.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 30px -10px var(--brand); }

/* Opções da imagem → 3D */
.img-options { display: grid; gap: 1rem; margin-top: 1rem; padding: 1.2rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--border); animation: faq-in .45s var(--ease); }
.img-types { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.img-types button { text-align: left; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border-strong); cursor: pointer; transition: all .25s var(--ease); }
.img-types button strong { display: block; margin-bottom: .2rem; }
.img-types button span { font-size: .8rem; color: var(--muted); line-height: 1.4; display: block; }
.img-types button:hover { border-color: var(--brand); }
.img-types button.active { border-color: var(--brand); background: rgba(var(--brand-rgb), .1); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .2); }
.img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.img-row .field:only-child { grid-column: 1 / -1; }
.img-row input[type="range"] { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.img-lit { display: flex; align-items: center; gap: .9rem; }
.img-lit canvas { width: 96px; border-radius: 8px; image-rendering: auto; box-shadow: 0 0 30px rgba(255, 200, 120, .25); border: 1px solid var(--border-strong); }
.img-lit span { font-size: .85rem; color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }

.infill-live {display: none; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .4rem; }
.infill-live.on { display: grid; }
.infill-live span { padding: .55rem .7rem; border-radius: var(--radius-sm); background: rgba(var(--brand-rgb), .08); border: 1px solid rgba(var(--brand-rgb), .25); min-width: 0; }
.infill-live small { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.infill-live b { display: block; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.infill-hint { margin: .2rem 0 0; font-size: .8rem; color: var(--muted); padding: .6rem .8rem; border-radius: var(--radius-sm); border: 1px dashed var(--border-strong); }
.flash { animation: flash .6s var(--ease); }
@keyframes flash { 0% { color: var(--brand-2); text-shadow: 0 0 14px rgba(var(--brand-rgb), .9); transform: scale(1.06); } 100% { transform: none; } }
.infill-hint.flash { animation: flash-box .6s var(--ease); }
@keyframes flash-box { 30% { border-color: var(--brand); color: var(--text); transform: translateX(4px); } 60% { transform: translateX(-4px); } }
.quote-result {margin-top: auto; padding: 1.2rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--border); }
.qr-row { display: flex; justify-content: space-between; padding: .35rem 0; color: var(--muted); font-size: .92rem; }
.qr-row strong { color: var(--text); font-variant-numeric: tabular-nums; }
.qr-row.discount strong { color: #22c55e; }
.qr-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--border-strong); margin: .6rem 0 1rem; padding-top: .8rem; }
.qr-total strong { font-family: var(--font-head); font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.qr-total strong.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.fineprint { font-size: .78rem; color: var(--muted); margin: .7rem 0 0; text-align: center; }

/* ============ Materiais ============ */
.materials { max-width: 980px; margin-inline: auto; }
.material {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; padding: 2.4rem; border-radius: calc(var(--radius) + 6px);
  background: radial-gradient(circle at 0 0, rgba(var(--brand-rgb), .14), transparent 55%), var(--surface);
  border: 1px solid var(--border);
}
.material-tag { display: inline-block; padding: .3em .8em; border-radius: 999px; font-size: .75rem; font-weight: 600; color: var(--brand-2); background: rgba(var(--brand-rgb), .12); border: 1px solid rgba(var(--brand-rgb), .3); margin-bottom: 1rem; }
.material h3 { font-family: var(--font-logo); font-weight: 400; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .5em; }
.material p { color: var(--muted); }
.material-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.material-list li { display: flex; align-items: center; gap: .6rem; }
.material-list svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.material-specs { display: flex; flex-direction: column; justify-content: center; gap: .3rem; }
.prop { margin-top: .7rem; font-size: .85rem; color: var(--muted); }
.prop-bar { height: 6px; border-radius: 3px; background: var(--surface-2); margin-top: 6px; overflow: hidden; }
.prop-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width 1.2s var(--ease); }
.material.in .prop-bar i { width: var(--w); }
.material-colors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 1.6rem; }
.material-colors .label { width: 100%; font-size: .85rem; color: var(--muted); }
.material-colors .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 2px solid var(--border-strong); }

/* ============ Loja ============ */
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button { padding: .55em 1.1em; border-radius: 999px; background: transparent; border: 1px solid var(--border-strong); color: var(--muted); cursor: pointer; font-weight: 500; transition: all .3s var(--ease); }
.filters button small { opacity: .6; margin-left: .2em; font-size: .8em; }
.filters button:hover { color: var(--text); }
.filters button.active { background: var(--text); color: var(--bg); border-color: var(--text); }
/* Temas (categorias da planilha) */
.themes-wrap { margin-bottom: 1.2rem; }
.themes-title { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.themes { display: flex; gap: .8rem; overflow-x: auto; padding: .3rem .1rem .8rem; scroll-snap-type: x proximity; scrollbar-width: none; }
.themes::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .theme { min-width: 112px; padding: .85rem .8rem .8rem; } }
.theme {
  flex: 0 0 auto; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: .45rem;
  min-width: 128px; padding: 1rem 1.1rem .9rem; border-radius: var(--radius); cursor: pointer; position: relative;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--muted);
  transition: transform .35s var(--ease), border-color .3s, background .3s, color .3s, box-shadow .35s;
}
.theme:hover { transform: translateY(-4px); color: var(--text); border-color: rgba(var(--brand-rgb), .5); }
.theme-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--brand-rgb), .12); color: var(--brand-2); transition: all .35s var(--ease); }
.theme-icon svg { width: 26px; height: 26px; }
.theme-name { font-weight: 600; font-size: .92rem; text-align: center; line-height: 1.25; max-width: 140px; }
.theme small { position: absolute; top: 8px; right: 10px; font-size: .72rem; font-weight: 700; opacity: .7; }
.theme.active { color: #fff; background: linear-gradient(160deg, rgba(var(--brand-rgb), .35), rgba(var(--brand-2-rgb), .15)), var(--surface); border-color: var(--brand); box-shadow: 0 12px 30px -12px var(--brand); }
.theme.active .theme-icon { background: var(--grad); color: #fff; transform: scale(1.06); }

.search { position: relative; flex: 0 1 280px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { padding-left: 42px; border-radius: 999px; }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.product {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .45s var(--ease), border-color .4s, box-shadow .45s;
  animation: product-in .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes product-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.product:hover { transform: translateY(-6px); border-color: rgba(var(--brand-rgb), .35); box-shadow: var(--shadow); }
.product.skeleton { min-height: 360px; animation: shimmer 1.4s linear infinite; background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; }
@keyframes shimmer { to { background-position: -150% 0; } }
.product-media { position: relative; aspect-ratio: 1; padding: 0; border: 0; cursor: pointer; overflow: hidden; background: var(--bg-2); display: block; width: 100%; }
.product-media img, .product-media .product-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product-media img, .product:hover .product-ph { transform: scale(1.07); }
.product-ph {
  display: grid; place-items: center; font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: rgba(255,255,255,.9);
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 2px, transparent 2px 5px), linear-gradient(150deg, var(--brand), var(--brand-2));
}
.product-cat { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: .3em .75em; border-radius: 999px; font-size: .72rem; font-weight: 600; background: rgba(11,13,18,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); }
.product-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1; }
.product-body h3 { font-size: 1.05rem; line-height: 1.3; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; }
.dots { display: flex; gap: 5px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 1px solid var(--border-strong); }
.multi-chip {
  display: inline-block; padding: .25em .7em; border-radius: 999px; font-size: .75rem; font-weight: 600; color: #fff;
  background: linear-gradient(90deg, #e63946, #ffb703, #2a9d8f, #1d7bf0, #8338ec); background-size: 200% 100%; animation: rainbow 4s linear infinite;
}
@keyframes rainbow { to { background-position: 200% 0; } }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 3rem 0; }
.shop-source { text-align: center; color: var(--muted); font-size: .82rem; margin: 1.6rem 0 0; }

/* Selos, estoque e preço promocional */
.badges { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.badge { padding: .3em .7em; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.badge-promo { background: #16a34a; }
.badge-hot { background: var(--grad); }
.pm-media { position: relative; }
.stock { display: inline-flex; align-items: center; gap: .45em; font-size: .78rem; font-weight: 600; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-ok { color: #22c55e; }
.stock-ok i { animation: pulse 2s infinite; box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
.stock-order { color: var(--muted); }
.product-price { display: flex; flex-direction: column; line-height: 1.15; }
.product-price s, .pm-price s { color: var(--muted); font-size: .8rem; font-weight: 400; }
.product-price strong { font-family: var(--font-head); font-size: 1.25rem; }
.product-price strong.consult, .pm-price strong.consult { font-size: .95rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.pm-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.pm-price strong { font-family: var(--font-head); font-size: 1.8rem; }

/* Compartilhar */
.pm-share { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1em; border-radius: 999px; background: transparent; border: 1px solid var(--border-strong); cursor: pointer; font-size: .85rem; font-weight: 600; transition: all .3s var(--ease); }
.share-btn:hover { border-color: var(--brand); background: rgba(var(--brand-rgb), .08); }
.share-btn svg { width: 18px; height: 18px; }
#pm-share-wa svg { color: #25d366; }

/* Finalização do pedido */
.checkout-name { margin: .8rem 0 1rem; }
.checkout-name input { padding: .7em 1em; }
.field.invalid input { border-color: #ef4444; animation: shake .4s; }
.paid-check { display: flex; align-items: flex-start; gap: .6rem; padding: .8rem; border-radius: var(--radius-sm); border: 1px solid #32bcad; background: rgba(50, 188, 173, .08); cursor: pointer; font-size: .88rem; }
.paid-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #32bcad; flex-shrink: 0; }

/* Pix */
.pix { margin: 0 0 1rem; }
.pix-toggle { width: 100%; padding: .85em 1em; border-radius: 999px; border: 1px solid #32bcad; background: rgba(50, 188, 173, .1); color: #7fe3d8; font-weight: 700; cursor: pointer; transition: background .3s; }
.pix-toggle::before { content: "◆ "; }
.pix-toggle:hover { background: rgba(50, 188, 173, .2); }
.pix-body { margin-top: 1rem; display: grid; gap: .7rem; animation: faq-in .4s var(--ease); }
.pix-qr { width: 200px; max-width: 70%; margin: 0 auto; padding: 10px; border-radius: 14px; background: #fff; aspect-ratio: 1; display: grid; place-items: center; color: #111; font-size: .8rem; text-align: center; }
.pix-qr svg { width: 100%; height: 100%; display: block; }
.pix-help { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }
#pix-code { font-family: ui-monospace, monospace; font-size: .72rem; resize: none; word-break: break-all; }

/* Chaveiro personalizado */
.section-feature { background: radial-gradient(ellipse at 20% 30%, rgba(var(--brand-rgb), .16), transparent 60%), var(--bg-2); }
.kc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.kc-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--radius) + 6px); overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #1b2233, #0b0d12 75%); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
#kc-canvas { width: 100%; height: 100%; display: block; cursor: grab; }
#kc-canvas:active { cursor: grabbing; }
.kc-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .6rem; color: var(--muted); padding: 1rem; text-align: center; }
.kc-size, .kc-tip { position: absolute; bottom: 14px; padding: .35em .8em; border-radius: 999px; font-size: .75rem; background: rgba(11,13,18,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--muted); }
.kc-size { left: 14px; color: var(--text); font-weight: 600; }
.kc-size:empty { display: none; }
.kc-tip { right: 14px; }
.kc-form { display: flex; flex-direction: column; gap: 1.1rem; }
.kc-form h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.kc-form .eyebrow { margin: 0; }
.kc-form output { color: var(--muted); font-weight: 500; }
#kc-text { font-size: 1.2rem; font-weight: 600; letter-spacing: .02em; }
.kc-colors { display: flex; gap: .6rem; }
.kc-colors button { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--c); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.kc-colors button:hover { transform: scale(1.1); }
.kc-colors button.active { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--brand); }
.kc-buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.kc-price { font-family: var(--font-head); font-size: 1.7rem; }
.kc-price.consult { font-size: 1rem; color: var(--muted); font-family: var(--font-body); }

/* Botão do carrinho */
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(255,255,255,.03); cursor: pointer; display: grid; place-items: center; margin-left: 1rem; transition: background .3s; }
.cart-btn:hover { background: rgba(255,255,255,.1); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn.bump { animation: bump .5s var(--ease); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.fly-dot { position: fixed; z-index: 400; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 20px var(--brand); pointer-events: none; }

/* Janelas (produto e carrinho) */
body.no-scroll { overflow: hidden; }
.layer { position: fixed; inset: 0; z-index: 250; visibility: hidden; pointer-events: none; }
.layer.open { visibility: visible; pointer-events: auto; }
.layer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--ease); }
.layer.open .layer-backdrop { opacity: 1; }
.layer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: transform .3s var(--ease); }
.layer-close:hover { transform: rotate(90deg); }

.modal { display: grid; place-items: center; padding: 16px; }
.modal-panel {
  position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr; border-radius: calc(var(--radius) + 6px);
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(30px) scale(.96); transition: all .45s var(--ease);
}
.modal.open .modal-panel { opacity: 1; transform: none; }
.modal-panel > .layer-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.pm-media { background: var(--bg-2); min-height: 320px; overflow: hidden; }
.pm-media img, .pm-media .product-ph { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.pm-body { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.pm-body .eyebrow { margin: 0; }
.pm-body h3 { font-size: 1.6rem; margin: 0; padding-right: 2rem; }
.pm-desc { color: var(--muted); margin: 0; }
.pm-colors { display: flex; flex-wrap: wrap; gap: .5rem; }
.color-opt { display: inline-flex; align-items: center; gap: .5em; padding: .45em .9em .45em .5em; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--border-strong); cursor: pointer; font-size: .88rem; transition: all .25s var(--ease); }
.color-opt i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 1px solid var(--border-strong); }
.color-opt:hover { border-color: var(--brand); }
.color-opt.active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .2); }
.pm-buy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.pm-buy .stepper { width: 130px; }

.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--border-strong); box-shadow: var(--shadow);
  transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto;
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--border); }
.drawer-head h3 { margin: 0; font-size: 1.3rem; }
.cart-items { flex: 1 0 auto; padding: .6rem 1.4rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--border); animation: product-in .4s var(--ease) both; }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--grad); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { min-width: 0; }
.cart-info strong { display: block; font-size: .92rem; line-height: 1.3; }
.cart-info > span { font-size: .8rem; color: var(--muted); }
.cart-qty { display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.cart-qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--bg-2); cursor: pointer; }
.cart-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; font-size: .9rem; }
.cart-remove { background: none; border: 0; color: var(--muted); font-size: .78rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-remove:hover { color: #ef4444; }
.cart-empty { display: grid; justify-items: center; gap: .6rem; padding: 4rem 0; color: var(--muted); text-align: center; }
.cart-empty svg { width: 48px; height: 48px; opacity: .5; }
.drawer-foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total strong { font-family: var(--font-head); font-size: 1.6rem; }
.drawer-foot .fineprint { margin: .4rem 0 1rem; text-align: left; }

/* ============ Depoimentos ============ */
.carousel { overflow: hidden; position: relative; }
.carousel-track { display: flex; transition: transform .8s var(--ease); }
.testimonial {
  flex: 0 0 calc(50% - 1.4rem); margin: 0 .7rem; padding: 2rem; display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.testimonial .stars { color: #ffb703; letter-spacing: 2px; margin-bottom: .6rem; }
.testimonial p { font-size: 1.15rem; line-height: 1.55; flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: .8rem; }
.testimonial footer span { display: block; color: var(--muted); font-size: .85rem; }
.testimonial .avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: var(--border-strong); cursor: pointer; transition: width .4s var(--ease), background .4s; padding: 0; }
.carousel-dots button.active { width: 32px; background: var(--brand); }

/* ============ FAQ ============ */
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s; }
.faq details[open] { border-color: rgba(var(--brand-rgb), .35); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand); transition: transform .35s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } }

/* ============ Contato ============ */
.section-cta { background: radial-gradient(ellipse at top, rgba(var(--brand-rgb), .12), transparent 60%), var(--bg-2); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact-copy > p { color: var(--muted); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; color: var(--muted); }
.contact-list svg { width: 22px; height: 22px; color: var(--brand); flex-shrink: 0; }
.contact-list a:hover { color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.field.invalid input, .field.invalid textarea { border-color: #ef4444; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.form-msg { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.4em; text-align: center; }

/* ============ Rodapé ============ */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer p { margin: 0; color: var(--muted); font-size: .9rem; text-align: center; }
.footer-logo img { width: 150px; height: auto; border-radius: 12px; mix-blend-mode: lighten; }

/* Escolha do WhatsApp */
.wa-panel { display: block; width: min(440px, 100%); padding: 2rem; }
.wa-panel h3 { font-size: 1.4rem; padding-right: 2.5rem; }
.wa-panel > p { color: var(--muted); font-size: .92rem; }
.wa-options { display: grid; gap: .8rem; margin-top: 1.2rem; }
.wa-option {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: 1rem 1.1rem;
  border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--border-strong);
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.wa-option:hover { border-color: #25d366; background: rgba(37, 211, 102, .08); transform: translateX(4px); }
.wa-option .avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; }
.wa-option strong { display: block; }
.wa-option small { color: var(--muted); font-variant-numeric: tabular-nums; }
.wa-option svg { width: 28px; height: 28px; color: #25d366; }
.contact-list + .contact-list { margin-top: 1rem; }
.contact-list svg.solid { color: #25d366; }
.footer-social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); transition: background .3s, color .3s; }
.footer-social:hover { background: var(--grad); border-color: transparent; }
.footer-social svg { width: 20px; height: 20px; }

/* ============ Flutuantes ============ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; stroke: none; }
.wa-tip {
  position: absolute; right: 70px; white-space: nowrap; padding: .5em .9em; border-radius: 10px; font-size: .85rem; font-weight: 600;
  background: #fff; color: #111; box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: all .35s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-tip, .wa-float.tip .wa-tip { opacity: 1; transform: none; }
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); cursor: pointer;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300; transform: translate(-50%, 120px);
  padding: .9em 1.4em; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow); transition: transform .5s var(--ease); max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

/* ============ Animações de entrada (scroll reveal) ============ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsivo ============ */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .cart-btn { margin-left: auto; margin-right: .4rem; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 16px 1.6rem; background: rgba(11, 13, 18, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 1rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
  .hero-copy { order: 2; }
  .hero-visual { order: 1; }
  .hero-canvas-wrap { max-width: 380px; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .scroll-hint { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline-line { display: none; }
  .quote { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .kc { grid-template-columns: 1fr; gap: 1.6rem; }
  .img-types, .img-row { grid-template-columns: 1fr; }
  .testimonial { flex-basis: calc(100% - 1.4rem); }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .cards-grid, .timeline { grid-template-columns: 1fr; }
  .material { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.5rem; }
  .products { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .product-body { padding: .9rem; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .product-foot .btn { width: 100%; }
  .search { flex-basis: 100%; }
  .modal-panel { display: block; }
  .pm-media { min-height: 0; aspect-ratio: 1; overflow: hidden; }
  .pm-media img, .pm-media .product-ph { min-height: 0; }
  .pm-body { padding: 1.4rem; }
  .model-info { grid-template-columns: 1fr 1fr; }
  .quote { padding: 1rem; }
  .dropzone { min-height: 300px; }
  .print-hud { width: 180px; left: 50%; transform: translateX(-50%); animation: none; bottom: 0; }
  .contact-form { padding: 1.4rem; }
  .testimonial p { font-size: 1rem; }
}
@media (max-width: 420px) {
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
