.modale-button__modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modale-button__modal.--is-open {
    opacity: 1;
    visibility: visible;
}

.modale-button__modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    cursor: pointer;
}

.modale-button__modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: white;
    padding: 32px;
    max-width: 560px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.modale-button__modal-close {
    position: absolute;
    top: 32px;
    right: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.modale-button__modal-close:hover {
    opacity: 0.7;
}

.modale-button__modal-title {
    margin: 0 0 20px 0;
    color: #000;
    font-size: 16px;
    font-weight: 700;
}

.modale-button__modal-description {
    margin-bottom: 30px;
    color: #000;
    font-size: 14px;
}

.modale-button__success-message h3 {
    color: #000;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modale-button__success-message p {
    color: #000;
    margin-bottom: 20px;
}

/* Styles pour le formulaire CF7 */
.modale-button__form .wpcf7-form .wpcf7-form-control-wrap {
    margin-bottom: 20px;
}

.modale-button__form .wpcf7-form input[type=email],
.modale-button__form .wpcf7-form input[type=tel],
.modale-button__form .wpcf7-form input[type=text],
.modale-button__form .wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    background-color: #eaeaea;
    font-size: 14px;
}

.modale-button__form .wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.modale-button__form .wpcf7-form .wpcf7-submit {
    background: #6b1f7c; /* Couleur violette d'exemple */
    color: white;
    padding: 10px 19px 7px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.modale-button__form .wpcf7-form .wpcf7-submit:hover {
    background: #5a1a69;
}

/* Style du bouton déclencheur */
.modale-button__trigger.btn-aperam {
    background: #6b1f7c;
    opacity: 1;
    position: relative;
    overflow: hidden;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
}