/* ===== GOOGLE FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

/* ===== FORM WRAPPER ===== */
.wpcf7 {
    max-width: 680px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    font-family: "Raleway", sans-serif;
}

/* ===== LABELS (compact) ===== */
.wpcf7 label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

/* ===== INPUTS ===== */
.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f7f9fc;
    font-size: 14px;
    font-family: "Raleway", sans-serif;
    transition: all 0.25s ease;
}

/* focus clean medical */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #2a7de1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(42,125,225,0.12);
}

/* ===== TEXTAREA (réduit hauteur) ===== */
.wpcf7 textarea {
    min-height: 85px;
    max-height: 140px;
    resize: vertical;
}

/* ===== ESPACEMENT GLOBAL RÉDUIT ===== */
.wpcf7 p {
    margin-bottom: 12px;
}

/* ===== ACCEPTANCE RGPD ===== */
.wpcf7 .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #555;
    line-height: 1.4;
    padding: 6px 0;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 2px;
    width: 15px;
    height: 15px;
    accent-color: #2a7de1;
}

/* ===== BUTTON PREMIUM ===== */
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #2a7de1, #1d5fbf);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 26px rgba(42,125,225,0.25);
}

/* hover */
.wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(42,125,225,0.3);
}

/* ===== RESPONSE MESSAGE ===== */
.wpcf7-response-output {
    border-radius: 12px;
    padding: 12px;
    font-size: 13px;
    margin-top: 15px;
}

/* ===== subtle animation ===== */
.wpcf7 {
    animation: fadeInForm 0.5s ease;
}

@keyframes fadeInForm {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}