@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600&display=swap');

.quiz-wrapper {
    font-family: 'Sora', sans-serif;
    padding: 40px 20px;
    background: #f4f4f8;
    display: flex;
    justify-content: center;
}

.quiz-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    padding: 30px;
    animation: fadeIn 0.4s ease-in-out;
}

.question {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.options button,
.cta-btn,
.lead-form button {
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Sora', sans-serif;
}

.options button {
    background: #e0e0e0;
    color: #333;
}

.options button:hover {
    background: #fef092;
    color: #740808;
    font-weight: bold;
}

.cta-btn {
    background: #740808;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    margin-right: 2%;
    padding: 12px 20px;
}

.cta-btn:hover {
    background: #fef092;
    color: #740808;
    font-weight: bold;
}

.cta-btn:last-child {
    margin-right: 0;
}

.agendamento-opcoes .cta-btn {
    margin-top: 10px;
    width: 100%;
}

.step-box {
  background: #fff8e1;
  border: 2px solid #740808;
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  font-family: 'Sora', sans-serif;
  animation: fade-in 0.4s ease-in-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step-box h3,
.step-box p,
.step-box input,
.step-box button {
  font-family: 'Sora', sans-serif;
}

.step-exp {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1rem;
}

/* Inputs */
.step-box input[type="text"],
.step-box input[type="email"],
.step-box input[type="tel"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Sora', sans-serif;
}

/* Botão do formulário */
.step-box button.cta-btn {
  background: #740808;
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.step-box button.cta-btn:hover {
  background: #5c0606;
}

/* Opções de atendimento */
.agendamento-opcoes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.agendamento-opcoes .cta-btn {
  background-color: #fef092;
  color: #740808;
  border: 2px solid #740808;
  font-weight: 600;
}

.agendamento-opcoes .cta-btn:hover {
  background-color: #fff4a5;
}

/* Fade in animado */
.fade-in {
  animation: fade-in 0.3s ease-in-out;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


.lead-form input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
}

.lead-form {
    margin-top: 20px;
}

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

.navigation button {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: #740808;
    color: white;
    display: none;
}

.navigation button:hover {
    background: #fef092;
    color: #740808;
    font-weight: bold;
}

.disclaimer {
    color: #666;
    font-size: 0.9rem;
    margin: 20px 0;
    display: block;
    font-family: 'Sora', sans-serif;
}

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

@media (max-width: 600px) {
  .quiz-wrapper {
    padding: 20px 10px;
  }

  .quiz-container {
    padding: 20px;
  }

  .question {
    font-size: 1rem;
  }

  .options button,
  .cta-btn,
  .step-box button.cta-btn,
  .lead-form button,
  .navigation button {
    font-size: 0.95rem;
    padding: 12px;
  }
	
	.options button,
	.cta-btn,
	.lead-form button,
	.step-box button.cta-btn,
	.navigation button,
	.agendamento-opcoes .cta-btn {
	  white-space: normal;
	  word-break: break-word;
	}

  .step-box {
    padding: 16px;
  }

  .step-box input[type="text"],
  .step-box input[type="email"],
  .step-box input[type="tel"] {
    padding: 10px;
    font-size: 0.95rem;
  }

  .step-exp {
    font-size: 0.95rem;
  }

  .agendamento-opcoes {
    gap: 10px;
  }

  .cta-btn {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .navigation {
    justify-content: center;
  }

  .disclaimer {
    font-size: 0.85rem;
    text-align: center;
  }
}