.elementor-4568 .elementor-element.elementor-element-0a6f1e6{--display:flex;}/* Start custom CSS for html, class: .elementor-element-5120e0c *//* 1. Structure du conteneur global (la carte blanche) */
.hbc-form-wrapper {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    max-width: 800px;
    margin: 0 auto;
}

/* 2. Police et Titres (si tu les as mis dans le formulaire) */
.ff-el-form-control, .ff-el-is-required label, .ff-el-input--label {
    font-family: 'Poppins', sans-serif !important;
}

/* 3. Style des Labels (Prénom, Nom, etc.) */
.fluentform .ff-el-input--label label {
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

/* 4. Style des Inputs (Gris clair de la maquette) */
.fluentform .ff-el-form-control {
    background-color: #f9f9f9 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    color: #555 !important;
    height: auto !important;
}

.fluentform .ff-el-form-control:focus {
    border-color: #2ecc71 !important;
    background-color: #fff !important;
    outline: none !important;
}

/* 5. Le Bouton "Envoyer" (Vert flashy arrondi) */
.fluentform .ff-btn-submit {
    background-color: #2ecc71 !important;
    border: none !important;
    color: white !important;
    padding: 16px 0px !important;
    border-radius: 50px !important; /* Très arrondi comme sur l'image */
    font-weight: 700 !important;
    font-size: 16px !important;
    width: 100% !important; /* Prend toute la largeur */
    margin-top: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.fluentform .ff-btn-submit:hover {
    background-color: #27ae60 !important;
    transform: translateY(-2px) !important;
}

/* 6. Case à cocher (Consentement) */
.ff-el-form-check label {
    font-size: 13px !important;
    color: #666 !important;
}

.ff-el-form-check label span {
    color: #2ecc71 !important;
    text-decoration: underline !important;
}

/* Layout Global */
.hbc-registration-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: start;
}

/* En-tête de page */
.hbc-form-intro { text-align: center; margin-bottom: 30px; }
.hbc-badge-top { 
    color: #2ecc71; border: 1px solid #2ecc71; padding: 5px 15px; 
    border-radius: 50px; font-size: 0.85rem; font-weight: 600; 
}
.hbc-page-title { font-size: 2.8rem; font-weight: 800; margin: 20px 0 10px; color: #1a1a1a; }
.hbc-page-title span { color: #2ecc71; }
.hbc-page-subtitle { color: #666; max-width: 500px; margin: 0 auto; line-height: 1.5; }

/* Sidebar Cards */
.hbc-sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.hbc-sidebar-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; color: #1a1a1a; }

/* Style Spécifique Tarifs (Le bloc vert) */
.card-pricing { background: #2ecc71; color: white; }
.card-pricing h3 { color: white; }
.price-item { 
    display: flex; justify-content: space-between; 
    padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.2); 
}
.price-footer { font-size: 0.8rem; margin-top: 15px; opacity: 0.9; font-style: italic; }

/* Checklist Documents */
.hbc-checklist { list-style: none; padding: 0; margin-bottom: 20px; }
.hbc-checklist li { position: relative; padding-left: 25px; margin-bottom: 10px; font-size: 0.9rem; color: #444; }
.hbc-checklist li::before { content: '✓'; position: absolute; left: 0; color: #2ecc71; font-weight: bold; }

.hbc-btn-outline {
    display: block; text-align: center; padding: 12px; border-radius: 50px;
    background: #f0f2f5; color: #1a1a1a; text-decoration: none; font-weight: 600; font-size: 0.9rem;
}

/* Bloc Aide */
.contact-info a { display: block; color: #2ecc71; text-decoration: none; font-weight: 600; margin-top: 10px; }

/* --- NOUVEAU RESPONSIVE SÉCURISÉ --- */

@media (max-width: 992px) {
    /* 1. On change le mode d'affichage pour éviter les bugs de grille */
    .hbc-registration-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
        margin-top: 20px;
        padding: 0 15px !important; /* Marge de sécurité pour pas que ça colle aux bords */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hbc-column-main, .hbc-column-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* 2. On réduit les paddings internes */
    .hbc-form-wrapper {
        padding: 30px 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Titres */
    .hbc-page-title {
        font-size: 1.8rem !important;
    }

    /* 4. Ordre : Formulaire d'abord, Sidebar ensuite */
    .hbc-column-main { order: 1; }
    .hbc-column-sidebar { order: 2; }
}

@media (max-width: 600px) {
    /* 5. Sécurité anti-débordement pour Fluent Forms */
    .fluentform, .ff-form-id-1 { /* Remplace 1 par ton ID si besoin */
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .fluentform .ff-t-container {
        display: block !important;
        width: 100% !important;
    }
    
    .fluentform .ff-t-cell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 15px !important;
        padding: 0 !important;
    }

    /* 6. On ajuste les paddings des cartes d'info */
    .hbc-sidebar-card {
        padding: 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hbc-page-title {
        font-size: 1.5rem !important;
    }

    .hbc-page-subtitle {
        font-size: 0.9rem !important;
    }
}

/* CORRECTIF FINAL : Empêche tout élément de pousser la page à droite */
.hbc-registration-layout *, .hbc-registration-layout {
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

.hbc-registration-layout {
    padding-top: 80px !important;
    margin-top: 0 !important;
}/* End custom CSS */