File size: 42,815 Bytes
558149a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI Assistant</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/lucide@latest"></script>
    <style>
        .ai-assistant-container {
            box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
        }
        .solar-journey-nav::-webkit-scrollbar {
            height: 3px;
        }
        .solar-journey-nav::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
        }
        .solar-journey-nav::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.1);
            border-radius: 3px;
        }
        @media (max-width: 768px) {
            .ai-assistant-container {
                margin-top: 2rem;
            }
        }
    </style>
</head>
<body class="bg-gray-50 dark:bg-gray-900">
    <section id="ai-assistant" class="py-16 md:py-24 bg-gray-50 dark:bg-gray-900">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8">
            <div class="text-center max-w-3xl mx-auto mb-12">
                <div class="inline-flex items-center justify-center p-2 bg-yellow-100 dark:bg-yellow-900 rounded-full mb-4">
                    <i data-lucide="sparkles" class="h-5 w-5 text-yellow-600 dark:text-yellow-400"></i>
                </div>
                <h2 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-white">Assistente com IA</h2>
                <p class="mt-4 text-lg text-gray-600 dark:text-gray-300">
                    Nosso assistente multimodal com IA ajuda proprietários com informações, recomendações e suporte em tempo real
                </p>
            </div>

            <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
                <div class="relative">
                    <div class="absolute -top-6 -left-6 bg-white dark:bg-gray-800 rounded-lg shadow-lg p-4 max-w-xs z-10">
                        <div class="flex items-start gap-3">
                            <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-300">
                                <i data-lucide="search" class="h-5 w-5"></i>
                            </div>
                            <div>
                                <p class="text-sm font-medium text-gray-900 dark:text-white">Análise de Imóveis</p>
                                <p class="text-xs text-gray-500 dark:text-gray-400">Obtenha insights sobre o mercado imobiliário local</p>
                            </div>
                        </div>
                    </div>

                    <div class="bg-white dark:bg-gray-800 rounded-lg shadow-xl overflow-hidden border relative ai-assistant-container">
                        <div class="absolute -top-3 left-1/2 transform -translate-x-1/2 bg-gradient-to-r from-yellow-500 via-yellow-400 to-yellow-500 text-black text-xs font-bold py-0.5 px-2 rounded-full flex items-center gap-1 z-10">
                            <i data-lucide="sparkles" class="h-3 w-3"></i>
                            <span>Powered by AI SDK</span>
                        </div>

                        <div class="absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-yellow-500 via-yellow-400 to-yellow-500"></div>
                        <div class="border-b border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-900 px-4 py-2">
                            <div class="text-xs font-medium text-gray-500 dark:text-gray-400 mb-1">Jornada Solar</div>
                            <div class="flex overflow-x-auto pb-1 gap-1 -mx-1 px-1 solar-journey-nav">
                                <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-yellow-100 text-yellow-800 dark:bg-yellow-900/50 dark:text-yellow-300 font-medium">
                                    <i data-lucide="search" class="h-3 w-3"></i>
                                    <span>Avaliação</span>
                                    <div class="w-1.5 h-1.5 rounded-full bg-yellow-500 ml-0.5"></div>
                                </div>
                                <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
                                    <i data-lucide="bar-chart-3" class="h-3 w-3"></i>
                                    <span>Dimensionamento</span>
                                </div>
                                <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
                                    <i data-lucide="wallet" class="h-3 w-3"></i>
                                    <span>Financiamento</span>
                                </div>
                                <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
                                    <i data-lucide="wrench" class="h-3 w-3"></i>
                                    <span>Instalação</span>
                                </div>
                                <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
                                    <i data-lucide="file-check" class="h-3 w-3"></i>
                                    <span>Homologação</span>
                                </div>
                                <div class="flex-shrink-0 rounded-full px-2 py-1 text-xs flex items-center gap-1 cursor-pointer transition-colors bg-gray-100 text-gray-600 dark:bg-gray-800 dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700">
                                    <i data-lucide="line-chart" class="h-3 w-3"></i>
                                    <span>Monitoramento</span>
                                </div>
                            </div>
                        </div>

                        <div class="absolute -right-1 top-12 rotate-90 origin-bottom-left">
                            <div class="bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 text-[10px] py-0.5 px-1.5 rounded-sm font-mono">
                                @ai-sdk/ui@1.1.0
                            </div>
                        </div>
                        <div class="absolute right-2 top-[52px] flex flex-col gap-1 z-10">
                            <div class="bg-white dark:bg-gray-800 shadow-md rounded-md p-1 border border-gray-200 dark:border-gray-700">
                                <button class="h-6 w-6 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
                                    <i data-lucide="help-circle" class="h-3.5 w-3.5 text-yellow-600 dark:text-yellow-400"></i>
                                </button>
                                <button class="h-6 w-6 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
                                    <i data-lucide="calculator" class="h-3.5 w-3.5 text-yellow-600 dark:text-yellow-400"></i>
                                </button>
                                <button class="h-6 w-6 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
                                    <i data-lucide="bar-chart-3" class="h-3.5 w-3.5 text-yellow-600 dark:text-yellow-400"></i>
                                </button>
                            </div>
                        </div>

                        <div class="p-4 border-b flex items-center justify-between">
                            <div class="flex items-center gap-2">
                                <i data-lucide="bot" class="h-5 w-5 text-yellow-600"></i>
                                <div>
                                    <span class="font-medium text-gray-900 dark:text-white">Assistente Solar Yello/Cash</span>
                                    <div class="flex items-center gap-1.5 mt-0.5">
                                        <span class="text-[10px] text-gray-500 dark:text-gray-400">Streaming com</span>
                                        <span class="bg-black text-white dark:bg-white dark:text-black text-[10px] px-1 py-0.5 rounded font-mono">
                                            generateUI()
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class="flex items-center gap-2">
                                <div class="flex items-center gap-1 bg-green-100 dark:bg-green-900 text-green-800 dark:text-green-200 text-xs px-1.5 py-0.5 rounded-full">
                                    <div class="w-1.5 h-1.5 bg-green-500 rounded-full animate-pulse"></div>
                                    <span>Ativo</span>
                                </div>
                                <button class="flex items-center text-sm px-3 py-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-700">
                                    <i data-lucide="sparkles" class="h-4 w-4 mr-2"></i>
                                    Novo chat
                                </button>
                            </div>
                        </div>

                        <div class="px-4 py-2 bg-gray-50 dark:bg-gray-900 border-b border-gray-200 dark:border-gray-700">
                            <div class="flex gap-2 overflow-x-auto pb-1 -mx-1 px-1">
                                <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
                                    Potencial solar da minha região
                                </div>
                                <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
                                    Economia mensal estimada
                                </div>
                                <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
                                    Opções de financiamento
                                </div>
                                <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
                                    Processo de instalação
                                </div>
                                <div class="flex-shrink-0 bg-white dark:bg-gray-800 text-xs px-2 py-1 rounded-full border border-gray-200 dark:border-gray-700 cursor-pointer hover:bg-yellow-50 dark:hover:bg-yellow-900/20 hover:border-yellow-300 dark:hover:border-yellow-700 transition-colors">
                                    Homologação junto à concessionária
                                </div>
                            </div>
                        </div>

                        <div class="h-[420px] overflow-y-auto p-4 space-y-4">
                            <div class="flex gap-3">
                                <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
                                    <i data-lucide="bot" class="h-4 w-4"></i>
                                </div>
                                <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
                                    <div class="flex items-center gap-1.5 mb-1">
                                        <div class="bg-black text-white dark:bg-white dark:text-black text-[10px] px-1 rounded font-mono">
                                            streamText
                                        </div>
                                        <span class="text-[10px] text-gray-500 dark:text-gray-400">via AI SDK Core</span>
                                    </div>
                                    <p class="text-sm text-gray-800 dark:text-gray-200">
                                        Olá! Sou o assistente Yello/Cash alimentado por IA generativa multimodal. Posso analisar seu potencial solar em tempo real, simular financiamentos personalizados e dimensionar projetos fotovoltaicos com precisão. Como posso otimizar sua experiência solar hoje?
                                    </p>
                                    <div class="mt-1.5 text-[10px] text-gray-500 dark:text-gray-400 flex items-center gap-1">
                                        <span>Modelo:</span>
                                        <span class="font-mono bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 px-1 rounded">
                                            gpt-4o
                                        </span>
                                        <span class="ml-1">Temperatura:</span>
                                        <span class="font-mono bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 px-1 rounded">
                                            0.7
                                        </span>
                                    </div>
                                </div>
                            </div>

                            <div class="flex gap-3 justify-end">
                                <div class="bg-yellow-100 dark:bg-yellow-900 p-3 rounded-lg max-w-[80%]">
                                    <p class="text-sm text-gray-800 dark:text-yellow-200">
                                        Preciso avaliar o potencial solar do telhado da minha casa. Pode me ajudar?
                                    </p>
                                </div>
                                <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center flex-shrink-0">
                                    <i data-lucide="user" class="h-4 w-4 text-gray-700 dark:text-gray-300"></i>
                                </div>
                            </div>

                            <div class="flex gap-3">
                                <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
                                    <i data-lucide="bot" class="h-4 w-4"></i>
                                </div>
                                <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
                                    <p class="text-sm text-gray-800 dark:text-gray-200">
                                        Claro! Posso analisar o potencial solar do seu telhado. Você poderia compartilhar uma imagem aérea da sua residência ou o endereço para que eu possa acessar imagens de satélite?
                                    </p>
                                </div>
                            </div>

                            <div class="flex gap-3 justify-end">
                                <div class="bg-yellow-100 dark:bg-yellow-900 p-3 rounded-lg max-w-[80%]">
                                    <p class="text-sm text-gray-800 dark:text-yellow-200">
                                        Aqui está uma foto do meu telhado e minha localização. Gostaria de saber o potencial solar e as opções de financiamento.
                                    </p>
                                    <div class="mt-2 rounded-md overflow-hidden border border-yellow-200 dark:border-yellow-800 relative">
                                        <div class="w-full h-[150px] bg-gray-200 dark:bg-gray-700 flex items-center justify-center">
                                            <span class="text-gray-500 dark:text-gray-400">Imagem do telhado</span>
                                        </div>
                                        <div class="absolute bottom-2 right-2 bg-white/80 dark:bg-black/60 rounded-md px-1.5 py-0.5 text-xs font-medium">
                                            São Paulo, SP • 23°33'S 46°38'W
                                        </div>
                                        <div class="absolute top-2 left-2 bg-yellow-500/90 text-black rounded-md px-1.5 py-0.5 text-xs font-bold flex items-center">
                                            <svg class="w-3 h-3 mr-1" viewBox="0 0 24 24" fill="currentColor">
                                                <path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" />
                                            </svg>
                                            Localizado
                                        </div>
                                    </div>
                                </div>
                                <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center flex-shrink-0">
                                    <i data-lucide="user" class="h-4 w-4 text-gray-700 dark:text-gray-300"></i>
                                </div>
                            </div>

                            <div class="flex gap-3">
                                <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
                                    <i data-lucide="bot" class="h-4 w-4"></i>
                                </div>
                                <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
                                    <p class="text-sm font-medium text-yellow-600 dark:text-yellow-400">
                                        🔍 Analisando imagem com visão computacional...
                                    </p>
                                    <div class="my-2 p-2 bg-yellow-50 dark:bg-yellow-900/30 rounded-md border border-yellow-200 dark:border-yellow-800">
                                        <p class="text-xs text-yellow-800 dark:text-yellow-300">
                                            Processando multi-embeddings para análise de superfície e orientação solar...
                                        </p>
                                        <div class="w-full bg-gray-200 rounded-full h-1.5 my-1.5">
                                            <div class="bg-yellow-500 h-1.5 rounded-full w-full"></div>
                                        </div>
                                    </div>
                                    <p class="text-sm mt-2 text-gray-800 dark:text-gray-200">
                                        <span class="font-bold">AHAA!</span> Identifiquei um telhado com orientação norte-sul e área útil aproximada de 48m²!
                                    </p>
                                    <div class="mt-2 p-2 bg-blue-50 dark:bg-blue-900/30 rounded-md border border-blue-200 dark:border-blue-800">
                                        <div class="flex items-center justify-between mb-1">
                                            <span class="text-xs font-medium text-blue-800 dark:text-blue-300">Dimensões detectadas:</span>
                                            <span class="text-xs font-bold">8m x 6m</span>
                                        </div>
                                        <div class="relative h-24 border border-dashed border-blue-300 dark:border-blue-700 rounded-md overflow-hidden">
                                            <div class="w-full h-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center">
                                                <span class="text-gray-500 dark:text-gray-400">Análise do telhado</span>
                                            </div>
                                            <div class="absolute inset-0 flex items-center justify-center">
                                                <div class="w-3/4 h-3/4 border-2 border-yellow-500 rounded-sm flex items-center justify-center">
                                                    <span class="text-xs font-bold bg-yellow-100 dark:bg-yellow-900 px-1 py-0.5 rounded text-yellow-800 dark:text-yellow-200">
                                                        48m²
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <div class="flex gap-3">
                                <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
                                    <i data-lucide="bot" class="h-4 w-4"></i>
                                </div>
                                <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
                                    <p class="text-sm text-gray-800 dark:text-gray-200">Com base na análise multimodal, posso oferecer as seguintes informações:</p>
                                    <div class="mt-2 space-y-2">
                                        <div class="p-2 bg-green-50 dark:bg-green-900/30 rounded-md border border-green-200 dark:border-green-800">
                                            <p class="text-xs font-medium text-green-800 dark:text-green-300">Potencial Solar</p>
                                            <div class="flex items-center justify-between mt-1">
                                                <span class="text-xs">Irradiação média:</span>
                                                <span class="text-xs font-bold">5.2 kWh/m²/dia</span>
                                            </div>
                                            <div class="flex items-center justify-between mt-1">
                                                <span class="text-xs">Capacidade estimada:</span>
                                                <span class="text-xs font-bold">7.2 kWp</span>
                                            </div>
                                            <div class="flex items-center justify-between mt-1">
                                                <span class="text-xs">Geração mensal:</span>
                                                <span class="text-xs font-bold">864 kWh</span>
                                            </div>
                                        </div>

                                        <div class="p-2 bg-blue-50 dark:bg-blue-900/30 rounded-md border border-blue-200 dark:border-blue-800">
                                            <p class="text-xs font-medium text-blue-800 dark:text-blue-300">
                                                Dimensionamento do Sistema
                                            </p>
                                            <div class="flex items-center justify-between mt-1">
                                                <span class="text-xs">Painéis recomendados:</span>
                                                <span class="text-xs font-bold">18 x 400W</span>
                                            </div>
                                            <div class="flex items-center justify-between mt-1">
                                                <span class="text-xs">Inversor ideal:</span>
                                                <span class="text-xs font-bold">8kW</span>
                                            </div>
                                            <div class="flex items-center justify-between mt-1">
                                                <span class="text-xs">Área ocupada:</span>
                                                <span class="text-xs font-bold">36m² (75% do disponível)</span>
                                            </div>
                                        </div>
                                    </div>
                                    <p class="text-sm mt-2 font-medium text-gray-800 dark:text-gray-200">
                                        WOW! 🌟 Com base no seu consumo médio estimado, este sistema poderia cobrir até 95% da sua demanda energética!
                                    </p>
                                </div>
                            </div>

                            <div class="flex gap-3 justify-end">
                                <div class="bg-yellow-100 dark:bg-yellow-900 p-3 rounded-lg max-w-[80%]">
                                    <p class="text-sm text-gray-800 dark:text-yellow-200">
                                        Isso é incrível! Quanto custaria um sistema assim e quais seriam as opções de financiamento?
                                    </p>
                                </div>
                                <div class="w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-700 flex items-center justify-center flex-shrink-0">
                                    <i data-lucide="user" class="h-4 w-4 text-gray-700 dark:text-gray-300"></i>
                                </div>
                            </div>

                            <div class="flex gap-3">
                                <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 flex-shrink-0">
                                    <i data-lucide="bot" class="h-4 w-4"></i>
                                </div>
                                <div class="bg-gray-100 dark:bg-gray-700 p-3 rounded-lg max-w-[80%]">
                                    <p class="text-sm text-gray-800 dark:text-gray-200">
                                        <span class="font-bold">AHAA!</span> Com base na análise completa, posso apresentar as seguintes opções financeiras:
                                    </p>
                                    <div class="mt-2 p-2 bg-yellow-50 dark:bg-yellow-900/30 rounded-md border border-yellow-200 dark:border-yellow-800">
                                        <p class="text-xs font-medium text-yellow-800 dark:text-yellow-300">
                                            Investimento Estimado: R$ 42.500
                                        </p>
                                        <div class="mt-2 space-y-1.5">
                                            <div class="flex items-center justify-between">
                                                <span class="text-xs">Pagamento à vista:</span>
                                                <span class="text-xs font-bold text-green-600">R$ 38.250 (10% desc.)</span>
                                            </div>
                                            <div class="flex items-center justify-between">
                                                <span class="text-xs">Pagamento por marcos:</span>
                                                <span class="text-xs font-bold">4x de R$ 10.625</span>
                                            </div>
                                            <div class="flex items-center justify-between">
                                                <span class="text-xs">Financiamento:</span>
                                                <span class="text-xs font-bold">60x de R$ 990/mês</span>
                                            </div>
                                            <div class="flex items-center justify-between">
                                                <span class="text-xs">Economia mensal:</span>
                                                <span class="text-xs font-bold text-green-600">R$ 950/mês</span>
                                            </div>
                                            <div class="flex items-center justify-between">
                                                <span class="text-xs">Retorno do investimento:</span>
                                                <span class="text-xs font-bold text-green-600">3.7 anos</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="mt-2 relative h-32 bg-gray-50 dark:bg-gray-900 rounded-md overflow-hidden border border-gray-200 dark:border-gray-700">
                                        <div class="absolute inset-0">
                                            <div class="h-full w-full flex">
                                                <div class="h-full bg-red-200 dark:bg-red-900/50" style="width: 40%"></div>
                                                <div class="h-full bg-yellow-200 dark:bg-yellow-900/50" style="width: 30%"></div>
                                                <div class="h-full bg-green-200 dark:bg-green-900/50" style="width: 30%"></div>
                                            </div>
                                            <div class="absolute top-2 left-2 right-2 flex justify-between text-xs">
                                                <span>Investimento</span>
                                                <span>Economia</span>
                                            </div>
                                            <div class="absolute bottom-0 left-0 right-0">
                                                <div class="h-px w-full bg-gray-300 dark:bg-gray-600"></div>
                                                <div class="flex justify-between text-xs px-2 py-1">
                                                    <span>Hoje</span>
                                                    <span>5 anos</span>
                                                    <span>10 anos</span>
                                                    <span>15 anos</span>
                                                </div>
                                            </div>
                                            <div class="absolute top-1/2 left-[40%] -translate-y-1/2 -translate-x-1/2">
                                                <div class="bg-yellow-500 text-black text-xs font-bold px-1 py-0.5 rounded">Payback</div>
                                            </div>
                                            <div class="absolute top-1/2 right-4 -translate-y-1/2">
                                                <div class="bg-green-500 text-white text-xs font-bold px-1 py-0.5 rounded">
                                                    R$ 142.500 em 15 anos
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="border-t border-gray-200 dark:border-gray-700 px-4 py-2 bg-gray-50 dark:bg-gray-900">
                            <div class="flex items-center justify-between mb-1">
                                <div class="text-xs text-gray-500 dark:text-gray-400">Progresso da sua jornada solar</div>
                                <div class="text-xs font-medium">1/6 etapas</div>
                            </div>
                            <div class="w-full h-1.5 bg-gray-200 dark:bg-gray-700 rounded-full overflow-hidden">
                                <div class="h-full bg-yellow-500" style="width: 16.67%"></div>
                            </div>
                            <div class="flex justify-between text-[10px] text-gray-500 dark:text-gray-400 mt-1">
                                <span>Avaliação</span>
                                <span>Dimensionamento</span>
                                <span>Financiamento</span>
                                <span>Instalação</span>
                                <span>Homologação</span>
                                <span>Monitoramento</span>
                            </div>
                        </div>

                        <div class="p-4 border-t">
                            <div class="flex flex-col gap-2">
                                <div class="flex items-center justify-between px-1">
                                    <div class="flex items-center gap-1.5">
                                        <div class="w-1.5 h-1.5 bg-green-500 rounded-full animate-pulse"></div>
                                        <span class="text-xs text-gray-500 dark:text-gray-400">IA Playground</span>
                                    </div>
                                    <div class="flex items-center gap-2">
                                        <div class="flex items-center gap-1">
                                            <span class="text-xs text-gray-500 dark:text-gray-400">Modo:</span>
                                            <select class="text-xs bg-transparent border rounded px-1 py-0.5">
                                                <option>Multimodal</option>
                                                <option>Texto</option>
                                                <option>Imagem</option>
                                            </select>
                                        </div>
                                        <div class="flex items-center gap-1">
                                            <span class="text-xs text-gray-500 dark:text-gray-400">SDK:</span>
                                            <span class="text-xs bg-yellow-100 dark:bg-yellow-900 text-yellow-800 dark:text-yellow-200 px-1 py-0.5 rounded font-mono">
                                                v1.1.0
                                            </span>
                                        </div>
                                    </div>
                                </div>
                                <div class="relative flex-1">
                                    <input
                                        type="text"
                                        placeholder="Digite sua mensagem ou envie uma imagem para análise..."
                                        class="w-full rounded-full border border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800 px-4 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2 pr-24"
                                    />
                                    <div class="absolute right-1 top-1/2 -translate-y-1/2 flex items-center gap-1">
                                        <button class="h-7 w-7 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
                                            <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                                <path d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14" />
                                                <circle cx="8.5" cy="8.5" r="1.5" />
                                                <path d="M21 12v7a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2h7" />
                                            </svg>
                                        </button>
                                        <button class="h-7 w-7 flex items-center justify-center rounded-full hover:bg-gray-100 dark:hover:bg-gray-700">
                                            <i data-lucide="message-square" class="h-4 w-4"></i>
                                        </button>
                                        <button class="h-7 w-7 flex items-center justify-center rounded-full bg-yellow-500 hover:bg-yellow-600 text-black">
                                            <svg class="h-4 w-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                                                <path d="M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z" />
                                            </svg>
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="space-y-6">
                    <h3 class="text-2xl font-bold text-gray-900 dark:text-white">Potencializado por IA Avançada</h3>
                    <p class="text-gray-600 dark:text-gray-300">
                        Nosso assistente utiliza modelos multimodais da OpenAI e embeddings para oferecer uma experiência conversacional natural e inteligente.
                    </p>

                    <div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mt-8">
                        <div class="bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden">
                            <div class="p-4 pb-2">
                                <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-400 mb-2">
                                    <i data-lucide="message-square" class="h-5 w-5"></i>
                                </div>
                                <h4 class="text-base font-medium text-gray-900 dark:text-white">Suporte Conversacional</h4>
                            </div>
                            <div class="px-4 pb-4">
                                <p class="text-sm text-gray-500 dark:text-gray-400">Responde perguntas e oferece assistência em tempo real</p>
                            </div>
                        </div>

                        <div class="bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden">
                            <div class="p-4 pb-2">
                                <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-400 mb-2">
                                    <i data-lucide="search" class="h-5 w-5"></i>
                                </div>
                                <h4 class="text-base font-medium text-gray-900 dark:text-white">Análise de Mercado</h4>
                            </div>
                            <div class="px-4 pb-4">
                                <p class="text-sm text-gray-500 dark:text-gray-400">Fornece insights sobre tendências e preços de imóveis</p>
                            </div>
                        </div>

                        <div class="bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden">
                            <div class="p-4 pb-2">
                                <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-400 mb-2">
                                    <i data-lucide="sparkles" class="h-5 w-5"></i>
                                </div>
                                <h4 class="text-base font-medium text-gray-900 dark:text-white">Recomendações Personalizadas</h4>
                            </div>
                            <div class="px-4 pb-4">
                                <p class="text-sm text-gray-500 dark:text-gray-400">Sugere propriedades e estratégias com base no seu perfil</p>
                            </div>
                        </div>

                        <div class="bg-white dark:bg-gray-800 rounded-lg border border-gray-200 dark:border-gray-700 overflow-hidden">
                            <div class="p-4 pb-2">
                                <div class="w-10 h-10 rounded-full bg-yellow-100 dark:bg-yellow-900 flex items-center justify-center text-yellow-600 dark:text-yellow-400 mb-2">
                                    <i data-lucide="bot" class="h-5 w-5"></i>
                                </div>
                                <h4 class="text-base font-medium text-gray-900 dark:text-white">Automação Inteligente</h4>
                            </div>
                            <div class="px-4 pb-4">
                                <p class="text-sm text-gray-500 dark:text-gray-400">Automatiza tarefas rotineiras e processos administrativos</p>
                            </div>
                        </div>
                    </div>

                    <button class="mt-4 px-4 py-2 bg-yellow-500 hover:bg-yellow-600 text-black font-medium rounded-md transition-colors">
                        Experimentar o Assistente
                    </button>
                </div>
            </div>
        </div>
    </section>

    <script>
        lucide.createIcons();
    </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=fernando-bold/assistente-com-ia" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>