* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;

    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
*::-webkit-scrollbar {
    display: none;
}

:root {
    --color-rose-pale: #FCEBEB;
    --color-yellow: #FFDB87;
    --color-yellow-pale: #FFE9B7;
    --color-gray-light: #A1A4AC;
    --color-blue: #5F85D0;
    --color-black: #34373F;
    --color-grey: #A1A4AC;

    --font-family: 'Bree', sans-serif;
    --font-alternate-settings: 'salt' on;
    --font-light-weight: 300;
    --font-normal-weight: 400;
    --font-semibold-weight: 600;
    --font-bold-weight: 700;
    
    --progress-height: 8px;
    --content-max-width: 1200px;
    --content-margin: 1.6rem;

    --btn-animate-duration: 0.2s;
    --page-transition-duration: 0.5s;
}

html {
    height: 100%;
    overscroll-behavior-y: none;
    
    font-size: 16px;
    font-family: var(--font-family);
}

@media (max-width: 768px) {
    .desktop {
        display: none;
    }
}
@media (min-width: 769px) {
    .mobile {
        display: none;
    }
}

/*  ================================================================  */
/*  LAYOUT
/*  ================================================================  */
body {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;

    overscroll-behavior: none;

    background: var(--color-rose-pale);
}
#content {
    flex: 1;
    z-index: 1;
}
@media (max-width: 768px) {
    #content {
        min-height: 100vh;
    }
}

.center-content {
    margin: 0 auto;
    width: calc(100% - 2 * var(--content-margin));
    max-width: var(--content-max-width);
}

/*  ================================================================  */
/*  BOUTONS
/*  ================================================================  */
.btn {
    position: relative;
    padding: .5rem 1.5rem;
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    border-radius: 2rem;
    border: 0.125rem solid var(--color-blue);
    color: var(--color-blue);
    background: none;
    cursor: pointer;
    transition: all .1s ease-in-out;
    text-decoration: none !important;
}
.btn p {
    color: inherit;
    font-family: var(--font-family);
    font-feature-settings: var(--font-alternate-settings);
    font-size: 1.125rem;
    font-weight: var(--font-bold-weight);
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
}
.btn img,
.btn svg,
.btn svg path {
    padding-top: .125rem;
    color: inherit;
}

@media (max-width: 768px) {
    .btn p {
        font-size: 1rem;
    }
}

.btn:disabled {
    border-color: var(--color-gray-light);
    color: var(--color-gray-light);
    cursor: default;
}

.btn:not(:disabled):hover {
    background-color: var(--color-blue);
    color: white;
}
.btn:not(:disabled):active {
    outline: none;
    transform: scale(0.95);
}

.btn-primary {
    background: none;
    border-color: var(--color-blue);
    color: var(--color-blue);
}
.btn-primary:disabled {
    border-color: var(--color-gray-light);
    color: var(--color-gray-light);
}
.btn-primary:not(:disabled):hover {
    background-color: var(--color-blue);
    color: white;
}

.btn-secondary {
    background: white;
    border-color: white;
    color: var(--color-blue);
}
.btn-secondary:disabled {
    background-color: var(--color-gray-light);
}
.btn-secondary:not(:disabled):hover {
    background: white;
    border-color: white;
    color: var(--color-blue);
}

/*  ================================================================  */
/*  TOOLTIP
/*  ================================================================  */
.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.tooltip:not(.visible) {
    display: none;
}
.tooltip .tooltip-content {
    position: relative;
    padding: .33rem 1rem;
    margin-bottom: 1rem;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;

    border-radius: .5rem;
    background: var(--color-gray-light);
}
.tooltip.error .tooltip-content {
    background: red;
}
.tooltip .tooltip-content::after {
    content: url(../img/picto-tooltip.svg);
    position: absolute;
    left: 50%;  top: 99%;
    transform: translateX(-50%);
}
.tooltip.error .tooltip-content::after {
    content: ""
}
.tooltip .tooltip-content p {
    color: white;
    font-family: var(--font-family);
    font-feature-settings: var(--font-alternate-settings);
    font-size: 1rem;
    font-weight: var(--font-normal-weight);
    text-transform: none;
    white-space: nowrap;
}

#tooltip-root {
    position: fixed;
    width: 100%;
    bottom: 0;   left: 0;
    pointer-events: none;
    z-index: 1;
}

/*  ================================================================  */
/*  RANGER
/*  ================================================================  */
.slider-wrapper {
    position: relative;
    width: 100%;
    padding: 3rem 1rem 1rem;
}
.slider-wrapper .slider-track {
    position: relative;
    height: .3rem;
    background: white;
    border-radius: .3rem;
    cursor: pointer;
}
.slider-wrapper .slider-track .slider-fill {
    position: absolute;
    height: 100%;
    background: var(--color-blue);
    border-radius: .3rem;
    width: 0%;
}
.slider-wrapper .slider-track .slider-thumb {
    position: absolute;
    width: 1.25rem;     height: 1.25rem;
    left: 0;            top: 50%;
    
    background: var(--color-blue);
    border-radius: 50%;
    cursor: grab;

    transform: translate3D(-50%, -50%, 0);
}
.slider-wrapper .slider-track .slider-thumb:active {
    cursor: grabbing;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.6);
}
.slider-wrapper .slider-track .slider-thumb .slider-label {
    position: absolute;
    bottom: 100%;       left: 50%;
    margin-bottom: .5rem;
    
    transform: translateX(-50%);
    
    text-align: center;
    color: var(--color-blue);
    font-family: var(--font-family);
    font-size: 1.5625rem;
    font-weight: var(--font-bold-weight);
    white-space: nowrap;
}
.slider-wrapper .slider-track .slider-track-placeholder {
    position: absolute;
    right: 0;           bottom: 100%;

    transform: translate3D(50%, -50%, 0);
    
    text-align: center;
    color: var(--color-gray-light);
    font-family: var(--font-family);
    font-size: 1.5625rem;
    font-weight: var(--font-bold-weight);
    white-space: nowrap;
    pointer-events: none;
}

/*  ================================================================  */
/*  PROGRESS BAR
/*  ================================================================  */
#progress-bar {
    position: fixed;
    top: 0;     left: 0;
    width: 100%;
    height: var(--progress-height);
    z-index: 1000;
}
#progress-bar .progress-bar-inner {
    position: absolute;
    height: 100%;
    width: 25%;
    background-color: var(--color-yellow);
    transition: width 0.3s ease-in-out;
}


/*  ================================================================  */
/*  FOOTER
/*  ================================================================  */
#footer {
    padding: 1.5rem 1.6rem;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;

    background: white;
}
#footer p {
    color: var(--color-gray-light);
    font-family: var(--font-family);
    font-size: 0.6875rem;
    font-style: normal;
    font-weight: var(--font-light-weight);
    font-feature-settings: var(--font-alternate-settings);
}
#footer p:last-child {
    white-space: nowrap;
}

@media (max-width: 768px) {
    #footer {
        flex-direction: column;
        align-items: flex-start;
    }
}


/*  ================================================================  */
/*  CONTENT
/*  ================================================================  */
#header-image {
    position: absolute;
    top: 0;     right: 0;
    width: 45rem;
    max-width: 45%;
}
#logo-takeda {
    position: absolute;
    top: 2rem;      right: 4rem;
    width: 10rem;
}
#logo-takeda-mobile {
    display: none;
    width: 10rem;
    margin-top: 1.5rem
}

#title-wrapper {
    margin-top: 1.25rem;
}
#title-wrapper > * {
    max-width: 67%;
}
#title-wrapper h1 {
    margin-top: 3rem;
    margin-bottom: .33rem;

    color: var(--color-blue);
    font-family: var(--font-family);
    font-size: 2.8125rem;
    font-weight: var(--font-bold-weight);
    line-height: 1.2;
    text-transform: uppercase;
    font-feature-settings: var(--font-alternate-settings);
}
#title-wrapper h2 {
    color: var(--color-blue);
    font-family: var(--font-family);
    font-size: 1.375rem;
    font-weight: var(--font-normal-weight);
    line-height: normal;
    font-feature-settings: var(--font-alternate-settings);
}
#title-wrapper #infos {
    margin-top: 1.25rem;

    color: var(--color-black);
    font-feature-settings: 'salt' on;
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: var(--font-normal-weight);
}

@media (max-width: 768px) {
    #logo-takeda {
        display: none;
    }
    #logo-takeda-mobile {
        display: block;
    }
    #title-wrapper > * {
        max-width: 100%;
    }
    #title-wrapper h1 {
        margin-top: 1rem;
        font-size: 1.8rem;
    }
    #title-wrapper #infos {
        margin-top: .5rem;
    }
}

.tooglable {
    position: relative;
    padding-right: 1.5rem;

    cursor: pointer;
    overflow: hidden;
    transition: all .2s ease-in-out;
}
.tooglable.open {
    max-height: 15rem;
}
.tooglable:not(.open) {
    max-height: 1.5rem;
}
.tooglable img {
    position: absolute;    
    top: .5rem;     right: .1rem;
    
    transition: transform .2s ease-in-out;
}
.tooglable.open img {
    transform: rotate(-90deg);
}
.text-toggle:not(.tooglable) img {
    display: none;
}
.text-toggle.hidden {
    opacity: 0;
}



/*  ================================================================  */
/*  SLIDER
/*  ================================================================  */
#slide-wrapper {
    position: relative;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    width: 100%;
}
#slide-wrapper .slide {
    position: absolute;
    width: 100%;
    top: 0;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    
    transform: translate3d(0, 0, 0);
    transition: transform var(--page-transition-duration) ease-in-out;
}
#slide-wrapper .slide .slide-left, 
#slide-wrapper .slide .slide-right {
    position: relative;
    flex: 1 1 0;
    min-width: var(--content-margin);
}
#slide-wrapper .slide .slide-center {
    flex: 0 1 var(--content-max-width);
    max-width: var(--content-max-width);
}

#slide-wrapper .slide.prev {
    transform: translate3d(-100%, 0, 0);
}
#slide-wrapper .slide.next {
    transform: translate3d(100%, 0, 0);
}

/*  ================================================================  */
/*  QUESTION
/*  ================================================================  */
#slide-template {
    display: none !important;
}
.question-wrapper {
    position: relative;
    padding: 3.25rem 3.75rem;
    min-height: 30rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: var(--color-yellow-pale);
    border-radius: 1.25rem;
}
.question-wrapper .question-number {
    position: absolute;
    padding: 0.6rem 1.25rem;
    top: -1.15rem;
    left: 3.75rem;

    display: flex;
    align-self: center;
    justify-content: center;

    border-radius: 32.5px;
    background: var(--color-yellow);
}
.question-wrapper .question-number p {
    color: var(--color-blue);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: var(--font-bold-weight);
    line-height: 1;
}
.question-wrapper .question-part-title {
    flex: 0 0 auto;
}
.question-wrapper .question-part-title h4 {
    margin-bottom: 1.25rem;

    color: var(--color-black);
    font-family: var(--font-family);
    font-size: 1.875rem;
    font-weight: var(--font-bold-weight);
    font-feature-settings: var(--font-alternate-settings);
}
.question-wrapper .question-part-title .instructions {
    margin-bottom: 1.25rem;

    color: var(--color-grey);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: var(--font-normal-weight);
}

.question-wrapper .question-part-content {
    flex: 1 1 auto;
    width: 100%;
}
.question-wrapper .question-part-boutons {
    flex: 0 0 auto;
    margin-top: 1.25rem;

    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .question-wrapper {
        padding: 2rem 1.625rem;
    }
    .question-wrapper .question-number {
        left: 1.625rem;
    }
    .question-wrapper .question-part-title h4 {
        font-size: 1.375rem;
    }
}

/*  ================================================================  */
/*  QUESTION - OPENS
/*  ================================================================  */
.question-type-opens .input-container {
    width: 100%;
    padding: .5rem 0;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
    gap: 1.25rem;
}
@media (min-width: 66rem) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}
.question-type-opens .input-container input {
    min-width: 21rem;
    padding: .75rem 1rem;

    border: .1rem solid transparent;
    outline: none;
    border-radius: .375rem;
    background: white;

    color: var(--color-blue);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: var(--font-normal-weight);
    line-height: 1;
}
.question-type-opens .input-container input::placeholder {
    color: var(--color-gray-light);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: var(--font-normal-weight);
    line-height: 1;
}
.question-type-opens .input-container input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 0.4rem rgba(255, 255, 255, 0.6);
}
.question-type-opens .input-container button.btn {
    grid-column: span 1;
    justify-self: start;
    align-self: center;
    width: auto;
}
@media (max-width: 768px) {
    .question-type-opens .input-container {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    }
    .question-type-opens .input-container input {
        min-width: 15rem;
    }
    .question-type-opens .input-container button.btn {
        justify-self: center
    }
}

/*  ================================================================  */
/*  QUESTION - JAUGE
/*  ================================================================  */
.ranger-container {
    width: 100%;
    margin: 1rem 0;
}

/*  ================================================================  */
/*  QUESTION - ORDER
/*  ================================================================  */
.order-list-container {
    padding: 1rem 0;

    display: flex;
    flex-direction: row;
    gap: .625rem;
}
.order-list-container .order-list {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    gap: .625rem;
}
.order-list-container .order-list .order-list-item {
    width: 3rem;    height: 3rem;
    
    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: .375rem;
    border: .1rem solid var(--color-blue);
    background: transparent;
}
.order-list-container .order-list .order-list-item p {
    color: var(--color-blue);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: var(--font-normal-weight);
}
.order-list-container .order-list .order-list-item.active {
    background: var(--color-blue);
}
.order-list-container .order-list .order-list-item.active p {
    color: white;
    font-size: 1.625rem;
}

.order-list-container .drop-list {
    flex: 1 1 auto;

    display: flex;
    flex-direction: column;
    gap: .625rem;
}
.order-list-container .drop-list .drop-list-item {
    height: 3rem;
    padding: 0 1rem;

    display: flex;
    justify-content: flex-start;    
    align-items: center;
    gap: 1rem;

    border-radius: .375rem;
    border: .1rem solid transparent;
    background: white;
}
.order-list-container .drop-list .drop-list-item p {
    color: var(--color-black);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.375rem;
    font-weight: var(--font-normal-weight);
}
.order-list-container .drop-list .drop-list-item svg {
    color: var(--color-black);
}
.order-list-container .drop-list .drop-list-item.active {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 0.4rem rgba(255, 255, 255, 0.3);
}
.order-list-container .drop-list .drop-list-item.active p {
    color: var(--color-blue);
}
.order-list-container .drop-list .drop-list-item.active svg {
    color: var(--color-blue);
}
@media (max-width: 768px) {
    .order-list-container .drop-list .drop-list-item p {
        font-size: 1rem;
    }    
}

/*  ================================================================  */
/*  QUESTION - QCU
/*  ================================================================  */
.qcu-answers-list {
    padding: 1rem 0;

    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: .625rem 3rem;
    flex-wrap: wrap;
}
.qcu-answers-list .qcu-answer-item {
    flex: 0 0 auto;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .625rem;
}
.qcu-answers-list .qcu-answer-item label {
    color: var(--color-black);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.675rem;
    font-weight: var(--font-normal-weight);
    line-height: 1;
}
.qcu-answers-list .qcu-answer-item input[type="radio"] {
    position: relative;
    margin-top: .25rem;
    width: 1.25rem;     height: 1.25rem;

    appearance: none;
    -webkit-appearance: none;
    border: .125rem solid var(--color-black);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}
.qcu-answers-list .qcu-answer-item input[type="radio"]::after {
    content: '';
    position: absolute;
    top: 50%;    left: 50%;
    width: .625rem;    height: .625rem;

    background: var(--color-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.1s ease-in-out;
}
.qcu-answers-list .qcu-answer-item input[type="radio"]:checked {
    border-color: var(--color-blue);
}
.qcu-answers-list .qcu-answer-item input[type="radio"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}
.qcu-answers-list .qcu-answer-item input[type="radio"]:checked + label {
    color: var(--color-blue);
}
@media (max-width: 768px) {
    .qcu-answers-list .qcu-answer-item label {
        font-size: 1.5rem;
    }
}
@media (max-width: 1024px) {
    .qcu-answers-list {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*  ================================================================  */
/*  END
/*  ================================================================  */
#slide-end .slide-center {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
}
#slide-end .slide-center .end-left {
    flex: 1 1 calc(100% / 3 - 20px);
    min-width: 15rem;
}
#slide-end .slide-center .end-right {
    flex: 1 1 calc((100% / 3) * 2 - 20px);
    min-width: 20rem;
}

#slide-end .slide-center .end-left {
    position: relative;
    padding: 6.5rem 3.25rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: var(--color-yellow-pale);
    border-radius: 1.25rem;
}
#slide-end .slide-center .end-left h4 {
    margin-bottom: 1.5rem;

    color: var(--color-blue);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 2.1875rem;
    font-weight: var(--font-bold-weight);
}
#slide-end .slide-center .end-left .count {
    color: var(--var-black);
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.5625rem;
    font-weight: var(--font-normal-weight);
}

#slide-end .slide-center .end-right {
    position: relative;

    background: var(--color-yellow);
    border-radius: 1.25rem;
    overflow: hidden;
}
#slide-end .slide-center .end-right .top {
    padding: 3rem 2rem;
}
#slide-end .slide-center .end-right .top p {
    color: var(--color-black);
    text-align: center;
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.375rem;
    line-height: 1.1;
    font-weight: var(--font-light-weight);
}
#slide-end .slide-center .end-right .top p b {
    font-size: 1.75rem;
    font-weight: var(--font-semibold-weight);
}
#slide-end .slide-center .end-right .top p strong {
    color: var(--color-blue);
    font-size: 2.375rem;
    font-weight: var(--font-semibold-weight);
}
#slide-end .slide-center .end-right .top p b::before,
#slide-end .slide-center .end-right .top p strong::before,
#slide-end .slide-center .end-right .top p strong::after {
    content: '';
    display: block;
    width: 100%;
}
#slide-end .slide-center .end-right .bottom {
    padding: 2.5rem;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.625rem;

    background: var(--color-blue);
}
#slide-end .slide-center .end-right .bottom img {
    width: 10rem;
}
#slide-end .slide-center .end-right .bottom p.link {
    margin-bottom: 1rem;

    color: white;
    font-feature-settings: var(--font-alternate-settings);
    font-family: var(--font-family);
    font-size: 1.5625rem;
    font-weight: var(--font-normal-weight);
    text-decoration-line: underline;
    text-align: center;
}

@media (max-width: 768px) {
    #slide-end .slide-center .end-right .bottom img {
        display: none;
    }
}
@media (max-width: 1024px) {
    #slide-end .slide-center .end-left {
        padding: 1.625rem;
    }
    #slide-end .slide-center .end-left h4 {
        margin-bottom: 1rem;
        font-size: 1.875rem;
    }
    #slide-end .slide-center .end-left .count {
        font-size: 1.375rem;
    }
}