/* =========================================================
   ENGK Soluções — tokens
   Marca: azul-marinho #001436 · azul elétrico #0061CB · aço #6C6C6C
   ========================================================= */
:root {
  --navy: #001436;
  --blue: #0061CB;
  --blue-2: #2F86FF;
  --steel: #6C6C6C;

  --bg: #F5F7FA;
  --bg-alt: #EBEFF5;
  --surface: #FFFFFF;
  --surface-2: #F8FAFD;
  --ink: #001436;
  --ink-2: #33415C;
  --muted: #66728A;
  --line: rgba(0, 20, 54, .10);
  --line-strong: rgba(0, 20, 54, .18);
  --brand: #0061CB;
  --brand-ink: #FFFFFF;
  --grid-line: rgba(0, 20, 54, .06);
  --glow: rgba(0, 97, 203, .18);
  --key: #FFFFFF;
  --key-depth: #CCD5E2;
  --key-ink: #001436;
  --wire: rgba(0, 20, 54, .14);
  --pulse: #0061CB;
  --grad: linear-gradient(95deg, #001436 0%, #0A3C8C 45%, #0061CB 80%, #2F86FF 100%);
  --shadow: 0 1px 2px rgba(0, 20, 54, .05), 0 12px 32px -12px rgba(0, 20, 54, .16);
  --word-dim: rgba(0, 20, 54, .16);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "Montserrat", "Archivo", system-ui, sans-serif;
  --radius: 20px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 76px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #08090B;
  --bg-alt: #0E0F12;
  --surface: #141518;
  --surface-2: #1B1C20;
  --ink: #F2F3F5;
  --ink-2: #B4B7BE;
  --muted: #80848D;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --brand: #2F86FF;
  --brand-ink: #FFFFFF;
  --grid-line: rgba(255, 255, 255, .045);
  --glow: rgba(47, 134, 255, .22);
  --key: #17181C;
  --key-depth: #000;
  --key-ink: #F2F3F5;
  --wire: rgba(255, 255, 255, .13);
  --pulse: #5AA2FF;
  --grad: linear-gradient(95deg, #FFFFFF 0%, #CFE2FF 35%, #6FAEFF 70%, #2F86FF 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -16px rgba(0, 0, 0, .6);
  --word-dim: rgba(242, 243, 245, .14);
  color-scheme: dark;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.center { display: flex; justify-content: center; margin-top: 56px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

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

/* logos por tema */
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }

/* tipografia */
.grad {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 9s ease-in-out infinite alternate;
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.eyebrow {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--center { display: flex; justify-content: center; margin: 72px 0 28px; }

.h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* botões */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--brand); color: var(--brand-ink);
  box-shadow: 0 0 0 0 var(--glow), 0 10px 24px -10px rgba(0, 97, 203, .7), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px var(--glow), 0 14px 30px -10px rgba(0, 97, 203, .8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* reveal (estilo Specify: sobe + desfoca) */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); transition: background-color .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.nav__inner { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 50px; width: auto; }
.nav__links { display: flex; gap: 30px; margin: 0 auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.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); }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .4s var(--ease); }
.theme-toggle:hover { border-color: var(--brand); transform: rotate(-20deg); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; grid-area: 1 / 1; transition: opacity .35s, transform .5s var(--ease); }
.i-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"] .i-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-theme="dark"] .i-moon { opacity: 1; transform: none; }

.nav__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 50%; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 96px; overflow: hidden; isolation: isolate; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; z-index: -1; width: 900px; height: 600px; left: 50%; top: 340px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .55; transform: translateX(-50%) scale(1.08); } }

.hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); box-shadow: var(--shadow); transition: border-color .25s; }
.pill:hover { border-color: var(--brand); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--glow); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--glow); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.pill__arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.pill__arrow svg { width: 12px; height: 12px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; }

.hero__title { margin-top: 28px; font-size: clamp(34px, 4.7vw, 64px); line-height: 1.04; font-weight: 800; font-stretch: 112%; letter-spacing: -.035em; max-width: 1180px; text-wrap: balance; }
.hero__title > span { display: block; }
.hero__title-sub { font-style: italic; font-weight: 800; color: var(--ink); margin-top: .08em; }
.hero__lead { margin-top: 26px; max-width: 720px; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }

.trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; font-size: 14.5px; color: var(--muted); text-align: left; }
.trust li { display: flex; align-items: center; gap: 12px; max-width: 380px; }
.trust strong { color: var(--ink); font-weight: 600; }
.trust__icon { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; }
.trust__icon svg { width: 19px; height: 19px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Pipeline (inspirado no hero do Specify) ---------- */
.flow { margin-top: 80px; display: grid; grid-template-columns: 172px minmax(70px, 1fr) 210px minmax(60px, .8fr) 320px; align-items: center; height: 400px; }
.flow__inputs { display: grid; grid-template-rows: repeat(4, 1fr); height: 100%; align-items: center; }
.key {
  --depth: 7px;
  position: relative; height: 76px; border-radius: 18px;
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: var(--key); color: var(--key-ink);
  border: 1px solid var(--line);
  box-shadow: 0 var(--depth) 0 var(--key-depth), 0 calc(var(--depth) + 14px) 24px -10px rgba(0, 20, 54, .35);
  font-weight: 600; font-size: 15px;
  animation: press 2.8s var(--ease) infinite; animation-delay: calc(var(--i) * .7s);
}
.key svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes press {
  0%, 14%, 100% { transform: translateY(0); box-shadow: 0 var(--depth) 0 var(--key-depth), 0 calc(var(--depth) + 14px) 24px -10px rgba(0, 20, 54, .35); }
  5% { transform: translateY(5px); box-shadow: 0 2px 0 var(--key-depth), 0 6px 14px -8px rgba(0, 20, 54, .35); border-color: var(--brand); }
}

.flow__wire { height: 100%; position: relative; }
.flow__wire svg { width: 100%; height: 100%; overflow: visible; }
.wire-v { display: none !important; }
.wire, .pulse { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.wire { stroke: var(--wire); stroke-width: 2; }
.pulse {
  stroke: var(--pulse); stroke-width: 3;
  stroke-dasharray: 0.12 1; stroke-dashoffset: 0.12;
  filter: drop-shadow(0 0 6px var(--pulse));
  animation: travel 2.8s linear infinite; animation-delay: calc(var(--i) * .7s + .12s);
  opacity: 0;
}
/* pathLength normalizado via JS (pathLength="1") */
@keyframes travel {
  0% { stroke-dashoffset: .12; opacity: 1; }
  42% { stroke-dashoffset: -1; opacity: 1; }
  43%, 100% { stroke-dashoffset: -1; opacity: 0; }
}
.pulse--out { animation: travelOut 1.4s linear infinite; animation-delay: .4s; stroke-dasharray: .25 1; }
@keyframes travelOut { 0% { stroke-dashoffset: .25; opacity: 1; } 80% { stroke-dashoffset: -1; opacity: 1; } 81%, 100% { opacity: 0; stroke-dashoffset: -1; } }

.flow__hub { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hub { position: relative; width: 190px; height: 190px; border-radius: 34px; }
.hub__ring { position: absolute; inset: -2px; border-radius: 36px; background: conic-gradient(from var(--a, 0deg), transparent 0 55%, var(--pulse) 75%, transparent 90%); animation: spin 4s linear infinite; filter: blur(.5px); }
.hub__ring::after { content: ""; position: absolute; inset: -18px; border-radius: 50px; background: radial-gradient(closest-side, var(--glow), transparent); z-index: -1; animation: breathe2 2.8s ease-in-out infinite; }
@keyframes breathe2 { 50% { opacity: .35; } }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.hub__face {
  position: absolute; inset: 2px; border-radius: 32px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line);
  box-shadow: 0 10px 0 var(--key-depth), 0 30px 50px -20px rgba(0, 20, 54, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.hub__face img { width: 118px; height: auto; }
.hub__face strong { font-size: 30px; font-weight: 900; font-style: italic; font-stretch: 125%; letter-spacing: -.02em; line-height: 1; color: var(--ink); }
.hub__caption { font-family: var(--font-label); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.result { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.result__head { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.result__shed { width: 76px; flex: none; }
.result__shed path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.result__shed .shed-roof { stroke: var(--brand); }
.result__shed .shed-lines { stroke-width: 1.5; opacity: .5; }
.shed-light { fill: var(--pulse); animation: blink 2.8s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .4s); }
@keyframes blink { 0%, 100% { opacity: .25; } 40%, 60% { opacity: 1; } }
.result__title { font-weight: 700; font-size: 17px; line-height: 1.25; }
.result__sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.result__list { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.result__list li { display: flex; gap: 10px; align-items: center; }
.tick { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); flex: none; position: relative; animation: tickBox 5.6s var(--ease) infinite; animation-delay: calc(var(--i) * .7s); }
.tick::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); animation: tickMark 5.6s var(--ease) infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes tickBox { 0%, 8% { background: transparent; border-color: var(--line-strong); } 14%, 88% { background: var(--brand); border-color: var(--brand); } 96%, 100% { background: transparent; border-color: var(--line-strong); } }
@keyframes tickMark { 0%, 8% { transform: rotate(45deg) scale(0); } 16%, 88% { transform: rotate(45deg) scale(1); } 96%, 100% { transform: rotate(45deg) scale(0); } }
.result__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #1FB57A; box-shadow: 0 0 0 0 rgba(31, 181, 122, .5); animation: pingGreen 2s ease-out infinite; }
@keyframes pingGreen { 70%, 100% { box-shadow: 0 0 0 7px rgba(31, 181, 122, 0); } }
.result__terms { font-weight: 700; color: var(--brand); background: var(--glow); padding: 4px 10px; border-radius: 999px; }

/* =========================================================
   INTRO (texto revelado por palavra no scroll)
   ========================================================= */
.intro { padding: 72px 0 120px; }
.intro__text { font-size: clamp(26px, 3.6vw, 46px); line-height: 1.18; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; max-width: 1050px; text-wrap: pretty; }
.intro__text .w { color: var(--word-dim); transition: color .35s ease; }
.intro__text .w.on { color: var(--ink); }
.intro__text .w.hl.on { color: var(--brand); }

.stats { margin-top: 84px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(44px, 5.4vw, 72px); font-weight: 800; font-stretch: 118%; letter-spacing: -.04em; line-height: 1; display: flex; align-items: baseline; gap: 2px; }
.stat__num small { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--brand); margin-left: 10px; font-stretch: 100%; }
.stat__label { margin-top: 14px; color: var(--muted); font-size: 15.5px; max-width: 280px; }

/* =========================================================
   SERVIÇOS (sticky scroll)
   ========================================================= */
.services { padding: 120px 0; background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 820px; margin-bottom: 64px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.45fr 1fr; gap: 64px; align-items: end; }
.section-head__text { color: var(--ink-2); font-size: 18px; }

.services__layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { position: relative; padding: 0 0 0 32px; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .5s var(--ease); }
.svc.is-active { opacity: 1; }
.svc__bar { position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; background: var(--line-strong); border-radius: 3px; overflow: hidden; }
.svc__bar span { position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(var(--p, 0)); }
.svc__num { font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--brand); }
.svc__title { margin-top: 12px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
.svc__text { margin-top: 16px; color: var(--ink-2); font-size: 17.5px; max-width: 480px; }
.svc__visual-mobile { display: none; }

.svc-stage { position: relative; }
.svc-stage__frame { position: sticky; top: calc(50vh - 230px); height: 460px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.svc-stage__frame::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 32px 32px; }

.viz { position: absolute; inset: 0; margin: 0; padding: 28px 28px 64px; opacity: 0; transform: scale(.96) translateY(14px); transition: opacity .6s var(--ease), transform .7s var(--ease); pointer-events: none; }
.viz.is-active { opacity: 1; transform: none; }
.viz svg { width: 100%; height: 100%; }
.viz figcaption { position: absolute; left: 28px; right: 28px; bottom: 22px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.viz figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; }

/* viz – estilos comuns */
.viz svg * { vector-effect: non-scaling-stroke; }
.viz-panel, .viz-card { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.5; }
.viz-inner { fill: var(--bg-alt); stroke: var(--line); }
.viz-breakers rect { fill: var(--surface); stroke: var(--ink); stroke-width: 1.4; }
.viz-bolt { fill: var(--brand); }
.viz-wire { fill: none; stroke: var(--wire); stroke-width: 3; stroke-linejoin: round; }
.viz-flow { fill: none; stroke: var(--pulse); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: .14 1; stroke-dashoffset: .14; filter: drop-shadow(0 0 5px var(--pulse)); }
.viz.is-active .viz-flow { animation: travel 2.4s linear infinite; animation-delay: calc(var(--i, 0) * .5s); }
.viz-node rect { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.viz-node circle { fill: var(--line-strong); }
.viz.is-active .viz-node circle { animation: nodeOn 2.4s ease infinite; animation-delay: calc(var(--i, 0) * .5s + .9s); }
@keyframes nodeOn { 0%, 100% { fill: var(--line-strong); } 10%, 50% { fill: var(--pulse); } }

.viz-ground { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 6 8; fill: none; }
.viz-wall, .viz-roof, .viz-truss { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.viz-wall { stroke: var(--ink); stroke-width: 3; }
.viz-roof { stroke: var(--brand); stroke-width: 4; }
.viz-truss { stroke: var(--muted); stroke-width: 1.5; }
.viz-gate { fill: var(--bg-alt); stroke: var(--ink); stroke-width: 2; }
.viz-gate-lines { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.viz-win { fill: var(--glow); stroke: var(--ink); stroke-width: 1.5; }
.viz-bricks rect { fill: var(--brand); opacity: 0; }
.viz-measure { stroke: var(--brand); stroke-width: 1.5; fill: none; }
.viz[data-viz="1"] .viz-wall, .viz[data-viz="1"] .viz-roof, .viz[data-viz="1"] .viz-truss, .viz[data-viz="1"] .viz-measure { stroke-dasharray: 1; stroke-dashoffset: 1; }
.viz[data-viz="1"].is-active .viz-wall { animation: draw 1.4s var(--ease) forwards .1s; }
.viz[data-viz="1"].is-active .viz-roof { animation: draw 1.2s var(--ease) forwards .7s; }
.viz[data-viz="1"].is-active .viz-truss { animation: draw 1.4s var(--ease) forwards 1.1s; }
.viz[data-viz="1"].is-active .viz-measure { animation: draw 1s var(--ease) forwards 1.5s; }
.viz[data-viz="1"].is-active .viz-bricks rect { animation: brick .6s var(--ease) forwards; animation-delay: calc(1.6s + var(--i) * .15s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes brick { from { opacity: 0; transform: translateY(-16px); } to { opacity: .9; transform: none; } }

.viz-boxes rect { fill: var(--surface-2); stroke: var(--ink); stroke-width: 2; }
.viz-boxes path { stroke: var(--brand); stroke-width: 3; fill: none; }
.viz-boxes > * { opacity: 0; }
.viz[data-viz="2"].is-active .viz-boxes > * { animation: drop .7s var(--ease) forwards; animation-delay: calc(var(--i) * .2s + .1s); }
@keyframes drop { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
.viz-checks rect:not(.bar) { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.viz-checks .bar { fill: var(--line); }
.viz-checks path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.viz[data-viz="2"].is-active .viz-checks rect:not(.bar) { animation: checkFill .4s var(--ease) forwards; animation-delay: calc(.9s + var(--i) * .35s); }
.viz[data-viz="2"].is-active .viz-checks path { animation: fadeIn .3s forwards; animation-delay: calc(1s + var(--i) * .35s); }
@keyframes checkFill { to { fill: var(--brand); stroke: var(--brand); } }
@keyframes fadeIn { to { opacity: 1; } }

/* =========================================================
   MÉTODO / PILARES
   ========================================================= */
.method { padding: 140px 0 120px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* cards com brilho seguindo o mouse */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -100%), var(--pulse), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -100%), var(--glow), transparent 50%); opacity: 0; transition: opacity .4s; }
.glow:hover::before, .glow:hover::after { opacity: 1; }

.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px 36px; transition: transform .5s var(--ease), border-color .3s; }
.pillar:hover { transform: translateY(-4px); }
.pillar__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--glow); }
.pillar__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar__num { margin-top: 34px; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.pillar__title { margin-top: 8px; font-size: 24px; font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.15; }
.pillar__text { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; }

/* =========================================================
   COMPARATIVO
   ========================================================= */
.compare { padding: 40px 0 140px; }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { border-radius: 26px; padding: 36px; border: 1px solid var(--line); }
.compare__col--old { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.compare__col--new { background: var(--navy); color: #EEF3FB; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(0, 40, 110, .7); }
[data-theme="dark"] .compare__col--new { background: linear-gradient(160deg, #1A1B1F, #111215); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.compare__col--new .logo-light { display: none !important; }
.compare__col--new .logo-dark { display: block !important; }
.compare__label { display: flex; align-items: center; gap: 12px; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); min-height: 30px; }
.compare__col--new .compare__label { color: #8EC1FF; }
.compare__label img { height: 30px; width: auto; }
.compare ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.compare li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.compare__col--old li { color: var(--muted); }
.x, .v { flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px; position: relative; }
.x { border: 1.5px solid var(--line-strong); }
.x::before, .x::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; background: var(--muted); }
.x::before { transform: rotate(45deg); } .x::after { transform: rotate(-45deg); }
.v { background: var(--blue-2); }
.v::after { content: ""; position: absolute; left: 8.5px; top: 5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 120px 0; background: var(--bg-alt); border-block: 1px solid var(--line); }
.faq__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__aside { margin-top: 22px; color: var(--ink-2); max-width: 340px; }
.faq__aside a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
.faq__list { display: grid; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.qa.is-open { border-color: color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: var(--shadow); }
.qa__q { width: 100%; background: none; border: 0; text-align: left; cursor: pointer; padding: 24px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.qa__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform .45s var(--ease), background-color .3s, border-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; transition: background-color .3s; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.is-open .qa__icon { transform: rotate(135deg); background: var(--brand); border-color: var(--brand); }
.qa.is-open .qa__icon::before, .qa.is-open .qa__icon::after { background: #fff; }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 26px 26px; color: var(--ink-2); font-size: 16.5px; }
.qa.is-open .qa__a { grid-template-rows: 1fr; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { position: relative; padding: 140px 0; overflow: hidden; isolation: isolate; }
.contact__glow { position: absolute; z-index: -1; width: 800px; height: 800px; right: -200px; top: 50%; transform: translateY(-50%); background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(20px); animation: breathe 8s ease-in-out infinite; }
.contact__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact__text { margin-top: 22px; color: var(--ink-2); font-size: 18px; max-width: 480px; }
.contact__direct { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact__direct-label { font-size: 14px; color: var(--muted); }
.contact__mail { display: inline-block; margin-top: 6px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.contact__mail:hover { color: var(--brand); background-size: 100% 2px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select {
  width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg);
  padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  appearance: none; -webkit-appearance: none;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--glow); background: var(--surface); }
.field.has-error input, .field.has-error select { border-color: #E5484D; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 1.8px 1.8px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; }
.select select:invalid { color: var(--muted); }
.form .btn { margin-top: 6px; }
.form__msg { font-size: 14px; color: var(--muted); min-height: 1.4em; text-align: center; }
.form__msg.is-error { color: #E5484D; }
.form__msg.is-ok { color: #1FB57A; }

/* =========================================================
   FOOTER (sempre azul-marinho)
   ========================================================= */
.footer { background: var(--navy); color: #C9D5EA; padding: 72px 0 28px; }
[data-theme="dark"] .footer { background: #050506; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; align-items: start; }
.footer__brand img { width: 220px; height: auto; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a, .footer__contact a { text-decoration: none; color: #C9D5EA; transition: color .2s; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact p { font-size: 14px; color: #7F8DA8; }
.footer__contact a { font-weight: 700; font-size: 18px; color: #fff; }
.footer__base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #7F8DA8; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .flow { grid-template-columns: 164px minmax(40px, 1fr) 176px minmax(30px, .6fr) 270px; }
  .hub { width: 166px; height: 166px; }
  .hub__face img { width: 100px; }
}

@media (max-width: 920px) {
  :root { --nav-h: 68px; }
  .nav__logo img { height: 42px; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
  }
  .nav__links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.is-open { background: var(--bg); border-color: var(--line); }

  /* pipeline vira vertical */
  .flow { grid-template-columns: 1fr; height: auto; max-width: 440px; margin: 64px auto 0; }
  .flow__inputs { grid-template-rows: none; grid-template-columns: repeat(4, 1fr); gap: 8px; height: auto; }
  .key { flex-direction: column; justify-content: center; gap: 6px; height: 86px; padding: 0 4px; font-size: 12.5px; text-align: center; border-radius: 16px; }
  .key svg { width: 24px; height: 24px; }
  .flow__wire--in { height: 90px; }
  .flow__wire--out { height: 56px; }
  .wire-h { display: none !important; }
  .wire-v { display: block !important; }
  .hub { width: 150px; height: 150px; }
  .hub__face img { width: 90px; }
  .hub__face strong { font-size: 24px; }

  .section-head--split, .services__layout, .faq__layout, .contact__layout { grid-template-columns: 1fr; gap: 40px; }
  .svc-stage { display: none; }
  .svc { min-height: 0; opacity: 1; padding: 0 0 0 24px; margin-bottom: 48px; }
  .svc__bar { top: 0; bottom: 0; }
  .svc__bar span { transform: none; }
  .svc__visual-mobile { display: block; position: relative; margin-top: 24px; height: 300px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
  .svc__visual-mobile .viz { padding: 18px 18px 52px; }
  .svc__visual-mobile .viz figcaption { left: 18px; right: 18px; bottom: 16px; font-size: 13px; }
  .pillars { grid-template-columns: 1fr; }
  .compare__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .nav__inner { padding: 0 16px; gap: 12px; }
  .hero { padding: calc(var(--nav-h) + 40px) 0 72px; }
  .pill { font-size: 12.5px; padding-left: 12px; text-align: left; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .trust { flex-direction: column; align-items: flex-start; }
  .intro { padding: 96px 0 80px; }
  .stats { grid-template-columns: 1fr; margin-top: 56px; }
  .stat, .stat + .stat { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .services, .faq { padding: 88px 0; }
  .method, .contact { padding: 96px 0; }
  .compare { padding: 24px 0 96px; }
  .compare__col { padding: 26px 22px; }
  .compare li { font-size: 16px; }
  .result { padding: 18px; }
  .form { padding: 24px 18px; border-radius: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .qa__q { padding: 20px; font-size: 16.5px; }
  .qa__a p { padding: 0 20px 22px; }
  .btn { white-space: normal; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

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

/* =========================================================
   ÍCONES 3D (tiles gerados no Magnific) + FOTOS
   ========================================================= */
.tile { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24%; box-shadow: 0 8px 18px -8px rgba(0, 30, 90, .55), inset 0 0 0 1px rgba(255,255,255,.08); }

.key__ico { width: 40px; height: 40px; flex: none; border-radius: 11px; box-shadow: 0 4px 10px -4px rgba(0, 30, 90, .6); }
.trust__icon { width: 42px; height: 42px; border: 0; background: none; border-radius: 12px; }
.pillar__icon { width: 76px; height: 76px; background: none; border-radius: 20px; animation: floaty 6s ease-in-out infinite; }
.pillar:nth-child(2) .pillar__icon { animation-delay: -2s; }
.pillar:nth-child(3) .pillar__icon { animation-delay: -4s; }
@keyframes floaty { 50% { transform: translateY(-7px) rotate(-2deg); } }
.pillar:hover .pillar__icon { animation-play-state: paused; transform: translateY(-4px) scale(1.06); transition: transform .4s var(--ease); }

.svc__head { display: flex; align-items: center; gap: 14px; }
.svc__ico { width: 52px; height: 52px; border-radius: 14px; transition: transform .5s var(--ease); }
.svc.is-active .svc__ico { transform: scale(1.06) rotate(-3deg); }

/* serviços: foto + ilustração em card flutuante */
.svc-stage__frame { height: 520px; top: calc(50vh - 260px); background: var(--navy); }
.viz { padding: 0; }
.viz__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.viz.is-active .viz__photo { transform: scale(1); }
.viz::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 12, 31, 0) 45%, rgba(1, 12, 31, .85) 100%); pointer-events: none; }
.viz__card { position: absolute; z-index: 1; right: 20px; top: 20px; width: 42%; aspect-ratio: 480 / 400; padding: 8px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); transform: translateY(16px); opacity: 0; transition: transform .8s var(--ease) .25s, opacity .6s .25s; }
.viz.is-active .viz__card { transform: none; opacity: 1; }
.viz__card svg { width: 100%; height: 100%; }
.viz figcaption { z-index: 1; color: #fff; font-weight: 600; font-size: 15px; bottom: 24px; }
.viz figcaption::before { background: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 134, 255, .3); }

/* faixa de imagem com parallax */
.band { position: relative; height: min(78vh, 680px); min-height: 420px; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; color: #fff; }
.band__media, .method__photo-media, .contact__bg { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.band__media img, .method__photo-media img, .contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1, 12, 31, .1) 30%, rgba(1, 12, 31, .85) 100%); }
.band__content { padding-bottom: 64px; }
.band__chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.band__chips li { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.band__title { font-size: clamp(34px, 5.4vw, 76px); font-weight: 800; font-stretch: 115%; letter-spacing: -.035em; line-height: 1; max-width: 900px; }
.band__title em { font-style: italic; color: #8EC1FF; }

/* foto do método */
.method__photo { position: relative; margin: 64px 0 0; height: 460px; border-radius: 28px; overflow: hidden; isolation: isolate; box-shadow: var(--shadow); }
.method__photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 12, 31, .55), rgba(1, 12, 31, 0) 60%); }
.method__badge { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); max-width: calc(100% - 48px); }
.method__badge .tile { width: 54px; height: 54px; flex: none; border-radius: 14px; }
.method__badge span { font-size: 14px; color: var(--muted); line-height: 1.35; }
.method__badge strong { display: block; font-size: 17px; color: var(--ink); }

/* contato sempre escuro, com a fachada ao fundo */
.contact {
  --bg: #04122B; --surface: #061A3A; --surface-2: #0A2147;
  --ink: #EEF3FB; --ink-2: #B9C5DA; --muted: #8C9AB5;
  --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .2);
  --brand: #2F86FF; --glow: rgba(47, 134, 255, .28); --pulse: #5AA2FF;
  --grad: linear-gradient(95deg, #FFFFFF 0%, #CFE2FF 35%, #6FAEFF 70%, #2F86FF 100%);
  --shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
  background: #010C1F; color: var(--ink); color-scheme: dark;
}
.contact__bg img { opacity: .5; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #010C1F 25%, rgba(1, 12, 31, .55) 70%, rgba(1, 12, 31, .35)); }

@media (max-width: 920px) {
  .svc__visual-mobile { height: 340px; background: var(--navy); }
  .svc__visual-mobile .viz { padding: 0; }
  .svc__visual-mobile .viz__card { width: 52%; right: 14px; top: 14px; }
  .method__photo { height: 360px; }
  .contact::before { background: linear-gradient(180deg, rgba(1, 12, 31, .7), #010C1F 55%); }
}
@media (max-width: 640px) {
  .band { height: 70vh; }
  .band__content { padding-bottom: 40px; }
  .method__photo { height: 300px; margin-top: 40px; }
  .method__badge { left: 12px; bottom: 12px; max-width: calc(100% - 24px); }
  .key__ico { width: 34px; height: 34px; border-radius: 9px; }
}

/* =========================================================
   ACABAMENTO GLASS (pipeline + card dos serviços)
   Vidro fosco com borda de luz no topo, sombras em camadas
   ========================================================= */
:root {
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .74);
  --glass-edge-top: rgba(255, 255, 255, .95);
  --glass-edge-bottom: rgba(0, 20, 54, .06);
  --glass-hair: rgba(0, 20, 54, .07);
  --glass-shadow: 0 1px 1px rgba(0, 20, 54, .04), 0 6px 16px -6px rgba(0, 30, 90, .12), 0 28px 60px -24px rgba(0, 40, 110, .22);
  --glass-blur: blur(24px) saturate(180%);
  --ambient-a: rgba(0, 97, 203, .22);
  --ambient-b: rgba(120, 180, 255, .30);
  --row-line: rgba(0, 20, 54, .07);
}
:root[data-theme="dark"] {
  --glass: rgba(30, 31, 36, .5);
  --glass-strong: rgba(34, 35, 40, .66);
  --glass-edge-top: rgba(255, 255, 255, .22);
  --glass-edge-bottom: rgba(255, 255, 255, .03);
  --glass-hair: rgba(255, 255, 255, .07);
  --glass-shadow: 0 1px 1px rgba(0, 0, 0, .25), 0 10px 24px -10px rgba(0, 0, 0, .5), 0 34px 70px -28px rgba(0, 0, 0, .7);
  --ambient-a: rgba(47, 134, 255, .16);
  --ambient-b: rgba(255, 255, 255, .05);
  --row-line: rgba(255, 255, 255, .07);
}

/* borda de luz reutilizável */
.key::after, .hub__face::after, .result::after, .flow::after, .viz__card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--glass-edge-top), var(--glass-edge-bottom) 45%, var(--glass-edge-bottom));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- Palco ---------- */
.flow {
  position: relative; isolation: isolate;
  height: 480px; padding: 40px 48px; border-radius: 40px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 55%, transparent), color-mix(in srgb, var(--surface) 25%, transparent));
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.flow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
  background:
    radial-gradient(420px 260px at 52% 50%, var(--ambient-a), transparent 70%),
    radial-gradient(360px 240px at 88% 30%, var(--ambient-b), transparent 70%),
    radial-gradient(300px 220px at 8% 70%, var(--ambient-b), transparent 70%);
  filter: blur(10px);
  animation: ambient 12s ease-in-out infinite alternate;
}
@keyframes ambient { to { transform: translate3d(0, -10px, 0) scale(1.04); opacity: .8; } }
.hero__glow { opacity: .6; }

/* ---------- Teclas ---------- */
.key {
  height: 72px; padding: 0 18px 0 14px; gap: 14px; border-radius: 22px; border: 0;
  background: var(--glass); color: var(--ink);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  font-size: 15.5px; font-weight: 600; letter-spacing: -.01em;
  animation: tap 2.8s var(--ease) infinite; animation-delay: calc(var(--i) * .7s);
}
.key__ico { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 14px -6px rgba(0, 50, 140, .55); }
@keyframes tap {
  0%, 16%, 100% { transform: scale(1); box-shadow: var(--glass-shadow); }
  5% { transform: scale(.965); box-shadow: var(--glass-shadow), 0 0 0 4px var(--glow), 0 0 28px -4px var(--pulse); }
}

/* fios mais finos com cometa */
.wire { stroke-width: 1.5; stroke: var(--wire); }
.pulse { stroke-width: 2.5; filter: drop-shadow(0 0 4px var(--pulse)) drop-shadow(0 0 10px var(--pulse)); }

/* ---------- Hub ---------- */
.hub { width: 196px; height: 196px; border-radius: 48px; }
.hub__halo { position: absolute; inset: -40px; border-radius: 80px; background: radial-gradient(closest-side, var(--glow), transparent); animation: breathe2 2.8s ease-in-out infinite; z-index: -1; }
.hub__ring { inset: -1.5px; border-radius: 49.5px; background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--pulse) 78%, #fff 80%, transparent 92%); filter: none; opacity: .9; }
.hub__ring::after { display: none; }
.hub__face {
  inset: 0; border: 0; border-radius: 48px;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 -12px 30px -18px rgba(0, 60, 160, .25);
}
.hub__face img { width: 112px; }
.hub__caption { font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: -.005em; text-transform: none; color: var(--ink-2); margin-top: 10px; }

/* ---------- Card de resultado (lista estilo Ajustes) ---------- */
.result {
  position: relative; padding: 8px; border: 0; border-radius: 28px;
  background: var(--glass-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.result__head { padding: 14px 14px 16px; border-bottom: 0; gap: 14px; }
.result__shed { width: 52px; height: 52px; padding: 9px; border-radius: 14px; background: linear-gradient(160deg, #0A3C8C, #001436); box-shadow: 0 6px 14px -6px rgba(0, 50, 140, .55); }
.result__shed path { stroke: #fff; stroke-width: 3.2; }
.result__shed .shed-roof { stroke: #8EC1FF; }
.result__title { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.result__sub { font-size: 13.5px; }
.result__list { margin: 0; gap: 0; padding: 4px 0; border-radius: 20px; background: color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: inset 0 0 0 1px var(--glass-hair); }
.result__list li { padding: 11px 14px; font-size: 14.5px; color: var(--ink); position: relative; }
.result__list li + li::before { content: ""; position: absolute; top: 0; left: 48px; right: 0; height: 1px; background: var(--row-line); }
.tick { width: 22px; height: 22px; border-radius: 50%; border-width: 1.5px; }
.tick::after { left: 7px; top: 3.5px; width: 5px; height: 10px; }
.result__foot { padding: 14px 14px 8px; border-top: 0; }
.result__terms { background: color-mix(in srgb, var(--brand) 14%, transparent); padding: 6px 12px; }

/* ---------- Card de vidro sobre as fotos dos serviços ---------- */
.viz__card {
  top: 22px; right: 22px; width: 44%; aspect-ratio: auto; padding: 14px 14px 10px; border: 0; border-radius: 24px;
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(28px) saturate(190%); -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 24px 50px -20px rgba(0, 10, 40, .55);
  --glass-edge-top: rgba(255, 255, 255, .95); --glass-edge-bottom: rgba(255, 255, 255, .15);
  color: #001436;
}
[data-theme="dark"] .viz__card { background: rgba(20, 21, 24, .5); color: #EEF3FB; --glass-edge-top: rgba(255, 255, 255, .28); --glass-edge-bottom: rgba(255, 255, 255, .04); }
.viz__card svg { height: auto; aspect-ratio: 480 / 400; }
.viz__card-title { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; padding: 2px 4px 8px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #1FB57A; animation: pingGreen 2s ease-out infinite; flex: none; }

/* peças da ilustração ficam translúcidas dentro do vidro */
.viz__card .viz-panel, .viz__card .viz-card { fill: rgba(255, 255, 255, .55); stroke: rgba(0, 20, 54, .12); }
.viz__card .viz-inner { fill: rgba(0, 20, 54, .05); stroke: none; }
.viz__card .viz-breakers rect, .viz__card .viz-node rect, .viz__card .viz-checks rect:not(.bar) { fill: rgba(255, 255, 255, .85); stroke: rgba(0, 20, 54, .25); }
.viz__card .viz-wire { stroke: rgba(0, 20, 54, .16); }
.viz__card .viz-ground { stroke: rgba(0, 20, 54, .2); }
.viz__card .viz-gate { fill: rgba(255, 255, 255, .55); }
.viz__card .viz-checks .bar { fill: rgba(0, 20, 54, .1); }
[data-theme="dark"] .viz__card .viz-panel, [data-theme="dark"] .viz__card .viz-card { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .16); }
[data-theme="dark"] .viz__card .viz-inner { fill: rgba(255, 255, 255, .05); }
[data-theme="dark"] .viz__card .viz-breakers rect, [data-theme="dark"] .viz__card .viz-node rect, [data-theme="dark"] .viz__card .viz-checks rect:not(.bar) { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .35); }
[data-theme="dark"] .viz__card .viz-wire { stroke: rgba(255, 255, 255, .16); }
[data-theme="dark"] .viz__card .viz-gate { fill: rgba(255, 255, 255, .06); }
[data-theme="dark"] .viz__card .viz-checks .bar { fill: rgba(255, 255, 255, .14); }

/* legenda da foto em pílula de vidro escura */
.viz figcaption { left: 20px; right: auto; bottom: 20px; max-width: calc(100% - 40px); padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 14px; background: rgba(1, 12, 31, .38); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.viz::after { background: linear-gradient(180deg, rgba(1, 12, 31, 0) 60%, rgba(1, 12, 31, .45) 100%); }
.svc-stage__frame { border-radius: 36px; border: 0; box-shadow: var(--glass-shadow); }

@media (max-width: 1080px) {
  .flow { padding: 32px; }
  .hub { width: 170px; height: 170px; border-radius: 42px; }
  .hub__face, .hub__ring { border-radius: 42px; }
}
@media (max-width: 920px) {
  .flow { height: auto; padding: 22px 16px 18px; border-radius: 32px; }
  .key { height: 92px; padding: 10px 4px; gap: 8px; border-radius: 20px; font-size: 12.5px; }
  .key__ico { width: 38px; height: 38px; border-radius: 10px; }
  .hub { width: 150px; height: 150px; border-radius: 38px; }
  .hub__face, .hub__ring { border-radius: 38px; }
  .hub__face img { width: 88px; }
  .svc__visual-mobile { border-radius: 26px; border: 0; }
  .svc__visual-mobile .viz__card { width: 54%; top: 14px; right: 14px; padding: 10px 10px 6px; border-radius: 18px; }
  .viz__card-title { font-size: 12px; padding-bottom: 6px; }
  .viz figcaption { left: 12px; bottom: 12px; font-size: 12.5px; max-width: calc(100% - 24px); }
}
@media (max-width: 640px) {
  .flow { margin-left: -4px; margin-right: -4px; }
  .result { border-radius: 24px; }
}
.form__msg a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }

/* =========================================================
   BOTÃO HUD — chanfro, colchetes de mira, varredura de luz
   ========================================================= */
.btn--primary, .btn--ghost { --cut: 12px; border: 0; border-radius: 0; position: relative; isolation: isolate; }
.btn--primary {
  padding: 0 32px; background: none; color: #fff; font-weight: 700; letter-spacing: .005em;
  box-shadow: none; filter: drop-shadow(0 8px 18px rgba(0, 97, 203, .38));
  transition: transform .3s var(--ease), filter .35s var(--ease);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  background:
    linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 48%, rgba(255, 255, 255, .12) 53%, transparent 62%) -160% 0 / 260% 100% no-repeat,
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 40%) 0 0 / 100% 1px no-repeat,
    linear-gradient(180deg, #2F86FF, #0061CB 55%, #004596);
  animation: hudSweep 4s ease-in-out infinite;
}
@keyframes hudSweep {
  0%, 50% { background-position: -160% 0, 0 0, 0 0, 0 0; }
  100% { background-position: 260% 0, 0 0, 0 0, 0 0; }
}
/* colchetes nos 4 cantos */
.btn--primary::after {
  --c: var(--brand); --l: 10px; --w: 2px;
  content: ""; position: absolute; inset: -6px; pointer-events: none; opacity: .75;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) 0 0 / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--w) var(--l);
  background-repeat: no-repeat;
  transition: inset .4s var(--ease), opacity .3s;
  animation: hudLock 4s ease-in-out infinite;
}
@keyframes hudLock { 0%, 70%, 100% { inset: -6px; } 80% { inset: -9px; } 88% { inset: -5px; } }
.btn--primary:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 26px rgba(47, 134, 255, .65)); box-shadow: none; }
.btn--primary:hover::before { animation-duration: 1.4s; }
.btn--primary:hover::after { inset: -11px; opacity: 1; animation: hudFlicker .5s steps(2) 1; }
@keyframes hudFlicker { 0% { opacity: .2; } 50% { opacity: 1; } 75% { opacity: .5; } 100% { opacity: 1; } }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--sm.btn--primary { --cut: 9px; padding: 0 20px; }
.btn--sm.btn--primary::after { --l: 7px; --w: 1.5px; inset: -4px; animation: none; }
.btn--sm.btn--primary:hover::after { inset: -7px; }

.btn--ghost { background: none; color: var(--ink); }
.btn--ghost::before, .btn--ghost::after { content: ""; position: absolute; z-index: -1; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); transition: background-color .3s; }
.btn--ghost::before { inset: 0; background: var(--line-strong); }
.btn--ghost::after { inset: 1.5px; --cut: 11.4px; background: var(--bg); }
.btn--ghost:hover { color: var(--brand); border-color: transparent; }
.btn--ghost:hover::before { background: var(--brand); }

/* subtítulo dos pilares (sem caixa-alta) */
.subhead { margin: 72px 0 24px; text-align: center; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-2); }
.section-head__lead { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 560px; }

/* =========================================================
   COMO FUNCIONA — linha que se preenche com o scroll
   ========================================================= */
.steps { padding: 130px 0 40px; }
.steps__list { --p: 0; list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__list::before, .steps__list::after { content: ""; position: absolute; top: 27px; left: 28px; right: calc(25% - 49px); height: 2px; border-radius: 2px; }
.steps__list::before { background: var(--line-strong); }
.steps__list::after { background: linear-gradient(90deg, var(--brand), var(--blue-2)); transform-origin: left; transform: scaleX(var(--p)); box-shadow: 0 0 12px var(--pulse); }
.step { position: relative; z-index: 1; }
.step__node {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  font-weight: 800; font-size: 20px; font-stretch: 110%; color: var(--muted);
  background: var(--glass-strong); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0 0 1px var(--glass-hair);
  transition: color .4s, background-color .4s, box-shadow .5s var(--ease), transform .5s var(--ease);
}
.step.is-lit .step__node { color: #fff; background: linear-gradient(180deg, #2F86FF, #0061CB); box-shadow: 0 0 0 6px var(--glow), 0 10px 24px -8px rgba(0, 97, 203, .7); transform: scale(1.04); }
.step__title { margin-top: 26px; font-size: 20px; font-weight: 800; font-stretch: 106%; letter-spacing: -.015em; line-height: 1.2; }
.step__text { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

/* =========================================================
   WHATSAPP FLUTUANTE + BARRA FIXA NO CELULAR
   ========================================================= */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 60px; height: 60px; border-radius: 20px;
  display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #2FD06B, #1DA851);
  box-shadow: 0 12px 30px -10px rgba(29, 168, 81, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  transform: translateY(120px); opacity: 0; transition: transform .5s var(--ease), opacity .4s, box-shadow .3s;
}
.wa-float.is-on { transform: none; opacity: 1; }
.wa-float:hover { box-shadow: 0 0 0 6px rgba(29, 168, 81, .2), 0 14px 34px -10px rgba(29, 168, 81, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.wa-float svg, .mbar__wa svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(29, 168, 81, .45); animation: waPing 3s ease-out infinite; }
@keyframes waPing { 0%, 40% { box-shadow: 0 0 0 0 rgba(29, 168, 81, .45); } 100% { box-shadow: 0 0 0 12px rgba(29, 168, 81, 0); } }

.mbar { display: none; }
@media (max-width: 640px) {
  .wa-float { display: none; }
  .mbar {
    display: flex; gap: 10px; align-items: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    padding: 10px; border-radius: 22px; background: var(--glass-strong);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow), inset 0 0 0 1px var(--glass-hair);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; --h: 50px; white-space: nowrap; }
  .mbar__wa { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #2FD06B, #1DA851); }
  body { padding-bottom: 84px; }
  .steps__list { grid-template-columns: 1fr; gap: 34px; padding-left: 0; }
  .steps__list::before, .steps__list::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .steps__list::after { transform-origin: top; transform: scaleY(var(--p)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step__node { grid-row: span 2; }
  .step__title { margin-top: 4px; font-size: 18px; }
  .step__text { margin-top: 6px; }
}
@media (min-width: 641px) and (max-width: 920px) {
  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps__list::before, .steps__list::after { display: none; }
}
@media (max-width: 640px) { .steps { padding: 90px 0 20px; } .subhead { margin-top: 48px; } }

/* tema escuro quase preto: contato e sobreposições neutras */
[data-theme="dark"] .contact { --bg: #0E0F12; --surface: #141518; --surface-2: #1B1C20; --ink-2: #B4B7BE; --muted: #80848D; background: #08090B; }
[data-theme="dark"] .contact::before { background: linear-gradient(90deg, #08090B 25%, rgba(8, 9, 11, .6) 70%, rgba(8, 9, 11, .4)); }
@media (max-width: 920px) { [data-theme="dark"] .contact::before { background: linear-gradient(180deg, rgba(8, 9, 11, .7), #08090B 55%); } }
[data-theme="dark"] .contact__bg img { filter: saturate(.6); }

/* sem moldura em volta do fluxo do topo: só a luz ambiente */
.flow { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; padding-left: 0; padding-right: 0; }
.flow::after { display: none; }
.flow::before { inset: -40px -60px; border-radius: 50%; filter: blur(40px); opacity: .9; }
@media (max-width: 920px) { .flow { padding: 8px 0 0; } .flow::before { inset: -20px; } }
@media (max-width: 640px) { .flow { margin-left: 0; margin-right: 0; } }
.result__terms { white-space: nowrap; flex: none; }
.status { min-width: 0; }
@media (max-width: 1080px) { .result__foot { font-size: 12.5px; } }

/* =========================================================
   BALÃO DE CONTATO — pílula de vidro com tile do WhatsApp
   ========================================================= */
.wa-float {
  width: auto; height: auto; display: flex; align-items: center; gap: 12px;
  padding: 7px 20px 7px 7px; border-radius: 22px; text-decoration: none; color: var(--ink);
  background: var(--glass-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow), inset 0 0 0 1px var(--glass-hair);
}
.wa-float::before { display: none; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--glass-edge-top), var(--glass-edge-bottom) 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow), inset 0 0 0 1px var(--glass-hair), 0 18px 40px -16px rgba(29, 168, 81, .45); }
.wa-float__ico {
  position: relative; flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #34D86F, #1DA851);
  box-shadow: 0 8px 18px -8px rgba(29, 168, 81, .8), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 6px rgba(0, 90, 40, .25);
  transition: transform .5s var(--ease);
}
.wa-float__ico::before { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: waPing 3.2s ease-out infinite; }
.wa-float:hover .wa-float__ico { transform: rotate(-8deg) scale(1.05); }
.wa-float .wa-float__ico svg { width: 25px; height: 25px; fill: currentColor; }
.wa-float__dot { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: #34D86F; box-shadow: 0 0 0 2.5px var(--bg); }
.wa-float__txt { display: grid; line-height: 1.2; }
.wa-float__txt strong { font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.wa-float__txt small { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* =========================================================
   HERO COM FOTO DE FUNDO (versão clara e escura)
   ========================================================= */
.hero__bg {
  position: absolute; z-index: -3; left: 0; right: 0; top: 0;
  height: clamp(760px, 100vh, 980px); overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero__bg-media { position: absolute; inset: -6% 0 -6% 0; }
.hero__bg-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: heroZoom 2.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heroZoom { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }
/* véu para leitura do texto */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(245, 247, 250, .78), rgba(245, 247, 250, .35) 70%, rgba(245, 247, 250, .15)),
    linear-gradient(180deg, rgba(245, 247, 250, .35), transparent 30%);
}
[data-theme="dark"] .hero__bg::after {
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(8, 9, 11, .72), rgba(8, 9, 11, .3) 70%, rgba(8, 9, 11, .1)),
    linear-gradient(180deg, rgba(8, 9, 11, .6), transparent 28%);
}
.hero__grid { display: none; }
.hero__glow { top: 520px; opacity: .45; }
.trust__icon + span { text-shadow: 0 1px 12px var(--bg); }

@media (max-width: 920px) {
  .hero__bg { height: 820px; }
  .hero__bg-media img { object-position: 50% 30%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(245, 247, 250, .55), rgba(245, 247, 250, .75) 45%, rgba(245, 247, 250, .4)); }
  [data-theme="dark"] .hero__bg::after { background: linear-gradient(180deg, rgba(8, 9, 11, .55), rgba(8, 9, 11, .72) 45%, rgba(8, 9, 11, .35)); }
}
@media (prefers-reduced-motion: reduce) { .hero__bg-media img { animation: none; } }

/* foto da hero aparente: sem véu, só a dissolução no fim */
.hero__bg::after, [data-theme="dark"] .hero__bg::after { display: none; }
.hero__bg { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.hero__bg-media img { filter: contrast(1.06) saturate(1.05); }
/* legibilidade sem cobrir a foto: sombra difusa só atrás das letras */
.hero__lead, .trust li > span:last-child { text-shadow: 0 1px 2px var(--bg), 0 0 18px var(--bg), 0 0 32px var(--bg); }
.hero__title-sub { text-shadow: 0 0 30px var(--bg); }
.trust__icon + span { text-shadow: 0 1px 2px var(--bg), 0 0 18px var(--bg); }
@media (max-width: 920px) {
  .hero__bg::after, [data-theme="dark"] .hero__bg::after { display: none; }
}

.hero .trust { color: var(--ink-2); font-weight: 500; }

/* =========================================================
   HERO EM CARD (inspirada na Labweb)
   ========================================================= */
.hero--card { padding: calc(var(--nav-h) + 2px) 12px 0; overflow: visible; }
.hcard {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100svh - var(--nav-h) - 14px); min-height: 640px; max-height: 940px;
  border-radius: 30px; background: #05070B; color: #fff;
  display: grid; grid-template-columns: 1fr minmax(300px, 380px); grid-template-rows: auto 1fr auto;
  column-gap: 40px; padding: 26px 36px 48px;
}
.hcard__media { position: absolute; inset: -8% 0; z-index: -2; }
.hcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; animation: heroZoom 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.hcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 6, 12, .5) 0%, rgba(3, 6, 12, 0) 34%),
    linear-gradient(0deg, rgba(3, 6, 12, .72) 0%, rgba(3, 6, 12, 0) 42%);
}

/* marca gigante */
.hcard__mark { grid-column: 1; grid-row: 1; display: flex; align-items: flex-start; margin: 0; line-height: .8; overflow: hidden; padding-bottom: .04em; }
.hcard__word {
  display: block; font-size: clamp(110px, 16.5vw, 250px); font-weight: 900; font-style: italic; font-stretch: 125%;
  letter-spacing: -.045em; color: #fff; text-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  animation: markUp 1.2s cubic-bezier(.2, .8, .2, 1) .15s both;
}
.hcard__bolt { width: clamp(46px, 6.6vw, 100px); height: auto; margin: .3vw 0 0 .6vw; fill: var(--blue-2); filter: drop-shadow(0 0 14px rgba(47, 134, 255, .8)); animation: boltIn .9s cubic-bezier(.2, .8, .2, 1) .9s both, boltFlicker 6s steps(1) 2.2s infinite; }
@keyframes markUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes boltIn { 0% { opacity: 0; transform: translateY(-30%) scale(.7); } 60% { opacity: 1; transform: translateY(4%) scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes boltFlicker { 0%, 96%, 100% { opacity: 1; } 97% { opacity: .35; } 98% { opacity: 1; } 99% { opacity: .55; } }

/* título (copy) no canto superior direito */
.hcard__title {
  grid-column: 2; grid-row: 1; align-self: start; margin-top: 10px;
  font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; font-stretch: 100%;
  color: #fff; text-wrap: balance; animation: fadeUp .9s var(--ease) .5s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* parágrafo embaixo à esquerda */
.hcard__lead { grid-column: 1; grid-row: 3; align-self: end; max-width: 560px; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; animation: fadeUp .9s var(--ease) .7s both; }
.hcard__lead .w { color: rgba(255, 255, 255, .42); transition: color .5s ease; }
.hcard__lead .w.on { color: #fff; }

/* painel embaixo à direita */
.hcard__panel {
  grid-column: 2; grid-row: 3; align-self: end; padding: 16px; border-radius: 22px; color: var(--ink);
  background: var(--glass-strong); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--glass-hair);
  animation: fadeUp .9s var(--ease) .85s both;
}
:root:not([data-theme="dark"]) .hcard__panel { background: rgba(255, 255, 255, .9); }
.hcard__facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.hcard__facts li { display: flex; gap: 12px; align-items: center; }
.hcard__facts .tile { width: 38px; height: 38px; flex: none; border-radius: 11px; }
.hcard__facts strong { color: var(--ink); font-weight: 700; }
.hcard__panel .btn { --h: 50px; }
.hcard__panel .btn--primary::after { inset: -5px; }

.hcard__foot { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .62); white-space: nowrap; }

/* fluxo agora em seção própria */
.flow-sec { padding: 96px 0 24px; position: relative; isolation: isolate; }
.flow-sec .flow { margin-top: 0; }

@media (max-width: 1080px) {
  .hcard { grid-template-columns: 1fr 320px; padding: 22px 26px 46px; }
}
@media (max-width: 760px) {
  .hero--card { padding: calc(var(--nav-h) + 2px) 8px 0; }
  .hcard {
    height: auto; min-height: calc(100svh - var(--nav-h) - 10px); max-height: none;
    grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto auto; row-gap: 16px;
    padding: 18px 18px 44px; border-radius: 24px;
  }
  .hcard__word { font-size: 30vw; }
  .hcard__bolt { width: 13vw; }
  .hcard__title { grid-column: 1; grid-row: 2; margin-top: 4px; font-size: 18px; }
  .hcard__lead { grid-row: 4; font-size: 18px; margin-top: 120px; }
  .hcard__panel { grid-column: 1; grid-row: 5; }
  .hcard__media img { object-position: 60% 50%; }
  .hcard::after { background: linear-gradient(180deg, rgba(3, 6, 12, .55) 0%, rgba(3, 6, 12, .1) 35%, rgba(3, 6, 12, .25) 55%, rgba(3, 6, 12, .85) 100%); }
  .hcard__foot { font-size: 11.5px; bottom: 16px; }
  .flow-sec { padding-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .hcard__word, .hcard__bolt, .hcard__title, .hcard__lead, .hcard__panel, .hcard__media img { animation: none; }
}

.hcard__bolt { flex: none; max-width: none; }
.hcard__word { flex: none; }
.hcard__word { font-size: clamp(96px, 14vw, 225px); }
.hcard__bolt { width: clamp(40px, 5.4vw, 88px); }
@media (max-width: 760px) { .hcard__word { font-size: 21vw; } .hcard__bolt { width: 10.5vw; } }
@media (max-width: 760px) {
  .hcard__word { font-size: 19.5vw; }
  .hcard__bolt { width: 9.5vw; }
  .hcard::after { background: linear-gradient(180deg, rgba(3, 6, 12, .55) 0%, rgba(3, 6, 12, .1) 30%, rgba(3, 6, 12, .45) 48%, rgba(3, 6, 12, .88) 100%); }
}

/* =========================================================
   RAIO DA MARCA — pulso, arco elétrico, descarga com faíscas
   Ciclo de 5s: descarga em ~0-8% do ciclo
   ========================================================= */
.bolt { position: relative; flex: none; display: block; margin: .3vw 0 0 .6vw; width: clamp(40px, 5.4vw, 88px); animation: boltIn .9s cubic-bezier(.2, .8, .2, 1) .9s both; }
.bolt .hcard__bolt { display: block; width: 100%; margin: 0; animation: boltPulse 5s ease-in-out 2s infinite; }
.bolt__arc, .bolt__sparks { position: absolute; pointer-events: none; overflow: visible; }
.bolt__arc { inset: 0; width: 100%; height: 100%; }
.bolt__arc path { fill: none; stroke: #DCEBFF; stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: .07 .18 .03 .2; filter: drop-shadow(0 0 4px #8EC1FF); animation: arcRun .9s linear infinite, arcFlicker 5s steps(1) 2s infinite; }
.bolt__sparks { left: -100%; top: -40%; width: 300%; height: 180%; }
.bolt__sparks path { fill: none; stroke: #BFDBFF; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px #5AA2FF); opacity: 0; animation: sparks 5s ease-out 2s infinite; }

@keyframes boltPulse {
  0% { fill: #fff; filter: drop-shadow(0 0 10px #fff) drop-shadow(0 0 34px #5AA2FF) drop-shadow(0 0 70px #2F86FF); transform: scale(1.08); }
  6% { fill: var(--blue-2); filter: drop-shadow(0 0 14px rgba(47, 134, 255, .9)) drop-shadow(0 0 30px rgba(47, 134, 255, .5)); transform: scale(1); }
  9% { fill: #fff; filter: drop-shadow(0 0 12px #fff) drop-shadow(0 0 40px #5AA2FF); }
  13% { fill: var(--blue-2); }
  50% { filter: drop-shadow(0 0 18px rgba(47, 134, 255, 1)) drop-shadow(0 0 40px rgba(47, 134, 255, .45)); }
  100% { fill: var(--blue-2); filter: drop-shadow(0 0 10px rgba(47, 134, 255, .7)); transform: scale(1); }
}
@keyframes arcRun { to { stroke-dashoffset: -1; } }
@keyframes arcFlicker { 0% { opacity: 1; } 3% { opacity: .2; } 5% { opacity: 1; } 14% { opacity: .55; } 40% { opacity: .85; } 60% { opacity: .35; } 80% { opacity: .75; } }
@keyframes sparks {
  0% { opacity: 1; stroke-dasharray: 0 1; stroke-dashoffset: 0; }
  2% { stroke-dasharray: 22 300; stroke-dashoffset: -10; }
  10% { opacity: .9; stroke-dasharray: 10 300; stroke-dashoffset: -60; }
  14%, 100% { opacity: 0; stroke-dasharray: 0 300; stroke-dashoffset: -70; }
}

/* clarão azul na foto a cada descarga */
.hcard__flash { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(60% 70% at 52% 14%, rgba(120, 180, 255, .55), rgba(47, 134, 255, .18) 45%, transparent 70%);
  mix-blend-mode: screen; animation: cardFlash 5s ease-out 2s infinite; }
@keyframes cardFlash { 0% { opacity: 1; } 3% { opacity: .2; } 6% { opacity: .75; } 16%, 100% { opacity: 0; } }

@media (max-width: 760px) { .bolt { width: 9.5vw; } }
@media (prefers-reduced-motion: reduce) { .bolt, .bolt .hcard__bolt, .bolt__arc path, .bolt__sparks path, .hcard__flash { animation: none; } .bolt__sparks, .hcard__flash { display: none; } }
/* faíscas não podem ser cortadas: a máscara sai do bloco e vai para a palavra */
.hcard__mark { overflow: visible; }
@keyframes markUp { from { transform: translateY(45%); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(-20% -5% -20% -5%); } }

.bolt__arc, .bolt__sparks { max-width: none; }
.bolt__sparks path { stroke: #fff; stroke-width: 3.2; filter: drop-shadow(0 0 4px #8EC1FF) drop-shadow(0 0 10px #2F86FF); }
@keyframes sparks {
  0% { opacity: 1; stroke-dasharray: 0 300; stroke-dashoffset: 0; }
  3% { opacity: 1; stroke-dasharray: 34 300; stroke-dashoffset: -6; }
  11% { opacity: .9; stroke-dasharray: 14 300; stroke-dashoffset: -62; }
  15%, 100% { opacity: 0; stroke-dasharray: 0 300; stroke-dashoffset: -72; }
}
.hcard__flash { background: radial-gradient(55% 65% at 50% 12%, rgba(150, 200, 255, .75), rgba(47, 134, 255, .28) 45%, transparent 72%); }

/* =========================================================
   HERO → PRÓXIMA SEÇÃO (sem transição de scroll, para ficar leve)
   ========================================================= */
.hcard { border-radius: 30px; }

@media (min-width: 761px) {
  .flow-sec { padding-top: 110px; }
}

/* indicador de rolagem: linha com pulso de energia descendo */
.hcard__cue { position: absolute; left: 50%; bottom: 44px; width: 30px; height: 64px; margin-left: -15px; display: grid; place-items: center; z-index: 2; }
.hcard__cue-line { position: relative; width: 2px; height: 100%; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hcard__cue-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; border-radius: 2px; background: linear-gradient(180deg, transparent, #8EC1FF, #fff); box-shadow: 0 0 10px #5AA2FF; animation: cueDrop 1.8s cubic-bezier(.5, 0, .3, 1) infinite; }
.hcard__cue::after { content: ""; position: absolute; bottom: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #5AA2FF; box-shadow: 0 0 0 0 rgba(90, 162, 255, .6); animation: cueDot 1.8s ease-out infinite; }
.hcard__cue:hover .hcard__cue-line { background: rgba(255, 255, 255, .4); }
@keyframes cueDrop { to { top: 100%; } }
@keyframes cueDot { 0%, 55% { box-shadow: 0 0 0 0 rgba(90, 162, 255, .6); } 100% { box-shadow: 0 0 0 10px rgba(90, 162, 255, 0); } }
.hcard__foot { bottom: 16px; }

@media (max-width: 1080px) { .hcard__cue { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hcard__cue-line::after, .hcard__cue::after { animation: none; }
}

.hero-stack { position: relative; }
