/* =========================================================
   POLARYIX — Sistema visual
   Conceito: Polaris, a estrela-guia. Coordenadas polares,
   luz fria, aurora, precisão.
   ========================================================= */

/* Fontes auto-hospedadas (subconjunto latino) — Geist, Geist Mono e Instrument Serif, licença SIL OFL */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/geist-normal-300-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/assets/fonts/geist-mono-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Tema único: quase preto azulado, texto acromático, um destaque azul-estrela. */
  --bg: #07090d;
  --bg-2: #0b0e14;
  --bg-3: #11151d;
  --ink: #e9edf3;
  --ink-2: rgba(233, 237, 243, .72);
  --ink-3: rgba(233, 237, 243, .58);
  --line: rgba(233, 237, 243, .09);
  --line-2: rgba(233, 237, 243, .16);
  --accent: #9cc0ff;
  --accent-soft: rgba(156, 192, 255, .14);
  --ice: var(--accent);
  --aurora: var(--accent);
  --violet: var(--accent);
  --wa: #3ee08f;
  --grad: linear-gradient(var(--accent), var(--accent));

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --ease-back: cubic-bezier(.34, 1.4, .64, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 18px;
  --nav-h: 76px;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, figure, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--aurora); color: var(--bg); }

:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; border-radius: 6px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 1000;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }

/* Grão sutil global para profundidade */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-sans); font-size: .95rem; font-weight: 500; letter-spacing: -.005em; text-transform: none; color: var(--ink-2); }
.eyebrow .mono, .hero__eyebrow .pulse-dot { display: none; }

.sec-title {
  font-size: clamp(2.2rem, 5.2vw, 5rem);
  font-weight: 500; line-height: .98; letter-spacing: -.045em;
  text-wrap: balance;
}
.sec-title em, .hero__accent, .cta__title em, .manifesto__text em, .footer__claim em { font: inherit; letter-spacing: inherit; color: var(--ink-3); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); max-width: 1100px; }
.sec-head--split { max-width: none; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; }
.sec-lead { color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 46ch; }

.pulse-dot {
  position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--aurora); box-shadow: 0 0 12px var(--aurora); flex: none;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit;
  animation: pulse 2.2s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: .98rem; letter-spacing: -.01em; white-space: nowrap;
  transition: color .5s var(--ease-out), border-color .5s var(--ease-out), background-color .5s var(--ease-out);
  will-change: transform;
}
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9rem; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 1.02rem; }
.btn--xl { --h: 76px; padding: 0 38px; font-size: 1.15rem; }

.btn::before { /* preenchimento que nasce do ponto do cursor */
  content: ""; position: absolute; z-index: -1;
  left: var(--mx, 50%); top: var(--my, 50%);
  width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%);
  transition: width .7s var(--ease-out), height .7s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { width: 260%; height: 600%; }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light::before { background: var(--grad); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); backdrop-filter: blur(8px); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bg); border-color: var(--ink); }

.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; }
.roll { display: inline-grid; }
.roll > span { grid-area: 1 / 1; transition: transform .6s var(--ease-out); }
.roll > span + span { transform: translateY(110%); }
.btn:hover .roll > span:first-child, .btn:focus-visible .roll > span:first-child { transform: translateY(-110%); }
.btn:hover .roll > span + span, .btn:focus-visible .roll > span + span { transform: none; }

.btn__icon { position: relative; width: 22px; height: 22px; display: grid; place-items: center; overflow: hidden; }
.btn__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.btn:hover .btn__icon svg { animation: arrow .7s var(--ease-out); }
@keyframes arrow { 0% { transform: none; } 45% { transform: translateX(140%); } 46% { transform: translateX(-140%); } 100% { transform: none; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s var(--ease-out), gap .4s var(--ease-out);
  padding-bottom: 2px;
}
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1px; gap: 14px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 30px; height: 30px; color: var(--ink); transition: transform 1.2s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(180deg); }
.logo__word { font-weight: 600; font-size: 1rem; letter-spacing: .26em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .7s var(--ease-out);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; height: var(--nav-h);
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 6, 11, .6); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .5s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__links { display: flex; gap: 34px; margin-left: auto; font-size: .93rem; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-current { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .6s var(--ease-out); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu nav { display: grid; gap: 4px; }
.menu nav a {
  display: flex; align-items: baseline; gap: 14px;
  font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.12;
  transform: translateY(40px); opacity: 0; transition: transform .8s var(--ease-out), opacity .8s;
}
.menu nav a small { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); letter-spacing: .05em; }
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open nav a:nth-child(2) { transition-delay: .3s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .35s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .4s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .45s; }
.menu__foot { display: grid; gap: 16px; color: var(--ink-3); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 40px); padding-bottom: 28px;
  overflow: hidden; isolation: isolate;
}
.hero__gl, .hero__fallback, .hero__vignette { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__fallback {
  z-index: -3;
  background:
    radial-gradient(circle at 72% 38%, rgba(220, 240, 255, .9) 0, rgba(156, 192, 255, .25) 1.2%, transparent 9%),
    radial-gradient(ellipse 70% 40% at 60% 20%, rgba(156, 192, 255, .14), transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(156, 192, 255, .14), transparent 70%),
    var(--bg);
}
.hero__gl { opacity: 0; transition: opacity 1.6s ease; }
.hero__gl.is-on { opacity: 1; }
.hero__vignette {
  z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(5, 6, 11, .0) 38%),
    linear-gradient(to right, rgba(5, 6, 11, .75) 0%, rgba(5, 6, 11, 0) 55%);
}
.hero__content { position: relative; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  font-size: clamp(3.1rem, 9.4vw, 10rem);
  font-weight: 500; line-height: .9; letter-spacing: -.055em;
  max-width: 11ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line__in { display: inline-block; }

@keyframes shimmer { to { background-position: -200% 0; } }
.hero__sub { margin-top: 30px; max-width: 520px; font-size: clamp(1.02rem, 1.25vw, 1.2rem); color: var(--ink-2); }
.hero__sub strong { color: var(--ink); font-weight: 500; }
.hero__ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta {
  margin-top: clamp(48px, 9vh, 110px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: .9rem; color: var(--ink-2); }
.hero__facts .mono { color: var(--ink-3); margin-right: 8px; font-size: .7rem; }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.hero__scroll i { position: relative; width: 1px; height: 44px; background: var(--line-2); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--ink); animation: scrollcue 2.2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

.hero__coords {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 24px);
  display: grid; gap: 4px; text-align: right; color: var(--ink-3); font-size: .68rem; text-transform: none;
}

/* Estados iniciais de intro (somente com JS ativo e animação liberada) */
.js:not(.no-anim) .hero__title .line__in { animation: lineIn 1.5s var(--ease-out) .2s both; }
.js:not(.no-anim) .hero__title .line:nth-child(2) .line__in { animation-delay: .32s; }
.js:not(.no-anim) [data-intro] { animation: fadeUp 1.2s var(--ease-out) var(--d, .5s) both; }
@keyframes lineIn { from { transform: translateY(110%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.js:not(.no-anim) [data-reveal] { opacity: 0; }

/* =========================================================
   MANIFESTO
   ========================================================= */
.hero { min-height: min(790px, 100svh); justify-content: center; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 26px; background: #070908; }
.hero__gl, .hero__fallback { display: none; }
.hero__vignette { background: radial-gradient(ellipse at 76% 52%, rgba(156, 192, 255, .06), transparent 35%), linear-gradient(90deg, #070908 0%, rgba(7,9,8,.96) 34%, rgba(7,9,8,.42) 72%, #070908 100%); }
.hero__content { width: auto; max-width: 1420px; margin-inline: var(--gutter); min-height: 510px; display: flex; flex-direction: column; justify-content: center; }
.hero__eyebrow { margin-bottom: 22px; }
.hero__title { position: relative; z-index: 2; max-width: 8.2ch; font-size: clamp(3.4rem, 6.8vw, 7rem); line-height: .91; text-transform: uppercase; }
.hero__title .line:nth-child(2) { max-width: 7ch; }
.hero__accent { color: #e8f4d4; background: none; }
.hero__sub { max-width: 420px; font-size: 1rem; line-height: 1.65; }
.hero__ctas { margin-top: 26px; }
.hero__showcase { position: absolute; width: min(52%, 690px); height: min(62%, 460px); top: 50%; right: max(var(--gutter), calc((100vw - 1420px)/2)); transform: translateY(-54%); perspective: 1200px; }
.hero__meta {margin-top:auto;position:relative;z-index:2;padding-top:16px}.hero__facts {gap:8px 22px;font-size:.78rem}.hero__coords {display:none}
.process-ribbon { display: grid; grid-template-columns: minmax(200px, .8fr) 2.2fr; align-items: center; gap: 40px; padding: 26px max(var(--gutter), calc((100vw - 1420px) / 2)); background: var(--bg-2); border-block: 1px solid var(--line); } .process-ribbon__intro { display: grid; gap: 4px; } .process-ribbon__intro small { font-size: .8rem; color: var(--ink-3); } .process-ribbon__intro b { font-size: 1rem; font-weight: 500; } .process-ribbon ol { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; } .process-ribbon li { display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; padding: 2px 14px; border-left: 1px solid var(--line); } .process-ribbon li i { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--accent); font: 500 .7rem var(--f-mono); font-style: normal; } .process-ribbon li b { font-size: .92rem; font-weight: 500; } .process-ribbon li small { font-size: .8rem; color: var(--ink-3); }
@media(max-width:760px){.hero{min-height:auto;padding-top:calc(var(--nav-h) + 38px);padding-bottom:20px}.hero__content{min-height:0;display:block}.hero__title{font-size:clamp(3rem,12vw,5.2rem);max-width:9ch}.hero__sub{font-size:.92rem;margin-top:16px;max-width:38ch}.hero__ctas{margin-top:20px}.hero__showcase{position:relative;top:auto;right:auto;transform:none;width:100%;height:250px;margin:28px 0 0}.showcase__window{transform:rotateY(-5deg) rotateX(1deg)}.showcase__dish{right:4%;width:42%}.showcase__menu{font-size:6px}.hero__meta{margin-top:24px}.hero__facts{display:grid;gap:7px}.hero__scroll{display:none}.process-ribbon{grid-template-columns:1fr;gap:18px;padding-top:22px;padding-bottom:22px}.process-ribbon ol{grid-template-columns:repeat(5,minmax(100px,1fr));overflow:auto;padding-bottom:5px}.process-ribbon li{padding:2px 9px}.process-ribbon li small{white-space:normal}}

.manifesto { padding: clamp(110px, 16vw, 220px) 0 clamp(90px, 12vw, 160px); }
.manifesto .eyebrow { margin-bottom: 40px; }
.manifesto__text {
  font-size: clamp(1.75rem, 4.1vw, 4.1rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -.035em;
  max-width: 22ch; text-wrap: pretty;
  max-width: 1200px;
}
.manifesto__text .w { display: inline-block; white-space: pre; }
.js:not(.no-anim) .manifesto__text .w { opacity: .4; }

.facts { margin-top: clamp(80px, 11vw, 150px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.fact { padding: 32px 32px 0 0; display: grid; gap: 14px; align-content: start; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact__num { font-size: clamp(3.4rem, 6.5vw, 6.2rem); font-weight: 400; line-height: 1; letter-spacing: -.06em; }
.fact__num small { font-size: .42em; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.fact__txt { color: var(--ink-2); max-width: 32ch; }
.fact__src { color: var(--ink-3); font-size: .66rem; }

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services { position: relative; padding: clamp(90px, 12vw, 160px) 0; isolation: isolate; }
.services__glow {
  --hue: 200;
  position: absolute; z-index: -1; inset: 10% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(circle, hsla(var(--hue), 90%, 70%, .10), transparent 60%);
  filter: blur(20px); pointer-events: none;
  transition: background 1s var(--ease-out);
}
.svc-list { border-bottom: 1px solid var(--line); }
.svc { border-top: 1px solid var(--line); position: relative; }
.svc__row {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 70px 1fr auto 40px; align-items: center; gap: 24px;
  padding: clamp(20px, 2.6vw, 34px) 0;
  position: relative;
}
.svc__row::before { /* faixa de luz que varre a linha */
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(156, 192, 255, .05) 50%, transparent);
  transform: scaleY(0); transition: transform .6s var(--ease-out);
}
.svc__num { color: var(--ink-3); transition: color .4s; }
.svc__name {
  font-size: clamp(2rem, 5.4vw, 5.2rem); font-weight: 500; letter-spacing: -.05em; line-height: 1;
  transition: transform .8s var(--ease-out), color .5s, opacity .5s;
}
.svc__tags { color: var(--ink-3); transition: color .4s, transform .8s var(--ease-out); }
.svc__plus { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .6s var(--ease-out), background-color .4s, border-color .4s; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .6s var(--ease-out), background-color .4s; }
.svc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc.is-open .svc__plus { transform: rotate(135deg); background: var(--ink); border-color: var(--ink); }
.svc.is-open .svc__plus::before, .svc.is-open .svc__plus::after { background: var(--bg); }

.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__body-in { overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-left: 94px; }
.svc__body-in p { max-width: 52ch; color: var(--ink-2); font-size: 1.08rem; padding-bottom: 32px; }
.svc__body-in .link-arrow { margin-bottom: 32px; flex: none; }

@media (hover: hover) and (min-width: 901px) {
  .svc-list:hover .svc:not(:hover) .svc__name { opacity: .78; }
  .svc:hover .svc__name { transform: translateX(8px); color: var(--ink); }
  .svc:hover .svc__num { color: var(--ink); }
  .svc:hover .svc__tags { color: var(--ink-2); transform: translateX(-12px); }
  .svc:hover .svc__row::before { transform: scaleY(1); }
}

/* =========================================================
   PROJETOS
   ========================================================= */
.work { position: relative; padding: clamp(60px, 8vw, 100px) 0; }
.work__pin { overflow: hidden; }
.work__track {
  display: flex; align-items: center; gap: clamp(28px, 4vw, 64px);
  padding-inline: var(--gutter);
  width: max-content; will-change: transform;
}
.work__intro { width: min(34vw, 480px); flex: none; display: grid; gap: 24px; }
.work__note { color: var(--ink-2); max-width: 40ch; }
.work__hint { color: var(--ink-3); }
.work__hint-mob { display: none; }
.work__end { flex: none; width: min(34vw, 460px); display: grid; gap: 32px; justify-items: start; }

.case { flex: none; width: min(60vw, 960px); display: grid; gap: 26px; }
.case__info { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: end; }
.case__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-3); }
.tag { padding: 2px 9px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--ink-2); }
.case__name { font-size: clamp(1.6rem, 2.6vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.case__desc { grid-column: 1; color: var(--ink-2); max-width: 52ch; }
.case .link-arrow { grid-column: 2; grid-row: 2 / span 2; align-self: end; }

.mock {
  --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: #11131c;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
}
.mock::after { /* reflexo */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .09), transparent 40%);
  opacity: 0; transition: opacity .6s;
}
.case:hover .mock::after { opacity: 1; }
.case:hover .mock { box-shadow: 0 24px 60px -34px rgba(19, 25, 21, .32); }
.mock__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #161925; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.mock__bar span { margin: 0 auto; transform: translateX(-20px); padding: 4px 14px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: var(--ink-3); font-family: var(--f-mono); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.mock__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; }

.work__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 20px; height: 1px; background: var(--line); }
.work__progress i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* =========================================================
   STACK (diferenciais)
   ========================================================= */
.stack-sec { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.stack-sec__pin { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; min-height: 100vh; }
.stack-sec__copy .sec-title { margin: 22px 0 44px; font-size: clamp(2rem, 3.9vw, 3.9rem); }
.layers { display: grid; }
.layer { display: grid; grid-template-columns: 50px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); transition: opacity .5s; }
.layer:last-child { border-bottom: 1px solid var(--line); }
.layer .mono { color: var(--ink-3); padding-top: 4px; transition: color .5s; }
.layer b { font-weight: 500; font-size: 1.12rem; letter-spacing: -.02em; }
.layer p { color: var(--ink-2); font-size: .95rem; display: grid; grid-template-rows: 0fr; overflow: hidden; max-height: 0; opacity: 0; transition: max-height .7s var(--ease-out), opacity .5s, margin .5s; }
.layer.is-active p { max-height: 80px; opacity: 1; margin-top: 4px; }
.layer.is-active .mono { color: var(--aurora); }
.js:not(.no-anim) .layer:not(.is-active) b { color: var(--ink-2); }

.stack-vis { position: relative; height: min(80vh, 640px); display: grid; place-items: center; perspective: 2200px; }
.stack-vis::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(156, 192, 255, .12), transparent 65%); filter: blur(30px); }
.stack { position: relative; width: min(30vw, 400px); aspect-ratio: 4 / 3; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.plate {
  position: absolute; inset: 0; border-radius: 18px;
  background: linear-gradient(140deg, rgb(26, 31, 49), rgb(12, 14, 24));
  border: 1px solid rgba(156, 192, 255, .2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .02) inset, -30px 40px 60px -20px rgba(0, 0, 0, .6);
  transition: border-color .5s, box-shadow .5s, background .5s;
}
.plate.is-active { border-color: rgba(156, 192, 255, .8); box-shadow: 0 0 50px -6px rgba(156, 192, 255, .45), 0 0 0 1px rgba(156, 192, 255, .3) inset; background: linear-gradient(140deg, rgba(22, 30, 46, .96), rgba(11, 14, 20, .97)); }
.plate__tag { position: absolute; left: 16px; top: 12px; font-size: .62rem; color: var(--ink-3); }
.plate.is-active .plate__tag { color: var(--aurora); }
.plate i { position: absolute; display: block; border-radius: 6px; }
.p1 .ui-h { left: 8%; top: 24%; width: 42%; height: 9%; background: rgba(238, 242, 251, .85); }
.p1 .ui-p { left: 8%; top: 38%; width: 34%; height: 4%; background: rgba(238, 242, 251, .25); box-shadow: 0 16px 0 rgba(238, 242, 251, .18); }
.p1 .ui-b { left: 8%; top: 64%; width: 22%; height: 9%; border-radius: 99px; background: var(--grad); }
.p1 .ui-img { right: 8%; top: 22%; width: 34%; height: 58%; border-radius: 12px; background: radial-gradient(circle at 35% 30%, #cfeaff, #4a62c4 60%, #1d2244); }
.p2 .phone { left: 22%; top: 18%; width: 20%; height: 66%; border-radius: 14px; border: 2px solid rgba(156, 192, 255, .55); }
.p2 .tablet { left: 50%; top: 24%; width: 30%; height: 54%; border-radius: 12px; border: 2px solid rgba(156, 192, 255, .35); }
.p3 .code { left: 10%; height: 5%; border-radius: 4px; background: linear-gradient(90deg, var(--accent) 0 14%, transparent 14% 18%, rgba(156, 192, 255, .45) 18%); }
.p3 .code:nth-of-type(1) { top: 26%; width: 62%; }
.p3 .code:nth-of-type(2) { top: 40%; width: 48%; left: 18%; }
.p3 .code:nth-of-type(3) { top: 54%; width: 36%; left: 18%; }
.p3 .code:nth-of-type(4) { top: 68%; width: 54%; }
.p4 .search { left: 10%; top: 24%; width: 80%; height: 12%; border-radius: 99px; border: 1px solid rgba(156, 192, 255, .4); }
.p4 .res { left: 10%; top: 46%; width: 56%; height: 5%; background: rgba(156, 192, 255, .55); }
.p4 .res.s { top: 58%; width: 40%; background: rgba(156, 192, 255, .22); }
.p4 .wa { right: 10%; bottom: 12%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: var(--wa); box-shadow: 0 0 24px rgba(62, 224, 143, .5); }
.p5 .lock { left: 12%; top: 30%; width: 16%; height: 30%; border-radius: 6px; background: var(--aurora); }
.p5 .lock::before { content: ""; position: absolute; left: 20%; right: 20%; top: -40%; height: 50%; border: 3px solid var(--aurora); border-bottom: 0; border-radius: 99px 99px 0 0; }
.p5 .srv { left: 40%; width: 48%; height: 13%; border-radius: 6px; border: 1px solid rgba(156, 192, 255, .35); background: linear-gradient(90deg, transparent 80%, rgba(156, 192, 255, .7) 80% 84%, transparent 84%); }
.p5 .srv:nth-of-type(2) { top: 24%; } .p5 .srv:nth-of-type(3) { top: 42%; } .p5 .srv:nth-of-type(4) { top: 60%; }
.p6 .hb { left: 8%; right: 8%; top: 40%; height: 26%; border-radius: 0; background: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath d='M0 20h60l8-14 10 28 10-28 8 14h104' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath d='M0 20h60l8-14 10 28 10-28 8 14h104' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  background-color: var(--aurora);
}

/* =========================================================
   PROCESSO
   ========================================================= */
.process { padding: clamp(90px, 12vw, 160px) 0; }
.process__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6vw; align-items: start; }
.process__aside { position: sticky; top: 18vh; display: grid; gap: 22px; }
.process__counter { display: flex; align-items: flex-start; gap: 14px; margin-top: 30px; }
.process__big { display: block; height: 1em; overflow: hidden; font-size: clamp(6rem, 15vw, 15rem); line-height: 1; font-weight: 400; letter-spacing: -.07em; }
.process__digits { display: flex; flex-direction: column; transition: transform .9s var(--ease-out); }
.process__digits b { height: 1em; font-weight: 400; color: var(--ink); }
.process__of { color: var(--ink-3); padding-top: 1.2em; }

.steps { position: relative; display: grid; gap: clamp(60px, 10vh, 120px); padding: 8vh 0 8vh 56px; }
.steps__line { position: absolute; left: 11px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ice), var(--aurora)); transform: scaleY(0); transform-origin: top; box-shadow: 0 0 12px var(--aurora); }
.step { position: relative; display: grid; gap: 10px; max-width: 520px; }
.step__dot { position: absolute; left: -51px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.step.is-on .step__dot { background: var(--aurora); border-color: var(--aurora); box-shadow: 0 0 0 6px rgba(156, 192, 255, .12), 0 0 20px var(--aurora); }
.step__num { color: var(--ink-3); }
.step h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.step p:not(.mono) { color: var(--ink-2); font-size: 1.08rem; }
.step__out { color: var(--aurora); margin-top: 6px; }

/* =========================================================
   QUALIDADE
   ========================================================= */
.quality { padding: clamp(90px, 12vw, 160px) 0 0; }
.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gauge { position: relative; display: grid; justify-items: center; gap: 18px; padding: 36px 20px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); transition: border-color .5s, transform .8s var(--ease-out); }
.gauge:hover { border-color: rgba(156, 192, 255, .35); transform: translateY(-6px); }
.gauge svg { width: min(150px, 100%); transform: rotate(-90deg); }
.gauge circle { fill: none; stroke: var(--line); stroke-width: 5; }
.gauge .gauge__arc { stroke: var(--aurora); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; filter: drop-shadow(0 0 6px rgba(156, 192, 255, .6)); }
.gauge__val { position: absolute; top: calc(36px + min(150px, 100%) / 2); left: 50%; transform: translate(-50%, -50%); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 400; letter-spacing: -.05em; }
.gauge span { color: var(--ink-2); font-size: .95rem; }
.gauges__note { margin-top: 18px; color: var(--ink-3); font-size: .64rem; text-transform: none; letter-spacing: .02em; }

.marquee { margin-top: clamp(80px, 10vw, 140px); border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li { padding: 0 34px; font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 400; letter-spacing: -.03em; color: var(--ink-3); display: flex; align-items: center; gap: 68px; white-space: nowrap; transition: color .4s; }
.marquee li::after { content: "✦"; font-size: .5em; color: var(--ink-3); opacity: .5; margin-right: -34px; }
.marquee li:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; padding: clamp(120px, 18vw, 240px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.cta__orb {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: min(110vw, 1100px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 38% 44%, rgba(156, 192, 255, .17), transparent 38%),
    radial-gradient(circle at 62% 56%, rgba(156, 192, 255, .17), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(156, 192, 255, .08), transparent 50%);
  border-radius: 50%; filter: blur(40px); opacity: .9;
  animation: spin 24s linear infinite;
}
.cta__eyebrow { margin-bottom: 30px; justify-content: center; }
.cta__title { font-size: clamp(2.3rem, 6vw, 6.2rem); font-weight: 500; line-height: .98; letter-spacing: -.05em; max-width: 17ch; margin: 0 auto; text-wrap: balance; }
.cta__title em { display: block; margin-top: .14em; }
.cta__actions { margin-top: 56px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px; }

.wa-card {
  display: inline-flex; align-items: center; gap: 14px; height: 76px; padding: 0 28px 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(10px);
  text-align: left; transition: border-color .5s, background-color .5s;
}
.wa-card:hover { border-color: rgba(62, 224, 143, .55); background: rgba(62, 224, 143, .06); }
.wa-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(62, 224, 143, .12); color: var(--wa); transition: background-color .5s, color .5s, transform .8s var(--ease-out); }
.wa-card:hover .wa-card__icon { background: var(--wa); color: var(--bg); transform: rotate(-12deg) scale(1.05); }
.wa-card__icon svg { width: 24px; height: 24px; fill: currentColor; }
.wa-card__txt { display: grid; gap: 2px; }
.wa-card__txt b { font-weight: 500; }
.wa-card__txt small { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: .8rem; }
.wa-card .pulse-dot { background: var(--wa); box-shadow: 0 0 10px var(--wa); }

/* =========================================================
   FORMULÁRIO
   ========================================================= */
.quote { padding: clamp(90px, 12vw, 160px) 0; scroll-margin-top: 20px; }
.quote__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6vw; align-items: start; }
.quote__aside { display: grid; gap: 24px; position: sticky; top: 16vh; }
.quote__promises { display: grid; gap: 12px; margin-top: 12px; }
.quote__promises li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.quote__promises li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(156, 192, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%237dffd0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

.form {
  position: relative; padding: clamp(28px, 4vw, 52px); border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8);
  min-height: 520px; display: flex; flex-direction: column;
  overflow: hidden;
}
.form::before { content: ""; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, var(--aurora), transparent); }
.form__progress { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.form__progress i { display: block; height: 100%; width: 25%; background: var(--grad); transition: width .8s var(--ease-out); }
.form__count { margin: 16px 0 34px; color: var(--ink-3); }
.form__step { display: none; flex: 1; }
.form__step.is-active { display: block; animation: stepIn .8s var(--ease-out); }
.form__step.is-back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(40px); filter: blur(6px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-40px); filter: blur(6px); } }
.form legend { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); background: rgba(255, 255, 255, .02);
  transition: color .3s, background-color .4s, border-color .4s, transform .5s var(--ease-back);
}
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--ink-3); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.chip:hover span { border-color: var(--ink-2); color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: scale(1.03); }
.chip input:checked + span::before { background: var(--bg); border-color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px;
  border: 1px solid var(--line-2); background: rgba(5, 6, 11, .5); color: var(--ink);
  font: inherit; font-size: 1rem; resize: vertical;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 170px; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--ink-3); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease-out), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ice); background: rgba(5, 6, 11, .8); box-shadow: 0 0 0 4px rgba(156, 192, 255, .1); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--ink-2); }
.field input[aria-invalid="true"] { border-color: #ff8a8a; }
.form__hint { margin-top: 12px; color: var(--ink-3); font-size: .66rem; }
.form__err { margin-top: 14px; color: #ff9b9b; font-size: .9rem; min-height: 1.4em; }

.form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; }
.form__nav .form__next, .form__nav .form__submit { margin-left: auto; }
.form__done { flex: 1; display: grid; align-content: center; justify-items: start; gap: 16px; animation: stepIn .9s var(--ease-out); }
.form__done[hidden] { display: none; }
.form__done svg { width: 48px; height: 48px; color: var(--aurora); filter: drop-shadow(0 0 16px var(--aurora)); animation: spin 8s linear infinite; }
.form__done h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.form__done p { color: var(--ink-2); }
.form__done a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 0 0 clamp(90px, 12vw, 160px); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6vw; }
.faq__grid .sec-title { margin-top: 22px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: -.02em; cursor: pointer;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ice); }
.qa summary i { position: relative; flex: none; width: 16px; height: 16px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .6s var(--ease-out); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa[open] summary i::before { transform: rotate(180deg); }
.qa__a { padding: 0 48px 28px 0; color: var(--ink-2); }
.qa[open] .qa__a { animation: qa .7s var(--ease-out); }
@keyframes qa { from { opacity: 0; transform: translateY(-10px); } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; padding: 90px 0 28px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.footer__claim { font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols > * { display: grid; gap: 10px; align-content: start; color: var(--ink-2); }
.footer__cols .mono { color: var(--ink-3); margin-bottom: 6px; }
.footer__cols a { transition: color .3s; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.footer__cols a:hover { color: var(--ink); }
.footer__bottom { margin-top: 28px; padding-right: 84px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); }
.footer__top-link:hover { color: var(--ink); }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; gap: 0; height: 60px; padding: 4px; border-radius: 999px;
  background: rgba(14, 17, 27, .82); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .8);
  transform: translateY(140%); transition: transform .9s var(--ease-out), border-color .4s, gap .6s var(--ease-out);
}
.wa-float.is-visible { transform: none; }
.wa-float__icon { position: relative; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--bg); background: var(--wa); flex: none; }
.wa-float__icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--wa); opacity: .6; animation: ring 2.6s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(.9); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }
.wa-float__icon svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float__txt { display: grid; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .7s var(--ease-out), padding .7s var(--ease-out); }
.wa-float__txt b { font-weight: 500; font-size: .92rem; }
.wa-float__txt small { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: .72rem; }
.wa-float__txt .pulse-dot { width: 6px; height: 6px; background: var(--wa); box-shadow: 0 0 8px var(--wa); }
@media (hover: hover) {
  .wa-float:hover, .wa-float:focus-visible { border-color: rgba(62, 224, 143, .5); }
  .wa-float:hover .wa-float__txt, .wa-float:focus-visible .wa-float__txt { max-width: 200px; padding: 0 20px 0 14px; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links { gap: 24px; }
  .gauges { grid-template-columns: repeat(2, 1fr); }
  .stack { width: min(36vw, 360px); }
}

@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero { justify-content: flex-end; }
  .hero__vignette { background: linear-gradient(to top, var(--bg) 8%, rgba(5, 6, 11, .55) 52%, rgba(5, 6, 11, .1) 100%); }
  .hero__title { max-width: none; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__meta { flex-direction: column; align-items: flex-start; }
  .hero__facts { flex-direction: column; gap: 8px; }
  .hero__scroll { display: none; }
  .hero__coords { display: none; }

  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }

  .sec-head--split { grid-template-columns: 1fr; }

  .svc__row { grid-template-columns: 34px 1fr 36px; gap: 14px; }
  .svc__tags { display: none; }
  .svc__plus { width: 36px; height: 36px; }
  .svc__body-in { padding-left: 48px; flex-direction: column; align-items: flex-start; gap: 0; }
  .svc__body-in p { padding-bottom: 14px; }

  /* Portfólio vira carrossel nativo com snap */
  .work__pin { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .work__pin::-webkit-scrollbar { display: none; }
  .work__track { align-items: start; gap: 18px; padding-bottom: 8px; }
  .work__intro { width: calc(100vw - var(--gutter) * 2); scroll-snap-align: start; padding-right: 8px; }
  .work__hint-desk { display: none; }
  .work__hint-mob { display: inline; }
  .case { width: 84vw; scroll-snap-align: center; }
  .case__info { grid-template-columns: 1fr; }
  .case .link-arrow { grid-column: 1; grid-row: auto; justify-self: start; }
  .work__end { width: 78vw; scroll-snap-align: center; align-self: center; }
  .work__progress { display: none; }
  .mock { transform: none !important; }
  .mock__shot { animation: mockScroll 9s var(--ease-io) infinite alternate; }
  .case:hover .mock__shot, .case:focus-within .mock__shot { transform: none; }
  @keyframes mockScroll { 0%, 15% { transform: none; } 85%, 100% { transform: translateY(var(--shift, -40cqw)); } }

  .stack-sec__pin { grid-template-columns: 1fr; min-height: 0; gap: 20px; }
  .stack-vis { order: -1; height: 76vw; max-height: 460px; }
  .stack { width: 48vw; max-width: 320px; }
  .layer p { max-height: none; opacity: 1; margin-top: 4px; }
  .js:not(.no-anim) .layer:not(.is-active) b { color: var(--ink); }

  .process__grid { grid-template-columns: 1fr; }
  .process__aside { position: static; }
  .process__counter { display: none; }
  .steps { padding: 30px 0 0 44px; gap: 56px; }
  .step__dot { left: -39px; }

  .quote__grid, .faq__grid, .footer__top { grid-template-columns: 1fr; }
  .quote__aside { position: static; }
  .form { min-height: 0; border-radius: 20px; }

  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .btn--lg { --h: 56px; padding: 0 22px; }
  .btn--xl { --h: 64px; padding: 0 28px; font-size: 1.05rem; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .wa-card { height: 68px; }
  .gauges { gap: 12px; }
  .gauge { padding: 24px 12px 20px; }
  .gauge__val { top: calc(24px + min(150px, 100%) / 2); }
  .fields { grid-template-columns: 1fr; }
  .chip span { padding: 12px 16px; font-size: .95rem; }
  .form__nav { flex-direction: column-reverse; }
  .form__nav .btn { width: 100%; margin-left: 0; }
  .footer__cols { grid-template-columns: 1fr; }
  .marquee li { padding: 0 22px; gap: 44px; }
  .marquee li::after { margin-right: -22px; }
}

/* =========================================================
   MOVIMENTO REDUZIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .mock__shot { animation: none !important; }
}

/* Hero editorial inspirado na nova referência. */
.hero { min-height: min(790px, 100svh); padding: calc(var(--nav-h) + 20px) var(--gutter) 24px; justify-content: center; background: var(--bg); }
.hero__vignette { display: none; }
.hero__content { width: 100%; max-width: 1420px; min-height: 0; margin-inline: auto; padding: 0; display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows: auto auto auto auto; align-content: center; align-items: center; gap: 0 clamp(30px,5vw,76px); }
.hero__eyebrow { grid-area: 1 / 1; margin: 0 0 18px; }
.hero__title { grid-area: 2 / 1; max-width: none; font-size: clamp(3rem,5.2vw,5.7rem); line-height: .98; letter-spacing: -.045em; font-weight: 500; text-transform: none; }
.hero__title .line { overflow: hidden; padding: .04em 0; margin: -.04em 0; }
.hero__title .line__in { display: inline-block; }
.hero__title .line:nth-child(2) { max-width: none; }
.hero__accent { color: var(--ink-3); }
.hero__sub { grid-area: 3 / 1; max-width: 44ch; margin-top: 22px; color: var(--ink-2); font-size: 1.02rem; }
.hero__ctas { grid-area: 4 / 1; margin-top: 26px; }
.hero__showcase { grid-area: 1 / 2 / 5 / 3; position: relative; inset: auto; width: 100%; height: auto; min-width: 0; transform: none; display: grid; grid-template-rows: auto 1fr auto; gap: 11px; color: var(--ink); perspective: none; }
.showcase__label { display: flex; justify-content: space-between; font: 10px var(--f-mono); letter-spacing: .09em; color: var(--ink-3); }
.showcase__label i { font-style: normal; }
.showcase__image { display: block; aspect-ratio: 1.28; overflow: hidden; border-radius: 14px; background: #c9d6d1; box-shadow: 0 24px 60px -38px rgba(24,35,29,.38); }
.showcase__image svg { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.hero__showcase:hover .showcase__image svg { transform: scale(1.025); }
.showcase__caption { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 1px; }
.showcase__caption b { font-size: 14px; letter-spacing: .08em; }
.showcase__caption small { color: var(--ink-2); font-size: 12px; }
.showcase__arrow { grid-area: 1 / 2 / 3 / 3; align-self: center; font-size: 21px; }
.showcase__phone { position: absolute; right: 8%; bottom: 16%; width: clamp(142px,16vw,205px); padding: 22px 17px 18px; display: grid; gap: 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(17,21,29,.92); color: var(--ink); box-shadow: 0 22px 48px rgba(24,35,29,.24); backdrop-filter: blur(8px); transform: rotate(2deg); }
.showcase__phone i { width: 28px; height: 3px; justify-self: center; border-radius: 9px; background: rgba(255,255,255,.45); }
.showcase__phone b { font-size: 12px; letter-spacing: .1em; }
.showcase__phone span { font-size: clamp(1rem,1.4vw,1.25rem); line-height: 1.08; letter-spacing: -.04em; }
.showcase__phone em { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.24); font-size: 9px; font-style: normal; }
.hero__meta { width: 100%; max-width: 1420px; margin: 18px auto 0; padding: 14px 0 0; border-color: var(--line); }
.hero__facts { display: flex; gap: 10px 28px; color: var(--ink-2); }
.hero__scroll { display: none; }
.mock-link { display: block; border-radius: 14px; }
.mock-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.mock { border-radius: 14px; box-shadow: 0 16px 42px -30px rgba(19,25,21,.34); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.case:hover .mock-link .mock { transform: translateY(-4px); }
.case__info { grid-template-columns: minmax(0,1fr) auto; gap: 9px 22px; }
.case__demo { grid-column: 2; grid-row: 2; align-self: end; justify-self: start; display: inline-flex; gap: 9px; align-items: center; padding: 11px 15px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 12px; font-weight: 550; transition: background .25s, color .25s, border-color .25s; }
.case .link-arrow { grid-column: 1; grid-row: auto; justify-self: start; }
.case__demo:hover, .case__demo:focus-visible { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.case__desc { max-width: 42ch; }
.svc-list:hover .svc:not(:hover) .svc__name { opacity: .82; }
.svc:hover .svc__name { transform: translateX(8px); color: var(--ink); }
.footer__claim { margin-bottom: 0; }
@media (max-width: 760px) {
  .hero { min-height: auto; padding: calc(var(--nav-h) + 32px) var(--gutter) 20px; }
  .hero__content { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto; gap: 0; }
  .hero__eyebrow { grid-area: 1 / 1; }
  .hero__title { grid-area: 2 / 1; max-width: 11ch; font-size: clamp(2.85rem,10.8vw,4.5rem); }
  .hero__sub { grid-area: 3 / 1; margin-top: 16px; }
  .hero__ctas { grid-area: 4 / 1; margin-top: 20px; }
  .hero__showcase { grid-area: 5 / 1; margin-top: 34px; }
  .showcase__image { aspect-ratio: 1.15; }
  .showcase__phone { right: 6%; bottom: 18%; width: 150px; padding: 17px 13px; }
  .hero__meta { margin-top: 20px; }
  .hero__facts { display: grid; gap: 6px; }
  .case__info { grid-template-columns: 1fr; }
  .case__demo { grid-column: 1; grid-row: auto; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .mock { transition: none; } }

/* Refinos de acessibilidade do tema unificado */
.manifesto__text em { color: inherit; }
.footer__top-link { display: inline-flex; align-items: center; min-height: 32px; padding-inline: 4px; }
.process-ribbon ol:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
@media (max-width: 1100px) { .process-ribbon { display: none; } }

/* Cards do portfólio: captura da página real, rola no hover */
.mock__shot { display: block; width: 100%; height: auto; transition: transform 3.2s var(--ease-io); }
.case:hover .mock__shot, .case:focus-within .mock__shot { transform: translateY(var(--shift, -40%)); }

/* Hero: navegador + celular mostrando os projetos conceituais reais */
.hero__showcase { gap: 14px; color: var(--ink); text-decoration: none; }
.showcase__label { display: flex; justify-content: space-between; font: 500 .85rem var(--f-sans); color: var(--ink-3); letter-spacing: 0; text-transform: none; }
.showcase__label i { font: 500 .8rem var(--f-mono); font-style: normal; }
.showcase__label b { color: var(--ink); font-weight: 500; }
.showcase__stage { position: relative; display: block; aspect-ratio: 16 / 11.4; }
.showcase__stage::before { content: ""; position: absolute; inset: 8% 6% -4% 10%; background: radial-gradient(closest-side, var(--accent-soft), transparent); filter: blur(30px); z-index: -1; }
.sc-browser { position: absolute; left: 0; top: 0; width: 88%; border-radius: 14px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line-2); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .95); transition: transform .9s var(--ease-out); }
.sc-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #151a24; border-bottom: 1px solid var(--line); }
.sc-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(233, 237, 243, .16); }
.sc-url { margin: 0 auto; transform: translateX(-12px); padding: 2px 12px; border-radius: 6px; background: rgba(233, 237, 243, .05); color: var(--ink-3); font: 11px var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.sc-screens { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.sc-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease-out), transform 1.4s var(--ease-out); }
.sc-screens img.is-on { opacity: 1; transform: none; }
.sc-phone { position: absolute; right: 0; bottom: 0; width: 25%; padding: 6px; border-radius: 30px; background: #0c0f15; border: 1px solid var(--line-2); box-shadow: -24px 30px 60px -20px rgba(0, 0, 0, .9); transition: transform .9s var(--ease-out); }
.sc-phone .sc-screens { aspect-ratio: 390 / 844; border-radius: 24px; }
.hero__showcase:hover .sc-browser { transform: translateY(-6px); }
.hero__showcase:hover .sc-phone { transform: translateY(-12px) rotate(-1deg); }
.showcase__caption { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.showcase__caption b { font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; }
.showcase__caption small { color: var(--ink-3); font-size: .9rem; }
.showcase__arrow { grid-area: 1 / 2 / 3 / 3; align-self: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.hero__showcase:hover .showcase__arrow { background: var(--ink); color: var(--bg); }
.hero__showcase:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; border-radius: 16px; }
@media (max-width: 760px) { .showcase__stage { aspect-ratio: 16 / 12.5; } .sc-browser { width: 90%; } .sc-phone { width: 28%; border-radius: 22px; padding: 4px; } .sc-phone .sc-screens { border-radius: 18px; } .sc-bar { height: 24px; } }
@media (prefers-reduced-motion: reduce) { .sc-screens img, .sc-browser, .sc-phone, .mock__shot { transition: none; } }

/* SEO: links internos para as páginas de serviço */
.footer__cols { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.svc__body-in { flex-wrap: wrap; column-gap: 28px; }
.svc__body-in p { flex: 1 1 100%; }
.svc__body-in .link-arrow { margin-bottom: 32px; }
.svc__more { color: var(--accent); }
