/* ==========================================================
   VMcodeZ — identidade tirada da logo
   preto puro · ciano · verde · creme
   ========================================================== */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --cyan: #0cc0df;
  --green: #0deb1d;
  --cream: #f6f6e9;
  --teal: #087b8f;
  --stone: #9a9a90;
  --line: rgba(246, 246, 233, 0.14);
  --surface: #06090a;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; font-weight: 800; }
p { margin: 0; }
::selection { background: var(--green); color: var(--black); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green); color: var(--black); font-weight: 700;
  padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 30px; width: auto; }
.brand-word { height: 20px; width: auto; }
.nav nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.nav nav a { font-weight: 600; font-size: 0.95rem; color: var(--cream); opacity: 0.8; transition: opacity 0.2s; }
.nav nav a:hover { opacity: 1; }
.nav .nav-wa {
  opacity: 1; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--green); color: var(--green);
  transition: background 0.2s, color 0.2s;
}
.nav .nav-wa svg { width: 17px; height: 17px; }
.nav .nav-wa:hover { background: var(--green); color: var(--black); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.3s;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--green); color: var(--black); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(13, 235, 29, 0.6); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cyan); color: var(--cyan); }
.btn-block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100svh - 70px);
  padding: clamp(48px, 9vh, 110px) var(--gutter) clamp(120px, 16vh, 180px);
  display: grid;
  grid-template-columns: clamp(30px, 6vw, 84px) 1fr clamp(30px, 6vw, 84px);
  align-items: stretch;
  gap: clamp(10px, 3vw, 40px);
}
.brace { width: 100%; height: 100%; min-height: 340px; overflow: visible; }
.brace path {
  fill: none;
  stroke: var(--green);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.brace {
  clip-path: inset(50% 0 50% 0);
  animation: open 1.3s var(--ease) 0.15s forwards;
}
.brace-r { animation-delay: 0.3s; }
@keyframes open { to { clip-path: inset(-10% -20% -10% -20%); } }

.hero-body {
  align-self: center;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 96;
}
.h1-line { display: block; color: var(--cyan); }
.h1-cycle { display: flex; align-items: baseline; min-height: 1em; color: var(--cream); }
.cycle-word { white-space: nowrap; }
.caret {
  display: inline-block; width: 0.09em; height: 0.78em; margin-left: 0.06em;
  background: var(--green); transform: translateY(0.06em);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.lead {
  margin-top: clamp(22px, 3.5vh, 34px);
  max-width: 30em;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: rgba(246, 246, 233, 0.78);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 100%, rgba(12, 192, 223, 0.14), transparent 70%);
}

/* barras da logo, nascendo do chão do hero */
.bars {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: clamp(6px, 1vw, 12px);
  height: clamp(70px, 11vh, 120px);
}
.bar {
  width: clamp(20px, 2.6vw, 34px);
  border-radius: 6px 6px 2px 2px;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: rise 0.9s var(--ease) forwards;
}
.bar-a { height: 100%; background: var(--cyan); animation-delay: 1.1s; }
.bar-b { height: 74%;  background: var(--cream); animation-delay: 1.22s; }
.bar-c { height: 100%; background: var(--cyan); animation-delay: 1.34s; }
@keyframes rise { to { transform: scaleY(1); } }

/* ---------- SERVIÇOS ---------- */
.services, .contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) var(--gutter);
}
.services { border-top: 1px solid var(--line); }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2, .contact h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.section-head p { color: rgba(246, 246, 233, 0.7); max-width: 30em; justify-self: end; }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc {
  position: relative;
  display: grid; gap: 10px;
  padding: clamp(22px, 2.6vw, 32px) 0 clamp(22px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--line);
  cursor: default;
  outline-offset: -3px;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc h3 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: calc(100% - 0.62em);
  transition: transform 0.45s var(--ease), color 0.3s;
}
.svc h3::before {
  content: "{";
  position: absolute; left: 0;
  color: var(--green);
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.3s, transform 0.45s var(--ease);
}
.svc p { color: rgba(246, 246, 233, 0.62); max-width: 32em; transition: color 0.3s; }
.svc.is-active h3 { transform: translateX(0.62em); color: var(--cyan); }
.svc.is-active h3::before { opacity: 1; transform: translateX(-0.62em); }
.svc.is-active p { color: rgba(246, 246, 233, 0.85); }

.svc-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.svc-aside { position: sticky; top: 110px; }
.svc-mini { display: none; }

/* ---------- TELAS DE EXEMPLO (hero + serviços) ---------- */
.hero-stage { display: grid; gap: 14px; }
.prompt {
  font: 500 clamp(0.82rem, 1.05vw, 0.98rem)/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: rgba(246, 246, 233, 0.78);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 18px;
  white-space: nowrap; overflow: hidden;
}
.prompt .br { color: var(--green); font-weight: 700; }
.prompt .str { color: var(--cyan); }
.p-caret {
  display: inline-block; width: 0.55em; height: 1.1em; vertical-align: -0.2em; margin-left: 2px;
  background: rgba(13, 235, 29, 0.85); animation: blink 1s steps(1) infinite;
}

.device {
  border: 1px solid rgba(246, 246, 233, 0.16);
  border-radius: 18px;
  background: #030607;
  overflow: hidden;
  box-shadow: 0 50px 120px -50px rgba(12, 192, 223, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.device-bar {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(246, 246, 233, 0.18); }
.device-url {
  margin: 0 auto; transform: translateX(-14px);
  font-size: 0.72rem; font-weight: 600; color: var(--stone);
  padding: 3px 14px; border-radius: 999px; background: rgba(246, 246, 233, 0.05);
}
.device-view {
  position: relative;
  aspect-ratio: 16 / 11;
  container-type: inline-size;
}

.scr {
  position: absolute; inset: 0;
  padding: 5cqw;
  display: flex; flex-direction: column; gap: 3.6cqw;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0s 0.35s;
}
.scr.active { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.scr .p { opacity: 0; transform: translateY(3cqw) scale(0.97); }
.scr.active .p { animation: pop 0.6s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes pop { to { opacity: 1; transform: none; } }

.ln { display: block; height: 1.9cqw; border-radius: 1cqw; background: rgba(246, 246, 233, 0.85); }
.ln.dim { background: rgba(246, 246, 233, 0.2); }
.ln.big { height: 3.6cqw; }
.ln.on { background: var(--cyan); }
.w35 { width: 35%; } .w45 { width: 45%; } .w55 { width: 55%; } .w70 { width: 70%; }
.blk { background: rgba(246, 246, 233, 0.045); border: 1px solid rgba(246, 246, 233, 0.1); border-radius: 2cqw; }
.dot { width: 4.4cqw; height: 4.4cqw; border-radius: 1.2cqw; background: var(--green); flex: none; }

/* site */
.s-nav { display: flex; align-items: center; gap: 3cqw; }
.s-nav .ln { width: 9cqw; height: 1.6cqw; }
.s-nav .ln:first-of-type { margin-left: auto; }
.s-hero {
  display: grid; gap: 2.2cqw; align-content: center;
  padding: 5cqw; border-radius: 2.4cqw; flex: 1.3;
  background: linear-gradient(135deg, rgba(12, 192, 223, 0.28), rgba(8, 123, 143, 0.06) 70%);
  border: 1px solid rgba(12, 192, 223, 0.25);
}
.pill { width: 20cqw; height: 5.4cqw; border-radius: 99px; background: var(--green); margin-top: 1.4cqw; }
.s-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; flex: 1; }
.s-tiles .blk { position: relative; }
.s-tiles .blk::before {
  content: ""; position: absolute; left: 2.6cqw; top: 2.6cqw;
  width: 4.6cqw; height: 4.6cqw; border-radius: 1.2cqw; background: rgba(12, 192, 223, 0.7);
}
.s-tiles .blk::after {
  content: ""; position: absolute; left: 2.6cqw; right: 30%; bottom: 3cqw;
  height: 1.6cqw; border-radius: 1cqw; background: rgba(246, 246, 233, 0.2);
}

/* loja */
.cart {
  position: relative; margin-left: auto;
  width: 6cqw; height: 5.4cqw; border: 0.5cqw solid var(--cream); border-top-width: 0.5cqw;
  border-radius: 0.6cqw 0.6cqw 1.6cqw 1.6cqw;
}
.scr-loja .s-nav .cart { margin-left: 3cqw; }
.badge {
  position: absolute; right: -2.6cqw; top: -2.6cqw;
  min-width: 4.4cqw; height: 4.4cqw; border-radius: 99px; padding: 0 1cqw;
  display: grid; place-items: center;
  background: var(--green); color: var(--black);
  font: 800 2.6cqw/1 var(--f-body);
}
.badge.bump { animation: bump 0.4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.l-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 2.6cqw; flex: 1; min-height: 0; }
.prod { display: flex; flex-direction: column; gap: 1.4cqw; padding: 1.6cqw; min-height: 0; transition: border-color 0.3s, box-shadow 0.3s; }
.prod .img { flex: 1; border-radius: 1.2cqw; min-height: 0; }
.prod .ln { height: 1.5cqw; }
.prod .price { background: var(--green); opacity: 0.85; }
.c1 { background: linear-gradient(160deg, #0cc0df, #087b8f); }
.c2 { background: linear-gradient(160deg, #f6f6e9, #b9b9a8); }
.c3 { background: linear-gradient(160deg, #087b8f, #033b43); }
.c4 { background: linear-gradient(160deg, #0deb1d, #087b2a); }
.c5 { background: linear-gradient(160deg, #2a2a26, #111); }
.c6 { background: linear-gradient(160deg, #0cc0df, #f6f6e9); }
.prod.added { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 28px -6px rgba(13, 235, 29, 0.5); }

/* sistema */
.scr-sistema { flex-direction: row; gap: 3cqw; }
.side { width: 22%; display: flex; flex-direction: column; gap: 3cqw; padding: 3cqw 2.6cqw; }
.side .ln { height: 1.6cqw; }
.side .dot { margin-bottom: 2cqw; }
.main { flex: 1; display: flex; flex-direction: column; gap: 3cqw; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6cqw; }
.kpis .blk { display: grid; gap: 1.8cqw; padding: 2.6cqw; }
.kpis .ln.big { height: 3cqw; }
.chart { flex: 1; display: flex; align-items: flex-end; gap: 2cqw; padding: 3cqw; }
.chart span {
  flex: 1; height: var(--h); border-radius: 1cqw 1cqw 0.4cqw 0.4cqw;
  background: rgba(12, 192, 223, 0.75);
  transform: scaleY(0); transform-origin: bottom;
}
.chart span:nth-child(3n + 2) { background: rgba(246, 246, 233, 0.8); }
.chart span.hi { background: var(--green); }
.scr.active .chart span { animation: rise 0.8s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 450ms); }

/* integração */
.scr-integra { justify-content: center; gap: 6cqw; }
.nodes { display: flex; align-items: center; }
.node { width: 22cqw; padding: 3cqw 2cqw; display: grid; justify-items: center; gap: 2cqw; flex: none; }
.node span { font: 700 2.6cqw/1 var(--f-body); color: var(--cream); }
.ic { width: 7cqw; height: 7cqw; border-radius: 2cqw; }
.c-cyan { background: var(--cyan); } .c-green { background: var(--green); } .c-cream { background: var(--cream); }
.wire { flex: 1; position: relative; height: 0; border-top: 0.4cqw dashed rgba(246, 246, 233, 0.3); }
.wire i {
  position: absolute; top: -1.3cqw; left: 0;
  width: 2.2cqw; height: 2.2cqw; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 2cqw var(--green);
}
.scr.active .wire i { animation: travel 1.4s linear infinite; animation-delay: 0.6s; }
.scr.active .wire:nth-of-type(4) i { animation-delay: 1.3s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 2.2cqw); opacity: 0; } }
.log { display: grid; gap: 2cqw; }
.log .blk { display: flex; align-items: center; gap: 2.4cqw; padding: 2.4cqw 3cqw; }
.ok { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: var(--green); flex: none; position: relative; }
.ok::after {
  content: ""; position: absolute; left: 32%; top: 22%; width: 22%; height: 40%;
  border: solid var(--black); border-width: 0 0.5cqw 0.5cqw 0; transform: rotate(45deg);
}

/* ideia */
.scr-ideia { gap: 3cqw; }
.note {
  position: absolute; right: 5cqw; top: 4cqw; z-index: 2;
  width: 24cqw; padding: 2.6cqw; display: grid; gap: 1.6cqw;
  background: var(--green); border-radius: 1cqw; rotate: 4deg;
  box-shadow: 0 2cqw 4cqw -1cqw rgba(0, 0, 0, 0.6);
}
.note .ln { background: rgba(0, 0, 0, 0.55); height: 1.5cqw; }
.wf { position: relative; border-radius: 2cqw; border: 0.35cqw dashed rgba(246, 246, 233, 0.35); overflow: hidden; }
.wf::after {
  content: ""; position: absolute; inset: 0;
  transform: scaleX(0); transform-origin: left;
}
.wf-top { height: 8cqw; width: 64%; }
.wf-top::after { background: rgba(246, 246, 233, 0.08); }
.wf-hero { flex: 1.3; }
.wf-hero::after { background: linear-gradient(135deg, rgba(12, 192, 223, 0.45), rgba(8, 123, 143, 0.1)); }
.wf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; flex: 1; }
.wf-row .wf:first-child::after { background: rgba(13, 235, 29, 0.35); }
.wf-row .wf:last-child::after { background: rgba(246, 246, 233, 0.12); }
.scr.active .wf::after { animation: fill 0.7s var(--ease) forwards; animation-delay: calc(var(--s) * 200ms + 900ms); }
.scr.active .wf { animation: solid 0.3s forwards; animation-delay: calc(var(--s) * 200ms + 1300ms); }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes solid { to { border-color: transparent; } }

/* ---------- CONTATO ---------- */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: start;
}
.contact-intro p { margin-top: 20px; color: rgba(246, 246, 233, 0.75); max-width: 26em; }
.contact-links { display: grid; gap: 12px; margin-top: 36px; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 12px; width: fit-content;
  font-family: var(--f-display); font-weight: 600; font-size: 1.25rem;
  transition: color 0.2s;
}
.contact-links svg { width: 22px; height: 22px; color: var(--green); }
.contact-links a:hover { color: var(--cyan); }

.wa-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(22px, 3.4vw, 40px);
  display: grid; gap: 24px;
}
.field { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 0.95rem; padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 10px; }
.field input[type="text"], .field textarea {
  width: 100%;
  background: var(--black);
  color: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit; font-size: 1rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(246, 246, 233, 0.38); }
.field input[type="text"]:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 600; font-size: 0.93rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover span { border-color: var(--cyan); }
.chip input:checked + span { background: var(--cyan); border-color: var(--cyan); color: var(--black); }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 3px; }

.form-error { color: #ff8a7a; font-weight: 600; font-size: 0.95rem; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px var(--gutter) 48px;
  display: grid; justify-items: center; gap: 24px; text-align: center;
}
.footer-logo { width: 150px; height: auto; }
.footer-links { display: flex; gap: 14px; }
.footer-links a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line); transition: border-color 0.2s, color 0.2s;
}
.footer-links a:hover { border-color: var(--green); color: var(--green); }
.footer-links svg { width: 20px; height: 20px; }
.copy { color: var(--stone); font-size: 0.9rem; }

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: var(--black);
  box-shadow: 0 10px 30px -8px rgba(13, 235, 29, 0.55);
  transform: scale(0); opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.show { transform: scale(1); opacity: 1; }
.wa-float:hover { transform: scale(1.07); }

/* ---------- RESPONSIVO ---------- */
.svc-dots { display: none; }

@media (max-width: 980px) {
  .hero-body { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); }

  /* serviços viram carrossel */
  .svc-wrap { grid-template-columns: 1fr; }
  .svc-aside { display: none; }
  .svc-list {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 6px;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .svc-list::-webkit-scrollbar { display: none; }
  .svc, .svc:last-child {
    flex: 0 0 min(84%, 420px);
    scroll-snap-align: start;
    display: flex; flex-direction: column; gap: 10px;
    padding: 12px 12px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
  }
  .svc-mini { display: block; order: -1; margin-bottom: 8px; }
  .svc-mini .device { border-radius: 14px; box-shadow: none; }
  .svc-mini .device-bar { height: 28px; }
  .svc h3 { font-size: clamp(1.5rem, 6.4vw, 2rem); max-width: none; padding: 0 6px; }
  .svc h3::before { display: none; }
  .svc p { padding: 0 6px; }
  .svc.is-active h3 { transform: none; color: var(--cream); }
  .svc.is-active p { color: rgba(246, 246, 233, 0.62); }
  .svc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .svc-dots i {
    width: 8px; height: 8px; border-radius: 99px;
    background: rgba(246, 246, 233, 0.25);
    transition: width 0.3s var(--ease), background 0.3s;
  }
  .svc-dots i.on { width: 26px; background: var(--cyan); }
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav nav a:not(.nav-wa) { display: none; }
  .brand-mark { height: 26px; }
  .brand-word { height: 17px; }

  /* no celular as chaves abraçam a tela de exemplo */
  .hero {
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    column-gap: 10px; row-gap: 40px;
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 116px;
  }
  .hero-body { display: contents; }
  .hero-text { grid-column: 1 / -1; grid-row: 1; }
  .brace-l { grid-column: 1; grid-row: 2; }
  .hero-stage { grid-column: 2; grid-row: 2; gap: 10px; }
  .brace-r { grid-column: 3; grid-row: 2; }
  .brace { min-height: 0; }
  .brace path { stroke-width: 6; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .lead { margin-top: 18px; }
  .hero-cta { margin-top: 28px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .btn-ghost { padding-block: 13px; }
  .prompt { font-size: 0.7rem; padding: 10px 12px; border-radius: 12px; }
  .device { border-radius: 14px; }
  .device-bar { height: 28px; }
  .device-url { font-size: 0.66rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .caret { animation: none; }
}
