@import url('background.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* === SECTION PRINCIPALE === */
section {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* ✅ Logo */
.logo {
    width: 60px;
    position: absolute;
    top: 30px;
    left: 30px;
    transform: none;
}

/* === PARTIE FORMULAIRE === */
.form-container {
    width: 50%;
    background-color: #fff;
    color: #0b0e1f;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 40px;
    box-sizing: border-box;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Wrapper interne */
.formulaire {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Titre */
.formulaire h1 {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0b0e1f;
}

/* Description */
.formulaire p.description {
    text-align: left;
    color: #555;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
    width: 100%;
}

/* Champs */
.formulaire form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.champsRemplissage {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    margin-bottom: 10px;
    box-sizing: border-box;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.champsRemplissage:focus {
    box-shadow: 0 0 8px rgba(0,150,255,0.4);
    border-color: #0096ff;
}

/* ✅ Bouton */
.sendBtn {
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    font-size: 16px;
    border-radius: 6px;
    background: linear-gradient(90deg, #0096ff, #8c00ff);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .3s ease;
}

.sendBtn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(0,150,255,0.5);
}

/* ✅ Liens */
.liens {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    align-items: center;
}

/* Mot de passe oublié */
.liens > a:first-child {
    color: #8c00ff;
    text-decoration: none;
    font-size: 15px;
    transition: color .3s ease;
}

.liens > a:first-child:hover {
    color: #0096ff;
}

/* Bloc inscription */
.signup-block {
    display: flex;
    align-items: center;
    gap: 5px;
}

.signup-block p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.signup-block a {
    color: #8c00ff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color .3s ease;
}

.signup-block a:hover {
    color: #0096ff;
}

/* === PARTIE DROITE === */
.text-container {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 100px; /* marge intérieure plus large */
    text-align: left;
    color: white;

    background:
        radial-gradient(circle at 20% 20%, rgba(0,150,255,0.3), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(140,0,255,0.25), transparent 50%),
        #0b0e1f;
    background-repeat: no-repeat;
    animation: auraMove 12s ease-in-out infinite alternate;
}

.text-container h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.text-container p {
    font-size: 1.2em;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}

/* ✅ Blocs d’informations */
.GroupBlocks {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    justify-content: flex-start;
}

.block {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 25px 20px;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: default;
}

.block:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,150,255,0.3);
}

.emoji {
    font-size: 32px;
    margin-bottom: 10px;
}

.block h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.block p {
    font-size: 13px;
    color: #fff;
    margin: 0;
}

/* ✅ RESPONSIVE DESIGN */
@media (max-width: 992px) {
    section {
        flex-direction: column;
    }

    .form-container,
    .text-container {
        width: 100%;
        margin: 0 auto;
        padding: 30px 25px;
        border-radius: 20px;
    }
}

@media (max-width: 768px) {

    .text-container {
        display: none;
    }

    section {
        height: 100vh;
    }

    .form-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 40px 20px;
        box-shadow: none;
    }

    .formulaire {
        width: 100%;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-align: center;
    }

    .formulaire h1 {
        font-size: 2em;
    }

    .logo {
        top: 130px;
        left: 50%;
        transform: translateX(-50%);
    }
}
