/* Estilos específicos do Quiz */
/* Usar variáveis CSS dinâmicas do tema */
:root {
  --primary-color: #2E7D32;
  --secondary-color: #1565C0;
  --accent-color: #e4e248;
}

.quiz-container {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 600px;
  padding: 30px;
  text-align: center;
}

.question {
  margin-bottom: 20px;
  padding: 20px;
  background-color: var(--secondary-color, #1565C0);
  border-radius: 10px;
}

.question-text {
  font-weight: bold;
  margin-bottom: 30px;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.answer-btn {
  background-color: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.answer-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.answer-btn.selected {
  background-color: var(--primary-color);
  color: white;
}

.navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.results-container {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
}

/* Estilos da seção Wave */
.wave {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding: 0;
  background: #fff;
  z-index: 1;
  min-height: 500px;
}

.wave .container {
  position: relative;
  z-index: 3;
  padding: 65px 0;
}

.wave-svg {
  position: absolute;
  bottom: 100px;
  left: 0;
  width: 100%;
  z-index: 1;
}

.wave-svg svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}

.cloud-title {
  position: relative;
  padding: 20px 40px;
  margin: 20px 0;
  z-index: 1;
  display: inline-block;
  width: auto;
  min-width: 200px;
}

.col-md-6:first-child .cloud-title {
  text-align: left;
  padding-left: 40px;
}

.col-md-6:first-child .cloud-title::before {
  border-radius: 40% 60% 40% 60% / 40% 60% 40% 60%;
  width: 110%;
  height: 120%;
  background-color: var(--secondary-color, #4a90e2);
  animation: morphCloudLeft 20s linear infinite;
}

.col-md-6:last-child .cloud-title {
  text-align: right;
  padding-right: 40px;
}

.col-md-6:last-child .cloud-title::before {
  border-radius: 60% 40% 60% 40% / 60% 40% 60% 40%;
  width: 105%;
  height: 140%;
  background-color: var(--secondary-color, #4a90e2);
  animation: morphCloudRight 20s linear infinite;
}

.cloud-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  z-index: -1;
}

@keyframes morphCloudLeft {
  0% {
    border-radius: 40% 60% 40% 60% / 40% 60% 40% 60%;
  }
  25% {
    border-radius: 60% 40% 50% 50% / 50% 50% 60% 40%;
  }
  50% {
    border-radius: 40% 60% 40% 60% / 40% 60% 40% 60%;
  }
  75% {
    border-radius: 50% 50% 60% 40% / 60% 40% 50% 50%;
  }
  100% {
    border-radius: 40% 60% 40% 60% / 40% 60% 40% 60%;
  }
}

@keyframes morphCloudRight {
  0% {
    border-radius: 60% 40% 60% 40% / 60% 40% 60% 40%;
  }
  25% {
    border-radius: 40% 60% 50% 50% / 50% 50% 40% 60%;
  }
  50% {
    border-radius: 60% 40% 60% 40% / 60% 40% 60% 40%;
  }
  75% {
    border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
  }
  100% {
    border-radius: 60% 40% 60% 40% / 60% 40% 60% 40%;
  }
}

.challenge-container {
  position: relative;
  text-align: center;
  z-index: 3;
  width: 100%;
  padding: 30px 20px;
  margin-top: 20px;
  background: transparent;
}

.challenge-text {
  color: #080808;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
}

.challenge-subtitle {
  color: #080808;
  font-size: 20px;
  margin-bottom: 25px;
}

#iniciar-quiz,
#iniciar-quiz-prof {
  background: linear-gradient(to bottom, var(--secondary-color, #021c79), var(--primary-color, #142e6c));
  padding: 0;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #fff;
  box-shadow: 0 4px 8px rgba(254, 165, 0, 0.3),
              inset 0 2px 4px rgba(254, 165, 0, 0.1);
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  width: 45%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 10px;
}

#iniciar-quiz a,
#iniciar-quiz-prof a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 15px 30px;
  width: 100%;
  height: 100%;
}

#iniciar-quiz:before,
#iniciar-quiz-prof:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(254, 165, 0, 0.3),
    transparent
  );
  transition: 0.8s;
}

#iniciar-quiz:hover,
#iniciar-quiz-prof:hover {
  background: linear-gradient(to bottom, var(--primary-color, #142e6c), var(--secondary-color, #021c79));
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(254, 165, 0, 0.4),
              inset 0 2px 4px rgba(254, 165, 0, 0.2);
}

#iniciar-quiz:hover:before,
#iniciar-quiz-prof:hover:before {
  left: 100%;
}

#iniciar-quiz:active,
#iniciar-quiz-prof:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(254, 165, 0, 0.2),
              inset 0 2px 4px rgba(254, 165, 0, 0.1);
}

@media (max-width: 768px) {
  .wave {
    min-height: 700px;
  }
  
  .wave-svg {
    bottom: 50px;
  }
  
  #iniciar-quiz,
  #iniciar-quiz-prof {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
  }
}

/* Importação da fonte */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap');

.special-message {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5em;
  font-weight: 800;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
  text-align: center;
  letter-spacing: 0.5px;
}

.participate-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, var(--secondary-color, #021c79), var(--primary-color, #4a90e2));
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.participate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
  color: white;
  background: linear-gradient(45deg, var(--primary-color, #4a90e2), var(--secondary-color, #021c79));
}

.participate-btn:active {
  transform: translateY(1px);
}

.pulse-icon {
  animation: pulse 2s infinite;
  display: inline-block;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.scroll-top {
  position: fixed;
  left: 20px !important;
  bottom: 20px;
  z-index: 999;
  background: linear-gradient(45deg, var(--secondary-color, #021c79), var(--primary-color, #4a90e2));
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  color: #fff;
}

.scroll-top:hover {
  background: linear-gradient(45deg, var(--primary-color, #4a90e2), var(--secondary-color, #021c79));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
  color: #fff;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
}

.participate-float {
  background: linear-gradient(45deg, var(--secondary-color, #021c79), var(--primary-color, #4a90e2));
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.participate-float span {
  display: none;
  white-space: nowrap;
}

.participate-float i {
  font-size: 24px;
}

.participate-float:hover {
  transform: translateX(-5px);
  padding-right: 30px;
  color: white;
  background: linear-gradient(45deg, var(--primary-color, #4a90e2), var(--secondary-color, #021c79));
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.participate-float:hover span {
  display: inline;
}

@media (min-width: 768px) {
  .participate-float span {
    display: inline;
  }
  
  .participate-float {
    padding: 12px 30px;
  }
} 
p {
  text-align: justify;
  font-size: 1rem; /* Mantém um tamanho de fonte adequado */
  line-height: 1.6; /* Aumenta o espaçamento entre linhas para melhor leitura */
  word-wrap: break-word; /* Garante que palavras longas quebrem corretamente */
}

@media (max-width: 576px) {
  p {
    font-size: 0.95rem; /* Reduz um pouco a fonte em telas muito pequenas */
    text-align: left; /* Alinhar à esquerda pode melhorar a leitura em mobile */
  }
}
