/* LeCoinDuPro — styles locaux à Pages/Contact.cshtml */
.lc-contact {
    --lc-navy: #173f5d;
    --lc-ink: #253f54;
    --lc-muted: #667b8e;
    --lc-orange: #e57f22;
    --lc-border: #dce6ed;
    width: min(920px, calc(100vw - 32px));
    margin: 26px auto 70px;
    color: var(--lc-ink);
    box-sizing: border-box;
}
.lc-contact *, .lc-contact *::before, .lc-contact *::after { box-sizing: border-box; }
.lc-contact-header { padding: 12px 0 29px; }
.lc-contact-kicker { color: #b15b13; font-size: 11px; letter-spacing: .13em; font-weight: 800; margin-bottom: 12px; }
.lc-contact-header h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 43px); line-height: 1.12; letter-spacing: -.035em; color: var(--lc-navy); font-weight: 800; }
.lc-contact-header p { margin: 0; color: var(--lc-muted); line-height: 1.6; max-width: 660px; font-size: 15px; }
.lc-contact-form { padding: 34px 37px 27px; border: 1px solid var(--lc-border); border-radius: 16px; background: #fff; box-shadow: 0 10px 36px rgba(22,63,95,.055); }
.lc-contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px 20px; }
.lc-span-2 { grid-column: 1 / -1; }
.lc-field { min-width: 0; }
.lc-field label { display: block; margin-bottom: 7px; font-size: 13px; color: var(--lc-navy); font-weight: 700; }
.lc-field .form-control { border: 1px solid #cedce5; border-radius: 9px; min-height: 44px; padding: 10px 12px; font-size: 14px; color: #253f54; background: #fff; }
.lc-field .form-control:focus { border-color: #498eaf; box-shadow: 0 0 0 3px rgba(31,117,156,.1); }
.lc-field .field-validation-error { display: block; font-size: 12px; margin-top: 5px; }
.lc-validation-summary:empty { display: none; }
.lc-validation-summary ul { padding-left: 18px; margin-bottom: 18px; }
.lc-editor-hint { color: var(--lc-muted); font-size: 12px; margin: 0 0 9px; }
.lc-editor-fallback { min-height: 175px !important; }
.lc-editor-fallback[hidden], .lc-rich-editor[hidden] { display: none !important; }
.lc-contact .ql-toolbar.ql-snow { border: 1px solid #cedce5; border-radius: 9px 9px 0 0; background: #f5f8fb; padding: 8px; }
.lc-contact .ql-container.ql-snow { border: 1px solid #cedce5; border-top: 0; border-radius: 0 0 9px 9px; font-family: inherit; font-size: 14px; }
.lc-contact .ql-editor { min-height: 180px; max-height: 380px; overflow-y: auto; line-height: 1.7; color: #253f54; }
.lc-contact .ql-editor.ql-blank::before { color: #8a9aa8; font-style: normal; }
/* Quill applique height:100% à .ql-container par défaut.
   Sans hauteur explicite, il peut recouvrir Turnstile et le bouton Envoyer. */
.lc-contact #contactEditor.ql-container.ql-snow {
    display: block;
    width: 100%;
    height: 220px !important;
    min-height: 220px;
    max-height: 220px;
    overflow: hidden;
    position: relative;
}
.lc-contact #contactEditor .ql-editor {
    display: block;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto;
}
.lc-message-field { min-width: 0; }
.lc-contact-bottom {
    position: relative;
    z-index: 1;
    clear: both;
}
.lc-contact-turnstile { min-width: 0; max-width: 100%; }

.lc-contact .lc-editor-invalid { border-color: #ba2c35 !important; }
.lc-editor-error { margin-top: 7px; font-size: 12px; }
.lc-editor-footnote { margin-top: 7px; font-size: 12px; color: #8394a1; }
.lc-contact-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.lc-send-button { border: 1px solid #df7620; background: var(--lc-orange); color: #fff; padding: 12px 23px; font-weight: 700; border-radius: 9px; min-height: 45px; box-shadow: 0 6px 15px rgba(174,90,23,.13); cursor: pointer; }
.lc-send-button:hover { background: #c96813; }
.lc-send-button:focus-visible { outline: 2px solid #176b9e; outline-offset: 2px; }
.lc-contact-privacy { color: var(--lc-muted); font-size: 12px; line-height: 1.6; margin: 25px 0 0; padding-top: 20px; border-top: 1px solid #edf1f4; }
.lc-contact-success { border-radius: 13px; border: 1px solid #c9dfd4; background: #f4faf6; color: #28533d; padding: 28px 30px; }
.lc-contact-success strong { font-size: 18px; }
.lc-contact-success p { margin: 10px 0 16px; }
.lc-contact-success a { color: #176b9e; font-weight: 700; }
@media (max-width: 620px) {
    .lc-contact { margin: 12px auto 40px; }
    .lc-contact-header { padding-bottom: 21px; }
    .lc-contact-form { padding: 22px 17px; border-radius: 12px; }
    .lc-contact-fields { grid-template-columns: minmax(0,1fr); gap: 15px; }
    .lc-span-2 { grid-column: auto; }
    .lc-contact-bottom { align-items: stretch; flex-direction: column; }
    .lc-send-button { width: 100%; }
}
