#inicio, #recursos, #planos, #demonstracao { scroll-margin-top: 88px; }
.hero-label, .mock-caption {
  color: #434656;
  font-size: .875rem;
  font-weight: 600;
}
.hero-label { margin-bottom: 8px; }
.mock-caption { text-align: center; margin-top: 32px; }
.mock-caption + div { margin-top: 12px; }
.secondary-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 650;
}
.secondary-action { color: #003dcf; background: white; border: 1px solid #ccd5ea; }
.secondary-action:hover { background: #eef2ff; }
.billing {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.billing legend { text-align: center; margin-bottom: 8px; font-weight: 650; }
.billing label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #ccd5ea;
  border-radius: 12px;
  background: white;
  cursor: pointer;
}
.billing input { accent-color: #003dcf; }
.billing label:has(:checked) { border-color: #003dcf; background: #edf2ff; }
.billing strong { color: #8e004b; }
.billing-note { text-align: center; margin: 12px 0 32px; color: #434656; }
#planos [data-monthly] { font-size: clamp(1.4rem, 2.8vw, 2.25rem); }
#planos .grid > div { transform: none; }
#demonstracao { background: #f8faff; }
.demo-layout {
  max-width: 1120px;
  margin: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 84px);
  align-items: center;
}
.demo-layout h2 { font: 750 clamp(1.75rem, 4vw, 2.5rem)/1.15 "Plus Jakarta Sans", sans-serif; }
.demo-layout h2 + p { margin-top: 16px; color: #434656; }
#demonstracao .demo-card { width: 100%; max-width: 440px; padding: 8px; }
.demo-card summary {
  padding: 12px 16px;
  border-radius: 16px;
  color: white;
  background: #2554fa;
  font-weight: 650;
  cursor: pointer;
}
.demo-card[open] summary { margin-bottom: 8px; }
.demo-note { margin-top: 12px; color: #434656; font-size: .875rem; }
.demo-embed { width: 100%; border-radius: 12px; overflow: hidden; }
.demo-embed iframe { display: block; width: 100%; height: 470px; border: 0; }
@media (max-width: 639px) {
  #demonstracao iframe { height: 510px; }
}
:where(a, button, input, select, summary):focus-visible { outline: 3px solid #b50062; outline-offset: 3px; }
@media (max-width: 639px) {
  .secondary-action { width: 100%; }
  .demo-layout { grid-template-columns: 1fr; padding: 0 16px; }
}

.contact-widget {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
}
.contact-widget summary {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2554fa;
  color: white;
  box-shadow: 0 6px 20px #17265540;
  cursor: pointer;
  list-style: none;
}
.contact-widget summary::-webkit-details-marker { display: none; }
.contact-options {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  width: max-content;
  padding: 6px;
  border: 1px solid #ccd5ea;
  border-radius: 12px;
  background: white;
  box-shadow: 0 6px 20px #17265526;
}
.contact-options a {
  display: block;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #003dcf;
}
.contact-options a:hover { background: #eef2ff; }

.billing-note { margin-bottom: 8px; }
.annual-terms {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: .875rem;
  color: #434656;
}
.demo-privacy {
  margin: 8px 8px 12px;
  font-size: .875rem;
  color: #434656;
}
.annual-terms a, .demo-privacy a {
  color: #003dcf;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dash-preview{max-width:1040px;margin:12px auto 0;border:1px solid #344264;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 90% 0%,#232951 0%,#121626 52%);color:#edf1ff;text-align:left;box-shadow:0 24px 65px #21327538;font-size:14px}
.dash-top{display:flex;justify-content:space-between;gap:8px;padding:14px 20px;border-bottom:1px solid #353e59}
.dash-top strong span,.dash-label,.dash-stats div,.dash-bars small{color:#bec8e0}
.dash-status{color:#6ce5ba}
.dash-layout{display:grid;grid-template-columns:145px minmax(0,1fr)}
.dash-side{display:grid;align-content:start;gap:13px;padding:16px;background:#191e30;border-right:1px solid #353e59;color:#bec8e0}
.dash-side img{width:42px;height:42px;object-fit:contain}
.dash-side strong{background:#2844cb;color:white;border-radius:8px;padding:7px}
.dash-main{padding:17px}
.dash-shortcuts,.dash-mix{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.dash-shortcuts span{padding:4px 9px;border:1px solid #394968;color:#c4d0ff;border-radius:6px}
.dash-stats,.dash-widgets{display:grid;gap:9px;margin-top:12px}
.dash-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.dash-widgets{grid-template-columns:1.35fr 1fr}
.dash-stats div,.dash-widget{background:#1b2236;border:1px solid #36415d;padding:12px;border-radius:11px}
.dash-stats strong{display:block;color:#fff;font-size:clamp(15px,2vw,23px);margin-top:3px}
.dash-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:8px}
.dash-bars div{height:114px;display:grid;grid-template-rows:1fr auto;justify-items:center;align-items:end}
.dash-bars i{width:65%;height:var(--height);border-radius:5px 5px 0 0;background:linear-gradient(#8c83ff,#324ff0);transform-origin:bottom;animation:dash-grow .85s ease-out var(--delay) both}
.dash-mix{margin-top:16px;gap:12px}
.dash-ring{width:78px;aspect-ratio:1;border-radius:50%;background:conic-gradient(#526fff 46%,#ae7fff 46% 80%,#54d8bd 80%);position:relative;animation:dash-reveal .9s ease-out both}
.dash-ring::after{content:"";position:absolute;inset:13px;background:#1b2236;border-radius:50%}
.dash-mix ul{margin:0;padding:0;list-style:none;color:#bec8e0;font-size:12px}
.dash-mix li::before{content:"●";margin-right:6px;color:#7993ff}
.dash-mix li:nth-child(2)::before{color:#bb91ff}
.dash-mix li:nth-child(3)::before{color:#54d8bd}
@keyframes dash-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes dash-reveal{from{opacity:0;transform:rotate(-35deg) scale(.8)}to{opacity:1;transform:none}}
@media(max-width:640px){.dash-layout{grid-template-columns:1fr}.dash-side{display:none}.dash-main{padding:11px}.dash-widgets{grid-template-columns:1fr}.dash-stats div{padding:7px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.dash-bars i,.dash-ring{animation:none}}

.dash-status { display: inline-flex; align-items: center; gap: 8px; }
.dash-status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.dash-status i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: currentColor; animation: dash-status-ping 1.8s ease-out 2; }
.dash-bars .dash-current-bar { animation: dash-grow .85s ease-out var(--delay) both, dash-bar-pulse 1.8s ease-in-out 1.35s 2; }
@keyframes dash-status-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes dash-bar-pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  .dash-status i::after, .dash-bars .dash-current-bar { animation: none; }
}

.dash-preview { position: relative; max-width: 1160px; margin-top: clamp(28px, 4vw, 52px); }
.dash-bars div { height: clamp(114px, 14vw, 172px); }
.dash-ring { width: clamp(78px, 10vw, 114px); }
.dash-ring::after { inset: 17%; }
.dash-preview:not(.is-animated) .dash-bars i,
.dash-preview:not(.is-animated) .dash-ring,
.dash-preview:not(.is-animated) .dash-status i::after { animation: none; }

@media (prefers-reduced-motion: no-preference) {
  .dash-preview.is-animated { animation: dash-enter .65s ease-out both; }
  .dash-preview.is-animated::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, #8da6ff20 50%, transparent 65%);
    transform: translateX(-100%);
    animation: dash-sweep 1.25s ease-out .15s forwards;
  }
}

@keyframes dash-enter {
  from { opacity: .75; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dash-sweep { to { transform: translateX(100%); } }
