diff --git a/css/index.css b/css/index.css
index 8d84c45..7e4ba71 100644
--- a/css/index.css
+++ b/css/index.css
@@ -358,9 +358,25 @@ footer {
}
/* Perguntas Frequentes */
+.faq-answer {
+ display: none;
+ padding: 10px 0;
+ color: #000000;
+}
+
+.faq-question {
+ cursor: pointer;
+ transition: color 0.3s;
+}
+
+.faq-question:hover {
+ color: #ffffff;
+}
+
@media screen and (max-width: 768px) {
.perguntas {
- padding-left: 20px;
- padding-right: 20px;
+ padding-left: 20px;
+ padding-right: 20px;
}
}
+
diff --git a/index.html b/index.html
index ee127d4..9503662 100644
--- a/index.html
+++ b/index.html
@@ -46,7 +46,8 @@
Slide 4
-
+
+
@@ -61,7 +62,7 @@
Pretty Nails é um aplicativo de agenda
que permite que a cliente tenha
-
+

@@ -84,7 +85,8 @@
- Valorização do seu trabalho;
- Auxílio;
- Facilidade;
-
-
+
+
@@ -92,12 +94,20 @@
Perguntas Frequentes
+
+
O aplicativo é gratuito?
+
Sim, o aplicativo é totalmente gratuito para download e uso.
+
-
O aplicativo é gratuito?
-
-
Posso cancelar ou remarcar meu agendamento?
+
+
Posso cancelar ou remarcar meu agendamento?
+
Sim, você pode cancelar ou remarcar seu agendamento diretamente pelo aplicativo, desde que esteja dentro do prazo permitido.
+
-
Como posso agendar um horário?
+
+
Como posso agendar um horário?
+
Para agendar um horário, basta acessar a seção de agendamentos no aplicativo e seguir as instruções.
+
diff --git a/js/index.js b/js/index.js
index 4a90287..83fdf41 100644
--- a/js/index.js
+++ b/js/index.js
@@ -17,3 +17,11 @@ function autoSlide() {
// Muda o slide automaticamente a cada 5 segundos
setInterval(autoSlide, 5000);
+
+//Perguntas frequentes
+document.querySelectorAll('.faq-question').forEach(question => {
+ question.addEventListener('click', () => {
+ const answer = question.nextElementSibling;
+ answer.style.display = answer.style.display === 'block' ? 'none' : 'block';
+ });
+});