/* ============================================================
   NexoFlow — Seção Hero (Variantes A, B, C)
   ============================================================ */

.hero{position:relative;overflow:hidden}

.badge-new{
  display:inline-flex;align-items:center;gap:9px;
  background:#fff;border:1px solid var(--line);
  padding:6px 14px 6px 7px;border-radius:999px;
  font-size:13.5px;font-weight:600;color:var(--ink-soft);box-shadow:var(--shadow-sm);
}
.badge-new .pill{
  background:var(--blue);color:#fff;font-size:11px;font-weight:700;
  letter-spacing:.04em;padding:4px 9px;border-radius:999px;text-transform:uppercase;
}

.hero-title{font-size:clamp(38px,5.4vw,64px);line-height:1.04;margin:22px 0 0}
.hero-title .hl{color:var(--blue);position:relative}
.hero-sub{font-size:clamp(18px,1.7vw,21px);color:var(--ink-soft);margin-top:22px;max-width:560px;line-height:1.55}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}
.hero-trust{display:flex;align-items:center;gap:14px;margin-top:28px;color:var(--ink-faint);font-size:14px}
.hero-trust .avatars{display:flex}
.hero-trust .avatars i{
  width:30px;height:30px;border-radius:50%;border:2px solid var(--bg);
  margin-left:-9px;background:linear-gradient(135deg,var(--blue-100),var(--blue-500));
}
.hero-trust .avatars i:first-child{margin-left:0}

/* Variante A — Split */
.hero-a .hero-grid{
  display:grid;grid-template-columns:1.05fr .95fr;
  gap:56px;align-items:center;padding:84px 0 96px;
}
@media(max-width:980px){
  .hero-a .hero-grid{ padding:60px 0 72px }
}
@media(max-width:560px){
  .hero-a .hero-grid{ padding:44px 0 56px; gap:32px }
  .hero-title{ font-size:clamp(32px,8vw,48px)!important }
  .hero-sub{ font-size:clamp(16px,4vw,18px)!important }
}

/* Variante B — Centrada + dashboard */
.hero-b .hero-center{padding:88px 0 30px;text-align:center;max-width:840px;margin:0 auto}
.hero-b .hero-sub{margin-left:auto;margin-right:auto}
.hero-b .hero-actions{justify-content:center}
.hero-b .hero-trust{justify-content:center}
.hero-b .dash-wrap{padding-bottom:90px}

/* Variante C — Editorial */
.hero-c .hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:40px;align-items:end;padding:90px 0 0}
.hero-c .hero-title{font-size:clamp(44px,7vw,86px);letter-spacing:-.03em}
.hero-c .edge-metrics{display:grid;gap:14px;padding-bottom:18px}
.hero-c .hero-base{
  border-top:1px solid var(--line);margin-top:64px;padding:30px 0 84px;
  display:flex;flex-wrap:wrap;align-items:center;gap:28px;
}

/* ---------- Fundo decorativo com blobs ---------- */
.nexo-bg{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.9}
.hero .container,.hero .hero-grid,.hero .hero-center{position:relative;z-index:1}
.blob{position:absolute;border-radius:50%;filter:blur(60px);opacity:.5}
.blob.b1{width:420px;height:420px;background:var(--blue-100);top:-120px;right:-80px}
.blob.b2{width:360px;height:360px;background:var(--green-50);bottom:-120px;left:-100px}

/* ---------- Dashboard mockup (placeholder estilizado) ---------- */
.dash{
  background:#fff;border:1px solid var(--line);
  border-radius:18px;box-shadow:var(--shadow-lg);overflow:hidden;
}
.dash-top{
  display:flex;align-items:center;gap:8px;padding:13px 16px;
  border-bottom:1px solid var(--line-soft);background:linear-gradient(#fff,#fbfdff);
}
.dash-top .dots{display:flex;gap:6px}
.dash-top .dots i{width:11px;height:11px;border-radius:50%;background:var(--line)}
.dash-top .dots i:nth-child(1){background:#ff5f57}
.dash-top .dots i:nth-child(2){background:#febc2e}
.dash-top .dots i:nth-child(3){background:#28c840}
.dash-top .dtitle{font-size:12.5px;font-weight:600;color:var(--ink-faint);margin-left:6px}
.dash-body{display:grid;grid-template-columns:62px 1fr;min-height:330px}
.dash-side{
  background:var(--blue);padding:16px 12px;
  display:flex;flex-direction:column;gap:14px;align-items:center;
}
.dash-side .si{width:24px;height:24px;border-radius:7px;background:rgba(255,255,255,.18)}
.dash-side .si.on{background:#fff}
.dash-main{padding:18px;display:flex;flex-direction:column;gap:14px;background:#fbfcfe}
.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.kpi{background:#fff;border:1px solid var(--line-soft);border-radius:12px;padding:13px}
.kpi .lab{font-size:11px;color:var(--ink-faint);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.kpi .val{font-family:var(--font-head),sans-serif;font-weight:800;font-size:23px;margin-top:6px}
.kpi .trend{font-size:11.5px;font-weight:700;margin-top:3px;display:flex;align-items:center;gap:4px}
.kpi .trend.up{color:var(--green-600)}
.kpi .trend.warn{color:#b97608}
.dash-charts{display:grid;grid-template-columns:1.6fr 1fr;gap:12px;flex:1}
.chart-card{
  background:#fff;border:1px solid var(--line-soft);
  border-radius:12px;padding:14px;display:flex;flex-direction:column;
}
.chart-card .ct{font-size:12px;font-weight:700;color:var(--ink-soft);margin-bottom:auto}
.bars{display:flex;align-items:flex-end;gap:9px;height:120px;margin-top:14px}
.bars .bar{flex:1;border-radius:6px 6px 0 0;background:linear-gradient(var(--blue-500),var(--blue));opacity:.9}
.bars .bar.accent{background:linear-gradient(var(--green),var(--green-600))}
.donut{
  width:104px;height:104px;border-radius:50%;margin:8px auto 0;
  background:conic-gradient(var(--blue) 0 62%,var(--green) 62% 84%,var(--orange) 84% 100%);
  display:grid;place-items:center;
}
.donut::after{content:"";width:62px;height:62px;border-radius:50%;background:#fff}
.donut-legend{display:flex;flex-direction:column;gap:6px;margin-top:10px;font-size:11px;color:var(--ink-faint)}
.donut-legend span{display:flex;align-items:center;gap:6px}
.donut-legend i{width:9px;height:9px;border-radius:3px}

/* ---------- Cartões flutuantes de métricas ---------- */
.float-card{
  position:absolute;background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow-lg);padding:13px 16px;
  display:flex;align-items:center;gap:11px;
}
.float-card .ic{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex:none}
.float-card .ft{font-size:12px;color:var(--ink-faint);font-weight:600;white-space:nowrap}
.float-card .fv{font-family:var(--font-head),sans-serif;font-weight:800;font-size:18px;white-space:nowrap}
