-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodes.html
More file actions
467 lines (430 loc) · 13.4 KB
/
codes.html
File metadata and controls
467 lines (430 loc) · 13.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
<!DOCTYPE html>
<html lang="pt-pt">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Σ | c-ΣCO Technical Glossary</title>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;500;600&family=Inter:wght@200;300;400&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<style>
:root {
--obsidian: #030303;
--gold: #C5A065;
--glass: rgba(255, 255, 255, 0.08);
--glass-active: rgba(255, 255, 255, 0.15);
}
body {
background-color: var(--obsidian);
color: #e0e0e0;
font-family: 'Inter', sans-serif;
background: radial-gradient(circle at 50% 50%, #0f0f12 0%, #030303 90%);
min-height: 100vh;
overflow-x: hidden;
}
/* Scanline Effect */
body::before {
content: " ";
position: fixed;
top: 0; left: 0; bottom: 0; right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
z-index: 100;
background-size: 100% 4px;
pointer-events: none;
opacity: 0.1;
}
.search-container {
position: sticky;
top: 0;
z-index: 50;
background: rgba(3, 3, 3, 0.9);
backdrop-filter: blur(20px);
padding: 2rem 0;
border-bottom: 1px solid var(--glass);
}
.search-input {
background: rgba(255,255,255,0.03);
border: 1px solid var(--glass);
color: var(--gold);
font-family: 'Rajdhani', sans-serif;
letter-spacing: 0.1em;
padding: 1rem 1.5rem;
width: 100%;
transition: all 0.3s ease;
}
.search-input:focus {
outline: none;
border-color: var(--gold);
background: rgba(255,255,255,0.05);
box-shadow: 0 0 20px rgba(197, 160, 101, 0.1);
}
.glossary-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
}
.command-card {
background: rgba(15, 15, 18, 0.8);
border: 1px solid var(--glass);
padding: 2rem;
transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
cursor: pointer;
position: relative;
}
.command-card.active-focus {
border-color: var(--gold);
background: rgba(197, 160, 101, 0.05);
transform: scale(1.02);
z-index: 10;
}
.command-card.linked-focus {
border-color: #ffffff;
background: rgba(255, 255, 255, 0.03);
box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}
.command-card.muted {
opacity: 0.2;
filter: grayscale(1);
}
.code-id {
font-family: 'Orbitron', sans-serif;
color: var(--gold);
font-size: 0.8rem;
font-weight: 700;
}
.category-tag {
font-family: 'Rajdhani', sans-serif;
font-size: 0.6rem;
text-transform: uppercase;
letter-spacing: 0.2em;
padding: 2px 8px;
border: 1px solid var(--glass);
color: #71717a;
}
h3 {
font-family: 'Rajdhani', sans-serif;
font-weight: 600;
font-size: 1.3rem;
color: #fff;
margin-top: 1rem;
}
.instrument-ref {
font-size: 0.7rem;
color: var(--gold);
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 1rem;
display: block;
}
.function-desc {
font-size: 0.9rem;
line-height: 1.6;
color: #a1a1aa;
}
.filter-btn {
font-family: 'Rajdhani', sans-serif;
font-size: 0.75rem;
color: #52525b;
text-transform: uppercase;
letter-spacing: 0.2em;
padding: 0.5rem 1rem;
transition: all 0.3s;
border-bottom: 2px solid transparent;
white-space: nowrap;
}
.filter-btn.active {
color: var(--gold);
border-bottom-color: var(--gold);
}
</style>
</head>
<body>
<div class="search-container">
<div class="container mx-auto px-8">
<input
type="text"
id="searchInput"
class="search-input"
placeholder="SISTEMA DE BUSCA Σ: DIGITE O CÓDIGO OU INSTRUMENTO..."
/>
<div class="mt-6 flex gap-4 overflow-x-auto">
<button class="filter-btn active" onclick="filterCategory('all', this)">TODOS</button>
<button class="filter-btn" onclick="filterCategory('Conceito', this)">CONCEITOS</button>
<button class="filter-btn" onclick="filterCategory('Sistema', this)">SISTEMAS</button>
<button class="filter-btn" onclick="filterCategory('Dever', this)">DEVERES</button>
<button class="filter-btn text-white opacity-50" onclick="resetAll()">LIMPAR SELEÇÃO</button>
</div>
</div>
</div>
<main class="container mx-auto px-8 py-12">
<div id="glossary" class="glossary-grid"></div>
</main>
<script>
const commands = [
{
code: "CON2",
category: "Conceito",
instrument: "Cláusulas MAC / MAE",
title: "IEX (Inexequibilidade Ex-Ante)",
desc: "Trava automática antes da violação irreversível, baseada em trajetória técnica detectada ex-ante.",
linksTo: ["SIS10", "SIS11", "SIS14", "SIS6"]
},
{
code: "CON3",
category: "Conceito",
instrument: "Force Majeure",
title: "Perclusão Sistêmica",
desc: "Bloqueio de atos lícitos que constroem a trajetória do colapso sistêmico.",
linksTo: ["CON2", "SIS6"]
},
{
code: "CON4",
category: "Conceito",
instrument: "Margining / Colateral",
title: "Garantia Condicionada",
desc: "O colateral só subsiste enquanto o ativo permanecer biofisicamente viável.",
linksTo: ["CON5", "SIS11"]
},
{
code: "CON5",
category: "Conceito",
instrument: "Covenants",
title: "Objeto Imediato Condicionado",
desc: "A obrigação só existe enquanto houver reversibilidade sistêmica.",
linksTo: ["SIS7", "SIS13"]
},
{
code: "CON6",
category: "Conceito",
instrument: "Condições Precedentes (CPs)",
title: "Validade Contínua",
desc: "A condição de existência não se exaure na formação; persiste durante a execução.",
linksTo: ["SIS10", "SIS6"]
},
{
code: "CON7",
category: "Conceito",
instrument: "Price Adjustment / Indexação",
title: "Safe Operating Space",
desc: "Preço e valor tornam-se juridicamente nulos se violarem limites sistêmicos.",
linksTo: ["SIS12", "SIS11"]
},
{
code: "CON8",
category: "Conceito",
instrument: "Step-in Rights",
title: "Perclusão de Trajetória",
desc: "Vedação à continuidade do contrato mesmo com substituição de operador.",
linksTo: ["CON3", "SIS6"]
},
{
code: "CON9",
category: "Conceito",
instrument: "Earn-outs / Pagamentos Contingentes",
title: "Vínculo de Habitabilidade",
desc: "O valor econômico depende da preservação do ecossistema do ativo.",
linksTo: ["SIS11", "CON7"]
},
{
code: "CON10",
category: "Conceito",
instrument: "Seguros Paramétricos",
title: "Gatilho de Curadoria",
desc: "Fundos são liberados para correção da trajetória, não para indenização ex-post.",
linksTo: ["DVR7", "SIS6"]
},
{
code: "CON11",
category: "Conceito",
instrument: "Choice of Law / Impracticability",
title: "Substituição por IEX Técnica",
desc: "A causa jurídica cede ao critério sistêmico objetivo definido ex-ante.",
linksTo: ["CON2", "SIS14"]
},
{
code: "SIS6",
category: "Sistema",
instrument: "Netting / Close-out",
title: "Safe Mode",
desc: "Suspensão coordenada para impedir cascata de quebra sistêmica.",
linksTo: ["DVR3", "CON2", "CON3"]
},
{
code: "SIS7",
category: "Sistema",
instrument: "Early Termination",
title: "Máquina de Estados",
desc: "Execução por fases com degradação controlada em vez de ruptura binária.",
linksTo: ["CON5", "DVR7"]
},
{
code: "SIS8",
category: "Sistema",
instrument: "Audit & Inspection",
title: "Integração LI-EI-AI",
desc: "Auditoria com poder automático de comando contratual.",
linksTo: ["SIS10", "SIS11"]
},
{
code: "SIS9",
category: "Sistema",
instrument: "MRV / D-MRV",
title: "Regime Probatório Digital",
desc: "Dados sensoriais substituem prova declaratória humana.",
linksTo: ["SIS13", "SIS14"]
},
{
code: "SIS10",
category: "Sistema",
instrument: "Tríade LI-EI-AI",
title: "Filtro Algorítmico de Admissibilidade",
desc: "Valida compatibilidade sistêmica antes da execução contratual.",
linksTo: ["SIS11", "CON6"]
},
{
code: "SIS11",
category: "Sistema",
instrument: "Nexo Algorítmico",
title: "Causalidade Ex-Ante",
desc: "Causalidade jurídica definida por simulação preditiva antes do dano.",
linksTo: ["SIS12", "CON2"]
},
{
code: "SIS12",
category: "Sistema",
instrument: "Contribuição Marginal",
title: "Trava do Último Agente",
desc: "Responsabilização automática de quem ultrapassa o limiar acumulado.",
linksTo: ["CON7", "SIS11"]
},
{
code: "SIS13",
category: "Sistema",
instrument: "Tokens de Execução",
title: "Execução Condicionada",
desc: "Cláusulas só executam com validação por dados reais (D-MRV).",
linksTo: ["CON5", "SIS9"]
},
{
code: "SIS14",
category: "Sistema",
instrument: "Oráculos Técnicos",
title: "Fonte Objetiva de Verdade",
desc: "Feeds invioláveis (satélite, IoT, ciência) alimentam a lógica contratual.",
linksTo: ["CON2", "SIS9"]
},
{
code: "DVR3",
category: "Dever",
instrument: "Hardship / Renegociação",
title: "Join Duty",
desc: "Cooperação obrigatória com novação funcional do vínculo.",
linksTo: ["SIS6", "DVR6"]
},
{
code: "DVR4",
category: "Dever",
instrument: "Escrows / Holdbacks",
title: "Garantia de Reversibilidade",
desc: "Liberação condicionada à comprovação de impacto neutro.",
linksTo: ["CON4", "SIS11"]
},
{
code: "DVR5",
category: "Dever",
instrument: "Reps & Warranties / RWI",
title: "Fidelidade Técnica",
desc: "Erro técnico invalida o consentimento jurídico.",
linksTo: ["SIS11", "CON9"]
},
{
code: "DVR6",
category: "Dever",
instrument: "Dispute Boards / Fast-Track",
title: "Curadoria do Sistema",
desc: "As partes deixam de litigar e passam a preservar o sistema.",
linksTo: ["DVR3", "SIS6"]
},
{
code: "DVR7",
category: "Dever",
instrument: "Governança Contínua",
title: "Curadoria de Trajetória",
desc: "Dever contínuo de preservar a habitabilidade do fluxo de execução.",
linksTo: ["SIS7", "CON10"]
}
];
function renderGlossary(data) {
const container = document.getElementById("glossary");
container.innerHTML = data
.map(
(cmd) => `
<div class="command-card"
id="card-${cmd.code}"
onclick="toggleConnection('${cmd.code}')"
data-category="${cmd.category}">
<div class="flex justify-between items-start">
<span class="code-id">${cmd.code}</span>
<span class="category-tag">${cmd.category}</span>
</div>
<h3>${cmd.title}</h3>
<span class="instrument-ref">${cmd.instrument}</span>
<p class="function-desc">${cmd.desc}</p>
</div>
`
)
.join("");
}
function toggleConnection(code) {
const activeCmd = commands.find((c) => c.code === code);
const activeEl = document.getElementById(`card-${code}`);
const allCards = document.querySelectorAll(".command-card");
if (!activeCmd || !activeEl) return;
if (activeEl.classList.contains("active-focus")) {
resetAll();
return;
}
allCards.forEach((card) => {
card.classList.remove("active-focus", "linked-focus", "muted");
card.classList.add("muted");
});
activeEl.classList.remove("muted");
activeEl.classList.add("active-focus");
(activeCmd.linksTo || []).forEach((targetCode) => {
const targetEl = document.getElementById(`card-${targetCode}`);
if (targetEl) {
targetEl.classList.remove("muted");
targetEl.classList.add("linked-focus");
}
});
}
function resetAll() {
document.querySelectorAll(".command-card").forEach((card) => {
card.classList.remove("active-focus", "linked-focus", "muted");
});
}
function filterCategory(cat, btn) {
document.querySelectorAll(".filter-btn").forEach((b) => b.classList.remove("active"));
btn.classList.add("active");
if (cat === "all") {
renderGlossary(commands);
} else {
const filtered = commands.filter((c) => c.category === cat);
renderGlossary(filtered);
}
resetAll();
}
document.getElementById("searchInput").addEventListener("input", (e) => {
const term = e.target.value.toLowerCase();
const filtered = commands.filter((cmd) =>
cmd.title.toLowerCase().includes(term) ||
cmd.code.toLowerCase().includes(term) ||
cmd.instrument.toLowerCase().includes(term)
);
renderGlossary(filtered);
resetAll();
});
renderGlossary(commands);
</script>
</body>
</html>