/* Versão: 1.02
   Data..: 2026-10-02
   MW-SCAN — Site institucional/comercial. Design system e estilos. */

/* ============ Design tokens ============ */
:root {
  --brand-500: #1e90ff;
  --brand-600: #2563eb;
  --brand-400: #38bdf8;
  --brand-300: #7dd3fc;
  --navy-900: #060b1a;
  --navy-800: #0a1226;
  --navy-700: #0f1b35;
  --navy-600: #152445;
  --silver: #c7d2e0;
  --silver-dim: #8b97ab;
  --text: #e8eefb;
  --text-dim: #9fb0c9;
  --card: rgba(18, 29, 56, 0.72);
  --card-brd: rgba(96, 165, 250, 0.18);
  --ok: #34d399;
  --warn: #fbbf24;
  --crit: #fb7185;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --shadow: 0 20px 60px -20px rgba(2, 10, 30, 0.8);
  --glow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 10px 40px -10px rgba(30, 144, 255, 0.55);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ============ Reset ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--navy-900);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ============ Fundo animado ============ */
.bg-fx {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(30, 144, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(37, 99, 235, 0.14), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800) 40%, var(--navy-900));
}
.bg-fx::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; animation: float 16s ease-in-out infinite; }
.orb.a { width: 380px; height: 380px; background: #1e90ff; top: -80px; right: -60px; }
.orb.b { width: 300px; height: 300px; background: #2563eb; bottom: 10%; left: -80px; animation-delay: -6s; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-40px) translateX(20px); } }

/* ============ Layout utils ============ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--brand-400);
  padding: 6px 14px; border: 1px solid var(--card-brd); border-radius: 999px;
  background: rgba(56, 189, 248, 0.06); margin-bottom: 18px;
}
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 44px); }
.lead { color: var(--text-dim); font-size: clamp(16px, 2vw, 19px); margin-top: 16px; }
.grad { background: linear-gradient(100deg, var(--brand-300), var(--brand-500) 55%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============ Botões ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(56,189,248,.45), 0 16px 50px -12px rgba(30,144,255,.75); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--card-brd); }
.btn-ghost:hover { background: rgba(96,165,250,0.12); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: #06240f; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(37,211,102,.6); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(6, 11, 26, 0.82); backdrop-filter: blur(14px);
  border-bottom-color: var(--card-brd); box-shadow: 0 8px 30px -12px rgba(0,0,0,.5);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--text-dim); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; width: 42px; height: 42px; border-radius: 10px; color: var(--text); align-items: center; justify-content: center; border: 1px solid var(--card-brd); }
.menu-toggle svg { width: 22px; height: 22px; }

/* ============ Hero ============ */
.hero { padding: 150px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); }
.hero .lead { max-width: 540px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--silver); padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--card-brd); }
.pill b { color: var(--brand-400); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { margin-top: 26px; font-size: 13px; color: var(--silver-dim); display: flex; align-items: center; gap: 8px; }

/* Mockup do painel no hero */
.panel-mock {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--card-brd); border-radius: 18px; box-shadow: var(--shadow);
  overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform .5s ease;
}
.panel-mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.pm-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; background: rgba(0,0,0,.25); border-bottom: 1px solid var(--card-brd); }
.pm-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.pm-bar i:nth-child(1){ background:#fb7185; } .pm-bar i:nth-child(2){ background:#fbbf24; } .pm-bar i:nth-child(3){ background:#34d399; }
.pm-bar span { margin-left: 10px; font-size: 12px; color: var(--silver-dim); }
.pm-body { padding: 18px; }
.pm-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.pm-kpi { background: rgba(255,255,255,.03); border: 1px solid var(--card-brd); border-radius: 12px; padding: 12px; }
.pm-kpi small { font-size: 11px; color: var(--silver-dim); text-transform: uppercase; letter-spacing: .5px; }
.pm-kpi b { font-size: 22px; display: block; margin-top: 4px; }
.pm-kpi.ok b { color: var(--ok); } .pm-kpi.warn b { color: var(--warn); } .pm-kpi.crit b { color: var(--crit); }
.pm-rows { display: flex; flex-direction: column; gap: 8px; }
.pm-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,.02); border: 1px solid rgba(96,165,250,.08); border-radius: 10px; font-size: 13px; }
.pm-row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pm-row .dot.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.pm-row .dot.al { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.pm-row .dot.off { background: var(--silver-dim); }
.pm-row .tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.pm-tag-rmm { background: rgba(96,165,250,.15); color:#93c5fd; }
.pm-tag-mon { background: rgba(52,211,153,.15); color:#86efac; }
.pm-tag-scan { background: rgba(244,114,182,.15); color:#f9a8d4; }
.pm-bars { display:flex; gap:6px; margin-top:16px; height: 56px; align-items:flex-end; }
.pm-bars span { flex:1; background: linear-gradient(180deg,var(--brand-400),var(--brand-600)); border-radius:4px 4px 0 0; animation: grow 1.2s ease both; }
@keyframes grow { from { height: 0; } }

/* ============ Logos / stats row ============ */
.stats { padding: 40px 0; border-top: 1px solid var(--card-brd); border-bottom: 1px solid var(--card-brd); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { font-size: clamp(26px, 3.5vw, 40px); display: block; }
.stat small { color: var(--text-dim); font-size: 14px; }

/* ============ Módulos ============ */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module-card {
  background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.module-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.module-card:hover { transform: translateY(-6px); border-color: rgba(56,189,248,.4); box-shadow: var(--shadow); }
.module-card:hover::after { transform: scaleX(1); }
.m-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(30,144,255,.2), rgba(37,99,235,.08));
  border: 1px solid var(--card-brd); margin-bottom: 18px;
}
.m-icon svg { width: 28px; height: 28px; color: var(--brand-400); }
.module-card h3 { font-size: 20px; margin-bottom: 10px; }
.module-card p { color: var(--text-dim); font-size: 15px; }
.m-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.m-list li { display: flex; gap: 9px; font-size: 14px; color: var(--silver); }
.m-list svg { width: 17px; height: 17px; color: var(--ok); flex: none; margin-top: 3px; }
.m-badge { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 7px; background: rgba(52,211,153,.14); color: var(--ok); }

/* ============ Como funciona ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius); padding: 26px; position: relative; }
.step .num {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff;
  font-weight: 800; margin-bottom: 16px; box-shadow: var(--glow);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 14px; }

/* ============ Screenshots / telas ============ */
.shots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot {
  border: 1px solid var(--card-brd); border-radius: var(--radius); overflow: hidden;
  background: var(--navy-800); transition: transform .25s ease, box-shadow .25s ease;
}
.shot:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.shot .cap { padding: 16px 18px; }
.shot .cap b { font-size: 15px; } .shot .cap small { color: var(--text-dim); display: block; font-size: 13px; }
.shot-visual { aspect-ratio: 16/10; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, var(--navy-700), var(--navy-800)); border-bottom: 1px solid var(--card-brd); }

/* mini componentes dentro das telas simuladas */
.mini-bar { display:flex; align-items:center; gap:8px; }
.mini-chip { font-size:10px; padding:3px 7px; border-radius:6px; background:rgba(96,165,250,.14); color:#93c5fd; font-weight:700; }
.mini-line { height: 9px; border-radius: 5px; background: rgba(255,255,255,.06); }
.mini-line.lg { background: linear-gradient(90deg,var(--brand-500),transparent); }
.mini-donut { width:72px; height:72px; border-radius:50%; margin: 6px auto; background: conic-gradient(var(--ok) 0 62%, var(--warn) 62% 82%, var(--crit) 82% 100%); -webkit-mask: radial-gradient(circle 24px at center, transparent 98%, #000 100%); mask: radial-gradient(circle 24px at center, transparent 98%, #000 100%); }
.mini-sev { display:flex; gap:6px; align-items:flex-end; height:60px; }
.mini-sev span { flex:1; border-radius:4px 4px 0 0; }

/* ============ Planos ============ */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand-500); box-shadow: var(--glow); position: relative; }
.plan.featured .flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--brand-500),var(--brand-600)); color:#fff; font-size:12px; font-weight:700; padding:5px 14px; border-radius:999px; }
.plan h3 { font-size: 22px; }
.plan .price { font-size: 15px; color: var(--text-dim); margin: 10px 0 6px; }
.plan .price b { font-size: 34px; color: var(--text); }
.plan ul { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display:flex; gap:9px; font-size:14px; color:var(--silver); }
.plan li svg { width:17px; height:17px; color: var(--ok); flex:none; margin-top:3px; }
.plan .btn { margin-top: auto; }

/* ============ Formulários / cadastro / contato ============ */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--silver); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 11px; background: rgba(255,255,255,.04);
  border: 1px solid var(--card-brd); color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(30,144,255,.18); }
.field input::placeholder, .field textarea::placeholder { color: var(--silver-dim); }
/* Select: seta própria e cores do dropdown (option) legíveis no tema escuro. */
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 40px; cursor: pointer; color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field select option { background: var(--navy-700); color: var(--text); }
.field select option:checked, .field select option:hover { background: var(--brand-600); color: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field.row2 > div { margin: 0; }
.form-note { font-size: 13px; color: var(--silver-dim); margin-top: 10px; }
.form-msg { margin-top: 16px; padding: 13px 16px; border-radius: 11px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: #86efac; }
.form-msg.err { display: block; background: rgba(251,113,133,.12); border: 1px solid rgba(251,113,133,.4); color: #fca5a5; }
.trial-benefits { display: flex; flex-direction: column; gap: 14px; }
.trial-benefits .tb { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.03); border: 1px solid var(--card-brd); border-radius: 12px; padding: 16px; }
.trial-benefits .tb svg { width: 26px; height: 26px; color: var(--brand-400); flex: none; }
.trial-benefits .tb b { display: block; font-size: 15px; } .trial-benefits .tb small { color: var(--text-dim); }

/* ============ Contato ============ */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.contact-card { background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius); padding: 28px; text-align: center; transition: transform .2s, border-color .2s; }
.contact-card:hover { transform: translateY(-5px); border-color: rgba(56,189,248,.4); }
.contact-card .ci { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin: 0 auto 16px; background: linear-gradient(135deg, rgba(30,144,255,.2), rgba(37,99,235,.08)); border: 1px solid var(--card-brd); }
.contact-card .ci svg { width: 28px; height: 28px; color: var(--brand-400); }
.contact-card b { font-size: 17px; display: block; margin-bottom: 6px; }
.contact-card a { color: var(--brand-400); font-weight: 600; word-break: break-word; }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--card-brd); border-radius: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; color: var(--text); padding: 18px 22px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q svg { width: 20px; height: 20px; transition: transform .25s; flex: none; color: var(--brand-400); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }

/* ============ CTA final ============ */
.cta-final { text-align: center; }
.cta-box { background: linear-gradient(135deg, rgba(30,144,255,.14), rgba(37,99,235,.06)); border: 1px solid var(--card-brd); border-radius: 24px; padding: 56px 32px; box-shadow: var(--shadow); }
.cta-box .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--card-brd); padding: 56px 0 30px; background: rgba(6,11,26,.6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 300px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--silver); margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--text-dim); font-size: 14px; transition: color .15s; }
.footer li a:hover { color: var(--brand-400); }
.footer-bottom { border-top: 1px solid var(--card-brd); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--silver-dim); }

/* ============ WhatsApp flutuante ============ */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,.6); animation: pulse 2.4s infinite; }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ============ Responsivo ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .panel-mock { transform: none; order: -1; }
  .modules-grid, .shots-grid, .plans-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 70px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { gap: 0; }
  .mobile-open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: rgba(6,11,26,.97); backdrop-filter: blur(14px); padding: 20px; gap: 18px; border-bottom: 1px solid var(--card-brd); }
  .modules-grid, .shots-grid, .plans-grid, .contact-cards, .stats-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .pm-kpis { grid-template-columns: repeat(2,1fr); }
  .field.row2 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 50px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
