/* =====================================================
   QUESTIONNAIRE.CSS — OLFACT
   Profil olfactif. Réutilise les tokens de layout.css.
   Chargé AVANT layout.css (convention du design system).
   ===================================================== */

body {
  background: var(--cream, #f8f4ef);
  color: var(--ink, #2f1847);
  font-family: "DM Sans", sans-serif;
}

.qz {
  max-width: 760px;
  margin: 0 auto;
  /* dégage le header fixe (74px) + respiration */
  padding: calc(74px + 4rem) 1.5rem 5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ----------------- éléments communs ----------------- */
.qz-kicker {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text, #876830);
  margin-bottom: 1.1rem;
}

.qz-title {
  font-family: "Cormorant Upright", serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1.3rem;
}
.qz-title em {
  font-style: italic;
  color: var(--gold-deep, #c89b56);
}

.qz-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 36rem;
  opacity: 0.86;
  margin: 0 0 2.2rem;
}

/* ----------------- boutons ----------------- */
.qz-btn {
  display: inline-block;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--night, #1a0331);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.qz-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.qz-btn--solid {
  background: var(--night, #1a0331);
  color: #fff;
}
.qz-btn--ghost {
  background: transparent;
  color: var(--night, #1a0331);
}

/* ----------------- intro ----------------- */
.qz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}
.qz-meta span {
  position: relative;
}
.qz-meta span + span::before {
  content: "·";
  position: absolute;
  left: -0.85rem;
}

/* ----------------- écran question ----------------- */
.qz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.qz-back {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink, #2f1847);
  opacity: 0.65;
  padding: 0;
  transition: opacity 0.2s;
}
.qz-back:hover {
  opacity: 1;
}
.qz-count {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  opacity: 0.55;
}

.qz-progress {
  height: 3px;
  background: var(--line, rgba(47, 24, 71, 0.14));
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2.6rem;
}
.qz-progress__bar {
  height: 100%;
  background: var(--gold, #d7b26d);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.qz-question {
  font-family: "Cormorant Upright", serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 2rem;
}

.qz-choices {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.qz-choice {
  text-align: left;
  padding: 1.15rem 1.4rem;
  border: 1px solid var(--line, rgba(47, 24, 71, 0.14));
  border-radius: 14px;
  background: var(--paper, #fffdfa);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  color: var(--ink, #2f1847);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.qz-choice:hover {
  border-color: var(--gold, #d7b26d);
  background: #fff;
  transform: translateX(3px);
}
.qz-choice--active {
  border-color: var(--gold-deep, #c89b56);
  box-shadow: inset 0 0 0 1px var(--gold-deep, #c89b56);
}

/* ----------------- écran résultat ----------------- */
.qz-result__archetype {
  font-family: "Cormorant Upright", serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 0.3rem;
}
.qz-result__family {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep, #c89b56);
  margin: 0 0 1.4rem;
}
.qz-result__text {
  font-size: 1.12rem;
  line-height: 1.65;
  opacity: 0.9;
  margin: 0 0 0.8rem;
  max-width: 38rem;
}
.qz-result__secondary {
  font-size: 0.95rem;
  opacity: 0.75;
  margin: 0 0 2.4rem;
}

.qz-notes h2,
.qz-examples h2,
.qz-advice__item h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text, #876830);
  margin: 0 0 0.9rem;
}
.qz-notes ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2.6rem;
  padding: 0;
}
.qz-notes li {
  padding: 0.45rem 1rem;
  border: 1px solid var(--line, rgba(47, 24, 71, 0.14));
  border-radius: 999px;
  font-size: 0.9rem;
  background: var(--paper, #fffdfa);
}

/* exemples de parfums réels */
.qz-examples ul {
  list-style: none;
  margin: 0 0 2.6rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.qz-examples li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}
.qz-examples li::before {
  content: "·";
  position: absolute;
  left: 0.2rem;
  color: var(--gold-deep, #c89b56);
  font-weight: 700;
}
.qz-perfume__name {
  font-weight: 500;
}
.qz-perfume__tag {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.12rem 0.5rem;
  border: 1px solid var(--line, rgba(47, 24, 71, 0.14));
  border-radius: 999px;
  opacity: 0.7;
}
.qz-perfume__bridge {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--gold-deep, #c89b56);
}
.qz-dupes-note {
  margin: 0 0 2.6rem;
  font-size: 0.88rem;
  line-height: 1.55;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: var(--cream-2, #f1ebe3);
  opacity: 0.9;
}

.qz-advice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 2.6rem;
}
.qz-advice__item {
  padding: 1.4rem;
  border: 1px solid var(--line, rgba(47, 24, 71, 0.14));
  border-radius: 16px;
  background: var(--paper, #fffdfa);
}
.qz-advice__value {
  font-family: "Cormorant Upright", serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.qz-advice__reason {
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.8;
  margin: 0;
}

.qz-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.qz-disclaimer {
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.6;
  margin: 0;
  max-width: 36rem;
}

@media (max-width: 560px) {
  .qz-advice {
    grid-template-columns: 1fr;
  }
}
