/* MonBesoin.fr V4.0 — Parcours guidés, favoris et suivi des demandes. */
:root{--mb4-ink:#27213e;--mb4-violet:#7754f1;--mb4-pink:#ff36a0;--mb4-line:#ebe7f4}
html{scroll-behavior:smooth}
body{font-kerning:normal;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #fc68bc!important;outline-offset:3px}
[hidden]{display:none!important}
.hero-metric{height:50px;min-width:74px;border:1px solid #dacdf9;background:white;border-radius:16px;display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 10px;box-shadow:0 7px 16px #7054a70d}
.hero-metric strong{font-size:28px;color:#7754f1;letter-spacing:-2px}
.hero-metric span{font-size:14px;line-height:1.1;color:#8068a2;font-weight:800;max-width:42px}
.preview-brand-mark{background:center / contain no-repeat url('monbesoin-brand-mark.png')!important;border-radius:0!important;box-shadow:none!important}
/* Accès orientés par besoin */
.mbv4-orientation{background:linear-gradient(180deg,#fff 0%,#faf8ff 100%);padding:58px 0 45px;border-bottom:1px solid #eee9f8}
.mbv4-orientation-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:25px}
.mbv4-orientation-head h2{font-size:clamp(27px,3.3vw,40px);font-weight:850;letter-spacing:-1.5px;color:#26213a;margin:11px 0 0;line-height:1.16;max-width:560px}
.mbv4-orientation-head p{color:#716986;max-width:340px;font-size:14px;line-height:1.8;margin:0}
.mbv4-orientation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.mbv4-path{display:flex;gap:15px;min-width:0;text-align:left;align-items:center;position:relative;border-radius:20px;border:1px solid #e9e0fa;padding:24px 18px;background:#fff;min-height:153px;box-shadow:0 15px 30px #3222510b;transition:transform .2s,border-color .2s,box-shadow .2s;cursor:pointer}
.mbv4-path:hover{transform:translateY(-4px);border-color:#bda8f2;box-shadow:0 20px 32px #3222511a}
.mbv4-path-one{background:linear-gradient(130deg,#fff,#fff4fa)}
.mbv4-path-two{background:linear-gradient(130deg,#fff,#f3f1ff)}
.mbv4-path-three{background:linear-gradient(130deg,#f5efff,#fff)}
.mbv4-path-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;color:#8358dc;background:#f0e8ff;flex:0 0 52px}
.mbv4-path-one .mbv4-path-icon{background:#ffe5f3;color:#f52c9d}
.mbv4-path-icon svg{width:24px;height:24px}
.mbv4-path small,.mbv4-path strong,.mbv4-path em{display:block}
.mbv4-path small{font-size:14px;letter-spacing:1.1px;font-weight:900;color:#836c9b;margin:0 0 6px}
.mbv4-path strong{font-size:21px;font-weight:850;color:#29213c;letter-spacing:-.75px}
.mbv4-path em{font-style:normal;margin-top:9px;font-size:14px;line-height:1.4;color:#756a86}
.mbv4-path>b{font-size:19px;color:#9b73e8;position:absolute;right:16px;top:16px}
/* Cartes et marque-pages */
.services-grid .service-tile,.app-service-grid .service-tile{position:relative;min-width:0;height:100%}
.service-tile>.service-card{display:block;width:100%;height:100%;padding:0;overflow:hidden}
.service-tile>.service-card .service-card-copy{min-height:146px;padding:20px 18px 19px}
.service-tile .fav-btn{position:absolute;right:11px;top:11px;width:39px;height:39px;background:#fffffff0;box-shadow:0 5px 15px #23153a28;border:1px solid #f1eafa;color:#755d87;display:grid;place-items:center;border-radius:13px;cursor:pointer;transition:transform .2s,background .2s,color .2s;z-index:2}
.service-tile .fav-btn svg{width:19px;height:19px}
.service-tile .fav-btn:hover{transform:scale(1.07);color:#e32990}
.service-tile .fav-btn.saved{background:#f52b9b;color:white;border-color:#f52b9b}
.service-tile .fav-btn.saved svg{fill:currentColor;stroke:currentColor}
.service-filters{display:flex;flex-wrap:wrap}
.filter-chip[data-filter="fav"]{border-color:#f3cce5;background:#fff8fc;color:#a14687}
.filter-chip[data-filter="fav"].active{color:#fff;background:linear-gradient(115deg,#ef3e99,#805cf3)}
.filter-chip[data-filter="fav"] span{margin-left:5px;font-weight:900}
.app-service-grid .service-tile>.service-card{min-height:250px}
.mbv4-favorites{margin-bottom:22px}
.mbv4-favorites .app-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mbv4-favorites p{font-size:14px;color:#7a7089}
.mbv4-all-title{font-size:21px;margin:30px 0 18px}
/* Assistant de dépôt de besoin en 3 étapes */
.wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0 28px}
.wizard-step{display:flex;align-items:center;gap:9px;color:#a39ab2;min-width:0}
.wizard-step span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f2eff7;border:1px solid #e8e1f1;font-size:14px;font-weight:800;flex:0 0 34px}
.wizard-step span svg{width:16px;height:16px}
.wizard-step small{font-size:14px;font-weight:750;line-height:1.3}
.wizard-step.current span{background:linear-gradient(135deg,#8059f0,#e445b3);color:#fff;border:0;box-shadow:0 6px 17px #8059f038}
.wizard-step.current small{color:#493076}
.wizard-step.finished span{background:#edfff5;color:#22835d;border-color:#b6ead3}
.wizard-step.finished small{color:#487762}
.wizard-subtitle{font-size:20px;font-weight:800;letter-spacing:-.5px;margin:3px 0 24px}
.wizard-buttons{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-top:24px;margin-top:24px;border-top:1px solid #f0eaf8}
.wizard-side-note{font-size:14px;color:#9388a2}
.wizard-buttons .btn-outline svg{transform:rotate(180deg)}
.wizard-review{border:1px solid #eadff8;border-radius:17px;background:#fbf9ff;padding:10px 20px}
.wizard-review dl,.wizard-review dd{margin:0}
.wizard-review dl>div{padding:12px 0;border-bottom:1px solid #eae4f3}
.wizard-review dl>div:last-child{border-bottom:0}
.wizard-review dt{font-size:14px;font-weight:850;text-transform:uppercase;letter-spacing:.8px;color:#8d7caa;margin-bottom:4px}
.wizard-review dd{font-size:14px;line-height:1.6;color:#2d243d;font-weight:600;overflow-wrap:anywhere}
.wizard-review dd.wizard-description{white-space:pre-wrap;font-weight:400}
.field small{display:block;font-size:14px;color:#8b8199;line-height:1.5;margin-top:6px}
/* Suivi de dossier */
.request-tools{display:flex;gap:12px;margin:0 0 20px;padding-top:7px}
.request-tools label{flex:1}
.request-tools input,.request-tools select{font:inherit;background:#fff;border:1px solid #e8e1f1;border-radius:12px;padding:13px 14px;font-size:14px;width:100%;min-width:0;color:#4c415e}
.request-tools select{max-width:210px}
.mbv4-request{border:1px solid #ebe6f2;border-radius:15px;padding:12px 16px;margin:11px 0;background:#fff}
.mbv4-request .need-list{display:grid;gap:12px}
.mbv4-request .need-row{border:0;padding:0}
.mbv4-request .choice-link{justify-self:start;color:#7554db;font-weight:800}
.mbv4-request .req-detail{margin-top:1px;padding:17px;background:#faf8fe;border:1px solid #eee8f7;border-radius:12px;line-height:1.65;overflow-wrap:anywhere}
.req-detail h4{font-size:12px;margin:16px 0 12px}
.status-timeline{list-style:none;margin:0;padding:0 0 0 8px}
.status-timeline li{position:relative;padding:0 0 15px 24px;border-left:1px solid #d8ccee;display:flex;gap:5px}
.status-timeline li:last-child{border-left-color:transparent;padding-bottom:4px}
.status-timeline .timeline-dot{position:absolute;left:-7px;top:1px;background:#936de9;width:13px;height:13px;border:3px solid #efe9fe;border-radius:50%}
.status-timeline b,.status-timeline small{display:block}
.status-timeline b{font-size:14px;color:#42345f}
.status-timeline small{font-size:14px;color:#8c82a0}
.mbv4-plain-action{display:inline-flex;gap:6px;align-items:center;background:transparent;color:#7a5acb;font-size:14px;font-weight:750;cursor:pointer}
.mbv4-plain-action svg{width:17px;height:17px}
.mbv4-plain-action:disabled{opacity:.4;cursor:not-allowed}
.mbv4-status-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.mbv4-status-summary>div{border:1px solid #ece6f4;background:#faf7ff;border-radius:13px;padding:18px 10px;text-align:center}
.mbv4-status-summary b{display:block;color:#7755e2;font-size:27px}
.mbv4-status-summary span{display:block;font-size:14px;color:#776b87;margin-top:3px}
/* Responsive */
@media(max-width:1050px){.mbv4-orientation-grid{gap:12px}.mbv4-path{padding:19px 13px;gap:12px;min-height:148px}.mbv4-path strong{font-size:17px}.mbv4-path-icon{width:43px;height:43px;flex-basis:43px}.mbv4-path em{font-size:14px}}
@media(max-width:760px){.mbv4-orientation{padding:44px 0 34px}.mbv4-orientation-head{display:block}.mbv4-orientation-head h2{font-size:30px}.mbv4-orientation-head p{margin-top:14px}.mbv4-orientation-grid{grid-template-columns:1fr}.mbv4-path{min-height:116px;padding:18px 20px}.mbv4-path strong{font-size:20px}.mbv4-path em{font-size:14px}.mbv4-path-icon{width:52px;height:52px;flex-basis:52px}.request-tools{display:block}.request-tools select{max-width:none;margin-top:10px}.mbv4-favorites .app-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.wizard-steps{gap:4px}.wizard-step{gap:4px}.wizard-step span{width:27px;height:27px;flex-basis:27px;font-size:14px}.wizard-step small{font-size:14px}.wizard-buttons .btn{font-size:14px;padding:12px 14px}.wizard-side-note{font-size:14px;max-width:100px}.mbv4-favorites .app-service-grid{grid-template-columns:1fr}.service-tile .fav-btn{width:37px;height:37px}.mbv4-orientation-head h2{font-size:27px}.mbv4-status-summary{gap:5px}.mbv4-status-summary>div{padding:14px 5px}.mbv4-status-summary span{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mbv4-path,.service-tile .fav-btn{transition:none}}
