/* =====================================
   ETAPE 1/5
   BASE + HEADER RESPONSIVE
===================================== */


/* ===========================
   BASE
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


*{

    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;

}


html{

    scroll-behavior:smooth;

}


body{

    background:#fff;
    overflow-x:hidden;
    padding-top:80px;

}


img{

    max-width:100%;
    display:block;

}


button,
input,
select,
textarea{

    font-family:'Poppins',sans-serif;

}



/* ===========================
   HEADER
=========================== */


.topbar{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:80px;

    background:white;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 35px;

    box-shadow:0 1px 8px rgba(0,0,0,.08);

    z-index:1000;

}



/* ===========================
   MENU BUTTON
=========================== */


.btn{

    background:transparent;

    border:none;

    outline:none;

    padding:8px;

    font-size:30px;

    cursor:pointer;

}



/* ===========================
   LOGO
=========================== */


.logo-container{

    display:flex;

    align-items:center;

    gap:10px;

}


.logo{

    display:flex;

    align-items:center;

    justify-content:center;

}


.logo img{

    width:42px;

    height:42px;

    object-fit:contain;

}



.logo-container h2{

    color:#000;

    font-size:22px;

    font-weight:700;

}



/* ===========================
   HEADER BUTTONS
=========================== */


.header-buttons{

    display:flex;

    align-items:center;

    gap:12px;

}



.login,
.signup{

    height:38px;

    padding:0 18px;

    border-radius:8px;

    font-size:14px;

    cursor:pointer;

    transition:.3s;

}



.login{

    background:white;

    border:2px solid #ddd;

    color:#111;

}



.signup{

    background:#0047ff;

    color:white;

    border:none;

}



.login:hover{

    background:#f5f5f5;

}



.signup:hover{

    background:#0036c9;

}



/* ===========================
   LANGUAGE SELECT
=========================== */


.language-select{

    height:40px;

    padding:0 12px;

    border-radius:8px;

    border:2px solid #ddd;

    background:white;

    font-size:14px;

}



/* ===========================
   OVERLAY
=========================== */


#overlay{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100vh;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:900;

}



#overlay.active{

    opacity:1;

    visibility:visible;

}



/* ===========================
   SIDEBAR MENU
=========================== */


#sidebar{

    position:fixed;

    top:0;

    left:-300px;

    width:280px;

    height:100vh;

    background:white;

    padding:25px;

    transition:.3s;

    z-index:1100;

    overflow-y:auto;

}



#sidebar.active{

    left:0;

}



.menu-header h2{

    font-size:26px;

    margin-bottom:20px;

}



#sidebar ul{

    list-style:none;

}



#sidebar ul li{

    font-size:17px;

    padding:15px 0;

    border-bottom:1px solid #eee;

}



.arrow{

    font-size:20px;

}



.country{

    font-size:16px;

}



.flag{

    width:20px;

    height:15px;

    display:inline-block;

}
/* =====================================
   ETAPE 2/5
   HERO + FORMULAIRE + DECORATIONS
===================================== */


/* ===========================
   HERO SECTION
=========================== */


.hero{

    min-height:500px;

    background:#042680;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    overflow:hidden;

    padding:60px 20px;

}



.content{

    width:100%;

    max-width:900px;

    text-align:center;

    position:relative;

    z-index:5;

}



/* TITRE PRINCIPAL */

.content h1{

    color:white;

    font-size:42px;

    line-height:1.25;

    font-weight:700;

}



.content h2{

    color:white;

    font-size:28px;

    font-weight:500;

    margin:20px 0;

}



/* BARRE SEPARATION */

.separator{

    width:80px;

    height:4px;

    background:white;

    margin:28px auto;

    border-radius:10px;

}



/* DESCRIPTION */

.content p{

    color:white;

    font-size:16px;

    line-height:1.7;

    max-width:700px;

    margin:auto;

}



/* ===========================
   SEARCH BOX
=========================== */


.search-box{

    margin-top:50px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:14px;

    flex-wrap:wrap;

}



.search-box input{

    width:400px;

    height:45px;

    border:none;

    border-radius:8px;

    padding:0 20px;

    font-size:15px;

    outline:none;

}



.search-box button{

    width:110px;

    height:45px;

    border:none;

    border-radius:8px;

    background:#3558ff;

    color:white;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}



.search-box button:hover{

    background:#2549ef;

}



/* ===========================
   MESSAGE
=========================== */


.message,
#message{

    width:100%;

    margin-top:25px;

    text-align:center;

    color:#ff0000;

    font-size:17px;

    font-weight:600;

}



/* ===========================
   HERO DECORATIONS
=========================== */


.coin{

    position:absolute;

    display:none;

}



.coin1{

    left:-25px;

    top:240px;

}



.coin2{

    right:35px;

    top:60px;

}



.coin3{

    right:55px;

    bottom:60px;

}



/* ===========================
   HERO MOBILE
=========================== */


@media(max-width:700px){


    .hero{

        min-height:auto;

        padding:60px 20px;

    }



    .content h1{

        font-size:28px;

        line-height:1.3;

    }



    .content h2{

        font-size:22px;

    }



    .content p{

        font-size:15px;

    }



    .search-box{

        flex-direction:column;

        width:100%;

        gap:12px;

        margin-top:35px;

    }



    .search-box input{

        width:100%;

        max-width:340px;

        height:48px;

    }



    .search-box button{

        width:100%;

        max-width:340px;

        height:48px;

    }



}
/* =====================================
   ETAPE 3/5
   APPLICATION SECTION
===================================== */


/* ===========================
   APPLICATION SECTION
=========================== */


.app-section{

    background:#f7f7f7;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

    padding:70px 8%;

    flex-wrap:wrap;

}



/* ===========================
   TEXTE APPLICATION
=========================== */


.app-left{

    flex:1;

    min-width:300px;

}



.app-left h2{

    color:#111;

    font-size:48px;

    line-height:1.2;

    font-weight:700;

}



.app-left p{

    margin-top:25px;

    color:#555;

    font-size:20px;

    line-height:1.8;

}



/* ===========================
   STORE BUTTONS
=========================== */


.store-buttons{

    margin-top:40px;

    display:flex;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}



.store-buttons img{

    height:60px;

    width:auto;

    cursor:pointer;

    transition:.3s;

}



.store-buttons img:hover{

    transform:scale(1.05);

}



/* ===========================
   IMAGE TELEPHONE
=========================== */


.app-right{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    min-width:250px;

}



.app-right img{

    width:630px;

    max-width:100%;

}



/* ===========================
   TABLETTE
=========================== */


@media(max-width:1000px){


    .app-section{

        padding:60px 5%;

        gap:40px;

    }



    .app-left h2{

        font-size:40px;

    }



    .app-left p{

        font-size:18px;

    }



    .app-right img{

        width:380px;

    }


}



/* ===========================
   MOBILE
=========================== */


@media(max-width:700px){


    .app-section{

        flex-direction:column;

        text-align:center;

        padding:55px 20px;

        gap:35px;

    }



    .app-left{

        min-width:auto;

        width:100%;

    }



    .app-left h2{

        font-size:30px;

    }



    .app-left p{

        font-size:16px;

        line-height:1.7;

    }



    .store-buttons{

        justify-content:center;

        gap:15px;

    }



    .store-buttons img{

        height:50px;

    }



    .app-right{

        width:100%;

    }



    .app-right img{

        width:270px;

    }


}
/* =====================================
   ETAPE 4/5
   FOOTER COMPLET
===================================== */


/* ===========================
   FOOTER PRINCIPAL
=========================== */


.footer{

    background:#07184f;

    color:white;

    padding:80px 8% 25px;

    overflow:hidden;

}



/* ===========================
   FOOTER CONTAINER
=========================== */


.footer-container{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1.2fr;

    gap:40px;

    align-items:start;

}



/* ===========================
   COLONNES FOOTER
=========================== */


.footer-column{

    display:flex;

    flex-direction:column;

}



.footer-column p{

    color:#d5d9ff;

    line-height:1.8;

    margin-bottom:25px;

    font-size:15px;

}



.footer-column h3{

    font-size:22px;

    margin-bottom:25px;

    color:white;

}



.footer-column a{

    color:white;

    text-decoration:none;

    margin-bottom:14px;

    transition:.3s;

}



.footer-column a:hover{

    color:#7fa6ff;

}



/* ===========================
   LOGO FOOTER
=========================== */


.footer-logo{

    font-size:38px;

    font-weight:700;

    margin-bottom:20px;

}



/* ===========================
   IMAGE FOOTER
=========================== */


.footer-image{

    justify-self:end;

}



.footer-image img{

    width:450px;

    max-width:100%;

    height:auto;

}



/* ===========================
   RESEAUX SOCIAUX
=========================== */


.socials{

    display:flex;

    gap:15px;

}



.socials a{

    width:46px;

    height:46px;

    border-radius:50%;

    background:#2044d8;

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:20px;

    transition:.3s;

}



.socials a:hover{

    transform:translateY(-5px);

    background:#3e64ff;

}



/* ===========================
   QR CODE + STORES
=========================== */


.qr{

    width:140px;

    margin-bottom:20px;

    border-radius:10px;

}



.stores{

    display:flex;

    flex-direction:column;

    gap:12px;

}



.stores img{

    width:180px;

    max-width:100%;

    cursor:pointer;

    transition:.3s;

}



.stores img:hover{

    transform:scale(1.05);

}



/* ===========================
   COPYRIGHT
=========================== */


.copyright{

    border-top:1px solid rgba(255,255,255,.15);

    margin-top:50px;

    padding-top:25px;

    text-align:center;

    color:#cfd5ff;

    font-size:14px;

}



/* ===========================
   TABLETTE FOOTER
=========================== */


@media(max-width:1000px){


    .footer-container{

        grid-template-columns:1fr 1fr;

        gap:40px;

    }



    .footer-image{

        justify-self:center;

    }


}



/* ===========================
   MOBILE FOOTER
=========================== */


@media(max-width:700px){


    .footer{

        padding:60px 20px 25px;

        text-align:center;

    }



    .footer-container{

        grid-template-columns:1fr;

        gap:35px;

    }



    .footer-column{

        align-items:center;

    }



    .footer-logo{

        font-size:30px;

    }



    .footer-image{

        justify-self:center;

        width:100%;

    }



    .footer-image img{

        width:300px;

        margin:auto;

    }



    .socials{

        justify-content:center;

    }



    .stores{

        align-items:center;

    }



    .qr{

        width:120px;

    }



    .copyright{

        margin-top:35px;

        font-size:13px;

    }


}
/* =====================================
   ETAPE 5/5
   RESPONSIVE FINAL
===================================== */


/* ===========================
   TABLETTE
=========================== */


@media (max-width:1000px){


    body{

        padding-top:75px;

    }



    .topbar{

        height:75px;

        padding:0 25px;

    }



    .logo-container h2{

        font-size:20px;

    }



    .content h1{

        font-size:36px;

    }



    .search-box input{

        width:350px;

    }


}




/* ===========================
   MOBILE GENERAL
=========================== */


@media(max-width:700px){



    body{

        padding-top:70px;

    }



    /* HEADER MOBILE */

    .topbar{

        height:70px;

        padding:0 15px;

    }



    .logo-container{

        gap:7px;

        justify-content:center;

        flex:1;

    }



    .logo img{

        width:34px;

        height:34px;

    }



    .logo-container h2{

        font-size:17px;

    }



    .header-buttons{

        gap:5px;

    }



    .header-buttons .login,
    .header-buttons .signup{


        height:34px;

        padding:0 10px;

        font-size:11px;


    }



    .language-select{

        display:none;

    }




    /* MENU MOBILE */


    #sidebar{

        width:270px;

    }



    #sidebar ul li{

        font-size:16px;

    }




    /* TITRES */

    h1{

        font-size:28px;

    }



    h2{

        font-size:24px;

    }



    h3{

        font-size:20px;

    }




    /* BLOCS */

    section{

        width:100%;

        overflow:hidden;

    }



    /* IMAGES */

    img{

        max-width:100%;

        height:auto;

    }




    /* BOUTONS */

    button{

        max-width:340px;

    }



}





/* ===========================
   PETITS TELEPHONES
   320px - 480px
=========================== */


@media(max-width:480px){



    .topbar{

        padding:0 10px;

    }



    .btn{

        font-size:25px;

    }



    .logo img{

        width:30px;

        height:30px;

    }



    .logo-container h2{

        font-size:15px;

    }



    .header-buttons .login,
    .header-buttons .signup{

        width:65px;

        padding:0;

        font-size:10px;

    }




    .hero{

        padding:45px 15px;

    }



    .content h1{

        font-size:25px;

    }



    .content h2{

        font-size:20px;

    }



    .content p{

        font-size:14px;

    }




    .search-box input,
    .search-box button{

        max-width:300px;

    }




    .app-left h2{

        font-size:26px;

    }



    .store-buttons{

        flex-direction:column;

        align-items:center;

    }



    .store-buttons img{

        height:45px;

    }



}





/* ===========================
   TRES PETITS ECRANS
   320px
=========================== */


@media(max-width:360px){



    .logo-container h2{

        display:none;

    }



    .header-buttons .login,
    .header-buttons .signup{

        width:60px;

        font-size:9px;

    }



    .content h1{

        font-size:23px;

    }



    .content h2{

        font-size:18px;

    }



    .search-box input,
    .search-box button{

        max-width:270px;

    }



    .app-right img{

        width:230px;

    }



}



/* ===========================
   SECURITE RESPONSIVE
=========================== */


*{

    max-width:100%;

}



html,
body{

    overflow-x:hidden;

}



input,
textarea,
select{

    font-size:16px;

}



button,
a{

    -webkit-tap-highlight-color:transparent;

}