.qz-contact-page .qz-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    font-weight: 700;
    color: var(--qz-brand, #f5803e);
    background: rgba(245, 128, 62, .12);
    padding: .35rem .75rem;
    border-radius: 999px;
}

.qz-contact-form .form-label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
}

.qz-contact-form .form-control {
    width: 100%;
}

.qz-contact-form textarea.form-control {
    resize: vertical;
}

.qz-contact-form .form-control:focus {
    border-color: var(--qz-brand, #f5803e);
    box-shadow: 0 0 0 .2rem rgba(245, 128, 62, .16);
}

.qz-contact-form .form-control.is-invalid {
    background-image: none;
}

.qz-contact-form .qz-contact-client-error {
    margin-top: .25rem;
    font-size: .8125rem;
}

.qz-contact-form .qz-contact-status {
    margin-bottom: .75rem;
}

/* Cartes et champs : contraste explicite dans les deux thèmes. Les règles
   utilisent !important car la page possède aussi des styles inline hérités. */
.qz-contact-card {
    border: 1px solid #d8e2ef !important;
    background: #ffffff !important;
    box-shadow: 0 .65rem 2rem rgba(28, 39, 60, .10) !important;
}

.qz-contact-intro {
    border: 1px solid rgba(245, 128, 62, .28);
    box-shadow: 0 .45rem 1.5rem rgba(28, 39, 60, .06);
}

.qz-contact-card .form-control {
    color: #273449;
    background-color: #ffffff;
    border-color: #cbd6e4;
}

.qz-contact-card .form-control::placeholder {
    color: #7a8799;
}

[data-bs-theme="light"] .qz-contact-intro {
    border-color: rgba(245, 128, 62, .32);
}

[data-bs-theme="dark"] .qz-contact-card {
    border-color: #465670 !important;
    background: #172235 !important;
    box-shadow: 0 .75rem 2.25rem rgba(0, 0, 0, .28) !important;
}

[data-bs-theme="dark"] .qz-contact-intro {
    border-color: #80563f;
    background: linear-gradient(135deg, rgba(245,128,62,.19), rgba(245,128,62,.08));
    box-shadow: 0 .55rem 1.75rem rgba(0, 0, 0, .22);
}

[data-bs-theme="dark"] .qz-contact-card h2,
[data-bs-theme="dark"] .qz-contact-intro h2,
[data-bs-theme="dark"] .qz-contact-item .fw-semibold {
    color: #f5f7fb;
}

[data-bs-theme="dark"] .qz-contact-card .text-muted,
[data-bs-theme="dark"] .qz-contact-intro .text-muted,
[data-bs-theme="dark"] .qz-contact-page > .container > .text-center .text-muted {
    color: #aeb9ca !important;
}

[data-bs-theme="dark"] .qz-contact-card .form-label {
    color: #e7edf6;
}

[data-bs-theme="dark"] .qz-contact-card .form-control {
    color: #f5f7fb;
    background-color: #202d43;
    border-color: #52627d;
}

[data-bs-theme="dark"] .qz-contact-card .form-control::placeholder {
    color: #aeb9ca;
}

[data-bs-theme="dark"] .qz-contact-card .form-control:focus {
    background-color: #24334b;
    border-color: #f5803e;
    box-shadow: 0 0 0 .2rem rgba(245, 128, 62, .24);
}

[data-bs-theme="dark"] .qz-contact-intro hr,
[data-bs-theme="dark"] .qz-contact-card hr {
    border-color: #465670 !important;
}

@media (max-width: 575.98px) {
    .qz-contact-page {
        padding-top: 6rem;
    }

    .qz-contact-intro,
    .qz-contact-card .card-body {
        padding: 1.25rem !important;
    }
}
