File size: 41,379 Bytes
fa128ce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
<!DOCTYPE html>
<html lang="pt-br">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Planejamento BIM Municipal</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        .progress-bar {
            transition: width 0.5s ease-in-out;
        }
        .fase-1 { background-color: #3B82F6; }
        .fase-2 { background-color: #10B981; }
        .fase-3 { background-color: #F59E0B; }
        .fase-4 { background-color: #6366F1; }
        .fase-5 { background-color: #EC4899; }
        .fase-6 { background-color: #8B5CF6; }
        
        .timeline-dot {
            position: absolute;
            left: -6px;
            top: 50%;
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            z-index: 2;
        }
        
        .timeline-line {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 2px;
            z-index: 1;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        }
        
        @media (max-width: 768px) {
            .timeline-dot {
                left: -4px;
                width: 8px;
                height: 8px;
            }
            .timeline-line {
                width: 1px;
            }
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <div class="container mx-auto px-4 py-8">
        <!-- Header -->
        <header class="mb-10 text-center">
            <h1 class="text-3xl md:text-4xl font-bold text-gray-800 mb-3">Planejamento BIM Municipal</h1>
            <div class="w-full bg-white rounded-lg shadow p-4 mb-6">
                <div class="flex flex-wrap justify-between items-center">
                    <div class="flex items-center mb-2 sm:mb-0">
                        <i class="fas fa-calendar-alt text-blue-500 mr-2"></i>
                        <span class="font-medium">Período Total: Mai/2025 - Out/2026</span>
                    </div>
                    <div class="flex items-center mb-2 sm:mb-0">
                        <i class="fas fa-tasks text-green-500 mr-2"></i>
                        <span class="font-medium">Progresso Total: 15%</span>
                    </div>
                    <div class="flex items-center">
                        <i class="fas fa-user-friends text-purple-500 mr-2"></i>
                        <span class="font-medium">6 Fases / 24 Atividades</span>
                    </div>
                </div>
                <div class="w-full bg-gray-200 rounded-full h-3 mt-3">
                    <div class="bg-gradient-to-r from-blue-500 to-purple-600 h-3 rounded-full" style="width: 15%"></div>
                </div>
            </div>
        </header>

        <!-- Filter Controls -->
        <div class="flex flex-wrap justify-between items-center mb-6 bg-white p-4 rounded-lg shadow">
            <div class="w-full md:w-auto mb-3 md:mb-0">
                <label for="fase-filter" class="block text-sm font-medium text-gray-700 mb-1">Filtrar por Fase:</label>
                <select id="fase-filter" class="border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <option value="all">Todas as Fases</option>
                    <option value="1">1. Mobilização e Diagnóstico</option>
                    <option value="2">2. Planejamento e Estratégia</option>
                    <option value="3">3. Estruturação Técnica</option>
                    <option value="4">4. Capacitação Prática</option>
                    <option value="5">5. Projetos Pilotos</option>
                    <option value="6">6. Consolidação e Expansão</option>
                </select>
            </div>
            <div class="w-full md:w-auto mb-3 md:mb-0">
                <label for="status-filter" class="block text-sm font-medium text-gray-700 mb-1">Filtrar por Status:</label>
                <select id="status-filter" class="border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500">
                    <option value="all">Todos</option>
                    <option value="100">Concluído (100%)</option>
                    <option value="1-99">Em Andamento (1-99%)</option>
                    <option value="0">Não Iniciado (0%)</option>
                </select>
            </div>
            <div class="w-full md:w-auto">
                <button id="reset-filter" class="bg-gray-200 hover:bg-gray-300 text-gray-800 px-4 py-2 rounded-md transition-colors">
                    <i class="fas fa-redo mr-2"></i>Limpar Filtros
                </button>
            </div>
        </div>

        <!-- Timeline Visualization -->
        <div class="relative mb-16">
            <h2 class="text-2xl font-bold text-gray-800 mb-6 flex items-center">
                <i class="fas fa-project-diagram text-blue-500 mr-3"></i>
                Linha do Tempo das Fases
            </h2>
            
            <div class="relative">
                <!-- Timeline Line -->
                <div class="absolute left-6 sm:left-8 md:left-12 h-full w-1 bg-gray-300"></div>
                
                <!-- Fase Items -->
                <div class="space-y-16">
                    <!-- Fase 1 -->
                    <div class="relative fase-item" data-fase="1">
                        <div class="flex flex-col sm:flex-row items-start gap-4 ml-10 md:ml-16">
                            <div class="absolute left-0 w-12 md:w-16 text-right pr-4 hidden sm:block">
                                <span class="text-gray-500">Mai/2025</span>
                            </div>
                            <div class="bg-white p-6 rounded-xl shadow-md w-full card transition-all duration-200">
                                <div class="flex justify-between items-start mb-3">
                                    <div class="flex items-center">
                                        <div class="timeline-dot fase-1"></div>
                                        <h3 class="text-xl font-bold text-gray-800 ml-4">1. Mobilização e Diagnóstico</h3>
                                    </div>
                                    <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded-full">mai/2025 - jul/2025</span>
                                </div>
                                <p class="text-gray-600 mb-4">Configuração inicial e avaliação da situação atual para implementação do BIM.</p>
                                <div class="flex flex-wrap gap-4">
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Progresso:</span>
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-blue-600 h-2.5 rounded-full progress-bar" style="width: 58%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">58%</span>
                                    </div>
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Status:</span>
                                        <span class="text-sm font-medium">
                                            <span class="text-green-500">2 concluídos</span>, 
                                            <span class="text-yellow-500">2 em andamento</span>,
                                            <span class="text-gray-500">1 planejamento</span>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Fase 2 -->
                    <div class="relative fase-item" data-fase="2">
                        <div class="flex flex-col sm:flex-row items-start gap-4 ml-10 md:ml-16">
                            <div class="absolute left-0 w-12 md:w-16 text-right pr-4 hidden sm:block">
                                <span class="text-gray-500">Ago/2025</span>
                            </div>
                            <div class="bg-white p-6 rounded-xl shadow-md w-full card transition-all duration-200">
                                <div class="flex justify-between items-start mb-3">
                                    <div class="flex items-center">
                                        <div class="timeline-dot fase-2"></div>
                                        <h3 class="text-xl font-bold text-gray-800 ml-4">2. Planejamento e Estratégia</h3>
                                    </div>
                                    <span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">ago/2025 - out/2025</span>
                                </div>
                                <p class="text-gray-600 mb-4">Definição das diretrizes estratégicas e planos detalhados para a adoção do BIM.</p>
                                <div class="flex flex-wrap gap-4">
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Progresso:</span>
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-green-600 h-2.5 rounded-full progress-bar" style="width: 2%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">2%</span>
                                    </div>
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Status:</span>
                                        <span class="text-sm font-medium">
                                            <span class="text-green-500">0 concluídos</span>, 
                                            <span class="text-yellow-500">1 em andamento</span>,
                                            <span class="text-gray-500">4 planejamento</span>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Fase 3 -->
                    <div class="relative fase-item" data-fase="3">
                        <div class="flex flex-col sm:flex-row items-start gap-4 ml-10 md:ml-16">
                            <div class="absolute left-0 w-12 md:w-16 text-right pr-4 hidden sm:block">
                                <span class="text-gray-500">Nov/2025</span>
                            </div>
                            <div class="bg-white p-6 rounded-xl shadow-md w-full card transition-all duration-200">
                                <div class="flex justify-between items-start mb-3">
                                    <div class="flex items-center">
                                        <div class="timeline-dot fase-3"></div>
                                        <h3 class="text-xl font-bold text-gray-800 ml-4">3. Estruturação Técnica</h3>
                                    </div>
                                    <span class="bg-yellow-100 text-yellow-800 text-xs font-medium px-2.5 py-0.5 rounded-full">nov/2025 - jan/2026</span>
                                </div>
                                <p class="text-gray-600 mb-4">Preparação dos elementos técnicos necessários para implementação operacional.</p>
                                <div class="flex flex-wrap gap-4">
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Progresso:</span>
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-yellow-500 h-2.5 rounded-full progress-bar" style="width: 0%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">0%</span>
                                    </div>
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Status:</span>
                                        <span class="text-sm font-medium text-gray-500">4 planejamento</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Fase 4 -->
                    <div class="relative fase-item" data-fase="4">
                        <div class="flex flex-col sm:flex-row items-start gap-4 ml-10 md:ml-16">
                            <div class="absolute left-0 w-12 md:w-16 text-right pr-4 hidden sm:block">
                                <span class="text-gray-500">Fev/2026</span>
                            </div>
                            <div class="bg-white p-6 rounded-xl shadow-md w-full card transition-all duration-200">
                                <div class="flex justify-between items-start mb-3">
                                    <div class="flex items-center">
                                        <div class="timeline-dot fase-4"></div>
                                        <h3 class="text-xl font-bold text-gray-800 ml-4">4. Capacitação Prática</h3>
                                    </div>
                                    <span class="bg-indigo-100 text-indigo-800 text-xs font-medium px-2.5 py-0.5 rounded-full">fev/2026 - abr/2026</span>
                                </div>
                                <p class="text-gray-600 mb-4">Treinamentos e capacitação técnica para equipes envolvidas na implementação.</p>
                                <div class="flex flex-wrap gap-4">
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Progresso:</span>
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-indigo-500 h-2.5 rounded-full progress-bar" style="width: 0%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">0%</span>
                                    </div>
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Status:</span>
                                        <span class="text-sm font-medium text-gray-500">3 planejamento</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Fase 5 -->
                    <div class="relative fase-item" data-fase="5">
                        <div class="flex flex-col sm:flex-row items-start gap-4 ml-10 md:ml-16">
                            <div class="absolute left-0 w-12 md:w-16 text-right pr-4 hidden sm:block">
                                <span class="text-gray-500">Mai/2026</span>
                            </div>
                            <div class="bg-white p-6 rounded-xl shadow-md w-full card transition-all duration-200">
                                <div class="flex justify-between items-start mb-3">
                                    <div class="flex items-center">
                                        <div class="timeline-dot fase-5"></div>
                                        <h3 class="text-xl font-bold text-gray-800 ml-4">5. Projetos Pilotos</h3>
                                    </div>
                                    <span class="bg-pink-100 text-pink-800 text-xs font-medium px-2.5 py-0.5 rounded-full">mai/2026 - jul/2026</span>
                                </div>
                                <p class="text-gray-600 mb-4">Aplicação prática em projetos selecionados para validação e ajustes do modelo.</p>
                                <div class="flex flex-wrap gap-4">
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Progresso:</span>
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-pink-500 h-2.5 rounded-full progress-bar" style="width: 8%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">8%</span>
                                    </div>
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Status:</span>
                                        <span class="text-sm font-medium">
                                            <span class="text-yellow-500">1 em andamento</span>,
                                            <span class="text-gray-500">2 planejamento</span>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- Fase 6 -->
                    <div class="relative fase-item" data-fase="6">
                        <div class="flex flex-col sm:flex-row items-start gap-4 ml-10 md:ml-16">
                            <div class="absolute left-0 w-12 md:w-16 text-right pr-4 hidden sm:block">
                                <span class="text-gray-500">Ago/2026</span>
                            </div>
                            <div class="bg-white p-6 rounded-xl shadow-md w-full card transition-all duration-200">
                                <div class="flex justify-between items-start mb-3">
                                    <div class="flex items-center">
                                        <div class="timeline-dot fase-6"></div>
                                        <h3 class="text-xl font-bold text-gray-800 ml-4">6. Consolidação e Expansão</h3>
                                    </div>
                                    <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2.5 py-0.5 rounded-full">ago/2026 - out/2026</span>
                                </div>
                                <p class="text-gray-600 mb-4">Institucionalização do BIM como padrão nos projetos públicos municipais.</p>
                                <div class="flex flex-wrap gap-4">
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Progresso:</span>
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-purple-600 h-2.5 rounded-full progress-bar" style="width: 0%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">0%</span>
                                    </div>
                                    <div class="flex items-center">
                                        <span class="w-28 text-sm text-gray-500">Status:</span>
                                        <span class="text-sm font-medium text-gray-500">4 planejamento</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Detailed Activity Table -->
        <div class="bg-white rounded-xl shadow-md overflow-hidden mb-10">
            <div class="p-6 pb-0">
                <h2 class="text-2xl font-bold text-gray-800 mb-6 flex items-center">
                    <i class="fas fa-tasks text-blue-500 mr-3"></i>
                    Detalhamento das Atividades
                </h2>
                <div class="overflow-x-auto">
                    <table class="min-w-full divide-y divide-gray-200">
                        <thead class="bg-gray-50">
                            <tr>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Fase</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Período</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Atividade/Subitem</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Atividades Principais</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">% Concluído</th>
                                <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Observação</th>
                            </tr>
                        </thead>
                        <tbody class="bg-white divide-y divide-gray-200">
                            <!-- Fase 1 Activities -->
                            <tr class="activity-row hover:bg-gray-50" data-fase="1" data-status="100" data-progress="100">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Fase 1</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">mai/2025 – jul/2025</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Reunião de Kick-off</td>
                                <td class="px-6 py-4 text-sm text-gray-500">Apresentação do BIM a todas as secretarias.</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
                                        <i class="fas fa-check-circle mr-1"></i> Concluído
                                    </span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-green-600 h-2.5 rounded-full" style="width: 100%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">100%</span>
                                    </div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-500">realizado conforme</td>
                            </tr>
                            
                            <tr class="activity-row hover:bg-gray-50" data-fase="1" data-status="100" data-progress="100">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Fase 1</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">mai/2025 – jul/2025</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Mapeamento de Stakeholders</td>
                                <td class="px-6 py-4 text-sm text-gray-500">Identificação dos envolvidos e suas responsabilidades.</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
                                        <i class="fas fa-check-circle mr-1"></i> Concluído
                                    </span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-green-600 h-2.5 rounded-full" style="width: 100%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">100%</span>
                                    </div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-500">realizado conforme</td>
                            </tr>
                            
                            <tr class="activity-row hover:bg-gray-50" data-fase="1" data-status="75" data-progress="75">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Fase 1</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">mai/2025 – jul/2025</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Avaliação da Maturidade BIM</td>
                                <td class="px-6 py-4 text-sm text-gray-500">Análise através de questionários e entrevistas.</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
                                        <i class="fas fa-spinner mr-1"></i> Em Andamento
                                    </span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 75%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">75%</span>
                                    </div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-500">Ajustes no prazo de preenchimento do questionario</td>
                            </tr>
                            
                            <tr class="activity-row hover:bg-gray-50" data-fase="1" data-status="10" data-progress="10">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Fase 1</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">mai/2025 – jul/2025</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Formação do Núcleo BIM</td>
                                <td class="px-6 py-4 text-sm text-gray-500">Criação do grupo técnico municipal para acompanhamento.</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">
                                        <i class="fas fa-spinner mr-1"></i> Em Andamento
                                    </span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-blue-500 h-2.5 rounded-full" style="width: 10%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">10%</span>
                                    </div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-500">em fase de planejamento</td>
                            </tr>
                            
                            <tr class="activity-row hover:bg-gray-50" data-fase="1" data-status="5" data-progress="5">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Fase 1</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">mai/2025 – jul/2025</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Objetivos Estratégicos e Comunicação</td>
                                <td class="px-6 py-4 text-sm text-gray-500">Definição de metas e elaboração do plano de comunicação.</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">
                                        <i class="fas fa-clock mr-1"></i> Planejamento
                                    </span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-gray-500 h-2.5 rounded-full" style="width: 5%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">5%</span>
                                    </div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-500"></td>
                            </tr>
                            
                            <!-- Fase 2 Activities -->
                            <tr class="activity-row hover:bg-gray-50" data-fase="2" data-status="10" data-progress="10">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Fase 2</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">ago/2025 – out/2025</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Estratégia BIM</td>
                                <td class="px-6 py-4 text-sm text-gray-500">Documento com diretrizes, metas e cronograma detalhado.</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">
                                        <i class="fas fa-clock mr-1"></i> Planejamento
                                    </span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-gray-500 h-2.5 rounded-full" style="width: 10%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">10%</span>
                                    </div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-500"></td>
                            </tr>
                            
                            <tr class="activity-row hover:bg-gray-50" data-fase="2" data-status="0" data-progress="0">
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Fase 2</span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">ago/2025 – out/2025</td>
                                <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">Mapeamento de Fluxos</td>
                                <td class="px-6 py-4 text-sm text-gray-500">Análise dos processos de desenvolvimento de projetos atuais.</td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800">
                                        <i class="fas fa-clock mr-1"></i> Planejamento
                                    </span>
                                </td>
                                <td class="px-6 py-4 whitespace-nowrap">
                                    <div class="flex items-center">
                                        <div class="w-32 bg-gray-200 rounded-full h-2.5">
                                            <div class="bg-gray-500 h-2.5 rounded-full" style="width: 0%"></div>
                                        </div>
                                        <span class="ml-2 text-sm font-medium">0%</span>
                                    </div>
                                </td>
                                <td class="px-6 py-4 text-sm text-gray-500"></td>
                            </tr>
                            
                            <!-- Additional rows for other phases can be added in the same pattern -->
                            <!-- I'm showing just a few for this example, but the full table would include all activities -->
                        </tbody>
                    </table>
                </div>
            </div>
        </div>

        <!-- Summary Stats -->
        <div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-10">
            <div class="bg-white p-6 rounded-xl shadow-md">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="text-lg font-medium text-gray-900">Atividades Concluídas</h3>
                    <span class="bg-green-100 text-green-800 text-sm font-medium px-2.5 py-0.5 rounded-full">2</span>
                </div>
                <p class="text-gray-600 mb-4">Atividades já finalizadas na implementação BIM</p>
                <div class="flex items-center text-sm text-green-500">
                    <i class="fas fa-check-circle mr-2"></i>
                    <span>2% do total de atividades</span>
                </div>
            </div>
            
            <div class="bg-white p-6 rounded-xl shadow-md">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="text-lg font-medium text-gray-900">Atividades em Andamento</h3>
                    <span class="bg-yellow-100 text-yellow-800 text-sm font-medium px-2.5 py-0.5 rounded-full">3</span>
                </div>
                <p class="text-gray-600 mb-4">Atividades atualmente em desenvolvimento</p>
                <div class="flex items-center text-sm text-yellow-500">
                    <i class="fas fa-spinner mr-2"></i>
                    <span>12.5% do total de atividades</span>
                </div>
            </div>
            
            <div class="bg-white p-6 rounded-xl shadow-md">
                <div class="flex items-center justify-between mb-4">
                    <h3 class="text-lg font-medium text-gray-900">Atividades Planejadas</h3>
                    <span class="bg-gray-100 text-gray-800 text-sm font-medium px-2.5 py-0.5 rounded-full">19</span>
                </div>
                <p class="text-gray-600 mb-4">Atividades aguardando para serem iniciadas</p>
                <div class="flex items-center text-sm text-gray-500">
                    <i class="fas fa-clock mr-2"></i>
                    <span>85.5% do total de atividades</span>
                </div>
            </div>
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // Filter functionality
            const faseFilter = document.getElementById('fase-filter');
            const statusFilter = document.getElementById('status-filter');
            const resetFilter = document.getElementById('reset-filter');
            const faseItems = document.querySelectorAll('.fase-item');
            const activityRows = document.querySelectorAll('.activity-row');
            
            function applyFilters() {
                const selectedFase = faseFilter.value;
                const selectedStatus = statusFilter.value;
                
                // Filter timeline sections
                faseItems.forEach(item => {
                    if (selectedFase === 'all' || item.getAttribute('data-fase') === selectedFase) {
                        item.style.display = 'block';
                    } else {
                        item.style.display = 'none';
                    }
                });
                
                // Filter activity rows
                activityRows.forEach(row => {
                    const rowFase = row.getAttribute('data-fase');
                    const rowProgress = parseInt(row.getAttribute('data-progress'));
                    let rowStatus;
                    
                    if (rowProgress === 100) rowStatus = '100';
                    else if (rowProgress > 0 && rowProgress < 100) rowStatus = '1-99';
                    else rowStatus = '0';
                    
                    const faseMatch = selectedFase === 'all' || rowFase === selectedFase;
                    const statusMatch = selectedStatus === 'all' || rowStatus === selectedStatus;
                    
                    if (faseMatch && statusMatch) {
                        row.style.display = 'table-row';
                    } else {
                        row.style.display = 'none';
                    }
                });
            }
            
            faseFilter.addEventListener('change', applyFilters);
            statusFilter.addEventListener('change', applyFilters);
            
            resetFilter.addEventListener('click', function() {
                faseFilter.value = 'all';
                statusFilter.value = 'all';
                applyFilters();
            });
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=davidfernanando21/abc" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>