/* MarketDG Contact: styles indépendants du thème principal. */
.dz-contact-section {
    margin: 54px 0 30px;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid #dbeafe;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 12px 35px rgba(30, 64, 175, .08);
    color: #1f2937;
    scroll-margin-top: 28px;
}
.dz-contact-heading { max-width: 720px; margin: 0 auto 24px; text-align: center; }
.dz-contact-kicker { color: #2563eb; text-transform: uppercase; letter-spacing: .09em; font-size: 12px; font-weight: 800; }
.dz-contact-heading h2 { margin: 8px 0 10px; font-size: clamp(25px, 3vw, 34px); color: #111827; }
.dz-contact-heading p { margin: 0; line-height: 1.65; color: #64748b; }
.dz-contact-form { max-width: 850px; margin: 0 auto; }
.dz-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dz-contact-field { min-width: 0; }
.dz-contact-field-wide { grid-column: 1 / -1; }
.dz-contact-field label { display: block; margin-bottom: 7px; font-weight: 700; color: #1f2937; }
.dz-contact-field input, .dz-contact-field textarea {
    display: block; box-sizing: border-box; width: 100%; min-width: 0;
    border: 1px solid #cbd5e1; border-radius: 10px; padding: 12px 14px;
    background: #fff; color: #111827; font: inherit; line-height: 1.5;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.dz-contact-field textarea { resize: vertical; min-height: 150px; }
.dz-contact-field input:focus, .dz-contact-field textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.dz-contact-field small { display: block; margin-top: 8px; color: #64748b; line-height: 1.5; }
.dz-contact-submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 21px; padding: 13px 22px; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 5px 12px rgba(37,99,235,.18); }
.dz-contact-submit:hover { background: #1d4ed8; }
.dz-contact-submit:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.dz-contact-feedback { margin: 0 auto 20px; max-width: 850px; padding: 13px 16px; border-radius: 10px; line-height: 1.5; }
.dz-contact-feedback.is-success { color: #166534; background: #dcfce7; border: 1px solid #86efac; }
.dz-contact-feedback.is-error { color: #991b1b; background: #fee2e2; border: 1px solid #fca5a5; }
.dz-contact-trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.footer a[href="#contact"], .nav a[href="#contact"] { color: inherit; }
body.dark-theme .dz-contact-section { background: linear-gradient(145deg, #202723 0%, #1b2635 100%); border-color: #374d6d; color: #e8eee9; }
body.dark-theme .dz-contact-heading h2, body.dark-theme .dz-contact-field label { color: #e8eee9; }
body.dark-theme .dz-contact-heading p, body.dark-theme .dz-contact-field small { color: #c0cbc3; }
body.dark-theme .dz-contact-field input, body.dark-theme .dz-contact-field textarea { background: #252d28; color: #e8eee9; border-color: #46534a; }
html[dir="rtl"] .dz-contact-section { text-align: right; }
html[dir="rtl"] .dz-contact-heading { text-align: center; }
html[dir="rtl"] .dz-contact-field input, html[dir="rtl"] .dz-contact-field textarea { text-align: right; }
@media (max-width: 650px) {
    .dz-contact-section { margin-top: 35px; padding: 22px 16px; }
    .dz-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .dz-contact-field-wide { grid-column: auto; }
    .dz-contact-submit { width: 100%; }
}

html[lang='ar'] .dz-contact-kicker { text-transform: none; letter-spacing: normal; }
