        body::before {
            content: "";
            position: fixed; /* L'image reste fixe même si on scroll */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            
            /* Remplace par le chemin de ton image */
            background-image: url('./porte-du-desert-maroc.jpeg'); 
            background-size: cover;
            background-position: center;
            
            /* C'est ici qu'on règle le flou */
            filter: blur(8px); 
            
            /* On baisse un peu l'opacité pour que le texte reste lisible */
            opacity: 0.6; 
            
            /* On place l'image derrière tout le monde */
            z-index: -1; 
            
            /* Pour éviter les bords blancs dus au flou */
            transform: scale(1.1); 
        }
        /* --- CARD --- */
        .login-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: calc(100vh - 70px);
            padding: 40px 20px;
            box-sizing: border-box;
        }

        .login-card {
            background: white;
            padding: 50px;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            width: 100%;
            max-width: 650px; 
            text-align: center;
            border-top: 5px solid var(--svi-red);
            border-bottom: 1.5px solid var(--svi-red);
            border-left: 1.5px solid var(--svi-red);
            border-right: 1.5px solid var(--svi-red);
            box-sizing: border-box;
        }

        .login-card h2 { color: var(--svi-red); margin-bottom: 30px; font-size: 2rem; }

        /* --- FORM LAYOUT UNIFORMISÉ --- */
        .step { display: none; width: 100%; }
        .step.active { display: block; }

        .form-block { margin-bottom: 20px; }
        .form-row { display: flex; gap: 20px; }
        .form-group { text-align: left; flex: 1; }

        .form-group label { 
            display: block; 
            margin-bottom: 8px; 
            font-weight: bold; 
            font-size: 0.9rem; 
            color: #333;
        }

        .form-group input { 
            width: 100%; 
            padding: 12px; 
            border: 1px solid #ddd; 
            border-radius: 8px; 
            box-sizing: border-box;
            font-size: 1rem;
            background-color: #f8f9fa;
        }

        /* Style identique pour Select et Date */
        .input-group select,
        .input-group input[type="date"] {
            width: 100%;
            padding: 15px 15px 15px 50px;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-size: 1rem;
            background-color: #f8f9fa;
            color: #555;
            font-family: inherit;
            box-sizing: border-box;
            appearance: none;
        }

        /* Flèche pour le select Genre */
        .input-group:has(select)::after {
            content: "\f107";
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
            pointer-events: none;
        }

        .input-group input {
            width: 100%;
            padding: 15px 15px 15px 50px;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-size: 1rem;
            background-color: #f8f9fa;
            color: #555;
            box-sizing: border-box;
            outline: none;
            transition: all 0.3s;
        }

        .input-group input:focus {
            border-color: var(--svi-red);
            background-color: #fff;
        }

        /* On force le groupe à ne pas laisser déborder la flèche */
        .input-group.select-custom {
            position: relative; 
            display: flex;
            align-items: center;
        }

        /* Cette règle gère l'esthétique de tous les menus déroulants avec la classe .select-custom */
        .input-group.select-custom::after {
            content: '\f078'; 
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            font-size: 0.8rem;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
            pointer-events: none;
            z-index: 10;
        }

        .newsletter-group {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 25px 0;
            text-align: left;
            font-size: 0.9rem;
            color: #555;
            cursor: pointer;
        }

        /* --- BOUTONS UNIFORMISÉS --- */
        .btn-next, .btn-submit, .btn-register {
            display: block;
            width: 100%; /* Largeur égale pour tous */
            padding: 16px; /* Hauteur égale */
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            text-decoration: none;
            box-sizing: border-box;
            text-align: center;
            transition: 0.3s;
        }

        .btn-next:hover {
        background-color: #e61e1a;
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(196, 28, 25, 0.5);
        }

        .btn-submit:hover {
        background-color: #e61e1a;
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(196, 28, 25, 0.5);
        }

        .btn-next, .btn-submit {
            background-color: var(--svi-red);
            color: white;
            border: none;
            margin: 20px auto;
        }

        .btn-register {
            background-color: white;
            color: var(--svi-blue);
            border: 2px solid var(--svi-blue);
            margin: 0 auto;
        }

        .btn-register:hover {
            background-color: var(--svi-blue);
            color: white;
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(45, 100, 210, 0.5);
        }

        /* Style du bouton Retour */
        .btn-prev {
            background: #f1f1f1; /* Gris très clair pour ne pas faire de l'ombre au bouton rouge */
            color: #666;
            padding: 12px 25px;
            border-radius: 12px;
            border: 1px solid #ddd;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-prev:hover {
            background: #e5e5e5;
            color: #333;
            border-color: #ccc;
            transform: translateX(-3px); /* Petit effet de mouvement vers la gauche */
        }

        /* Conteneur des boutons pour un alignement parfait */
        .step-buttons {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 30px;
        }

        .separator { margin: 25px 0; display: flex; align-items: center; color: #aaa; }
        .separator::before, .separator::after { content: ""; flex: 1; border-bottom: 1px solid #eee; }
        .separator span { padding: 0 15px; font-size: 0.85rem; }

        /* --- SOCIAL BUTTONS --- */
        .social-login-container { margin-top: 30px; width: 100%; max-width: 650px; text-align: center; }
        .social-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
        .btn-social {
            background-color: white; border: 1px solid #ddd; border-radius: 50%;
            width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
            text-decoration: none; font-size: 1.3rem; transition: 0.3s;
        }
        .btn-social.google { color: #DB4437; }
        .btn-social.apple { color: #000; }
        .btn-social.facebook { color: #4267B2; }
        .btn-social.outlook { color: #0078D4; }
        .btn-social.linkedin { color: #0077B5; }

        .btn-social:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: #d0cece;
            background-color: #f0f0f0;
        }

        .phone-input-group{
            display:flex;
            width:100%;
            border:1px solid #ccc;
            border-radius:8px;
            overflow:hidden;
            background:white;
        }

        .phone-input-group select{
            border:none;
            padding:10px;
            background:#f3f3f3;
            width:120px;
        }

        .phone-input-group input{
            border:none;
            flex:1;
            padding:10px;
            outline:none;
        }

                .label-with-help {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        font-weight: bold;
        font-size: 0.9rem;
        color: #333;
        }

        .help-tooltip {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .help-icon {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background-color: var(--svi-red);
            color: white;
            font-size: 0.75rem;
            font-weight: bold;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            user-select: none;
            transition: 0.2s;
            position: relative;
            top: -4px;
        }

        .help-icon:hover {
            transform: scale(1.1);
        }

        .help-text {
            position: absolute;
            top: 28px;
            left: 50%;
            transform: translateX(-50%);
            min-width: 220px;
            max-width: 280px;
            background: #222;
            color: white;
            font-size: 0.8rem;
            font-weight: normal;
            line-height: 1.4;
            padding: 10px 12px;
            border-radius: 8px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
            display: none;
            z-index: 999;
            text-align: left;
        }

        .help-text::before {
            content: "";
            position: absolute;
            top: -6px;
            left: 50%;
            transform: translateX(-50%);
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-bottom: 6px solid #222;
        }

        /* affichage au survol */
        .help-tooltip:hover .help-text {
            display: block;
        }

        /* affichage après clic */
        .help-tooltip.active .help-text {
            display: block;
        }
        
        #step2 .g-recaptcha {
        display: inline-block;
        margin-top: 6px;
        margin-bottom: 10px;
        transform: scale(0.90);
        transform-origin: left top;
        }

        @media (max-width: 600px) { 
            .form-row { flex-direction: column; gap: 20px; } 

                /* carte un peu plus respirante */
    .login-card {
        padding: 28px 16px;
    }

    /* espace général de la step 2 */
    #step2 {
        width: 100%;
    }

    /* tous les blocs flex inline de la page 2 passent en colonne */
    #step2 > div[style*="display: flex"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        margin-bottom: 18px !important;
        width: 100% !important;
    }

    /* les colonnes prennent toute la largeur */
    #step2 > div[style*="display: flex"] > div[style*="flex: 1"],
    #step2 > div[style*="display: flex"] > div[style*="flex: 2"] {
        width: 100% !important;
        flex: unset !important;
        min-width: 0;
    }

    /* labels plus lisibles */
    #step2 .label-with-help {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    #step2 .label-with-help label {
        font-size: 0.82rem;
        line-height: 1.15;
        letter-spacing: 0.2px;
    }

    /* icône aide un peu plus propre */
    #step2 .help-icon {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
        position: static;
        flex-shrink: 0;
    }

    /* tooltip mieux placé sur téléphone */
    #step2 .help-text {
        left: 0;
        transform: none;
        top: 28px;
        min-width: 180px;
        max-width: 240px;
        font-size: 0.76rem;
        z-index: 1000;
    }

    #step2 .help-text::before {
        left: 18px;
        transform: none;
    }

    /* champs uniformes */
    #step2 .input-group input,
    #step2 .input-group select,
    #step2 input[type="date"] {
        width: 100%;
        height: 52px;
        padding: 0 14px;
        font-size: 0.98rem;
        border-radius: 14px;
        box-sizing: border-box;
    }

    /* select avec place pour la flèche */
    #step2 .input-group.select-custom select {
        padding-right: 42px;
    }

    /* champ date plus confortable */
    #step2 .input-group input[type="date"] {
        padding-right: 14px;
    }

    /* rue / ville / pays / nationalité */
    #step2 .input-wrapper,
    #step2 > div[style*="text-align: left"] {
        width: 100% !important;
        margin-bottom: 18px !important;
    }

    /* recaptcha mieux intégré */
    #step2 .g-recaptcha {
        margin-top: 8px;
        margin-bottom: 8px;
        transform: scale(0.92);
        transform-origin: left top;
    }

    /* boutons du bas empilés proprement */
    #step2 .step-buttons {
        display: flex;
        flex-direction: column-reverse;
        gap: 12px;
        width: 100%;
        margin-top: 22px;
    }

    #step2 .btn-prev,
    #step2 .btn-submit {
        width: 100%;
        justify-content: center;
        min-height: 52px;
    }

    #step2 .g-recaptcha {
        transform: scale(0.90);
        transform-origin: center top;
    }
        
}