:root {
  --bg: #0d3533;
  --panel: #195a56;
  --text: #ffffff;
  --muted: #d7cfcb;
  --border: rgba(255, 255, 255, 0.2);

  --color-orange-primary-50: #fef9f6;
  --color-orange-primary-100: #fae1d1;
  --color-orange-primary-200: #f6cbaf;
  --color-orange-primary-300: #f3b38c;
  --color-orange-primary-400: #ef9c68;
  --color-orange-primary-500: #eb8545;
  --color-orange-primary-600: #bc6a37;
  --color-orange-primary-700: #8d5029;
  --color-orange-primary-800: #5e351c;
  --color-orange-primary-900: #2f1b0e;

  --color-bleu-secondary-900: #081e1d;
  --color-bleu-secondary-800: #103c39;
  --color-bleu-secondary-700: #195a56;
  --color-bleu-secondary-600: #217872;
  --color-bleu-secondary-500: #29968f;
  --color-bleu-secondary-200: #a3d2cf;
  --color-bleu-secondary-400: #52aaa4;
  --color-bleu-secondary-300: #7abeba;
  --color-bleu-secondary-100: #cae5e3;
  --color-bleu-secondary-50: #f4faf9;

  --color-neutral-neutre-50: #fcfbfb;
  --color-neutral-neutre-100: #efecea;
  --color-neutral-neutre-200: #e3dedb;
  --color-neutral-neutre-300: #d7cfcb;
  --color-neutral-neutre-400: #cbc1bb;
  --color-neutral-neutre-500: #bfb2ab;
  --color-neutral-neutre-600: #998e89;
  --color-neutral-neutre-700: #736b67;
  --color-neutral-neutre-800: #43403e;
  --color-neutral-neutre-900: #0c0c0b;

  --color-main-color: var(--color-orange-primary-500);
  --color-secondary-color: var(--color-bleu-secondary-500);
  --color-black: var(--color-neutral-neutre-900);
  --color-white: #ffffff;

  --font-type-heading: "Sofia Sans Condensed", sans-serif;
  --font-type-body: "Fustat", sans-serif;

  --font-size-9xl: 128px;
  --font-size-7xl: 72px;
  --font-size-4xl: 36px;
  --font-size-2xl: 24px;
  --font-size-xs: 12px;
  --font-size-5xl: 48px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-sm: 14px;
  --font-size-8xl: 96px;
  --font-size-xl: 20px;
  --font-size-6xl: 60px;
  --font-size-3xl: 30px;

  --font-weight-thin: 100;
  --font-weight-extralight: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  --font-size-9xl-2: 128px;
  --font-size-8xl-2: 96px;
  --font-size-7xl-2: 72px;
  --font-size-6xl-2: 60px;
  --font-size-5xl-2: 48px;
  --font-size-4xl-2: 36px;
  --font-size-3xl-2: 30px;
  --font-size-2xl-2: 24px;
  --font-size-base-2: 16px;
  --font-size-xl-2: 20px;
  --font-size-lg-2: 18px;
  --font-size-sm-2: 14px;
  --font-size-xs-2: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

p {
  margin: 0 0 18px;
  line-height: 1.4;
}

ul li,
ol li {
  line-height: 1.4;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bleu-secondary-500); /* Change to your brand color */
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader img {
  width: auto;
  height: 200px;
}

/* The loading spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--color-main-color); /* Spinner color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Class to fade out the loader */
.hide-preloader {
  opacity: 0;
  visibility: hidden;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  /* overflow-x: hidden; */
  color: var(--color-bleu-secondary-900);
}

button {
  color: var(--color-bleu-secondary-900);
  line-height: 1;
}

body * {
  font-family: var(--font-type-body);
}

body {
  min-height: 100vh;
  background: url(../img/bg-2000px.jpg);
}

strong {
  font-weight: 700;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: var(--font-type-heading) !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

h1, .h1 {
  font-size: var(--font-size-6xl) !important;
  margin-bottom: 24px !important;
  line-height: 1 !important;
}

h2, .h2 {
  font-size: var(--font-size-5xl) !important;
  margin-bottom: 24px !important;
  line-height: 1 !important;
}

h3, .h3 {
  font-size: var(--font-size-4xl) !important;
  margin-bottom: 24px !important;
  line-height: 1 !important;
}

h4, .h4 {
  font-size: var(--font-size-3xl) !important;
  margin-bottom: 20px !important;
  line-height: 1 !important;
}

h5, .h5 {
  font-size: var(--font-size-2xl) !important;
  margin-bottom: 16px !important;
  line-height: 1 !important;
}

h6, .h6 {
  font-size: var(--font-size-xl) !important;
  margin-bottom: 16px !important;
  line-height: 1 !important;
}

.quiz-viewport {
  width: min(100%, 1000px);
  margin: 0 auto;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  /* min-height: 100vh; */
  transform: translateX(0);
  will-change: transform;
}

.slide {
  position: relative;
  width: 100%;
  /* min-height: 100vh; */
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px;
  /* overflow-y: auto; */
}

.slide > * {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.quiz-header h1 {
  margin: 0 0 16px;
  line-height: 0.95;
}

.quiz-header p,
.question-card p,
.result-card p {
  margin: 0 0 18px;
  color: var(--color-bleu-secondary-900);
  font-size: var(--font-size-base);
  line-height: 1.3;
  font-weight: var(--font-weight-medium);
}

/* .question-card h2,
.result-card h2 {
  margin: 0 0 14px;
} */

.question-card iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
}

.answers {
  display: grid;
  gap: 14px;
  opacity: 0;
}

.collapse-box {
  margin: 18px 0 0;
  padding: 0;
  border-radius: 24px;
  background: var(--color-bleu-secondary-200);
  overflow: hidden;
  opacity: 0;
  transition: all 0.25s ease;
}

.collapse-box__trigger {
  appearance: none;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-type-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-bleu-secondary-900);
}

.collapse-box__icon {
  flex: 0 0 auto;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--color-bleu-secondary-900);
  transition: transform 0.25s ease;
}

.collapse-box.is-open .collapse-box__trigger {
  background: var(--color-bleu-secondary-200);
}

.collapse-box.is-open .collapse-box__icon {
  transform: rotate(90deg);
}

.collapse-box__content {
  padding: 0 16px;
  background: #fff;
  border: 1px solid #ccc;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  border-top: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), padding 0.2s ease;
}

.collapse-box.is-open .collapse-box__content {
  padding: 16px;
}

.collapse-box__content p:last-child {
  margin-bottom: 0;
}

.answer-option .collapse-box,
.answer-option .collapse-box.is-open .collapse-box__trigger {
  background: #fff;
}

.answer-option .collapse-box__content {
  border: none;
  border-top: 1px solid var(--color-bleu-secondary-100)
}

.answer-option,
.primary-btn {
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.answer-option {
  width: 100%;
  padding: 20px 72px 20px 24px;
  background-color: var(--color-white);
  color: var(--color-bleu-secondary-900);
  font-family: var(--font-type-body);
  font-size: var(--font-size-lg);
  font-style: normal;
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  border-radius: 24px;
  text-align: left;
  position: relative;
  box-shadow: 0 3.194px 12.775px 0 rgba(0, 0, 0, 0.10);
}

.answer-option p {
  color: var(--color-bleu-secondary-900);
  font-family: var(--font-type-body);
  font-size: var(--font-size-base);
}

.answer-option .answer-option-item p,
.answer-option.simple-answer p {
  margin-bottom: 0;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

.answer-option p strong {
  font-weight: 900;
}

div.answer-option {
  padding: 4px 24px;
}

div.answer-option div.collapsed {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition:
    max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    visibility 0s linear 0.35s;
}

div.answer-option[aria-expanded="true"] div.collapsed {
  visibility: visible;
  transition-delay: 0s;
  padding: 12px 50px 0 0;
}

div.answer-option[aria-expanded="true"] div.collapsed strong {
  font-weight: var(--font-weight-bold);
}

div.answer-option div.collapsed > :last-child {
  margin-bottom: 16px;
}

div.answer-option .answer-option-item {
  padding: 16px 48px 16px 0;
  position: relative;
}

button.answer-option::before,
div.answer-option .answer-option-item::before {
  content: "";
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 50%;
  border: 2px solid var(--color-neutral-neutre-800);
  position: absolute;
  top: calc(50% - 16px);
  right: 24px;
  background: var(--color-white);
} 

div.answer-option .answer-option-item::before {
  right: 0;
}

button.answer-option.selected::before,
div.answer-option.selected .answer-option-item::before {
  border: 2px solid var(--color-orange-primary-500);
  background: var(--color-orange-primary-500);
}

button.answer-option.selected::after,
div.answer-option.selected .answer-option-item::after {
  content: "\f00c";
  font-family: "Font Awesome 7 Pro";
  width: 16px;
  height: 16px;
  color: var(--color-neutral-neutre-900);
  display: block;
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 8px);
  right: 32px;
} 

div.answer-option.selected .answer-option-item::after {
  right: 8px;
} 

.answer-option:hover,
.answer-option:focus-visible,
.answer-option.selected {
  background: var(--color-bleu-secondary-200);
  border-color: var(--color-bleu-secondary-200);
}

.answer-option:focus-visible,
.primary-btn:focus-visible {
  outline: 3px solid rgba(235, 133, 69, 0.45);
  outline-offset: 3px;
}

.primary-btn {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 18px 32px 16px 32px;
  border-radius: 16px 4px;
  background: var(--color-orange-primary-500);
  border: 1px solid var(--color-orange-primary-500);
  font-size: var(--font-size-xl);
  font-style: normal;
  font-weight: var(--font-weight-bold);
  transition: all 0.3s;
}

.primary-btn:hover {
  color: var(--color-bleu-secondary-900) !important;
}

.bulle-question.bulle-blanche .primary-btn,
.bulle-question.bulle-blanche .btn-outline {
  padding: 12px 16px 8px 16px;
  font-size: var(--font-size-base);
  transition: all 0.3s;
}

a.primary-btn {
  color: var(--color-bleu-secondary-900);
  text-decoration: none;
}

.primary-btn:hover,
.bulle-question.bulle-blanche .primary-btn:hover {
  background: var(--color-bleu-secondary-200);
  border-color: var(--color-bleu-secondary-200);
}

.question-actions .primary-btn {
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.question-actions,
.result-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: space-between;
  opacity: 0;
}

#intro .question-actions {
  justify-content: center;
}

.question-actions .primary-btn.validate-btn {
  order: 2;
}

.question-actions button {
  border-radius: 24px 4px;
  font-size: var(--font-size-xl);
  font-style: normal;
  font-weight: var(--font-weight-bold);
}

.validate-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: linear-gradient(0deg, #C7C7C7 0%, #C7C7C7 100%), #FFF;
  border-color: #C7C7C7;
}

.btn-outline {
  background: #fff;
  border: 1px solid var(--color-bleu-secondary-900);
  color: var(--color-bleu-secondary-900);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 100px;
  text-decoration: none;
  padding: 8px 16px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.btn-outline:hover {
  background: var(--color-orange-primary-500);
  border-color: var(--color-orange-primary-500);
  color: var(--color-bleu-secondary-900) !important;
}

.back-btn {
  background: #fff;
  padding: 16px 32px;
  border: none;
  border-radius: 0;
  color: var(--color-bleu-secondary-900);
  font-size: var(--font-size-sm);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.back-btn i {
  color: var(--color-orange-primary-900);
}

.back-btn:hover,
.back-btn:focus-visible {
  background: var(--color-bleu-secondary-200) !important;
}

.transition-layer {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background: transparent;
  transition: opacity 450ms ease, visibility 0s linear 450ms;
}

.transition-layer.is-running {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.transition-layer svg {
  display: block;
  width: 100%;
  height: 100%;
}

.transition-path {
  fill: var(--panel);
}

.transition-art {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(450px, 100vw);
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.transition-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.transition-logo {
  position: relative;
  width:200px !important;
  height: auto;
  transform-origin: center;
  opacity: 0;
}

.transition-layer.is-running .transition-logo {
  animation: logo-sequence 1500ms cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

.path-up,
.path-down {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.transition-layer.is-running .path-up {
  animation: draw-line 1500ms cubic-bezier(0.42, 0, 0.58, 1) forwards;
}

.transition-layer.is-running .path-down {
  animation: draw-line 1500ms cubic-bezier(0.42, 0, 0.58, 1) 350ms forwards;
}

.main-logo {
  height: 68px;
}

.bulle-phrase-punch {
  padding: 32px;
  border-radius: 64px 12px 64px 64px;
  background: var(--color-bleu-secondary-200);
  text-align: center;
  opacity: 0;
}

.bulle-phrase-punch h2 {
  margin-bottom: 0 !important;
}

.bulle-phrase-punch:has(+.bulle-question) {
  margin-bottom: 64px;
}

.bulle-phrase-punch img {
  position: absolute;
}

.bulle-phrase-punch img.punch-1 {
  top: -22px;
  left: 5%;
}

.bulle-phrase-punch img.punch-2 {
  top: -14px;
  right: 37%;
}

.bulle-phrase-punch img.punch-3 {
  top: calc(50% - 14px);
  right: -14px;
}

.bulle-phrase-punch img.punch-4 {
  bottom: -22px;
  right: 5%;
}

.bulle-phrase-punch img.punch-5 {
  bottom: -14px;
  left: 15%;
}

.custom-modal__wrap img.punch-2,
.custom-modal__wrap img.punch-3,
.custom-modal__wrap img.punch-6,
.custom-modal__wrap img.punch-7 {
  position: absolute;
  z-index: 9;
}

.custom-modal__wrap img.punch-2 {
  bottom: 45%;
  right: -60px;
  transform: rotate(45deg);
}

.custom-modal__wrap img.punch-3 {
  top: -48px;
  right: calc(40% - 60px);
  width: 60px;
}

.custom-modal__wrap img.punch-6 {
  right: calc(45% - 38px);
  width: 40px;
  top: -12px;
}

.custom-modal__wrap img.punch-7 {
  left: -15px;
  bottom: -20px;
  width: 50px;
  transform: rotate(90deg);
}

.bulle-question {
  padding: 48px 32px;
  border-radius: 24px 64px 64px 64px;
  background: var(--color-white);
  opacity: 0;
  box-shadow: 0 3.194px 12.775px 0 rgba(0, 0, 0, 0.10);
  position: relative;
}

.bulle-question strong {
  font-weight: var(--font-weight-extrabold);
}

.bulle-question a {
  color: var(--color-bleu-secondary-900);
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}

/* .bulle-question a:hover,
.bulle-question a:focus,
.bulle-question a:active {
  color: var(--color-bleu-secondary-700);
} */

.bulle-question:has(+.answers),
.bulle-question:has(+.bulle-question) {
  margin-bottom: 16px;
}

.bulle-question > *:last-child {
  margin-bottom: 0;
}

.bulle-question .icon {
  width: 60px;
  height: 60px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 30px);
  top: -30px;
  box-shadow: 0 3.194px 12.775px 0 rgba(0, 0, 0, 0.10);
}

.bulle-question .icon i {
  color: var(--color-orange-primary-500);
  font-size: 30px;
}

.bulle-question.bulle-dark {
  background: var(--color-bleu-secondary-800);
}

.bulle-question.bulle-dark * {
  color: var(--color-white);
}

.bulle-questionnement {
  padding: 64px 32px 32px 32px;
  border-radius: 64px 64px 64px 24px;
  background: var(--color-orange-primary-500);
  opacity: 0;
  box-shadow: 0 3.194px 12.775px 0 rgba(0, 0, 0, 0.10);
}

.bulle-question + .bulle-questionnement,
.answers + .bulle-questionnement {
  margin-top: 64px;
}

.bulle-questionnement:has(+.bulle-question) {
  margin-bottom: 16px;
}

.bulle-questionnement .icon {
  width: 60px;
  height: 60px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  border-radius: 50%;
  left: calc(50% - 30px);
  top: -30px;
  box-shadow: 0 3.194px 12.775px 0 rgba(0, 0, 0, 0.10);
}

.bulle-questionnement .icon i {
  color: var(--color-orange-primary-500);
  font-size: 30px;
}

.bulle-question.bulle-blanche:has(+.bulle-question.bulle-dark),
.bulle-question.bulle-dark:has(+.bulle-question.bulle-blanche)  {
  margin-bottom: 64px;
}

.bulle-question.bulle-dark > .punch-8 {
  position: absolute;
  top: -16px;
  right: -40px;
}

.bulle-question .primary-btn,
.custom-modal__content .primary-btn {
  border-radius: 100px;
}

/* .bulle-question.bulle-dark > h2 {
  padding-right: 70px;
} */

div.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 48px 0;
}

div.menu a,
div.sticky-menu a,
div.menu button,
div.sticky-menu button  {
  text-decoration: none;
  color: var(--color-bleu-secondary-900);
  padding: 9px 16px 8px 16px;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
}

div.menu a i,
div.sticky-menu a i {
  font-size: var(--font-size-base);
}

div.menu a.btn-style-2,
div.sticky-menu a.btn-style-2 {
  position: relative;
  padding: 8px 16px 8px 0;
  transition: all 0.3s
}

div.menu a.btn-style-2::before,
div.sticky-menu a.btn-style-2::before {
  content: "";
  position: absolute;
  background: var(--color-main-color);
  border-radius: 8px 30px 30px 30px;
  left: 0;
  width: 36px;
  height: calc(100% - 16px);
  z-index: -1;
  transition: all 0.3s
}

div.menu a.btn-style-2 span,
div.sticky-menu a.btn-style-2 span {
  display: inline-flex;
  padding: 8px;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  transition: all 0.3s
}

div.menu a.btn-style-2 span i,
div.sticky-menu a.btn-style-2 span i {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

div.menu a.btn-style-2:hover::before,
div.sticky-menu a.btn-style-2:hover::before {
  width: 100%;
}

div.menu a.btn-style-2:hover span,
div.sticky-menu a.btn-style-2:hover span {
  margin-right: 0px;
}

.section-logo {
  display: flex;
  justify-content: center;
}

.section-logo img {
  height: 100px;
}

.line-wrapper {
  display: flex;
  flex-direction: column;
  /* gap: 64px; */
}

.line {
  position: absolute;
  z-index: -1;
  top: -104px;
  bottom: 50px;
  left: 50%;
  width: 2px;
  background: var(--color-white);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
}

.sticky-menu {
  position: relative;
  top: 0;
  /* background: var(--color-bleu-secondary-300); */
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  /* box-shadow: 0 3.194px 12.775px 0 rgba(0, 0, 0, 0.10); */
}

.sticky-menu .line-sticky {
  max-width: 100%;
  z-index: -1;
}

.sticky-menu .section-logo {
  margin-bottom: -32px;
  padding-top: 16px;
  position: absolute;
}

div.sticky-menu .left {
  position: absolute;
  left: 48px;
}

div.sticky-menu .right {
  position: absolute;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu {
  display: none;
}

.btn-link,
.link-btn {
  color: var(--color-bleu-secondary-900);
  font-size: var(--font-size-base);
  font-style: normal;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-link:hover {
  gap: 12px;
}

.link-btn {
  background-color: var(--color-bleu-secondary-50);
  border-radius: 30px;
  padding: 16px 24px;
  width: fit-content;
}

.link-btn:hover {
  background-color: var(--color-bleu-secondary-200);
}

.answer-option .link-btn:hover {
  background-color: var(--color-orange-primary-500);
}

ul {
  list-style: disc;
  margin-left: 18px;
}

ul li {
  margin-bottom: 12px;
}

.visibility-hidden {
  visibility: hidden;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.btn-list {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.line-sticky.medium,
.line-sticky.short {
  display: none;
}

.mention a {
  color: var(--color-bleu-secondary-900);
  transition: all 0.3s;
}

.mention a:hover,
.mention a:focus {
  color: #fff;
}

.bulle-question.bulle-blanche .btn-list {
  margin-top: 16px;
}

/* .answer-option span.emphase {
  background: var(--color-bleu-secondary-400);
  line-height: 1.5;
  font-weight: 700;
} */


/************************MODAL**************************/

.custom-modal-demo,
.custom-modal {
  font-family: "Fustat", Arial, sans-serif;
}

.custom-modal-demo__trigger,
.custom-modal__button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 32, 34, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.custom-modal[hidden] {
  display: none;
}

.custom-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.custom-modal__wrap {
  position: relative;
}

.custom-modal__dialog {
  position: relative;
  max-width: 1000px;
  max-height: 96vh;
  overflow-y: auto;
  padding: 60px 40px 40px 40px;
  border-radius: 28px;
  background: #fff;
  color: var(--color-bleu-secondary-900);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 220ms ease, transform 220ms ease;
}

.custom-modal__dialog p,
.custom-modal__dialog li,
.custom-modal__dialog a,
.collapse-box__content p,
.collapse-box__content li,
.collapse-box__content a,
.collapse-box__trigger {
  font-size: var(--font-size-lg);
  color: var(--color-bleu-secondary-900);
}

.custom-modal.is-open .custom-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.custom-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-orange-primary-500);
  color: var(--color-bleu-secondary-900);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s;
}

.custom-modal__close:hover {
  background: var(--color-bleu-secondary-200);
}

.custom-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.custom-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.custom-modal__footer .btn-outline {
  gap: 4px;
  padding: 16px 32px;
  font-size: var(--font-size-lg);
  color: var(--color-bleu-secondary-900);
  font-style: normal;
  font-weight: var(--font-weight-bold);
}

@media (prefers-reduced-motion: reduce) {
  .custom-modal,
  .custom-modal__dialog,
  .custom-modal-demo__trigger,
  .custom-modal__button {
    transition: none;
  }
}

.ldBar {
  background: var(--color-bleu-secondary-500);
  border-radius: 50%;
}

.ldBar path.mainline {
  stroke: var(--color-orange-primary-500);
  stroke-width: 6;
}

.ldBar path.baseline {
  stroke: var(--color-bleu-secondary-300);
  stroke-linecap: round;
  stroke-width: 6;
}

.ldBar.label-center>.ldBar-label {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  font-weight: 900;
  text-shadow: none;
  font-size: var(--font-size-lg);
}

.progress-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 84px;
  opacity: 0;
}

.progress-circle {
  --size: 64px;
  --thickness: 4px;
  --color: var(--color-orange-primary-500);
  --background: var(--color-bleu-secondary-300);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(
    var(--color) calc(var(--value) * 1%),
    var(--background) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.progress-circle::before {
  content: "";
  position: absolute;
  width: calc(100% - var(--thickness) * 2);
  height: calc(100% - var(--thickness) * 2);
  background: var(--color-bleu-secondary-500);
  border-radius: 50%;
}

.progress-circle span {
  position: relative;
  font-size: 16px;
  font-weight: 900;
}

.mention {
  max-width: 1000px;
  margin: auto;
  padding: 8px 0;
  font-weight: 700;
  text-align: center;
  font-size: var(--font-size-sm-2);
}

.mention p {
  margin-bottom: 0;
}

.bulle-question.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

header#intro .bulle-question.bulle-blanche:has(+.bulle-question.bulle-dark), 
header#intro .bulle-question.bulle-dark:has(+.bulle-question.bulle-blanche) {
    margin-bottom: 16px;
}

em {
  font-style: italic;
}

/*********************BOTTOM STICKY MENU************************/


.fixed-menu {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  background: var(--color-orange-primary-50);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
  transition: transform 0.35s ease;
}

.fixed-menu__content {
  min-height: 90px;
  padding: 24px 50px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fixed-menu__content .primary-btn,
.fixed-menu__content .btn-outline {
  padding: 12px 16px;
  font-weight: 700;
  width: stretch;
  text-align: center;
  font-size: var(--font-size-sm);
}

.fixed-menu__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
}

.fixed-menu.is-closed .fixed-menu__close {
  top: 0;
}

.fixed-menu__close {
  position: absolute;
  border: none;
  line-height: 1;
  cursor: pointer;
  top: -20px;
  width: 50px;
  height: 50px;
  background: transparent;
  left: calc(50% - 25px);
  border-radius: 50%;
}

.fixed-menu__close .fixed-menu__btn-wrap {
  width: 40px;
  height: 40px;
  font-size: 16px;
  background: var(--color-orange-primary-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixed-menu__handle {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -100%);
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  font-size: 16px;
  line-height: 2.8;
  background: transparent;
}

.fixed-menu__handle .fixed-menu__btn-wrap {
  background: var(--color-orange-primary-500);
  box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.fixed-menu.is-closed {
  transform: translate(-50%, 100%);
}

.fixed-menu.is-closed .fixed-menu__handle {
  opacity: 1;
  pointer-events: auto;
}

.emphase,
.emphase strong {
  display: inline;
  color: var(--color-bleu-secondary-600) !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
}

p:has(>img.img-badge) {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e2e2;
}

/*********************ANIMATIONS************************/

section.slide.active .line,
header.slide.quiz-header .line {
  animation: drawLine 2s ease-in-out  0.5s forwards;
}

section.slide.active .section-logo img,
.sticky-menu .section-logo img {
  animation: growFromCenter 0.5s ease-in-out forwards;
}

section.slide.active .answers,
section.slide.active .bulle-questionnement {
  animation: fadeInUp 0.5s ease-in-out forwards 1s;
}

section.slide.active .question-actions,
section.slide.active .result-actions,
header.slide.quiz-header .question-actions,
header.slide.quiz-header .result-actions {
  animation: fadeInUp 0.5s ease-in-out forwards 2s;
}

section.slide.active .bulle-question,
header.slide.quiz-header .bulle-question {
  animation: fadeInUp 0.5s ease-in-out forwards 0.75s;
}

section.slide.active div.menu,
header.slide.quiz-header div.menu {
  animation: fadeInUp 0.5s ease-in-out forwards 0.5s;
}

section.slide.active .show-1 {
  animation: fadeInUp 0.5s ease-in-out forwards 0.75s;
}

section.slide.active .show-2 {
  animation: fadeInUp 0.5s ease-in-out forwards 1s;
}

section.slide.active .show-3 {
  animation: fadeInUp 0.5s ease-in-out forwards 1.25s;
}

section.slide.active .show-4 {
  animation: fadeInUp 0.5s ease-in-out forwards 1.5s;
}

/*******************************************************/

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px); /* Starts 20px lower */
  }
  to {
    opacity: 1;
    transform: translateY(0); /* Moves up to its original position */
  }
}

@keyframes growFromCenter {
  0% {
    transform: scale(0); /* Invisible and shrunk to a single point */
  }
  100% {
    transform: scale(1); /* Full original size */
  }
}

@keyframes drawLine {
  to {
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes logo-sequence {
  0% { transform: scale(0); opacity: 0; }
  18% { transform: scale(1.18); opacity: 1; }
  30% { transform: scale(0.94); opacity: 1; }
  40%, 72% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.18); opacity: 0; }
}

@keyframes draw-line {
  0% { stroke-dashoffset: 1; }
  55% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1; }
}

@media (prefers-reduced-motion: reduce) {
  .slides {
    transition: none;
  }

  .transition-logo {
    opacity: 0;
  }

  .path-up,
  .path-down {
    stroke-dashoffset: 1;
  }
}

@media (max-width: 1200px) {
  div.sticky-menu .right {
    flex-direction: column;
    align-items: end;
    top: 48px;
  }
  
  div.sticky-menu .left {
    top: 48px;
}
}

@media (max-width: 1024px) {
  .line-sticky.long {
    display: none;
  }
  .line-sticky.medium {
    display: block;
  }
  div.sticky-menu a.primary-btn.right,
  div.sticky-menu a.primary-btn.left {
    top: 104px;
  }
}

@media (max-width: 991px) {
  .slide {
    padding: 84px 48px;
  }
}

@media (max-width: 768px) {
  #preloader img {
    height: 100px;
  }

  .slide {
    padding: 0;
  }
  
  .line-sticky.short {
    display: block;
  }

  .line-wrapper,
  .question-actions {
    padding: 0 32px 32px 32px;
  }

  .line-wrapper:has(+.question-actions) {
    padding-bottom: 0;
  }

  .sticky-menu {
    display: none;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
  }
  .line {
    top: 16px;
  }

  .fixed-menu {
    width: 100%;
    display: flex;
  }

  .fixed-menu__content {
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 16px;
    width: 100%;
    flex-wrap: wrap;
  }

  .fixed-menu__content > div {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: stretch;
  }

  .fixed-menu__button {
    width: 100%;
  }

  .section-logo {
    padding-bottom: 64px;
  }

  .quiz-viewport:has(+.fixed-menu) {
    padding-bottom: 150px;
  }

  .quiz-viewport:has(+.fixed-menu.is-closed) {
    padding-bottom: 40px;
  }
  
  body:has(>div.fixed-menu.is-closed) {
    padding-bottom: 40px;
  }

  body:has(>div.fixed-menu){
    padding-bottom: 150px;
  }

  div.answer-option[aria-expanded="true"] div.collapsed {
    padding: 12px 0 0 0;
  }
}

@media (max-width: 576px) {
  .slide {
    padding: 0;
  }

  .line-wrapper,
  .question-actions {
    padding: 0 16px 24px 16px;
  }

  div.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .question-actions button {
    font-size: var(--font-size-lg);
  }

  .question-actions button.primary-btn,
  .question-actions button.back-btn {
    padding: 8px 24px;
  }

  p:has(>img.img-badge) {
    flex-direction: column;
  }
}



.progress-ring {
  transform: rotate(-90deg); /* Start progress at the top (12 o'clock) */
}

.progress-ring__background {
  fill: transparent;
  stroke: #d0e4e2; /* Light background track color */
  stroke-width: 4;
}

.progress-ring__circle {
  fill: transparent;
  stroke: #f26835; /* Active progress line color */
  stroke-width: 4;
  stroke-linecap: round;
  
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36; /* Fully hidden at 0% */
  
  /* Smooth transition when javascript changes stroke-dashoffset */
  transition: stroke-dashoffset 0.5s ease-in-out; 
}
