:root {
  --cor-primaria: #A78BFA;
  --cor-secundaria: #F293A2;
  --cor-fundo: #FDFCFD;
  --cor-fundo-2: #fdf2f8;
  --cor-texto: #222222;

  /* Cor da Serena - Boneca */
  --cor-primaria-b: #5e457d;
  --cor-secundaria-b: #fcc0ae;
  --cor-terceira-b: #fa9390;
  --cor-terceira-b: #fef7f2;
  --cor-botao: #f7857d; 
  --cor--alternativa: #f5eafa;
  --cor-botaoalternativo: #8e5eff;
}



/* GERAL */
body {
  background: linear-gradient(115deg, #f5f2ff 0%, #f4f3f8 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* INTRODUÇÃO */
.highlight-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 760px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.highlight-container {
  animation: fadeIn 0.8s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.headline {
  font-size: 28px;
  font-weight: 700;
  color: #8224e7; /* Fallback para Firefox */
  background: linear-gradient(90deg, #8224e7, #d16ba5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  font-size: 17px;
  margin-bottom: 32px;
  line-height: 1.7;
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.descricao-leve {
  color: #444;
  font-weight: 400;
}

.descricao-destaque {
  color: #A03DB4;
  font-weight: 600;
}

/* imge */

.imge {
  display: flex;
  justify-content: center;
  padding: 20px;
  margin-bottom: 20px;
}

.imge img {
  width: 100%;
  max-width: 370px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.imge img:hover {
  transform: scale(1.02); /* Efeito suave ao passar o mouse */
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colunas fixas */
  gap: 16px;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto 40px;
}

.grid-item {
  background-color: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 6px solid #c084fc;
}


.grid-item:hover {
  transform: translateY(-4px);
}

.grid-item h3 {
  font-size: 16px;
  color: #6b21a8;
  margin-bottom: 8px;
}

.grid-item p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.final-message {
  font-size: 16px;
  color: #4b0082;
  background: #fdf4ff;
  padding: 20px;
  border-radius: 12px;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 3px 10px rgba(130, 36, 231, 0.08);
  font-style: italic;
}



/* BOTÃO PADRÃO */
.continue-button {
  display: block;
  margin: 24px auto 0 auto; /* Centraliza horizontalmente */
  background: linear-gradient(90deg, #8e50a5 0, #fcc6b7 100%);
  color: white;
  border: none;
  padding: 11px 50px;
  font-size: 1.08rem;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.09em;
  box-shadow: 0 2px 7px 0 #8224e7;
  transition: background 0.23s, transform 0.11s, box-shadow 0.23s;
  outline: none;
  text-decoration: none;
  max-width: fit-content;    /* Impede que o botão se estique */
  text-align: center;       /* Garante centralização do texto */
}

.continue-button:hover {
  transform: scale(1.02);
  box-shadow: 0 3px 12px rgba(130, 36, 231, 0.3);
}

.botao-container {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

#falar-com-serena {
  background: linear-gradient(90deg, #8e50a5 0, #fcc6b7 100%);
  color: white;
  border: none;
  padding: 11px 50px;
  font-size: 1.08rem;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.09em;
  box-shadow: 0 2px 7px 0 #8224e7;
  transition: background 0.23s, transform 0.11s, box-shadow 0.23s;
  outline: none;
  text-decoration: none;
  text-align: center;
  display: inline-block; /* Garantir centralização com flex container */
}

.center-button {
  display: flex;
  justify-content: center;
}


/* QUIZ */
#quiz-serena {
  max-width: 520px;
  margin: 40px auto;
  background: #fffcfb;
  padding: 20px 10px;
  border-radius: 20px;
  box-shadow: 0 8px 36px 0 rgba(54, 80, 126, 0.13);
  color: #223042;
  position: relative;
  overflow: hidden;
}

#progressContainer {
  width: 100%;
  background: #e4f2ed;
  border-radius: 40px;
  height: 13px;
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.09);
}

#progressBar {
  height: 100%;
  background: linear-gradient(90deg, #e08e6e, #b79de7 87%);
  width: 0%;
  transition: width 0.45s cubic-bezier(0.4, 1.7, 0.9, 0.7);
}

#quiz-serena h2 {
  font-size: 1.23rem;
  color: #5C2D6D;
  margin-bottom: 18px;
  font-weight: 600;
  padding: 15px;
}

#quiz-serena img {
  display: block;
  margin: 0 auto 16px;
  width: 88px;
  filter: drop-shadow(0 3px 10px #b79de7);
}

#quiz-serena label {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1rem;
  border-radius: 8px;
  padding: 10px 14px;
  transition: background 0.15s;
  cursor: pointer;
  border: 1px solid #f0f5fa;
  background: #ffffff;
}

#quiz-serena label:hover,
#quiz-serena label:focus-within {
  background: linear-gradient(90deg, #f7e1ff 0, #faeeff 100%);
  border-color: #5C2D6D;
}

#quiz-serena input[type="radio"] {
  margin-right: 13px;
  accent-color: #5C2D6D;
  width: 18px;
  height: 18px;
}

#quiz-serena button {
  background: linear-gradient(90deg, #8e50a5 0, #fcc6b7 100%);
  color: white;
  border: none;
  padding: 11px 50px;
  font-size: 1.08rem;
  display: block;
  margin: 28px auto 0; /* centraliza + top spacing */
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.09em;
  box-shadow: 0 2px 7px 0 #5C2D6D;
  transition: background 0.23s, transform 0.11s, box-shadow 0.23s;
  outline: none;
}

#quiz-serena button:hover,
#quiz-serena button:focus {
  background: linear-gradient(90deg, #FC867C 0, #feb8a5 100%);
  box-shadow: 0 4px 24px 0 #8e50a5;
  transform: translateY(-2px) scale(1.04);
}

.step {
  display: none;
  animation: fadeIn 0.5s;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.analisando-texto {
  font-size: 1.4rem;
  font-weight: 600;
  color: #7c3aed;
  animation: pulseAnim 1.9s infinite;
  text-align: center;
  margin: 16px auto 20px auto;
  max-width: 100%;
  line-height: 1.6;
}

#quiz-serena .img-final {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  margin: 0 auto 24px;
  display: block;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}


.mensagem-bloco {
  background-color: #f9f7fd;
  padding: 16px 20px;
  border-radius: 14px;
  margin: 18px auto;
  max-width: 640px;
  font-size: 1.05rem;
  color: #333;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  opacity: 0;
}

.animated {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mensagem-bloco strong {
  color: #7c3aed;
}

.mensagem-bloco.destaque {
  background-color: #fceff8;
  font-weight: 600;
  color: #7c3aed;
}

.arrow {
  font-size: 1.6rem;
  color: #a78bfa;
  margin: 12px 0 -2px 0;
  animation: arrowAnim 1.5s infinite;
}

@keyframes arrowAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}



@keyframes pulseAnim {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* RESPONSIVO Celular */

@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 360px;
    margin: 0 auto 40px;
    gap: 12px;
  }

  .imge img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  }


  .grid-item {
    padding: 18px 14px;
    font-size: 13.5px;
    min-height: 140px;
  }

  .grid-item h3 {
    font-size: 14px;
  }

  .grid-item p {
    font-size: 13px;
  }

  .highlight-container {
    padding: 30px 16px;
  }

  .headline {
    font-size: 20px;
    line-height: 1.4;
  }

  .description {
    font-size: 15px;
    line-height: 1.5;
  }

  .final-message {
    font-size: 14.5px;
    padding: 0 16px;
    line-height: 1.6;
  }

  .continue-button {
    width: 100%;
    max-width: 260px;
    margin: 24px auto 0;
    display: block;
  }

  /* QUIZ  */

   #quiz-serena {
    max-height: 100%;
    overflow-y: auto;
    margin: 50px 16px;
    
  }


  #quiz-serena .img-final {
  width: 100%;
  max-width: 230px;
}


  #mensagemFinal p {
  font-size: 17px;
  line-height: 1.6;
  padding: 0 12px;
  }
  
  #falar-com-serena {
  display: inline-block;
  margin: 24px auto 12px;
  padding: 11px 42px;
  font-size: 1rem;
  text-align: center;
}


  #quiz-serena h2 {
    font-size: 1.1rem;
    padding: 0 4px 12px;
  }

  #quiz-serena label {
    font-size: 0.95rem;
    padding: 10px 12px;
  }

  #quiz-serena button {
    padding: 11px 36px;
    font-size: 1rem;
  }


}
