/* ==========================================================================
   BackEng Soluções — estilos do site
   Paleta baseada na identidade visual (logo + site anterior)
   ========================================================================== */

:root {
  /* Marca */
  --navy-950: #000a1c;
  --navy-900: #00112a;
  --navy-800: #001839;   /* azul-marinho da marca */
  --navy-700: #0a2550;
  --navy-600: #152b4c;
  --blue-700: #1c4b98;   /* azul do "Eng" no logo */
  --blue-500: #4080e5;
  --blue-400: #5e98f2;
  --blue-300: #93b9ff;
  --orange-600: #c9780f;
  --orange-500: #e89425; /* laranja da marca */
  --orange-400: #f5a742;
  --orange-300: #ffc27a;

  /* Interface */
  --bg: var(--navy-950);
  --text: #eaf1ff;
  --muted: #9fb0cc;
  --muted-2: #7488a8;
  --line: rgba(147, 185, 255, 0.12);
  --line-strong: rgba(147, 185, 255, 0.24);
  --glass: rgba(20, 45, 90, 0.28);
  --glass-2: rgba(255, 255, 255, 0.035);
  --success: #3ddc97;
  --danger: #ff6b6b;

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", ui-monospace, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-1: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  --shadow-glow-blue: 0 20px 60px -20px rgba(64, 128, 229, 0.55);
  --shadow-glow-orange: 0 18px 50px -16px rgba(232, 148, 37, 0.6);

  --container: 1200px;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange-500); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--orange-400); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px;
  background: var(--orange-500); color: var(--navy-950); font-weight: 700;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

/* ---------- Fundo global ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(28, 75, 152, 0.35), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(0, 24, 57, 0.9), transparent 70%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950) 60%);
}
.bg-grid::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
  opacity: .45;
}
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none;
  width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 128, 229, 0.16), rgba(64, 128, 229, 0.05) 40%, transparent 70%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
  transition: opacity .4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-400);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.text-gradient {
  background: linear-gradient(100deg, var(--blue-300) 0%, var(--blue-500) 45%, #7fb0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-orange { color: var(--orange-400); }
.section { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin-top: 16px; text-wrap: balance; }
.hero h1, .cta-panel h2, .section-lead { text-wrap: balance; }
.section-lead { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em;
  transition: transform .35s var(--ease-out), box-shadow .35s, background .35s, color .35s, border-color .35s;
  transform: translate3d(var(--bx), var(--by), 0);
  white-space: nowrap; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary {
  color: #1a0f00;
  background: linear-gradient(135deg, var(--orange-300), var(--orange-500) 45%, var(--orange-600));
  box-shadow: var(--shadow-glow-orange), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-out);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 24px 60px -14px rgba(232, 148, 37, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost {
  color: var(--text); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--blue-400); background: rgba(64, 128, 229, 0.12); box-shadow: var(--shadow-glow-blue); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .35s, border-color .35s, height .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(0, 12, 30, 0.72); border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  --header-h: 66px;
}
.header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 158px; height: auto; transition: transform .35s var(--ease-out); }
.brand:hover img { transform: scale(1.04); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 10px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--muted); transition: color .25s, background .25s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--orange-500); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav a.is-active::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden;
}
.hero-canvas-wrap { position: absolute; inset: 0; z-index: 0; }
#hero-canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
#hero-canvas.is-ready { opacity: 1; }
.hero::after { /* degradê para leitura do texto */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 10, 28, 0.9) 0%, rgba(0, 10, 28, 0.5) 38%, transparent 58%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}
.hero .container { position: relative; z-index: 2; pointer-events: none; }
.hero-content { max-width: 700px; pointer-events: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(64, 128, 229, 0.1); border: 1px solid rgba(64, 128, 229, 0.3);
  font-size: 14px; color: var(--blue-300); font-weight: 500;
}
.hero-badge .dot { position: relative; width: 22px; height: 22px; border-radius: 50%; background: rgba(61, 220, 151, 0.15); display: grid; place-items: center; }
.hero-badge .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .6; } }
.hero h1 { margin-top: 26px; font-size: clamp(36px, 4.3vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.hero-lead { margin-top: 24px; font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 560px; }
.hero-lead strong { color: var(--text); font-weight: 600; }
.terminal-chip {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 10px 16px; border-radius: 12px; font-family: var(--font-mono); font-size: 14px;
  background: rgba(0, 8, 22, 0.7); border: 1px solid var(--line-strong); box-shadow: var(--shadow-1);
}
.terminal-chip .prompt { color: var(--success); }
.terminal-chip .cmd { color: var(--muted); }
.terminal-chip .typed { color: var(--orange-300); white-space: nowrap; }
.terminal-chip .caret { width: 8px; height: 18px; background: var(--orange-400); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

/* Cards flutuantes do hero */
.hero-float { position: absolute; z-index: 2; pointer-events: none; inset: 0; }
.float-card {
  position: absolute; padding: 14px 16px; border-radius: 16px; min-width: 200px;
  background: linear-gradient(145deg, rgba(20, 45, 90, 0.55), rgba(0, 16, 40, 0.55));
  border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 13px; color: var(--muted);
  animation: floaty 7s ease-in-out infinite; will-change: transform;
}
.float-card strong { display: block; font-family: var(--font-display); color: var(--text); font-size: 15px; }
.float-card .row { display: flex; align-items: center; gap: 10px; }
.float-card .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .ico svg { width: 18px; height: 18px; }
.float-card.fc-1 { top: 19%; right: 5%; }
.float-card.fc-1 .ico { background: rgba(61, 220, 151, 0.15); color: var(--success); }
.float-card.fc-2 { bottom: 11%; right: 9%; animation-delay: -2.5s; }
.float-card.fc-2 .ico { background: rgba(232, 148, 37, 0.15); color: var(--orange-400); }
.float-card.fc-3 { top: 49%; right: 2.5%; animation-delay: -4.5s; font-family: var(--font-mono); font-size: 12.5px; min-width: 0; }
.float-card .bars { display: flex; align-items: flex-end; gap: 5px; height: 36px; margin-top: 10px; }
.float-card .bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--blue-400), var(--blue-700)); }
.float-card .bars i:last-child { background: linear-gradient(180deg, var(--orange-300), var(--orange-600)); }
.progress { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 10px; }
.progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--success)); animation: fill 3.6s var(--ease-out) infinite; }
@keyframes fill { 0% { width: 0; } 70%, 100% { width: 100%; } }
@keyframes floaty { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted-2); text-transform: uppercase;
}
.scroll-hint .mouse { width: 24px; height: 38px; border-radius: 14px; border: 2px solid var(--line-strong); position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange-400); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ---------- Faixa de tecnologias ---------- */
.tech-strip { position: relative; padding: 34px 0; border-block: 1px solid var(--line); background: rgba(0, 12, 30, 0.6); overflow: hidden; }
.tech-strip p { text-align: center; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); font-family: var(--font-mono); margin-bottom: 20px; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.tech-strip:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; gap: 14px; padding-right: 14px; }
.marquee li {
  display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--glass-2);
  font-family: var(--font-mono); font-size: 14.5px; color: var(--muted); white-space: nowrap;
  transition: color .3s, border-color .3s, transform .3s, background .3s;
}
.marquee li:hover { color: var(--text); border-color: var(--orange-500); background: rgba(232, 148, 37, 0.08); transform: translateY(-3px); }
.marquee li b { color: var(--blue-400); font-weight: 600; }
.tech-strip::before, .tech-strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.tech-strip::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.tech-strip::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards com brilho (base) ---------- */
.glow-card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius); padding: 30px;
  background: linear-gradient(160deg, rgba(20, 45, 90, 0.35), rgba(0, 14, 34, 0.55));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .4s;
  transform-style: preserve-3d;
}
.glow-card::before { /* luz que segue o mouse */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(64, 128, 229, 0.18), transparent 45%);
}
.glow-card::after { /* borda iluminada */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(245, 167, 66, 0.9), rgba(64, 128, 229, 0.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glow-card:hover { border-color: transparent; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(64, 128, 229, 0.35); }
.glow-card:hover::before, .glow-card:hover::after { opacity: 1; }
.glow-card > * { transform: translateZ(0); }

/* ---------- Problema: cards que viram (flip 3D) ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flip { perspective: 1200px; }
.flip-inner {
  position: relative; display: grid; height: 100%; min-height: 260px; transform-style: preserve-3d;
  transition: transform .9s var(--ease-out);
}
.flip:hover .flip-inner, .flip:focus-within .flip-inner, .flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  grid-area: 1 / 1; position: relative; padding: 28px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.flip-front { background: linear-gradient(160deg, rgba(60, 20, 30, 0.35), rgba(0, 14, 34, 0.7)); }
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(150deg, rgba(28, 75, 152, 0.6), rgba(0, 24, 57, 0.9));
  border-color: rgba(64, 128, 229, 0.45);
  box-shadow: 0 30px 60px -25px rgba(64, 128, 229, 0.5);
}
.flip-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.flip-front .flip-tag { color: #ff9a9a; }
.flip-back .flip-tag { color: var(--success); }
.flip-face h3 { font-size: 21px; font-weight: 700; }
.flip-face p { color: var(--muted); font-size: 15.5px; }
.flip-back p { color: #cfe0ff; }
.flip-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; }
.flip-ico svg { width: 22px; height: 22px; }
.flip-front .flip-ico { background: rgba(255, 107, 107, 0.12); color: var(--danger); }
.flip-back .flip-ico { background: rgba(61, 220, 151, 0.14); color: var(--success); }
.flip-hint { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-2); }
.flip-hint svg { width: 16px; height: 16px; }
.pain-foot { margin-top: 36px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- Demonstração: manual x automatizado ---------- */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.demo-panel {
  position: relative; border-radius: var(--radius-lg); padding: 28px; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(20, 45, 90, 0.3), rgba(0, 12, 30, 0.7));
  box-shadow: var(--shadow-2);
}
.demo-panel header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.demo-panel h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.demo-panel h3 .pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.demo-manual h3 .pill { background: rgba(255, 107, 107, 0.14); color: #ff9a9a; }
.demo-auto h3 .pill { background: rgba(61, 220, 151, 0.14); color: var(--success); }
.demo-timer { font-family: var(--font-mono); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-manual .demo-timer { color: #ff9a9a; }
.demo-auto .demo-timer { color: var(--success); }
.task-list { display: grid; gap: 12px; }
.task { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 14.5px; }
.task .st { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--muted-2); display: grid; place-items: center; transition: all .3s; }
.task .st svg { width: 13px; height: 13px; opacity: 0; transition: opacity .3s; }
.task.done .st { background: var(--muted-2); border-color: var(--muted-2); color: var(--navy-950); }
.task.done .st svg { opacity: 1; }
.task.err { border-color: rgba(255, 107, 107, 0.5); background: rgba(255, 107, 107, 0.07); }
.task.err .st { border-color: var(--danger); background: var(--danger); color: #fff; }
.task .t { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted-2); }
.task .bar { grid-column: 2 / 4; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.task .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ff9a9a, var(--orange-500)); }
.terminal {
  border-radius: 14px; background: #010814; border: 1px solid rgba(64, 128, 229, 0.3);
  box-shadow: inset 0 0 40px rgba(64, 128, 229, 0.08); overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.terminal-bar i:nth-child(2) { background: #febc2e; }
.terminal-bar i:nth-child(3) { background: #28c840; }
.terminal-bar span { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.terminal-body { padding: 16px 18px; min-height: 290px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.9; color: #cfe0ff; }
.terminal-body .ln { white-space: pre-wrap; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.terminal-body .ln.on { opacity: 1; transform: none; }
.terminal-body .c-g { color: var(--success); }
.terminal-body .c-o { color: var(--orange-300); }
.terminal-body .c-b { color: var(--blue-300); }
.terminal-body .c-m { color: var(--muted-2); }
.demo-caption { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.demo-replay { margin: 34px auto 0; display: flex; }

/* ---------- Soluções ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.service-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, rgba(64, 128, 229, 0.3), rgba(28, 75, 152, 0.15));
  border: 1px solid rgba(64, 128, 229, 0.4); color: var(--blue-300);
  box-shadow: 0 12px 30px -10px rgba(64, 128, 229, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateZ(40px); transition: transform .5s var(--ease-out), color .3s, background .3s;
}
.service-ico svg { width: 26px; height: 26px; }
.service:hover .service-ico { color: var(--orange-300); background: linear-gradient(145deg, rgba(232, 148, 37, 0.3), rgba(232, 148, 37, 0.08)); border-color: rgba(232, 148, 37, 0.5); }
.service h3 { font-size: 22px; font-weight: 700; transform: translateZ(30px); }
.service p { color: var(--muted); font-size: 15.5px; transform: translateZ(20px); }
.service .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; transform: translateZ(20px); }
.service .tags li { font-family: var(--font-mono); font-size: 12px; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--blue-300); }
.service .num { position: absolute; top: 22px; right: 26px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.soon-strip {
  margin-top: 26px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; text-align: center;
  padding: 18px 24px; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px;
}
.soon-strip b { color: var(--text); }
.soon-strip .pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(232, 148, 37, 0.14); color: var(--orange-300); }

/* ---------- Calculadora ---------- */
.calc {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-2);
  background: linear-gradient(160deg, rgba(20, 45, 90, 0.4), rgba(0, 12, 30, 0.8));
}
.calc-inputs { padding: clamp(28px, 4vw, 48px); display: grid; gap: 30px; }
.field-range label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; font-size: 15.5px; margin-bottom: 14px; }
.field-range output { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--orange-300); white-space: nowrap; }
input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline-offset: 6px;
  background: linear-gradient(90deg, var(--blue-500), var(--orange-500)) 0 / var(--p) 100% no-repeat, rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 5px solid var(--orange-500); box-shadow: 0 0 0 6px rgba(232, 148, 37, 0.2), 0 6px 16px rgba(0, 0, 0, 0.5);
  transition: transform .2s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--orange-500); box-shadow: 0 0 0 6px rgba(232, 148, 37, 0.2); }
.calc-result {
  position: relative; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 22px;
  background: radial-gradient(500px 300px at 80% 0%, rgba(232, 148, 37, 0.14), transparent 60%), rgba(0, 8, 22, 0.55);
  border-left: 1px solid var(--line);
}
.calc-result .k { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-mono); }
.calc-result .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc-result .v.orange { color: var(--orange-400); text-shadow: 0 0 40px rgba(232, 148, 37, 0.45); }
.calc-result .v small { font-size: .45em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-split > div { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.calc-split .v { font-size: clamp(24px, 2.4vw, 32px); margin-top: 4px; }
.calc-split .v small { display: block; margin-top: 4px; font-size: 13.5px; font-family: var(--font-body); font-weight: 500; }
.calc-note { font-size: 13px; color: var(--muted-2); }

/* ---------- Processo ---------- */
.process { position: relative; display: grid; gap: 22px; max-width: 900px; margin-inline: auto; }
.process-line { position: absolute; left: 35px; top: 30px; bottom: 30px; width: 2px; background: var(--line); border-radius: 2px; }
.process-line i { position: absolute; left: 0; top: 0; width: 100%; height: var(--progress, 0%); border-radius: inherit; background: linear-gradient(180deg, var(--blue-500), var(--orange-500)); box-shadow: 0 0 16px var(--orange-500); }
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start; }
.step-num {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 20px; color: var(--muted);
  background: var(--navy-900); border: 1px solid var(--line-strong);
  transition: all .5s var(--ease-out);
}
.step.is-active .step-num { color: var(--navy-950); background: linear-gradient(135deg, var(--orange-300), var(--orange-500)); border-color: transparent; box-shadow: var(--shadow-glow-orange); transform: rotate(-6deg) scale(1.05); }
.step .glow-card { padding: 24px 28px; }
.step h3 { font-size: 21px; display: flex; align-items: center; gap: 12px; }
.step h3 svg { width: 22px; height: 22px; color: var(--blue-400); }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* ---------- Sobre / Por que ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.equation { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 28px 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 1.9vw, 25px); }
.equation .term { padding: 9px 15px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--glass-2); transition: transform .4s var(--ease-out), border-color .3s; }
.equation .term:hover { transform: translateY(-4px) rotate(-2deg); border-color: var(--blue-400); }
.equation .term em { font-style: normal; color: var(--muted-2); font-weight: 600; }
.equation .op { color: var(--orange-400); }
.equation .res { background: linear-gradient(135deg, rgba(28, 75, 152, 0.6), rgba(0, 24, 57, 0.9)); border-color: rgba(64, 128, 229, 0.5); box-shadow: var(--shadow-glow-blue); }
.equation .res span { color: var(--blue-400); }
.about p + p { margin-top: 16px; }
.about-text p { color: var(--muted); }
.about-text p strong { color: var(--text); }
.mvv { margin-top: 30px; display: grid; gap: 14px; }
.mvv details { border-radius: 14px; border: 1px solid var(--line); background: var(--glass-2); overflow: hidden; }
.mvv summary { list-style: none; cursor: pointer; padding: 14px 18px; font-family: var(--font-display); font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.mvv summary::-webkit-details-marker { display: none; }
.mvv summary::after { content: "+"; font-family: var(--font-mono); color: var(--orange-400); font-size: 20px; transition: transform .3s; }
.mvv details[open] summary::after { transform: rotate(45deg); }
.mvv details p { padding: 0 18px 16px; font-size: 15px; color: var(--muted); }

/* Cubo 3D em CSS */
.cube-stage { position: relative; display: grid; place-items: center; min-height: 460px; perspective: 1100px; }
.cube-stage::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(64, 128, 229, 0.3), transparent 65%); filter: blur(10px); }
.cube-shadow { position: absolute; bottom: 40px; width: 220px; height: 30px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, 0.7), transparent 70%); animation: shadowPulse 8s ease-in-out infinite; }
@keyframes shadowPulse { 50% { transform: scale(.8); opacity: .6; } }
.cube-wrap { transform-style: preserve-3d; transform: rotateX(var(--rx, -18deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease-out); animation: hover3d 8s ease-in-out infinite; }
@keyframes hover3d { 50% { translate: 0 -16px; } }
.cube { --s: 200px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; animation: spin 22s linear infinite; }
.cube-stage:hover .cube { animation-play-state: paused; }
@keyframes spin { to { transform: rotateY(360deg); } }
.cube .face {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px;
  border-radius: 22px; border: 1px solid rgba(147, 185, 255, 0.35);
  background: linear-gradient(145deg, rgba(34, 86, 170, 0.96), rgba(0, 24, 57, 0.98));
  box-shadow: inset 0 0 50px rgba(64, 128, 229, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-family: var(--font-mono); color: var(--blue-300);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.cube .face b { display: block; font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.cube .face small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-300); }
.cube .f1 { transform: translateZ(calc(var(--s) / 2)); }
.cube .f2 { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f3 { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .f4 { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .f5 { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .f6 { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.orbit { position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 1px dashed rgba(147, 185, 255, 0.22); transform: rotateX(72deg); animation: orbit 18s linear infinite; transform-style: preserve-3d; }
.orbit::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--orange-400); box-shadow: 0 0 18px var(--orange-400); }
@keyframes orbit { to { transform: rotateX(72deg) rotateZ(360deg); } }

.diff-grid { margin-top: clamp(60px, 8vw, 90px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.diff { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
.diff .ico { width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center; background: rgba(232, 148, 37, 0.12); color: var(--orange-400); border: 1px solid rgba(232, 148, 37, 0.3); }
.diff .ico svg { width: 22px; height: 22px; }
.diff h3 { font-size: 18px; }
.diff p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- Clientes ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 960px; margin-inline: auto; }
.client {
  position: relative; display: grid; place-items: center; height: 170px; padding: 26px; border-radius: var(--radius);
  background: #f4f7fd; border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transition: transform .5s var(--ease-out), box-shadow .5s;
  transform-style: preserve-3d;
}
.client img { max-height: 110px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .5s, opacity .5s, transform .5s var(--ease-out); transform: translateZ(30px); }
.client:hover { box-shadow: 0 40px 80px -30px rgba(64, 128, 229, 0.6), 0 0 0 2px var(--orange-500); }
.client:hover img { filter: none; opacity: 1; transform: translateZ(30px) scale(1.06); }
.client .visit { position: absolute; bottom: 12px; right: 14px; font-size: 12px; color: #4a5a78; opacity: 0; transition: opacity .3s; display: flex; gap: 4px; align-items: center; }
.client .visit svg { width: 13px; height: 13px; }
.client:hover .visit { opacity: 1; }

/* ---------- Time ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { padding: 0; overflow: hidden; }
.member-photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease-out), filter .6s; filter: saturate(.85); }
.member:hover .member-photo img { transform: scale(1.06); filter: saturate(1.05); }
.member-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 12, 30, 0.95) 0%, transparent 45%); }
.member-info { position: relative; padding: 0 20px 24px; margin-top: -58px; z-index: 1; }
.member-info h3 { font-size: 22px; }
.member-info .role { margin-top: 4px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--orange-300); }
.member-info ul { margin-top: 16px; display: grid; gap: 8px; }
.member-info li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted); }
.member-info li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--blue-400); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(20, 45, 90, 0.3), rgba(0, 12, 30, 0.6)); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(64, 128, 229, 0.45); box-shadow: var(--shadow-glow-blue); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; border: 1px solid var(--line-strong); transition: background .3s, transform .4s var(--ease-out); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--orange-400); border-radius: 2px; transition: transform .4s var(--ease-out); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: rgba(232, 148, 37, 0.15); transform: rotate(180deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .answer { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }
.faq summary:hover { color: var(--blue-300); }

/* ---------- Contato / CTA ---------- */
.cta-panel {
  position: relative; border-radius: 36px; overflow: hidden; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 60px); align-items: start;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(64, 128, 229, 0.35), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(232, 148, 37, 0.2), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9);
}
.cta-panel::before { /* textura binária */
  content: "01001011 01000010 01000001 01000011 01001011 01000101 01001110 01000111 00110001 01100010 01100001 01100011 01101011";
  position: absolute; inset: -20px; z-index: 0; pointer-events: none; word-break: break-all;
  font-family: var(--font-mono); font-size: 13px; line-height: 2.2; letter-spacing: .4em; color: rgba(147, 185, 255, 0.05);
  mask-image: linear-gradient(135deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%);
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin-top: 16px; }
.cta-panel .section-lead { color: #bcd0ef; }
.contact-list { margin-top: 32px; display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px;
  background: rgba(0, 10, 28, 0.45); border: 1px solid var(--line); transition: transform .35s var(--ease-out), border-color .3s, background .3s;
}
.contact-item:hover { transform: translateX(6px); border-color: var(--orange-500); background: rgba(232, 148, 37, 0.08); }
.contact-item .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(64, 128, 229, 0.16); color: var(--blue-300); flex-shrink: 0; }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: 12.5px; color: var(--muted-2); }
.contact-item span { font-weight: 600; word-break: break-word; }
.form { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: rgba(0, 8, 22, 0.6); border: 1px solid var(--line-strong); backdrop-filter: blur(12px); display: grid; gap: 16px; }
.form h3 { font-size: 22px; }
.form .hint { font-size: 14px; color: var(--muted); margin-top: -6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: #c7d6ef; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; font-size: 16px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); color: var(--text);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange-400) 50%), linear-gradient(135deg, var(--orange-400) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--navy-900); }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6d7f9e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(64, 128, 229, 0.18); background: rgba(64, 128, 229, 0.06); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.15); }
.form .btn { width: 100%; margin-top: 4px; }
.form .btn + .btn { margin-top: -6px; }
.form-foot { font-size: 12.5px; color: var(--muted-2); text-align: center; }

/* ---------- Rodapé ---------- */
.footer { position: relative; padding: 64px 0 34px; border-top: 1px solid var(--line); background: rgba(0, 6, 18, 0.7); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo-full { width: 170px; }
.footer p { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 300px; }
.footer h2 { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-family: var(--font-mono); font-weight: 600; margin-bottom: 16px; }
.footer li + li { margin-top: 10px; }
.footer li a { color: var(--muted); font-size: 15px; transition: color .25s; }
.footer li a:hover { color: var(--orange-300); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); transition: all .3s var(--ease-out); }
.socials a:hover { color: var(--navy-950); background: var(--orange-500); border-color: var(--orange-500); transform: translateY(-4px) rotate(-6deg); box-shadow: var(--shadow-glow-orange); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--muted-2); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25d366;
  box-shadow: 0 16px 40px -10px rgba(37, 211, 102, 0.7);
  transition: transform .35s var(--ease-out);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ring 2.4s infinite; z-index: -1; }
@keyframes ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .tip { position: absolute; right: 72px; top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap; padding: 8px 14px; border-radius: 10px; background: #fff; color: #0b1a33; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; box-shadow: var(--shadow-1); }
.wa-float:hover .tip { opacity: 1; transform: translateY(-50%); }

/* ---------- Animações de entrada ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.hero [data-reveal] { transition-duration: 1.1s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .float-card.fc-2 { display: none; }
  .services-grid, .pain-grid, .diff-grid, .team { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; margin-left: auto; }
  .header .btn-sm { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 18px 20px 28px;
    background: rgba(0, 10, 26, 0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease-out), opacity .3s, visibility .45s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a { font-size: 18px; padding: 14px 12px; }
  .nav .nav-cta { display: block; margin-top: 10px; }
  .nav .nav-cta .btn { width: 100%; color: #1a0f00; font-size: 17px; padding: 14px 20px; }
  .nav .nav-cta .btn::after { display: none; }
  #hero-canvas.is-ready { opacity: .7; }
  .hero { align-items: flex-end; padding-bottom: 70px; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 4%, rgba(0, 10, 28, 0.78) 40%, rgba(0, 10, 28, 0.35) 70%, rgba(0, 10, 28, 0.1) 100%); }
  .hero-float { display: none; }
  .scroll-hint { display: none; }
  .demo, .calc, .about, .cta-panel { grid-template-columns: 1fr; }
  .calc-result { border-left: 0; border-top: 1px solid var(--line); }
  .cube-stage { min-height: 360px; order: -1; }
  .team, .clients { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 961px) { .nav .nav-cta { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid, .pain-grid, .diff-grid, .team, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
  .client { height: 140px; }
  .hero-ctas .btn { width: 100%; }
  .terminal-chip { font-size: 12.5px; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-num { width: 56px; height: 56px; font-size: 17px; border-radius: 16px; }
  .process-line { left: 27px; }
  .calc-split { grid-template-columns: 1fr; }
  .cube { --s: 160px; }
  .orbit { width: 300px; height: 300px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .cta-panel { padding: 26px 20px; border-radius: 28px; }
  .contact-item { padding: 12px 14px; }
  .contact-item span { font-size: 15px; }
}

/* Menos movimento para quem prefere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
