/* VirtualDesk · tokens da marca (azul da logo) */
:root {
  --vv-primary: #2563eb; --vv-primary-dark: #1d4ed8; --vv-primary-ink: #fff;
  --vv-accent: #22d3ee; --vv-bg: #f4f7fc; --vv-surface: #fff; --vv-ink: #1c2422; --vv-muted: #5b6b66;
  --vv-line: #dbe3f0; --vv-panel: #0b1220; --vv-panel-2: #101a2e; --vv-panel-line: #22304d; --vv-panel-ink: #e6edf8; --vv-panel-muted: #93a4c3;
  --ok: #16a34a; --warn: #d97706; --err: #dc2626;
  --r: 12px; --r-sm: 8px; --shadow: 0 10px 30px rgba(11, 18, 32, .12);
  --font: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.5 var(--font); color: var(--vv-ink); background: var(--vv-bg); }
a { color: var(--vv-primary); }
h1, h2, h3 { line-height: 1.2; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--vv-accent); outline-offset: 2px; }
.muted { color: var(--vv-muted); } .small { font-size: 12px; }
[hidden] { display: none !important; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px;
  background: var(--vv-primary); color: var(--vv-primary-ink); padding: 10px 18px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.btn:hover { background: var(--vv-primary-dark); } .btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--vv-primary); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(37, 99, 235, .08); }
.btn-block { width: 100%; }
.link { background: none; border: 0; color: var(--vv-primary); cursor: pointer; padding: 0; text-decoration: underline; }
.danger { color: var(--err) !important; }
.inline { display: inline; }

/* site */
.site-head { display: flex; justify-content: space-between; align-items: center; padding: 14px clamp(16px, 4vw, 48px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--vv-ink); text-decoration: none; letter-spacing: -.01em; }
.site-head nav { display: flex; align-items: center; gap: 18px; }
.site-head nav a:not(.btn) { color: var(--vv-ink); text-decoration: none; font-weight: 500; }
.site-main { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 64px; }
.site-foot { display: flex; gap: 18px; justify-content: center; padding: 28px; color: var(--vv-muted); font-size: 13px; border-top: 1px solid var(--vv-line); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 72vh; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: var(--vv-accent); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; margin: 8px 0 16px; }
.lead { font-size: 18px; color: var(--vv-muted); max-width: 52ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art canvas { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); background: var(--vv-panel); }
.features h2, .faq h2 { font-size: 28px; letter-spacing: -.02em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid3 article { background: var(--vv-surface); border: 1px solid var(--vv-line); border-radius: var(--r); padding: 20px; }
.grid3 h3 { margin: 0 0 6px; font-size: 17px; }
.grid3 p { margin: 0; color: var(--vv-muted); }
.faq details { background: var(--vv-surface); border: 1px solid var(--vv-line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.prose { max-width: 70ch; margin: 24px auto; }
@media (max-width: 860px) { .hero, .grid3 { grid-template-columns: 1fr; } .hero { min-height: auto; padding: 24px 0; } }

/* formulários */
.auth, .spaces { max-width: 520px; margin: 40px auto; }
.spaces { max-width: 820px; }
.form { display: grid; gap: 14px; background: var(--vv-surface); padding: 24px; border-radius: var(--r); border: 1px solid var(--vv-line); }
label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
input, select, textarea { border: 1.5px solid var(--vv-line); border-radius: var(--r-sm); padding: 9px 11px; background: #fff; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--vv-primary); outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.alert { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; padding: 10px 12px; border-radius: var(--r-sm); margin: 0 0 12px; }
.note { background: #ecfdf5; border: 1px solid #a7f3d0; padding: 10px 12px; border-radius: var(--r-sm); }
.hp { position: absolute; left: -9999px; }
.empty { color: var(--vv-muted); padding: 18px; text-align: center; border: 1.5px dashed var(--vv-line); border-radius: var(--r); }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--vv-surface); border: 1px solid var(--vv-line); border-radius: var(--r); padding: 18px; }
.card h2 { margin: 0 0 4px; font-size: 18px; }
.inline-form { grid-template-columns: 1fr auto; align-items: end; margin-top: 24px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ========== app (mapa e editor) ========== */
body.app { background: var(--vv-panel); color: var(--vv-panel-ink); overflow: hidden; height: 100vh; }
.office { display: grid; grid-template-columns: 1fr 340px; grid-template-rows: 1fr auto; height: 100vh; }
.stage { position: relative; overflow: hidden; }
.stage canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(11, 18, 32, .85); padding: 6px 14px; border-radius: 999px; font-size: 13px; transition: opacity .6s; pointer-events: none; }
.hint.gone { opacity: 0; }
.area-banner { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; background: rgba(11, 18, 32, .92); padding: 6px 8px 6px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.videos { position: absolute; top: 56px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; pointer-events: none; padding: 0 12px; }
.vtile { position: relative; width: 180px; aspect-ratio: 16/10; background: #0b1513; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 2px solid var(--vv-primary); pointer-events: auto; transition: opacity .3s; }
.vtile.far { opacity: .7; }
.vtile video { width: 100%; height: 100%; object-fit: cover; }
.vtile.novideo video { opacity: 0; }
.vtile.novideo::after { content: "🎧"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; }
.vtile span { position: absolute; left: 6px; bottom: 6px; background: rgba(0, 0, 0, .6); padding: 1px 8px; border-radius: 999px; font-size: 12px; z-index: 1; }
.vtile.self { border-color: var(--vv-accent); }
.vtile[data-state="checking"], .vtile[data-state="new"] { border-style: dashed; }

.side { grid-row: 1 / 3; grid-column: 2; background: var(--vv-panel-2); border-left: 1px solid var(--vv-panel-line); display: flex; flex-direction: column; min-height: 0; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--vv-panel-line); }
.tabs button { background: none; border: 0; padding: 14px 6px; cursor: pointer; color: var(--vv-panel-muted); font-weight: 600; border-bottom: 3px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--vv-panel-ink); border-bottom-color: var(--vv-accent); }
.count, .badge { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; line-height: 18px; text-align: center; background: var(--vv-panel-line); }
.badge { background: var(--vv-accent); color: #fff; }
.tab { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.side input, .side select, .side textarea, .bar input, .bar select { background: var(--vv-panel); border-color: var(--vv-panel-line); color: var(--vv-panel-ink); }
.side .muted, .bar .muted { color: var(--vv-panel-muted); }
.group h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--vv-panel-muted); margin: 10px 0 6px; }
.person { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; }
.person:hover { background: rgba(255, 255, 255, .04); }
.person.off { opacity: .55; }
.av { position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.st { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--vv-panel-2); background: var(--ok); }
.st.busy { background: var(--warn); } .st.dnd { background: var(--err); } .st.ghost, .st.offline { background: #64748b; }
.who { flex: 1; min-width: 0; display: grid; }
.who strong, .who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acts { display: flex; gap: 2px; opacity: .35; transition: opacity .15s; }
.person:hover .acts, .person:focus-within .acts { opacity: 1; }
.icon { background: none; border: 0; cursor: pointer; padding: 4px; border-radius: 6px; font-size: 14px; }
.icon:hover { background: rgba(255, 255, 255, .08); }

.chat-scope { display: flex; gap: 6px; } .chat-scope select { flex: 1; }
.chat-list { list-style: none; margin: 0; padding: 0; flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.chat-list li { background: var(--vv-panel); padding: 8px 10px; border-radius: 10px; }
.chat-list li.mine { background: rgba(37, 99, 235, .25); }
.chat-list .meta { display: flex; gap: 6px; font-size: 12px; color: var(--vv-panel-muted); align-items: baseline; }
.chat-list .meta strong { color: var(--vv-panel-ink); } .chat-list .meta time { margin-left: auto; }
.chat-list p { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-form { display: flex; gap: 6px; } .chat-form input#chat-input { flex: 1; min-width: 0; }
.file-card { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.file-card img { max-width: 100%; max-height: 160px; border-radius: 8px; display: block; }
.file-link { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 8px; padding: 6px 8px; color: inherit; text-decoration: none; min-width: 0; }
.file-link strong { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.file-link small { color: var(--vv-panel-muted); }
.file-link:hover { background: rgba(255,255,255,.16); }

.seg { display: flex; gap: 4px; background: var(--vv-panel); padding: 3px; border-radius: 999px; }
.seg.wrap { flex-wrap: wrap; border-radius: 12px; }
.seg button { flex: 1; background: none; border: 0; padding: 6px 8px; border-radius: 999px; cursor: pointer; color: var(--vv-panel-muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.seg button.on { background: var(--vv-primary); color: #fff; }
.tasks { display: flex; flex-direction: column; gap: 10px; }
.task { background: var(--vv-panel); border-radius: 12px; padding: 12px; border-left: 4px solid var(--vv-primary); display: grid; gap: 6px; }
.task.late { border-left-color: var(--err); } .task.ok { border-left-color: var(--ok); opacity: .8; }
.task header { display: flex; justify-content: space-between; gap: 8px; cursor: pointer; }
.task header div { display: grid; }
.pill { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--vv-panel-line); height: fit-content; white-space: nowrap; }
.pill.late { background: var(--err); color: #fff; } .pill.ok { background: var(--ok); color: #fff; }
.progress { height: 6px; background: var(--vv-panel-line); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--vv-primary), #14b8a6); transition: width .3s; }
.checklist { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 4px; }
.checklist li { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; padding: 4px 6px; border-radius: 8px; background: rgba(255, 255, 255, .03); }
.checklist label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.checklist input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--vv-primary); flex: none; }
.checklist li.done .body { text-decoration: line-through; color: var(--vv-panel-muted); }
.checklist .meta { font-size: 11px; color: var(--vv-panel-muted); white-space: nowrap; }
.checklist .meta.late { color: #fca5a5; font-weight: 700; }
.x { background: none; border: 0; color: var(--vv-panel-muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 6px; }
.add-item { display: grid; grid-template-columns: 1fr 96px 1fr auto; gap: 4px; }
.add-item input, .add-item select { padding: 6px; font-size: 12px; }
.desc { margin: 0; color: var(--vv-panel-muted); white-space: pre-wrap; }
.task-actions { display: flex; justify-content: flex-end; }

.bar { grid-column: 1; display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--vv-panel-2); border-top: 1px solid var(--vv-panel-line); flex-wrap: wrap; }
.bar-me { display: flex; gap: 8px; align-items: center; margin-right: 6px; background: none; border: 0; color: var(--vv-panel-ink); cursor: pointer; padding: 6px 8px; border-radius: 999px; }
.bar-me:hover { background: rgba(255, 255, 255, .06); }
.bar-me small { color: var(--vv-panel-muted); }
.avatar-edit { display: flex; gap: 18px; align-items: flex-start; }
.avatar-edit canvas { border-radius: 16px; flex: none; }
.avatar-edit .label { margin: 0 0 6px; font-weight: 600; font-size: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--vv-line); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--vv-accent); }
.seg.light { background: #f1ede4; } .seg.light button { color: var(--vv-muted); }
.popover label { font-size: 13px; } .popover select { width: 100%; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.dot.busy { background: var(--warn); } .dot.dnd { background: var(--err); } .dot.ghost { background: #64748b; }
.tool { display: inline-flex; gap: 6px; align-items: center; background: var(--vv-panel); border: 1px solid var(--vv-panel-line); color: var(--vv-panel-ink); border-radius: 999px; padding: 7px 12px; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 600; }
.tool:hover { border-color: var(--vv-primary); }
.tool.on { background: var(--vv-primary); border-color: var(--vv-primary); }
#status-text { flex: 1; min-width: 120px; max-width: 280px; padding: 7px 12px; border-radius: 999px; }
#status { border-radius: 999px; padding: 7px 10px; }
.tool { font-size: 13px; line-height: 1; }
@media (max-width: 900px) { .tool span { display: none; } .tool { font-size: 16px; padding: 7px 10px; } }

.toasts { position: fixed; left: 16px; bottom: 70px; display: flex; flex-direction: column; gap: 8px; z-index: 50; max-width: 380px; }
.toast { background: #fff; color: var(--vv-ink); padding: 10px 12px; border-radius: 12px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; border-left: 4px solid var(--vv-primary); animation: tin .2s ease-out; }
.toast span { flex: 1; } .toast.err { border-left-color: var(--err); } .toast.ok { border-left-color: var(--ok); }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }
.popover { position: fixed; z-index: 40; background: #fff; color: var(--vv-ink); border-radius: 12px; box-shadow: var(--shadow); padding: 12px; display: grid; gap: 6px; min-width: 200px; }
.popover p { margin: 0; }
.dialog { border: 0; border-radius: 16px; padding: 0; width: min(640px, 94vw); box-shadow: var(--shadow); color: var(--vv-ink); }
.dialog::backdrop { background: rgba(11, 21, 19, .6); }
.dialog form { padding: 22px; display: grid; gap: 12px; }
.dialog h2 { margin: 0; }
.dialog fieldset { border: 1px solid var(--vv-line); border-radius: var(--r); display: grid; gap: 6px; }
.dialog legend { font-weight: 600; font-size: 14px; padding: 0 4px; }
.dialog menu { display: flex; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; }
.item-row { display: grid; grid-template-columns: 1fr 140px 170px auto; gap: 6px; }
.item-row .x { color: var(--vv-muted); }
@media (max-width: 760px) { .office { grid-template-columns: 1fr; grid-template-rows: 1fr auto 42vh; } .side { grid-row: 3; grid-column: 1; } .item-row { grid-template-columns: 1fr 1fr; } }

/* editor */
.editor { display: grid; grid-template-columns: 300px 1fr; height: 100vh; }
.ed-tools { background: var(--vv-panel-2); border-right: 1px solid var(--vv-panel-line); padding: 16px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.ed-tools h1 { font-size: 18px; margin: 4px 0; } .ed-tools h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--vv-panel-muted); margin: 8px 0 0; }
.ed-tools .back { color: var(--vv-panel-muted); text-decoration: none; font-size: 13px; }
.ed-tools input { background: var(--vv-panel); border-color: var(--vv-panel-line); color: var(--vv-panel-ink); }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tool-grid button { background: var(--vv-panel); border: 1px solid var(--vv-panel-line); color: var(--vv-panel-ink); padding: 8px; border-radius: 10px; cursor: pointer; text-align: left; font-weight: 600; font-size: 13px; }
.tool-grid button.on { border-color: var(--vv-accent); background: rgba(234, 88, 12, .15); }
.props { background: var(--vv-panel); border-radius: 12px; padding: 12px; display: grid; gap: 8px; }
.props h2 { margin: 0; color: var(--vv-panel-ink); font-size: 14px; text-transform: none; letter-spacing: 0; }
.ed-actions { display: flex; gap: 6px; margin-top: auto; } .ed-actions .btn { flex: 1; }
.ed-tools .btn-ghost { color: var(--vv-panel-ink); }
.ed-stage { position: relative; overflow: hidden; } .ed-stage canvas { display: block; width: 100%; height: 100%; }

/* v2: cena isométrica, dock flutuante, mesa personalizável, conversas */
.office { grid-template-rows: 1fr auto; }
.stage { grid-row: 1 / 3; grid-column: 1; }
.bar { grid-row: 2; grid-column: 1; z-index: 5; justify-self: center; align-self: end; margin: 0 16px 14px; max-width: calc(100% - 32px);
  background: rgba(11, 18, 32, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); padding: 8px 10px; }
.bar .tool { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .08); }
.bar .tool:disabled { opacity: .45; cursor: not-allowed; }
.toasts { bottom: 96px; }
.tabs { grid-template-columns: repeat(4, 1fr); }
.tabs button { padding: 14px 2px; font-size: 13px; }
.zoom { position: absolute; right: 14px; top: 14px; display: grid; gap: 4px; z-index: 3; }
.zoom button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(11, 18, 32, .78); color: #fff; font-size: 18px; cursor: pointer; backdrop-filter: blur(8px); }
.zoom button:hover { border-color: var(--vv-accent); }
.tr-live { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; max-width: min(520px, 60%);
  background: rgba(11, 18, 32, .86); border: 1px solid rgba(239, 68, 68, .45); padding: 6px 12px; border-radius: 14px; font-size: 13px; backdrop-filter: blur(8px); }
.tr-live small { color: var(--vv-panel-muted); }
.tr-live em { flex-basis: 100%; color: #d1fae5; font-size: 12px; }
.tr-live .rec { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; animation: rec 1.2s infinite; }
@keyframes rec { 50% { opacity: .3; } }
.videos { top: 58px; }

.dialog.wide { width: min(860px, 96vw); }
.desk-edit { display: grid; grid-template-columns: 360px 1fr; gap: 18px; align-items: start; }
.desk-edit canvas { width: 360px; height: 260px; border-radius: 16px; display: block; }
.desk-opts { display: grid; gap: 10px; }
.desk-opts .label { margin: 0; font-weight: 600; font-size: 13px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.row3 label, .desk-opts > label { display: grid; gap: 4px; font-size: 13px; }
.check { display: flex !important; gap: 6px; align-items: center; font-size: 13px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--vv-primary); }
.checks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
input[type=color] { padding: 2px; height: 36px; width: 100%; cursor: pointer; }
input[type=color]:disabled, select:disabled { opacity: .45; }
@media (max-width: 760px) { .desk-edit { grid-template-columns: 1fr; } .desk-edit canvas { width: 100%; } }

.convs { display: flex; flex-direction: column; gap: 8px; }
.conv-card { text-align: left; background: var(--vv-panel); border: 1px solid transparent; border-radius: 12px; padding: 10px 12px; color: var(--vv-panel-ink); cursor: pointer; display: grid; gap: 3px; }
.conv-card:hover { border-color: var(--vv-primary); }
.conv-top { display: flex; justify-content: space-between; gap: 8px; }
.conv-card .snip { margin: 2px 0 0; font-size: 12.5px; color: #cfe0da; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live { color: #fca5a5; font-size: 11px; font-weight: 700; white-space: nowrap; }
.conv-detail { display: grid; gap: 10px; }
.conv-detail h3 { margin: 0; font-size: 16px; }
.conv-detail h4 { margin: 4px 0; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--vv-panel-muted); }
.conv-detail p { margin: 0; }
.conv-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-ghost.light { color: var(--vv-panel-ink); }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.points li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 8px; align-items: start; background: var(--vv-panel); padding: 8px 10px; border-radius: 10px; }
.points em { grid-column: 2; font-size: 11px; color: var(--vv-panel-muted); }
.points .icon { grid-row: 1 / 3; grid-column: 3; }
.kind { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.k-dec { background: #7c3aed; } .k-task { background: var(--vv-primary); } .k-due { background: #0369a1; } .k-warn { background: var(--vv-accent); } .k-info { background: #475569; }
.transcript { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-height: 46vh; overflow: auto; }
.transcript li { background: rgba(255, 255, 255, .03); padding: 6px 10px; border-radius: 10px; display: grid; grid-template-columns: 1fr auto; gap: 0 8px; }
.transcript li.mine { background: rgba(37, 99, 235, .18); }
.transcript time { font-size: 11px; color: var(--vv-panel-muted); }
.transcript p { grid-column: 1 / 3; font-size: 13.5px; }
.empty.dark { border-color: var(--vv-panel-line); color: var(--vv-panel-muted); }
.note.dark { background: rgba(37, 99, 235, .15); border-color: rgba(37, 99, 235, .4); color: var(--vv-panel-ink); }
.seg.light button.on { color: #fff; }
/* v3: o vídeo agora aparece no mapa, acima de cada pessoa. A faixa fica fora da vista só para continuar tocando som e decodificando imagem. */
.videos { position: absolute; top: 0; left: 0; width: 2px; height: 2px; overflow: hidden; opacity: .02; padding: 0; pointer-events: none; z-index: -1; }
.videos .vtile { width: 160px; }
.bar .tool.media.off { background: rgba(239, 68, 68, .16); border-color: rgba(239, 68, 68, .55); color: #fecaca; }
.bar .tool.media.off span::after { content: " desligado"; }
.bar .tool.media.on span::after { content: " ligado"; }
.bar .tool.media.on { background: rgba(34, 197, 94, .22); border-color: rgba(34, 197, 94, .6); }
.area-banner { border-radius: 16px; flex-wrap: wrap; justify-content: center; max-width: 92%; }
.hand-queue { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; background: rgba(250, 204, 21, .16); border: 1px solid rgba(250, 204, 21, .5); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.hand-queue b { font-weight: 600; } .hand-queue b.turn { color: #facc15; }
.bar .tool#btn-hand.on { background: rgba(250, 204, 21, .25); border-color: #facc15; color: #fef08a; }
.toast.note { border-left-color: #facc15; }
#note-text { width: 100%; resize: vertical; margin-top: 8px; }

/* v6: celular. Mapa em tela cheia, painel vira gaveta, barra rola na horizontal, toque para andar e pinça para zoom. */
.stage canvas { touch-action: none; }
.sheet-toggle, .sheet-close { display: none; }
@media (max-width: 760px) {
  .office { height: 100vh; height: 100dvh; grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .stage { grid-row: 1 / 3; grid-column: 1; }
  .side { position: fixed; left: 0; right: 0; bottom: 0; top: auto; height: 70vh; height: 70dvh; z-index: 30; grid-row: auto; grid-column: auto;
    border: 0; border-top: 1px solid var(--vv-panel-line); border-radius: 18px 18px 0 0; box-shadow: 0 -16px 48px rgba(0, 0, 0, .55);
    transform: translateY(105%); transition: transform .25s ease; padding-bottom: env(safe-area-inset-bottom); }
  .office.sheet-open .side { transform: none; }
  .sheet-close { display: block; background: none; border: 0; color: var(--vv-panel-muted); padding: 8px; text-align: center; font-size: 13px; cursor: pointer; }
  .sheet-close::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--vv-panel-line); margin: 0 auto 6px; }
  .sheet-toggle { display: grid; place-items: center; position: absolute; right: 12px; bottom: calc(82px + env(safe-area-inset-bottom)); z-index: 6; width: 48px; height: 48px;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); background: var(--vv-primary); color: #fff; font-size: 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); cursor: pointer; }
  .sheet-toggle.has::after { content: ""; position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--vv-accent); border: 2px solid #fff; }
  .bar { justify-self: stretch; margin: 0 8px calc(8px + env(safe-area-inset-bottom)); max-width: none; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 6px 8px; border-radius: 18px; scrollbar-width: none; }
  .bar::-webkit-scrollbar { display: none; }
  .bar > * { flex: 0 0 auto; }
  .bar-me, #status-text { display: none; }
  #status { max-width: 118px; }
  .bar .tool { min-width: 44px; min-height: 44px; justify-content: center; padding: 8px 10px; }
  .zoom { top: 10px; right: 10px; } .zoom button { width: 40px; height: 40px; }
  .hint { bottom: calc(138px + env(safe-area-inset-bottom)); max-width: 86%; text-align: center; }
  .area-banner { top: 8px; max-width: calc(100% - 70px); left: 8px; transform: none; font-size: 12px; padding: 6px 10px; }
  .tr-live { top: 8px; left: 8px; max-width: calc(100% - 70px); }
  .area-banner:not([hidden]) ~ .tr-live:not([hidden]) { top: 88px; }
  .toasts { left: 8px; right: 8px; max-width: none; bottom: calc(138px + env(safe-area-inset-bottom)); }
  .popover { max-width: calc(100vw - 16px); }
  .dialog { width: 96vw; max-height: 92dvh; overflow: auto; }
  .dialog form { padding: 16px; }
  .chat-form input#chat-input { font-size: 16px; } /* 16px evita o zoom automático do iOS ao focar */
  input, select, textarea { font-size: 16px; }
}
@media (pointer: coarse) { .icon, .acts button { min-width: 38px; min-height: 38px; } }

/* v7: site (home, entrar, cadastro, páginas legais) em tema escuro e futurista, com a identidade azul da logo */
body.site {
  --vv-bg: #050b1a; --vv-ink: #e6edf8; --vv-muted: #9fb0cf; --vv-surface: rgba(255, 255, 255, .045); --vv-line: rgba(148, 163, 184, .2);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  background:
    radial-gradient(900px 520px at 85% -5%, rgba(37, 99, 235, .32), transparent 60%),
    radial-gradient(700px 420px at 0% 30%, rgba(34, 211, 238, .12), transparent 60%),
    linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px) 0 0 / 56px 56px,
    #050b1a;
  background-attachment: fixed; color: var(--vv-ink);
}
body.site a { color: #7db3ff; }
body.site .site-head { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); background: rgba(5, 11, 26, .62); border-bottom: 1px solid rgba(148, 163, 184, .12); }
body.site .brand { color: #fff; gap: 12px; font-size: 19px; letter-spacing: .02em; font-weight: 800; }
body.site .brand img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(125, 179, 255, .35), 0 6px 20px rgba(37, 99, 235, .45); }
body.site .brand b { color: #3b82f6; font-weight: 800; }
body.site .site-head nav a:not(.btn) { color: #cbd7ee; }
body.site .site-head nav a:not(.btn):hover { color: #fff; }
body.site .site-main { max-width: 1180px; }
body.site .site-foot { border-top-color: rgba(148, 163, 184, .15); }
body.site .btn { background: linear-gradient(135deg, #2563eb, #1d4ed8 60%, #0ea5e9); box-shadow: 0 8px 24px rgba(37, 99, 235, .4); transition: transform .15s, box-shadow .15s, filter .15s; }
body.site .btn:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 99, 235, .55); }
body.site .btn:active { transform: translateY(0); }
body.site .btn-ghost { background: rgba(255, 255, 255, .04); color: #dbe7ff; box-shadow: inset 0 0 0 1.5px rgba(125, 179, 255, .45); }
body.site .btn-ghost:hover { background: rgba(125, 179, 255, .12); }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.micro { margin: 14px 0 0; font-size: 13px; color: var(--vv-muted); }

.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 15px; background: #fff; color: #1f2937 !important; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .15s, box-shadow .15s; }
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.auth .btn-google { display: flex; width: 100%; }
.or { display: flex; align-items: center; gap: 12px; color: var(--vv-muted); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--vv-line); }

.hero2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; min-height: calc(100vh - 80px); padding: 24px 0 40px; }
.hero2 .eyebrow { color: #67e8f9; }
.hero2 h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.035em; margin: 10px 0 18px; background: linear-gradient(180deg, #fff 30%, #9ec5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { color: #b6c4e0; font-size: 18px; max-width: 50ch; }
.glass-frame { position: relative; border-radius: 22px; padding: 6px; background: linear-gradient(135deg, rgba(125, 179, 255, .55), rgba(34, 211, 238, .12) 40%, rgba(37, 99, 235, .4)); box-shadow: 0 0 80px rgba(37, 99, 235, .35), var(--shadow); }
.glass-frame canvas { display: block; width: 100%; aspect-ratio: 5 / 4; border-radius: 17px; background: radial-gradient(circle at 50% 40%, #12203d, #070d1c 75%); }
.live-chip { position: absolute; left: 18px; top: 18px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(5, 11, 26, .72); border: 1px solid rgba(125, 179, 255, .3); backdrop-filter: blur(8px); }
.live-chip i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: rec 1.6s infinite; }

.block { padding: 72px 0 8px; }
.block h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.025em; margin: 0 0 28px; max-width: 24ch; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { padding: 24px; border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--vv-line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-2px); border-color: rgba(125, 179, 255, .5); box-shadow: 0 16px 40px rgba(37, 99, 235, .2); }
.tile svg { color: #5aa2ff; margin-bottom: 12px; }
.tile h3 { margin: 0 0 8px; font-size: 18px; }
.tile p { margin: 0; color: var(--vv-muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 16px; padding: 22px; border-radius: 18px; border: 1px solid var(--vv-line); background: rgba(255, 255, 255, .03); }
.steps b { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #22d3ee); color: #fff; font-size: 18px; }
.steps h3 { margin: 0 0 6px; font-size: 17px; } .steps p { margin: 0; color: var(--vv-muted); }
body.site .faq details { background: rgba(255, 255, 255, .04); border-color: var(--vv-line); border-radius: 14px; }
body.site .faq summary { color: #fff; }
body.site .faq p { color: var(--vv-muted); }
.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin: 72px 0 24px; padding: 28px; border-radius: 26px; border: 1px solid rgba(125, 179, 255, .3); background: linear-gradient(135deg, rgba(37, 99, 235, .22), rgba(5, 11, 26, .6)); box-shadow: 0 0 80px rgba(37, 99, 235, .2); }
.closing img { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: transform .3s; }
.closing img:hover { transform: scale(1.02); }
.closing h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; }
.closing .lead { color: #b6c4e0; }

body.site .auth { background: rgba(255, 255, 255, .045); border: 1px solid var(--vv-line); border-radius: 22px; padding: 28px; backdrop-filter: blur(14px); box-shadow: var(--shadow); }
body.site .form { background: transparent; border: 0; padding: 0; }
body.site input, body.site select, body.site textarea { background: rgba(5, 11, 26, .7); color: #e6edf8; border-color: rgba(148, 163, 184, .3); }
body.site input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .3); }
body.site .alert { background: rgba(220, 38, 38, .15); color: #fecaca; border-color: rgba(248, 113, 113, .4); }
body.site .note { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .4); color: #bbf7d0; }
body.site .card { background: var(--vv-surface); border-color: var(--vv-line); }
body.site .empty { border-color: var(--vv-line); }
@media (max-width: 960px) {
  .hero2 { grid-template-columns: 1fr; min-height: auto; gap: 28px; padding-top: 12px; }
  .bento, .steps { grid-template-columns: 1fr; }
  .closing { grid-template-columns: 1fr; padding: 18px; }
  .block { padding-top: 48px; }
}
@media (max-width: 560px) { .hero2 .cta .btn, .hero2 .cta .btn-google { width: 100%; } .closing .cta .btn { width: 100%; } .btn-lg { padding: 14px 20px; } }
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .hero2-text > * { animation: enter .7s cubic-bezier(.2, .7, .2, 1) both; }
  [data-enter] .hero2-text > *:nth-child(2) { animation-delay: .08s; } [data-enter] .hero2-text > *:nth-child(3) { animation-delay: .16s; }
  [data-enter] .hero2-text > *:nth-child(4) { animation-delay: .24s; } [data-enter] .hero2-text > *:nth-child(5) { animation-delay: .3s; }
  [data-enter] .hero2-art { animation: enter .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }

/* v8: planos e checkout */
.plans { max-width: 760px; margin: 28px auto 40px; }
.plans h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; margin: 0 0 6px; }
.plan-now { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); margin: 16px 0; }
.plan-now strong { display: block; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.plan-card { position: relative; display: grid; gap: 4px; padding: 22px; border-radius: 18px; border: 1.5px solid var(--vv-line); background: rgba(255, 255, 255, .04); cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .15s; font-weight: 400; }
.plan-card:hover { transform: translateY(-2px); }
.plan-card.on { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .25), 0 14px 40px rgba(37, 99, 235, .25); }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-name { font-weight: 700; font-size: 17px; }
.plan-price { font-size: 32px; font-weight: 800; letter-spacing: -.02em; } .plan-price small { font-size: 14px; font-weight: 500; color: var(--vv-muted); margin-left: 2px; }
.plan-tag { position: absolute; top: -11px; right: 16px; background: linear-gradient(135deg, #2563eb, #22d3ee); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan-incl { margin: 0 0 22px; padding-left: 20px; color: #c4d0e8; display: grid; gap: 6px; }
.pay-box { display: grid; gap: 14px; padding: 24px; border-radius: 20px; border: 1px solid var(--vv-line); background: rgba(255, 255, 255, .04); }
.pay-box h2 { margin: 0; font-size: 20px; }
.pay-box textarea { resize: none; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
body.site .seg.light { background: rgba(255, 255, 255, .06); }
body.site .seg.light button { color: #cbd7ee; }
@media (max-width: 560px) { .plan-grid { grid-template-columns: 1fr; } .plan-card { padding: 18px; } }

/* v8: painel admin */
body.site:has(.admin) .site-main { max-width: 1280px; }
.admin { padding: 16px 0 48px; }
.admin-head h1 { margin: 0 0 14px; font-size: 28px; letter-spacing: -.02em; }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-tabs a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--vv-line); color: #cbd7ee !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.admin-tabs a.on { background: linear-gradient(135deg, #2563eb, #0ea5e9); border-color: transparent; color: #fff !important; }
.admin h2 { font-size: 18px; margin: 26px 0 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { display: grid; gap: 2px; padding: 18px; border-radius: 16px; border: 1px solid var(--vv-line); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); }
.kpi span { font-size: 12px; color: var(--vv-muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi b { font-size: 28px; letter-spacing: -.02em; } .kpi small { color: var(--vv-muted); }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--vv-muted); padding: 8px 10px; border-bottom: 1px solid var(--vv-line); }
.tbl td { padding: 10px; border-bottom: 1px solid rgba(148, 163, 184, .1); vertical-align: middle; }
.tbl tr:hover td { background: rgba(255, 255, 255, .03); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.ok { background: rgba(34, 197, 94, .18); color: #86efac; } .pill.warn { background: rgba(250, 204, 21, .16); color: #fde68a; } .pill.bad { background: rgba(239, 68, 68, .18); color: #fca5a5; }
.admin-search { display: flex; gap: 8px; margin-bottom: 14px; max-width: 460px; } .admin-search input { flex: 1; }
.acts-cell { display: flex; gap: 6px; flex-wrap: wrap; }
.inl { display: inline-flex; gap: 4px; align-items: center; } .inl input { width: 64px; padding: 5px 8px; font-size: 13px; }
.cfg-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.cfg-box { margin-top: 18px; padding: 20px; border-radius: 16px; border: 1px solid var(--vv-line); background: rgba(255, 255, 255, .04); }
.cfg-box h3 { margin: 0 0 6px; } .cfg-box code { background: rgba(255, 255, 255, .08); padding: 2px 6px; border-radius: 6px; font-size: 13px; word-break: break-all; }
@media (max-width: 960px) { .kpis { grid-template-columns: repeat(2, 1fr); } .admin-cols { grid-template-columns: 1fr; } }
.plan-strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(125, 179, 255, .3); background: rgba(37, 99, 235, .12); margin: 12px 0 18px; }
.plan-strip.bad { border-color: rgba(248, 113, 113, .5); background: rgba(239, 68, 68, .12); }
.pref-form { margin: 18px 0 0; }
.meet-box { background: var(--vv-panel); border: 1px solid var(--vv-panel-line); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.meet-box h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--vv-panel-muted); }
.meet-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .meet-box li { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; font-size: 13px; }
.m-members { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; max-height: 140px; overflow: auto; }
.rec-live { position: absolute; left: 14px; top: 62px; z-index: 3; display: flex; gap: 8px; align-items: center; background: rgba(11, 18, 32, .9); border: 1px solid rgba(239, 68, 68, .6); padding: 6px 12px; border-radius: 14px; font-size: 13px; backdrop-filter: blur(8px); }
.rec-live .rec { width: 9px; height: 9px; border-radius: 50%; background: #ef4444; animation: rec 1s infinite; } .rec-live small { color: var(--vv-panel-muted); }
.rec-item { display: grid; gap: 4px; } .rec-item audio { width: 100%; height: 34px; } .rec-acts { display: flex; gap: 12px; font-size: 12px; }
.bar .tool#btn-rec.on { background: rgba(239, 68, 68, .22); border-color: #ef4444; color: #fecaca; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
.price-card { position: relative; padding: 26px; border-radius: 20px; border: 1.5px solid var(--vv-line); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); display: grid; gap: 6px; transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-2px); }
.price-card.best { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, .22), 0 18px 50px rgba(37, 99, 235, .3); }
.price-card h3 { margin: 0; font-size: 18px; } .price-card .price { margin: 0; font-size: 38px; font-weight: 800; letter-spacing: -.03em; } .price-card .price small { font-size: 15px; font-weight: 500; color: var(--vv-muted); }
.price-card .btn { margin-top: 10px; }
.plan-incl.wide { margin-top: 22px; max-width: 760px; }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.pw-form { display: grid; gap: 10px; max-width: 360px; }

/* v9: home focada em conversão (motivo para assinar, planos em destaque, depoimentos) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { margin: 0 0 8px; }
.block .eyebrow { color: #67e8f9; }
.micro-link { color: #7db3ff; font-weight: 600; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.block { scroll-margin-top: 78px; }
.block .sub { max-width: 60ch; margin: -10px 0 22px; color: #b6c4e0; }

.trust-bar { list-style: none; margin: 8px 0 0; padding: 14px 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border-radius: 16px; border: 1px solid var(--vv-line); background: rgba(255, 255, 255, .04); font-size: 14px; color: var(--vv-muted); text-align: center; }
.trust-bar b { display: block; color: #fff; font-size: 16px; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason { position: relative; padding: 26px 24px; border-radius: 20px; border: 1px solid var(--vv-line); background: linear-gradient(160deg, rgba(37, 99, 235, .14), rgba(255, 255, 255, .02)); transition: transform .2s, border-color .2s; }
.reason:hover { transform: translateY(-2px); border-color: rgba(125, 179, 255, .5); }
.reason-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #2563eb, #22d3ee); font-weight: 800; margin-bottom: 14px; }
.reason h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; } .reason p { margin: 0; color: #b6c4e0; }
.compare-wrap { margin-top: 26px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; border: 1px solid var(--vv-line); border-radius: 18px; overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(148, 163, 184, .12); }
.compare thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--vv-muted); background: rgba(255, 255, 255, .04); }
.compare tbody th { color: #fff; font-weight: 600; width: 22%; }
.compare td { color: var(--vv-muted); }
.compare .us { color: #e6f0ff; background: rgba(37, 99, 235, .14); }
.compare thead .us { color: #9ec5ff; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.plans-hero { margin-top: 72px; padding: 44px clamp(18px, 4vw, 48px) 36px; border-radius: 28px; border: 1px solid rgba(125, 179, 255, .35); background: radial-gradient(700px 300px at 50% -10%, rgba(37, 99, 235, .35), transparent 70%), rgba(255, 255, 255, .03); box-shadow: 0 0 90px rgba(37, 99, 235, .22); }
.plans-hero h2 { max-width: 28ch; }
.price-grid { max-width: none; grid-template-columns: 1fr 1fr; margin-top: 8px; }
.price-card { padding: 30px 28px; }
.price-card .price { font-size: 46px; }
.price-card.best { background: linear-gradient(160deg, rgba(37, 99, 235, .3), rgba(34, 211, 238, .08)); }
.price-card .plan-tag { right: auto; left: 24px; }
.pay-how { margin: 6px 0 0; font-size: 13px; color: #c4d0e8; padding: 10px 12px; border-radius: 12px; background: rgba(5, 11, 26, .45); border: 1px solid var(--vv-line); }
.incl-title { margin: 34px 0 14px; font-size: 18px; }
.feat-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feat-group h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: #67e8f9; }
.feat-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feat-group li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: #dbe5f8; }
.feat-group li svg { flex: 0 0 18px; margin-top: 1px; color: #3b82f6; }

.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tm { margin: 0; padding: 24px; border-radius: 20px; border: 1px solid var(--vv-line); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); display: grid; gap: 14px; align-content: start; transition: transform .2s, border-color .2s; }
.tm:hover { transform: translateY(-2px); border-color: rgba(125, 179, 255, .5); }
.tm blockquote { margin: 0; } .tm blockquote p { margin: 0; font-size: 16px; line-height: 1.55; color: #eef3fc; }
.tm blockquote p::before { content: "\201C"; } .tm blockquote p::after { content: "\201D"; }
.tm figcaption { display: flex; gap: 12px; align-items: center; }
.tm-av { flex: 0 0 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.tm figcaption b { display: block; } .tm figcaption small { color: var(--vv-muted); }
.scenario h3 { margin: 0; font-size: 18px; } .scenario p { margin: 0; color: #b6c4e0; }
.scn-tag { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(125, 179, 255, .14); color: #9ec5ff; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.chips li { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--vv-line); color: #c4d0e8; }

@media (max-width: 1040px) { .feat-groups { grid-template-columns: repeat(2, 1fr); } .tm-grid, .reasons { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .trust-bar { grid-template-columns: 1fr 1fr; } .price-grid { grid-template-columns: 1fr; } .feat-groups { grid-template-columns: 1fr; } .plans-hero { padding: 28px 16px; border-radius: 22px; } .compare th, .compare td { padding: 11px 12px; } .compare tbody th { width: auto; } }
@media (max-width: 560px) { .compare thead { display: none; } .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; } .compare tr { border-bottom: 1px solid rgba(148, 163, 184, .18); padding: 8px 0; } .compare th, .compare td { border: 0; padding: 4px 14px; } .compare td::before { content: "Comum: "; color: #64748b; font-size: 12px; } .compare td.us::before { content: "VirtualDesk: "; color: #9ec5ff; } }
.tm-form { margin: 18px 0 0; border: 1px solid var(--vv-line); border-radius: 14px; padding: 12px 16px; background: rgba(255, 255, 255, .03); }
.tm-form summary { cursor: pointer; font-weight: 600; }
.tm-form .form { margin-top: 12px; }
@media (max-width: 860px) { .site-head nav .nav-opt { display: none; } }
.plans { max-width: 980px; }
.plans .feat-groups { margin: 8px 0 26px; }

/* v10: editor de avatar e perfil */
.profile { max-width: 920px; margin: 28px auto 48px; }
.profile h1 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.03em; margin: 0 0 6px; }
.profile-card { margin-top: 20px; padding: 26px; border-radius: 22px; border: 1px solid var(--vv-line); background: rgba(255, 255, 255, .04); display: grid; gap: 14px; }
.profile-name { max-width: 420px; }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.av-ed { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.av-stage { display: grid; gap: 10px; justify-items: center; position: sticky; top: 76px; }
.av-preview { width: 220px; height: 280px; border-radius: 20px; background: rgba(5, 11, 26, .55); border: 1px solid rgba(125, 179, 255, .3); }
.av-dirs { display: flex; gap: 6px; }
.av-controls { display: grid; gap: 14px; }
.av-label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.av-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.av-opt { border: 1.5px solid rgba(148, 163, 184, .35); background: transparent; color: inherit; border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .12s, border-color .12s; }
.av-opt:hover { border-color: #3b82f6; }
.av-opt.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.av-sw { display: flex; gap: 8px; flex-wrap: wrap; }
.av-sw .swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; box-shadow: 0 0 0 1px rgba(148, 163, 184, .45); }
.av-sw .swatch.on { border-color: #fff; box-shadow: 0 0 0 2.5px #2563eb; }
.av-check { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.av-sub[hidden] { display: none; }
@media (max-width: 760px) { .av-ed { grid-template-columns: 1fr; } .av-stage { position: static; } }
.dialog .av-ed { grid-template-columns: 200px 1fr; gap: 18px; max-height: 64vh; overflow: auto; }
.dialog .av-preview { width: 180px; height: 230px; }
.dialog .av-opt { color: var(--vv-ink); }
@media (max-width: 760px) { .dialog .av-ed { grid-template-columns: 1fr; } }
.tm-av-canvas { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(125, 179, 255, .4); }
.tm .scn-tag { justify-self: start; }

/* v11: editor com paleta por categoria, modelos prontos e tamanho livre */
.catalog { display: grid; gap: 10px; max-height: 46vh; overflow: auto; padding-right: 4px; }
.cat-group h3 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--vv-panel-muted); }
.cat-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.cat-item { display: flex; gap: 7px; align-items: center; text-align: left; background: var(--vv-panel); border: 1px solid var(--vv-panel-line); color: var(--vv-panel-ink); border-radius: 9px; padding: 6px 8px; font-size: 12px; font-weight: 600; cursor: pointer; line-height: 1.15; }
.cat-item:hover { border-color: #3b82f6; }
.cat-item.on { background: rgba(37, 99, 235, .28); border-color: #3b82f6; }
.cat-ico { font-size: 17px; flex: 0 0 auto; }
.tpl-list { display: grid; gap: 6px; }
.tpl { display: grid; gap: 2px; text-align: left; background: var(--vv-panel); border: 1px solid var(--vv-panel-line); color: var(--vv-panel-ink); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.tpl small { color: var(--vv-panel-muted); } .tpl:hover { border-color: #3b82f6; } .tpl.on { background: rgba(37, 99, 235, .28); border-color: #3b82f6; }
.size-box { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0; }
.size-box input { width: 100%; }
.props .btn { margin: 4px 4px 0 0; }

/* v12: tela compartilhada (janela grande, janela ajustável e tela cheia) */
.sv { position: absolute; z-index: 8; display: flex; flex-direction: column; background: #050a14; border: 1px solid rgba(125, 179, 255, .45); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.sv[hidden] { display: none; }
.sv-big { inset: 3% 3% 14% 3%; }
.sv-window { min-width: 300px; min-height: 190px; resize: both; max-width: calc(100% - 8px); max-height: calc(100% - 8px); }
.sv.fs { inset: 0; width: 100vw !important; height: 100vh !important; border-radius: 0; border: 0; resize: none; }
.sv video { flex: 1; min-height: 0; width: 100%; background: #000; object-fit: contain; }
.sv-wait { position: absolute; inset: 42px 0 0; display: grid; place-items: center; padding: 18px; color: #cbd5e1; text-align: center; pointer-events: none; }
.sv-wait[hidden] { display: none; }
.vtile audio { position: absolute; width: 1px; height: 1px; left: -2px; bottom: -2px; opacity: 0; pointer-events: none; }
.sv-head { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: rgba(11, 18, 32, .96); border-bottom: 1px solid var(--vv-panel-line); font-size: 13px; flex-wrap: wrap; }
.sv-window .sv-head { cursor: move; user-select: none; touch-action: none; }
.sv-spacer { flex: 1; }
.sv-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; animation: rec 1.6s infinite; flex: 0 0 auto; }
.sv-btn { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #e6edf8; border-radius: 8px; padding: 4px 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.sv-btn:hover { background: rgba(37, 99, 235, .45); border-color: #3b82f6; }
.sv-sizes { display: inline-flex; gap: 4px; } .sv-sizes[hidden] { display: none; }
.sv-chips { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.sv-chip { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #cbd5e1; border-radius: 999px; padding: 2px 9px; font-size: 12px; cursor: pointer; } .sv-chip.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.sv-min { position: absolute; right: 12px; top: 56px; z-index: 8; background: rgba(11, 18, 32, .92); color: #fff; border: 1px solid rgba(125, 179, 255, .55); border-radius: 999px; padding: 8px 14px; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); }
.sv-min[hidden] { display: none; }
.sharing-bar { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 9; display: flex; align-items: center; gap: 10px; background: rgba(11, 18, 32, .94); border: 1px solid rgba(239, 68, 68, .55); padding: 6px 8px 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.sharing-bar[hidden] { display: none; }
@media (max-width: 760px) { .sv-big { inset: 0 0 76px 0; border-radius: 0; } .sv-window { min-width: 240px; } .sv-btn { padding: 6px 10px; } }

/* v13: os <video> de quem está na chamada precisam estar "visíveis" para o navegador (sobretudo no celular) decodificar e
   desenhar no mapa. Ficam atrás do mapa em tamanho normal, em vez de num cantinho de 2 px com opacidade quase zero. */
.videos { position: absolute; left: 0; top: 0; width: auto; height: auto; max-width: 100%; overflow: visible; opacity: 1; z-index: 0; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; pointer-events: none; }
.videos .vtile { width: 160px; }
.stage canvas { position: relative; z-index: 1; }
