/* V33 — customer-first navigation and comfortable, low-friction forms */
.ms-public header nav{gap:.45rem .9rem}
.ms-public header nav a{display:inline-flex;align-items:center;min-height:44px;padding:.42rem .6rem;border-radius:8px}
.ms-public header nav a:hover{background:#f1e9dc;text-decoration:none}
.ms-public header nav .nav-devis{background:#4a151b;color:#fffaf2;padding:.62rem .9rem}
.ms-public .journey{background:#fffdf8}
.ms-public .journey .steps li{background:#fff;border:1px solid #e4dccf;border-top:2px solid #c5a059;border-radius:10px;padding:1rem}
.ms-public .ms-path-grid article{border-radius:12px;box-shadow:0 8px 24px #352a2510}
.ms-public .cta,.ms-quote button,.ms-portal button{min-height:46px;border-radius:9px}
.ms-public footer a,.ms-quote footer a{min-height:40px;display:inline-flex;align-items:center}

/* Keep every destination visible on mobile; allow wrapping instead of hiding menu items. */
@media(max-width:760px){
 .ms-public header{align-items:flex-start}
 .ms-public header nav{display:flex;width:100%;flex-wrap:wrap;overflow:visible;gap:.25rem .4rem;padding:.35rem 0 .1rem}
 .ms-public header nav a,.ms-public header nav a:not(:last-child){display:inline-flex;min-height:42px;font-size:.84rem;padding:.35rem .55rem}
 .ms-public header nav .nav-devis{margin-left:auto}
 .ms-public .steps{gap:.6rem}
}

/* Customer portal: one navigation, one clear next step, readable cards. */
.ms-portal .ms-worknav a{border:1px solid transparent;border-radius:9px}
.ms-portal .ms-worknav a:hover{background:#f7f1e8;border-color:#e7dcc9;text-decoration:none}
.ms-portal .ms-worknav a[aria-current=page]{background:#f6eee3;color:#4a151b;font-weight:700}
.ms-portal.ms-client-portal .ms-workspace-content>.intro{font-size:1.08rem;line-height:1.7}
.ms-portal .client-empty{padding:clamp(1.4rem,4vw,2.6rem);background:linear-gradient(130deg,#fffdf8,#f3eadc);border-color:#dfd1bb}
.ms-portal .client-empty h2{font-size:clamp(1.8rem,3vw,2.5rem)}
.ms-portal .client-next{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;margin-top:1.2rem}
.ms-portal .client-next a{min-height:46px;display:inline-flex;align-items:center;border-radius:9px;padding:.7rem 1rem}
.ms-portal .client-next .ms-primary{background:#4a151b;color:#fffaf2;text-decoration:none}
.ms-portal .client-next .ms-primary:hover{background:#713442}
.ms-portal .order{border-color:#e2d8c9;box-shadow:0 5px 18px #362c220a}
.ms-portal .order>details>summary,.ms-portal .extras>summary{padding:.65rem .1rem;min-height:44px}
.ms-portal .client-documents{background:#fcfaf6;border-radius:10px;padding:.5rem .8rem}
.ms-portal .client-upload-intro{max-width:70ch;color:#5d5249}
.ms-portal .client-upload-form{margin-top:1rem;padding:1rem;background:#f4eee4;border:1px solid #e1d5c3;border-radius:10px}
.ms-portal .client-upload-form input[type=file]{background:#fff;border:1px dashed #a88a5c;padding:.85rem;min-height:54px}
.ms-portal .client-upload-form label small{display:block;color:#66594f;font-weight:400}
.ms-portal .client-file-name{display:block;overflow-wrap:anywhere;color:#4a151b;font-size:.9rem;font-weight:500}
.ms-portal .client-order-chat{border-radius:10px;padding:.5rem .8rem}
.ms-portal .client-order-chat .messages{padding:.4rem}
.ms-portal .client-order-chat textarea{min-height:110px}
.ms-portal .client-order-chat button,.ms-portal .client-upload-form button{min-width:190px}

/* Estimation: technical details stay optional until a customer asks for them. */
.ms-quote .section>fieldset,.ms-quote .section>.fields,.ms-quote .section>label{margin-bottom:1rem}
.ms-quote .sub{background:#fffdf9;border-radius:9px;padding:.65rem .85rem;margin:.75rem 0}
.ms-quote .sub summary{min-height:44px;display:flex;align-items:center}
.ms-quote .delivery-options{margin-top:1rem;border-top:1px solid #ded4c5;padding-top:.75rem}
.ms-quote .delivery-options summary{min-height:44px;display:flex;align-items:center}
.ms-quote #etat{padding:.65rem .8rem;background:#f3ecdf;border-radius:8px}
.ms-quote #contact .darkbtn{min-width:240px}

/* Questions and messages feel calm, spacious and easy to follow. */
.conseil-card,.conseil-side{box-shadow:0 8px 24px #352a2510}
.conseil-card #conseil-input{min-height:48px}
.conseil-chips button{min-height:42px;border-radius:999px;padding:.55rem .85rem}
.conseil-bubble{line-height:1.65}
.ms-portal .chat .ms-chat-panel{box-shadow:0 8px 24px #352a2510}
.ms-portal .chat #chat-body{min-height:120px;padding:.9rem}
.ms-portal .chat-send button{min-width:150px}
@media(max-width:650px){
 .ms-portal .client-next{align-items:stretch;flex-direction:column}
 .ms-portal .client-next a{justify-content:center}
 .ms-portal .client-upload-form{padding:.75rem}
 .ms-portal .client-upload-form button,.ms-portal .client-order-chat button{width:100%;justify-content:center}
 .ms-quote .delivery-options .linkbtn{display:inline-flex;min-height:44px;align-items:center;margin:.2rem 0}
}
.conseil-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.6rem}
.conseil-actions a{display:inline-flex;align-items:center;min-height:40px;border:1px solid #d3c4ae;border-radius:999px;background:#fffdf8;color:#4a151b;padding:.4rem .75rem;font-size:.82rem;font-weight:650;text-decoration:none}
.conseil-actions a:hover{background:#eee5d6}
.ms-portal .client-order-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin:.75rem 0}
.ms-portal .client-order-actions a{display:inline-flex;align-items:center;min-height:42px;padding:.55rem .8rem;border:1px solid #d8cbb8;border-radius:9px;background:#f9f5ee;text-decoration:none;font-size:.9rem;font-weight:600}
.ms-portal .client-order-actions a:hover{background:#eee5d6}
.ms-portal .mg-start{margin:1rem 0 1.5rem;padding:1rem 1.2rem;background:#fffdf8;border:1px solid #e1d5c4;border-left:3px solid #c5a059;border-radius:10px}
.ms-portal .mg-start ol{display:flex;gap:1.3rem;flex-wrap:wrap;padding-left:1.25rem}
.ms-portal .mg-start li{flex:1 1 190px}
.ms-portal .mg-start p{margin-bottom:0;color:#66594f;font-size:.88rem}
@media(max-width:760px){
 .ms-quote header nav{display:flex;flex-wrap:wrap;overflow:visible;gap:.25rem .4rem;width:100%}
 .ms-quote header nav a,.ms-quote header nav a:not(:last-child){display:inline-flex;align-items:center;min-height:42px;font-size:.84rem;padding:.35rem .55rem}
 .ms-quote header nav .nav-devis{margin-left:auto}
}
.ms-portal .client-file-preview img{display:block;max-width:min(100%,280px);max-height:190px;object-fit:contain;margin:.6rem 0;border-radius:8px;border:1px solid #ded4c5;background:#fff}
