:root {
  --color-bg: #ffffff;
  --color-border: #EDE7DE;
  --color-btn-bg: #F9F6F1;
  --color-btn-border: #D8D2C9;
  --color-btn-selected: #293346;
  --color-primary: #222A42;
  --color-text: #222A42;
}

.lpb-result.typologie-1 h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

.lpb-result.typologie-1 h4 {
  margin-top: 25px;
  color: #904f36;
  text-transform: uppercase;
}

.lpb-result.typologie-1 h5 {
  margin-top: 15px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.1em;
}

.lpb-result.typologie-1 ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.lpb-result.typologie-1 p {
  margin-bottom: 10px;
  line-height: 1.6;
}


/* 🔵 Barre de progression horizontale */
#lpb-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
  counter-reset: step;
}

#lpb-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--color-border);
  transform: translateY(-50%);
  z-index: 0;
}

#lpb-progress .step {
  position: relative;
  z-index: 1;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--color-btn-bg);
  border: 2px solid var(--color-btn-border);
  color: var(--color-text);
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

#lpb-progress .step.active {
  background: var(--color-btn-selected);
  border-color: var(--color-btn-selected);
  color: #fff;
}

#lpb-progress .step.completed {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}


#lpb-test-container {
  max-width: 700px;
  margin: 40px auto;
  background: var(--color-bg);
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
}

.lpb-question {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: left;
}
.lpb-question.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.lpb-question h3 {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.5;
  padding-bottom: 20px;
  color: #904f36;
}

.lpb-question button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid var(--color-btn-border);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-text);
  text-align: left;
}
.lpb-question button:hover {
  background: #f1ece4;
}
.lpb-question button.selected {
  background: var(--color-btn-selected);
  color: #fff;
  border-color: var(--color-btn-selected);
}

.lpb-next {
  text-align: right;
  margin-top: 20px;
}
.next-btn, .result-btn, #lpb-restart {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}
.next-btn:hover, .result-btn:hover, #lpb-restart:hover {
  background: #111826;
}

#lpb-result {
  text-align: left;
  padding: 20px;
}
#lpb-result.hidden { display: none; }

#lpb-result-text {
  white-space: pre-line;
  line-height: 1.6;
  margin-bottom: 20px;
}
