/* Finitions publiques 0.4.9 : formulaire et services. */
.qws2-contact, .qws2-other-services, .qws2-ecu-alert { font-family: Lato, Arial, sans-serif; color: #191c21; }
.qws2-contact *, .qws2-other-services * { box-sizing: border-box; }
.qws2-contact.qws2-contact {
    box-sizing: border-box; width: calc(100vw - clamp(16px, 2.5vw, 64px) * 2); max-width: none; margin: 36px auto;
    margin-inline: calc(50% - 50vw + clamp(16px, 2.5vw, 64px)) !important;
    padding: clamp(20px, 3vw, 36px); border: 1px solid #333940; border-radius: 18px;
    background: #191c21; color: #fff; scroll-margin-top: 100px;
}
.qws2-contact-header { margin: 0 0 26px; }
.qws2-contact-header .qws2-contact-eyebrow {
    margin: 0 0 10px; padding-left: 12px; border-left: 4px solid #ee7203; color: #ff942f;
    font-size: 13px; font-weight: 700; line-height: 1.35; letter-spacing: 1.3px; text-transform: uppercase;
}
.qws2-contact .qws2-contact-header h2 { margin: 0 0 10px; color: #fff; font: 700 clamp(28px, 3.2vw, 42px)/1.15 Lato, Arial, sans-serif; letter-spacing: -.6px; }
.qws2-contact-header > p:last-child { margin: 0; color: #e2e5e8; font-size: 16px; line-height: 1.6; }
.qws2-contact-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.55fr); align-items: start; gap: 20px; }
.qws2-contact-workshop { min-width: 0; padding: 16px; border: 1px solid #454a50; border-radius: 14px; background: #23272c; }
.qws2-contact-visual { margin: 0; }
.qws2-contact-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.qws2-contact-workshop-copy { padding: 26px 4px 5px; }
.qws2-contact-workshop-copy::before { content: ''; display: block; width: 34px; height: 4px; margin-bottom: 14px; border-radius: 2px; background: #ee7203; }
.qws2-contact-workshop-copy p { margin: 0 0 12px; color: #edf0f2; font-size: 16px; line-height: 1.6; }
.qws2-contact-workshop-copy .qws2-contact-location { margin-bottom: 3px; font-size: 24px; font-weight: 700; line-height: 1.25; }
.qws2-contact-workshop-copy .qws2-contact-nearby { margin-bottom: 18px; color: #c8ced5; }
.qws2-contact-workshop-copy p:last-child { margin-bottom: 0; }
.qws2-contact-form { display: grid; min-width: 0; gap: 17px; padding: clamp(20px, 2.4vw, 30px); border: 1px solid #e0e4e8; border-radius: 14px; background: #fff; color: #191c21; }
.qws2-contact-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qws2-contact-form label { display: grid; min-width: 0; gap: 7px; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.qws2-contact-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], textarea, select) {
    box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 10px 12px;
    border: 1px solid #adb6c0; border-radius: 7px; background: #fff; color: #191c21;
    font: 400 16px/1.4 Lato, Arial, sans-serif; box-shadow: none;
}
.qws2-contact-form input[readonly] { background: #f0f2f5; border-color: #c4ccd4; }
.qws2-contact-form :is(input, textarea)::placeholder { color: #666f79; opacity: 1; }
.qws2-contact-form textarea { min-height: 100px; resize: vertical; }
.qws2-contact-form :is(input, textarea, select):focus-visible { outline: 2px solid #ee7203; outline-offset: 2px; }
.qws2-contact-form select { padding-right: 30px; }
.qws2-contact-registration { display: grid; gap: 8px; }
.qws2-contact-form .qws2-contact-check { display: flex; align-items: flex-start; gap: 10px; min-height: 24px; font-size: 14px; font-weight: 400; line-height: 1.55; cursor: pointer; }
.qws2-contact-check input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: #ee7203; }
.qws2-contact-help { margin: 0; color: #596471; font-size: 12px; line-height: 1.5; }
.qws2-contact-terms { margin-top: 2px; }
.qws2-contact-terms a { color: #191c21; text-decoration: underline; text-underline-offset: 2px; }
.qws2-contact-terms a:focus-visible { outline: 2px solid #ee7203; outline-offset: 3px; }
.qws2-required { color: #b84f00; }
.qws2-contact-required-note { margin: 0; color: #536170; font-size: 12px; line-height: 1.5; }
.qws2-contact [hidden] { display: none !important; }
.qws2-contact-success { margin: 0 0 20px; padding: 14px 18px; border: 1px solid #8dd6a7; border-radius: 9px; background: #eaf8ef; color: #175d31; font-size: 16px; line-height: 1.5; }
.qws2-contact-button {
    box-sizing: border-box; display: inline-flex; justify-self: start; align-items: center; justify-content: center;
    min-height: 48px; padding: 10px 16px; border: 1px solid #191c21; border-left: 3px solid var(--offer-accent, #ee7203);
    border-radius: 7px; background: #191c21; color: #fff; font-family: Lato, Arial, sans-serif;
    font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer;
}
.qws2-contact-button:hover, .qws2-contact-button:focus-visible { color: #fff; background: #272c34; }
.qws2-contact-button:focus-visible { outline: 2px solid #ee7203; outline-offset: 3px; }
.qws2-contact-form button[type="submit"] { min-width: 220px; font-size: 16px; }
.qws2-p1-contact { margin-top: 14px; }
.qws2-ecu-alert { margin-top: 16px; padding: 12px 15px; border: 1px solid #dce1e6; border-left: 3px solid #ee7203; border-radius: 10px; background: #fff; }
.qws2-ecu-alert p { margin: 0; }
.qws2-other-services { margin-top: clamp(28px, 4vw, 48px); }
.qws2-other-services h2 { margin: 0 0 20px; color: #191c21; font: 600 clamp(24px, 3vw, 30px)/1.25 Lato, Arial, sans-serif; letter-spacing: -.5px; }
.qws2-other-services-list { display: grid; gap: 22px; }
.qws2-other-service { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); align-items: stretch; min-width: 0; overflow: hidden; border: 1px solid #e0e4e9; border-radius: 16px; background: #fff; }
.qws2-other-service-photo { position: relative; min-width: 0; min-height: 270px; background: #23272c; }
.qws2-other-service-photo img { display: block; width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.qws2-other-service[data-qws2-service="entretien"] .qws2-other-service-photo img { object-position: 48% 35%; }
.qws2-other-service-content { display: grid; align-content: center; min-width: 0; gap: 22px; padding: clamp(22px, 2.6vw, 34px); }
.qws2-other-service-copy { max-width: 680px; }
.qws2-other-service h3 { margin: 0 0 12px; color: #191c21; font: 700 clamp(21px, 2.2vw, 26px)/1.3 Lato, Arial, sans-serif; letter-spacing: -.35px; }
.qws2-other-service p { margin: 0; color: #536170; font-size: 16px; line-height: 1.65; }
.qws2-other-service .qws2-other-service-tagline { margin: 0 0 10px; color: #252c35; }
.qws2-other-service-tagline strong { font-weight: 700; }
.qws2-other-service[data-qws2-service="pieces"] .qws2-other-service-photo img { object-fit: contain; }
.qws2-other-service-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 480px); gap: 12px; }
.qws2-other-service-actions .qws2-contact-button,
.qws2-other-service-actions .qws2-other-service-link { box-sizing: border-box; width: 100%; height: 48px; min-height: 48px; margin: 0; padding: 10px 12px; justify-self: stretch; font-size: 13px; line-height: 1.4; text-align: center; }
.qws2-other-service-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #c1cad3; border-radius: 7px; background: #fff; color: #191c21; font-weight: 700; text-decoration: none; }
.qws2-other-service-link span { display: inline-block; color: #bd5700; font-family: Arial, sans-serif; font-size: 19px; line-height: 1; transform: rotate(-35deg); }
.qws2-other-service-link:hover, .qws2-other-service-link:focus-visible { border-color: #ee7203; background: #fff9f4; color: #191c21; }
.qws2-other-service-link:focus-visible { outline: 2px solid #ee7203; outline-offset: -4px; }
@media (max-width: 1000px) {
    .qws2-other-service { grid-template-columns: 1fr; }
    .qws2-other-service-photo { min-height: 0; }
    .qws2-other-service-photo img { height: auto; min-height: 0; max-height: 340px; aspect-ratio: 16 / 9; object-fit: cover; }
}
@media (max-width: 760px) {
    .qws2-contact-layout { grid-template-columns: 1fr; }
    .qws2-contact-form { grid-row: 1; }
    .qws2-contact-workshop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
    .qws2-contact-workshop-copy { padding-top: 6px; }
    .qws2-contact-workshop-copy .qws2-contact-location { font-size: 21px; }
}
@media (max-width: 540px) {
    .qws2-contact-row { grid-template-columns: 1fr; gap: 17px; }
    .qws2-contact-workshop { display: block; }
    .qws2-contact-workshop-copy { padding-top: 20px; }
    .qws2-contact-form button[type="submit"] { width: 100%; min-width: 0; }
    .qws2-other-service-actions { grid-template-columns: 1fr; width: 100%; }
}


/* Quantum WS 0.4.9 — Correctif intégré 28/11/2026.
   Cartes Autres services : retour à la ligne sans écraser la grille photo/texte. */
.qws2-other-services,
.qws2-other-services-list,
.qws2-other-service,
.qws2-other-service-content,
.qws2-other-service-copy {
    min-width: 0;
    max-width: 100%;
}
.qws2-other-services-list,
.qws2-other-service-content {
    grid-template-columns: minmax(0, 1fr);
}
.qws2-other-service .qws2-other-service-copy h3,
.qws2-other-service .qws2-other-service-copy p {
    min-width: 0;
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Mobile : alertes ECU, descriptifs des prestations et récapitulatif SEO.
   Conserve la disposition et les données moteur existantes. */
@media (max-width: 700px) {
    .qws2-detail .qws2-ecu-alert,
    .qws2-detail .qws2-p1-layout,
    .qws2-detail .qws2-p1-panel,
    .qws2-detail .qws2-p1-commercial,
    .qws2-seo-information {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }
    .qws2-detail .qws2-ecu-alert p,
    .qws2-detail .qws2-p1-commercial-title,
    .qws2-detail .qws2-p1-commercial-text,
    .qws2-detail .qws2-p1-commercial-legal,
    .qws2-detail .qws2-p1-road-warning,
    .qws2-detail .qws2-p1-note,
    .qws2-seo-information p,
    .qws2-seo-information li,
    .qws2-seo-information summary {
        min-width: 0;
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}
