/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    }
    
    body{
    font-family:"Segoe UI",Roboto,Arial;
    height:100vh;
    color:#0f172a;
    }
    
    
    /* LAYOUT GLOBAL */
    
    .hero{
    display:flex;
    min-height:100vh;
    }
    
    
    /* COLONNE GAUCHE */
    
    .hero-left{
    width:50%;
    background:white;
    display:flex;
    flex-direction:column;
    }
    
    
    /* HEADER */
    
    .header{

        position:relative;
        
        background:linear-gradient(135deg,#2563eb,#7c3aed);
        
        color:white;
        
        padding:20px 35px 80px 35px;
        
        overflow:hidden;
        
        }
        
        /* contenu du header */
        
        .header-content{
        
        display:flex;
        
        justify-content:space-between;
        
        align-items:center;
        
        position:relative;
        
        z-index:2;
        
        }
        
        /* logo */
        
        .logo img{
        height:40px;
        }
        
        /* icones */
        
        .nav-icons a{
        
        color:white;
        
        margin-left:20px;
        
        font-size:18px;
        
        text-decoration:none;
        
        }
        
        /* VAGUE */
        
        .header-wave{
        
        position:absolute;
        
        bottom:-1px;
        
        left:0;
        
        width:100%;
        
        height:120px;
        
        }
    
    
    /* COURBE PRINCIPALE */
    
    .header::after{
    
    content:"";
    
    position:absolute;
    
    left:-20%;
    
    bottom:-40px;
    
    width:140%;
    
    height:90px;
    
    background:white;
    
    border-radius:100%;
    
    }
    
    
    /* COURBE TRANSPARENTE */
    
    .header::before{
    
    content:"";
    
    position:absolute;
    
    left:-10%;
    
    bottom:-25px;
    
    width:120%;
    
    height:70px;
    
    background:rgba(255,255,255,0.3);
    
    border-radius:100%;
    
    }
    
    
    /* LOGO */
    
    .logo img{
    height:80px;
    position:relative;
    z-index:2;
    }
    
    
    /* ICONES */
    
    .nav-icons a{
    color:white;
    margin-left:20px;
    font-size:18px;
    text-decoration:none;
    position:relative;
    z-index:2;
    }
    
    
    /* CONTENU CENTRE */
    
    .left-content{
    
    flex:1;
    
    display:flex;
    
    flex-direction:column;
    
    justify-content:center;
    
    align-items:center;
    
    gap:50px;
    
    padding:40px;
    
    }
    
    
    /* STATS BOX */
    
    .stats-box{
    
    position:relative;
    
    width:420px;
    
    height:200px;
    
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    
    border-radius:14px;
    
    padding:30px;
    
    display:flex;
    
    justify-content:flex-end;
    
    align-items:center;
    
    color:white;
    
    box-shadow:0 20px 40px rgba(0,0,0,0.2);
    
    }
    
    
    /* IMAGE PROF */
    
    .hero-image{
    
    position:absolute;
    
    left:-10px;
    
    bottom:0px;
    
    width:220px;
    
    }
    
    
    /* TEXTE STATS */
    
    .stats{
    text-align:right;
    z-index:2;
    position:relative;
    }
    
    .stats h1{
    font-size:72px;
    font-weight:800;
    line-height:1;
    }
    
    .stats p{
    font-size:20px;
    z-index:2;
    }
    
    
    /* DEVENEZ FORMATEUR */
    
    .become-formateur{
    
    text-align:center;
    
    max-width:420px;
    
    }
    
    .become-formateur h3{

        font-size:30px;
        
        margin-bottom:10px;
        
        background:linear-gradient(135deg,#2563eb,#7c3aed);
        
        background-clip:text;
        -webkit-background-clip:text;
        
        color:transparent;
        -webkit-text-fill-color:transparent;
        
        }
    
    .become-formateur p{
    
    font-size:19px;
    
    margin-bottom:10px;
    
    }
    
    .become-formateur a{
    
    font-size:20px;
    
    font-weight:600;
    
    color:#2563eb;
    
    text-decoration:none;
    
    }
    
    .become-formateur a:hover{
    text-decoration:underline;
    }
    
    
    /* COLONNE DROITE */
    
    .hero-right{
    
    width:50%;
    
    background:url("../../Image/chimie.png") center/cover no-repeat;
    
    display:flex;
    
    align-items:center;
    
    justify-content:center;
    
    padding:40px;
    
    }
    
    
    /* LOGIN */
    
    .login-card{
    
    width:360px;
    
    background:white;
    
    padding:35px;
    
    border-radius:16px;
    
    box-shadow:0 25px 50px rgba(0,0,0,0.25);
    
    }
    
    .login-card h2{
    
    text-align:center;
    
    margin-bottom:25px;
    font-size:20px;
    
    font-weight:600;
    
    color:#2563eb;
    
    text-decoration:none;
    
    }
    
    
    /* INPUT */
    
    .login-card input{
    
    width:100%;
    
    padding:12px;
    
    margin-bottom:15px;
    
    border-radius:8px;
    
    border:1px solid #cbd5e1;
    
    font-size:14px;
    
    }
    
    .login-card input:focus{
    
    outline:none;
    
    border-color:#2563eb;
    
    box-shadow:0 0 0 2px rgba(37,99,235,0.2);
    
    }
    
    
    /* BOUTON */
    
    .login-card button{
    
        width:100%;
        padding:12px;
      
        font-size:16px;
        font-weight:bold;
      
        background:linear-gradient(135deg,rgb(15,175,238),rgba(224,14,231,0.15));
        color:white;
      
        border:none;
        border-radius:10px;
      
        cursor:pointer;
      
        transition:background 0.3s ease, transform 0.2s ease;
      
        box-shadow:0 8px 20px rgba(0,0,0,0.2);
      }
    
    .login-card button:hover{
    
        background:linear-gradient(135deg,rgba(15,149,238,0.25),rgba(14,188,231,0.15));
        transform:scale(1.02);
      }
    
    
    /* MESSAGE */
    
    #message{
    
    margin-top:10px;
    
    text-align:center;
    
    color:#dc2626;
    
    font-size:13px;
    
    }
    
    
    /* RESPONSIVE */
    
    @media (max-width:900px){
    
    .hero{
    flex-direction:column;
    }
    
    
    /* pleine largeur */
    
    .hero-left,
    .hero-right{
    width:100%;
    }
    
    
    /* login en haut */
    
    .hero-right{
    order:2;
    padding:60px 20px;
    }
    
    .hero-left{
    order:1;
    }
    
    
    /* stats responsive */
    
    .stats-box{
    width:100%;
    max-width:420px;
    }
    
    
    /* image plus petite */
    
    .hero-image{
    width:180px;
    left:-5px;
    bottom:0px;
    z-index:1;
    }
    
    }
    /* CONTAINER GLOBAL */

.stats-container{
    display:flex;
    gap:20px;
    align-items:stretch;
    }
    
    
    /* COLONNE DROITE */
    
    .stats-side{
    display:flex;
    flex-direction:column;
    gap:20px;
    width:140px;
    }
    
    
    /* BOX HOMME */
    
    .stats-box-homme{
    
    flex:1;
    
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    
    border-radius:14px;
    
    display:flex;
    
    flex-direction:column;
    
    align-items:center;
    
    justify-content:center;
    
    color:white;
    
    position:relative;
    
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
    
    }
    
    
    /* BOX FEMME */
    
    .stats-box-femme{
    
    flex:1;
    
    background:linear-gradient(135deg,#ec4899,#f472b6);
    
    border-radius:14px;
    
    display:flex;
    
    flex-direction:column;
    
    align-items:center;
    
    justify-content:center;
    
    color:white;
    
    position:relative;
    
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
    
    }
    
    
    /* IMAGE HOMME FEMME */
    
    .gender-img{
    
    position:absolute;
    
    bottom:5px;
    
    left:5px;
    
    width:45px;
    
    opacity:0.6;
    
    }
    
    
    /* CHIFFRES */
    
    .stats-box-homme h2,
    .stats-box-femme h2{
    
    font-size:36px;
    
    font-weight:800;
    
    }
    /* MOBILE STRICT */
    /* RESPONSIVE */
    
    @media (max-width:768px){

        .hero{
        flex-direction:column;
        }
        
        .hero-left,
        .hero-right{
        width:100%;
        }
        
        .hero-right{
        order:2;
        padding:40px 20px;
        }
        
        .hero-left{
        order:1;
        }
        
        
        /* STATS */
        
        .stats-container{
        flex-direction:column;
        align-items:center;
        }
        
        
        /* HOMME FEMME côte à côte */
        
        .stats-side{
        flex-direction:row;
        gap:15px;
        width:100%;
        max-width:420px;
        }
        
        
        /* blocs carrés */
        
        .stats-box-homme,
        .stats-box-femme{
        flex:1;
        height:120px;
        }
        
        
        /* texte plus petit */
        
        .stats-box-homme h2,
        .stats-box-femme h2{
        font-size:26px;
        }
        
        
        /* image principale */
        
        .hero-image{
        width:160px;
        left:-5px;
        }
        
        }