.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--xl);
}
.wpcf7-form > .wp-block-group > *:not(:first-child) {
    margin-block-start: var(--wp--preset--spacing--2-xl);
}
.wpcf7 .wp-block-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-block-start: var(--wp--preset--spacing--s);
}

.wpcf7 .wp-block-column {
    flex: 1;
}

.wpcf7 label {
    color: #404040;
}

.wpcf7 input:not([type="submit"]),
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
}

/* Style pour les accordéons */
.wpcf7 details {
    flex-direction: column;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
}

.wpcf7 summary {
    justify-content: space-between;
    padding: var(--wp--preset--spacing--s);
    background: var(--wp--preset--color--light);
    border: none;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
}
.wpcf7 .wp-block-details * {
    margin: 0;
    margin-block-end: 0 !important;
}
.wpcf7 details > *:not(summary) {
    padding: var(--wp--preset--spacing--s);
    padding-top: 0;
    margin: 0;
}

:root :where(.wpcf7 .wp-block-button .wp-block-button__link) {
    background-color: var(--wp--preset--color--dark);
    border-radius: 8px;
    border-color: var(--wp--preset--color--dark);
    border-width: 1px;
    border-top-color: var(--wp--preset--color--dark);
    border-top-width: 1px;
    border-top-style: solid;
    border-right-color: var(--wp--preset--color--dark);
    border-right-width: 1px;
    border-right-style: solid;
    border-bottom-color: var(--wp--preset--color--dark);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-left-color: var(--wp--preset--color--dark);
    border-left-width: 1px;
    border-left-style: solid;
    color: var(--wp--preset--color--light);
    font-family: var(--wp--preset--font-family--content);
    font-size: var(--wp--preset--font-size--m);
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    text-decoration: none;
}
:root :where(.wp-block-button .wp-block-button__link:hover ) {
    color: var(--wp--preset--color--light) !important;
    background-color: #404040 !important;
}
.wpcf7 .wp-block-button p {
    display: inline-block;
    position: relative;
}
.wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}