@font-face {
  font-family: Inter;
  src: url("assets/Inter-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("assets/Montserrat-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url("assets/Montserrat-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #090b1c;
  --panel: #11142b;
  --line: #292e4e;
  --text: #f5f5ff;
  --muted: #b8bdd9;
  --light: #b5b5ff;
  --brand: #4b4dea;
  --yellow: #f7d11e;
  --display: Montserrat, system-ui, sans-serif;
  font: 500 16px/1.6 Inter, system-ui, sans-serif;
  background: var(--base);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #c6c6ff; outline-offset: 4px; }
[id] { scroll-margin-top: 100px; }

.wrap { width: min(100% - 104px, 1240px); margin-inline: auto; }
.skip, .sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  z-index: 10;
  inset: 12px auto auto 12px;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 12px 18px;
  background: var(--panel);
}

.header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: #090b1cf2;
  border-bottom: 1px solid #232642;
  backdrop-filter: blur(12px);
}

.header-inner, .footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.brand img { width: 35px; height: 42px; object-fit: contain; }
.brand strong { font: 600 1.04rem/1 var(--display); white-space: nowrap; color: var(--text); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.25vw, 34px); }
.nav a, .footer a { font-size: .875rem; color: var(--muted); padding-block: 10px; }
.nav a:hover, .footer a:hover { color: white; }

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-size: .875rem;
  text-align: center;
  white-space: nowrap;
  transition: background-color .18s, border-color .18s;
}

.button:hover { background: #393bc8; }
.button span { font: 500 1.1rem/1 system-ui, sans-serif; }
.button-small { min-height: 44px; }
.button-yellow { background: var(--yellow); color: #101228; }
.button-yellow:hover { background: #ffe45d; }
.button-outline { border-color: #41476c; background: #151a34; }
.button-outline:hover { background: #232949; border-color: var(--light); }

.intro {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 78% 38%, #1d2249 0%, #10132a 35%, var(--base) 72%);
}

.hero-track { --print-travel: clamp(330px, 66svh, 515px); }
.hero-track.has-print::after { content: ""; display: block; height: var(--print-travel); }
.hero-panel { position: relative; isolation: isolate; }
.has-print .hero-panel { position: sticky; top: var(--hero-pin, 0px); }

.intro-media {
  --video-opacity: 1;
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
}

.intro-media.is-ready { opacity: var(--video-opacity); }
.intro-media video { width: 100%; height: 100%; object-fit: cover; }
.intro-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #090b1cf5 0%, #090b1cdd 32%, #090b1c65 65%, #090b1c28 100%),
    linear-gradient(0deg, var(--base), transparent 36%);
}

.hero {
  position: relative;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(22px, 4vw, 66px);
  padding-block: 45px 64px;
}

.hero-copy { position: relative; z-index: 1; max-width: 720px; }
.print-stage {
  position: relative;
  container-type: size;
  width: 100%;
  height: clamp(330px, 35vw, 480px);
  background: radial-gradient(ellipse at 50% 57%, #6269c54a, #282d6540 48%, transparent 73%);
}

.print-bed {
  position: absolute;
  inset: 88% 4% 4%;
  transform: perspective(280px) rotateX(29deg);
  transform-origin: top;
  border: 1px solid #7f83e4aa;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, #8d90ff26 0 1px, transparent 1px 19px),
    repeating-linear-gradient(0deg, #8d90ff26 0 1px, transparent 1px 12px),
    #151a37;
  box-shadow: 0 5px 0 #2f3475, 0 14px 34px #080919a0;
}

.print-model {
  --piece-height: min(66cqh, calc(77cqw / var(--piece-ratio)));
  position: absolute;
  left: 50%;
  bottom: 8.5%;
  width: calc(var(--piece-height) * var(--piece-ratio));
  height: var(--piece-height);
  transform: translateX(-50%);
}

.print-piece, .print-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.print-piece {
  clip-path: inset(var(--cut, 100%) 0 0);
}

.print-layer {
  clip-path: inset(var(--cut, 100%) 0 max(0%, calc(100% - var(--cut, 100%) - 2px)));
  opacity: var(--layer-opacity, 0);
  filter: brightness(1.7) saturate(.7);
}

.print-head {
  position: absolute;
  z-index: 1;
  top: var(--cut, 100%);
  left: var(--nozzle-x, 50%);
  width: clamp(28px, 10cqw, 54px);
  max-width: none;
  transform: translate(-50%, -100%);
  opacity: var(--head-opacity, 1);
  filter: drop-shadow(0 5px 8px #090b1cad);
}
.print-scroll-hint {
  position: absolute;
  inset: 100% 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  opacity: var(--hint-opacity, 1);
}

.print-scroll-hint span { margin-right: 4px; color: var(--light); }
.intro-toggle {
  position: absolute;
  bottom: 16px;
  right: 0;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #d0d1ff66;
  border-radius: 999px;
  background: #090b1ce6;
  color: var(--text);
  font-size: .8rem;
  cursor: pointer;
}

.intro-toggle:hover { background: var(--panel); }
.intro-toggle:disabled { visibility: hidden; }
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  color: #c3c5f8;
  font-size: .84rem;
}

.kicker span { width: 20px; height: 2px; background: #7c7eff; flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
h1 {
  font-size: clamp(3.2rem, 5.65vw, 5.35rem);
  line-height: 1.025;
  letter-spacing: -.07em;
  font-weight: 500;
}

h1 em { color: var(--light); font-style: normal; }
.lede { font-size: clamp(1rem, 1.45vw, 1.19rem); color: var(--muted); max-width: 470px; margin-top: 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.proof, .product-atmosphere { position: relative; isolation: isolate; }

.product-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: .23;
  mask-image: linear-gradient(90deg, transparent, black 12% 88%, transparent);
}

.proof .product-backdrop { opacity: .17; }

.product-drift {
  position: absolute;
  top: 32%;
  left: 0;
  width: 100%;
  animation: product-slide 62s -18s linear infinite;
  --drift-rest: 2%;
}

.product-drift:nth-child(2) {
  top: 57%;
  animation-duration: 73s;
  animation-delay: -42s;
  --drift-rest: 36%;
}

.product-drift:nth-child(3) {
  top: 73%;
  animation-duration: 82s;
  animation-delay: -66s;
  --drift-rest: 69%;
}

.product-drift img {
  display: block;
  width: clamp(190px, 36vw, 490px);
  height: clamp(190px, 30vw, 430px);
  object-fit: contain;
  transform: translateY(-50%) scale(1.18);
  transform-origin: center;
  filter: blur(10px) saturate(.7);
}

@keyframes product-slide {
  0% { transform: translate3d(-52%, 0, 0); opacity: 0; }
  22%, 84% { opacity: 1; }
  100% { transform: translate3d(105%, 0, 0); opacity: 0; }
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #11152de8;
}

.stat { display: grid; align-content: start; gap: 6px; padding: 21px clamp(12px, 2.2vw, 28px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { position: relative; color: var(--light); font: 600 clamp(1.55rem, 2.9vw, 2.2rem)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.stat-roll { display: none; }

@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .stat strong.stat-pending { color: transparent; }
}
@media (prefers-reduced-motion: no-preference) {
  .stat strong.is-rolling { color: transparent; }
  .stat-roll { position: absolute; inset: 0; display: flex; align-items: start; color: var(--light); }
  .stat-digit { height: 1lh; overflow: hidden; }
  .stat-digit-track { display: grid; animation: stat-digit-roll 480ms cubic-bezier(.22,.76,.32,1) var(--roll-delay) both; }
}
@keyframes stat-digit-roll {
  from { transform: translateY(0); }
  to { transform: translateY(var(--roll-stop)); }
}

.section { padding-block: 96px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}

h2 { font-size: clamp(2rem, 3.55vw, 3.3rem); line-height: 1.12; letter-spacing: -.05em; }
h3 { font-size: clamp(1rem, 1.5vw, 1.24rem); line-height: 1.28; letter-spacing: -.02em; }
.section-head p:not(.kicker) { max-width: 350px; color: var(--muted); }
.section-head .kicker, .faq .kicker, .batch .kicker { margin-bottom: 11px; }
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.solution, .project { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.solution { position: relative; display: flex; flex-direction: column; border-top-width: 2px; background: #11142bb5; }
.solution::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--brand); transform-origin: left; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .solutions.has-reveal .solution::before { transform: scaleX(0); }
  .solutions.has-reveal .solution.is-revealed::before { transform: scaleX(1); transition: transform 500ms cubic-bezier(.22,.76,.32,1); }
  .solutions.has-reveal .solution.is-revealed:nth-child(2)::before { transition-delay: 90ms; }
  .solutions.has-reveal .solution.is-revealed:nth-child(3)::before { transition-delay: 180ms; }
}
.card-body { padding: 20px; }
.solution .card-body { display: grid; grid-template-rows: auto 1fr auto; flex: 1; }
.solution h3 { display: flex; align-items: center; gap: 10px; }
.solution-links { display: flex; flex-wrap: wrap; column-gap: 18px; align-items: start; }
.solution-icon { flex: 0 0 28px; width: 28px; height: 28px; color: var(--light); }
.shrine-icon, .miniature-icon, .trophy-icon { position: relative; }
:is(.shrine-icon, .miniature-icon, .trophy-icon)::before,
:is(.shrine-icon, .miniature-icon, .trophy-icon)::after { content: ""; position: absolute; }
.shrine-icon {
  background: linear-gradient(var(--brand), var(--brand)) center bottom 3px / 23px 2px no-repeat;
}
.shrine-icon::before { inset: 2px 5px 4px; border: 1.5px solid; border-radius: 12px 12px 2px 2px; }
.shrine-icon::after {
  inset: 9px 9px 8px;
  background: linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center 36% / 76% 1.5px no-repeat;
}
.miniature-icon {
  display: block;
  background: linear-gradient(var(--brand), var(--brand)) center bottom 2px / 80% 2px no-repeat;
}
.miniature-icon::before {
  top: 4%;
  left: 32%;
  width: 36%;
  aspect-ratio: 1;
  border: 1.5px solid;
  border-radius: 50%;
}
.miniature-icon::after { inset: 46% 20% 15%; border: 1.5px solid; border-radius: 45% 45% 3px 3px; }
.trophy-icon {
  background: linear-gradient(currentColor, currentColor) center bottom 5px / 1.5px 7px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center bottom 3px / 12px 2px no-repeat;
}
.trophy-icon::before { inset: 2px 7px 11px; border: 1.5px solid; border-radius: 2px 2px 8px 8px; }
.trophy-icon::after { inset: 5px 3px 14px; border: 1.5px solid; border-radius: 2px 2px 9px 9px; }
.card-body p { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.card-body a { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 44px; color: var(--light); font-size: .86rem; }
.card-body a:hover { color: white; }
.portfolio { background: #0e1126; border-block: 1px solid #202540; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.filters button { min-height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--muted); cursor: pointer; }
.filters button:hover { border-color: var(--light); color: white; }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: white; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gallery[data-view="todos"] { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }

.project { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.project { transform-origin: top left; }
.project-exit { position: fixed; z-index: 2; margin: 0; pointer-events: none; transform-origin: center; }
.project-exit-featured { grid-template-columns: 1fr; }
.gallery[data-view="todos"] .project-featured { grid-column: var(--feature-column, 1); grid-row: 1 / span 2; grid-template-columns: 1fr; }
.gallery[data-view="todos"][data-feature-side="right"] { --feature-column: 2; }
.project-visual, .dialog-visual {
  position: relative;
  background: radial-gradient(ellipse at 50% 80%, #3f458b, #151932 73%);
}
.project[data-category="marcas-eventos"] .project-visual {
  background: radial-gradient(ellipse at 50% 85%, #485074, #171a2a 73%);
}
.project:is([data-category="presentes"], [data-category="decoracao"], [data-category="geek"]) .project-visual {
  background: radial-gradient(ellipse at 50% 85%, #604551, #231a34 73%);
}

.project-visual {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 26px 15px 32px;
  overflow: hidden;
}

.project-print-frame {
  position: relative;
  container-type: size;
  width: 100%;
  height: 190px;
}

.project-print-frame .print-model {
  --piece-height: min(100cqh, calc(100cqw / var(--piece-ratio)));
  --cut: 0%;
  --head-opacity: 0;
  bottom: 50%;
  transform: translate(-50%, 50%);
}

.project-print-frame .print-head { width: clamp(16px, 14cqw, 28px); }
.project-print-frame :is(.print-layer, .print-head) { pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .project-print-frame.is-print-pending .print-piece { clip-path: inset(100% 0 0); }
}
.gallery[data-view="todos"] .project-featured .project-print-frame,
.project-exit-featured .project-print-frame { height: clamp(235px, 24vw, 330px); }
.project-visual figcaption, .dialog-caption {
  position: absolute;
  bottom: 7px;
  left: 12px;
  color: #e2e4f8;
  background: #10142de8;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: .69rem;
}

.project .card-body { align-self: center; padding: clamp(17px, 2.5vw, 30px); }
.project .card-body .project-category, .dialog-copy .project-category {
  margin: 0 0 6px;
  color: var(--light);
  font-size: .76rem;
}
.project h3 { font-size: clamp(1.08rem, 1.75vw, 1.45rem); }
.project-featured h3 { font-size: clamp(1.3rem, 2.3vw, 1.9rem); }
.project-numbers { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 15px 0 0; }
.project-numbers > div { display: flex; flex-direction: column-reverse; }
.project-numbers dt { color: var(--muted); font-size: .78rem; }
.project-numbers dd { margin: 0; font: 600 1.5rem/1.12 var(--display); color: var(--light); }

.project-open, .dialog-photo-controls button, .project-dialog-close button {
  cursor: pointer;
  color: var(--light);
  background: none;
  border: 1px solid #3d4571;
  border-radius: 999px;
  min-height: 44px;
  padding-inline: 13px;
  font-size: .83rem;
}

.project-open { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; }
.project-open:hover, .dialog-photo-controls button:hover, .project-dialog-close button:hover { border-color: var(--light); color: white; }

.project-dialog {
  width: min(calc(100% - 28px), 850px);
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid #434b79;
  border-radius: 16px;
  color: var(--text);
  background: var(--panel);
  overflow: auto;
}

.project-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.project-dialog::backdrop { background: #05050bce; }
.project-dialog-close { position: absolute; top: 10px; right: 10px; z-index: 1; }
.project-dialog-close button { min-width: 44px; padding: 0; font-size: 1.4rem; background: #11162cec; }
.dialog-image-frame { display: grid; place-items: center; overflow: hidden; min-height: 400px; padding: 15px 15px 32px; }
.dialog-image { width: 100%; height: min(52vh, 410px); object-fit: contain; transform-origin: 50% 36%; }
.dialog-image.is-zoom-animated { transition: transform 320ms cubic-bezier(.22,.76,.32,1); }
.project-dialog[data-view="detail"] .dialog-image { transform: scale(2.1); }
.dialog-copy { align-self: center; padding: 42px 23px 28px; }
.dialog-copy h2 { font-size: clamp(1.45rem, 3.4vw, 2.35rem); }
.dialog-copy .dialog-description { color: var(--muted); margin-top: 12px; }
.portfolio-message { color: var(--muted); }
.portfolio-message a { text-decoration: underline; }
.dialog-media-options { display: flex; gap: 8px; margin-top: 16px; padding: 3px; overflow-x: auto; }
.dialog-media-options button {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 80px;
  flex: 0 0 auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: var(--base);
  font-size: .72rem;
  cursor: pointer;
}
.dialog-media-options button:hover, .dialog-media-options button[aria-pressed="true"] {
  border-color: var(--light);
  color: var(--text);
}
.dialog-media-options img { width: 62px; height: 53px; object-fit: contain; }

.dialog-photo-controls { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 20px 15px; }
.dialog-photo-controls button { display: inline-flex; align-items: center; gap: 7px; }
.dialog-photo-controls button[aria-pressed="true"] { background: #343b69; border-color: #626bb7; color: white; }
.view-icon { position: relative; width: 16px; height: 16px; }
.view-icon::before, .view-icon::after { content: ""; position: absolute; }
.view-frame::before { inset: 2px 0; border: 1.5px solid; border-radius: 3px; }
.view-frame::after { inset: 5px 6px; border: 1px solid; border-radius: 2px; }
.view-zoom::before { inset: 0 4px 4px 0; border: 1.5px solid; border-radius: 50%; }
.view-zoom::after { width: 6px; height: 1.5px; right: 0; bottom: 3px; background: currentColor; transform: rotate(45deg); }
.dialog-quote { white-space: normal; }

.process { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 86px); }
.steps { padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: clamp(10px, 2vw, 16px); padding: 19px 0; border-bottom: 1px solid var(--line); }
.step-illustration {
  position: relative;
  width: 48px;
  height: 48px;
  color: var(--light);
}

.step-illustration span,
.step-illustration span::before,
.step-illustration span::after { position: absolute; }

.step-sketch {
  --step-rest: rotate(-10deg);
  --step-gesture: rotate(-3deg) translateY(-2px);
  inset: 9px 15px 13px 10px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  background: var(--panel);
  box-shadow: 4px 3px 0 var(--panel), 5px 4px 0 var(--brand);
  transform: var(--step-rest);
}
.step-sketch::before,
.step-sketch::after {
  content: "";
  left: 4px;
  right: 4px;
  height: 4px;
  border-top: 1.5px solid currentColor;
  border-radius: 50%;
}
.step-sketch::before { top: 6px; }
.step-sketch::after { top: 12px; right: 7px; border-color: var(--brand); }

.step-cube {
  inset: 7px 12px 9px 6px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 24%, 100% 74%, 50% 100%, 0 74%, 0 24%);
}
.step-cube::before {
  content: "";
  inset: 2px;
  background: var(--panel);
  clip-path: inherit;
}
.step-cube::after {
  content: "";
  inset: 0;
  background: currentColor;
  clip-path: polygon(0 24%, 50% 49%, 100% 24%, 100% 29%, 53% 53%, 53% 100%, 47% 100%, 47% 53%, 0 29%);
}
.step-check {
  --step-rest: rotate(-45deg);
  --step-gesture: rotate(-45deg) scale(1.15);
  right: 4px;
  bottom: 10px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--light);
  border-bottom: 2px solid var(--light);
  filter: drop-shadow(0 0 3px var(--brand));
  transform: var(--step-rest);
}

.step-nozzle {
  --step-gesture: translateY(2px);
  top: 8px;
  left: 14px;
  width: 20px;
  height: 16px;
  border-radius: 3px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 64% 55%, 55% 100%, 45% 100%, 36% 55%, 0 55%);
}
.step-nozzle::before { content: ""; inset: 2px 2px auto; height: 5px; border-radius: 1px; background: var(--panel); }
.step-layers {
  bottom: 9px;
  left: 6px;
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.step-layers::before {
  content: "";
  inset: auto 5px 4px;
  height: 2px;
  border-radius: inherit;
  background: currentColor;
  box-shadow: 0 -4px 0 currentColor, 0 -8px 0 var(--brand);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .step-illustration :is(.step-sketch, .step-check, .step-nozzle) { transition: transform 200ms ease-out; }
  .steps li:hover :is(.step-sketch, .step-check, .step-nozzle) { transform: var(--step-gesture); }
}

@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .steps .is-revealed .step-sketch { animation: step-gesture 4s ease-in-out 300ms infinite; }
  .steps .is-revealed .step-check { animation: step-gesture 5.5s ease-in-out 1100ms infinite; }
  .steps .is-revealed .step-nozzle { animation: step-gesture 7s ease-in-out 2s infinite; }
}

@keyframes step-gesture {
  0%, 12%, 100% { transform: var(--step-rest, none); }
  5% { transform: var(--step-gesture); }
}
.steps p, .batch p:not(.kicker) { margin-top: 6px; color: var(--muted); }
.project-brief {
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid #383c70;
  border-radius: 14px;
  background: radial-gradient(ellipse at top left, #252955, var(--panel) 74%);
}

.project-brief ul { padding-left: 20px; color: var(--muted); }
.project-brief li + li { margin-top: 8px; }
.project-brief a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: var(--light); }
.project-brief a:hover { color: white; }

.batch { background: linear-gradient(118deg, #171a48, #10132a); border-block: 1px solid #343761; }
.batch-inner {
  display: grid;
  grid-template: "copy visual" auto "action visual" auto / minmax(0, 1fr) minmax(0, .72fr);
  column-gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding-block: 62px;
}
.batch-copy { grid-area: copy; align-self: end; }
.batch-inner > .button { grid-area: action; justify-self: start; align-self: start; }
.batch p:not(.kicker) { margin-block: 16px 23px; max-width: 510px; }
.batch-visual {
  --batch-bed: 75%;
  --batch-center: 26%;
  --batch-piece-ratio: 1;
  --batch-piece-height: min(16cqw, calc(19cqw / var(--batch-piece-ratio)));
  --batch-piece-width: calc(var(--batch-piece-height) * var(--batch-piece-ratio));
  grid-area: visual;
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  width: min(100%, 500px);
  aspect-ratio: 2;
  justify-self: end;
  border: 1px solid #3f4577;
  border-radius: 14px;
  background: radial-gradient(ellipse at 31% 78%, #4b4dea4a, transparent 65%), #10132a;
}
/* Recortes independentes da folha transparente de 2172 × 724 px. */
.batch-printer, .batch-rail, .batch-head {
  position: absolute;
  background-image: url("assets/producao/impressora-anycubic.png");
  background-repeat: no-repeat;
}
.batch-printer {
  z-index: 1;
  top: 1%;
  left: 4%;
  width: 44%;
  aspect-ratio: 620 / 699;
  background-size: 350.323% 103.577%;
  background-position: 3.737% 88%;
}
.batch-gantry {
  position: absolute;
  z-index: 3;
  inset: calc(var(--batch-bed) - var(--batch-piece-height) * var(--batch-lift, 0)) 0 auto;
}
.batch-rail {
  bottom: 3.2cqw;
  left: 5.8%;
  width: 40.5%;
  aspect-ratio: 988 / 210;
  background-size: 219.838% 344.762%;
  background-position: 62.922% 56.615%;
}
.batch-head {
  bottom: 0;
  left: calc(var(--batch-center) + var(--batch-piece-width) * var(--batch-nozzle-offset, 0));
  width: 7.2cqw;
  aspect-ratio: 245 / 500;
  transform: translateX(-50%);
  background-size: 886.531% 144.8%;
  background-position: 94.811% 66.071%;
}
.batch-piece {
  position: absolute;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: calc(100% - var(--batch-bed));
  left: var(--batch-center);
  width: var(--batch-piece-width);
  height: var(--batch-piece-height);
  transform: translateX(calc(-50% + var(--batch-distance, 0cqw)));
}
.batch-build { opacity: var(--batch-build-opacity, 0); }
.batch-layer { opacity: var(--layer-opacity, 0); }
.batch-output { opacity: var(--batch-opacity, 0); }
.batch-conveyor {
  position: absolute;
  z-index: 1;
  inset: var(--batch-bed) 3.5% auto 40%;
  height: 5cqw;
  border: 1px solid #6168a7;
  border-radius: 999px;
  background: #202546;
  box-shadow: 0 1cqw 0 #0b0e21, 0 2cqw 2cqw #070923aa;
}
.batch-belt {
  position: absolute;
  inset: 17% 2%;
  border-radius: inherit;
  background: repeating-linear-gradient(106deg, #24294c 0 1.45cqw, #4e5895 1.45cqw 1.9cqw, #141a35 1.9cqw 2.5cqw);
  background-size: 5cqw 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .batch-belt { animation: batch-belt-slide 1s linear infinite paused; }
  .batch-visual.is-running .batch-belt { animation-play-state: running; }
}
@keyframes batch-belt-slide {
  to { background-position-x: 5cqw; }
}

.faq { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 36px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.faq-indicator { display: grid; place-items: center; flex: 0 0 16px; height: 16px; color: var(--light); }
.faq-indicator::before, .faq-indicator::after { content: ""; grid-area: 1 / 1; background: currentColor; border-radius: 1px; }
.faq-indicator::before { width: 12px; height: 1.5px; }
.faq-indicator::after { width: 1.5px; height: 12px; transition: transform 180ms ease; }
details[open] .faq-indicator::after { transform: scaleY(0); }
details p { padding: 0 24px 16px 0; color: var(--muted); }
.contact { background: var(--brand); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 55px; }
.contact p { margin-top: 10px; }
.footer-inner { min-height: 105px; color: var(--muted); }
.footer p { font-size: .85rem; }
.footer-location a { display: block; padding-block: 0; text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 520px; }
  .section { padding-block: 76px; }
}

@media (max-width: 760px) {
  [id] { scroll-margin-top: 24px; }
  .wrap { width: calc(100% - 36px); }
  .header { position: relative; }
  .header-inner { min-height: 0; display: grid; grid-template-columns: auto auto; gap: 6px 12px; justify-content: space-between; padding-top: 12px; }
  .brand img { width: 29px; height: 35px; }
  .header .button { grid-area: 1 / 2; padding-inline: 14px; }
  .nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; gap: 2px; }
  .nav a { text-align: center; min-height: 44px; align-content: center; font-size: .8rem; }
  .hero-track { --print-travel: clamp(280px, 58svh, 430px); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 22px; min-height: 0; align-items: start; padding-block: 43px 58px; }
  .print-stage { height: clamp(255px, 86vw, 395px); }
  .print-scroll-hint { inset: 0 0 auto; }
  .intro-media video { object-position: center; }
  .intro-media::after {
    background: linear-gradient(180deg, #090b1cf5 0%, #090b1ccf 40%, #090b1c40 63%, var(--base) 95%);
  }
  h1 { font-size: clamp(2.6rem, 10vw, 4.4rem); }
  .lede { margin-top: 19px; }
  .actions { gap: 9px; margin-top: 23px; }
  .actions .button { padding-inline: 14px; gap: 9px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 15px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat > span { font-size: .8rem; }
  .section { padding-block: 60px; }
  .section-head { display: grid; gap: 10px; margin-bottom: 22px; }
  .solutions { grid-template-columns: 1fr; }
  .gallery, .gallery[data-view="todos"] { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gallery[data-view="todos"] .project-featured { grid-column: auto; grid-row: auto; }
  .project { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .project-exit-featured { grid-template-columns: 1fr; }
  .project-print-frame { height: clamp(154px, 37vw, 205px); }
  .project-dialog[open] { grid-template-columns: minmax(0, 1fr); }
  .dialog-image-frame { min-height: 0; }
  .dialog-image { height: min(34vh, 245px); }
  .dialog-copy { padding: 20px 16px; }
  .process, .faq { grid-template-columns: 1fr; gap: 24px; }
  .batch-inner { grid-template: "copy" "visual" "action" / minmax(0, 1fr); row-gap: 18px; padding-block: 45px; }
  .batch p:not(.kicker) { margin-bottom: 0; }
  .batch-visual { justify-self: start; }
  .contact-inner { align-items: start; flex-direction: column; padding-block: 40px; }
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding-block: 20px; }
  .footer-inner p { justify-self: end; text-align: right; }
  .footer-inner a:last-child { justify-self: end; }
}

@media (max-width: 365px) {
  .actions .button { padding-inline: 13px; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro-media, .intro-toggle, .print-head, .print-layer, .print-scroll-hint { display: none; }
  .hero-track.has-print::after { display: none; }
  .has-print .hero-panel { position: relative; top: auto; }
  .print-piece { clip-path: none; }
  .product-drift { animation: none; transform: translateX(var(--drift-rest)); }
  *, *::before, *::after { transition: none !important; }
}
