*, *::before, *::after {
    box-sizing: border-box;
}
:root {
    --secondary-font: 'Montserrat', sans-serif;
    --secondary-normal: #621FEE;
    --second-light: #F2F2F2;

    --white: #FFF;
    --white-2: #F5F5F7;

    --black: #000;
    --black-cadeau-2: #032321;
    --black-cadeau-3: #053D3D;

    --primary: #83FFE7;
    --primary-2: #2AD4C0;
    --gray-text: #999999;
    --gray-text-2: #6E6E73;

    --primary-cadeau: #01FFCE;
    --primary-cadeau-2: #00BCA5;
    --bg-primary-gradient: linear-gradient(180deg, var(--primary) 0%, var(--white) 100%);
    --secondary-border-radius: 8px;
}
html, body {
    background-color: var(--white);
    font-family: 'Inter';
    margin: 0;
    padding: 0;
}
h1, h2, h3, p {
    margin: 0;
    padding: 0;
}
sup {
    font-size: 0.5em;
}
[class|=confetti] {
    pointer-events: none;
}
.is-flex {
    display: flex;
}
.is-flex-direction-column {
    flex-direction: column;
}
.is-justify-content-space-between {
    justify-content: space-between;
}
.is-hidden {
    display: none;
}
.normal {
    font-size: 1em !important;
}
.higher {
    font-size: 1.25em !important;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-50 {
    margin-bottom: 50px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-50 {
    margin-top: 50px;
}

/** Section Introduction // Video de présentation **/
.introduction {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.introduction video {
    width: 100%;
    object-fit: cover;
    height: 90vh;
}
@media screen and (max-width: 1200px){
    .introduction video {
        width: 160%;
        height: auto;
        max-height: 90vh;
    }
}

/** Section Introduction // Video de presentation **/
.information {
    padding-top: 80px;
    padding-bottom: 80px;
}
.information-container {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 50px;
}
.information-content {
    max-width: 560px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.information-content h1 {
    font-size: 50px;
    font-weight: 700;
    color: var(--black);
}
.information-content h1 span{
    color: var(--primary-2);
}
.information-content h2 {
    margin-top: 50px;
    margin-bottom: 50px;
    color: var(--gray-text);
    font-weight: 600;
    font-size: 40px;
}
.information-content button {
    background-color: var(--primary-2);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    padding: 15px 30px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    margin-top: 25px;
    cursor: pointer;
    width: max-content;
}

@media screen and (max-width: 820px){
    .information-content h1 {
        font-size: 36px;
    }
    .information-content h2 {
        font-size: 28px;
    }
}
@media screen and (max-width: 520px){
    .information-container {
        padding: 0 30px;
    }
}

/** Section Comment Participer **/
.participate {
    width: 100%;
    background-color: var(--white-2);
    padding-top: 80px;
    padding-bottom: 80px;
}
.participate-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.participate-button {
    width: 100%;
    max-width: 1120px;
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    padding: 0 50px;
}
.participate-button button {
    font-size: 20px;
    font-weight: 400;
    background-color: var(--primary-2);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    cursor: pointer;
    width: max-content;
}
.participate h1 {
    font-weight: 700;
    font-size: 70px;
    margin-bottom: 30px;
    text-align: center;
}
.participate h3 {
    color: var(--gray-text);
    font-weight: 500;
    font-size: 27px;
    margin-bottom: 30px;
    text-align: center;
}
.participate-content {
    padding: 0px 50px;
}
.steps-container {    
    max-width: 1080px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}
.step {
    position: relative;
    background-color: var(--white);
    padding: 50px 20px;
    border-radius: 16px;
    min-height: 320px;
    width: 100%;
    max-width: 320px;
}
.step .step-title {
    color: var(--gray-text-2);
    font-size: 25px;
    font-weight: 600;
}
.step .step-description {
    font-size: 30px;
    font-weight: 700;
    margin-top: 20px;
}
.step svg {
    position: absolute;
    bottom: 10px;
    right: 10px;
}
@media screen and (max-width: 1119px){
    .participate-button{
        justify-content: center;
    } 
}
@media screen and (max-width: 820px){
    .participate-content h1 {
        font-size: 48px;
    }
    .participate-content h3 {
        font-size: 20px;
    }
    .step .step-title {
        font-size: 20px;
    }
    .step .step-description {
        font-size: 25px;
    }
}
@media screen and (max-width: 520px){
    .participate-content, 
    .participate-button {
        padding: 0 30px;
    }
}
@media screen and (max-width: 400px){
    .participate-content {
        padding: 0px;
    }
    .step {
        border-radius: 0px;
        max-width: 100%;
    }
}

/** Liste deroulante des cadeaux **/
.cadeaux {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cadeaux h2 {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    color: var(--gray-text);
    padding: 0 50px;
}
.list-cadeaux {
    display: flex;
}
.cadeaux-container-image {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    margin-top: 120px;
    max-height: 200px;
    padding: 0 30px;
}
.cadeaux-container-image img {
    width: 100%;
    max-width: 750px;
    height: auto;
}
.cadeau {
    height: auto;
    padding: 20px;
    min-width: 180px;
    border-radius: 25px;
    margin-right: 20px;
    margin-top: 50px;
    min-width: 350px;
    height: 210px;
    border-radius: 15px;
    position: relative;
}
.cadeau.variant-50{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    background-image: url('/assets/img/operation/contest-game/giftcard/50.png');
}
.cadeau.variant-100{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    background-image: url('/assets/img/operation/contest-game/giftcard/100.png');
}
.cadeau.variant-150{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    background-image: url('/assets/img/operation/contest-game/giftcard/150.png');
}
.cadeau.variant-250{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    background-image: url('/assets/img/operation/contest-game/giftcard/250.png');
}
.cadeau.variant-300{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    background-image: url('/assets/img/operation/contest-game/giftcard/300.png');
}
.cadeau.variant-450{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    background-image: url('/assets/img/operation/contest-game/giftcard/450.png');
}
.cadeau p {
    width: 300px;
    font-weight: 600;
    color: var(--white);

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.cadeau p.winner_date {
    top: 15px;
    font-size: 12px;
}
.cadeau p.winner_infos {
    bottom: 10px;
    font-size: 25px;
}
@media screen and (max-width: 820px){
    .cadeaux h2 {
        font-size: 28px;
    }
}
@media screen and (max-width: 520px){
    .cadeaux h2 {
        padding: 0 30px;
    }
}

/** Section Participation **/
.participation {
    width: 100%;
    background: var(--bg-primary-gradient);
}
.participation-container {
    display: flex;
    justify-content: center;
    padding: 120px 80px;
    background-image: url(/assets/img/operation/contest-game/confetti.png);
    background-repeat: repeat-x;
}
.participation-content {
    max-width: 750px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}
.participation img {
    width: 280px;
    margin-bottom: -2.5%;
    position: relative;
}
.game {
    background-color: var(--white);
    border-radius: 15px;
    height: auto;
    min-height: 525px;
    z-index: 2;
    position: relative;
    overflow: hidden;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:var(--black-cadeau-2);
    box-shadow: 0px 4px 50px 0px rgba(0,0,0,0.1);
}
#level1 {
    max-width: 450px;
}
.game #level4 p,
.game #level5 p {
    text-align: center;
    font-family: 'Montserrat', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.875em;
}
.game:has(> #level4[style="display: flex;"]) {
    position: relative;
    overflow: hidden;
}
#level2 form {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#level3 {
    align-items: center;
    justify-content: center;
    height: 100%;
}
#level4,
#level5 {
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
}
#level4 img {
    position: absolute;
    left: -128px;
    top: 6px;
    max-height: 505px;
}
.game .emoji {
    font-size: 5em;
}
#level4 h1:not(.emoji),
#level5 h1:not(.emoji) {
    color: var(--primary-2);
    font-weight: bold;
    font-weight: 800;
    font-family: 'Montserrat';
    margin-bottom: 10px;
}
.game #level4 p.lower,
.game #level5 p.lower {
    font-size: .75em;
}
.game #level4 p.lower span.cgu-condition-button,
.game #level5 p.lower span.cgu-condition-button {
    text-decoration: underline;
    cursor: pointer;
}
h1.form-title {
    font-weight: 600;
    font-size: 70px;
    text-align: center;
    padding-bottom: 50px;
}
#level2 h1.form-title {
    font-size: 48px;
}
form {
    width: 100%;
}
.group { 
    position:relative;
    width: 100%;
}
.group label {
    font-weight: 500;
    font-size: 24px;
    line-height: 20px;
    pointer-events: none;
    letter-spacing: -0.43px;
    color: #3c3c434d;
    position: absolute;
    left: 23px;
    top: 26px;
    transition: 0.2s ease all; 
    -moz-transition: 0.2s ease all; 
    -webkit-transition: 0.2s ease all;
    top: 50%;
    transform: translate(0%, -50%);
}
input {
    font-size: 16px;
    padding: 40px 20px 20px 20px;
    display: block;
    width: 100%;
    border: none;
    max-height: 80px;
    border: 0px;
    border-top: 1px solid #E6E6E6;
}
input[type=submit] {
    font-size: 20px;
    font-weight: 400;
    background-color: var(--primary-2);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    cursor: pointer;
    width: max-content;
}
input.lastname {
    text-transform: uppercase;
}
input.firstname {
    text-transform: capitalize;
}
input:focus { 
    outline: none;
    box-shadow: 0 0 0 0px var(--white);
    border-color: var(--primary);
}
.group input:focus ~ label, 
.group input:valid ~ label {
    top: 12px;
    transform: none;
    font-size: 0.75em;
} 
input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
p.instruction {
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 30px;
    font-weight: 400;
    font-style: normal;
    font-size: 0.875em;
    color: var(--black-cadeau-2);
}
.checkgox-group {
    display: flex;
    align-items: flex-start;
}
.checkgox-group input {
    width: auto;
    margin-right: 16px;
}
.checkgox-group label {
    position: initial;
    font-family: 'Montserrat', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.875em !important;
}
@media screen and (max-width: 820px){
    h1.form-title {
        font-size: 48px;
    }
}
@media screen and (max-width: 720px){
    .participation-container {
        padding: 120px 40px;
    }
}
@media screen and (max-width: 550px){
    .participation-container {
        padding: 120px 0px;
    }
    .game {
        border-radius: 0;
        padding: 80px 10px;
    }
}

/** CGU container **/
.cgu {
    width: 100%;
    background-color: var(--white-2);
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cgu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}
.cgu-content {
    padding: 0px 50px;
}
.cgu-container h1 {
    font-weight: 700;
    font-size: 70px;
    margin-bottom: 30px;
}
.cgu-steps-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 30px;
    flex-wrap: wrap;
}
.cgu-step {
    width: 100%;
    max-width: 430px;
    height: 660px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.cgu-step-content {
    width: 100%;
    position: relative;
    background-color: var(--white);
    padding: 40px 30px 0px 30px;
    width: 100%;
    height: 100%;
}
.cgu-step-hover {    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.cgu-step-hover.hide-hover {
    left: -100%;
    animation: slideOut 0.6s ease-in-out;
}
.cgu-step-hover p {
    width: 300px;
    font-weight: 600;
    font-size: 25px;
    color: var(--white);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
@keyframes slideOut {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0%);
    }
}
.cgu-step-hover-content {
    width: 100%;
    height: 100%;
    background-color: var(--primary-2);
    opacity: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;

}
.cgu_giftbag_open {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 200px;
}
.cgu-step p.text-title {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 12px;
}
.cgu-step p.text-title span {
    color: var(--primary-2);
}
.cgu-step p.text-description {
    font-weight: 600;
    font-size: 25px;
    color: var(--gray-text-2);
}
.cgu-step svg {
    position: absolute;
    bottom: 10px;
    right: 10px;
}
.cgu-step img.cgu_giftbag,
.cgu-step img.cgu_giftcard {
    position: absolute;
    bottom: 0px;
    right: 50%;
    transform: translateX(50%);
    width: 280px;
    max-width: 60%;
}
.cgu-button {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.cgu-button button {
    font-size: 20px;
    font-weight: 400;
    background-color: var(--primary-2);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    cursor: pointer;
    width: max-content;
}
.cgu-text-info {
    color: var(--gray-text);
    opacity: 0.7;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    padding: 0 50px;
}
.cgu-text-info span {
    text-decoration: underline;
    cursor: pointer;
}
@media screen and (max-width: 820px){
    .cgu-container h1 {
        font-size: 48px;
    }
    .cgu-step p.text-title {
        font-size: 25px;
    }
    .cgu-step p.text-description {
        font-size: 18px;
    }
    .cgu-step {
        height: 580px;
    }

    .cgu-text-info {
        font-size: 18px;
    }
}
@media screen and (max-width: 720px){
    .cgu-content, 
    .cgu-text-info {
        padding: 0px 30px;
    }
}
@media screen and (max-width: 550px){
    .cgu-content {
        padding: 0px;
    }
    .cgu-content h1 {
        padding: 0 30px;
    }
    .cgu-step{
        max-width: 100%;
        border-radius: 0px;
    }
}

/** Accordion **/
.accordion {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}
.accordion-item {
    border-bottom: 1px solid #e5e5e5;
}
.accordion-item:last-child {
    border-bottom: none;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    cursor: pointer;
    background: transparent;
    transition: background-color 0.2s ease;
    user-select: none;
}
.accordion-title {
    font-size: 35px;
    font-weight: 600;
}
.accordion-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.accordion-icon svg {
    width: 100%;
    height: 100%;
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-content-inner {
    padding: 0 50px 30px 50px;;
    color: var(--gray-text-2);
    font-size: 15px;
    line-height: 1.6;
}
.accordion-content-inner a {
    color: var(--gray-text-2);
}
.accordion-item.active .accordion-content {
    max-height: 5000px;
}
.accordion-content-separator{
    width: 100%; 
    border-bottom: 1px solid var(--gray-text-2);
}
@media screen and (max-width: 1000px){
    .accordion {
        border-radius: 0;
        border-right: 0;
        border-left: 0;
    }
}
@media screen and (max-width: 820px){
    .accordion-title {
        font-size: 28px;
    }
}
@media screen and (max-width: 720px){
    .accordion-header {
        padding: 20px 30px;
    }
    .accordion-content-inner {
        padding: 0 30px 30px 30px;
    }
}

/** Footer **/
.footer {
    background: var(--black);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-content {
    background: var(--black);
    width: 100%;
    padding: 40px 50px;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-content a {
    color: var(--white);
}
.footer-content img {
    width: auto;
    height: 60px;
}
@media screen and (max-width: 720px) {
    .footer-content {
        padding: 40px 30px;
    }
}
@media screen and (max-width: 400px) {
    .footer-content {
        flex-direction: column-reverse;
        gap: 20px;
    }
}

/** Pop-up Play Again **/
.overlay {
    visibility: hidden;
    opacity: 0;
    z-index: 4000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(50, 50, 50, 0.70);
    display: flex;
    justify-content: center;
    align-items: center;
}
.overlay p {
    color: #000;
}
.overlay.target {
    -webkit-animation: openpopup 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    -moz-animation: openpopup 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    -o-animation: openpopup 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    animation: openpopup 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    visibility: visible;
    opacity: 1;
}
#play-again .confirm {
    width: 320px;
    height: auto;
    background-color: var(--white);
    height: auto;
    border-radius: var(--secondary-border-radius);
    text-align: center;

}
#play-again .confirm p {
    font-size: 0.875em;
    font-family: 'Montserrat', sans-serif;
    padding: 0px 40px 30px 40px;
    font-weight: 400;
}
#play-again .confirm p:first-child {
    font-weight: 700;
    margin-top: 0px;
    padding: 40px 40px 20px 40px;
}
#play-again .confirm p.article_title {
    font-size: 1.000em;
}
#play-again .confirm_btn {
    width: 100%;
    border-top: 2px solid var(--second-light);
    display: flex;
    align-items: center;
}
#play-again .reponse {
    padding: 0px;
    padding-right: 20px;
}
#play-again .reponse:first-child {
    border-right: 2px solid var(--second-light);
}
#play-again .reponse100:first-child {
    width: 100%;
    border-right: 0px;
    padding-right: 0px;
}
#play-again a {
    font-family: var(--secondary-font);
    color: var(--secondary-normal);
    text-decoration: none;
}
#play-again .confirm p {
    font-size: 0.875em;
    font-family: var(--secondary-font);
    padding: 0px 40px 30px 40px;
}
#play-again .confirm p:first-child {
    font-weight: 700;
    margin-top: 0px;
    padding: 40px 40px 20px 40px;
}
#play-again .confirm .confirm_btn p {
    padding: 20px 0px;
}
#play-again .reponse a p {
    color: var(--secondary-normal);
}
