:root {
    --tryup-dark-green: #008f6d;
    --tryup-green: #43ac93;
    --tryup-light-green: #85C9B9;
    --tryup-gradient: linear-gradient(to bottom, #008f6d 0%, #43AC93 50%, #85C9B9 100%);
    --tryup-black: #232323;
    --tryup-peach: #FFB776;
    --tryup-sky: #b3c7ff;
    --tryup-coral: #FF9C9C;
    --tryup-shadow: 0 2px 4px rgba(23, 23, 23, 0.2);
}

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: #000; /* facultatif : couleur du texte */
}

.page_wrapper {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    background-color: #f2f2f2;
}

.legals_mentions {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: white;
    z-index: 5;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.2rem;
    text-decoration: underline;
}

.legals_mentions:hover {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.copyright {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.copyright p {
    margin: 0;
    color: #232323;
    font-size: 0.8rem;
    line-height: 1.2rem;
    text-align: center;
}

/************************** COOKIE CONSENT **************************/

.cookie_wrapper {
    position: fixed;
    bottom: 50px;
    z-index: 100;
    width: 100%;
    transform: translateY(300px);
    transition: all 0.5s ease-in-out;
}

.cookie_banner {
    width: 400px;
    margin: auto;
    background-color: white;
    box-shadow: 0 0 20px #0000004a;
    padding: 30px 20px;
    border-radius: 20px;
}

.cookie_title {
    text-align: center;
    font-family: 'Montserrat_Bold', sans-serif;
    color: var(--tryup-green);
}

.cookie_banner p {
    font-size: 0.95rem;
}

.cookie_policy {
    color: var(--tryup-green);
}

.cookie_buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cookie_buttons button {
    border: none;
    background: var(--tryup-gradient);
    padding: 7px 20px;
    color: white;
    border-radius: 11px;
    font-weight: 500;
}

.cookie_accept {

}

.cookie_reject {

}


/************************** LEFT **************************/

.page_wrapper .left_side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.page_wrapper .left_side .logo_baseline {
    width: 100%;
    max-width: 675px;
}

.page_wrapper .left_side .logo_baseline svg {
    height: 125px;
    padding-left: 2px;
}

.page_wrapper .left_side .punchline {
    width: 100%;
    max-width: 675px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}
.page_wrapper .left_side .punchline h1 {
    font-size: 2.43rem;
    text-wrap: nowrap;
    margin: 0;
    font-family: Montserrat_Bold, sans-serif;
}

.page_wrapper .left_side .coming_soon {
    max-width: 450px;
    width: 60%;
}

.page_wrapper .left_side .keep_in_touch {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 290px;
    max-width: 330px;
}

.page_wrapper .left_side .keep_in_touch h2 {
    font-size: 2.7rem;
    margin: 0;
    font-family: Montserrat_Bold, sans-serif;
    text-align: center;
}

.page_wrapper .left_side .keep_in_touch .input {
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;
}

.page_wrapper .left_side .keep_in_touch .input .input_inner {
    width: 100%;
    background: linear-gradient(to bottom, #ffffff, #eaeaea);
    border: 4px solid white;
    border-radius: 11px;
    padding: 5px;
}

.page_wrapper .left_side .keep_in_touch .input .input_inner input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.page_wrapper .left_side .keep_in_touch .input button {
    position: absolute;
    right: 0;
    border: 4px solid #43ac93;
    background: var(--tryup-gradient);
    border-radius: 13px;
    height: 62px;
    width: 62px;
    padding: 0;
}

.page_wrapper .left_side .keep_in_touch .input button img {
    height: 100%;
    width: 100%;
}

.accept_terms {
    display: flex;
    gap: 5px;
    /*position: relative;*/
}
.accept_terms p {
    font-size: 0.75rem;
    line-height: 1.1rem;
    color: white;
    text-align: start;
    margin: 0;
    /*text-align: center;*/
    /*margin-left: 15px;*/
}
.accept_terms p a {
    color: white;
    font-weight: 600;
}
.accept_terms p a:hover {
    text-decoration: underline;
}


.terms_checkbox {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 16px;
    padding: 2px;
    background-color: white;
    border-radius: 5px;
    margin-top: 2px;
    cursor: pointer;
    /*position: absolute;*/
    /*left: 18px;*/
}
.terms_checkbox svg {
    height: 100%;
    opacity: 1;
    transition: opacity 0.2s ease;
}

#flashbag {
    margin: 0;
}

.flashbag_container {
    font-weight: 600;
    font-size: 1.1rem;
}

.flashbag_error {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2rem;
    text-align: left;
    padding: 0 3px;
    color: #c43737;
}

.flashbag_success, .flashbag_notice {
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2rem;
    text-align: left;
    padding: 0 3px;
    color: white;
    position: relative;
}

#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ne bloque pas les clics */
    z-index: 9999;
}

.confetti {
    position: absolute;
    top: 0;
    opacity: 0;
    animation: confetti-fall 3s ease-out forwards;
    border-radius: 50%; /* Rend certains confettis ronds */
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(calc(50vw - 25px)) rotate(720deg);
        opacity: 0;
    }
}


.page_wrapper .left_side .social_medias {
    display: flex;
    justify-content: space-between;
}

.page_wrapper .left_side .social_medias a {
    display: block;
    height: 35px;
}

.page_wrapper .left_side .social_medias a img {
    width: unset;
    height: 100%;
}

/************************** RIGHT **************************/

.page_wrapper .right_side {
    flex: 1;
    z-index: 1;
    margin: auto;
}

.page_wrapper .right_side h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.phone_carousel {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone_carousel .right_arrow svg,
.phone_carousel .left_arrow svg {
    height: 50px;
    cursor: pointer;
}

.phone_carousel .carousel_content {
    position: relative;
    display: flex;
    justify-content: center;
    background-image: url("../images/JPG/fond_flou_4.jpg");
    background-size: contain;
    border-radius: 60px;
}

.phone_carousel .phone_frame {
    width: 300px;
    position: relative;
    z-index: 2;
}

.phone_carousel .videos {
    position: absolute;
    top: 2%;
    height: 96%;
    width: 91%;
    border-radius: 20px;
    z-index: 6;
    overflow: hidden;
    display: flex;
}

.phone_carousel .videos video {
    position: absolute;
    top: calc(50% - 222px);
    left: calc(50% - 125px);
    height: 444px;
    width: 250px;
    border-radius: 20px;
    box-shadow: 0 0 20px #00000070;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.phone_carousel .videos .controls {
    transition: opacity 0.2s ease-in-out;
}

.phone_carousel .videos .controls svg {
    height: 100%;
    cursor: pointer;
    fill: white;
}

.phone_carousel #play,
.phone_carousel #pause,
.phone_carousel #mute,
.phone_carousel #unmute{
    display: inline-block;
    position: absolute;
    border: none;
    background: unset;
    transition: opacity 0.2s ease-in-out;
    padding: 0;
}

.phone_carousel #play,
.phone_carousel #pause {
    height: 34px;
    top: calc(50% - 17px);
    left: calc(50% - 17px);
}

.phone_carousel #mute,
.phone_carousel #unmute {
    height: 30px;
    bottom: 97px;
    right: 19px;
}

.phone_carousel #unmute, .phone_carousel #pause {
    opacity: 0;
}

/************************** MEDIA QUERIES **************************/
@media screen and (max-width: 1700px) {

    .page_wrapper .background-city {
        bottom: -20%;
        left: -90%;
        width: 300%;
    }

    .page_wrapper .left_side .coming_soon {
        width: 65%;
    }
}

@media screen and (max-width: 1500px) {

    .page_wrapper .background-city {
        bottom: -20%;
        left: -100%;
        width: 320%;
    }

    .page_wrapper .left_side .logo_baseline {
        max-width: 600px;
    }

    .page_wrapper .left_side .logo_baseline svg {
        height: 120px;
    }

    .page_wrapper .left_side .punchline {
        max-width: 600px;
    }

    .page_wrapper .left_side .punchline h1 {
        font-size: 2.16rem;
    }

    .page_wrapper .left_side .coming_soon {
        width: 60%;
    }

    .page_wrapper .left_side .keep_in_touch h2 {
        font-size: 2.5rem;
    }

    .page_wrapper .left_side .keep_in_touch .input .input_inner input {
        font-size: 1rem;
    }

    .page_wrapper .left_side .keep_in_touch .input button {
        height: 55px;
        width: 55px;
    }

    .page_wrapper .left_side .social_medias a {
        height: 30px;
    }

    .phone_carousel .phone_frame {
        width: 270px;
    }

    .page_wrapper .left_side .keep_in_touch {
        gap: 15px;
    }

    .phone_carousel .videos video {
        top: calc(50% - 200px);
        left: calc(50% - 112.5px);
        height: 400px;
        width: 225px;
    }

    .phone_carousel #mute, .phone_carousel #unmute {
        height: 25px;
        bottom: 88px;
        right: 20px;
    }
}

@media screen and (max-width: 1300px) {
    .page_wrapper .left_side .keep_in_touch h2 {
        line-height: 2.5rem;
    }

    .phone_carousel .phone_frame {
        width: 230px;
        position: relative;
        z-index: 2;
    }

    .phone_carousel .videos video {
        top: calc(50% - 170px);
        left: calc(50% - 93px);
        height: 330px;
        width: 186px;
    }

    .page_wrapper .left_side .coming_soon {
        width: 50%;
    }

    .page_wrapper .background-city {
        bottom: -15%;
        left: -106%;
        width: 340%;
    }

    .phone_carousel #mute, .phone_carousel #unmute {
        height: 22px;
        bottom: 89px;
        right: 22px;
    }

    .phone_carousel #play, .phone_carousel #pause {
        height: 30px;
        top: calc(50% - 15px);
        left: calc(50% - 15px);
    }
}

@media screen and (max-width: 1100px) {
    .page_wrapper .right_side h2 {
        font-size: 2rem;
    }

    .page_wrapper .left_side .punchline h1 {
        font-size: 1.9rem;
    }

    .page_wrapper .left_side .keep_in_touch h2 {
        font-size: 2.3rem;
        line-height: 2.3rem;
    }

    .page_wrapper .left_side .keep_in_touch .input .input_inner input {
        font-size: 0.85rem;
    }

    .page_wrapper .left_side .logo_baseline svg {
        height: 100px;
    }

    .phone_carousel .phone_frame {
        width: 200px;
    }

    .phone_carousel .videos video {
        top: calc(50% - 142px);
        left: calc(50% - 80px);
        height: 284px;
        width: 160px;
    }

    .phone_carousel .carousel_content {
        border-radius: 50px;
    }

    .phone_carousel #play, .phone_carousel #pause {
        height: 30px;
        top: calc(50% - 15px);
        left: calc(50% - 15px);
    }

    .phone_carousel #mute, .phone_carousel #unmute {
        height: 20px;
        bottom: 77px;
        right: 21px;
    }
}

@media screen and (max-width: 992px) {

    .page_wrapper .left_side {
        gap: 50px;
    }

    .page_wrapper .left_side .logo_baseline {
        width: unset;
    }

    .page_wrapper .left_side .logo_baseline svg {
        padding-left: 0;
    }

    .page_wrapper .left_side .punchline {
        margin-bottom: 530px;
    }

    .page_wrapper .right_side {
        position: absolute;
        top: 24%;
        left: calc(50% - 191px);
        width: 381px;
        height: 500px;
        z-index: 1;
    }

    .page_wrapper .right_side h2 {
        display: none;
    }

    .phone_carousel {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
    }

    .phone_carousel .right_arrow svg, .phone_carousel .left_arrow svg {
        z-index: 2;
    }

    .phone_carousel .phone_frame {
        display: none;
    }

    .phone_carousel .carousel_content {
        height: 100%;
        width: 100%;
        display: flex;
        margin: auto;
        background-image: none;
        overflow: hidden;
        border-radius: unset;
    }

    .phone_carousel .videos {
        position: absolute;
        top: unset;
        width: 100%;
        height: 100%;
        display: flex;
    }

    .phone_carousel .videos video {
        position: absolute;
        top: unset;
        left: unset;
        height: 100%;
        width: 100%;
        border-radius: 20px;
    }

    .page_wrapper .background-city {
        bottom: 0;
        left: -140%;
        width: 400%;
    }

    .phone_carousel #mute, .phone_carousel #unmute {
        height: 25px;
        bottom: 10px;
        right: 10px;
    }

    .legals_mentions {
        width: 100%;
        text-align: end;
    }

    .cookie_banner {
        width: 350px;
    }

    .cookie_title {
        font-size: 1.1rem;
    }

}

@media screen and (max-width: 575px) {
    .page_wrapper .left_side .punchline h1 {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 500px) {
    .page_wrapper .left_side .punchline h1 {
        font-size: 1.6rem;
    }

    .cookie_banner {
        width: 300px;
        padding: 20px 10px;
    }

    .cookie_banner p {
        font-size: 0.8rem;
        line-height: 1.3rem;
    }

    .phone_carousel #mute, .phone_carousel #unmute {
        height: 22px;
        bottom: 10px;
        right: 10px;
    }

    .copyright p, .legals_mentions {
        font-size: 0.7rem;
        line-height: 1rem;
    }
}

@media screen and (max-width: 475px) {
    .page_wrapper .left_side .keep_in_touch h2 {
        font-size: 1.7rem;
        line-height: 1.7rem;
    }

    .page_wrapper .left_side .punchline h1 {
        font-size: 1.5rem;
    }

    .page_wrapper .left_side .social_medias a {
        height: 25px;
    }

    .page_wrapper .left_side .keep_in_touch {
        min-width: 250px;
    }

    .page_wrapper .left_side .keep_in_touch .input .input_inner input {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 450px) {
    .page_wrapper .left_side .punchline h1 {
        font-size: 1.3rem;
    }

    .page_wrapper .left_side .coming_soon {
        width: 60%;
    }

    .cookie_banner {
        width: 280px;
        padding: 20px 10px;
    }

    .cookie_banner p {
        font-size: 0.7rem;
        line-height: 1.1rem;
    }

    .cookie_buttons button {
        padding: 5px 16px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .legals_mentions {
        bottom: 50px;
        right: 0;
    }

    .copyright p, .legals_mentions {
        text-align: center;
    }
}

@media screen and (max-width: 390px) {
    .page_wrapper .right_side {
        left: calc(50% - 175px);
        width: 350px;
        height: 444px;
    }

    .page_wrapper .left_side .punchline h1 {
        font-size: 1.15rem;
    }

    .page_wrapper .left_side .keep_in_touch h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .phone_carousel .carousel_content {
        border-radius: unset;
    }

    .page_wrapper .left_side .social_medias a {
        height: 25px;
    }

    .page_wrapper .left_side .keep_in_touch {
        min-width: 250px;
    }

    .page_wrapper .left_side .keep_in_touch .input .input_inner input {
        font-size: 0.7rem;
    }

    .page_wrapper .left_side .punchline {
        margin-bottom: 470px;
    }
}

@media screen and (max-width: 350px) {
    .page_wrapper .left_side .punchline h1 {
        font-size: 1.05rem;
    }

    .page_wrapper .right_side {
        left: calc(50% - 160px);
        width: 320px;
        height: 391px;
        top: 26%;
    }

    .page_wrapper .left_side .punchline {
        margin-bottom: 410px;
    }

    .phone_carousel .videos video {
        box-shadow: none;
    }

    /*.terms_checkbox {*/
    /*    left: 14px;*/
    /*}*/
}

@media screen and (max-width: 320px) {
    .page_wrapper .right_side {
        left: calc(50% - 150px);
        width: 300px;
        height: 354px;
        top: 27%;
    }

    .page_wrapper .left_side .punchline {
        margin-bottom: 370px;
    }

    .page_wrapper .left_side .punchline h1 {
        font-size: 0.96rem;
    }
}

@media screen and (min-width: 992px) and (max-height: 750px) {
    .page_wrapper .left_side .logo_baseline {
        max-width: 550px;
    }

    .page_wrapper .left_side .logo_baseline svg {
        height: 100px;
    }

    .page_wrapper .left_side .punchline {
        max-width: 550px;
    }

    .page_wrapper .left_side .punchline h1 {
        font-size: 1.98rem;
    }

    .page_wrapper .left_side .keep_in_touch {
        gap: 12px;
    }

    .page_wrapper .left_side .coming_soon {
        width: 50%;
    }

    .phone_carousel .phone_frame {
        width: 230px;
        position: relative;
        z-index: 2;
    }

    .phone_carousel .videos video {
        top: calc(50% - 170px);
        left: calc(50% - 93px);
        height: 330px;
        width: 186px;
    }

    .phone_carousel #play, .phone_carousel #pause {
        height: 30px;
        top: calc(50% - 15px);
        left: calc(50% - 15px);
    }

    .phone_carousel #mute, .phone_carousel #unmute {
        height: 20px;
        bottom: 90px;
        right: 23px;
    }
}

@media screen and (min-width: 992px) and (max-height: 600px) {
    .page_wrapper .left_side .logo_baseline {
        max-width: 475px;
    }

    .page_wrapper .left_side .punchline {
        max-width: 475px;
    }

    .page_wrapper .left_side .punchline h1 {
        font-size: 1.71rem;
    }

    .page_wrapper .left_side .coming_soon {
        width: 45%;
    }

    .page_wrapper .left_side .keep_in_touch h2 {
        font-size: 2rem;
        line-height: 2rem;
    }

    .page_wrapper .left_side .social_medias a {
        height: 25px;
    }

    .page_wrapper .right_side h2 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

    .phone_carousel .phone_frame {
        width: 180px;
    }

    .phone_carousel .videos video {
        top: calc(50% - 130px);
        left: calc(50% - 72px);
        height: 260px;
        width: 146px;
    }

    .phone_carousel #play, .phone_carousel #pause {
        height: 24px;
        top: calc(50% - 12px);
        left: calc(50% - 12px);
    }

    .phone_carousel #mute, .phone_carousel #unmute {
        height: 20px;
        bottom: 69px;
        right: 17px;
    }

    .page_wrapper .left_side .logo_baseline svg {
        height: 80px;
    }

}