/* Formulaires Contact Form 7 MyNeon : reprend le rendu des anciens formulaires */
.col-contact .wpcf7,
.col-devis .wpcf7 { font-size: 18px; color: var(--white); }
.mn-step { display: none; }
.mn-step.is-active { display: block; animation: mnFade .35s ease; }
.mn-no-js .mn-step { display: block; }
@keyframes mnFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.col-contact .wpcf7 input[type="text"],
.col-contact .wpcf7 input[type="email"],
.col-contact .wpcf7 input[type="tel"],
.col-contact .wpcf7 textarea,
.col-devis .wpcf7 input[type="text"],
.col-devis .wpcf7 input[type="email"],
.col-devis .wpcf7 input[type="tel"],
.col-devis .wpcf7 textarea {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-family: inherit;
    font-size: 18px;
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: solid 3px #111;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    transition: border-color .2s ease;
}
.col-devis .wpcf7 input[type="text"],
.col-devis .wpcf7 input[type="email"],
.col-devis .wpcf7 input[type="tel"],
.col-devis .wpcf7 textarea { border-bottom-color: #333; }
.col-contact .wpcf7 textarea,
.col-devis .wpcf7 textarea { min-height: 140px; resize: vertical; }
.col-contact .wpcf7 input:focus,
.col-contact .wpcf7 textarea:focus,
.col-devis .wpcf7 input:focus,
.col-devis .wpcf7 textarea:focus { border-bottom-color: #fa3562; }
.wpcf7 ::placeholder { color: rgba(255, 255, 255, .55); opacity: 1; }
.mn-field + .mn-field { margin-top: 10px; }

.col-devis .mn-label {
    display: block;
    margin-bottom: 15px;
    font-size: 2rem;
    line-height: 2rem;
    font-weight: 800;
    color: var(--white);
}
.col-devis .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.col-devis .wpcf7-list-item { margin: 0; }
.col-devis .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: var(--white);
    cursor: pointer;
}
.col-devis .wpcf7-list-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    border: solid 2px var(--white);
    border-radius: 60px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.col-devis .wpcf7-list-item input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 60px;
    background-color: var(--success);
}
.mn-cols { display: flex; gap: 20px; }
.mn-cols > * { flex: 1 1 0; min-width: 0; }
.col-devis .wpcf7 input[type="file"] {
    width: 100%;
    padding: 14px 0;
    font-size: .85rem;
    color: var(--white);
    border-bottom: solid 3px #333;
}
.col-devis .wpcf7 input[type="file"]::file-selector-button {
    margin-right: 15px;
    padding: 8px 20px;
    font-family: inherit;
    font-weight: bold;
    color: var(--white);
    background: transparent;
    border: solid 2px var(--white);
    border-radius: 60px;
    cursor: pointer;
}
.mn-help { margin-top: 10px; font-size: .85rem; color: rgba(255, 255, 255, .7); }

.mn-nav { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; }
.mn-progress { width: 100px; height: 15px; padding: 4px; background-color: #222; border-radius: 30px; flex: 0 0 auto; }
.mn-progress span { display: block; height: 100%; width: 0; background-color: var(--success); border-radius: 30px; transition: width .3s ease; }
.mn-buttons { display: flex; align-items: center; gap: 10px; }
.mn-btn,
.col-contact .wpcf7 .wpcf7-submit,
.col-devis .wpcf7 .wpcf7-submit {
    padding: 12px 30px;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.2;
    color: var(--white);
    background-color: #fa3562;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: opacity .2s ease;
}
.mn-btn:hover,
.col-contact .wpcf7 .wpcf7-submit:hover,
.col-devis .wpcf7 .wpcf7-submit:hover { opacity: .85; }
.mn-btn.mn-prev { background: transparent; border: solid 2px var(--white); padding: 10px 24px; }
.mn-btn[hidden], .wpcf7-submit[hidden] { display: none !important; }
.wpcf7-spinner { margin: 0 0 0 10px; }

.col-contact .wpcf7-not-valid-tip,
.col-devis .wpcf7-not-valid-tip { margin-top: 6px; font-size: .65rem; font-weight: 500; color: var(--warning); }
.col-contact .wpcf7 form .wpcf7-response-output,
.col-devis .wpcf7 form .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 15px 20px;
    font-size: .95rem;
    color: var(--white);
    border: solid 2px var(--success);
    border-radius: 20px;
}
.col-contact .wpcf7 form.invalid .wpcf7-response-output,
.col-devis .wpcf7 form.invalid .wpcf7-response-output,
.col-contact .wpcf7 form.failed .wpcf7-response-output,
.col-devis .wpcf7 form.failed .wpcf7-response-output { border-color: var(--warning); }

@media (max-width: 575px) {
    .col-devis .mn-label { font-size: 1.5rem; line-height: 1.6rem; }
    .mn-cols { flex-direction: column; gap: 0; }
    .mn-btn, .col-contact .wpcf7 .wpcf7-submit, .col-devis .wpcf7 .wpcf7-submit { font-size: 1rem; padding: 10px 22px; }
}
