File size: 35,805 Bytes
32cb405
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Caminhos para Superar a Depressão</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>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: #f8fafc;
        }
        
        .gradient-bg {
            background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, #6366f1 100%);
        }
        
        .mood-tracker {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 16px;
        }
        
        .breathing-circle {
            animation: pulse 4s infinite ease-in-out;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .progress-bar {
            transition: width 0.5s ease-in-out;
        }
        
        .journal-entry {
            transition: all 0.3s ease;
        }
        
        .journal-entry:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }
    </style>
</head>
<body>
    <!-- Header -->
    <header class="gradient-bg text-white">
        <div class="container mx-auto px-4 py-8">
            <div class="flex justify-between items-center">
                <div>
                    <h1 class="text-3xl font-bold">Caminhos da Luz</h1>
                    <p class="text-indigo-100">Encontrando esperança na jornada contra a depressão</p>
                </div>
                <button id="theme-toggle" class="p-2 rounded-full bg-white bg-opacity-20 hover:bg-opacity-30 transition">
                    <i class="fas fa-moon text-white"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- Hero Section -->
    <section class="gradient-bg text-white py-12">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-8 md:mb-0">
                    <h2 class="text-4xl font-bold mb-4">Você não está sozinho nessa jornada</h2>
                    <p class="text-xl mb-6 text-indigo-100">A depressão pode parecer uma estrada escura, mas há luz e esperança à frente. Vamos caminhar juntos.</p>
                    <div class="flex flex-wrap gap-4">
                        <button class="bg-white text-indigo-600 px-6 py-3 rounded-full font-medium hover:bg-indigo-50 transition">Fale com um especialista</button>
                        <button class="border-2 border-white text-white px-6 py-3 rounded-full font-medium hover:bg-white hover:bg-opacity-10 transition">Grupos de apoio</button>
                    </div>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <img src="https://images.unsplash.com/photo-1498837167922-d504275e5781?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" alt="Pessoa olhando para o horizonte" class="rounded-xl shadow-2xl max-w-md w-full">
                </div>
            </div>
        </div>
    </section>

    <!-- Understanding Depression -->
    <section class="py-16 bg-white">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Entendendo a Depressão</h2>
            
            <div class="grid md:grid-cols-3 gap-8">
                <div class="bg-indigo-50 p-6 rounded-xl">
                    <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mb-4">
                        <i class="fas fa-brain text-indigo-600 text-xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2 text-gray-800">O que é depressão?</h3>
                    <p class="text-gray-600">A depressão é uma doença médica séria que afeta negativamente como você se sente, pensa e age. Não é apenas "estar triste" - é uma condição complexa que requer compreensão e tratamento.</p>
                </div>
                
                <div class="bg-indigo-50 p-6 rounded-xl">
                    <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mb-4">
                        <i class="fas fa-exclamation-triangle text-indigo-600 text-xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2 text-gray-800">Sinais e sintomas</h3>
                    <p class="text-gray-600">Tristeza persistente, perda de interesse em atividades, mudanças no apetite ou sono, fadiga, sentimentos de inutilidade, dificuldade de concentração e pensamentos sobre morte ou suicídio.</p>
                </div>
                
                <div class="bg-indigo-50 p-6 rounded-xl">
                    <div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mb-4">
                        <i class="fas fa-hands-helping text-indigo-600 text-xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2 text-gray-800">É tratável</h3>
                    <p class="text-gray-600">Com a abordagem correta - que pode incluir terapia, medicação, mudanças no estilo de vida e apoio social - a maioria das pessoas com depressão pode melhorar significativamente.</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Self-Help Tools -->
    <section class="py-16 bg-gray-50">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Ferramentas de Autoajuda</h2>
            
            <div class="grid md:grid-cols-2 gap-8 mb-12">
                <!-- Mood Tracker -->
                <div class="mood-tracker p-6 rounded-xl border border-gray-200 bg-white">
                    <h3 class="text-xl font-semibold mb-4 text-gray-800">Rastreador de Humor</h3>
                    <p class="text-gray-600 mb-4">Registre como você está se sentindo hoje:</p>
                    
                    <div class="flex justify-between mb-6">
                        <button class="mood-btn p-3 rounded-full bg-red-100 text-red-600 hover:bg-red-200" data-mood="1">
                            <i class="fas fa-angry text-2xl"></i>
                        </button>
                        <button class="mood-btn p-3 rounded-full bg-yellow-100 text-yellow-600 hover:bg-yellow-200" data-mood="2">
                            <i class="fas fa-frown text-2xl"></i>
                        </button>
                        <button class="mood-btn p-3 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200" data-mood="3">
                            <i class="fas fa-meh text-2xl"></i>
                        </button>
                        <button class="mood-btn p-3 rounded-full bg-blue-100 text-blue-600 hover:bg-blue-200" data-mood="4">
                            <i class="fas fa-smile text-2xl"></i>
                        </button>
                        <button class="mood-btn p-3 rounded-full bg-green-100 text-green-600 hover:bg-green-200" data-mood="5">
                            <i class="fas fa-laugh text-2xl"></i>
                        </button>
                    </div>
                    
                    <div id="mood-history" class="bg-gray-50 p-4 rounded-lg">
                        <h4 class="font-medium mb-2 text-gray-700">Seu histórico de humor</h4>
                        <div class="flex items-center h-8 mb-2">
                            <div class="w-6 text-xs text-gray-500">1</div>
                            <div class="flex-1 h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div id="mood-bar-1" class="h-full bg-red-500 progress-bar" style="width: 0%"></div>
                            </div>
                        </div>
                        <div class="flex items-center h-8 mb-2">
                            <div class="w-6 text-xs text-gray-500">2</div>
                            <div class="flex-1 h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div id="mood-bar-2" class="h-full bg-yellow-500 progress-bar" style="width: 0%"></div>
                            </div>
                        </div>
                        <div class="flex items-center h-8 mb-2">
                            <div class="w-6 text-xs text-gray-500">3</div>
                            <div class="flex-1 h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div id="mood-bar-3" class="h-full bg-gray-500 progress-bar" style="width: 0%"></div>
                            </div>
                        </div>
                        <div class="flex items-center h-8 mb-2">
                            <div class="w-6 text-xs text-gray-500">4</div>
                            <div class="flex-1 h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div id="mood-bar-4" class="h-full bg-blue-500 progress-bar" style="width: 0%"></div>
                            </div>
                        </div>
                        <div class="flex items-center h-8">
                            <div class="w-6 text-xs text-gray-500">5</div>
                            <div class="flex-1 h-2 bg-gray-200 rounded-full overflow-hidden">
                                <div id="mood-bar-5" class="h-full bg-green-500 progress-bar" style="width: 0%"></div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- Breathing Exercise -->
                <div class="p-6 rounded-xl border border-gray-200 bg-white">
                    <h3 class="text-xl font-semibold mb-4 text-gray-800">Exercício de Respiração</h3>
                    <p class="text-gray-600 mb-6">A respiração consciente pode ajudar a reduzir a ansiedade e melhorar o humor. Experimente este exercício simples:</p>
                    
                    <div class="flex flex-col items-center">
                        <div class="breathing-circle w-40 h-40 bg-indigo-100 rounded-full flex items-center justify-center mb-6">
                            <div id="breath-text" class="text-2xl font-bold text-indigo-700">Inspire</div>
                        </div>
                        
                        <button id="start-breathing" class="bg-indigo-600 text-white px-6 py-2 rounded-full hover:bg-indigo-700 transition">
                            Começar exercício
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- Journal Section -->
            <div class="bg-white p-6 rounded-xl border border-gray-200">
                <h3 class="text-xl font-semibold mb-4 text-gray-800">Diário de Gratidão</h3>
                <p class="text-gray-600 mb-6">Escrever sobre coisas pelas quais você é grato pode ajudar a mudar sua perspectiva. Tente listar 3 coisas todos os dias.</p>
                
                <div class="mb-4">
                    <textarea id="journal-entry" class="w-full p-4 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" rows="4" placeholder="Hoje sou grato por..."></textarea>
                </div>
                <button id="save-journal" class="bg-indigo-600 text-white px-6 py-2 rounded-full hover:bg-indigo-700 transition">
                    Salvar entrada
                </button>
                
                <div id="journal-entries" class="mt-8 grid md:grid-cols-2 gap-4">
                    <!-- Journal entries will appear here -->
                </div>
            </div>
        </div>
    </section>

    <!-- Professional Help -->
    <section class="py-16 bg-indigo-50">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Buscando Ajuda Profissional</h2>
            
            <div class="grid md:grid-cols-3 gap-8">
                <div class="bg-white p-6 rounded-xl shadow-sm">
                    <div class="w-16 h-16 bg-indigo-100 rounded-full flex items-center justify-center mb-4 mx-auto">
                        <i class="fas fa-user-md text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2 text-center text-gray-800">Psiquiatras</h3>
                    <p class="text-gray-600 text-center">Médicos especializados que podem diagnosticar a depressão e prescrever medicamentos quando necessário.</p>
                </div>
                
                <div class="bg-white p-6 rounded-xl shadow-sm">
                    <div class="w-16 h-16 bg-indigo-100 rounded-full flex items-center justify-center mb-4 mx-auto">
                        <i class="fas fa-comments text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2 text-center text-gray-800">Psicólogos</h3>
                    <p class="text-gray-600 text-center">Profissionais que oferecem terapia para ajudar a entender e lidar com pensamentos e sentimentos difíceis.</p>
                </div>
                
                <div class="bg-white p-6 rounded-xl shadow-sm">
                    <div class="w-16 h-16 bg-indigo-100 rounded-full flex items-center justify-center mb-4 mx-auto">
                        <i class="fas fa-users text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="text-xl font-semibold mb-2 text-center text-gray-800">Grupos de Apoio</h3>
                    <p class="text-gray-600 text-center">Encontre pessoas que entendem o que você está passando e podem oferecer apoio e compreensão.</p>
                </div>
            </div>
            
            <div class="mt-12 text-center">
                <h3 class="text-2xl font-semibold mb-4 text-gray-800">Crise ou pensamentos suicidas?</h3>
                <p class="text-lg mb-6 text-gray-700">Ligue para o <strong>188</strong> - Centro de Valorização da Vida (CVV)</p>
                <p class="text-gray-600">Atendimento 24 horas, gratuito e sigiloso</p>
            </div>
        </div>
    </section>

    <!-- Lifestyle Changes -->
    <section class="py-16 bg-white">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Mudanças no Estilo de Vida</h2>
            
            <div class="grid md:grid-cols-4 gap-6">
                <div class="text-center">
                    <div class="w-20 h-20 bg-indigo-100 rounded-full flex items-center justify-center mb-4 mx-auto">
                        <i class="fas fa-walking text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="font-semibold mb-2 text-gray-800">Exercício Físico</h3>
                    <p class="text-sm text-gray-600">Atividade regular libera endorfinas que melhoram o humor.</p>
                </div>
                
                <div class="text-center">
                    <div class="w-20 h-20 bg-indigo-100 rounded-full flex items-center justify-center mb-4 mx-auto">
                        <i class="fas fa-utensils text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="font-semibold mb-2 text-gray-800">Alimentação Saudável</h3>
                    <p class="text-sm text-gray-600">Nutrientes adequados apoiam a saúde cerebral.</p>
                </div>
                
                <div class="text-center">
                    <div class="w-20 h-20 bg-indigo-100 rounded-full flex items-center justify-center mb-4 mx-auto">
                        <i class="fas fa-moon text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="font-semibold mb-2 text-gray-800">Sono Regular</h3>
                    <p class="text-sm text-gray-600">Dormir bem é essencial para o equilíbrio emocional.</p>
                </div>
                
                <div class="text-center">
                    <div class="w-20 h-20 bg-indigo-100 rounded-full flex items-center justify-center mb-4 mx-auto">
                        <i class="fas fa-hands-helping text-indigo-600 text-2xl"></i>
                    </div>
                    <h3 class="font-semibold mb-2 text-gray-800">Conexões Sociais</h3>
                    <p class="text-sm text-gray-600">Manter relacionamentos ajuda a combater o isolamento.</p>
                </div>
            </div>
            
            <div class="mt-12 bg-indigo-50 p-6 rounded-xl">
                <h3 class="text-xl font-semibold mb-4 text-gray-800">Desafio de 7 Dias</h3>
                <p class="text-gray-600 mb-6">Pequenos passos podem fazer uma grande diferença. Aceite este desafio:</p>
                
                <div class="grid md:grid-cols-7 gap-4">
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="font-bold text-indigo-600 mb-2">Dia 1</div>
                        <p class="text-sm">Caminhe por 15 minutos</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="font-bold text-indigo-600 mb-2">Dia 2</div>
                        <p class="text-sm">Ligue para um amigo</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="font-bold text-indigo-600 mb-2">Dia 3</div>
                        <p class="text-sm">Escreva 3 coisas boas</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="font-bold text-indigo-600 mb-2">Dia 4</div>
                        <p class="text-sm">Experimente uma comida nova</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="font-bold text-indigo-600 mb-2">Dia 5</div>
                        <p class="text-sm">Faça algo criativo</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="font-bold text-indigo-600 mb-2">Dia 6</div>
                        <p class="text-sm">Pratique respiração profunda</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center">
                        <div class="font-bold text-indigo-600 mb-2">Dia 7</div>
                        <p class="text-sm">Planeje algo para antecipar</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Inspirational Quotes -->
    <section class="py-16 gradient-bg text-white">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center mb-12">Palavras de Esperança</h2>
            
            <div class="max-w-3xl mx-auto">
                <div id="quote-carousel" class="relative">
                    <div class="quote-slide active opacity-100 transition-opacity duration-500">
                        <blockquote class="text-2xl font-light italic mb-6">
                            "A depressão é como um casaco de chumbo. Você o veste todos os dias, e depois de um tempo você nem percebe o peso extra, apenas a lentidão e a exaustão."
                        </blockquote>
                        <p class="text-right text-indigo-100">- Martha Manning</p>
                    </div>
                    
                    <div class="quote-slide opacity-0 absolute top-0 left-0 w-full transition-opacity duration-500">
                        <blockquote class="text-2xl font-light italic mb-6">
                            "A cura não significa que o dano nunca existiu. Significa que o dano não controla mais nossa vida."
                        </blockquote>
                        <p class="text-right text-indigo-100">- Akshay Dubey</p>
                    </div>
                    
                    <div class="quote-slide opacity-0 absolute top-0 left-0 w-full transition-opacity duration-500">
                        <blockquote class="text-2xl font-light italic mb-6">
                            "Você não precisa ver toda a escada, apenas dê o primeiro passo."
                        </blockquote>
                        <p class="text-right text-indigo-100">- Martin Luther King Jr.</p>
                    </div>
                    
                    <div class="flex justify-center mt-8">
                        <button class="quote-prev p-2 mx-1 rounded-full bg-white bg-opacity-20 hover:bg-opacity-30 transition">
                            <i class="fas fa-chevron-left"></i>
                        </button>
                        <button class="quote-next p-2 mx-1 rounded-full bg-white bg-opacity-20 hover:bg-opacity-30 transition">
                            <i class="fas fa-chevron-right"></i>
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-800 text-white py-12">
        <div class="container mx-auto px-4">
            <div class="grid md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-xl font-semibold mb-4">Caminhos da Luz</h3>
                    <p class="text-gray-400">Um espaço dedicado a oferecer recursos e esperança para quem enfrenta a depressão.</p>
                </div>
                
                <div>
                    <h4 class="font-semibold mb-4">Recursos</h4>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Artigos</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Ferramentas</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Diretório de Profissionais</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Grupos de Apoio</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="font-semibold mb-4">Ajuda Imediata</h4>
                    <ul class="space-y-2">
                        <li class="text-gray-400">CVV: 188</li>
                        <li class="text-gray-400">SAMU: 192</li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition">Chat Online</a></li>
                    </ul>
                </div>
                
                <div>
                    <h4 class="font-semibold mb-4">Conecte-se</h4>
                    <div class="flex space-x-4">
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center hover:bg-indigo-600 transition">
                            <i class="fab fa-facebook-f"></i>
                        </a>
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center hover:bg-indigo-600 transition">
                            <i class="fab fa-instagram"></i>
                        </a>
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center hover:bg-indigo-600 transition">
                            <i class="fab fa-twitter"></i>
                        </a>
                        <a href="#" class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center hover:bg-indigo-600 transition">
                            <i class="fab fa-youtube"></i>
                        </a>
                    </div>
                </div>
            </div>
            
            <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
                <p>© 2023 Caminhos da Luz. Todos os direitos reservados.</p>
                <p class="mt-2 text-sm">Este site não substitui aconselhamento profissional. Em caso de crise, procure ajuda especializada.</p>
            </div>
        </div>
    </footer>

    <script>
        // Mood Tracker
        const moodBtns = document.querySelectorAll('.mood-btn');
        const moodBars = {
            1: document.getElementById('mood-bar-1'),
            2: document.getElementById('mood-bar-2'),
            3: document.getElementById('mood-bar-3'),
            4: document.getElementById('mood-bar-4'),
            5: document.getElementById('mood-bar-5')
        };
        
        let moodHistory = JSON.parse(localStorage.getItem('moodHistory')) || {1: 0, 2: 0, 3: 0, 4: 0, 5: 0};
        
        function updateMoodBars() {
            const total = Object.values(moodHistory).reduce((a, b) => a + b, 0) || 1;
            
            for (let mood in moodHistory) {
                const percentage = (moodHistory[mood] / total) * 100;
                moodBars[mood].style.width = `${percentage}%`;
            }
        }
        
        moodBtns.forEach(btn => {
            btn.addEventListener('click', () => {
                const mood = btn.dataset.mood;
                moodHistory[mood] = (moodHistory[mood] || 0) + 1;
                localStorage.setItem('moodHistory', JSON.stringify(moodHistory));
                updateMoodBars();
                
                // Show feedback
                const feedback = document.createElement('div');
                feedback.className = 'fixed top-4 right-4 bg-white shadow-lg rounded-lg px-4 py-2 animate-bounce';
                feedback.innerHTML = `
                    <div class="flex items-center">
                        <span class="mr-2">${mood == 5 ? 'Ótimo!' : mood == 4 ? 'Bom!' : mood == 3 ? 'Ok' : mood == 2 ? 'Melhoras' : 'Sinto muito'}</span>
                        <i class="fas ${mood == 5 ? 'fa-laugh text-green-500' : mood == 4 ? 'fa-smile text-blue-500' : mood == 3 ? 'fa-meh text-gray-500' : mood == 2 ? 'fa-frown text-yellow-500' : 'fa-angry text-red-500'}"></i>
                    </div>
                `;
                document.body.appendChild(feedback);
                
                setTimeout(() => {
                    feedback.remove();
                }, 3000);
            });
        });
        
        // Initialize mood bars
        updateMoodBars();
        
        // Breathing Exercise
        const breathingCircle = document.querySelector('.breathing-circle');
        const breathText = document.getElementById('breath-text');
        const startBtn = document.getElementById('start-breathing');
        
        let breathingInterval;
        let isBreathing = false;
        let cycle = 0;
        
        startBtn.addEventListener('click', () => {
            if (isBreathing) {
                clearInterval(breathingInterval);
                startBtn.textContent = 'Começar exercício';
                breathText.textContent = 'Inspire';
                breathingCircle.classList.remove('bg-indigo-200');
                breathingCircle.classList.add('bg-indigo-100');
                isBreathing = false;
                cycle = 0;
                return;
            }
            
            isBreathing = true;
            startBtn.textContent = 'Parar';
            cycle = 0;
            startBreathingCycle();
            
            breathingInterval = setInterval(() => {
                cycle++;
                if (cycle >= 4) {
                    clearInterval(breathingInterval);
                    startBtn.textContent = 'Começar exercício';
                    breathText.textContent = 'Concluído!';
                    setTimeout(() => {
                        breathText.textContent = 'Inspire';
                        breathingCircle.classList.remove('bg-indigo-200');
                        breathingCircle.classList.add('bg-indigo-100');
                        isBreathing = false;
                        cycle = 0;
                    }, 2000);
                    return;
                }
                startBreathingCycle();
            }, 16000);
        });
        
        function startBreathingCycle() {
            // Inhale
            breathText.textContent = 'Inspire';
            breathingCircle.classList.remove('bg-indigo-200');
            breathingCircle.classList.add('bg-indigo-100');
            
            setTimeout(() => {
                // Hold
                breathText.textContent = 'Segure';
                
                setTimeout(() => {
                    // Exhale
                    breathText.textContent = 'Expire';
                    breathingCircle.classList.remove('bg-indigo-100');
                    breathingCircle.classList.add('bg-indigo-200');
                    
                    setTimeout(() => {
                        // Rest
                        breathText.textContent = 'Descanse';
                    }, 4000);
                }, 4000);
            }, 4000);
        }
        
        // Journal
        const journalEntry = document.getElementById('journal-entry');
        const saveJournalBtn = document.getElementById('save-journal');
        const journalEntriesContainer = document.getElementById('journal-entries');
        
        let journalData = JSON.parse(localStorage.getItem('journalData')) || [];
        
        function renderJournalEntries() {
            journalEntriesContainer.innerHTML = '';
            
            journalData.slice().reverse().forEach((entry, index) => {
                const date = new Date(entry.date);
                const entryElement = document.createElement('div');
                entryElement.className = 'journal-entry bg-white p-4 rounded-lg border border-gray-200';
                entryElement.innerHTML = `
                    <div class="text-sm text-gray-500 mb-2">${date.toLocaleDateString()} ${date.toLocaleTimeString([], {hour: '2-digit', minute:'2-digit'})}</div>
                    <p class="text-gray-700">${entry.text}</p>
                    <button class="delete-entry mt-2 text-red-500 text-sm hover:text-red-700" data-index="${journalData.length - 1 - index}">
                        <i class="fas fa-trash-alt mr-1"></i> Excluir
                    </button>
                `;
                journalEntriesContainer.appendChild(entryElement);
            });
            
            // Add delete event listeners
            document.querySelectorAll('.delete-entry').forEach(btn => {
                btn.addEventListener('click', (e) => {
                    const index = parseInt(btn.dataset.index);
                    journalData.splice(index, 1);
                    localStorage.setItem('journalData', JSON.stringify(journalData));
                    renderJournalEntries();
                });
            });
        }
        
        saveJournalBtn.addEventListener('click', () => {
            const text = journalEntry.value.trim();
            if (text) {
                const entry = {
                    date: new Date().toISOString(),
                    text: text
                };
                
                journalData.push(entry);
                localStorage.setItem('journalData', JSON.stringify(journalData));
                journalEntry.value = '';
                renderJournalEntries();
                
                // Show feedback
                const feedback = document.createElement('div');
                feedback.className = 'fixed top-4 right-4 bg-white shadow-lg rounded-lg px-4 py-2 animate-bounce';
                feedback.innerHTML = `
                    <div class="flex items-center">
                        <i class="fas fa-check-circle text-green-500 mr-2"></i>
                        <span>Entrada salva!</span>
                    </div>
                `;
                document.body.appendChild(feedback);
                
                setTimeout(() => {
                    feedback.remove();
                }, 3000);
            }
        });
        
        // Initialize journal entries
        renderJournalEntries();
        
        // Quote Carousel
        const quoteSlides = document.querySelectorAll('.quote-slide');
        const quotePrev = document.querySelector('.quote-prev');
        const quoteNext = document.querySelector('.quote-next');
        
        let currentQuote = 0;
        
        function showQuote(index) {
            quoteSlides.forEach((slide, i) => {
                slide.classList.remove('active');
                slide.classList.add('opacity-0', 'absolute');
                if (i === index) {
                    slide.classList.add('active');
                    slide.classList.remove('opacity-0', 'absolute');
                    slide.classList.add('opacity-100');
                }
            });
        }
        
        quoteNext.addEventListener('click', () => {
            currentQuote = (currentQuote + 1) % quoteSlides.length;
            showQuote(currentQuote);
        });
        
        quotePrev.addEventListener('click', () => {
            currentQuote = (currentQuote - 1 + quoteSlides.length) % quoteSlides.length;
            showQuote(currentQuote);
        });
        
        // Auto-advance quotes
        setInterval(() => {
            currentQuote = (currentQuote + 1) % quoteSlides.length;
            showQuote(currentQuote);
        }, 8000);
        
        // Theme Toggle
        const themeToggle = document.getElementById('theme-toggle');
        const themeIcon = themeToggle.querySelector('i');
        
        themeToggle.addEventListener('click', () => {
            document.documentElement.classList.toggle('dark');
            
            if (document.documentElement.classList.contains('dark')) {
                themeIcon.classList.remove('fa-moon');
                themeIcon.classList.add('fa-sun');
                localStorage.setItem('theme', 'dark');
            } else {
                themeIcon.classList.remove('fa-sun');
                themeIcon.classList.add('fa-moon');
                localStorage.setItem('theme', 'light');
            }
        });
        
        // Check for saved theme preference
        if (localStorage.getItem('theme') === 'dark' || 
            (!localStorage.getItem('theme') && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
            document.documentElement.classList.add('dark');
            themeIcon.classList.remove('fa-moon');
            themeIcon.classList.add('fa-sun');
        }
    </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=arthhh1/depression" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>