/* ═══════════════════════════════════════════════════════════════
   FEATURES — seções com motion grande (multicanal + follow-up)
   Visuais montados por features.js. Canvas 640×520 escalado.
   ═══════════════════════════════════════════════════════════════ */

.ax-feat {
  position: relative;
  isolation: isolate;
  padding: 110px 0;
  background: var(--ax-ink);
  color: var(--ax-text);
  overflow: hidden;
}
.ax-feat::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(40% 50% at 75% 50%, rgba(26, 140, 255, 0.13), transparent 72%);
  pointer-events: none;
}
.ax-feat--rev::before {
  background: radial-gradient(40% 50% at 25% 50%, rgba(217, 248, 74, 0.07), transparent 72%);
}

.ax-feat-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: center;
}
.ax-feat .container.ax-feat-grid { max-width: 1240px; }
.ax-feat--rev .ax-feat-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); }
.ax-feat--rev .ax-feat-copy { order: 2; }

/* ── Texto ─────────────────────────────────────────────────────── */
.ax-feat-copy h2 {
  margin: 14px 0 18px;
  font-family: var(--ax-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ax-text);
  text-transform: none;
}
.ax-feat-copy h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--ax-lime), var(--ax-indigo-2));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.ax-feat-copy > p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ax-muted);
}
.ax-feat-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ax-feat-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ax-text);
}
.ax-feat-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  background: rgba(217, 248, 74, 0.14);
  color: var(--ax-lime);
}
.ax-feat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font: 600 15px/1 var(--ax-display);
  color: var(--ax-lime);
  text-decoration: none;
}
.ax-feat-link svg { transition: transform .3s var(--ease, ease); }
.ax-feat-link:hover svg { transform: translateX(4px); }

/* ── Palco do motion ───────────────────────────────────────────── */
.ax-feat-visual {
  position: relative;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(150deg, rgba(92, 184, 255, 0.55), rgba(92, 184, 255, 0.06) 45%, rgba(217, 248, 74, 0.35));
  box-shadow: 0 40px 100px rgba(11, 92, 184, 0.25);
}
.fx-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 640 / 520;
  overflow: hidden;
  border-radius: 25px;
  background-color: #0a0f1f;
  background-image:
    radial-gradient(rgba(140, 205, 255, 0.12) 1px, transparent 1px),
    radial-gradient(60% 60% at 70% 30%, rgba(26, 140, 255, 0.18), transparent 70%);
  background-size: 18px 18px, auto;
}
.fx-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 640px;
  height: 520px;
  transform-origin: 0 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: #0f172a;
  user-select: none;
}
.fx-canvas * { box-sizing: border-box; }
.fx-canvas svg { display: block; }

.fx-av {
  position: relative;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c, #94a3b8);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}

/* ═════════════ MULTICANAL ═════════════ */
.fx-wires { position: absolute; inset: 0; width: 640px; height: 520px; }
.fx-wires path { fill: none; stroke: rgba(140, 205, 255, 0.18); stroke-width: 1.5; stroke-dasharray: 4 6; animation: fxDash 1.2s linear infinite; }
.fx-wires circle { opacity: 0; }

.fx-ch {
  position: absolute;
  left: 36px;
  width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(226, 232, 240, 0.75);
  font-size: 11px;
  font-weight: 500;
}
.fx-ch i {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--bg);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.fx-ch i svg { width: 28px; height: 28px; }
.fx-ch i::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid var(--glow);
  opacity: 0;
}
.fx-ch.ping i { transform: scale(1.08); }
.fx-ch.ping i::after { animation: fxPing .8s ease-out; }

.fx-inbox {
  position: absolute;
  left: 300px; top: 52px;
  width: 308px; height: 416px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fx-inbox-h {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #edf0f6;
}
.fx-inbox-h b { font-size: 14px; font-weight: 600; display: block; }
.fx-inbox-h small { font-size: 10.5px; color: #64748b; }
.fx-team { margin-left: auto; display: flex; }
.fx-team .fx-av { width: 24px; height: 24px; font-size: 8.5px; border: 2px solid #fff; margin-left: -7px; }
.fx-list { flex: 1; overflow: hidden; display: flex; flex-direction: column; }

.fx-th {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid #f2f4f9;
}
.fx-th > div { flex: 1; min-width: 0; }
.fx-th b { display: flex; font-size: 12px; font-weight: 600; }
.fx-th b time { margin-left: auto; font-size: 10px; font-weight: 400; color: #94a3b8; }
.fx-th p { margin: 2px 0 0; font-size: 11px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-badge {
  position: absolute;
  right: -4px; bottom: -4px;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid #fff;
  background: var(--bg);
  color: #fff;
}
.fx-badge svg { width: 9px; height: 9px; }
.fx-owner {
  position: absolute;
  right: 16px; bottom: 9px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #e5f3ff;
  color: #0b5cb8;
  font-size: 9.5px;
  font-weight: 600;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.fx-th.owned .fx-owner { opacity: 1; transform: none; }
.fx-th.owned p { padding-right: 78px; }
.fx-th.is-new { animation: fxSlide .55s cubic-bezier(.16, 1, .3, 1); }
.fx-th.is-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hl);
  opacity: 0;
  animation: fxFlash 1.6s ease-out;
  pointer-events: none;
}

.fx-stat {
  position: absolute;
  left: 30px; top: 446px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(140, 205, 255, 0.2);
  color: #e2e8f0;
  font-size: 10.5px;
}
.fx-stat b {
  display: block;
  margin-bottom: 2px;
  font: 600 20px/1 'Space Grotesk', 'Inter', sans-serif;
  color: #d9f84a;
  font-variant-numeric: tabular-nums;
}

/* ═════════════ FOLLOW-UP ═════════════ */
.fx-tl {
  position: absolute;
  left: 24px; top: 30px;
  width: 336px; height: 432px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}
.fx-tl-h { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #edf0f6; }
.fx-tl-h b { display: block; font-size: 13px; font-weight: 600; }
.fx-tl-h small { font-size: 10.5px; color: #64748b; }
.fx-on { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600; color: #16a34a; }
.fx-on i { width: 24px; height: 14px; border-radius: 7px; background: #16a34a; position: relative; }
.fx-on i::after { content: ''; position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.fx-day {
  display: flex; align-items: center; gap: 8px;
  margin: 12px 0 6px;
  font-size: 10.5px; color: #64748b;
}
.fx-day b {
  padding: 3px 8px; border-radius: 6px;
  background: #0f172a; color: #d9f84a;
  font: 600 11px/1.2 'Space Grotesk', 'Inter', sans-serif;
  font-variant-numeric: tabular-nums;
}

.fx-steps { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 6px 0 2px; }
.fx-rail, .fx-fill {
  position: absolute;
  left: 15px; top: 22px;
  width: 2px;
  border-radius: 2px;
}
.fx-rail { bottom: 22px; background: #e8ecf4; }
.fx-fill { height: 0; background: linear-gradient(#1a8cff, #16a34a); transition: height .7s cubic-bezier(.65, 0, .35, 1); }
.fx-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: .38;
  transition: opacity .4s;
}
.fx-step > i {
  position: relative;
  z-index: 1;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--bg);
  color: var(--fg);
  transition: box-shadow .4s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.fx-step > i svg { width: 16px; height: 16px; }
.fx-step > div { flex: 1; min-width: 0; }
.fx-step b { display: block; font-size: 12px; font-weight: 600; }
.fx-step span { display: block; font-size: 10.5px; color: #64748b; }
.fx-step time { font-size: 9.5px; color: #94a3b8; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fx-step.done { opacity: 1; }
.fx-step.active { opacity: 1; }
.fx-step.active > i { transform: scale(1.12); box-shadow: 0 0 0 4px rgba(26, 140, 255, 0.18); }
.fx-step.wait.active > i svg { animation: fxSpin 1.2s linear infinite; }
.fx-step.win.active > i { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2); }

/* Celular */
.fx-phone {
  position: absolute;
  left: 386px; top: 14px;
  width: 232px; height: 488px;
  border-radius: 34px;
  background: #0b0f19;
  padding: 9px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.fx-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #efeae2;
  display: flex;
  flex-direction: column;
}
.fx-notch { position: absolute; top: 7px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 10px; background: #0b0f19; z-index: 5; }
.fx-wa-h {
  display: flex; align-items: center; gap: 8px;
  padding: 34px 12px 10px;
  background: #075e54;
  color: #fff;
}
.fx-wa-h .fx-av { width: 28px; height: 28px; font-size: 9px; background: linear-gradient(135deg, #3aa0ff, #0b5cb8); }
.fx-wa-h b { display: block; font-size: 11.5px; font-weight: 600; }
.fx-wa-h small { font-size: 9px; opacity: .8; }
.fx-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 9px 12px; overflow: hidden; }
.fx-bub {
  display: none;
  max-width: 84%;
  padding: 6px 8px 4px;
  border-radius: 9px;
  font-size: 10.5px;
  line-height: 1.38;
  background: #fff;
  align-self: flex-start;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}
.fx-bub time { display: block; text-align: right; font-size: 8.5px; color: #8696a0; margin-top: 2px; }
.fx-bub.me { align-self: flex-end; background: #d9fdd3; }
.fx-bub.show { display: block; animation: fxPop .4s cubic-bezier(.16, 1, .3, 1); }
.fx-div {
  display: none;
  align-self: center;
  padding: 3px 9px;
  border-radius: 6px;
  background: #fff;
  color: #54656f;
  font-size: 9px;
  font-weight: 500;
}
.fx-div.show { display: block; animation: fxPop .4s; }
.fx-typing { display: none; align-self: flex-end; gap: 3px; padding: 8px 10px; border-radius: 9px; background: #d9fdd3; }
.fx-typing.show { display: inline-flex; }
.fx-typing i { width: 5px; height: 5px; border-radius: 50%; background: #7a9b80; animation: fxType 1s ease-in-out infinite; }
.fx-typing i:nth-child(2) { animation-delay: .15s; }
.fx-typing i:nth-child(3) { animation-delay: .3s; }
.fx-wa-in { margin: 0 8px 8px; height: 30px; border-radius: 15px; background: #fff; display: flex; align-items: center; padding: 0 12px; color: #8696a0; font-size: 10px; }

.fx-notif {
  position: absolute;
  top: 30px; left: 8px; right: 8px;
  z-index: 6;
  display: flex; gap: 8px; align-items: flex-start;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-140%);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}
.fx-notif.show { transform: none; }
.fx-notif > i { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center; background: #1a8cff; color: #fff; }
.fx-notif > i svg { width: 14px; height: 14px; }
.fx-notif b { display: block; font-size: 10px; font-weight: 600; }
.fx-notif span { display: block; font-size: 9.5px; color: #475569; line-height: 1.35; }

.fx-toast {
  position: absolute;
  left: 60px; top: 452px;
  z-index: 8;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #0f172a;
  border: 1px solid rgba(217, 248, 74, 0.35);
  color: #e2e8f0;
  font-size: 11px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(14px) scale(.96);
  transition: opacity .4s, transform .55s cubic-bezier(.16, 1, .3, 1);
}
.fx-toast.show { opacity: 1; transform: none; }
.fx-toast > i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #d9f84a; color: #0b0d18; flex-shrink: 0; }
.fx-toast > i svg { width: 14px; height: 14px; }
.fx-toast b { color: #fff; font-weight: 600; }

/* ── Keyframes ─────────────────────────────────────────────────── */
@keyframes fxDash  { to { stroke-dashoffset: -20; } }
@keyframes fxPing  { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes fxSlide { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes fxFlash { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes fxPop   { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fxType  { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes fxSpin  { to { transform: rotate(360deg); } }

/* ── Responsivo ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .ax-feat { padding: 84px 0; }
  .ax-feat-grid,
  .ax-feat--rev .ax-feat-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ax-feat--rev .ax-feat-copy { order: 0; }
}
@media (max-width: 640px) {
  .ax-feat { padding: 72px 0; }
  .ax-feat .container { padding-left: 16px; padding-right: 16px; }
  .ax-feat-copy > p { font-size: 15.5px; }
  .ax-feat-list li { font-size: 14.5px; }
  .fx-stage { border-radius: 19px; }
  .ax-feat-visual { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-canvas *, .fx-canvas *::before, .fx-canvas *::after { animation: none !important; transition: none !important; }
}
