/* ==========================================================================
   Condo - por Iter Labs - demonstrativo comercial (v4)
   Tema CLARO. Fundo = os proprios prints do painel, trocando por secao com
   animacao (slide up / dive in / slide left). Bot do hero INTERATIVO e maior.
   "WhatsApp" na cor verde do WhatsApp, mesma fonte do titulo, sem glow.
   ========================================================================== */

:root {
  --bg: #e8edf7;
  --text: #101d3d;
  --text-soft: #45527a;
  --text-mute: #79839f;
  --panel: rgba(255,255,255,0.80);
  --panel-solid: #ffffff;
  --border: rgba(20,38,86,0.10);
  --border-strong: rgba(20,38,86,0.20);
  --blue: #2f6bff;
  --blue-glow: #4f80ff;
  --blue-deep: #16307a;
  --wa-green: #1fab53;
  --green: #1eaa5c;
  --shadow: 0 26px 64px rgba(22,44,110,0.16);
  --shadow-sm: 0 10px 30px rgba(22,44,110,0.10);
  --maxw: 1200px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1360px; }

/* ---------- FUNDO: prints trocando por secao ---------- */
.bgstage { position: fixed; inset: 0; z-index: -3; overflow: hidden; background: var(--bg); }
.bglayer { position: absolute; inset: -40px; background-size: cover; background-position: center top; opacity: 0; filter: blur(2.5px) brightness(1.05) saturate(1.02); transform: scale(1.08); transition: opacity 1.05s ease, transform 1.25s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.bglayer.active { opacity: 0.6; }
.bgscrim { position: fixed; inset: 0; z-index: -2; pointer-events: none; background:
  radial-gradient(120% 80% at 50% 0%, rgba(232,237,247,0.5), rgba(232,237,247,0.78) 70%),
  linear-gradient(rgba(232,237,247,0.55), rgba(232,237,247,0.82)); }
.bgscrim::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(47,107,255,0.05) 1px, transparent 1px); background-size: 46px 46px; opacity: .5; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.05; font-weight: 650; color: var(--text); }
.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; }
.display em { font-style: normal; color: var(--wa-green); }   /* WhatsApp: mesma fonte, verde, sem glow */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px rgba(47,107,255,0.6); }
p { margin: 0; }
.lead { color: var(--text-soft); font-size: 1.12rem; text-align: justify; text-justify: inter-word; hyphens: auto; }

/* ---------- Nav ---------- */
header.nav { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(16px); background: rgba(255,255,255,0.72); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand .mark { width: 32px; height: 32px; flex: none; }
.brand .by { color: var(--text-mute); font-weight: 500; font-size: 0.82rem; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text-soft); font-size: 0.92rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 880px) { .nav-links .hide-sm { display: none; } }

/* ---------- Botoes ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; justify-content: center; font-family: inherit; font-size: 0.98rem; font-weight: 600; cursor: pointer; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s, box-shadow .25s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: #fff; border: none; background: linear-gradient(180deg, var(--blue-glow), var(--blue)); box-shadow: 0 10px 30px rgba(47,107,255,0.35); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(47,107,255,0.5); }
.btn-ghost { color: var(--text); background: var(--panel); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: #fff; }
.btn-sm { padding: 9px 17px; font-size: 0.88rem; }

/* ---------- Secoes ---------- */
section { position: relative; padding: 118px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 16px 0 18px; }
.section-head p { color: var(--text-soft); font-size: 1.08rem; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 40px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 56px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); margin: 22px 0 24px; }
.hero .lead { font-size: 1.2rem; max-width: 34ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof { display: flex; gap: 34px; margin-top: 42px; flex-wrap: wrap; }
.hero-proof .num { font-family: var(--font-display); font-size: 1.9rem; color: var(--text); line-height: 1; }
.hero-proof .lbl { font-size: 0.8rem; color: var(--text-mute); margin-top: 4px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero .lead { max-width: none; } .phone-stage { order: -1; } }

/* ---------- Phone / bot-sim (MAIOR, estatico, interativo) ---------- */
.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-col { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.phone-stage::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,0.16), transparent 66%); filter: blur(16px); z-index: 0; }
.phone { position: relative; z-index: 1; width: 356px; height: 730px; border-radius: 48px; background: #0b141a; border: 11px solid #0f1720; box-shadow: 0 50px 100px rgba(20,40,90,0.35), 0 0 0 1px rgba(20,40,90,0.08); overflow: hidden; display: flex; flex-direction: column; }
.phone .wa-header { display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: #1f2c33; color: #e9edef; flex: none; }
.wa-header .avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--blue), var(--blue-glow)); display: flex; align-items: center; justify-content: center; }
.wa-header .who { display: flex; flex-direction: column; line-height: 1.2; }
.wa-header .who .name { font-weight: 600; font-size: 0.98rem; }
.wa-header .who .status { font-size: 0.74rem; color: #8fa3ad; }
.wa-header .spacer { flex: 1; }
.wa-body { flex: 1; overflow-y: auto; padding: 16px 13px 20px; display: flex; flex-direction: column; gap: 7px; background-color: #0b141a; background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px); background-size: 18px 18px; scrollbar-width: thin; scrollbar-color: #2a3942 transparent; }
.wa-body::-webkit-scrollbar { width: 5px; }
.wa-body::-webkit-scrollbar-thumb { background: #2a3942; border-radius: 3px; }
.bubble { max-width: 82%; padding: 8px 11px 9px; border-radius: 10px; font-size: 0.9rem; line-height: 1.42; color: #e9edef; white-space: pre-wrap; animation: pop .22s ease both; box-shadow: 0 1px 1px rgba(0,0,0,0.2); word-wrap: break-word; }
.bubble.in { align-self: flex-start; background: #202c33; border-top-left-radius: 3px; }
.bubble.out { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.bubble .t { font-size: 0.64rem; color: rgba(233,237,239,0.5); float: right; margin: 6px 0 -2px 8px; }
.bubble .tick { font-size: 0.62rem; color: #53bdeb; float: right; margin: 7px 0 -2px 4px; }
.bubble b, .bubble strong { font-weight: 700; }
.bubble .head-line { font-size: 0.74rem; color: #8fa3ad; margin-bottom: 4px; font-weight: 600; }
.wa-listbtn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: #25d366; background: #202c33; padding: 7px 13px; border-radius: 8px; border-top-left-radius: 3px; animation: pop .22s ease both; }
.wa-options { display: flex; flex-direction: column; gap: 5px; align-self: stretch; margin-top: 1px; }
.wa-opt { background: #202c33; color: #53bdeb; border: none; text-align: center; padding: 11px; border-radius: 9px; font-size: 0.87rem; font-weight: 500; font-family: inherit; animation: pop .22s ease both; box-shadow: 0 1px 1px rgba(0,0,0,0.2); transition: background .15s, box-shadow .2s; }
.wa-opt.list { text-align: left; color: #e9edef; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-left: 3px solid #25d366; }
.wa-opt.list .meta { color: #8fa3ad; font-size: 0.76rem; white-space: nowrap; }
.wa-opt .ic { margin-right: 6px; }
.wa-opt.tap { cursor: pointer; box-shadow: 0 0 0 2px rgba(37,211,102,0.55); animation: tappulse 1.5s infinite; }
.wa-opt.tap:hover { background: #26343d; }
@keyframes tappulse { 0%,100% { box-shadow: 0 0 0 2px rgba(37,211,102,0.4); } 50% { box-shadow: 0 0 0 5px rgba(37,211,102,0.10); } }
.wa-opt.chosen { background: #005c4b; color: #fff; box-shadow: none; }
.wa-typing { align-self: flex-start; background: #202c33; padding: 11px 13px; border-radius: 10px; border-top-left-radius: 3px; }
.wa-typing span { display: inline-block; width: 6px; height: 6px; margin: 0 1px; border-radius: 50%; background: #8696a0; animation: blink 1.2s infinite; }
.wa-typing span:nth-child(2) { animation-delay: .2s; } .wa-typing span:nth-child(3) { animation-delay: .4s; }
.pix-card { align-self: flex-start; max-width: 88%; background: #202c33; border-radius: 10px; border-top-left-radius: 3px; padding: 11px; animation: pop .22s ease both; }
.pix-card .qr { width: 104px; height: 104px; margin: 2px auto 8px; border-radius: 6px; background: #fff; padding: 6px; }
.pix-card .code { font-size: 0.64rem; color: #8fa3ad; word-break: break-all; background: #0b141a; padding: 6px 8px; border-radius: 6px; font-family: ui-monospace, monospace; }
.pix-card .copy { margin-top: 8px; text-align: center; color: #25d366; font-size: 0.82rem; font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%,60%,100% { opacity: .35; } 30% { opacity: 1; } }
.sim-tabs { display: flex; gap: 6px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.sim-tab { font-family: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; padding: 9px 16px; border-radius: 999px; color: var(--text-soft); background: var(--panel); border: 1px solid var(--border-strong); transition: all .18s; }
.sim-tab[aria-selected="true"] { color: #fff; background: var(--wa-green); border-color: transparent; }
.sim-hint { text-align: center; margin-top: 14px; font-size: 0.82rem; color: var(--text-mute); }
.sim-hint b { color: var(--wa-green); font-weight: 600; }

/* ---------- STATEMENT / DOR ---------- */
.statement { text-align: center; }
.statement h2 { font-size: clamp(2.2rem, 6vw, 4rem); max-width: 15ch; margin: 0 auto 56px; }
.pains { display: flex; flex-direction: column; gap: 8px; max-width: 900px; margin: 0 auto; }
.pain-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding: 22px 0; border-top: 1px solid var(--border-strong); }
.pain-line:last-child { border-bottom: 1px solid var(--border-strong); }
.pain-line .before { text-align: right; color: var(--text-mute); font-size: clamp(1rem,2vw,1.35rem); }
.pain-line .arrow { width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; color: var(--blue); flex: none; }
.pain-line .after { text-align: left; color: var(--text); font-weight: 650; font-size: clamp(1rem,2vw,1.35rem); }
@media (max-width: 720px) { .pain-line { grid-template-columns: 1fr; gap: 8px; text-align: center; } .pain-line .before, .pain-line .after { text-align: center; } .pain-line .arrow { margin: 4px auto; transform: rotate(90deg); } }

/* ---------- Painel interativo (demo do sistema) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split .tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.split h3 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 12px 0 20px; font-family: var(--font-display); font-weight: 500; }
.split ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.split li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 1rem; }
.split li .chk { color: var(--green); flex: none; margin-top: 3px; font-weight: 700; }
.badge-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 0.85rem; font-weight: 600; color: var(--green); }
.badge-live .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(30,170,92,0.6); animation: ring 1.8s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(30,170,92,0.5); } 100% { box-shadow: 0 0 0 14px rgba(30,170,92,0); } }

.pdemo { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-strong); background: #fff; box-shadow: var(--shadow); }
.pdemo .bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #f2f5fb; border-bottom: 1px solid var(--border); }
.pdemo .dots { display: flex; gap: 6px; }
.pdemo .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.pdemo .dots i:nth-child(1){background:#ff5f57;} .pdemo .dots i:nth-child(2){background:#febc2e;} .pdemo .dots i:nth-child(3){background:#28c840;}
.pdemo .url { flex: 1; margin-left: 8px; background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 5px 12px; font-size: 0.74rem; color: var(--text-mute); }
.pdemo-tabs { display: flex; gap: 4px; padding: 10px 12px 0; background: #fff; flex-wrap: wrap; }
.pdemo-tab { font-family: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; padding: 8px 14px; border: none; background: transparent; color: var(--text-mute); border-radius: 8px 8px 0 0; transition: all .15s; }
.pdemo-tab:hover { color: var(--text); background: #f2f5fb; }
.pdemo-tab[aria-selected="true"] { color: var(--blue); background: #eef3ff; }
.pdemo-screen { position: relative; height: 400px; overflow: hidden; background: #fff; border-top: 1px solid var(--border); }
.pdemo-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .45s ease, transform .5s ease; transform: scale(1.02); }
.pdemo-screen img.on { opacity: 1; transform: scale(1); }

/* ---------- MODULES ---------- */
.mods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .mods-grid { grid-template-columns: 1fr; } }
.mtile { position: relative; padding: 30px 26px; border-radius: 18px; background: var(--panel); backdrop-filter: blur(6px); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.mtile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mtile .glyph { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; background: linear-gradient(135deg, #eaf0ff, #dbe6ff); border: 1px solid var(--border); }
.mtile h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.mtile p { color: var(--text-soft); font-size: 0.95rem; text-align: justify; }
.mtile .status { position: absolute; top: 26px; right: 24px; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--green); }
.mtile .surfaces { display: flex; gap: 7px; margin-top: 16px; flex-wrap: wrap; }
.mtile .surf { font-size: 0.7rem; color: var(--text-mute); border: 1px solid var(--border-strong); border-radius: 7px; padding: 3px 9px; }
.mtile .surf b { color: var(--text-soft); font-weight: 600; }

/* ---------- PERSONAS ---------- */
.personas { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 880px) { .personas { grid-template-columns: 1fr; } }
.persona { padding: 34px 28px; border-radius: 18px; background: var(--panel); backdrop-filter: blur(6px); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.persona .em { font-size: 2rem; }
.persona h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.persona p { color: var(--text-soft); font-size: 0.96rem; text-align: justify; }

/* ---------- ROADMAP ---------- */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
@media (max-width: 880px) { .timeline { grid-template-columns: 1fr 1fr; } }
.phase { padding: 20px 16px; border-radius: 14px; background: var(--panel); backdrop-filter: blur(6px); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.phase .q { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-mute); }
.phase h4 { margin: 8px 0 4px; font-size: 1rem; }
.phase small { color: var(--text-soft); font-size: 0.82rem; }
.phase.done { border-color: rgba(30,170,92,0.5); } .phase.done .q { color: var(--green); }
.phase.now { border-color: rgba(47,107,255,0.5); box-shadow: 0 0 34px rgba(47,107,255,0.14); } .phase.now .q { color: var(--blue); }

/* ---------- CTA ---------- */
.cta-final { text-align: center; }
.cta-final .card { max-width: 820px; margin: 0 auto; background: var(--panel); backdrop-filter: blur(8px); border: 1px solid var(--border-strong); border-radius: 24px; padding: 60px 40px; box-shadow: var(--shadow); }
.cta-final h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 16ch; margin: 0 auto 18px; }
.cta-final p { color: var(--text-soft); max-width: 540px; margin: 0 auto 30px; font-size: 1.08rem; }
.cta-final .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); padding: 48px 0; background: rgba(255,255,255,0.5); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-inner .muted { color: var(--text-mute); font-size: 0.85rem; }
.foot-links { display: flex; gap: 20px; font-size: 0.9rem; color: var(--text-soft); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bglayer { transition: opacity .3s; transform: none !important; }
}

/* ---------- pdemo: largura cheia, sem corte ---------- */
.pdemo { max-width: 1040px; margin: 0 auto; }
.pdemo-screen { height: auto; aspect-ratio: 2368 / 1180; }
.pdemo-feats { max-width: 1040px; margin: 24px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px 30px; }
.feat { display: flex; gap: 10px; align-items: flex-start; color: var(--text-soft); font-size: .96rem; }
.feat .chk { color: var(--green); font-weight: 700; flex: none; }

/* ---------- Dashboard interativo ---------- */
.dash-frame { max-width: 1080px; margin: 0 auto; }
.dash { background: #fff; padding: 20px 24px 26px; }
.dash-top { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-bottom:16px; border-bottom:1px solid var(--border); }
.dash-switch { display:flex; gap:4px; background:#eef2fb; padding:4px; border-radius:10px; }
.dash-switch button { font-family:inherit; font-size:.85rem; font-weight:600; cursor:pointer; border:none; background:transparent; color:var(--text-mute); padding:7px 14px; border-radius:7px; transition:all .15s; }
.dash-switch button.on { background:#fff; color:var(--blue); box-shadow:0 1px 4px rgba(20,40,90,.12); }
.dash-user { font-size:.85rem; color:var(--text-soft); display:flex; align-items:center; gap:8px; }
.dash-user .av { width:26px;height:26px;border-radius:50%;background:#e6edff;color:var(--blue);font-weight:700;display:flex;align-items:center;justify-content:center;font-size:.8rem; }
.dash-user .rl { color:var(--text-mute); }
.dash-head { margin:18px 0 16px; }
.dash-head h4 { font-size:1.35rem; color:var(--text); }
.dash-head .dash-month { color:var(--text-mute); font-weight:500; }
.dash-head p { color:var(--text-mute); font-size:.9rem; margin-top:3px; }
.kpi-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
@media (max-width:760px){ .kpi-grid{ grid-template-columns:1fr 1fr; } }
.kpi { text-align:left; font-family:inherit; cursor:pointer; background:#fbfcfe; border:1px solid var(--border); border-radius:14px; padding:15px 16px; transition:transform .15s, box-shadow .2s, border-color .2s; }
.kpi:hover{ transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.kpi.sel{ border-color:var(--blue); box-shadow:0 0 0 2px rgba(47,107,255,.16); }
.kpi-label{ font-size:.74rem; color:var(--text-mute); font-weight:600; }
.kpi-value{ font-size:1.55rem; font-weight:700; color:var(--text); margin:6px 0 2px; letter-spacing:-.02em; }
.kpi-sub{ font-size:.72rem; color:var(--text-soft); }
.kpi-warn .kpi-value{ color:#e0603a; }
.kpi-ok .kpi-value{ color:var(--green); }
.dash-lower, .dash-lower2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:14px; }
.dash-lower { grid-template-columns:1.15fr .85fr; }
@media (max-width:820px){ .dash-lower,.dash-lower2{ grid-template-columns:1fr; } }
.dash-card { border:1px solid var(--border); border-radius:14px; padding:16px; background:#fff; }
.dash-card-head { display:flex; align-items:center; justify-content:space-between; font-size:.85rem; color:var(--text-soft); font-weight:600; margin-bottom:14px; gap:8px; flex-wrap:wrap; }
.dash-card-head b { color:var(--text-mute); font-weight:600; }
.bud-legend { font-size:.7rem; color:var(--text-mute); font-weight:500; display:inline-flex; align-items:center; gap:6px; }
.bud-legend i { display:inline-block; width:10px; height:10px; border-radius:3px; }
.bud-legend .lg-real { background:var(--blue); }
.bud-legend .lg-prev { width:2px; height:12px; background:var(--text-mute); border-radius:2px; }
.budget { display:flex; flex-direction:column; gap:12px; }
.bud-row { display:grid; grid-template-columns: 116px 1fr auto; align-items:center; gap:12px; }
.bud-label { font-size:.8rem; color:var(--text-soft); }
.bud-track { position:relative; height:9px; background:#eef2fb; border-radius:6px; }
.bud-real { position:absolute; left:0; top:0; bottom:0; background:var(--blue); border-radius:6px; transition:width .7s cubic-bezier(.2,.7,.2,1); }
.bud-real.over { background:#e0603a; }
.bud-mark { position:absolute; top:-3px; width:2px; height:15px; background:var(--text-mute); border-radius:2px; }
.bud-val { font-size:.75rem; color:var(--text); font-weight:600; white-space:nowrap; }
.bud-val small { color:var(--text-mute); font-weight:500; }
.seg { display:flex; gap:2px; background:#eef2fb; padding:3px; border-radius:8px; }
.seg button { font-family:inherit; font-size:.72rem; font-weight:600; cursor:pointer; border:none; background:transparent; color:var(--text-mute); padding:5px 10px; border-radius:6px; }
.seg button.on { background:#fff; color:var(--blue); box-shadow:0 1px 3px rgba(20,40,90,.12); }
.bars { display:flex; align-items:flex-end; gap:6px; height:150px; }
.bar-col { flex:1; display:flex; flex-direction:column; align-items:center; height:100%; justify-content:flex-end; }
.bar-track { width:100%; height:100%; display:flex; align-items:flex-end; }
.bar-fill { width:100%; max-width:30px; margin:0 auto; background:linear-gradient(180deg,var(--blue-glow),var(--blue)); border-radius:5px 5px 0 0; position:relative; transition:height .7s cubic-bezier(.2,.7,.2,1); cursor:pointer; }
.bar-fill:hover{ filter:brightness(1.12); }
.bar-val { position:absolute; top:-24px; left:50%; transform:translateX(-50%); background:var(--text); color:#fff; font-size:.62rem; padding:3px 6px; border-radius:6px; white-space:nowrap; opacity:0; transition:opacity .15s; pointer-events:none; }
.bar-fill:hover .bar-val { opacity:1; }
.bar-m { font-size:.64rem; color:var(--text-mute); margin-top:6px; }
.op-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.op { background:#fbfcfe; border:1px solid var(--border); border-radius:12px; padding:12px 14px; }
.op .n { font-size:1.5rem; font-weight:700; color:var(--text); letter-spacing:-.02em; }
.op .l { font-size:.72rem; color:var(--text-mute); margin-top:2px; }
.dash-act { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.dash-act li { display:flex; gap:10px; align-items:flex-start; }
.dash-act .a-ic { font-size:1.05rem; flex:none; }
.dash-act .a-tx { display:flex; flex-direction:column; }
.dash-act .a-tx b { font-size:.82rem; color:var(--text); font-weight:600; }
.dash-act .a-tx small { font-size:.75rem; color:var(--text-mute); }
