File size: 3,021 Bytes
f2f3fd2
 
 
 
d6c5646
f2f3fd2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d6c5646
 
f2f3fd2
 
d6c5646
 
f2f3fd2
 
 
d6c5646
 
f2f3fd2
 
d6c5646
 
f2f3fd2
 
 
d6c5646
f2f3fd2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Fontes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* Estilos base */
body {
    scroll-behavior: smooth;
}

/* Estilos para o slider antes/depois */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    aspect-ratio: 4/3;
}

.before-after-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.slider-handle {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: white;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    touch-action: none;
}

.slider-handle:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider-handle:before {
    content: "\f337";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    color: #4b5563;
    font-size: 16px;
}

/* Efeitos hover */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.testimonial-card:hover {
    transform: scale(1.03);
}

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

/* Animações */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tipografia personalizada */
.font-display {
    font-family: 'Playfair Display', serif;
}

/* Responsividade */
@media (max-width: 768px) {
    .before-after-container {
        aspect-ratio: 1/1;
    }
}

/* Ajustes para dark mode (opcional) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #7cb936;
        color: #f3f4f6;
    }
    
    .bg-white {
        background-color: #1f2937 !important;
        color: #f3f4f6;
    }
    
    .text-gray-800 {
        color: #f3f4f6 !important;
    }
    
    .text-gray-600 {
        color: #d1d5db !important;
    }
    
    .bg-gray-50 {
        background-color: #111827 !important;
    }
}