/*
Theme Name: SMARC15
Theme URI: https://smarc15.fr/
Description: Child theme for Twenty Twenty-Five (block theme).
Author: Julien Fernandes
Template: twentytwentyfive
Version: 1.0.0
Text Domain: smarc15
*/

/* ===== CONTACT FORM 7 - STYLE MODERNE ===== */

.wpcf7 {
    max-width: 650px;
    margin: 0 auto;
    padding: 30px;
    background: grey;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    font-family: inherit;
}

.wpcf7 form p {
    margin-bottom: 18px;
}

.wpcf7 label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
    width: -webkit-fill-available;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    background: #f9f9f9;
    transition: all 0.2s ease;
    outline: none;
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: var(--wp--preset--color--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

/* Bouton envoyer */
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--wp--preset--color--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37,99,235,0.25);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0px);
}

/* Messages CF7 */
.wpcf7-response-output {
    border-radius: 10px;
    padding: 14px;
    font-weight: 600;
    margin-top: 20px;
}

/* Erreurs champs */
.wpcf7-not-valid {
    border-color: #ef4444 !important;
    background: #fff5f5 !important;
}

.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 600px) {
    .wpcf7 {
        padding: 20px;
    }
}
