/* =================================================================
   Wireframes de simulacao (narrativas) copiados da home (/)
   landing.css (.narrative, .os-mock, .wa-mock, .phone-mock, .ai-mock)
   e landing-2.css (.agenda-mock). Tokens da home com escopo local
   pra nao vazar pro design system da landing (teste-gratis.css).
   ================================================================= */

.narrative, .n-mock {
    --orange: #f97316; --orange-600: #ea580c; --orange-700: #c2410c;
    --orange-50: #fff4ec; --orange-100: #ffe4cc;
    --ink: #0b1220; --ink-2: #1f2937; --ink-3: #374151;
    --muted: #4b5563; --muted-2: #6b7280; --muted-3: #9ca3af;
    --bg-2: #f2f3f7; --border-2: #f1f2f5;
    --blue-50: #eff5ff; --blue-700: #1d4ed8;
    --green-50: #ecfbf4; --green-700: #047857;
    --wa: #25d366; --wa-2: #128c7e;
    --shadow-lg: 0 14px 40px -16px rgba(16,24,40,0.18), 0 2px 8px rgba(16,24,40,0.06);
    --shadow-xl: 0 30px 60px -25px rgba(11,18,32,0.35), 0 6px 16px rgba(11,18,32,0.08);
}
/* =========== NARRATIVE BLOCKS =========== */
.narrative {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.narrative:last-child { margin-bottom: 0; }
.narrative.reverse { direction: rtl; }
.narrative.reverse > * { direction: ltr; }
.narrative-text { max-width: 520px; }
.narrative h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 40px; line-height: 1.08; font-weight: 900; letter-spacing: -0.03em;
  margin: 16px 0 14px; text-wrap: balance;
}
.narrative h2 em { font-style: normal; color: var(--orange); }
.narrative p { font-size: 17px; color: var(--muted); line-height: 1.55; margin: 0 0 24px; }
.narrative .bullets { margin: 0 0 28px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.narrative .bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink-2); font-weight: 600;
}
.narrative .bullets li i {
  color: var(--orange); font-size: 20px; flex-shrink: 0; margin-top: 1px;
}
.narrative .bullets li b { font-weight: 900; color: var(--ink); }

.chip-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-50); color: var(--orange-700);
  padding: 6px 12px 6px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--orange-100);
}
.chip-eyebrow i { font-size: 14px; }

/* =========== NARRATIVE MOCKS =========== */
.n-mock {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}

/* --- Mock 1: Nova OS --- */
.os-mock {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  max-width: 480px; width: 100%;
  overflow: hidden;
  transform: rotate(1deg);
  transition: transform .3s;
}
.os-mock:hover { transform: rotate(0deg); }
.os-mock-head {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2);
}
.os-mock-head .num {
  font-family: 'IBM Plex Mono', monospace; font-weight: 800;
  font-size: 13px; background: #fff; padding: 4px 10px; border-radius: 6px;
  border: 1px solid var(--border); color: var(--ink-2);
}
.os-mock-head .st {
  font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 5px;
  background: var(--orange); color: #fff; text-transform: uppercase; letter-spacing: 0.04em;
}
.os-mock-head .t { margin-left: auto; font-size: 13px; color: var(--muted-2); font-weight: 700; }
.os-mock-body { padding: 20px 22px; }
.os-mock .veh {
  display: flex; align-items: center; gap: 14px; padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.os-mock .veh .vic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center;
}
.os-mock .veh .vic i { font-size: 24px; }
.os-mock .veh .mdl { font-family: 'Satoshi', sans-serif; font-weight: 900; font-size: 16px; letter-spacing: -0.015em; }
.os-mock .veh .cli { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.os-mock .veh .plate {
  font-family: 'IBM Plex Mono', monospace; font-weight: 800; font-size: 12px;
  background: var(--bg-2); padding: 3px 8px; border-radius: 5px;
  margin-left: auto;
}
.os-mock .line {
  display: grid; grid-template-columns: 1fr auto; gap: 10px;
  padding: 11px 8px; margin: 0 -8px; font-size: 14px;
  border-bottom: 1px solid var(--border-2);
  border-radius: 8px;
  cursor: default;
  transition: background .15s;
}
.os-mock .line:last-of-type { border-bottom: 0; }
.os-mock .line:hover { background: #fff9f4; }
.os-mock .line:hover .nm i { color: var(--orange); }
.os-mock .line:hover .vl { color: var(--orange-700, #c2410c); }
.os-mock .line .nm { font-weight: 700; color: var(--ink-2); }
.os-mock .line .nm i { color: var(--muted-3); font-size: 14px; margin-right: 5px; vertical-align: -1px; transition: color .15s; }
.os-mock .line .vl { font-family: 'IBM Plex Mono', monospace; font-weight: 700; color: var(--ink); transition: color .15s; }
.os-mock .total {
  margin-top: 10px; padding: 14px 16px;
  background: var(--ink); color: #fff; border-radius: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.os-mock .total .l { font-size: 12px; color: #9ba3b3; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.os-mock .total .v { font-family: 'Satoshi', sans-serif; font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.os-mock .total .v .rs { font-size: 15px; color: #cbd2de; font-weight: 700; margin-right: 3px; }

/* Floating peça label */
.os-float-tip {
  position: absolute; top: 40px; right: -30px;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: 12px;
  font-size: 12.5px; font-weight: 700; line-height: 1.4;
  box-shadow: var(--shadow-lg);
  max-width: 210px;
  transform: rotate(3deg);
  z-index: 1;
}
.os-float-tip::after {
  content: ''; position: absolute; bottom: 14px; left: -7px;
  width: 0; height: 0;
  border: 7px solid transparent;
  border-right-color: var(--ink);
}
.os-float-tip b { color: var(--orange); }

/* --- Mock 2: WhatsApp conversation --- */
.wa-mock {
  background: #e5ddd5;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.03) 0%, transparent 50%);
  border-radius: 20px;
  padding: 16px;
  max-width: 440px; width: 100%;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.05);
  transform: rotate(-1deg);
  transition: transform .3s;
}
.wa-mock:hover { transform: rotate(0); }
.wa-mock-head {
  display: flex; align-items: center; gap: 10px;
  background: #075e54; color: #fff;
  margin: -16px -16px 14px; padding: 14px 16px;
  border-radius: 20px 20px 0 0;
}
.wa-mock-head .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
}
.wa-mock-head .nm { font-size: 14px; font-weight: 700; }
.wa-mock-head .online { font-size: 11px; color: #d1e7de; margin-top: 1px; }
.wa-mock-head .icons { margin-left: auto; display: flex; gap: 16px; color: #d1e7de; }
.wa-mock-head .icons i { font-size: 17px; }

.wa-bubble {
  background: #fff; padding: 8px 10px 4px;
  border-radius: 8px; font-size: 14px; line-height: 1.4;
  max-width: 85%; margin-bottom: 8px;
  position: relative;
  box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
  color: #111;
}
.wa-bubble.mine { background: #dcf8c6; margin-left: auto; }
.wa-bubble .time {
  display: block; text-align: right;
  font-size: 10.5px; color: rgba(0,0,0,0.45);
  margin-top: 2px;
}
.wa-bubble .time i { font-size: 12px; color: #4fc3f7; margin-left: 2px; vertical-align: -2px; }
.wa-bubble strong { color: var(--ink); }
.wa-bubble .auto-tag {
  display: inline-block; font-size: 9.5px; font-weight: 800;
  background: var(--orange); color: #fff;
  padding: 1px 6px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-left: 4px; vertical-align: 1px;
}

.wa-mock-config {
  position: absolute; top: -28px; right: -24px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  max-width: 240px;
  font-size: 13px;
  transform: rotate(3deg);
  z-index: 2;
}
.wa-mock-config .lbl { font-size: 10.5px; font-weight: 800; color: var(--orange-600); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.wa-mock-config .row-cfg {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; margin: 0 -8px;
  border-radius: 7px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  transition: background .15s;
  cursor: default;
}
.wa-mock-config .row-cfg:hover { background: rgba(37,211,102,0.07); }
.wa-mock-config .row-cfg i { color: var(--green); font-size: 15px; }
.wa-mock-config .row-cfg .vl { margin-left: auto; font-family: 'IBM Plex Mono', monospace; color: var(--muted); font-size: 11.5px; }

/* --- Mock 3: Phone portal --- */
.phone-mock {
  position: relative;
  background: #0b1220;
  border-radius: 32px; padding: 10px;
  max-width: 320px; margin: 0 auto;
  box-shadow: var(--shadow-xl);
}
.phone-mock::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: #0b1220;
  border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen {
  background: #fff; border-radius: 24px; overflow: hidden;
  aspect-ratio: 9/22;
}
/* Hero veiculo (espelha /meu-veiculo) */
.phone-screen .pm-hero {
  background: linear-gradient(135deg, #0b1220 0%, #1f2937 100%);
  padding: 26px 16px 14px; color: #fff;
  position: relative; overflow: hidden;
}
.phone-screen .pm-hero::before {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(249,115,22,0.28), transparent 60%);
  pointer-events: none;
}
.phone-screen .pm-hero > * { position: relative; z-index: 1; }
.phone-screen .pm-plate {
  display: inline-block;
  background: #fff; color: var(--ink);
  padding: 4px 10px; border-radius: 5px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700; font-size: 12px; letter-spacing: 0.05em;
}
.phone-screen .pm-vehicle {
  margin: 8px 0 2px;
  font-family: 'Satoshi', sans-serif;
  font-size: 17px; font-weight: 900;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.phone-screen .pm-sub { opacity: 0.8; font-size: 11px; font-weight: 600; }
.phone-screen .pm-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.phone-screen .pm-stat .l {
  font-size: 8.5px; opacity: 0.65;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 800;
}
.phone-screen .pm-stat .n {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 900; font-size: 13px;
  margin-top: 2px; line-height: 1.1;
}

.phone-screen .pm-body { padding: 10px 10px 14px; }

.phone-screen .pm-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 11px; padding: 10px 11px;
  margin-bottom: 6px;
}
.phone-screen .pm-label {
  font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted-2); font-weight: 800;
  margin-bottom: 7px;
}

/* Saude */
.phone-screen .pm-h-row { display: flex; align-items: center; gap: 9px; }
.phone-screen .pm-h-score {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-family: 'Satoshi', sans-serif;
  font-size: 15px; font-weight: 900;
  flex-shrink: 0;
}
.phone-screen .pm-h-info { flex: 1; min-width: 0; }
.phone-screen .pm-h-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 8.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 2px 7px; border-radius: 100px;
  background: var(--green-50); color: var(--green-700);
}
.phone-screen .pm-h-pill i { font-size: 10px; }
.phone-screen .pm-h-pct {
  font-family: 'Satoshi', sans-serif;
  font-size: 13px; font-weight: 900; letter-spacing: -0.02em;
  margin-top: 2px; color: var(--ink);
}
.phone-screen .pm-h-pct .of { color: var(--muted-2); font-size: 9px; font-weight: 700; }
.phone-screen .pm-h-bar {
  height: 4px; background: #f1f3f5; border-radius: 100px;
  margin-top: 8px; overflow: hidden;
}
.phone-screen .pm-h-bar-fill {
  height: 100%; background: var(--green); border-radius: 100px;
}

/* Mini stats */
.phone-screen .pm-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 6px;
}
.phone-screen .pm-mini-i {
  background: #fff; border: 1px solid var(--border);
  border-radius: 9px; padding: 7px 3px;
  text-align: center;
}
.phone-screen .pm-mini-i i { font-size: 13px; }
.phone-screen .pm-mini-i .v {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 900; font-size: 11px;
  margin-top: 2px; color: var(--ink);
}
.phone-screen .pm-mini-i .l {
  font-size: 7.5px; color: var(--muted-2);
  font-weight: 700; margin-top: 1px;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* Historico */
.phone-screen .pm-hist-row {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
  padding: 5px 4px; margin: 0 -4px;
  border-top: 1px solid var(--border);
  border-radius: 5px;
  transition: background .15s;
  cursor: default;
}
.phone-screen .pm-hist-row:hover { background: #fff9f4; }
.phone-screen .pm-hist-row:first-of-type { border-top: 0; padding-top: 1px; }
.phone-screen .pm-hist-row .t {
  font-size: 10.5px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.25;
}
.phone-screen .pm-hist-row .d {
  font-size: 9px; color: var(--muted-2);
  font-weight: 600; margin-top: 1px;
  font-family: 'IBM Plex Mono', monospace;
}
.phone-screen .pm-hist-row .val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px; font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

/* Phone side cards */
.portal-side {
  position: absolute; top: 40px; left: -60px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  max-width: 200px;
  transform: rotate(-3deg);
  z-index: 1;
}
.portal-side .k { font-size: 10px; color: var(--muted-2); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.portal-side .v { font-family: 'Satoshi', sans-serif; font-size: 20px; font-weight: 900; margin-top: 3px; letter-spacing: -0.02em; }
.portal-side .d { font-size: 11.5px; color: var(--muted); margin-top: 4px; font-weight: 600; line-height: 1.4; }

.portal-side-2 {
  position: absolute; bottom: 80px; right: -50px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  max-width: 200px;
  transform: rotate(3deg);
  display: flex; gap: 10px; align-items: center;
  z-index: 1;
}
.portal-side-2 .ic {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--green-50); color: var(--green-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.portal-side-2 .ic i { font-size: 18px; }
.portal-side-2 .ti { font-size: 12.5px; font-weight: 800; letter-spacing: -0.01em; }
.portal-side-2 .sb { font-size: 11px; color: var(--muted-2); font-weight: 600; margin-top: 1px; }

/* --- Mock 5: Assistente de IA (voz -> IA -> OS) --- */
.ai-mock {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  max-width: 430px; width: 100%;
  padding: 20px;
  transform: rotate(-1deg);
  transition: transform .3s;
}
.ai-mock:hover { transform: rotate(0deg); }

.ai-voice-cap {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #f5f3ff, #faf5ff);
  border: 1px solid #ede9fe; border-radius: 14px;
  padding: 14px 16px;
}
.ai-mic {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff;
  display: grid; place-items: center; font-size: 20px;
  box-shadow: 0 6px 16px rgba(124,58,237,.35);
  animation: aiMicPulse 1.8s infinite;
}
@keyframes aiMicPulse {
  0%,100% { box-shadow: 0 6px 16px rgba(124,58,237,.35); }
  50% { box-shadow: 0 6px 16px rgba(124,58,237,.35), 0 0 0 8px rgba(124,58,237,.08); }
}
.ai-wave { display: flex; align-items: center; gap: 4px; flex: 1; height: 32px; }
.ai-wave span {
  display: block; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  animation: aiWave 1.1s ease-in-out infinite;
}
.ai-wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.ai-wave span:nth-child(2) { height: 70%; animation-delay: .1s; }
.ai-wave span:nth-child(3) { height: 100%; animation-delay: .2s; }
.ai-wave span:nth-child(4) { height: 55%; animation-delay: .3s; }
.ai-wave span:nth-child(5) { height: 85%; animation-delay: .4s; }
.ai-wave span:nth-child(6) { height: 40%; animation-delay: .5s; }
.ai-wave span:nth-child(7) { height: 75%; animation-delay: .6s; }
.ai-wave span:nth-child(8) { height: 35%; animation-delay: .7s; }
@keyframes aiWave { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.ai-voice-state {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700;
  color: #7c3aed; white-space: nowrap;
}

.ai-said {
  margin: 14px 4px 0; font-size: 14.5px; font-weight: 700; color: var(--ink-2);
  font-style: italic; line-height: 1.45;
}

.ai-divider {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 16px 0 14px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; color: #7c3aed;
}
.ai-divider::before, .ai-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, #e9d5ff);
}
.ai-divider::after { background: linear-gradient(90deg, #e9d5ff, transparent); }
.ai-divider i { font-size: 14px; }

.ai-result { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ai-res-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.ai-res-head .ai-veh {
  font-size: 13px; font-weight: 800; color: var(--ink-2);
  display: flex; align-items: center; gap: 6px;
}
.ai-res-head .ai-veh i { color: #7c3aed; font-size: 16px; }
.ai-res-head .ai-veh b { font-weight: 600; color: var(--muted); }
.ai-res-head .ai-plate {
  margin-left: auto;
  font-family: 'IBM Plex Mono', monospace; font-weight: 800; font-size: 11px;
  background: #fff; border: 1px solid var(--border); padding: 3px 8px; border-radius: 5px;
}
.ai-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; font-size: 14px; font-weight: 700; color: var(--ink-2);
  border-bottom: 1px solid var(--border-2);
}
.ai-item i { color: var(--green, #10b981); font-size: 16px; }
.ai-item span { flex: 1; }
.ai-item b { font-family: 'IBM Plex Mono', monospace; font-weight: 700; color: var(--ink); }
.ai-total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px; background: var(--ink); color: #fff;
}
.ai-total span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ba3b3; }
.ai-total b { font-family: 'Satoshi', sans-serif; font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.ai-total b i { font-style: normal; font-size: 14px; color: #cbd2de; margin-right: 3px; }

/* ==================== NCM AUTOMÁTICO MOCK (narrativa 6) ==================== */
.ncm-mock {
  background: #fff; border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  max-width: 430px; width: 100%;
  padding: 20px;
  transform: rotate(1deg);
  transition: transform .3s;
}
.ncm-mock:hover { transform: rotate(0deg); }

.ncm-field { margin: 2px 2px 4px; }
.ncm-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2, #9ca3af);
  margin-bottom: 8px;
}
.ncm-input {
  display: flex; align-items: center; gap: 10px;
  background: #f5f3ff; border: 1px solid #ede9fe; border-radius: 12px;
  padding: 13px 14px;
}
.ncm-input i { color: #7c3aed; font-size: 18px; }
.ncm-input span { font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.ncm-caret {
  width: 2px; height: 17px; background: #7c3aed; border-radius: 2px;
  margin-left: -4px; animation: ncmCaret 1.1s step-end infinite;
}
@keyframes ncmCaret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.ncm-result { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.ncm-code-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.ncm-code-ic {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff;
  display: grid; place-items: center; font-size: 20px;
  box-shadow: 0 6px 14px rgba(124,58,237,.30);
}
.ncm-code-info { flex: 1; min-width: 0; }
.ncm-code {
  font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 800;
  color: var(--ink); letter-spacing: .01em;
}
.ncm-desc {
  font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ncm-tag {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  font-size: 11px; font-weight: 800; color: #7c3aed;
  background: #f5f3ff; border: 1px solid #ede9fe; border-radius: 100px;
  padding: 4px 9px;
}
.ncm-tag i { font-size: 12px; }
.ncm-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; font-size: 13px; font-weight: 700; color: var(--ink-2);
}
.ncm-foot i { color: var(--green, #10b981); font-size: 16px; }

/* ==================== AGENDA + PREVISÃO MOCK (narrativa 4) ==================== */
.agenda-mock {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.agenda-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-2, #f1f3f5);
}
.agenda-head .t { font-size: 16px; font-weight: 800; color: var(--ink, #111827); letter-spacing: -0.01em; }
.agenda-head .s { font-size: 12px; color: var(--muted-2, #9ca3af); margin-top: 2px; font-weight: 600; }
.agenda-tabs { display: inline-flex; background: #f4f5f7; border-radius: 100px; padding: 3px; }
.agenda-tabs .tab { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px; color: var(--muted, #6b7280); }
.agenda-tabs .tab.on { background: #fff; color: var(--ink, #111827); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }

.agenda-week-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px;
  padding: 12px 18px;
}
.agenda-week-strip .d { text-align: center; padding: 8px 4px; border-radius: 10px; background: #fafbfc; border: 1px solid transparent; }
.agenda-week-strip .d .dow { display: block; font-size: 10px; font-weight: 700; color: var(--muted-2, #9ca3af); text-transform: uppercase; letter-spacing: 0.06em; }
.agenda-week-strip .d .dn { display: block; font-size: 16px; font-weight: 800; color: var(--ink, #111827); font-family: 'IBM Plex Mono', monospace; margin-top: 2px; }
.agenda-week-strip .d.on { background: #fff7ed; border-color: #fed7aa; }
.agenda-week-strip .d.on .dow,
.agenda-week-strip .d.on .dn { color: #ea580c; }

.agenda-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 0 18px 12px;
}
.agenda-kpis .ak { background: #fafbfc; border-radius: 10px; padding: 10px 12px; }
.agenda-kpis .akl { font-size: 10.5px; font-weight: 700; color: var(--muted-2, #9ca3af); text-transform: uppercase; letter-spacing: 0.05em; }
.agenda-kpis .akv { font-size: 14px; font-weight: 800; color: var(--ink, #111827); font-family: 'IBM Plex Mono', monospace; margin-top: 3px; }
.agenda-kpis .akv.green { color: #047857; }

.agenda-slots {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border-2, #f1f3f5);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 60%);
}
.agenda-slots .slot-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-2, #f1f3f5);
}
.agenda-slots .slot-row:last-child { border-bottom: 0; }
.agenda-slots .hr { width: 44px; flex-shrink: 0; font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 700; color: var(--muted, #6b7280); }
.agenda-slots .appt {
  flex: 1; display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  background: #fff; border: 1.5px solid var(--border-2, #f1f3f5);
  border-left-width: 4px;
}
.agenda-slots .appt.blue   { border-left-color: #3b82f6; background: linear-gradient(90deg, #eff6ff 0%, #fff 30%); }
.agenda-slots .appt.green  { border-left-color: #10b981; background: linear-gradient(90deg, #ecfdf5 0%, #fff 30%); }
.agenda-slots .appt.yellow { border-left-color: #f59e0b; background: linear-gradient(90deg, #fffbeb 0%, #fff 30%); }
.agenda-slots .appt .ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: #fff; border: 1px solid var(--border, #e5e7eb); flex-shrink: 0; }
.agenda-slots .appt.blue   .ic { color: #3b82f6; }
.agenda-slots .appt.green  .ic { color: #10b981; }
.agenda-slots .appt.yellow .ic { color: #f59e0b; }
.agenda-slots .appt .ic i { font-size: 16px; }
.agenda-slots .appt .info { flex: 1; min-width: 0; }
.agenda-slots .appt .info .ti { font-size: 13px; font-weight: 700; color: var(--ink, #111827); line-height: 1.2; }
.agenda-slots .appt .info .sb { font-size: 11.5px; color: var(--muted, #6b7280); margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.agenda-slots .appt .info .sb .pl { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 700; color: var(--ink-2, #374151); background: #f4f5f7; padding: 2px 6px; border-radius: 4px; }
.agenda-slots .appt .info .sb .pend { background: #fef3c7; color: #92400e; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 100px; }
.agenda-slots .appt .val { font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 800; color: var(--ink, #111827); flex-shrink: 0; }
.agenda-slots .empty { flex: 1; padding: 9px 12px; border-radius: 10px; border: 1.5px dashed #e5e7eb; background: transparent; color: var(--muted-2, #9ca3af); font-size: 12px; font-weight: 600; text-align: center; }

/* Card flutuante: previsão da semana */
.agenda-forecast {
  position: absolute; top: -34px; right: -28px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(249,115,22,0.35), 0 2px 8px rgba(15,23,42,0.1);
  transform: rotate(3deg);
  z-index: 3;
  min-width: 200px;
}
.agenda-forecast .lbl { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.9; }
.agenda-forecast .lbl i { font-size: 12px; }
.agenda-forecast .big { font-family: 'IBM Plex Mono', monospace; font-size: 28px; font-weight: 800; line-height: 1.1; margin-top: 4px; letter-spacing: -0.02em; }
.agenda-forecast .big .rs { font-size: 16px; opacity: 0.85; margin-right: 3px; }
.agenda-forecast .sub { font-size: 11.5px; font-weight: 600; margin-top: 5px; opacity: 0.92; }
.agenda-forecast .up { background: rgba(255,255,255,0.18); padding: 1px 7px; border-radius: 100px; font-weight: 800; }

/* Side tip */
.agenda-side-tip {
  position: absolute; bottom: -26px; left: -22px;
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 8px 24px rgba(15,23,42,0.10);
  transform: rotate(-2deg);
  z-index: 2;
  max-width: 240px;
}
.agenda-side-tip .ic { width: 36px; height: 36px; border-radius: 10px; background: #fef3c7; color: #d97706; display: grid; place-items: center; flex-shrink: 0; }
.agenda-side-tip .ic i { font-size: 18px; }
.agenda-side-tip .ti { font-size: 13px; font-weight: 800; color: var(--ink, #111827); }
.agenda-side-tip .sb { font-size: 11px; color: var(--muted, #6b7280); font-weight: 600; margin-top: 1px; }

/* RESPONSIVO (espelha o comportamento da home) */
@media (max-width: 980px) {
    .narrative { grid-template-columns: 1fr; gap: 40px; margin-bottom: 72px; }
    .narrative.reverse { direction: ltr; }
    .narrative h2 { font-size: 30px; }
    .n-mock { min-height: 0; }
    .os-float-tip, .wa-mock-config, .portal-side, .portal-side-2,
    .agenda-forecast, .agenda-side-tip { display: none; }
}