@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f0ede6;
  min-height: 100vh;
  padding: 24px 32px;
}

/*Barre de navigation*/
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px 24px;
}
.logo {
  height: 120px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: #444;
  font-size: 0.97rem;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #2e6e4f;
}

/* ── Conteneur ── */
.question-container {
  background-color: #f5f5f5;
  border-radius: 24px;
  padding: 40px 48px;
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 36px;
}

/* ── Question ── */
.question-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  line-height: 1.5;
}

/* ── Choix ── */
.choix-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.choix-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.cercles0 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.cercle1 {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: pointer;
}

.cercle1.rouge {
  background-color: #f8c0bc;
  border-color: #f0958e;
}

.cercle1.orange {
  background-color: #fdd9b0;
  border-color: #fac78d;
}

.cercle1.gris {
  background-color: #e0e0e0;
  border-color: #ddc8c8;
}

.cercle1.vert-clair {
  background-color: #b8e8c8;
  border-color: #95c4a5;
}

.cercle1.vert {
  background-color: #7dd4b8;
  border-color: #55bb9b;
}

/* ── Labels ── */
.choix-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.label-left,
.label-right {
  font-size: 0.82rem;
  font-weight: 600;
  color: #888;
  text-align: center;
  line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .question-container {
    padding: 28px 20px;
    gap: 24px;
  }

  .question-text {
    font-size: 0.95rem;
  }

  .cercle1 {
    width: 48px;
    height: 48px;
  }

  .cercles0 {
    gap: 12px;
  }
}

/* ── Liste des questions ── */
.questions-liste {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  top: 20px;
}

/* ── Carte question ── */
.question-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

/* ── Texte question ── */
.question-texte {
  font-size: 0.95rem;
  font-weight: 400;
  color: #2a2a2a;
  text-align: center;
  line-height: 1.6;
}

/* ── Cercles ── */
.cercles1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.cercle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.cercle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Couleurs */
.cercle.rouge {
  background-color: #f8c0bc;
}
.cercle.orange {
  background-color: #fdd9b0;
}
.cercle.gris {
  background-color: #e8e8e8;
}
.cercle.vert-clair {
  background-color: #c8ecd8;
}
.cercle.vert {
  background-color: #80d4c0;
}

/* Cercle sélectionné */
.cercle.selected {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cercle.rouge.selected {
  background-color: #f07060;
}
.cercle.orange.selected {
  background-color: #f5a030;
}
.cercle.gris.selected {
  background-color: #aaaaaa;
}
.cercle.vert-clair.selected {
  background-color: #70c890;
}
.cercle.vert.selected {
  background-color: #40b8a0;
}

/*  Bouton  */
.btn-start {
  display: block;
  max-width: 300px;
  margin: 24px auto 0;
  background-color: #2e6e4f;
  color: #fff;
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition:  0.2s;
  position: relative;
  top: 20px;
}

.btn-start:hover {
  background-color: #235a40;
}

@media (max-width: 480px) {
  body {
    padding: 12px 25px;
  }
  nav {
    padding: 0 0 16px;
  }
  .logo {
    height: 60px;
  }
  .question-card {
    padding: 20px 16px;
    gap: 16px;
  }
  .question-texte {
    font-size: 0.88rem;
  }
  .cercle {
    width: 44px;
    height: 44px;
  }
  .cercles1 {
    gap: 16px;
  }
  .cercle1 {
    width: 44px;
    height: 44px;
  }
  .cercles0 {
    gap: 12px;
  }

  /* Conteneur */
  .question-container {
    padding: 24px 16px;
    border-radius: 16px;
  }

  /* Questions liste */
  .questions-liste {
    top: 12px;
  }

  /* Bouton */
  .btn-start {
    max-width: 100%; /* pleine largeur sur mobile */
    margin: 20px auto 0;
    padding: 16px;
    font-size: 0.95rem;
    top: 12px;
  }
}
