.wng-glossaire {
  --wng-blue:#3A2AF5;
  --wng-violet:#4029ff;
  --wng-ink:#171724;
  --wng-muted:#5e6070;
  --wng-soft:#f1f1fb;
  font-family:inherit;
  color:var(--wng-ink);
  position: relative;
    z-index: 200;
}

/*.fondglossaire {
    background: #fff;
    background-image: radial-gradient(#D5D5FF 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    box-sizing: border-box;
}*/

.fondglossaire {
    background-color: #fff;
    box-sizing: border-box;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

.fondglossaire::after {
    content: "";
    width: 260%;
    min-height: 800px;
    display: block;
    position: absolute;
    top: 0;
    background-image: linear-gradient(105deg, #FFF 0.26% 0.26%, rgba(255, 255, 255, 0) 100%), radial-gradient(#D5D5FF 1.5px, transparent 1.5px);
    background-size: cover, 18px 18px;
    left: -100%;
    z-index: 1;
    height: 100%;
}


.wng-glossaire * {
  box-sizing:border-box;
}

.wng-inner {
  max-width:100%;
  margin:0 auto;
}

.wng-glossaire h2 {
    margin: 0 0 26px;
    letter-spacing: 0;
    color: #00C;
    font-family: 'NexaHeavy';
    font-size: var(--Fontsize-H3, 2rem);
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
}

.wng-tabs {
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
  margin-bottom:30px;
}

.wng-tab {
    border: 0;
    border-bottom: 2px solid #D5D5FF;
    border-radius: 2.5rem;
    background: transparent;
    cursor: pointer;
    transition: background .18s, color .18s, border-color .18s;
    color: var(--Colors-Accents-Black, #171F26);
    text-align: center;
    font-family: NexaTextBook;
    font-size: var(--Fontsize-p, 1rem);
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    padding: 0.375rem 0;
}

.wng-tab.is-active {
  background:#00C;
  border-color:#00C;
  color:#fff;
}

.wng-rubric {
  display:none;
  justify-content: space-between;
  gap:30px;
  align-items:start;
  width:100%;
}

.wng-rubric.is-active {
  display:flex;
}

.wng-list {
  position:relative;
  display:grid;
  gap:18px;
  width:40%;
}

.wng-list:before {
  content:"";
  position:absolute;
  left:9px;
  top:14px;
  bottom:15px;
  border-left:2px dashed #3140ff;
}

.wng-item {
  position:relative;
  display:grid;
  grid-template-columns:28px 1fr;
  align-items:center;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  text-align:left;
  font:inherit;
  color:inherit;
}

.wng-dot {
  position:relative;
  z-index:1;
  width:20px;
  height:20px;
  border:1.5px solid #3140ff;
  border-radius:999px;
  background:#fff;
}

.wng-item.is-done .wng-dot {
  border-color:#99CC33;
  background:#FFF;
}

.wng-item .wng-dot i{
  color:#fff;
  font-size:10px;
  font-weight:800;
}
.wng-item.is-active .wng-dot i ,
.wng-item.is-done .wng-dot i {
  color:#99CC33!important;
  font-size:13px;
  font-weight:800;
}

span.wng-item-card strong {
    font-family: NexaExtraBold !important;
}

.wng-item-card {
    min-height: 42px;
    display: flex;
    align-items: center;
    width: 100%;
    box-shadow: 0 1px 2px rgba(24, 24, 70, .03);
    color: var(--Colors-Accents-Black, #171F26);
    font-family: NexaTextBook;
    font-size: var(--Fontsize-p, 1rem);
    font-style: normal;
    font-weight: 800;
    line-height: 150%;
    border-radius: 0.375rem;
    border: 1px solid var(--colors-primary-transparence-primary-10, #EBEAFE);
    background: #FBFBFB;
    padding: 0 1.1875rem;
    flex-wrap:wrap;
}

select.mobile_rubrique_select_input {
    display: none;
}

.wng-cselect {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
}

.wng-cselect__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    border: 1.5px solid var(--Colors-Primary-Primary, #3A2AF5);
    background: #fff;
    cursor: pointer;
    color: var(--Colors-Accents-DarkBlue, #1C137A);
    font-family: NexaTextBook;
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 150%;
    user-select: none;
    transition: border-color 0.2s;
}

.wng-cselect__arrow {
    color: var(--Colors-Primary-Primary, #3A2AF5);
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.wng-cselect.is-open .wng-cselect__arrow {
    transform: rotate(180deg);
}

.wng-cselect__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 200;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    border-radius: 0.375rem;
    background: rgba(61, 61, 61, 0.90);
    backdrop-filter: blur(3.3499999046325684px);
}

.wng-cselect.is-open .wng-cselect__dropdown {
    display: block;
    padding:5px;
}

.wng-cselect__option {
    padding: 0.875rem 1.25rem;
    color: #fff;
    font-family: NexaTextBook;
    font-size:1rem;
    font-weight: 300;
    line-height: 150%;
    cursor: pointer;
    transition: background 0.15s;
}

.wng-cselect__option:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.1);
}

.wng-cselect__option.is-active {
    font-weight: 500;
    border-radius: 0.375rem;
    background: #3A2AF5;
}

button.wng-item.is-done:not(:last-child)::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 57px;
    background: #00C;
    top: 15px;
    left: 9px;
}

span.wng-item-card strong {
    font-size: 16px;
    font-family: NexaExtraBold!important;
}

.wng-item-card small {
    font-family: NexaTextBook !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 350 !important;
    line-height: 150%;
}

.wng-item.is-active .wng-item-card, .wng-quiz-trigger.is-active .wng-item-card {
  background:linear-gradient(90deg, var(--wng-violet), #3A2AF5);
  border-color:transparent;
  color:#fff;
}

.wng-item.is-active small {
  color:#fff;
}

.wng-content {
    min-height:20.375rem;
    padding:1.5rem;
    border-radius: 0.75rem;
    background: #F6F6FD;
    width:60%;
}

.wng-entry {
  display:none;
}

.wng-entry.is-active {
  display:block;
}

.wng-entry h3 {
    margin: 0;
    color: #00C!important;
    font-family: NexaHeavy!important;
    font-size: clamp(1rem,3vw, 1.125rem)!important;
    font-style: normal!important;
    font-weight: 900!important;
    line-height: 120%!important;
    padding-bottom: 0px!important;
}

.wng-entry-description ul li {
    padding-bottom: 6px !important;
}

.wng-content p {
    padding-bottom: 0px !important;
}

article.wng-entry h3 small {
    color: #00C!important;
    font-family: NexaTextBook!important;
    font-size: var(--Fontsize-p, 1rem)!important;
    font-style: normal!important;
    font-weight: 300!important;
    line-height: 150%!important;
}

.wng-entry-description {
    color: #000;
    font-family: NexaTextBook!important;
    font-size: var(--Fontsize-p, 1rem)!important;
    font-style: italic!important;
    font-weight: 300!important;
    line-height: 150%!important;
}

.wng-entry-description p {
  margin:2px 0 0px;
}

.wng-entry-description a {
  color:var(--wng-blue);
  text-decoration:underline;
}

.wng-callout {
  display:grid;
  grid-template-columns:20px 1fr;
  gap:10px;
  margin-top:12px;
  padding:12px 14px;
  border-left:3px solid var(--wng-blue);
  border-radius:10px;
  background:#fff;
}

.wng-callout-text {
  font-size:13.5px;
  line-height:1.45;
}

.wng-callout-text p {
    margin: 0 0 6px;
    color: #000;
    font-family: NexaTextBook;
    font-size: var(--Fontsize-p, 1rem);
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

.wng-callout-text p:last-child {
  margin-bottom:0;
}

.wng-callout strong {
    color: var(--wng-blue);
    font-family: NexaTextBook !important;
    font-size: var(--Fontsize-p, 1rem);
    font-style: normal;
    font-weight: 700 !important;
    line-height: 150%;
}

.wng-callout-icon {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    min-height: 18px;
    color: #000;
    font-size: 18px;
    line-height: 1;
}

.wng-quiz[hidden] {
  display:none;
}

.wng-quiz-results[hidden] {
  display:none;
}

.wng-results-bar-wrap {
  height:15px;
  background:#e8e8f0;
  border-radius:999px;
  margin-bottom:14px;
  overflow:hidden;
}

.wng-results-bar-fill {
  height:100%;
  background:var(--wng-blue);
  border-radius:999px;
  width:0%;
  transition:width .6s ease;
}

.wng-results-title {
    margin: 0 0 12px;
    color: #000;
    text-align: center;
    font-family: 'NexaHeavy';
    font-size: var(--Fontsize-H6, 1.125rem);
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
}

.wng-results-body {
  display:flex;
  gap:14px;
  align-items:flex-start;
  flex-direction: column;
}

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

.wng-results-list {
  list-style:none;
  margin:0;
  padding:0;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:7px;
}

.wng-results-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0.375rem 0.6rem;
    border: 1px solid #eee;
    color: #000;
    font-family: NexaTextBook;
    font-size: var(--Fontsize-p, 1rem);
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    border-radius: 0.375rem;
    background: #FFF;
}

.wng-results-item--goto {
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.wng-results-item--goto:hover {
    background: #f0f0ff;
    border-color: var(--wng-blue, #3A2AF5);
    color: var(--wng-blue, #3A2AF5);
}

.wng-results-item--goto .wng-ri-arrow {
    color: var(--wng-blue, #3A2AF5);
}

.wng-results-item.is-valid {
    color: #000;
    justify-content: flex-start;
    border-radius: 0.375rem;
    background: rgba(153, 204, 51, 0.20);
}

.wng-ri-check {
  color:#99CC33;
  font-weight:800;
  font-size:13px;
  flex-shrink:0;
}

li.wng-results-item.is-valid .wng-ri-check {
    background: #FFF;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.wng-ri-arrow {
  color:#aaa;
  font-size:13px;
}

.wng-gauge-wrap {
  flex-shrink:0;
  position:relative;
  width:100px;
  height:100px;
}

.wng-gauge-svg {
  width:100%;
  height:100%;
  display:block;
}

.wng-results-pct {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  font-size:10px;
  font-weight:400;
  color:#111;
  white-space:normal;
  text-align:center;
  width:72px;
  line-height:1.3;
}

.wng-results-pct strong {
  display:block;
  font-size:17px;
  font-weight:800;
}

.wng-prev-btn[hidden] {
  display: none !important;
}

.wng-prev-btn {
    display: inline-block;
    border: 0;
    cursor: pointer;
    border-radius: 0.375rem;
    background: var(--Colors-Primary-Primary, #3A2AF5);
    color: var(--White, #FFF);
    font-family: 'NexaTextBook';
    font-size:0.875rem;
    font-style: normal;
    font-weight: 265;
    line-height: 120%;
    padding: 0.375rem 0.75rem;
}

.wng-quiz-steps {
  display:flex;
  gap:23px;
  align-items:center;
  margin:-6px 0 12px;
  width: 100%;
  justify-content: center;
}

.wng-quiz-steps button {
    width: 24px;
    height: 24px;
    border: 1px solid #898989;
    border-radius: 999px;
    background: #fff;
    color: #898989;
    cursor: pointer;
    font-family: 'Nexa';
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.wng-quiz-steps button.is-active {
  border-color:#00C;
  color:#00C;
}

.wng-answer-text {
    flex: 1;
    color: #000;
    font-family: NexaTextBook;
    font-size: clamp(0.875rem, 3vw, 1rem);
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

.wng-quiz-steps button.is-done {
  border-color:#99CC33;
  color:#99CC33;
  background:#FFF;
}

.wng-question {
  display:none;
}
span.wng-answer-def ul {
    padding-bottom: 10px!important;
    padding-top: 10px!important;
}

span.wng-answer-def ul li {
    line-height: 120%;
}

.wng-question.is-active {
  display:block;
}

.wng-question h3 {
    margin: 0 0 8px;
    color: #000;
    text-align: center;
    font-family: 'NexaHeavy';
    font-size: clamp(1rem, 3vw,1.125rem);
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
}

.wng-answers {
  display:grid;
  gap:9px;
}

.wng-answer {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  min-height:36px;
  border-radius:5px;
  background:#fff;
  padding:6px 9px;
  font-size:13.5px;
  line-height:1.25;
  cursor:pointer;
}

.wng-answer input {
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.wng-answer-icon {
  display:none;
  flex-shrink:0;
  width:20px;
  height:20px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:800;
}

.wng-answer.is-correct .wng-answer-icon,
.wng-answer.is-wrong .wng-answer-icon {
  display:flex;
  align-items: center;
  justify-content: center;
}

.wng-answer.is-correct .wng-answer-icon::before {
  content:"✓";
  color:#99CC33;
}

.wng-answer-text {
  flex:1;
}

.result_mention {
    color: #000;
    font-family: NexaTextBook;
    font-size: var(--Fontsize-p, 1rem);
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

.wng-answer.is-selected {
  outline:2px solid #382cff;
  background:#f8f7ff;
}

.wng-answer.is-wrong {
  border-radius: 0.375rem;
  background: rgba(230, 73, 5, 0.20);
}

.wng-answer.is-wrong .wng-answer-icon::before {
    color: #E64905;
    font-family: "tabler-icons" !important;
    content: "\eb55";
}

span.wng-answer-icon {
    background: #FFF;
    border-radius: 50%;
    margin-right: 8px;
}

li.wng-results-item i {
    color: #000 !important;
    font-size: 16px;
}

label.wng-answer.is-correct {
    padding: 0px!important;
    background: transparent!important;
}

.wng-libele_reponse {
    display: flex;
    align-items: center;
}

.wng-answer-def {
    width: 100%;
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 4px;
    color: #000;
    font-family: 'NexaTextBook';
    font-size: var(--Fontsize-Caption, 0.75rem);
    font-style: normal;
    font-weight: 265;
    line-height: 120%;
}

span.wng-dot {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wng-answer.is-correct .wng-libele_reponse {
    display: flex;
    border-radius: 0.375rem;
    background: rgba(153, 204, 51, 0.20);
    padding: 5px;
    width: 100%;
}

.wng-answer-def[hidden] {
  display:none;
}

.wng-question.is-locked .wng-answer {
  cursor:default;
}

.wng-question.is-locked .wng-answer:not(.is-correct):not(.is-wrong) {
  opacity:0.55;
}

@keyframes wng-answer-reveal {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wng-answer.wng-reveal {
  animation: wng-answer-reveal 0.32s ease forwards;
}

.wng-answer.wng-reveal:nth-child(1) { animation-delay: 0ms; }
.wng-answer.wng-reveal:nth-child(2) { animation-delay: 55ms; }
.wng-answer.wng-reveal:nth-child(3) { animation-delay: 110ms; }
.wng-answer.wng-reveal:nth-child(4) { animation-delay: 165ms; }
.wng-answer.wng-reveal:nth-child(5) { animation-delay: 220ms; }

.wng-quiz-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:20px;
}

.wng-next:disabled {
  opacity:0.4;
  cursor:default;
}

.wng-next {
  margin-left:auto;
  border:0;
  cursor:pointer;
  font:600 12px/1 inherit;
  cursor: pointer;
  border-radius: 0.375rem;
  background: var(--Colors-Primary-Primary, #3A2AF5);
  color: var(--White, #FFF);
  font-family: 'NexaTextBook';
  font-size:0.875rem;
  font-style: normal;
  font-weight: 265;
  line-height: 120%;
  padding: 0.375rem 0.75rem;
}

.wng-quiz-result {
  margin:0;
  font-size:13px;
  color:var(--wng-blue);
  font-weight:700;
}

.wng-note {
    margin: 72px 0 0;
    color: #000;
    font-family: NexaTextBook;
    font-size: var(--Fontsize-p, 1rem);
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
}

@media(min-width:981px) {
  .mobile_rubrique_select {
    display:none;
  }

}

@media(max-width:980px) {

  span.wng-item-card strong {
      font-size: 14px!important;
      font-family: NexaExtraBold !important;
  }

  .wng-item-card small {
    font-size: 0.75rem!important;
  }

  .wng-entry h3 {
    font-size: 1rem!important;
  }

  button.wng-item.is-done:not(:last-child)::before {
    height: 74px!important;
  }

  .wng-glossaire {
        padding: 0!important;
  }
  .wng-rubric.is-active {
      display: flex;
      flex-wrap: wrap;
  }
  
   .wng-list {
      width:100%;
      height: 200px;
      overflow: auto;
  }

   .wng-content {
      width:100%;
  }

   .wng-tabs {
      display:grid;
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:10px;
  }
  .mobile_rubrique_select {
    display:block!important;
  }

  .wng-tabs {
      display: none !important;
  }

}

@media (max-width:900px) {
  .wng-tabs {
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .wng-rubric {
    grid-template-columns:1fr;
    gap:20px;
  }

  .wng-content {
    min-height:0;
  }

  .wng-quiz-steps {
    gap:10px;
    flex-wrap:wrap;
  };
}

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

  .wng-item-card {
    display:flex;
  }

  .wng-quiz-footer {
    align-items:flex-start;
    flex-direction:column;
  }

  .wng-next {
    margin-left:0;
  }

  .wng-note {
    margin-top:38px;
  };
}
