html{
    scroll-behavior: smooth;
}

body{
    font-family: "Days One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.top-bar{
    height: 8px;
    width: 100%;
    background-image: linear-gradient(to right,#FF3BFF 0%,#ECBFBF 38%,#5C24FF 76%,#D94FD5 100%);
}

header{
    background-image: url('../img/header-bg.svg');
    background-size: cover;
    background-position: center;
    height: 897px;
}

#hero{
    padding-top: 388px;
}

.hero-title{
    font-size: 60px;
    color: #fff;
    line-height: 72px;
    max-width: 925px;
    margin: 0 auto;
    text-align: center;
}

.hero-title .txt-bg{
    background: linear-gradient(to right, #FF3BFF 0%,#5C24FF 63%, #D94FD5 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.hero-cta{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5px;
    width: 220px;
    height: 72px;
    border-radius: 120px;
    background-image: linear-gradient(to right, #FF3BFF 0%,#ECBFBF 38%,#5C24FF 76%,#D94FD5 100%);
    margin: 96px auto;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    
}

.hero-cta span{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
    width: 100%;
    height: 100%;
    border-radius: 120px;
}

#banner{
    height: 160px;
    background-position: top center;
    background-image: url('../img/Bandeau.svg');
    background-size: cover;
    position: relative;
    margin-top: -60px;
}

section{
    padding: 62px 0;
}

.section-title{
    max-width: 768px;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    color: #101828;
    margin: 0 auto;
    margin-bottom: 20px;
}

.section-title .txt-bg{
    background: linear-gradient(to right, #FF3BFF 0%,#5C24FF 80%, #D94FD5 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.section-stitle{
    font-family: "Inter", sans-serif;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}

.theme-list{
    padding-top: 64px;
}

.theme-item.not-selected{
    filter: grayscale(100%);
}

.theme-item{
    max-width: 360px;
    height: 480px;
    display: flex;
    flex-direction: column;
    background-color: gray;
    border-radius: 24px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    transition: all 0.35s;
}

.theme-item.selected .check-btn{
    opacity: 1;
}
.theme-item .check-btn{
    position: absolute;
    right: 20px;
    top: 20px;
    opacity: 0;
    transition: all 0.35s;
}

.theme-item .theme-txt{
    height: 100px;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 30px;
    line-height: 38px;
    font-weight: 600;
    color: #fff;
    z-index: 9;
}

.theme-item .bg-overlay{
    background-color: rgba(255, 255, 255,30%);
    height: 100px;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
    filter: blur(5px);
}

.theme-item-1{
    background-image: url('../img/Image-1.png');
}

.theme-item-2{
    background-image: url('../img/Image-2.png');
}

.theme-item-3{
    background-image: url('../img/Image-3.png');
}

main{
    background-image: url('../img/Background Effect.svg');
    background-position: center;
    background-size: contain;
    margin-top: -70px;
    padding-top: 70px;
}

.section-stepname{
    width: fit-content;
    font-size: 20px;
    line-height: 72px;
    text-align: center;
    background: linear-gradient(to right, #FF3BFF 0%,#5C24FF 80%, #D94FD5 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    margin: 0 auto;
}

.txt-area-qst{
    display: block;
    max-width: 894px;
    width: 100%;
    height: 180px;
    resize: none;
    border: 2px solid #101828;
    border-radius: 16px;
    background-color: #fff;
    margin: 64px auto;
    padding: 10px;
}

.list-card{
    max-width: 926px;
    margin: 0 auto;
    position: relative;
    height: 300px;
}

.card-item{
    width: 175px;
    height: 300px;
    border-radius: 20px;
    background-image: url('../img/dos-carte.png');
    background-position: left center;
    background-size: cover;
    position: absolute;
    top: 64px;
    transition: all 0.35s;
}

.card-item.selected{
    top: 32px;
}

.selected-cards{
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 64px;
}

.selected-card{
    width: 155px;
    height: 300px;
    background-color: #eee;
    background-size: cover;
}

#resultat{
    background-image: url('../img/confett 1.png');
    background-size: cover;
    padding-bottom: 260px;
}

.card-form{
    border-radius: 24px;
    overflow: hidden;
    background-color: #FFFFFF;
}

.card-form-left{
    background-image: url('../img/Image.png');
    background-size: cover;
    background-position: center;
}

.card-form-right{
    padding: 40px;
}

.card-form-right h3{
    font-size: 36px;
    line-height: 44px;
    color: #101828;
    margin-bottom: 20px;
}

.card-form-right p{
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 30px;
}

.card-form-right .separator{
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 60px 0;
}

.card-form-right .separator .hr{
    height: 1px;
    background-color: #EAECF0;
    width: 100%;
}

.card-form-right .separator .txt{
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #475467;
}

.form-steps{
    position: relative;
    height: 300px;
    overflow: hidden;
}

.form-item{
    position: absolute;
    left: 1500px;
    width: 100%;
    transition: all 0.35s;
}

.form-item.show{
    left: 0;
}

.form-item.prev{
    left: -1500px;
}

.form-item .big-label{
    font-size: 24px;
    line-height: 44px;
    color: #101828;
    margin-bottom: 20px;
}

.form-item .inputs{
    display: flex;
    flex-wrap: wrap;
    padding: 0 5px;
}

.form-item .inputs label.btn{
    width: 50%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 100px;
    border: 1px solid #D0D5DD;
}

.form-item .inputs label.btn.first{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-item .inputs label.btn.last{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

.form-item .inputs .btn-check:checked+label.btn{
    background-color: #D0D5DD;
    color: #101828;
}

.btn-next{
    margin-top: 50px;
    background-image: linear-gradient(to right,#FF3BFF 0%,#ECBFBF 38%,#5C24FF 76%,#D94FD5 100%);
    border: none;
    border-radius: 100px;
    padding: 2px;
    height: 56px;
    font-size: 16px;
}

.btn-back{
    height: 56px;
    border-radius: 100px;
    background-color: #9F9F9F;
    color: #FFFFFF;
    font-size: 16px;
    border: none;
    margin-top: 50px;
}

.btn-next span{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #101828;
    border-radius: 100px;
}

.form-item .form-label{
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
}

.form-item .form-select{
    height: 56px;
    border-radius: 8px;
}

.inputs input[type=text]{
    height: 56px;
    border-radius: 8px;
}

.inputs input[type=email]{
    height: 56px;
    border-radius: 100px;
    padding-left: 22px;
    padding-right: 22px;
    margin-bottom: 34px;
}

.CGU .form-check-label{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #475467;
}

.CGU .form-check-label a{
    text-decoration: underline;
    color: #475467;
}

footer{
    height: 100px;
}

footer>.container{
    border-top: 1px solid #EAECF0;
}

footer .nav{
    padding-top: 30px;
    gap: 32px;
}

footer .nav .nav-link{
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #667085;
}

.continue-btn{
    display: none;
}

.continue-btn.show{
    display: block;
}

.continue-btn .hero-cta{
    margin-bottom: 0;
    margin-top: 0;
}

@media only screen and (max-width: 1440px) {
    #banner{
        height: 90px;
    }
    .card-form-right{
        padding: 25px;
    }
    .form-steps{
        height: 360px;
    }
}

@media only screen and (max-width: 768px) {
    .theme-item{
        margin: 15px auto;
    }
}

@media only screen and (max-width: 992px) {
    .card-item{
        width: 120px;
        height: 205px;
        border-radius: 10px;
    }
    .txt-area-qst{
        margin-bottom: 0;
    }
    .theme-item{
        height: 350px;
        background-position: center;
    }
    .hero-title{
        font-size: 40px;
        line-height: 50px;
    }
    #hero {
        padding-top: 250px;
    }
}

@media only screen and (max-width: 576px) {
    .continue-btn .hero-cta{
        margin-top: 30px;
    }
    .card-form-right p{
        font-size: 18px;
        line-height: 20px;
    }
    .form-item .big-label,
    .card-form-right h3{
        font-size: 20px;
        line-height: 24px;
    }
    .card-form-right{
        padding: 15px;
    }
    .card-form-left{
        height: 100px;
    }
    #resultat{
        padding-bottom: 60px;
    }
    .selected-card{
        width: 100px;
        height: 193px;
    }
    .card-item{
        top: 50px;
    }
    .list-card{
        height: 220px;
    }
    .txt-area-qst{
        margin-top: 30px;
    }
    .theme-item{
        height: 280px;
        margin: 15px auto;
        max-width: 320px;
    }
    section{
        padding: 30px 0;
    }
    .theme-list{
        padding-top: 30px;
    }
    header{
        height: 670px;
    }
    .hero-cta{
        margin: 40px auto;
    }
    #hero {
        padding-top: 200px;
    }
    .card-item{
        width: 80px;
        height: 170px;
    }    
    .form-steps {
        height: 530px;
    }
    .btn-back{
        margin-top: 20px;
    }
}

@media only screen and (max-width: 375px) {
    .theme-item{
        max-width: 250px;
        height: 250px;
        background-position: center;
    }
    .list-card{
        max-width: 305px;
    }
    .selected-card{
        width: 72px;
        height: 139px;
    }
    .card-item{
        width: 72px;
        height: 125px;
    }
}
  #countdown {
    text-align: center;
    margin-top: 50px;
  }
  
  #countdown h2 {
    font-size: 24px;
    font-weight: bold;
  }

  #countdownTimer {
    font-size: 36px;
    font-weight: bold;
    display: block; /* Pour centrer */
    margin-top: 10px; /* Espacement par rapport au titre */
  }

  