* {
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
}

/* TOPO */
.top-bar {
  padding: 20px;
  text-align: center;
}

.logo {
  text-decoration: none;
  font-weight: bold;
  padding: 15px;
  border: none;
  background: #1f2937;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.logo:hover {
  background: #2563eb;
}

/* CONTAINER */
.diagnostic-container {
  width: 100%;
  max-width: 720px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.subtitle {
  opacity: 0.8;
  margin-bottom: 30px;
}

/* PROGRESSO */
.progress {
  width: 100%;
  height: 6px;
  background: #1f2937;
  border-radius: 10px;
  margin-bottom: 30px;
}

.progress-bar {
  height: 100%;
  width: 25%;
  background: #22c55e;
  border-radius: 10px;
  transition: 0.4s;
}

/* PERGUNTAS */
.question {
  display: none;
  animation: fadeUp 0.4s ease;
}

.question.active {
  display: block;
}

.options {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.option {
  padding: 15px;
  border: none;
  background: #1f2937;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.option:hover {
  background: #2563eb;
}

.option.selected {
  background: #22c55e;
  color: #022c22;
}

/* BOTÃO FINAL */
.btn-result {
  margin-top: 25px;
  padding: 14px 30px;
  background: #22c55e;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

/* LOADING */
.loading-box {
  padding: 60px 20px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid #22c55e;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

/* RESULTADO */
.result-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 16px;
  width: 100%;

}

.btn-whatsapp {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  background: #22c55e;
  color: #022c22;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
}

.btn-restart {
  padding: 15px;
  border: none;
  background: #1f2937;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 5%;
}


@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Site-basic/Site-Pro/Site-Premium */
.package-card {
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 165, 0, 0.4);
}

.package-level {
  font-size: 14px;
  opacity: 0.7;
}

.package-card h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.package-card .description {
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.6;
  opacity: 0.85;
}

.package-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.package-card li {
  margin: 8px 0;
  font-size: 0.95rem;
  position: relative;
  padding-left: 25px;
}

.package-card li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22c55e;
}

.package-card .btn-whatsapp {
  display: inline-block;
  padding: 14px 30px;
  background: #22c55e;
  color: #022c22;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.package-card .btn-whatsapp:hover {
  transform: scale(1.05);
}

.message-acolhedora {
  font-size: 14px;
  opacity: 0.7;
  color: #fff;
}

.social-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.social-icon img {
  width: 80px;
  height: 80px;
  max-width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.social-icon img:hover {
  transform: scale(1.20);
  opacity: 1.1;
  /* Mais brilho as ícones */
}

.msg-whatsapp {
  font-size: 15px;
  opacity: 0.7;
  color:#ffff;
}

.msg-atendimento {
  margin-top: auto;
  font-size: 16px;
  color:#fff;
  
}

@media (max-width: 768px) {

  .diagnostic-container {
    margin: 20px auto;
    padding: 0 16px;
  }

  .result-card {
    padding: 25px 15px;
  }

  .package-card {
    padding: 25px 18px;
    border-radius: 18px;
  }

  .package-card h2,
  .package-card h1 {
    font-size: 1.5rem;
  }

  .package-card ul {
    text-align: left;
  }

  .package-card li {
    font-size: 0.9rem;
  }

  .social-icon img {
    width: 70px;
    height: 70px;
  }

  .msg-atendimento {
    font-size: 14px;
  }
}