/* ================================================================
   Maquette v2 (1er décembre 2026) — groupe « modules »
   module-performance.html + les 8 pages issues du gabarit commun
   (qualité, planning, traçabilité, stocks, personnels, lean,
   maintenance, énergies), en FR et en EN (en/). Chargé après
   site.css ; mobile d'abord. Mis à jour pour la v3 (2 décembre 2026).
   ================================================================ */

/* ---------- Héros module ---------- */
.m-enjeu{display:inline-block;background:var(--darker);border-left:4px solid var(--y);border-radius:10px;padding:10px 16px;font-size:15px;font-weight:700;color:#D5D9E2;margin-bottom:20px;line-height:1.45}
.hero .m-kick{color:var(--y)}
.hero .m-kick:before{display:none}
.hero.inner.m-lift{padding-bottom:88px}
@media (min-width:900px){.hero.inner.m-lift{padding-bottom:120px}.m-enjeu{font-size:16px}}

/* Cadre d'illustration (capture ou visuel à fournir) */
.m-view{background:var(--alt);color:var(--ink);border-radius:var(--r-lg);padding:14px;box-shadow:0 30px 60px rgba(0,0,0,.3)}
.m-view figcaption{font-weight:800;font-size:15px;padding:2px 4px 12px}
.m-view .screen{box-shadow:none;border-color:var(--rule)}
.m-view .shot{background:repeating-linear-gradient(135deg,#FFFFFF 0 14px,#F5F6F8 14px 28px)}
@media (min-width:600px){.m-view{padding:22px}.m-view figcaption{font-size:17px}}

/* ---------- Résultat chiffré (chevauche le héros) ---------- */
.m-kpi-sec{padding:0}
.m-kpi{position:relative;margin-top:-48px;background:#fff;border-radius:var(--r-lg);border-top:8px solid var(--y);box-shadow:0 18px 40px rgba(14,20,34,.12);padding:24px 22px;display:grid;gap:12px 40px;align-items:center}
.m-kpi .n{font-size:clamp(38px,9vw,60px);font-weight:800;letter-spacing:-.03em;line-height:1}
.m-kpi strong{display:block;font-size:19px;line-height:1.35}
.m-kpi p{margin-top:6px;color:var(--soft)}
.m-kpi small{display:block;margin-top:10px;font-size:12.5px;color:var(--brand)}
@media (min-width:900px){.m-kpi{grid-template-columns:auto 1fr;padding:32px 36px;margin-top:-56px}.m-kpi strong{font-size:20px}}

/* ---------- Fonctionnalités clés (liste cochée en cases) ---------- */
.m-nopb{padding-bottom:0}
h2.eyebrow{line-height:1.3}
.m-feats{display:grid;gap:12px;margin-top:20px}
.m-feats li{display:flex;gap:14px;align-items:center;border:1px solid var(--rule);border-radius:18px;padding:16px 18px;font-size:16px;font-weight:800;line-height:1.35}
.m-feats li:before{content:"";flex:none;width:32px;height:32px;border-radius:50%;background:var(--y) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230E1422' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
@media (min-width:600px){.m-feats{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.m-feats{grid-template-columns:repeat(4,1fr);gap:14px}}

/* ---------- Bénéfices ---------- */
.card.m-fill{background:var(--alt);border-color:transparent;border-top:8px solid var(--y);padding:28px}
.card.m-fill h3,.alt .card.top-y h3{font-size:20px}
.m-roi{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.m-roi li{background:var(--night);color:#fff;border-radius:var(--pill);padding:9px 18px;font-size:14px;font-weight:800}

/* Bandeau intermédiaire : variante phrase en jaune, boutons */
.strip p span.y{color:var(--y);font-weight:800}
.strip .ctas .btn{flex:1 1 220px}
@media (min-width:600px){.strip .ctas .btn{flex:0 0 auto}}
.m-gap{margin-top:40px}

/* ---------- Toutes les fonctions (étiquettes) ---------- */
.m-more{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.m-more li{background:#fff;border:1px solid var(--rule);border-radius:14px;padding:11px 16px;font-size:15px;font-weight:700}
.m-ask{margin-top:24px;color:var(--soft);font-size:15px}
.m-ask .link{color:var(--ink)}

/* ---------- Autres modules (tuiles icône + nom, 240 px minimum) ---------- */
.mods.m-others{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin-top:30px}
.mods.m-others .mod{align-items:center;font-weight:800;min-height:64px;padding:16px 18px}
.mods.m-others .mod img{width:32px;height:32px}
.mods.m-others .mod b{font-size:16px}

/* ---------- Boutons et bandeaux d'appel complémentaires ---------- */
.btn.m-dk{background:var(--night);color:#fff}
.btn.m-dk:hover{box-shadow:0 10px 24px rgba(14,20,34,.3)}
.btn.m-wh{background:#fff;color:var(--ink)}
.btn.m-wh:hover{box-shadow:0 10px 24px rgba(14,20,34,.18)}
.cta-band.m-yellow{background:var(--y);color:var(--ink)}
.cta-band.m-yellow p{color:var(--ink);font-weight:600}
.cta-band.m-edge{border-bottom:8px solid var(--y)}
.m-cta-sec{padding-top:0}

/* Illustrations des modules, reprises du canvas (vues fictives, mention « Illustration ») */
.m-view figcaption{display:flex;align-items:center;gap:12px}
.m-ic{width:40px;height:40px;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.m-ic img{width:26px;height:26px;object-fit:contain}
.m-view .live{margin-left:auto;font-size:12px;color:#fff;background:#1E8E5A;border-radius:30px;padding:5px 12px;font-weight:800}
.ill-note{text-align:right;font-size:12px;color:#5B6A89;margin:10px 0 0}
.ill svg{display:block}
.ill .il1{background:#FFFFFF;border-radius:18px;padding:18px}
.ill .il2{display:flex;justify-content:center}
.ill .il3{background:#25304A;color:#FFFFFF;border-radius:12px;padding:10px 16px;font-size:13px;font-weight:800;text-align:center}
.ill .il4{font-weight:600;font-size:11px;color:#AEB6C6}
.ill .il5{width:2px;height:16px;background:#8A94A8}
.ill .il6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:2px solid #8A94A8;padding-top:16px}
.ill .il7{background:#F5F6F8;border-radius:12px;padding:10px;font-size:12px;font-weight:800;text-align:center}
.ill .il8{background:#FBE4E1;border:2px solid #D2452F;border-radius:12px;padding:10px;font-size:12px;font-weight:800;text-align:center;color:#8A1C10}
.ill .il9{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;font-size:11px;font-weight:700;color:#4A5468;text-align:center}
.ill .il10{margin-top:14px;background:#FFD23F;border-radius:12px;padding:10px 14px;font-size:13px;font-weight:800}
.ill .il11{font-size:13px;font-weight:800}
.ill .il12{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;margin-top:10px}
.ill .il13{height:26px;border-radius:5px;background:#25304A}
.ill .il14{height:26px;border-radius:5px;background:#E3E6EC}
.ill .il15{height:26px;border-radius:5px;background:#FFD23F}
.ill .il16{height:26px;border-radius:5px;background:#D2452F}
.ill .il17{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;font-size:11px;font-weight:700;color:#4A5468}
.ill .il18{color:#B58A00}
.ill .il19{color:#D2452F}
.ill .il20{color:#8A94A8}
.ill .il21{margin-top:14px;display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:800}
.ill .il22{display:flex;justify-content:space-between;background:#F5F6F8;border-radius:10px;padding:10px 12px}
.ill .il23{color:#1E8E5A}
.ill .il24{color:#B26A00}
.ill .il25{background:#FFFFFF;border-radius:18px;padding:18px;font-size:13px;font-weight:800}
.ill .il26{display:grid;grid-template-columns:110px repeat(4,minmax(0,1fr));gap:6px;align-items:center;color:#5B6A89;font-size:12px}
.ill .il27{display:grid;grid-template-columns:110px repeat(4,minmax(0,1fr));gap:6px;align-items:center;margin-top:8px}
.ill .il28{height:22px;border-radius:6px;background:#25304A}
.ill .il29{height:22px;border-radius:6px;background:#5B6A89}
.ill .il30{height:22px;border-radius:6px;background:#E3E6EC}
.ill .il31{display:grid;grid-template-columns:110px repeat(4,minmax(0,1fr));gap:6px;align-items:center;margin-top:6px}
.ill .il32{height:22px;border-radius:6px;background:#FFD23F}
.ill .il33{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;font-size:11px;font-weight:700;color:#4A5468}
.ill .il34{color:#5B6A89}
.ill .il35{margin-top:12px;background:#FFF1D6;color:#7A4E00;border-radius:12px;padding:10px 14px}
.ill .il36{display:flex;flex-direction:column;gap:7px;margin-top:10px}
.ill .il37{display:grid;grid-template-columns:96px 1fr 34px;gap:8px;align-items:center}
.ill .il38{height:12px;border-radius:6px;background:#E3E6EC}
.ill .il39{height:12px;border-radius:6px;background:#25304A;width:90%}
.ill .il40{height:12px;border-radius:6px;background:#25304A;width:80%}
.ill .il41{height:12px;border-radius:6px;background:#FFD23F;width:62%}
.ill .il42{height:12px;border-radius:6px;background:#25304A;width:75%}
.ill .il43{height:12px;border-radius:6px;background:#25304A;width:83%}
.ill .il44{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:14px;text-align:center;font-size:12px}
.ill .il45{background:#25304A;color:#FFFFFF;border-radius:10px;padding:8px}
.ill .il46{background:#FFD23F;border-radius:10px;padding:8px}
.ill .il47{background:#E3E6EC;border-radius:10px;padding:8px}
.ill .il48{margin-top:10px;color:#4A5468;font-weight:700;font-size:12px}
.ill .il49{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ill .il50{background:#F5F6F8;border-radius:12px;padding:12px}
.ill .il51{font-size:11px;color:#5B6A89}
.ill .il52{font-size:24px}
.ill .il53{background:#FFD23F;border-radius:12px;padding:12px}
.ill .il54{font-size:11px}
.ill .il55{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.ill .il56{display:flex;justify-content:space-between;align-items:center;background:#FBE4E1;border-radius:10px;padding:10px 12px;color:#8A1C10}
.ill .il57{display:flex;justify-content:space-between;align-items:center;background:#F5F6F8;border-radius:10px;padding:10px 12px}
.ill .il58{display:flex;justify-content:space-between}
.ill .il59{display:flex;align-items:flex-end;gap:12px;height:130px;margin-top:12px;border-bottom:2px solid #E3E6EC}
.ill .il60{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}
.ill .il61{width:100%;height:100px;border-radius:8px 8px 0 0;background:#D2452F}
.ill .il62{width:100%;height:66px;border-radius:8px 8px 0 0;background:#25304A}
.ill .il63{width:100%;height:50px;border-radius:8px 8px 0 0;background:#25304A}
.ill .il64{width:100%;height:32px;border-radius:8px 8px 0 0;background:#25304A}
.ill .il65{width:100%;height:15px;border-radius:8px 8px 0 0;background:#25304A}
.ill .il66{display:flex;gap:12px;margin-top:6px;font-size:11px;color:#4A5468}
.ill .il67{flex:1;text-align:center}
.ill .il68{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.ill .il69{background:#FFD23F;border-radius:12px;padding:10px 12px}
.ill .il70{background:#FBE4E1;color:#8A1C10;border-radius:12px;padding:10px 12px}
.ill .il71{display:block}
.ill .il72{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.ill .il73{background:#FFFFFF;border-radius:18px;padding:20px}
.ill .il74{font-size:12px;font-weight:800;letter-spacing:1.5px;color:#5B6A89;text-transform:uppercase}
.ill .il75{font-size:54px;font-weight:800;letter-spacing:-2px;margin-top:8px}
.ill .il76{height:12px;border-radius:6px;background:#E3E6EC;margin-top:10px}
.ill .il77{height:12px;border-radius:6px;background:#FFD23F;width:77%}
.ill .il78{display:flex;flex-direction:column;gap:9px;margin-top:12px;font-size:13px;font-weight:700}
.ill .il79{display:grid;grid-template-columns:96px 1fr 26px;gap:8px;align-items:center}
.ill .il80{height:12px;border-radius:6px;background:#FFD23F;width:100%}
.ill .il81{height:12px;border-radius:6px;background:#FFD23F;width:80%}
.ill .il82{height:12px;border-radius:6px;background:#FFD23F;width:46%}
.ill .il83{height:12px;border-radius:6px;background:#FFD23F;width:28%}
.ill .il84{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.ill .il85{background:#1E8E5A;color:#FFFFFF;border-radius:14px;padding:12px;font-weight:800;font-size:15px}
.ill .il86{font-size:12px;font-weight:600}
.ill .il87{background:#B26A00;color:#FFFFFF;border-radius:14px;padding:12px;font-weight:800;font-size:15px}
.ill .il88{display:flex;justify-content:space-between;font-size:13px;font-weight:800}
.ill .il89{width:100%;height:120px;margin-top:10px}
.ill .il90{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;font-size:13px;font-weight:800}
.ill .il91{background:#E7F6EE;color:#14663F;border-radius:10px;padding:10px}
.ill .il92{background:#FFF1D6;color:#7A4E00;border-radius:10px;padding:10px}
.ill .il93{margin-top:12px;background:#25304A;color:#FFFFFF;border-radius:12px;padding:10px 14px;font-size:13px;font-weight:800}
.ill .il94{display:grid;grid-template-columns:84px repeat(6,minmax(0,1fr));font-size:12px;font-weight:800;color:#5B6A89;padding-bottom:8px;border-bottom:1px solid #E3E6EC}
.ill .il95{display:flex;flex-direction:column;gap:10px;margin-top:12px;font-size:13px;font-weight:800}
.ill .il96{display:flex;align-items:center;gap:8px}
.ill .il97{width:76px}
.ill .il98{flex:1;display:flex;gap:4px}
.ill .il99{flex:3;height:26px;border-radius:7px;background:#25304A;color:#FFFFFF;font-size:11px;display:flex;align-items:center;padding-left:6px}
.ill .il100{flex:2;height:26px;border-radius:7px;background:#FFD23F;font-size:11px;display:flex;align-items:center;padding-left:6px}
.ill .il101{flex:1}
.ill .il102{flex:4;height:26px;border-radius:7px;background:#5B6A89;color:#FFFFFF;font-size:11px;display:flex;align-items:center;padding-left:6px}
.ill .il103{flex:2;height:26px;border-radius:7px;background:repeating-linear-gradient(45deg,#F4C7C1,#F4C7C1 6px,#FBE4E1 6px,#FBE4E1 12px);color:#8A1C10;font-size:11px;display:flex;align-items:center;padding-left:6px}
.ill .il104{flex:3;height:26px;border-radius:7px;background:#FFD23F;font-size:11px;display:flex;align-items:center;padding-left:6px}
.ill .il105{flex:2;height:26px;border-radius:7px;background:#25304A;color:#FFFFFF;font-size:11px;display:flex;align-items:center;padding-left:6px}
.ill .il106{flex:2;height:26px;border-radius:7px;background:#5B6A89;color:#FFFFFF;font-size:11px;display:flex;align-items:center;padding-left:6px}
.ill .il107{flex:2}
.ill .il108{margin-top:14px;background:#FFF1D6;color:#7A4E00;border-radius:12px;padding:10px 14px;font-size:13px;font-weight:800}
/* Ajustements mobile des illustrations */
.m-view .live{white-space:nowrap}
.ill .il22,.ill .il56,.ill .il57,.ill .il58{gap:10px}
.ill .il22>span:last-child,.ill .il56>span:last-child,.ill .il57>span:last-child{white-space:nowrap}
@media (max-width:599px){
  .ill .il26,.ill .il27,.ill .il31{grid-template-columns:62px repeat(4,minmax(0,1fr));gap:4px}
  .ill .il26{font-size:9px}
  .ill .il52{font-size:19px;white-space:nowrap}
  .ill .il72{grid-template-columns:minmax(0,1fr)}
  .ill .il84{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ill .il75{font-size:44px}
}
