/* ═══════════════════════════════════════════════
   SPICY QUIZ — Score Klaviyo
   Hérite des variables et composants de ../styles.css
   ═══════════════════════════════════════════════ */

/* ── Reset local utile ── */
.quiz-root {
  min-height: 100vh;
  padding-top: 76px; /* compense la navbar fixed du site */
}

/* ═══════════════════════════════════════════════
   SYSTÈME DE VUES (SPA)
   ═══════════════════════════════════════════════ */

.view {
  display: none;
  opacity: 0;
  transition: opacity .4s var(--ease-out-expo);
}

.view.is-active {
  display: block;
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   VUE LANDING
   ═══════════════════════════════════════════════ */

.landing {
  position: relative;
  padding: 80px 24px 100px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.landing__surtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--spicy-coral);
  margin-bottom: 32px;
}

.landing__surtitle-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--spicy-coral);
  border-radius: 50%;
  animation: dotGlow 2.4s ease-in-out infinite;
}

.landing__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 28px;
}

.landing__title em {
  font-style: normal;
  color: var(--spicy-coral);
}

.landing__subtitle {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
}

.landing__benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 460px;
  margin: 0 auto 56px;
  text-align: left;
}

.landing__benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
}

.landing__benefit-icon {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 1;
  margin-top: 2px;
}

.landing__benefit strong {
  color: var(--spicy-coral);
  font-weight: 500;
}

/* CTA — réutilise le clip-path signature du site */
.landing__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--deep-onyx);
  background: var(--spicy-coral);
  padding: 22px 54px;
  border: none;
  cursor: pointer;
  animation: gentleFloat 4s ease-in-out infinite;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.landing__cta:hover {
  background: var(--spicy-coral-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 107, 74, .3);
  animation: none;
}

.landing__cta-arrow {
  font-size: 20px;
}

.landing__duration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.landing__duration::before,
.landing__duration::after {
  content: '';
  flex-shrink: 0;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, .15);
}

/* ═══════════════════════════════════════════════
   VUE QUIZ
   ═══════════════════════════════════════════════ */

.quiz {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Barre de progression (sticky sur mobile) */
.quiz__progress {
  margin-bottom: 56px;
}

@media (max-width: 768px) {
  .quiz__progress {
    position: sticky;
    top: 76px; /* hauteur de la navbar fixed du site */
    z-index: 50;
    background: var(--deep-onyx);
    padding: 14px 0 10px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
  }
}

.quiz__progress-track {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, .06);
  border-radius: 2px;
  overflow: hidden;
}

.quiz__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--spicy-coral);
  border-radius: 2px;
  transition: width .5s var(--ease-out-expo);
  box-shadow: 0 0 12px rgba(255, 107, 74, .4);
}

.quiz__progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.quiz__progress-step {
  color: var(--white);
}

.quiz__progress-section {
  color: var(--text-tertiary);
}

/* Carte question — slide horizontal transitions */
.quiz__question-wrap {
  position: relative;
  min-height: 400px;
  overflow: hidden; /* cache le sliding */
}

.quiz__question {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  transition: opacity .35s var(--ease-out-expo), transform .4s var(--ease-out-expo);
  pointer-events: auto;
}

/* États de transition */
.quiz__question.is-leaving-left {
  opacity: 0;
  transform: translateX(-40px);
  pointer-events: none;
}

.quiz__question.is-leaving-right {
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
}

.quiz__question.is-entering-right {
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
}

.quiz__question.is-entering-left {
  opacity: 0;
  transform: translateX(-40px);
  pointer-events: none;
}

.quiz__question-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}

.quiz__question-sub {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Options cards — reprend esthétique simulator__quick-btn */
.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.quiz__option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .15s ease;
}

.quiz__option:hover {
  border-color: rgba(255, 107, 74, .4);
  background: rgba(255, 107, 74, .06);
}

.quiz__option:active {
  transform: scale(.985);
}

.quiz__option.is-selected {
  border-color: var(--spicy-coral);
  background: rgba(255, 107, 74, .1);
  box-shadow: 0 0 20px rgba(255, 107, 74, .12);
}

.quiz__option-bullet {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  position: relative;
  transition: border-color .25s ease;
}

.quiz__option.is-selected .quiz__option-bullet {
  border-color: var(--spicy-coral);
}

.quiz__option.is-selected .quiz__option-bullet::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--spicy-coral);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.quiz__option-label {
  flex: 1;
}

/* Footer actions (Précédent / Suivant) */
.quiz__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.quiz__back {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: none;
  border: none;
  padding: 12px 8px;
  cursor: pointer;
  transition: color .25s ease;
}

.quiz__back:hover {
  color: var(--white);
}

.quiz__back--hidden {
  visibility: hidden;
  pointer-events: none;
}

.quiz__back-arrow {
  margin-right: 6px;
}

/* ═══════════════════════════════════════════════
   FORMULAIRE FIN DE QUIZ
   ═══════════════════════════════════════════════ */

.quiz__form {
  max-width: 480px;
  margin: 0 auto;
}

.quiz__form-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
  text-align: center;
}

.quiz__form-title em {
  font-style: normal;
  color: var(--spicy-coral);
}

.quiz__form-sub {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
  text-align: center;
}

.quiz__form-field {
  margin-bottom: 18px;
}

.quiz__form-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--pearl);
  opacity: .85;
  margin-bottom: 8px;
}

.quiz__form-input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 20px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  color: var(--white);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.quiz__form-input::placeholder {
  color: rgba(255, 255, 255, .25);
}

.quiz__form-input:focus {
  border-color: rgba(255, 107, 74, .5);
  box-shadow: 0 0 16px rgba(255, 107, 74, .08);
}

.quiz__form-input.is-error {
  border-color: rgba(255, 80, 80, .7);
}

.quiz__form-error {
  display: none;
  margin-top: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  color: #ff6b6b;
}

.quiz__form-error.is-visible {
  display: block;
}

.quiz__form-submit {
  display: block;
  width: 100%;
  padding: 22px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--deep-onyx);
  background: var(--spicy-coral);
  border: none;
  cursor: pointer;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.quiz__form-submit:hover:not(:disabled) {
  background: var(--spicy-coral-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 74, .25);
}

.quiz__form-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.quiz__form-reassure {
  margin-top: 16px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-align: center;
}

.quiz__form-legal {
  margin-top: 14px;
  font-family: 'Epilogue', sans-serif;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .35);
  text-align: center;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.quiz__form-legal a {
  color: rgba(255, 255, 255, .55);
  text-decoration: underline;
}

.quiz__form-legal a:hover {
  color: var(--spicy-coral);
}

/* ═══════════════════════════════════════════════
   VUE RÉSULTATS
   ═══════════════════════════════════════════════ */

.results {
  max-width: 840px;
  margin: 0 auto;
  padding: 48px 24px 100px;
}

/* ── Hero score ── */
.results__hero {
  text-align: center;
  padding: 40px 20px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 56px;
}

.results__surtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--spicy-coral);
  margin-bottom: 24px;
}

.results__surtitle-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--spicy-coral);
  border-radius: 50%;
}

.results__score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  letter-spacing: -.02em;
}

.results__score-suffix {
  font-size: .4em;
  color: var(--text-tertiary);
  margin-left: 8px;
}

.results__verdict {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  margin: 24px 0 16px;
}

.results__verdict--critical  { color: #FF4A4A; }
.results__verdict--warm      { color: var(--spicy-coral); }
.results__verdict--solid     { color: #FFC857; }
.results__verdict--excellent { color: #66E088; }

.results__verdict-sub {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Revenue leak ── */
.results__leak {
  text-align: center;
  padding: 56px 20px;
  margin-bottom: 64px;
  background: rgba(255, 107, 74, .05);
  border: 1px solid rgba(255, 107, 74, .15);
  clip-path: polygon(16px 0%, calc(100% - 16px) 0%, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0% calc(100% - 16px), 0% 16px);
}

.results__leak-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--spicy-coral);
  margin-bottom: 20px;
}

.results__leak-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 12vw, 120px);
  font-weight: 400;
  line-height: 1;
  color: var(--spicy-coral);
  letter-spacing: -.01em;
  margin-bottom: 20px;
}

.results__leak-amount-tilde {
  font-size: .4em;
  opacity: .5;
  margin-right: 10px;
}

.results__leak-period {
  font-size: .25em;
  color: var(--text-secondary);
  letter-spacing: .08em;
  margin-left: 6px;
}

.results__leak-explain {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ── Breakdown piliers (radar SVG + list) ── */
.results__breakdown {
  margin-bottom: 72px;
}

.results__section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 40px;
  color: var(--white);
}

.results__breakdown-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.results__radar-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.results__radar {
  width: 100%;
  height: auto;
  display: block;
}

.results__pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.results__pillar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s ease, border-color .25s ease;
}

.results__pillar:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .2);
}

.results__pillar-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.results__pillar-body {
  flex: 1;
  min-width: 0;
}

.results__pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.results__pillar-label {
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.results__pillar-level {
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.results__pillar-bar {
  height: 5px;
  background: rgba(255, 255, 255, .1);
  border-radius: 3px;
  overflow: hidden;
}

.results__pillar-bar-fill {
  height: 100%;
  background: var(--spicy-coral);
  border-radius: 3px;
  width: 0;
  transition: width 1s var(--ease-out-expo);
}

.results__pillar-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--white);
  flex-shrink: 0;
  min-width: 52px;
  text-align: right;
  line-height: 1;
}

.results__pillar-score small {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-left: 2px;
}

/* ── Niveau : Faible (low) ── rouge orangé ── */
.results__pillar--low {
  border-left: 3px solid #FF4A4A;
}
.results__pillar--low .results__pillar-bar-fill {
  background: linear-gradient(90deg, #FF4A4A 0%, #FF6B4A 100%);
}
.results__pillar--low .results__pillar-level {
  background: rgba(255, 74, 74, .15);
  color: #FF7070;
}

/* ── Niveau : Correct (medium) ── coral / ambre ── */
.results__pillar--medium {
  border-left: 3px solid var(--spicy-coral);
}
.results__pillar--medium .results__pillar-bar-fill {
  background: linear-gradient(90deg, var(--spicy-coral) 0%, #FFC857 100%);
}
.results__pillar--medium .results__pillar-level {
  background: rgba(255, 200, 87, .14);
  color: #FFC857;
}

/* ── Niveau : Solide (high) ── vert ── */
.results__pillar--high {
  border-left: 3px solid #66E088;
}
.results__pillar--high .results__pillar-bar-fill {
  background: linear-gradient(90deg, var(--spicy-coral) 0%, #66E088 100%);
}
.results__pillar--high .results__pillar-level {
  background: rgba(102, 224, 136, .14);
  color: #66E088;
}

/* ── Priorités ── */
.results__priorities {
  margin-bottom: 72px;
}

.results__priority {
  padding: 24px 28px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, .025);
  border-left: 3px solid var(--spicy-coral);
  transition: transform .25s ease, background .25s ease;
}

.results__priority:hover {
  background: rgba(255, 107, 74, .05);
  transform: translateX(4px);
}

.results__priority--critical { border-left-color: #FF4A4A; }
.results__priority--warm     { border-left-color: var(--spicy-coral); }
.results__priority--solid    { border-left-color: #FFC857; }

.results__priority-tag {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--white);
  opacity: .9;
}

.results__priority-title {
  font-family: 'Epilogue', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.results__priority-body {
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ── CTA final (réutilise la signature ctafinal du site) ── */
.results__cta {
  text-align: center;
  padding: 64px 20px 72px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 56px;
}

.results__cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.results__cta-title em {
  font-style: normal;
  color: var(--spicy-coral);
}

.results__cta-sub {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
}

.results__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--deep-onyx);
  background: var(--spicy-coral);
  padding: 22px 54px;
  animation: gentleFloat 4s ease-in-out infinite;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.results__cta-btn:hover {
  background: var(--spicy-coral-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 107, 74, .3);
  animation: none;
}

.results__cta-note {
  display: block;
  margin-top: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ── Partage social ── */
.results__share {
  text-align: center;
  padding: 40px 20px 16px;
}

.results__share-title {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.results__share-btns {
  display: inline-flex;
  gap: 12px;
}

.results__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}

.results__share-btn:hover {
  border-color: rgba(255, 107, 74, .4);
  background: rgba(255, 107, 74, .08);
}

/* ═══════════════════════════════════════════════
   LOADER (pendant push Klaviyo)
   ═══════════════════════════════════════════════ */

.quiz__loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}

.quiz__loader-spinner {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 107, 74, .2);
  border-top-color: var(--spicy-coral);
  border-radius: 50%;
  animation: spin .9s linear infinite;
  margin-bottom: 24px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.quiz__loader-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST (breakpoint 768px)
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
  .quiz-root {
    padding-top: 76px;
  }

  .landing {
    padding: 48px 20px 80px;
  }

  .landing__benefits {
    max-width: 100%;
  }

  .landing__cta {
    width: 100%;
    max-width: 360px;
    padding: 22px 32px;
    justify-content: center;
  }

  .quiz {
    padding: 24px 20px 60px;
  }

  .quiz__progress {
    margin-bottom: 40px;
  }

  .quiz__question-wrap {
    min-height: 340px;
  }

  .quiz__option {
    min-height: 60px;
    padding: 16px 20px;
    font-size: 15px;
  }

  .results__breakdown-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .results__radar-wrap {
    max-width: 280px;
  }

  .results__leak {
    padding: 40px 20px;
  }

  .results__priority {
    padding: 20px 22px;
  }

  .results__cta-btn {
    width: 100%;
    max-width: 360px;
    padding: 22px 32px;
    justify-content: center;
  }

  .results__share-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 420px) {
  .landing__title {
    font-size: 40px;
  }

  .results__score {
    font-size: 88px;
  }

  .results__leak-amount {
    font-size: 54px;
  }
}

/* ═══════════════════════════════════════════════
   #3 BANNER REPRISE (sessionStorage)
   ═══════════════════════════════════════════════ */

.resume-banner {
  display: none;
  max-width: 540px;
  margin: 24px auto 32px;
  padding: 18px 24px;
  background: rgba(255, 107, 74, .08);
  border: 1px solid rgba(255, 107, 74, .3);
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.resume-banner--visible { display: flex; }

.resume-banner__text {
  flex: 1;
  min-width: 200px;
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
}

.resume-banner__text strong {
  color: var(--spicy-coral);
}

.resume-banner__btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: var(--spicy-coral);
  color: var(--deep-onyx);
  border: none;
  cursor: pointer;
  transition: background .25s ease;
}

.resume-banner__btn:hover { background: var(--spicy-coral-light); }

.resume-banner__dismiss {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px;
  cursor: pointer;
}

.resume-banner__dismiss:hover { color: var(--white); }

/* ═══════════════════════════════════════════════
   #1 INSIGHT CARD (apparaît après Q3)
   ═══════════════════════════════════════════════ */

.insight-card {
  text-align: center;
  padding: 48px 24px;
}

.insight-card__surtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--spicy-coral);
  margin-bottom: 28px;
}

.insight-card__surtitle-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--spicy-coral);
  border-radius: 50%;
  animation: dotGlow 2.4s ease-in-out infinite;
}

.insight-card__stat {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 11vw, 110px);
  font-weight: 400;
  line-height: 1;
  color: var(--spicy-coral);
  margin-bottom: 20px;
  letter-spacing: -.01em;
}

.insight-card__text {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--white);
  max-width: 520px;
  margin: 0 auto 40px;
}

.insight-card__text strong {
  color: var(--spicy-coral);
  font-weight: 500;
}

.insight-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--deep-onyx);
  background: var(--spicy-coral);
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
  transition: background .25s ease, transform .25s ease;
}

.insight-card__btn:hover {
  background: var(--spicy-coral-light);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   #2 EXIT INTENT POPUP
   ═══════════════════════════════════════════════ */

.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 6, 10, .82);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s ease;
}

.exit-popup.is-visible {
  display: flex;
  opacity: 1;
}

.exit-popup__box {
  position: relative;
  max-width: 480px;
  width: 100%;
  padding: 48px 36px 36px;
  background: var(--deep-onyx);
  border: 1px solid rgba(255, 107, 74, .3);
  clip-path: polygon(16px 0%, calc(100% - 16px) 0%, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0% calc(100% - 16px), 0% 16px);
  animation: popIn .4s var(--ease-out-expo);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}

.exit-popup__close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  width: 28px;
  height: 28px;
}

.exit-popup__close:hover { color: var(--white); }

.exit-popup__eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--spicy-coral);
  margin-bottom: 18px;
}

.exit-popup__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}

.exit-popup__title em {
  font-style: normal;
  color: var(--spicy-coral);
}

.exit-popup__sub {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.exit-popup__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exit-popup__input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color .25s ease;
}

.exit-popup__input:focus {
  border-color: rgba(255, 107, 74, .5);
}

.exit-popup__input::placeholder {
  color: rgba(255, 255, 255, .3);
}

.exit-popup__submit {
  height: 52px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--deep-onyx);
  background: var(--spicy-coral);
  border: none;
  cursor: pointer;
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
  transition: background .25s ease;
}

.exit-popup__submit:hover { background: var(--spicy-coral-light); }

.exit-popup__success {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.exit-popup__success-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.exit-popup__success-text {
  font-family: 'Epilogue', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
  line-height: 1.5;
}

.exit-popup.is-success .exit-popup__form,
.exit-popup.is-success .exit-popup__title,
.exit-popup.is-success .exit-popup__sub,
.exit-popup.is-success .exit-popup__eyebrow { display: none; }

.exit-popup.is-success .exit-popup__success { display: block; }

.exit-popup__note {
  margin-top: 14px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-align: center;
}

/* ═══════════════════════════════════════════════
   #7 CONTREFACTUEL "ET SI"
   ═══════════════════════════════════════════════ */

.results__counterfactual {
  max-width: 640px;
  margin: 0 auto 64px;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(102, 224, 136, .06) 0%, rgba(255, 107, 74, .04) 100%);
  border: 1px solid rgba(102, 224, 136, .2);
  text-align: center;
}

.results__counterfactual-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #66E088;
  margin-bottom: 18px;
}

.results__counterfactual-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.results__counterfactual-gain {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 10vw, 88px);
  line-height: 1;
  color: #66E088;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.results__counterfactual-gain-suffix {
  font-size: .35em;
  color: var(--text-secondary);
  letter-spacing: .06em;
  margin-left: 6px;
}

.results__counterfactual-sub {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   HOT-LEAD CTA (adaptatif — si call_intent = yes_absolutely)
   ═══════════════════════════════════════════════ */

.results__hot-cta {
  position: relative;
  max-width: 720px;
  margin: -24px auto 56px;
  padding: 40px 44px 44px;
  background: linear-gradient(135deg, rgba(255, 107, 74, .18) 0%, rgba(255, 107, 74, .08) 60%, rgba(255, 200, 87, .05) 100%);
  border: 1px solid rgba(255, 107, 74, .4);
  text-align: left;
  box-shadow: 0 24px 80px rgba(255, 107, 74, .15);
  clip-path: polygon(16px 0%, calc(100% - 16px) 0%, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0% calc(100% - 16px), 0% 16px);
  animation: hotCtaPulse 3.2s ease-in-out infinite;
}

@keyframes hotCtaPulse {
  0%, 100% { box-shadow: 0 24px 80px rgba(255, 107, 74, .15); }
  50%      { box-shadow: 0 24px 100px rgba(255, 107, 74, .28); }
}

.results__hot-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--spicy-coral);
  margin-bottom: 18px;
  font-weight: 500;
}

.results__hot-cta-eyebrow-bolt {
  font-size: 16px;
  animation: boltPulse 1.6s ease-in-out infinite;
}

@keyframes boltPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}

.results__hot-cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 14px;
}

.results__hot-cta-title em {
  font-style: normal;
  color: var(--spicy-coral);
}

.results__hot-cta-sub {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 560px;
}

.results__hot-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--deep-onyx);
  background: var(--spicy-coral);
  padding: 20px 44px;
  animation: gentleFloat 4s ease-in-out infinite;
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.results__hot-cta-btn:hover {
  background: var(--spicy-coral-light);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(255, 107, 74, .4);
  animation: none;
}

.results__hot-cta-meta {
  margin-top: 18px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .results__hot-cta {
    padding: 32px 24px 32px;
    margin-bottom: 40px;
  }
  .results__hot-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 20px 24px;
  }
}

/* ═══════════════════════════════════════════════
   STICKY CTA MOBILE (hot lead only)
   ═══════════════════════════════════════════════ */

.results__sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .results__sticky-cta.is-visible {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 80;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0));
    background: linear-gradient(to top, rgba(7, 6, 10, .98) 70%, rgba(7, 6, 10, 0) 100%);
    backdrop-filter: blur(8px);
  }

  .results__sticky-cta-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--deep-onyx);
    background: var(--spicy-coral);
    clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
    box-shadow: 0 -4px 32px rgba(255, 107, 74, .4);
  }

  /* Laisse de l'air pour ne pas cacher le contenu */
  .results--has-sticky {
    padding-bottom: 100px;
  }
}

/* ═══════════════════════════════════════════════
   #16 CONFETTI CANVAS OVERLAY
   ═══════════════════════════════════════════════ */

.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* ═══════════════════════════════════════════════
   #21 LOGOS CLIENTS (landing — réutilise design parent)
   ═══════════════════════════════════════════════ */

.landing__logos {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.landing__logos-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .landing__logos {
    margin-top: 48px;
    padding-top: 32px;
  }
}

