@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0;
  min-height: 100vh;
  padding: 20px;
}

.quiz-container {
  width: 100%;
  max-width: 550px;
  text-align: center;
  position: relative;
  margin: 20px 0;
}

.quiz-content {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.section {
  position: relative; /* Alterado de absolute para relative */
  width: 100%;
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: none;
  margin-bottom: 0; /* Garante que não haja margem extra */
}

.section.active {
  display: block;
  opacity: 1;
  transform: none;
  animation: fadeIn 0.5s ease;
}

.section.exit {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo {
  width: 132px;
  margin-bottom: 12px;
}

h1 {
  font-family: 'Inter', sans-serif;
  color: #030712;
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 900;
}

h2 {
  color: #3498db;
  margin-bottom: 15px;
}

p {
  font-family: 'Inter', sans-serif;
  color: #030712;
  line-height: 1.5;
  font-size: 16px;
  margin-bottom: 14px;
  text-align: left;
}

span {
  font-family: 'Inter', sans-serif;
  width: 90%;
}

.question {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #34495e;
  font-weight: bold;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 48px;
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  background-color: #030712;
  color: white;
  border: 1px solid #bcbcbc;
  border-radius: 16px;
  padding: 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  margin: 16px;

}

.btn {
  background-color: transparent;
  color: #030712;
  border: 1px solid #bcbcbc;
  border-radius: 16px;
  padding: 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.selected {
  background-color: #030712;
  color: white;
  border: 1px solid #030712;
}

.btn-start {
  background-color: #ff8200;
  margin-top: 14px;
  color: white;
  text-align: center;
  transform: scale(1);
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(3, 7, 18, 0.4);
  }
  50% {
      transform: scale(1.05);
      box-shadow: 0 0 10px 5px rgba(3, 7, 18, 0.2);
  }
  100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(3, 7, 18, 0);
  }
}

.btn-next {
  background-color: #ff8200;
  color: white;
  text-align: center;
  transform: scale(1);
  animation: pulse 2s infinite ease-in-out;
}

.btn-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-right-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d5d5d5;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #030712;
}

.icon-right {
  font-size: .8rem;
}

.back-icon {
  position: absolute;
  top: 0;
  left: 0;
  color: #030712;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.1s;
  z-index: 1000;
}

.back-icon:hover {
  color: #34495e;
  transform: translateX(-3px);
}

.progress {
  height: 9px;
  background-color: #dbdcde;
  border-radius: 5px;
  margin-bottom: 36px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #ff8200;
  width: 0%;
  transition: width 0.5s ease;
}

.features {
  text-align: left;
  margin: 20px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature-icon {
  color: #2ecc71;
  margin-right: 10px;
  font-weight: bold;
}

.redirect-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 12px 25px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s;
}

.redirect-btn:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

.welcome-image {
  width: 100%;
  border-radius: 16px;
  margin-top: 28px;
}

.terms {
  margin-bottom: 104px;
  margin-top: 36px;
  text-align: center;
}

.card {
  border: 1px solid #030712;
  padding: 16px;
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 12px;
}

.card2 {
  border: 1px solid #030712;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
  width: 100;
  height: auto;
}

.fa-star {
  color: #facc15;
}