/*==================================================
        VARIABLES
==================================================*/

:root{

    --primary:#0A58CA;
    --primary-dark:#003B95;
    --orange:#ff7a00;
    --white:#ffffff;
    --light:#f5f8fc;
    --text:#222;
    --gray:#777;
    --border:#e5e5e5;

}


/*==================================================
        RESET
==================================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#eef4ff,#ffffff);
    min-height:100vh;
    overflow-x:hidden;
    color:var(--text);
    position:relative;

}


/*==================================================
        BACKGROUND
==================================================*/

.bg-circle{

    position:absolute;
    border-radius:50%;
    z-index:-1;
    filter:blur(5px);

}

.circle1{

    width:320px;
    height:320px;
    background:rgba(10,88,202,.12);

    top:-120px;
    left:-120px;

}

.circle2{

    width:250px;
    height:250px;
    background:rgba(255,122,0,.12);

    right:-80px;
    top:120px;

}

.circle3{

    width:420px;
    height:420px;
    background:rgba(10,88,202,.08);

    bottom:-180px;
    right:-100px;

}


/*==================================================
        CONTAINER
==================================================*/

.container{

    width:92%;
    max-width:1450px;

    margin:auto;

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 520px;

    align-items:center;

    gap:70px;

}


/*==================================================
        COLONNE GAUCHE
==================================================*/

.left{

    padding:30px;

}


/*==================================================
        LOGO
==================================================*/

.logo{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:55px;

}

.logo img{

    width:75px;

    height:75px;

    object-fit:contain;

}

.logo h1{

    font-size:40px;

    font-weight:700;

    letter-spacing:1px;

}

.logo span{

    color:var(--orange);

}

.logo p{

    color:var(--gray);

    margin-top:4px;

    font-size:15px;

}


/*==================================================
        TITRE
==================================================*/

.left h2{

    font-size:50px;

    line-height:65px;

    font-weight:700;

    margin-bottom:20px;

}


/*==================================================
        LIGNE ORANGE
==================================================*/

.orange-line{

    width:90px;

    height:6px;

    background:var(--orange);

    border-radius:30px;

    margin-bottom:40px;

}


/*==================================================
        LISTE DES FONCTIONNALITES
==================================================*/

.feature{

    display:flex;

    align-items:center;

    gap:22px;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(10px);

    border-radius:20px;

    padding:22px;

    margin-bottom:25px;

    border:1px solid rgba(255,255,255,.7);

    box-shadow:0 12px 25px rgba(0,0,0,.05);

    transition:.35s;

}

.feature:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(0,0,0,.10);

}


/*==================================================
        ICONE
==================================================*/

.icon{

    width:68px;

    height:68px;

    border-radius:18px;

    background:linear-gradient(135deg,var(--primary),var(--primary-dark));

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:28px;

    flex-shrink:0;

}

.feature h3{

    font-size:20px;

    margin-bottom:6px;

}

.feature p{

    color:var(--gray);

    line-height:25px;

    font-size:15px;

}
/*==================================================
            COLONNE DROITE
==================================================*/

.right{

    display:flex;
    justify-content:center;
    align-items:center;

}


/*==================================================
            LOGIN CARD
==================================================*/

.login-card{

    width:100%;
    max-width:500px;

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(25px);

    border-radius:28px;

    padding:45px;

    border:1px solid rgba(255,255,255,.8);

    box-shadow:0 20px 60px rgba(0,0,0,.12);

    animation:fadeUp .8s ease;

}


/*==================================================
            TITRES
==================================================*/

.login-card h1{

    font-size:38px;

    text-align:center;

    margin-bottom:8px;

    color:var(--primary-dark);

}

.login-card p{

    text-align:center;

    color:var(--gray);

    margin-bottom:25px;

}

.center{

    margin-left:auto;
    margin-right:auto;

}


/*==================================================
            FORMULAIRE
==================================================*/

form{

    margin-top:30px;

}

label{

    display:block;

    font-weight:600;

    margin-bottom:8px;

    margin-top:20px;

    color:#333;

}


/*==================================================
            INPUT BOX
==================================================*/

.input-box{

    display:flex;

    align-items:center;

    gap:12px;

    background:white;

    border:1px solid #dddddd;

    border-radius:15px;

    padding:16px 18px;

    transition:.3s;

}

.input-box:hover{

    border-color:var(--primary);

}

.input-box:focus-within{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(10,88,202,.15);

}

.input-box i{

    color:#999;

    font-size:18px;

}

.input-box input{

    width:100%;

    border:none;

    outline:none;

    background:transparent;

    font-size:15px;

    color:#333;

    font-family:'Poppins',sans-serif;

}

.input-box input::placeholder{

    color:#999;

}


/*==================================================
            OPTIONS
==================================================*/

.options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:18px;

    margin-bottom:30px;

    font-size:14px;

}

.options label{

    display:flex;

    align-items:center;

    gap:8px;

    margin:0;

    font-weight:500;

}

.options input{

    accent-color:var(--primary);

}

.options a{

    color:var(--primary);

    text-decoration:none;

    font-weight:500;

}

.options a:hover{

    text-decoration:underline;

}


/*==================================================
            BOUTON CONNEXION
==================================================*/

.login-btn{

    width:100%;

    height:58px;

    border:none;

    border-radius:16px;

    background:linear-gradient(135deg,
    var(--primary),
    var(--primary-dark));

    color:white;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.35s;

}

.login-btn i{

    margin-right:10px;

}

.login-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(245, 246, 248, 0.35);

}


/*==================================================
            SEPARATEUR
==================================================*/

.separator{

    position:relative;

    text-align:center;

    margin:35px 0;

}

.separator::before{

    content:"";

    position:absolute;

    width:100%;

    height:1px;

    background:#ddd;

    left:0;

    top:50%;

}

.separator span{

    background:white;

    position:relative;

    padding:0 18px;

    color:#888;

}


/*==================================================
            ADMIN BUTTON
==================================================*/

.admin-btn{

    width:100%;

    height:58px;

    border-radius:16px;

    background:white;

    border:1px solid #ddd;

    color:var(--primary-dark);

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.admin-btn i{

    margin-right:10px;

}

.admin-btn:hover{

    background:var(--white);

    color:rgb(70, 23, 243);

    border-color:var(--primary);

}


/*==================================================
            CONTACT
==================================================*/

.contact{

    margin-top:28px;

    text-align:center;

    font-size:15px;

}

.contact a{

    color:var(--orange);

    text-decoration:none;

    font-weight:600;

}

.contact a:hover{

    text-decoration:underline;

}
/*==================================================
                FOOTER
==================================================*/

footer{

    width:100%;

    text-align:center;

    padding:25px;

    color:#777;

    font-size:15px;

    border-top:1px solid rgba(0,0,0,.05);

    background:transparent;

}


/*==================================================
                ANIMATIONS
==================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes slideLeft{

    from{

        opacity:0;

        transform:translateX(-50px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes slideRight{

    from{

        opacity:0;

        transform:translateX(50px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}

.left{

    animation:slideLeft .8s ease;

}

.right{

    animation:slideRight .8s ease;

}

.logo img{

    animation:float 4s ease-in-out infinite;

}


/*==================================================
            EFFETS HOVER
==================================================*/

.feature:hover .icon{

    transform:rotate(10deg) scale(1.08);

    transition:.4s;

}

.login-btn:active{

    transform:scale(.98);

}

.admin-btn:active{

    transform:scale(.98);

}


/*==================================================
            RESPONSIVE TABLETTE
==================================================*/

@media(max-width:1100px){

.container{

    grid-template-columns:1fr;

    gap:40px;

    padding:40px 20px;

}

.left{

    text-align:center;

}

.logo{

    justify-content:center;

}

.orange-line{

    margin:auto;

    margin-bottom:35px;

}

.feature{

    max-width:700px;

    margin:20px auto;

}

.right{

    margin-bottom:30px;

}

}


/*==================================================
            RESPONSIVE MOBILE
==================================================*/

@media(max-width:768px){

body{

    overflow-x:hidden;

}

.container{

    width:95%;

    padding:20px 0;

}

.left{

    display:none;

}

.login-card{

    padding:30px 25px;

    border-radius:22px;

}

.login-card h1{

    font-size:30px;

}

.login-card p{

    font-size:14px;

}

.input-box{

    padding:14px;

}

.login-btn{

    height:52px;

    font-size:16px;

}

.admin-btn{

    height:52px;

    font-size:15px;

}

.options{

    flex-direction:column;

    gap:15px;

    align-items:flex-start;

}

footer{

    font-size:13px;

    padding:18px;

}

}


/*==================================================
        PETITS SMARTPHONES
==================================================*/

@media(max-width:450px){

.login-card{

    padding:22px 18px;

}

.login-card h1{

    font-size:26px;

}

.input-box{

    padding:12px;

}

.login-btn{

    font-size:15px;

}

.admin-btn{

    font-size:14px;

}

}
.wave-bg{

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

z-index:-2;

overflow:hidden;

}

.wave-bg svg{

width:100%;

height:100%;

}


.logo-img{

width:80px;

height:80px;

object-fit:contain;

filter:drop-shadow(0 8px 20px rgba(0,0,0,.15));

animation:float 5s infinite ease-in-out;

}

.login-btn{

position:relative;

overflow:hidden;

}

.login-btn::before{

content:"";

position:absolute;

left:-120%;

top:0;

width:80%;

height:100%;

background:rgba(255,255,255,.35);

transform:skewX(-25deg);

transition:.7s;

}

.login-btn:hover::before{

left:130%;

}

