/* HERO */
.hero { padding: 72px 0 0; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1;
  background:
    radial-gradient(600px 320px at 50% 0%, var(--hero-glow-1), transparent 70%),
    radial-gradient(500px 300px at 85% 30%, var(--hero-glow-2), transparent 70%);
}
.hero-stack { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card);
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: var(--t-body-sm); font-weight: 500; color: var(--muted);
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; }
.dot-live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--gold); opacity: 0; animation: pulso 2s ease-out infinite;
}
@keyframes pulso { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.hero-sub { font-size: var(--t-sub); line-height: 1.5; color: var(--muted); max-width: 640px; }

.tool-strip { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; }
.tool-strip li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-body-sm); font-weight: 500; color: var(--muted); }
.tool-strip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }

.hero-ctas { display: flex; align-items: center; gap: 28px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }

/* Palco do mockup */
.mockup-stage {
  position: relative;
  width: min(1100px, 92vw);
  margin: 72px auto 0;
  perspective: 1800px;
}
.mockup {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-mockup);
  overflow: hidden;
  transform: rotateX(14deg) scale(.96);
  transform-origin: 50% 0%;
  transition: transform .15s linear;
  will-change: transform;
}
.mk-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.mk-bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mk-url { margin: 0 auto; font-size: var(--t-caption); color: var(--muted); background: var(--canvas); padding: 4px 18px; border-radius: var(--r-pill); }
.mk-body { display: grid; grid-template-columns: 210px 1fr 250px; min-height: 470px; text-align: left; }

.mk-side { border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.mk-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 14px; padding: 0 8px; }
.mk-logo b { width: 22px; height: 22px; border-radius: 7px; background: var(--grad-action); }
.mk-item { display: flex; align-items: center; gap: 10px; font-size: var(--t-body-sm); color: var(--muted); padding: 9px 10px; border-radius: 10px; }
.mk-item i { width: 14px; height: 14px; border-radius: 4px; border: 1.6px solid currentColor; opacity: .7; }
.mk-item.on { background: var(--canvas); color: var(--gold-ink); font-weight: 600; }
.mk-side-card { margin-top: auto; background: var(--grad-surface); border-radius: 14px; padding: 14px; }
.mk-side-card small { display: block; font-size: var(--t-caption); color: var(--muted); }
.mk-side-card strong { font-size: var(--t-body-sm); }

.mk-chat { display: flex; flex-direction: column; background: var(--chat-bg); }
.mk-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--card); }
.mk-chat-head strong { display: block; font-size: var(--t-body-sm); }
.mk-chat-head small { font-size: var(--t-caption); color: var(--muted); }
.mk-ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--gold-ink); font-weight: 700; }
.mk-status { margin-left: auto; font-size: var(--t-caption); font-weight: 600; color: var(--gold-ink); background: var(--canvas); padding: 5px 12px; border-radius: var(--r-pill); }
.mk-msgs { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 78%; font-size: 13.5px; line-height: 1.5; padding: 10px 14px; border-radius: 16px; }
.msg.in { background: var(--card); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: var(--grad-action); color: var(--on-gold); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.sys { align-self: center; background: var(--wash); color: var(--gold-ink); font-weight: 600; font-size: var(--t-caption); border-radius: var(--r-pill); padding: 6px 14px; }
.mk-input { margin: 0 20px 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); background: var(--card); border-radius: var(--r-pill); padding: 10px 10px 10px 18px; font-size: 13px; color: var(--muted); }
.mk-input b { width: 28px; height: 28px; border-radius: 50%; background: var(--grad-action); }

.mk-ctx { border-left: 1px solid var(--border); padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.mk-ctx-title { font-size: var(--t-caption); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.mk-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mk-checks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; }
.mk-checks li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--wash); color: var(--gold-ink); }
.mk-bars { display: flex; align-items: flex-end; gap: 7px; height: 74px; }
.mk-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, var(--gold), var(--gold-light)); opacity: .85; }
.mk-bars i:nth-child(-n+5) { opacity: .35; }
.mk-next { margin-top: auto; border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.mk-next small { display: block; font-size: var(--t-caption); color: var(--muted); }
.mk-next strong { font-size: var(--t-body-sm); }

/* Decorações flutuantes */
.deco { position: absolute; z-index: 3; filter: drop-shadow(0 14px 18px var(--deco-shadow)); animation: boia 6s ease-in-out infinite; }
.d1 { width: 84px; left: -46px; top: 18%; --r: -14deg; }
.d2 { width: 64px; right: -30px; top: 6%; --r: 16deg; animation-delay: -1.5s; }
.d3 { width: 70px; right: -52px; top: 52%; --r: 12deg; animation-delay: -3s; }
.d4 { width: 52px; left: 6%; top: -40px; --r: -18deg; animation-delay: -2s; }
.d5 { width: 46px; right: 18%; top: -34px; --r: 0deg; animation-delay: -4s; }
.d6 { width: 62px; left: -86px; bottom: 4%; --r: 20deg; animation-delay: -.8s; }
@keyframes boia {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-12px) rotate(calc(var(--r) + 4deg)); }
}
.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: var(--float-shadow);
  text-align: left; animation: boia 7s ease-in-out infinite; --r: 0deg;
}
.float-card strong { display: block; font-size: var(--t-body-sm); }
.float-card small { font-size: var(--t-caption); color: var(--muted); }
.fc-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #16a34a; font-weight: 700; }
.fc-ico-v { background: var(--wash); color: var(--gold-ink); }
.fc1 { left: -96px; top: 64%; animation-delay: -2.4s; }
.fc2 { right: 27%; bottom: -26px; animation-delay: -4.6s; }

.trust-bar { text-align: center; color: var(--muted); font-size: var(--t-body-lg); margin: 88px auto 0; padding: 0 16px; }
.trust-bar b { color: var(--gold-ink); font-weight: 600; }

@media (max-width: 1240px) {
  .fc1 { left: -16px; }
  .d1 { left: -20px; } .d3 { right: -20px; } .d6 { left: -24px; }
}
@media (max-width: 900px) {
  .mk-body { grid-template-columns: 1fr; min-height: 0; }
  .mk-side, .mk-ctx { display: none; }
  .mockup { transform: rotateX(8deg); }
  .float-card { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .hero-sub { font-size: var(--t-body-lg); }
  .mockup-stage { width: calc(100vw - 32px); margin-top: 52px; }
  .deco { transform: scale(.7); }
  .d1 { width: 56px; left: -12px; } .d2 { width: 44px; right: -8px; } .d3 { width: 48px; right: -10px; }
  .d3, .d4, .d5 { display: none; } .d6 { width: 44px; left: -10px; }
  .hero-badge { font-size: var(--t-caption); padding: 7px 14px; }
  .mk-status { display: none; }
  .msg { max-width: 88%; }
  .trust-bar { font-size: var(--t-body); margin-top: 64px; }
}
