/* Accueils des outils : même composition visuelle que la connexion PHARION. */
#tools[data-presentation="landing"]{--service-accent:#006389;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-rows:minmax(32px,1fr) auto minmax(32px,1fr);max-width:none;margin:0;padding:0;min-height:calc(100dvh - 112px);background:radial-gradient(circle at 100% 0,#d8edf3,transparent 45%),#f5f9fa}
#tools[data-service="duerp"]{--service-accent:#b95b19}
#tools[data-service="prevention"]{--service-accent:#647b22}
#tools[data-service="skills"]{--service-accent:#967010}
#tools[data-service="protocol"]{--service-accent:#007b93}
#tools[data-service="gedicoop"]{--service-accent:#266c92}
#tools[data-presentation="landing"]>.page-head{grid-column:1;grid-row:1/-1;position:relative;isolation:isolate;overflow:hidden;align-self:stretch;align-items:flex-end;margin:0;padding:clamp(36px,6vw,88px);color:#fff;background:linear-gradient(145deg,#021f31d9,#063e5be8),url('/securite-entrepot-rouge.png') center/cover}
#tools[data-presentation="landing"]>.page-head::before{content:'';position:absolute;z-index:-1;width:480px;height:480px;right:-180px;top:-170px;border:1px solid #8bc7dc52;border-radius:50%;box-shadow:0 0 0 75px #63abc41f,0 0 0 150px #63abc414}
#tools[data-presentation="landing"] .eyebrow{display:inline-block;padding:7px 11px;border:1px solid #9cd2e066;border-radius:30px;background:#063e5ba6;color:#bfe9f4;font-size:11px;letter-spacing:.12em}
#tools[data-presentation="landing"] #service-title{font-size:clamp(40px,4.3vw,72px);line-height:1.05;margin:22px 0 20px;letter-spacing:-.04em;overflow-wrap:anywhere}
#tools[data-presentation="landing"] #service-description{max-width:520px;margin:0;color:#d2e8ef;font-size:17px;line-height:1.7}
#tools[data-presentation="landing"] #tool-context-label{grid-column:2;grid-row:1;align-self:end;width:calc(100% - 80px);max-width:560px;margin:28px auto 18px;font-size:12px;color:#35545f}
#tools[data-presentation="landing"] #tool-context{border-color:#bcd0d8;border-radius:9px;background:#fbfdfe;font-size:14px}
#tools[data-presentation="landing"] #tool-list{grid-column:2;grid-row:2;display:block;width:calc(100% - 80px);max-width:560px;margin:0 auto;padding:0}
#tools[data-presentation="landing"] #tool-message{grid-column:2;grid-row:3;align-self:start;width:calc(100% - 80px);max-width:560px;margin:16px auto 28px;color:#9d3b28;font-size:13px}
.service-welcome-card{padding:34px;border:1px solid #cddfe5;border-radius:18px;background:#fff;box-shadow:0 20px 60px #06384a17}
.service-state-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:22px;border-radius:14px;background:color-mix(in srgb,var(--service-accent),white 91%);color:var(--service-accent)}
.service-state-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.service-state-badge{display:inline-block;color:var(--service-accent);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.service-welcome-card h2{margin:10px 0 15px;color:#123744;font-size:27px;line-height:1.2;letter-spacing:-.5px}
.service-welcome-copy{margin:0;color:#59737d;font-size:15px;line-height:1.7}
.service-welcome-note{padding:12px;border-radius:9px;background:#fff7e7;color:#705519;font-size:13px;line-height:1.5}
.service-welcome-actions{display:flex;flex-direction:column;gap:10px;margin-top:26px}
.service-primary-action{display:flex;align-items:center;justify-content:center;min-height:46px;padding:12px 16px;border:0;border-radius:9px;background:var(--service-accent);color:#fff;text-align:center;text-decoration:none;font-size:14px;font-weight:600;box-shadow:0 8px 20px #00698c20}
.service-primary-action:hover{filter:brightness(1.07)}
.service-back-action{padding:12px;background:#eef4f6;color:#365c69;border-radius:9px;font-size:13px}
.service-back-action:hover{background:#e0edf1}
@media(max-width:1050px){#tools[data-presentation="landing"]{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}#tools[data-presentation="landing"] :is(#tool-list,#tool-context-label,#tool-message){width:calc(100% - 48px)}.service-welcome-card{padding:28px}}
@media(max-width:760px){#tools[data-presentation="landing"]{grid-template-columns:1fr;grid-template-rows:auto auto auto auto;min-height:calc(100dvh - 100px)}#tools[data-presentation="landing"]>.page-head{grid-column:1;grid-row:1;min-height:280px;padding:34px 24px;margin-bottom:24px}#tools[data-presentation="landing"] #service-title{font-size:44px;margin:16px 0}#tools[data-presentation="landing"] #service-description{font-size:15px}#tools[data-presentation="landing"] #tool-context-label{grid-column:1;grid-row:2;margin:0 auto 16px}#tools[data-presentation="landing"] #tool-list{grid-column:1;grid-row:3}#tools[data-presentation="landing"] #tool-message{grid-column:1;grid-row:4;margin-bottom:32px}#tools[data-presentation="landing"] :is(#tool-list,#tool-context-label,#tool-message){width:calc(100% - 32px)}.service-welcome-card{padding:25px 22px}.service-welcome-card h2{font-size:24px}}

/* EVALIO : orange et anthracite, avec le logo officiel sur fond clair. */
#tools[data-presentation="landing"][data-service="duerp"]{--service-accent:#ad4e10;background:radial-gradient(circle at 100% 0,#ffe2c4,transparent 55%),#fffaf5}
#tools[data-presentation="landing"][data-service="duerp"]>.page-head{background:linear-gradient(145deg,#632b10db,#a94d16d9),url('/securite-entrepot-rouge.png') center/cover}
#tools[data-presentation="landing"][data-service="duerp"]>.page-head::before{border-color:#ffd6a766;box-shadow:0 0 0 75px #ffc88c24,0 0 0 150px #ffc88c14}
#tools[data-presentation="landing"][data-service="duerp"] .eyebrow{border-color:#ffd4a480;background:#57270f80;color:#ffead2}
#tools[data-presentation="landing"][data-service="duerp"] #service-title{max-width:480px;line-height:0;letter-spacing:normal}
.evalio-service-logo{display:block;width:100%;height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#tools[data-presentation="landing"][data-service="duerp"] #service-description{color:#ffead5}
#tools[data-presentation="landing"][data-service="duerp"] #tool-context-label{color:#73452c}
#tools[data-presentation="landing"][data-service="duerp"] #tool-context{border-color:#e3c7b1;background:#fffdfa;color:#342b26}
#tools[data-presentation="landing"][data-service="duerp"] .service-welcome-card{border-color:#ead8c8;box-shadow:0 20px 60px #813d1414}
#tools[data-presentation="landing"][data-service="duerp"] .service-welcome-card h2{color:#302a26}
#tools[data-presentation="landing"][data-service="duerp"] .service-welcome-copy{color:#756052}
#tools[data-presentation="landing"][data-service="duerp"] .service-primary-action{box-shadow:0 8px 20px #ad4e1024}
#tools[data-presentation="landing"][data-service="duerp"] .service-primary-action:focus-visible{outline:3px solid #d9792e;outline-offset:4px}
#tools[data-presentation="landing"][data-service="duerp"] .service-back-action{background:#f7eee5;color:#754628}
#tools[data-presentation="landing"][data-service="duerp"] .service-back-action:hover{background:#f0e0cf}
@media(max-width:760px){#tools[data-presentation="landing"][data-service="duerp"] #service-title{max-width:380px}.evalio-service-logo{display:block;width:100%;height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}}
/* PACTIO : accueil en préparation, vert et jaune du logo existant. */
#tools[data-presentation="landing"][data-service="prevention"]{--service-accent:#4e7623;background:radial-gradient(circle at 100% 0,#e9edc9,transparent 55%),#fafbf4}
#tools[data-presentation="landing"][data-service="prevention"]>.page-head{background:linear-gradient(145deg,#122b16ed,#3b5729eb),url('/securite-entrepot-rouge.png') center/cover}
#tools[data-presentation="landing"][data-service="prevention"]>.page-head::before{border-color:#d2df6d66;box-shadow:0 0 0 75px #b5c83e20,0 0 0 150px #d8bc2412}
#tools[data-presentation="landing"][data-service="prevention"] .eyebrow{border-color:#d7df9380;background:#263f1f99;color:#edf2c4}
#tools[data-presentation="landing"][data-service="prevention"] #service-title{max-width:510px;line-height:0;letter-spacing:normal}.pactio-service-logo{display:block;width:100%;height:auto}
#tools[data-presentation="landing"][data-service="prevention"] #service-description{color:#e6eccd}
#tools[data-presentation="landing"][data-service="prevention"] .service-welcome-card{position:relative;overflow:hidden;border-color:#dce4c6;box-shadow:0 20px 60px #334b1712;padding-top:44px}
#tools[data-presentation="landing"][data-service="prevention"] .service-welcome-card::before{content:'';position:absolute;top:0;left:0;right:0;height:8px;background:repeating-linear-gradient(135deg,#e3c632 0 18px,#566b2b 18px 36px)}
#tools[data-presentation="landing"][data-service="prevention"] .service-state-icon{background:#f4f3d9;color:#647724;border:1px solid #e4e5bd}
#tools[data-presentation="landing"][data-service="prevention"] .service-state-badge{padding:6px 10px;background:#edf2df;border-radius:20px;font-size:10px;letter-spacing:.08em}
#tools[data-presentation="landing"][data-service="prevention"] .service-welcome-card h2{color:#283d23;font-size:32px;margin-top:16px}
#tools[data-presentation="landing"][data-service="prevention"] .service-welcome-copy{color:#69765a}
#tools[data-presentation="landing"][data-service="prevention"] .service-primary-action:disabled{opacity:1;cursor:default;background:#edf1e3;color:#647549;box-shadow:none}
#tools[data-presentation="landing"][data-service="prevention"] .service-back-action{background:#f2f5ea;color:#4b6335}
#tools[data-presentation="landing"][data-service="prevention"] .service-back-action:hover{background:#e8efda}
@media(max-width:760px){#tools[data-presentation="landing"][data-service="prevention"] #service-title{max-width:380px}}

/* HABILIS entry presentation */
/* HABILIS only: keep the shared portal and other service identities unchanged. */
#tools[data-service="habilis"][data-presentation="landing"]{--service-accent:#765484;background:radial-gradient(circle at 100% 0,#e9dfef,transparent 50%),#f6f4f8}
#tools[data-service="habilis"]>.page-head{background:linear-gradient(145deg,#33203fe8,#503460ed),url('/securite-entrepot-rouge.png') center/cover}
#tools[data-service="habilis"]>.page-head::before{border-color:#dbc5eb52;box-shadow:0 0 0 75px #bc91d21f,0 0 0 150px #bc91d214}
#tools[data-service="habilis"] .eyebrow{background:#50346099;border-color:#dbc5eb66;color:#f2e8f8}
#tools[data-service="habilis"] #service-title{line-height:1;margin:22px 0 24px}
#tools[data-service="habilis"] .habilis-entry-logo{display:block;width:min(100%,460px);height:auto}
#tools[data-service="habilis"] #service-description{color:#f0e6f5}
#tools[data-service="habilis"] #tool-context-label{color:#5d5069}
#tools[data-service="habilis"] #tool-context{border-color:#d9d0df;background:#fdfbfe;color:#20172c}
#tools[data-service="habilis"] .service-welcome-card{border-color:#e0d5e7;box-shadow:0 20px 60px #50346017}
#tools[data-service="habilis"] .service-welcome-card h2{color:#20172c}
#tools[data-service="habilis"] .service-welcome-copy{color:#776e82}
#tools[data-service="habilis"] .service-primary-action{background:#765484;color:#fff;box-shadow:0 8px 20px #50346020}
#tools[data-service="habilis"] .service-primary-action:hover{background:#503460;filter:none}
#tools[data-service="habilis"] .service-back-action{background:#f1ecf5;color:#503460}
#tools[data-service="habilis"] .service-back-action:hover{background:#e9e0ef}
#tools[data-service="habilis"] :is(button,a,select):focus-visible{outline:3px solid #765484;outline-offset:4px}
@media(max-width:760px){#tools[data-service="habilis"] .habilis-entry-logo{width:min(100%,340px)}#tools[data-service="habilis"] #service-title{margin:16px 0 20px}}

/* IDONEUS : jaune et anthracite, logo officiel sans cartouche. */
#tools[data-presentation="landing"][data-service="skills"]{--service-accent:#79601d;background:radial-gradient(circle at 100% 0,#f6e5ad,transparent 55%),#fcfaf3}
#tools[data-presentation="landing"][data-service="skills"]>.page-head{color:#292816;background:linear-gradient(145deg,#f7d769ef,#d9aa35eb),url('/securite-entrepot-rouge.png') center/cover}
#tools[data-presentation="landing"][data-service="skills"]>.page-head::before{border-color:#fff1b780;box-shadow:0 0 0 75px #fff0ac30,0 0 0 150px #fff0ac20}
#tools[data-presentation="landing"][data-service="skills"] .eyebrow{border-color:#79601d66;background:#fff5d1b3;color:#514018}
#tools[data-presentation="landing"][data-service="skills"] #service-title{max-width:360px;line-height:0;letter-spacing:normal}
#tools[data-service="skills"] .idoneus-entry-logo{display:block;width:100%;height:auto;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#tools[data-presentation="landing"][data-service="skills"] #service-description{max-width:360px;color:#342e1c;text-align:left;line-height:1.65}
#tools[data-service="skills"] .idoneus-description-heading{display:block;margin-bottom:8px;font-size:20px;font-weight:600}
#tools[data-service="skills"] .idoneus-description-copy{display:block;font-size:16px}
#tools[data-presentation="landing"][data-service="skills"] #tool-context-label{color:#5a4a29}
#tools[data-presentation="landing"][data-service="skills"] #tool-context{border-color:#d8cba5;background:#fffefa;color:#292816}
#tools[data-service="skills"] .service-welcome-card{border-color:#e2d7b7;box-shadow:0 20px 60px #79601d17}
#tools[data-service="skills"] .service-welcome-card h2{color:#292816}
#tools[data-service="skills"] .service-welcome-copy{color:#6b624b}
#tools[data-service="skills"] .service-primary-action{background:#e8bb48;color:#292816;box-shadow:0 8px 20px #79601d20}
#tools[data-service="skills"] .service-primary-action:hover{background:#dcaf3a;filter:none}
#tools[data-service="skills"] .service-back-action{background:#f6f0df;color:#5a4a29}
#tools[data-service="skills"] .service-back-action:hover{background:#eee4c9}
@media(max-width:760px){#tools[data-presentation="landing"][data-service="skills"] #service-title{max-width:280px}}
