/* ============================================================
   MENU ÁGIL — Components: header, hero, dashboard mockup
   ============================================================ */

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.nav__links { display: flex; gap: 26px; margin-left: 14px; }
.nav__links a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__spacer { flex: 1; }
.nav__cta { display: flex; align-items: center; gap: 10px; }

/* logo */
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; font-size: 19px; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(150deg, var(--primary) 0%, #4f7cf5 60%, #6aa0ff 100%);
  display: grid; place-items: center; box-shadow: var(--sh-primary);
  flex: none;
}
.logo__mark svg { width: 17px; height: 17px; }
.logo b { font-weight: 800; }
.logo span { color: var(--primary); }
.logo--light b { color: #fff; }

.nav__burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 92px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(680px 420px at 8% 8%, rgba(22,163,74,.07), transparent 55%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 56px; align-items: center; }

.hero h1 {
  font-size: clamp(36px, 5.1vw, 62px);
  letter-spacing: -.035em; line-height: 1.02; margin-top: 22px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); margin-top: 22px; max-width: 50ch; line-height: 1.6; }
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.hero__trust .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.hero__trust small { color: var(--ink-3); font-size: 13.5px; }
.hero__trust .sep { width: 1px; height: 26px; background: var(--line-2); }

/* avatars */
.avatars { display: flex; }
.avatars span {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -9px;
  background: var(--bg-soft-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink-2);
}
.avatars span:first-child { margin-left: 0; }

/* ---------- Browser / window chrome (shared by mockups) ---------- */
.win {
  border-radius: var(--r-md); background: #fff; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-lg);
}
.win__bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: #fbfcfe; border-bottom: 1px solid var(--line);
}
.win__dots { display: flex; gap: 6px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #e0e5ee; }
.win__url {
  margin-left: 8px; flex: 1; max-width: 260px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px 11px;
  display: flex; align-items: center; gap: 7px;
}
.win__url svg { width: 11px; height: 11px; color: var(--green); }

/* ---------- Dashboard mockup ---------- */
.dash { display: grid; grid-template-columns: 188px 1fr; min-height: 470px; }
.dash__side { background: #0b1426; padding: 18px 14px; color: var(--on-navy-2); }
.dash__brand { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 800; font-size: 14px; margin: 4px 6px 20px; }
.dash__brand .m {
  width: 24px; height: 24px; border-radius: 7px; flex: none;
  background: linear-gradient(150deg, var(--primary), #6aa0ff); display: grid; place-items: center;
}
.dash__brand .m svg { width: 12px; height: 12px; }
.dash__nav { display: grid; gap: 3px; }
.dash__nav a { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--on-navy-2); }
.dash__nav a svg { width: 15px; height: 15px; opacity: .85; }
.dash__nav a.on { background: rgba(255,255,255,.10); color: #fff; }
.dash__nav a.on svg { opacity: 1; color: #7fb0ff; }

.dash__main { padding: 18px 20px; background: #f7f9fc; }
.dash__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash__head h4 { font-size: 16px; }
.dash__head .right { display: flex; align-items: center; gap: 10px; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.kpi .lbl { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.kpi .val { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 3px; }
.kpi .trend { font-size: 11px; font-weight: 700; margin-top: 3px; display: inline-flex; align-items: center; gap: 3px; }
.kpi .trend.up { color: var(--green); }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kcol { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.kcol__h { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 700; margin-bottom: 9px; color: var(--ink-2); }
.kcol__h .n { background: var(--bg-soft-2); color: var(--ink-2); border-radius: 6px; padding: 1px 7px; font-size: 10.5px; }
.kcol__h .d { width: 7px; height: 7px; border-radius: 50%; }
.korder { background: #fbfcfe; border: 1px solid var(--line); border-radius: 9px; padding: 9px; margin-bottom: 8px; }
.korder:last-child { margin-bottom: 0; }
.korder .t { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; }
.korder .t span { color: var(--ink-3); font-weight: 600; font-family: var(--mono); font-size: 10px; }
.korder .i { font-size: 10.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.korder .meta { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.korder .tag { font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.tag--mesa { background: var(--primary-soft); color: var(--primary-ink); }
.tag--delivery { background: var(--amber-soft); color: var(--amber); }
.korder .time { font-size: 9.5px; color: var(--ink-3); font-family: var(--mono); margin-left: auto; }

/* floating mini-cards on hero mockup */
.floaty {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--sh-md); padding: 12px 14px; z-index: 2;
}
.floaty .row { display: flex; align-items: center; gap: 10px; }
.floaty .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.floaty .ic svg { width: 16px; height: 16px; }
.floaty .big { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.floaty .cap { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.hero__stage { position: relative; min-width: 0; }
.hero__copy { min-width: 0; }
.win { max-width: 100%; }
.dash, .dash__main { min-width: 0; }
.floaty--tl { top: -18px; left: -22px; }
.floaty--br { bottom: -22px; right: -16px; }

@media (max-width: 980px) {
  .floaty { display: none; }
}

/* Painel: cabe em qualquer tela — sidebar oculta e kanban com scroll interno */
@media (max-width: 600px) {
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__main { padding: 16px; }
  .kpis { gap: 8px; }
  .kpi { padding: 11px; }
  .kpi .val { font-size: 19px; }
  .kanban {
    grid-template-columns: repeat(4, minmax(132px, 1fr));
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .kanban::-webkit-scrollbar { display: none; }
}
