.elementor-5811 .elementor-element.elementor-element-cd6f3df{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:768px){.elementor-5811 .elementor-element.elementor-element-cd6f3df{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-d860d82 *//* Styles généraux du conteneur du formulaire */
.cdch-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
}

.cdch-form h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.2em;
    font-weight: 600;
}

.cdch-form h3 {
    color: #34495e;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.6em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.cdch-form p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #555;
}

/* Styles des groupes de champs */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    color: #555;
    box-sizing: border-box; /* Important pour que le padding n'augmente pas la largeur */
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="url"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.form-group textarea {
    resize: vertical; /* Permet de redimensionner verticalement */
    min-height: 80px;
}

/* Styles pour les groupes de radio et checkbox */
.radio-group, .checkbox-group {
    margin-top: 10px;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    vertical-align: middle;
}

.radio-group label,
.checkbox-group label {
    display: inline-block;
    margin-right: 15px;
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5; /* Assure un bon espacement pour les cases à cocher */
}

.checkbox-group label {
    margin-bottom: 8px;
}

/* Styles pour les notes/petits textes d'explication */
.form-note {
    display: block;
    font-size: 0.9em;
    color: #7f8c8d;
    margin-top: 5px;
    line-height: 1.4;
}

/* Styles des boutons de navigation */
.cdch-form button {
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cdch-form button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.cdch-form button.prev-btn {
    background-color: #95a5a6;
    margin-right: 15px;
}

.cdch-form button.prev-btn:hover {
    background-color: #7f8c8d;
}

.cdch-form button.submit-btn {
    background-color: #27ae60;
}

.cdch-form button.submit-btn:hover {
    background-color: #229954;
}

/* Styles pour les sections du formulaire */
.form-section {
    padding: 20px 0;
    border-top: 1px dashed #e0e0e0;
    margin-top: 25px;
}

.form-section:first-of-type {
    border-top: none;
    margin-top: 0;
}

/* Progress Bar (optionnel, si vous voulez l'ajouter) */
.progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 30px;
    height: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #3498db;
    border-radius: 5px;
    transition: width 0.4s ease-in-out;
}

/* Responsive Design basique */
@media (max-width: 768px) {
    .cdch-wrapper {
        margin: 20px;
        padding: 20px;
    }

    .cdch-form h2 {
        font-size: 1.8em;
    }

    .cdch-form h3 {
        font-size: 1.4em;
    }

    .cdch-form button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .cdch-form button.prev-btn {
        margin-right: 0;
    }
}

/* Styles pour l'indicateur de progression */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 10px;
    position: relative;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 1;
    transform: translateY(-50%);
}

.progress-indicator .step {
    position: relative;
    z-index: 2;
    background-color: #e0e0e0;
    color: #888;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0; /* Empêche les bulles de se réduire */
    margin: 0 5px; /* Petit espace entre les bulles */
}

.progress-indicator .step span {
    display: none; /* Cache le texte des étapes par défaut pour les petits écrans */
}

.progress-indicator .step.active,
.progress-indicator .step.completed {
    background-color: #3498db;
    color: white;
}

.progress-indicator .step.completed {
    background-color: #27ae60; /* Vert pour les étapes complétées */
}

/* Texte sous les bulles pour les étapes */
.progress-indicator .step::after {
    content: attr(data-label); /* Utilise un attribut data-label pour le texte */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    font-size: 0.8em;
    color: #555;
    white-space: nowrap;
    transition: color 0.3s ease;
    display: block; /* Toujours visible par défaut sur les grands écrans */
}

.progress-indicator .step.active::after,
.progress-indicator .step.completed::after {
    color: #3498db;
    font-weight: bold;
}
.progress-indicator .step.completed::after {
    color: #27ae60;
}

/* Correction potentielle pour le problème d'affichage des sections */
.cdch-form .form-section {
    transition: opacity 0.4s ease-in-out;
    opacity: 0;
    position: absolute; /* Positionne les sections les unes par-dessus les autres */
    width: 100%;
    left: 0;
    top: 0;
    visibility: hidden; /* Cache complètement les sections inactives */
}

.cdch-form .form-section.active {
    opacity: 1;
    position: static; /* Remet la section active en flux normal */
    visibility: visible;
}

/* Ajustement pour le wrapper si les sections sont en position absolue */
.cdch-form {
    position: relative; /* Le formulaire devient le conteneur de référence */
    min-height: 600px; /* Hauteur minimale pour éviter le collapse */
}

/* Media query pour les petits écrans (indicateur de progression) */
@media (max-width: 768px) {
    .progress-indicator {
        flex-wrap: wrap; /* Permet aux étapes de passer à la ligne */
        justify-content: center;
    }
    .progress-indicator::before {
        display: none; /* Cache la ligne de progression */
    }
    .progress-indicator .step {
        width: 30px;
        height: 30px;
        font-size: 0.8em;
        margin: 5px;
    }
    .progress-indicator .step::after {
        content: none; /* Cache le texte sous les bulles */
    }
}/* End custom CSS */