/* Contact form only. Bootstrap default system font is inherited from the site. */
#ng-contact-form {color:#18243d;scroll-margin-top:5rem;}
#ng-contact-form .wrap { max-width:780px;margin:55px auto;padding:0 16px }
#ng-contact-form .top { display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;color:#4a5770;}
#ng-contact-form .logo { color:var(--bs-primary) }
#ng-contact-form .pill { border:1px solid #d9e2f1;border-radius:30px;padding:6px 10px;background:#fff }
#ng-contact-form .progress { height:5px;border-radius:9px;overflow:hidden;margin:12px 0 26px }
#ng-contact-form .bar { height:100%;background:var(--bs-primary);transition:.25s }
#ng-contact-form .panel { background:white;border:1px solid #e1e8f1;border-radius:18px;padding:38px;box-shadow:0 12px 36px #18375d0d }
#ng-contact-form .ngcf-title { line-height:1.2;margin:5px 0 14px }
#ng-contact-form h2 { margin:0 0 18px }
#ng-contact-form p { line-height:1.6;color:#5c6a7e }
#ng-contact-form .eyebrow { color:var(--bs-primary);text-transform:uppercase }
#ng-contact-form .field { margin:22px 0 }
#ng-contact-form .field label,
#ng-contact-form .heading { display:block;margin-bottom:9px }
#ng-contact-form input,
#ng-contact-form textarea { width:100%;padding:13px 14px;border:1px solid #ccd7e8;border-radius:10px;background:#fff;color:#1c2b46 }
#ng-contact-form textarea { min-height:115px;resize:vertical }
#ng-contact-form .choice { display:flex;align-items:center;gap:12px;border:1.5px solid rgba(var(--bs-primary-rgb),.18);border-radius:11px;padding:10px 14px;cursor:pointer;background:rgba(var(--bs-primary-rgb),.045);color:var(--bs-primary);transition:background-color .15s,border-color .15s }
#ng-contact-form .choice:has(input:checked) { border:2px solid var(--bs-primary);background:#fff;padding:9px 13px }
#ng-contact-form .choice input { width:18px;height:18px;accent-color:var(--bs-primary);flex:none }
#ng-contact-form .hint { color:#64748b;margin:7px 0 }
#ng-contact-form button {border-radius:11px;padding:13px 19px;cursor:pointer }
#ng-contact-form .muted { color:#7c8a9e }
#ng-contact-form .note { border-radius:10px;padding:14px 16px;line-height:1.5;margin:16px 0 }
#ng-contact-form .item { padding:14px;margin:10px 0;border-radius:10px;border:1px solid #e0e7f0;background:#fbfcff }
#ng-contact-form .grid { grid-template-columns:1fr 1fr }
#ng-contact-form .error { color:var(--bs-primary);min-height:20px;margin-top:14px }
#ng-contact-form .link { color:var(--bs-link-color);text-decoration:none }
@media(max-width:600px) {
#ng-contact-form .panel { padding:23px }
#ng-contact-form .wrap { margin:24px auto }
#ng-contact-form .grid { grid-template-columns:1fr }
}

#ng-contact-form .single>.field>label,
#ng-contact-form .single>fieldset>legend { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap }
#ng-contact-form .alert { position:relative;padding:1rem;margin-top:1rem;margin-bottom:1rem;border:1px solid var(--bs-alert-border-color);border-radius:.375rem;display:flex;align-items:center;gap:.65rem;line-height:1.5 }
#ng-contact-form .warning-icon { width:20px;height:20px;flex-shrink:0 }
#ng-contact-form .wrap { max-width:940px }
#ng-contact-form .top { gap:12px }
#ng-contact-form .panel:focus { outline:none }
#ng-contact-form .ngcf-title { overflow-wrap:anywhere }
#ng-contact-form .field>label { line-height:1.45 }
#ng-contact-form .choice:focus-within {outline:none;border-color:var(--bs-primary);box-shadow:none;}
#ng-contact-form .choice span { line-height:1.4 }
#ng-contact-form .scale { display:flex;gap:8px;flex-wrap:wrap }
#ng-contact-form .scale .choice { justify-content:center;min-width:48px;padding:12px }
#ng-contact-form .scale .choice:has(input:checked) { padding:11px }
#ng-contact-form .scale input { position:absolute;opacity:0;width:1px }
#ng-contact-form .crumb { color:#5d7195;margin:0 0 18px }
#ng-contact-form .field small { display:block;margin-top:7px }
#ng-contact-form .foot { line-height:1.6 }
#ng-contact-form .summary dd { margin:5px 0 18px;white-space:pre-wrap }
#ng-contact-form .note a { color:inherit }
#ng-contact-form a:focus-visible,
#ng-contact-form button:focus-visible { outline:3px solid rgba(var(--bs-primary-rgb),.4);outline-offset:3px }
#ng-contact-form button:disabled { opacity:.55;cursor:not-allowed }
#ng-contact-form .field input:focus,
#ng-contact-form .field textarea:focus { outline:2px solid rgba(var(--bs-primary-rgb),.4);outline-offset:2px }
#ng-contact-form fieldset { border:0;padding:0;margin:22px 0 }
#ng-contact-form legend { margin-bottom:9px }
#ng-contact-form .top .pill { text-align:center }
#ng-contact-form .link-button { background:none;padding:4px;text-decoration:underline }
#ng-contact-form .toolbar { display:flex;justify-content:flex-end;margin-top:14px }
@media(max-width:600px) {
#ng-contact-form .top { align-items:flex-start }
#ng-contact-form .pill { max-width:155px }
#ng-contact-form .wrap { padding:0 12px }
#ng-contact-form .panel { padding:24px 20px }
#ng-contact-form .actions button { padding:13px 16px }
#ng-contact-form .scale { gap:6px }
#ng-contact-form .choice { padding:10px 12px }
#ng-contact-form .choice:has(input:checked) { padding:9px 11px }
}
#ng-contact-form .btn { --bs-btn-padding-y:.8125rem;--bs-btn-padding-x:1.1875rem;--bs-btn-border-radius:.6875rem }
#ng-contact-form .link-button.btn { --bs-btn-padding-y:.25rem;--bs-btn-padding-x:.25rem;}
#ng-contact-form .form-control { border-color:#ccd7e8;border-radius:10px;padding:13px 14px;color:#1c2b46 }
#ng-contact-form .form-check-input { float:none;margin:0;width:18px;height:18px;flex:none;accent-color:var(--bs-primary) }
#ng-contact-form .choice { margin-bottom:0 }
#ng-contact-form .panel.card { display:block }
#ng-contact-form .note.alert { display:block }
#ng-contact-form .error.alert { margin-bottom:0 }
#ng-contact-form .progress-bar { transition:width .25s;background:var(--bs-primary) }

#ng-contact-form.wrap {max-width:940px;margin:0 auto;padding:0 16px;}
@media(max-width:600px){#ng-contact-form.wrap {padding:0;}}

#ng-contact-form input.form-check-input[type=radio] {padding:0;border-radius:50%;}

/* Native Bootstrap 5.2 layout utilities are applied in contact_form.js. */

/* Choice labels share the same compact, regular-weight treatment. */
#ng-contact-form label.choice {display:flex;margin-bottom:0;}

/* Keep radio controls and their labels aligned in every choice list. */
#ng-contact-form label.choice {align-items:center;column-gap:.625rem;}
#ng-contact-form .choice input.form-check-input {float:none;flex:0 0 18px;margin:0;align-self:center;}
#ng-contact-form .choice > span {display:block;line-height:1.4;}

/* Navigation spacing is controlled by the shared ngcf-navigation class below. */

/* Bootstrap 5.2 floating labels: keep native states above existing field styles. */
#ng-contact-form .form-floating > .form-control,
#ng-contact-form .form-floating > .form-select {height:calc(3.5rem + 2px);min-height:calc(3.5rem + 2px);line-height:1.25;padding:1rem .75rem;}
#ng-contact-form .form-floating > textarea.form-control {height:130px;}
#ng-contact-form .form-floating > label {padding:1rem .75rem;margin:0;line-height:1.5;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#ng-contact-form .form-floating > .form-control:focus,
#ng-contact-form .form-floating > .form-control:not(:placeholder-shown),
#ng-contact-form .form-floating > .form-select,
#ng-contact-form .ngcf-float-always > .form-control {padding-top:1.625rem;padding-bottom:.625rem;}
#ng-contact-form .ngcf-float-always > label {opacity:.65;transform:scale(.85) translateY(-.5rem) translateX(.15rem);}

/* Join Bootstrap input-group addons to the floating controls. */
#ng-contact-form .input-group > .input-group-text {border-color:#ccd7e8;border-radius:10px 0 0 10px;}
#ng-contact-form .input-group > .form-floating {min-width:0;}
#ng-contact-form .input-group > .form-floating > .form-control {border-top-left-radius:0;border-bottom-left-radius:0;}

/* Bootstrap validation state above the scoped control border styles. */
#ng-contact-form .form-control.is-invalid,
#ng-contact-form .form-select.is-invalid,
#ng-contact-form .form-check-input.is-invalid {border-color:var(--bs-danger,#dc3545);}

/* Match the delivery question legend to the regular field labels. */
#ng-contact-form fieldset[data-group="contact_time_exceeded"] > legend {line-height:1.45;margin-bottom:9px;}

/* Choices use their outline as the selection indicator; inputs remain keyboard accessible. */
#ng-contact-form .choices-inline label {border-radius:.375rem;cursor:pointer;}
#ng-contact-form .choices-inline label:has(input:checked) {outline:2px solid var(--bs-primary);outline-offset:4px;}
#ng-contact-form .choices-inline label:focus-within {outline:2px solid var(--bs-primary);outline-offset:4px;}
#ng-contact-form label.choice:has(input.is-invalid),
#ng-contact-form .choices-inline label:has(input.is-invalid) {border-color:var(--bs-danger,#dc3545);outline:1px solid var(--bs-danger,#dc3545);outline-offset:0;}

/* Breadcrumb inherits the primary color from the site Bootstrap theme. */
#ng-contact-form #ngcf-breadcrumb {text-transform:uppercase;color:var(--bs-primary);--bs-breadcrumb-divider-color:var(--bs-primary);}
#ng-contact-form #ngcf-breadcrumb .breadcrumb-item,
#ng-contact-form #ngcf-breadcrumb .breadcrumb-item.active {color:var(--bs-primary);}

/* Avoid accidental text selection while choosing or navigating. */
#ng-contact-form {-webkit-user-select:none;user-select:none;}
#ng-contact-form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
#ng-contact-form textarea {-webkit-user-select:text;user-select:text;}

#ng-contact-form .input-group > .form-control {border-top-left-radius:0;border-bottom-left-radius:0;}

/* Fill the image column of the native Bootstrap horizontal confirmation card. */
#ng-contact-form .ngcf-confirmation img {object-fit:cover;}

/* Image fills its third of the confirmation independently of its intrinsic size. */
#ng-contact-form .ngcf-confirmation-image {min-height:220px;}
@media(max-width:767.98px){#ng-contact-form .ngcf-confirmation-image {aspect-ratio:1 / 1;}}
@media(max-width:600px){}

/* Subtle choice hover using the existing Bootstrap primary theme. */
#ng-contact-form .choice:hover:not(:has(input:checked)) {background:rgba(var(--bs-primary-rgb),.07);border-color:rgba(var(--bs-primary-rgb),.45);}

/* Yes/no choices keep the same treatment using the site secondary theme. */
#ng-contact-form .choices-two .choice {color:var(--bs-secondary);border-color:rgba(var(--bs-secondary-rgb),.18);background:rgba(var(--bs-secondary-rgb),.045);}
#ng-contact-form .choices-two .choice:has(input:checked) {border-color:var(--bs-secondary);background:#fff;}
#ng-contact-form .choices-two .choice:focus-within {border-color:var(--bs-secondary);}
#ng-contact-form .choices-two .choice:hover:not(:has(input:checked)) {background:rgba(var(--bs-secondary-rgb),.07);border-color:rgba(var(--bs-secondary-rgb),.45);}

/* Taller answers for screens containing only one stacked choice list. */
#ng-contact-form .ngcf-choices-spacious > .choice {padding-top:14px;padding-bottom:14px;}
#ng-contact-form .ngcf-choices-spacious > .choice:has(input:checked) {padding-top:13px;padding-bottom:13px;}

/* Error banners inherit the native Bootstrap alert primary color. */
#ng-contact-form .error.alert-primary {color:var(--bs-alert-color);}

/* One consistent gap after the final question, choice list or help text. */
#ng-contact-form .actions.ngcf-navigation {margin-top:2.75rem!important;padding-top:0;}
#ng-contact-form .ngcf-before-navigation {margin-bottom:0!important;}

/* More breathing room between the anomaly question blocks. */
#ng-contact-form .field.ngcf-anomaly-field {margin-top:30px;margin-bottom:30px;}

/* Slightly more compact navigation buttons with native Bootstrap colors. */
#ng-contact-form .actions .btn {padding:.625rem 1rem;}

/* Keep the bottom of the panel tighter when a validation alert is visible. */
#ng-contact-form #ngcf-app:has(#ngcf-error > .alert),
#ng-contact-form #ngcf-app:has(#ngcf-error.alert),
#ng-contact-form #ngcf-app:has(.error.alert) {padding-bottom:24px;}
#ng-contact-form #ngcf-error > .alert:last-child {margin-bottom:0;}

/* Lightweight directional transitions: only opacity and transform are animated. */
#ng-contact-form .ngcf-view-forward > * {animation:ngcf-view-forward 320ms ease-out both;}
#ng-contact-form .ngcf-view-back > * {animation:ngcf-view-back 320ms ease-out both;}
@keyframes ngcf-view-forward {from {opacity:0;transform:translateX(14px);} to {opacity:1;transform:translateX(0);}}
@keyframes ngcf-view-back {from {opacity:0;transform:translateX(-14px);} to {opacity:1;transform:translateX(0);}}
@media (prefers-reduced-motion:reduce) {
 #ng-contact-form .ngcf-view-forward > *,#ng-contact-form .ngcf-view-back > * {animation:none;}
}

/* Empty error placeholders must not add space below the shared navigation. */
#ng-contact-form .error:empty,
#ng-contact-form #ngcf-error:empty {display:none;}

/* Light alerts keep a visible, very pale neutral background. */
#ng-contact-form .alert-gray-light {--bs-alert-bg:var(--bs-gray-100,#f8f9fa);}

/* Reusable native file drop zone: ngcf-upload-photo, -video or -both. */
#ng-contact-form .ngcf-upload {position:relative;border:1px dashed rgba(var(--bs-primary-rgb),.35);background:rgba(var(--bs-primary-rgb),.035);color:var(--bs-secondary);transition:background-color .15s,border-color .15s;}
#ng-contact-form .ngcf-upload > .bi {color:rgba(var(--bs-primary-rgb),.45);}
#ng-contact-form .ngcf-upload:hover,#ng-contact-form .ngcf-upload.is-dragover {border-color:var(--bs-primary);background:rgba(var(--bs-primary-rgb),.075);}
#ng-contact-form .ngcf-upload:focus-within {outline:2px solid rgba(var(--bs-primary-rgb),.4);outline-offset:2px;}
#ng-contact-form .ngcf-upload:has(.is-invalid) {border-color:var(--bs-danger);}
#ng-contact-form input.ngcf-upload-input {position:absolute;inset:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;padding:0;margin:0;border:0;}
#ng-contact-form .ngcf-upload-selection {overflow-wrap:anywhere;}
#ng-contact-form .ngcf-upload-selection:empty {display:none!important;}

/* File badges stay readable and their native Bootstrap close buttons compact. */
#ng-contact-form .ngcf-upload-file {white-space:normal;}
#ng-contact-form .ngcf-upload-file > span {min-width:0;}
#ng-contact-form button.ngcf-upload-remove {padding:.25rem;flex-shrink:0;}

/* Separate selected-file badges slightly from the drop zone. */
#ng-contact-form .ngcf-upload-selection {margin-top:.75rem;}

/* Shared upload height for photos, delivery proof and video. */
#ng-contact-form .ngcf-upload {min-height:110px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;}

/* Selected state marker for inline yes/no choices. */
#ng-contact-form .choices-two .choice {position:relative;padding-right:2.75rem;}
#ng-contact-form .choices-two .choice:has(input:checked) {padding-right:2.75rem;}
#ng-contact-form .choices-two .ngcf-choice-checked {position:absolute;right:.875rem;top:50%;transform:translateY(-50%);line-height:1;color:var(--bs-secondary);visibility:hidden;pointer-events:none;}
#ng-contact-form .choices-two .choice:has(input:checked) .ngcf-choice-checked {visibility:visible;}

/* Primary selected state marker for stacked choices. */
#ng-contact-form .choices .choice {position:relative;padding-right:2.75rem;}
#ng-contact-form .choices .choice:has(input:checked) {padding-right:2.75rem;}
#ng-contact-form .choices .ngcf-choice-checked {position:absolute;right:.875rem;top:50%;transform:translateY(-50%);line-height:1;color:var(--bs-primary);visibility:hidden;pointer-events:none;}
#ng-contact-form .choices .choice:has(input:checked) .ngcf-choice-checked {visibility:visible;}

/* Overlay shown only while the server receives and saves the request. */
#ng-contact-form .ngcf-submit-loader {z-index:1090;background:rgba(255,255,255,.88);cursor:wait;}
#ng-contact-form .ngcf-submit-loader-card {width:100%;max-width:440px;}
#ng-contact-form .ngcf-submit-loader .spinner-border {width:3rem;height:3rem;}


/* ============================================================================
   FORMULAIRE AVIS CLIENTS — complément aux classes du formulaire de contact
   ============================================================================ */
#ng-contact-form[data-review-form] .ng-review-stars {gap:clamp(6px,2vw,16px);align-items:flex-start;}
#ng-contact-form[data-review-form] .ng-review-rating {position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;margin:0;cursor:pointer;color:var(--bs-secondary);font-size:14px;font-weight:400;line-height:1.2;}
#ng-contact-form[data-review-form] .ng-review-rating input {position:absolute;width:1px;height:1px;opacity:0;padding:0;}
#ng-contact-form[data-review-form] .ng-review-rating svg {display:block;width:clamp(40px,9vw,58px);height:clamp(40px,9vw,58px);fill:transparent;stroke:currentColor;stroke-width:1.25;stroke-linejoin:round;transition:fill .15s ease;}
#ng-contact-form[data-review-form] .ng-review-stars:has(.ng-review-rating:hover) .ng-review-rating:hover svg,
#ng-contact-form[data-review-form] .ng-review-stars:has(.ng-review-rating:hover) .ng-review-rating:has(~ .ng-review-rating:hover) svg,
#ng-contact-form[data-review-form] .ng-review-stars:not(:has(.ng-review-rating:hover)) .ng-review-rating:has(input:checked) svg,
#ng-contact-form[data-review-form] .ng-review-stars:not(:has(.ng-review-rating:hover)) .ng-review-rating:has(~ .ng-review-rating input:checked) svg {fill:currentColor;}
#ng-contact-form[data-review-form] .ng-review-rating:has(input:focus-visible) svg {outline:2px solid currentColor;outline-offset:4px;border-radius:4px;}
@media(prefers-reduced-motion:reduce){#ng-contact-form[data-review-form] .ng-review-rating svg {transition:none;}}
#ng-contact-form[data-review-form] .ng-review-qr {display:block;width:220px;max-width:100%;height:auto;margin:0 auto;shape-rendering:crispEdges;}
#ng-contact-form[data-review-form] .ng-review-google-link {overflow-wrap:anywhere;}

/* Pleine page sans les espaces ni le fond bleu réservés à l’habillage du site. */
body.ng-review-page {padding-top:0;min-width:0;height:auto;background:#FCFAF9;}
body.ng-review-page > main {width:100%;min-height:100vh;padding:0;background:#FCFAF9;}
body.ng-review-page .ng-review-page-section {min-height:100svh;}