wagtail-enap-designsystem 1.2.1.192__py3-none-any.whl → 1.2.1.194__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of wagtail-enap-designsystem might be problematic. Click here for more details.
- enap_designsystem/blocks/content_blocks.py +11 -0
- enap_designsystem/blocks/semana_inovacao.py +1 -1
- enap_designsystem/migrations/0465_alter_areaaluno_body_alter_cursoeadpage_curso_and_more.py +64768 -0
- enap_designsystem/migrations/0466_carouselresponsivo_largura_container.py +29 -0
- enap_designsystem/models.py +2 -2
- enap_designsystem/static/enap_designsystem/blocks/banner_topicos_block.css +1 -1
- enap_designsystem/static/enap_designsystem/blocks/btn.css +23 -2
- enap_designsystem/static/enap_designsystem/blocks/capsulas.css +222 -74
- enap_designsystem/static/enap_designsystem/blocks/carousel_images.css +3 -1
- enap_designsystem/static/enap_designsystem/blocks/carousel_responsive.css +9 -27
- enap_designsystem/static/enap_designsystem/blocks/carousel_responsivo_snippet.css +19 -27
- enap_designsystem/static/enap_designsystem/blocks/semana.css +0 -1
- enap_designsystem/static/enap_designsystem/blocks/texto_imagem.css +0 -1
- enap_designsystem/templates/enap_designsystem/base.html +0 -4
- enap_designsystem/templates/enap_designsystem/blocks/carousel_responsivo_snippet.html +90 -54
- enap_designsystem/templates/enap_designsystem/blocks/legislacao_block.html +1 -1
- enap_designsystem/templates/enap_designsystem/blocks/richtext_block.html +116 -48
- enap_designsystem/templates/enap_designsystem/pages/capsula_index_page.html +62 -54
- enap_designsystem/templates/enap_designsystem/pages/capsula_page.html +213 -50
- enap_designsystem/views.py +2 -2
- {wagtail_enap_designsystem-1.2.1.192.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/METADATA +1 -1
- {wagtail_enap_designsystem-1.2.1.192.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/RECORD +25 -23
- {wagtail_enap_designsystem-1.2.1.192.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/WHEEL +0 -0
- {wagtail_enap_designsystem-1.2.1.192.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/licenses/LICENSE +0 -0
- {wagtail_enap_designsystem-1.2.1.192.dist-info → wagtail_enap_designsystem-1.2.1.194.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Generated by Django 5.1.6 on 2025-10-20 12:44
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
(
|
|
10
|
+
"enap_designsystem",
|
|
11
|
+
"0465_alter_areaaluno_body_alter_cursoeadpage_curso_and_more",
|
|
12
|
+
),
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
operations = [
|
|
16
|
+
migrations.AddField(
|
|
17
|
+
model_name="carouselresponsivo",
|
|
18
|
+
name="largura_container",
|
|
19
|
+
field=models.CharField(
|
|
20
|
+
choices=[
|
|
21
|
+
("limitador", "Com margem (limitado)"),
|
|
22
|
+
("tela_toda", "Tela toda (100%)"),
|
|
23
|
+
],
|
|
24
|
+
default="limitador",
|
|
25
|
+
help_text="Define se o carrossel terá margens ou ocupará toda a largura da tela",
|
|
26
|
+
max_length=20,
|
|
27
|
+
),
|
|
28
|
+
),
|
|
29
|
+
]
|
enap_designsystem/models.py
CHANGED
|
@@ -4195,7 +4195,7 @@ class SEOMixin(models.Model):
|
|
|
4195
4195
|
return clean_text
|
|
4196
4196
|
|
|
4197
4197
|
# Fallback padrão
|
|
4198
|
-
return f"Conheça mais sobre {self.title} na
|
|
4198
|
+
return f"Conheça mais sobre {self.title} na Enap - Escola Nacional de Administração Pública."
|
|
4199
4199
|
|
|
4200
4200
|
def _find_first_image(self):
|
|
4201
4201
|
"""Encontra primeira imagem no conteúdo para Open Graph"""
|
|
@@ -5832,7 +5832,7 @@ class ShowcaseComponentesDireto(Page):
|
|
|
5832
5832
|
return random.choice(buttons)
|
|
5833
5833
|
|
|
5834
5834
|
elif 'name' in field_lower or 'nome' in field_lower:
|
|
5835
|
-
return '
|
|
5835
|
+
return 'Enap - Escola Nacional de Administração Pública.'
|
|
5836
5836
|
|
|
5837
5837
|
elif 'author' in field_lower or 'autor' in field_lower:
|
|
5838
5838
|
return 'Equipe ENAP'
|
|
@@ -18,14 +18,35 @@ a{
|
|
|
18
18
|
.content-richtext a {
|
|
19
19
|
display: inline-flex;
|
|
20
20
|
align-items: center;
|
|
21
|
-
padding:
|
|
21
|
+
padding: 0;
|
|
22
22
|
background-color: transparent;
|
|
23
23
|
border: none;
|
|
24
24
|
color: #007D7A;
|
|
25
25
|
gap: 8px;
|
|
26
26
|
width: auto;
|
|
27
|
-
text-decoration: none;
|
|
28
27
|
border-radius: 32px;
|
|
28
|
+
font-weight: 900;
|
|
29
|
+
position: relative;
|
|
30
|
+
padding-right: 18px; /* Espaço para o ícone */
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.content-richtext a::after {
|
|
34
|
+
content: "";
|
|
35
|
+
width: 12px;
|
|
36
|
+
height: 12px;
|
|
37
|
+
position: absolute;
|
|
38
|
+
right: 0;
|
|
39
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12' fill='none' stroke='%23007D7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E");
|
|
40
|
+
background-repeat: no-repeat;
|
|
41
|
+
background-size: contain;
|
|
42
|
+
opacity: 0.7;
|
|
43
|
+
transition: transform 0.2s ease, opacity 0.2s ease;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Efeito hover opcional */
|
|
47
|
+
.content-richtext a:hover::after {
|
|
48
|
+
transform: translateX(2px) translateY(-2px);
|
|
49
|
+
opacity: 1;
|
|
29
50
|
}
|
|
30
51
|
|
|
31
52
|
.small{
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
<artifact id="styles_for_icons_continued" type="application/vnd.ant.code" language="css">
|
|
2
|
-
.capsulas-icon-blob {
|
|
3
|
-
width: 120px;
|
|
4
|
-
height: 120px;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.capsulas-section-icon {
|
|
8
|
-
font-size: 3.5rem;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
1
|
/* Estilos de ênfase para elementos principais */
|
|
13
2
|
.capsulas-hero__title {
|
|
14
3
|
font-size: 2.5rem;
|
|
15
4
|
font-weight: 700;
|
|
16
5
|
margin-bottom: 1.5rem;
|
|
17
|
-
color:
|
|
6
|
+
color: white;
|
|
18
7
|
line-height: 1.2;
|
|
19
8
|
}
|
|
20
9
|
|
|
10
|
+
.capsulas-illustration{
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.capsulas-section-header{
|
|
15
|
+
margin-bottom: 50px;
|
|
16
|
+
}
|
|
17
|
+
|
|
21
18
|
.capsulas-hero__tag {
|
|
22
19
|
display: inline-block;
|
|
23
20
|
padding: 0.5rem 1.5rem;
|
|
@@ -179,18 +176,6 @@
|
|
|
179
176
|
width: 100%;
|
|
180
177
|
}
|
|
181
178
|
|
|
182
|
-
/* Botões estilizados */
|
|
183
|
-
.capsulas-btn {
|
|
184
|
-
display: inline-flex;
|
|
185
|
-
align-items: center;
|
|
186
|
-
padding: 0.8rem 1.5rem;
|
|
187
|
-
border: none;
|
|
188
|
-
border-radius: 30px;
|
|
189
|
-
font-weight: 600;
|
|
190
|
-
cursor: pointer;
|
|
191
|
-
text-decoration: none;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
179
|
.capsulas-btn--primary {
|
|
195
180
|
background: var(--primary, #00a39c);
|
|
196
181
|
color: white;
|
|
@@ -198,7 +183,6 @@
|
|
|
198
183
|
|
|
199
184
|
.capsulas-btn--primary:hover {
|
|
200
185
|
background: #008b84;
|
|
201
|
-
transform: translateY(-3px);
|
|
202
186
|
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
|
203
187
|
}
|
|
204
188
|
|
|
@@ -234,7 +218,6 @@
|
|
|
234
218
|
color: #666;
|
|
235
219
|
margin-bottom: 1.5rem;
|
|
236
220
|
}
|
|
237
|
-
</artifact>
|
|
238
221
|
|
|
239
222
|
|
|
240
223
|
|
|
@@ -673,6 +656,13 @@
|
|
|
673
656
|
grid-template-columns: 1fr;
|
|
674
657
|
}
|
|
675
658
|
}
|
|
659
|
+
|
|
660
|
+
.recurso-card-link{
|
|
661
|
+
height: 100%;
|
|
662
|
+
display: flex;
|
|
663
|
+
flex-direction: column;
|
|
664
|
+
justify-content: space-between;
|
|
665
|
+
}
|
|
676
666
|
|
|
677
667
|
.recurso-card {
|
|
678
668
|
background: white;
|
|
@@ -699,7 +689,7 @@
|
|
|
699
689
|
width: 56px;
|
|
700
690
|
height: 56px;
|
|
701
691
|
background: #025257;
|
|
702
|
-
border-radius:
|
|
692
|
+
border-radius: 10px;
|
|
703
693
|
display: flex;
|
|
704
694
|
align-items: center;
|
|
705
695
|
justify-content: center;
|
|
@@ -774,7 +764,7 @@
|
|
|
774
764
|
align-items: center;
|
|
775
765
|
gap: 0.375rem;
|
|
776
766
|
padding: 0.375rem 0.875rem;
|
|
777
|
-
border-radius:
|
|
767
|
+
border-radius: 24px;
|
|
778
768
|
font-size: 0.8125rem;
|
|
779
769
|
font-weight: 700;
|
|
780
770
|
margin-bottom: 1rem;
|
|
@@ -922,21 +912,21 @@
|
|
|
922
912
|
/* Capsulas index */
|
|
923
913
|
/* ============================================ */
|
|
924
914
|
|
|
925
|
-
|
|
926
|
-
|
|
927
915
|
:root {
|
|
928
|
-
--primary: #
|
|
929
|
-
--primary-light: #
|
|
930
|
-
--primary-dark: #
|
|
916
|
+
--primary: #02333A;
|
|
917
|
+
--primary-light: #006969;
|
|
918
|
+
--primary-dark: #024248;
|
|
931
919
|
--secondary: #FFC75F;
|
|
932
|
-
--accent: #
|
|
920
|
+
--accent: #FC404D;
|
|
933
921
|
--dark: #333333;
|
|
934
922
|
--light: #FFFFFF;
|
|
935
|
-
--gray-100: #
|
|
936
|
-
--gray-200: #
|
|
937
|
-
--gray-300: #
|
|
938
|
-
--gray-400: #
|
|
939
|
-
--green: #
|
|
923
|
+
--gray-100: #F5F7FA;
|
|
924
|
+
--gray-200: #EBEFF5;
|
|
925
|
+
--gray-300: #DEE3ED;
|
|
926
|
+
--gray-400: #C8D1E0;
|
|
927
|
+
--green: #024248;
|
|
928
|
+
--button-color: #007D7A;
|
|
929
|
+
--tab-active: #024248;
|
|
940
930
|
}
|
|
941
931
|
|
|
942
932
|
* {
|
|
@@ -946,13 +936,45 @@
|
|
|
946
936
|
font-family: 'Inter', 'Segoe UI', sans-serif;
|
|
947
937
|
}
|
|
948
938
|
|
|
939
|
+
/* Estilo de foco global para acessibilidade por teclado */
|
|
940
|
+
:focus-visible {
|
|
941
|
+
outline: 3px solid var(--focus-color) !important;
|
|
942
|
+
outline-offset: 2px;
|
|
943
|
+
border-radius: 4px;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
/* Classe para elementos visíveis apenas para leitores de tela */
|
|
947
|
+
.sr-only {
|
|
948
|
+
position: absolute;
|
|
949
|
+
width: 1px;
|
|
950
|
+
height: 1px;
|
|
951
|
+
padding: 0;
|
|
952
|
+
margin: -1px;
|
|
953
|
+
overflow: hidden;
|
|
954
|
+
clip: rect(0, 0, 0, 0);
|
|
955
|
+
white-space: nowrap;
|
|
956
|
+
border-width: 0;
|
|
957
|
+
}
|
|
958
|
+
|
|
949
959
|
body {
|
|
950
960
|
background-color: var(--light);
|
|
951
961
|
color: var(--dark);
|
|
952
|
-
line-height: 1.
|
|
962
|
+
line-height: 1.8; /* Aumentado para melhor legibilidade */
|
|
953
963
|
overflow-x: hidden;
|
|
954
964
|
}
|
|
955
965
|
|
|
966
|
+
/* Links com melhor acessibilidade */
|
|
967
|
+
a {
|
|
968
|
+
text-decoration: underline; /* Tornar links mais distinguíveis */
|
|
969
|
+
color: var(--primary);
|
|
970
|
+
transition: color 0.3s ease;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
a:hover, a:focus {
|
|
974
|
+
text-decoration: none;
|
|
975
|
+
color: var(--primary-dark);
|
|
976
|
+
}
|
|
977
|
+
|
|
956
978
|
.capsulas-container {
|
|
957
979
|
max-width: 1142px;
|
|
958
980
|
margin: 0 auto;
|
|
@@ -996,14 +1018,15 @@ nav a {
|
|
|
996
1018
|
text-decoration: none;
|
|
997
1019
|
color: var(--dark);
|
|
998
1020
|
font-weight: 500;
|
|
999
|
-
font-size:
|
|
1021
|
+
font-size: 1rem; /* Aumentado para melhor legibilidade */
|
|
1000
1022
|
transition: all 0.3s ease;
|
|
1001
1023
|
padding: 0.5rem 0;
|
|
1002
1024
|
white-space: nowrap;
|
|
1003
1025
|
}
|
|
1004
1026
|
|
|
1005
|
-
nav a:hover {
|
|
1027
|
+
nav a:hover, nav a:focus {
|
|
1006
1028
|
color: var(--primary);
|
|
1029
|
+
text-decoration: underline;
|
|
1007
1030
|
}
|
|
1008
1031
|
|
|
1009
1032
|
/* Hero Section */
|
|
@@ -1044,20 +1067,12 @@ nav a:hover {
|
|
|
1044
1067
|
color: var(--light);
|
|
1045
1068
|
padding: 0.5rem 1.5rem;
|
|
1046
1069
|
border-radius: 50px;
|
|
1047
|
-
font-size:
|
|
1070
|
+
font-size: 1rem; /* Aumentado para melhor legibilidade */
|
|
1048
1071
|
font-weight: 600;
|
|
1049
1072
|
margin-bottom: 1.5rem;
|
|
1050
1073
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
1051
1074
|
}
|
|
1052
1075
|
|
|
1053
|
-
.capsulas-hero__title {
|
|
1054
|
-
font-size: 3.5rem;
|
|
1055
|
-
line-height: 1.2;
|
|
1056
|
-
margin-bottom: 1.5rem;
|
|
1057
|
-
font-weight: 800;
|
|
1058
|
-
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
|
1059
|
-
}
|
|
1060
|
-
|
|
1061
1076
|
.capsulas-hero__description {
|
|
1062
1077
|
font-size: 1.2rem;
|
|
1063
1078
|
margin-bottom: 2rem;
|
|
@@ -1069,7 +1084,7 @@ nav a:hover {
|
|
|
1069
1084
|
|
|
1070
1085
|
.capsulas-hero__cta {
|
|
1071
1086
|
display: inline-block;
|
|
1072
|
-
background-color:
|
|
1087
|
+
background-color: var(--button-color); /* Cor ajustada para melhor contraste */
|
|
1073
1088
|
color: var(--light);
|
|
1074
1089
|
text-decoration: none;
|
|
1075
1090
|
padding: 0.8rem 2rem;
|
|
@@ -1077,11 +1092,16 @@ nav a:hover {
|
|
|
1077
1092
|
font-weight: 600;
|
|
1078
1093
|
transition: all 0.3s ease;
|
|
1079
1094
|
border: 2px solid transparent;
|
|
1095
|
+
min-height: 44px; /* Área de toque mínima */
|
|
1096
|
+
font-size: 1rem; /* Aumentado para melhor legibilidade */
|
|
1097
|
+
line-height: normal;
|
|
1080
1098
|
}
|
|
1081
1099
|
|
|
1082
|
-
.capsulas-hero__cta:hover {
|
|
1100
|
+
.capsulas-hero__cta:hover, .capsulas-hero__cta:focus {
|
|
1083
1101
|
background-color: var(--primary-dark);
|
|
1084
1102
|
transform: translateY(-2px);
|
|
1103
|
+
border-color: var(--light);
|
|
1104
|
+
outline-offset: 3px;
|
|
1085
1105
|
}
|
|
1086
1106
|
|
|
1087
1107
|
/* Floating Tab Navigation */
|
|
@@ -1141,47 +1161,63 @@ nav a:hover {
|
|
|
1141
1161
|
}
|
|
1142
1162
|
|
|
1143
1163
|
.capsulas-tab-item {
|
|
1144
|
-
padding: 0.
|
|
1164
|
+
padding: 0.8rem 1.2rem; /* Aumentado para área de toque adequada */
|
|
1145
1165
|
background-color: transparent;
|
|
1146
1166
|
color: var(--dark);
|
|
1147
|
-
border:
|
|
1167
|
+
border: 1px solid transparent;
|
|
1148
1168
|
border-radius: 50px;
|
|
1149
|
-
font-size:
|
|
1169
|
+
font-size: 1rem; /* Aumentado para melhor legibilidade */
|
|
1150
1170
|
font-weight: 500;
|
|
1151
1171
|
cursor: pointer;
|
|
1152
1172
|
transition: all 0.3s ease;
|
|
1153
1173
|
white-space: nowrap;
|
|
1174
|
+
min-height: 44px; /* Área de toque mínima */
|
|
1175
|
+
min-width: 44px;
|
|
1154
1176
|
}
|
|
1155
1177
|
|
|
1156
1178
|
.capsulas-tab-item:hover {
|
|
1157
|
-
background-color:
|
|
1179
|
+
background-color: var(--button-color);
|
|
1180
|
+
color: var(--light);
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.capsulas-tab-item:focus-visible {
|
|
1184
|
+
outline: 3px solid var(--focus-color);
|
|
1185
|
+
outline-offset: 2px;
|
|
1158
1186
|
}
|
|
1159
1187
|
|
|
1160
1188
|
.capsulas-tab-item.capsulas-tab-item--active {
|
|
1161
|
-
background-color:
|
|
1189
|
+
background-color: var(--tab-active); /* Cor ajustada para melhor contraste */
|
|
1162
1190
|
color: var(--light);
|
|
1191
|
+
border: 2px solid var(--light);
|
|
1163
1192
|
}
|
|
1164
1193
|
|
|
1165
1194
|
.capsulas-tab-arrow {
|
|
1166
|
-
width:
|
|
1167
|
-
height:
|
|
1195
|
+
width: 44px; /* Aumentado para área de toque adequada */
|
|
1196
|
+
height: 44px; /* Aumentado para área de toque adequada */
|
|
1197
|
+
min-width: 44px;
|
|
1198
|
+
min-height: 44px;
|
|
1168
1199
|
border-radius: 50%;
|
|
1169
|
-
background-color:
|
|
1170
|
-
|
|
1200
|
+
background-color: white;
|
|
1201
|
+
border: 3px solid #007D7A;
|
|
1202
|
+
color: #007D7A;
|
|
1171
1203
|
border: none;
|
|
1172
1204
|
display: flex;
|
|
1173
1205
|
align-items: center;
|
|
1174
1206
|
justify-content: center;
|
|
1175
1207
|
cursor: pointer;
|
|
1176
|
-
transition: all 0.3s ease;
|
|
1177
1208
|
flex-shrink: 0;
|
|
1178
1209
|
}
|
|
1179
1210
|
|
|
1180
|
-
.capsulas-tab-arrow:hover {
|
|
1211
|
+
.capsulas-tab-arrow:hover, .capsulas-tab-arrow:focus {
|
|
1181
1212
|
background-color: var(--primary);
|
|
1182
1213
|
color: var(--light);
|
|
1183
1214
|
}
|
|
1184
1215
|
|
|
1216
|
+
.capsulas-tab-arrow:focus-visible {
|
|
1217
|
+
outline: 3px solid var(--focus-color);
|
|
1218
|
+
outline-offset: 2px;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1185
1221
|
.capsulas-tab-arrow.capsulas-tab-arrow--prev {
|
|
1186
1222
|
margin-right: 0.5rem;
|
|
1187
1223
|
}
|
|
@@ -1201,6 +1237,12 @@ nav a:hover {
|
|
|
1201
1237
|
background-color: var(--primary-light);
|
|
1202
1238
|
}
|
|
1203
1239
|
|
|
1240
|
+
.capsulas-content-section-why {
|
|
1241
|
+
background-color: #DEE3ED;
|
|
1242
|
+
color: white;
|
|
1243
|
+
padding: 30px 0;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1204
1246
|
.capsulas-section-header {
|
|
1205
1247
|
position: relative;
|
|
1206
1248
|
}
|
|
@@ -1209,7 +1251,7 @@ nav a:hover {
|
|
|
1209
1251
|
text-align: center;
|
|
1210
1252
|
}
|
|
1211
1253
|
|
|
1212
|
-
.capsulas-section-title-caps {
|
|
1254
|
+
.capsulas-section-title-caps-dark {
|
|
1213
1255
|
font-size: 2.2rem;
|
|
1214
1256
|
color: #024248;
|
|
1215
1257
|
margin-bottom: 1rem;
|
|
@@ -1217,6 +1259,14 @@ nav a:hover {
|
|
|
1217
1259
|
display: inline-block;
|
|
1218
1260
|
}
|
|
1219
1261
|
|
|
1262
|
+
.capsulas-section-title-caps-white {
|
|
1263
|
+
font-size: 2.2rem;
|
|
1264
|
+
color: white;
|
|
1265
|
+
margin-bottom: 1rem;
|
|
1266
|
+
position: relative;
|
|
1267
|
+
display: inline-block;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1220
1270
|
.capsulas-section-description {
|
|
1221
1271
|
font-size: 1.1rem;
|
|
1222
1272
|
color: var(--dark);
|
|
@@ -1274,6 +1324,10 @@ nav a:hover {
|
|
|
1274
1324
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
1275
1325
|
}
|
|
1276
1326
|
|
|
1327
|
+
.capsulas-content-card:focus-within {
|
|
1328
|
+
box-shadow: 0 0 0 3px var(--focus-color);
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1277
1331
|
.capsulas-card__image {
|
|
1278
1332
|
width: 100%;
|
|
1279
1333
|
height: 200px;
|
|
@@ -1301,30 +1355,38 @@ nav a:hover {
|
|
|
1301
1355
|
display: inline-flex;
|
|
1302
1356
|
align-items: center;
|
|
1303
1357
|
gap: 0.5rem;
|
|
1304
|
-
padding: 0.
|
|
1358
|
+
padding: 0.8rem 1.5rem; /* Aumentado para área de toque adequada */
|
|
1305
1359
|
border-radius: 50px;
|
|
1306
1360
|
font-weight: 600;
|
|
1307
|
-
font-size:
|
|
1361
|
+
font-size: 1rem; /* Aumentado para melhor legibilidade */
|
|
1308
1362
|
text-decoration: none;
|
|
1309
|
-
transition: all 0.3s ease;
|
|
1310
1363
|
cursor: pointer;
|
|
1311
|
-
border:
|
|
1364
|
+
border: 2px solid transparent;
|
|
1365
|
+
min-height: 44px; /* Área de toque mínima */
|
|
1366
|
+
min-width: 44px;
|
|
1312
1367
|
}
|
|
1313
1368
|
|
|
1314
1369
|
.capsulas-btn.capsulas-btn--primary {
|
|
1315
|
-
background-color:
|
|
1370
|
+
background-color: var(--button-color); /* Cor ajustada para melhor contraste */
|
|
1316
1371
|
color: var(--light);
|
|
1317
1372
|
}
|
|
1318
1373
|
|
|
1319
|
-
.capsulas-btn.capsulas-btn--primary:hover
|
|
1374
|
+
.capsulas-btn.capsulas-btn--primary:hover,
|
|
1375
|
+
.capsulas-btn.capsulas-btn--primary:focus {
|
|
1320
1376
|
background-color: var(--primary-dark);
|
|
1377
|
+
border-color: var(--light);
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
.capsulas-btn:focus-visible {
|
|
1381
|
+
outline: 3px solid var(--focus-color);
|
|
1382
|
+
outline-offset: 2px;
|
|
1321
1383
|
}
|
|
1322
1384
|
|
|
1323
1385
|
.capsulas-btn i {
|
|
1324
1386
|
transition: transform 0.3s ease;
|
|
1325
1387
|
}
|
|
1326
1388
|
|
|
1327
|
-
.capsulas-btn:hover i {
|
|
1389
|
+
.capsulas-btn:hover i, .capsulas-btn:focus i {
|
|
1328
1390
|
transform: translateX(3px);
|
|
1329
1391
|
}
|
|
1330
1392
|
|
|
@@ -1354,12 +1416,19 @@ nav a:hover {
|
|
|
1354
1416
|
cursor: pointer;
|
|
1355
1417
|
transition: all 0.3s ease;
|
|
1356
1418
|
border-bottom: 1px solid var(--gray-200);
|
|
1419
|
+
min-height: 44px; /* Área de toque mínima */
|
|
1357
1420
|
}
|
|
1358
1421
|
|
|
1359
1422
|
.capsulas-accordion__header:hover {
|
|
1360
1423
|
background-color: var(--gray-100);
|
|
1361
1424
|
}
|
|
1362
1425
|
|
|
1426
|
+
.capsulas-accordion__header:focus-visible {
|
|
1427
|
+
outline: 3px solid var(--focus-color);
|
|
1428
|
+
outline-offset: 2px;
|
|
1429
|
+
background-color: var(--primary-light);
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1363
1432
|
.capsulas-accordion__title {
|
|
1364
1433
|
font-size: 1.1rem;
|
|
1365
1434
|
font-weight: 600;
|
|
@@ -1382,8 +1451,10 @@ nav a:hover {
|
|
|
1382
1451
|
}
|
|
1383
1452
|
|
|
1384
1453
|
.capsulas-accordion__toggle {
|
|
1385
|
-
width:
|
|
1386
|
-
height:
|
|
1454
|
+
width: 44px; /* Aumentado para área de toque adequada */
|
|
1455
|
+
height: 44px; /* Aumentado para área de toque adequada */
|
|
1456
|
+
min-width: 44px;
|
|
1457
|
+
min-height: 44px;
|
|
1387
1458
|
border-radius: 50%;
|
|
1388
1459
|
background-color: var(--gray-200);
|
|
1389
1460
|
display: flex;
|
|
@@ -1405,6 +1476,54 @@ nav a:hover {
|
|
|
1405
1476
|
color: var(--dark);
|
|
1406
1477
|
}
|
|
1407
1478
|
|
|
1479
|
+
.capsulas-accordion__body a:focus-visible,
|
|
1480
|
+
.capsulas-accordion__body button:focus-visible {
|
|
1481
|
+
outline: 3px solid var(--focus-color);
|
|
1482
|
+
outline-offset: 2px;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/* Suporte para casos sem JavaScript */
|
|
1486
|
+
.no-js .capsulas-accordion,
|
|
1487
|
+
.no-js .capsulas-accordion__body {
|
|
1488
|
+
max-height: none !important;
|
|
1489
|
+
opacity: 1 !important;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
.no-js .capsulas-content-section {
|
|
1493
|
+
display: block !important;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/* Suporte para Alto Contraste */
|
|
1497
|
+
@media (forced-colors: active) {
|
|
1498
|
+
.capsulas-btn,
|
|
1499
|
+
.capsulas-tab-item,
|
|
1500
|
+
.capsulas-hero__cta {
|
|
1501
|
+
border: 1px solid currentColor;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
.capsulas-tab-item.capsulas-tab-item--active {
|
|
1505
|
+
border: 2px solid currentColor;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
/* Suporte para Preferência de Movimento Reduzido */
|
|
1510
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1511
|
+
* {
|
|
1512
|
+
transition-duration: 0.01ms !important;
|
|
1513
|
+
animation-duration: 0.01ms !important;
|
|
1514
|
+
animation-iteration-count: 1 !important;
|
|
1515
|
+
scroll-behavior: auto !important;
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
.capsulas-accordion {
|
|
1519
|
+
transition: none !important;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
.capsulas-tab-navigation.fixed {
|
|
1523
|
+
animation: none !important;
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1408
1527
|
/* Responsive */
|
|
1409
1528
|
@media (max-width: 768px) {
|
|
1410
1529
|
.capsulas-two-column {
|
|
@@ -1433,4 +1552,33 @@ nav a:hover {
|
|
|
1433
1552
|
.capsulas-tab-navigation.fixed {
|
|
1434
1553
|
width: 95%;
|
|
1435
1554
|
}
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
@media (max-width: 480px) {
|
|
1558
|
+
.capsulas-tab-item {
|
|
1559
|
+
padding: 0.5rem 0.8rem;
|
|
1560
|
+
font-size: 0.95rem; /* Ligeiramente menor, mas mantendo legibilidade */
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
.capsulas-hero {
|
|
1564
|
+
min-height: 400px; /* Reduzir altura mínima */
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
.capsulas-hero__title {
|
|
1568
|
+
font-size: 1.8rem; /* Reduzir tamanho do título */
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
.capsulas-section-title-caps {
|
|
1572
|
+
font-size: 1.5rem; /* Reduzir tamanhos de títulos */
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/* Garantir tamanho mínimo para controles touch */
|
|
1576
|
+
.capsulas-tab-arrow,
|
|
1577
|
+
.capsulas-accordion__toggle,
|
|
1578
|
+
.capsulas-btn,
|
|
1579
|
+
.capsulas-hero__cta,
|
|
1580
|
+
.capsulas-tab-item {
|
|
1581
|
+
min-width: 44px;
|
|
1582
|
+
min-height: 44px;
|
|
1583
|
+
}
|
|
1436
1584
|
}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
.slide-image img {
|
|
57
57
|
width: 100%;
|
|
58
58
|
height: 100%;
|
|
59
|
-
object-fit:
|
|
59
|
+
object-fit: contain;
|
|
60
60
|
object-position: center;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -298,10 +298,12 @@
|
|
|
298
298
|
|
|
299
299
|
.carousel-arrow.prev {
|
|
300
300
|
left: 15px;
|
|
301
|
+
top: 530px;
|
|
301
302
|
}
|
|
302
303
|
|
|
303
304
|
.carousel-arrow.next {
|
|
304
305
|
right: 15px;
|
|
306
|
+
top: 530px;
|
|
305
307
|
}
|
|
306
308
|
}
|
|
307
309
|
|