/* REP SOLUTIONS V12 — Accueil desktop & mobile validés, surcharge isolée de la page d’accueil. */
:root{--rs12-dark:#004735;--rs12-text:#0b352e;--rs12-orange:#ff771e;--rs12-soft:#f7faf7}
body.rs2-site.home{overflow-x:hidden}
body.rs2-site.home .rs12-home-header{position:relative;background:#fff;border-bottom:1px solid #eaf0eb;z-index:60}
body.rs2-site.home .rs12-head-inner{width:min(1160px,calc(100% - 48px));min-height:66px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:20px;padding:6px 0;position:relative}
body.rs2-site.home .rs12-brand{width:193px;max-width:100%;line-height:0;display:block}
body.rs2-site.home .rs12-brand img{display:block;width:100%;height:auto;object-fit:contain}
body.rs2-site.home .rs12-axes{display:flex;justify-self:end;align-items:center;gap:19px;min-width:0;color:var(--rs12-text)}
body.rs2-site.home .rs12-axes-intro{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#586f66;white-space:nowrap}
body.rs2-site.home .rs12-axis-line{display:flex;align-items:center;gap:0;border-left:1px solid #d9e4dd;padding-left:16px}
body.rs2-site.home .rs12-axis-viewport{display:inline-grid;align-items:center;min-width:172px;height:33px;overflow:hidden}
body.rs2-site.home .rs12-axis-word{grid-area:1/1;white-space:nowrap;display:block;font-weight:820;text-transform:uppercase;letter-spacing:.018em;font-size:18px;line-height:1.1;transition:opacity .28s,transform .28s;opacity:0;transform:translateY(5px)}
body.rs2-site.home .rs12-axis-word[hidden]{display:none}
body.rs2-site.home .rs12-axis-word.is-active{opacity:1;transform:none}
body.rs2-site.home .rs12-axis-reemploi{color:#ff711a}
body.rs2-site.home .rs12-axis-numerique{color:#087846}
body.rs2-site.home .rs12-axis-valorisation{color:#af7b1f}
body.rs2-site.home .rs12-axis-communication{color:#226c8a}
body.rs2-site.home .rs12-indicators{display:flex;gap:5px;align-items:center}
body.rs2-site.home .rs12-indicators i{display:block;width:17px;height:4px;background:#d9dddf;border-radius:99px;transition:background .25s,width .25s}
body.rs2-site.home .rs12-indicators i.is-active{width:25px;background:#ff771e}
body.rs2-site.home .rs12-mobile-menu,body.rs2-site.home .rs12-axis-control{display:none}
/* Desktop: preserve 2-column hero and alternating editorial feature positions */
body.rs2-site.home .rs2-shell.rs2-home{width:min(1160px,calc(100% - 48px));padding-top:34px;padding-bottom:0}
body.rs2-site.home .rs2-editorial-hero{grid-template-columns:1fr 1.03fr;align-items:center;gap:clamp(26px,4vw,52px);min-height:0;padding:3px 22px 36px}
body.rs2-site.home .rs2-hero-copy h1{font-size:clamp(40px,4.2vw,58px);line-height:1.065;letter-spacing:-.049em;margin-bottom:18px;max-width:590px}
body.rs2-site.home .rs2-eyebrow{font-size:11px;letter-spacing:.10em;margin-bottom:15px}
body.rs2-site.home .rs2-hero-copy>p{font-size:15px;line-height:1.6;margin-bottom:19px;max-width:495px}
body.rs2-site.home .rs2-hero-photo{border-radius:24px;aspect-ratio:1.49;object-fit:cover;max-height:339px}
body.rs2-site.home .rs2-feature{grid-template-columns:1fr 1fr;gap:clamp(23px,3.5vw,52px);min-height:0;margin:0 0 20px;padding:18px 24px;scroll-margin-top:20px;border-radius:28px;background:linear-gradient(110deg,#f8fbf8 0%,#fbfcfa 65%,#f7faf7 100%);box-shadow:0 7px 30px rgba(0,55,30,.026);align-items:center}
body.rs2-site.home .rs2-feature>img{width:100%;border-radius:23px;aspect-ratio:1.84;max-height:260px;object-fit:cover}
body.rs2-site.home .rs2-feature-copy{max-width:none}
body.rs2-site.home .rs2-feature-copy h2{font-size:clamp(29px,3vw,41px);line-height:1.12;margin:0 0 13px;letter-spacing:-.045em}
body.rs2-site.home .rs2-feature-copy>p{font-size:14px;line-height:1.55;margin:0 0 15px;max-width:480px}
body.rs2-site.home .rs2-feature .rs2-eyebrow{margin-bottom:13px}
body.rs2-site.home .rs2-btn:not(.rs2-btn-orange){font-size:13px;min-height:31px;padding:5px 0 8px!important}
body.rs2-site.home .rs2-feature .rs2-btn:not(.rs2-btn-orange)>span[aria-hidden],body.rs2-site.home .rs2-hero-copy .rs2-btn>span[aria-hidden]{font-size:19px}
body.rs2-site.home .rs12-mobile-quick{display:none}
body.rs2-site.home .rs12-section-anchor{display:block;height:0;scroll-margin-top:12px}
body.rs2-site.home .rs11-home-footer{margin:8px 0 20px}
body.rs2-site.home .rs11-home-footer .rs9-footer-band{width:min(1160px,calc(100% - 48px))!important;max-width:1160px!important;padding:28px 32px 17px;border-radius:27px}
body.rs2-site.home .rs9-footer-top{gap:20px;padding-bottom:22px}
body.rs2-site.home .rs9-footer-message h2{font-size:clamp(28px,2.9vw,37px);line-height:1.16}
body.rs2-site.home .rs9-footer-bottom{padding-top:10px}
/* Desktop CTA remains brand orange; link cards visibly interactive */
body.rs2-site.home .rs2-feature-link:focus-visible{outline:3px solid #ff771e;outline-offset:3px}
body.rs2-site.home .rs2-feature-link:hover{background:#f0f8ef;box-shadow:0 9px 28px rgba(0,56,36,.08)}
@media(max-width:920px) and (min-width:701px){
 body.rs2-site.home .rs2-editorial-hero{gap:25px;padding-inline:0}
 body.rs2-site.home .rs2-hero-copy h1{font-size:clamp(36px,4.8vw,48px)}
 body.rs2-site.home .rs2-feature{gap:26px;padding:19px}
 body.rs2-site.home .rs2-feature-copy h2{font-size:31px}
 body.rs2-site.home .rs12-brand{width:170px}
}
/* Mobile: redesigned composition in the exact validated order: header, axes, copy, photo, three links, CTA. */
@media(max-width:700px){
 body.rs2-site.home .rs12-head-inner{width:calc(100% - 32px);min-height:0;grid-template-columns:1fr auto;gap:0;padding:11px 0 0}
 body.rs2-site.home .rs12-brand{width:clamp(170px,52vw,211px);grid-column:1;grid-row:1;margin-bottom:10px}
 body.rs2-site.home .rs12-mobile-menu{display:block;position:relative;grid-column:2;grid-row:1;align-self:center;margin-bottom:10px;z-index:999}
 body.rs2-site.home .rs12-mobile-menu>summary{list-style:none;width:42px;height:42px;display:flex;align-items:center;justify-content:center;cursor:pointer;border:0;background:#fff;color:#004735;border-radius:10px}
 body.rs2-site.home .rs12-mobile-menu>summary::-webkit-details-marker{display:none}
 body.rs2-site.home .rs12-mobile-menu>summary:focus-visible{outline:2px solid #ff771e;outline-offset:2px}
 body.rs2-site.home .rs12-menu-list{position:absolute;top:calc(100% + 4px);right:0;display:flex;flex-direction:column;gap:1px;min-width:min(296px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:10px;background:#fff;border:1px solid #e0ebe2;box-shadow:0 16px 44px #0b352e24;border-radius:16px}
 body.rs2-site.home .rs12-menu-list a{font-size:14px;line-height:1.3;font-weight:700;padding:12px 10px;border-radius:8px;color:#0b352e!important}
 body.rs2-site.home .rs12-menu-list a:hover,body.rs2-site.home .rs12-menu-list a:focus-visible{background:#eef7ef}
 body.rs2-site.home .rs12-axes{grid-row:2;grid-column:1/-1;justify-self:stretch;display:grid;grid-template-columns:1fr;justify-items:center;gap:3px;width:100%;margin:0;padding:10px 0 11px;border-top:1px solid #edf1ed}
 body.rs2-site.home .rs12-axes-intro{font-size:10px;letter-spacing:.14em;line-height:1.3}
 body.rs2-site.home .rs12-axis-line{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:9px;width:100%;padding:0;border-left:0}
 body.rs2-site.home .rs12-axis-viewport{display:grid;min-width:0;width:100%;height:35px;text-align:center;justify-items:center}
 body.rs2-site.home .rs12-axis-word{font-size:clamp(19px,5.2vw,24px);letter-spacing:.01em}
 body.rs2-site.home .rs12-axis-control{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;background:transparent;border-radius:10px;color:#0b463b;font-size:32px;line-height:1;cursor:pointer}
 body.rs2-site.home .rs12-axis-control:focus-visible{outline:2px solid #ff771e}
 body.rs2-site.home .rs12-indicators{justify-content:center;gap:7px;height:12px}
 body.rs2-site.home .rs12-indicators i{width:8px;height:8px;border-radius:50%}
 body.rs2-site.home .rs12-indicators i.is-active{width:9px;height:9px}
 body.rs2-site.home .rs2-shell.rs2-home{width:calc(100% - 32px);max-width:600px;padding-top:23px}
 body.rs2-site.home .rs2-editorial-hero{display:flex;flex-direction:column;align-items:stretch;gap:19px;padding:0 0 16px;min-height:0}
 body.rs2-site.home .rs2-eyebrow{font-size:10px;letter-spacing:.11em;line-height:1.45;margin-bottom:14px}
 body.rs2-site.home .rs2-hero-copy h1{font-size:clamp(34px,8.7vw,49px);line-height:1.09;letter-spacing:-.049em;max-width:none;margin:0 0 17px}
 body.rs2-site.home .rs2-hero-copy>p{font-size:15px;line-height:1.52;max-width:none;margin:0 0 13px}
 body.rs2-site.home .rs2-btn:not(.rs2-btn-orange){font-size:14px;min-height:38px;padding:5px 0 9px!important;gap:18px}
 body.rs2-site.home .rs2-hero-photo{width:100%;aspect-ratio:1.64;max-height:none;border-radius:22px;object-fit:cover;object-position:center}
 body.rs2-site.home .rs2-feature{display:none!important}
 body.rs2-site.home .rs12-mobile-quick{display:grid;grid-template-columns:1fr;gap:10px;margin:5px 0 28px;scroll-margin-top:10px}
 body.rs2-site.home .rs12-quick-link{display:flex;align-items:center;gap:13px;min-height:62px;padding:10px 15px;border-radius:19px;background:linear-gradient(100deg,#f3f8f2,#f6f9f5);border:1px solid #ecf2eb;color:#0b352e!important;box-shadow:0 3px 8px #0d42260a;font-size:15px;font-weight:770;transition:background .17s,transform .17s}
 body.rs2-site.home .rs12-quick-link:hover,body.rs2-site.home .rs12-quick-link:focus-visible{background:#eaf5eb;transform:translateY(-1px);outline-color:#ff771e}
 body.rs2-site.home .rs12-quick-icon{flex:0 0 37px;display:flex;justify-content:center;align-items:center;color:#098043}
 body.rs2-site.home .rs12-quick-icon svg{width:30px;height:30px}
 body.rs2-site.home .rs12-quick-arrow{margin-left:auto;font-size:26px;font-weight:500;line-height:1;color:#ff771e}
 body.rs2-site.home .rs11-home-footer{margin:0 0 18px}
 body.rs2-site.home .rs11-home-footer .rs9-footer-band{width:calc(100% - 32px)!important;max-width:600px!important;margin-inline:auto!important;border-radius:25px;padding:25px 22px 23px}
 body.rs2-site.home .rs9-footer-top{display:block;border:0;padding-bottom:0}
 body.rs2-site.home .rs9-footer-kicker{font-size:10px;margin-bottom:12px}
 body.rs2-site.home .rs9-footer-message h2{font-size:clamp(27px,7.1vw,35px);line-height:1.17;max-width:430px;letter-spacing:-.04em;margin:0 0 19px}
 body.rs2-site.home .rs9-footer-cta{display:flex;width:100%;min-height:49px;justify-content:center;border-radius:99px;font-size:14px;padding:14px 16px}
 body.rs2-site.home .rs9-footer-middle,body.rs2-site.home .rs9-footer-bottom{display:none}
}
@media(max-width:375px){
 body.rs2-site.home .rs2-hero-copy h1{font-size:33px}
 body.rs2-site.home .rs12-quick-link{font-size:13.5px;gap:8px;padding-inline:11px}
 body.rs2-site.home .rs12-quick-icon{flex-basis:30px}
}
@media(prefers-reduced-motion:reduce){
 body.rs2-site.home .rs12-axis-word,body.rs2-site.home .rs12-indicators i,body.rs2-site.home .rs12-quick-link{transition:none!important}
 body.rs2-site.home .rs12-quick-link:hover{transform:none}
}
