/* ERP EPI - feuille de styles unique.
   Polices systeme, aucune ressource externe, aucun script.
   Charte WMC : anthracite #283038 et vert anis #a8cf2e. */

:root {
  --ink: #1f262d;
  --anth: #283038;
  --anth-2: #323b44;
  --anth-3: #3d4752;
  --muted: #56616c;
  --line: #e1e6dd;
  --soft: #f5f7f2;
  --tint: #eef5d8;
  --anis: #a8cf2e;
  --anis-hi: #b9dc4a;
  --anis-dark: #c6e264;
  --green: #4f6e0e;
  --green-2: #456109;
  --on-dark: #ffffff;
  --on-dark-muted: #c9d1d8;
  --soon-bg: #e7edf3;
  --soon-ink: #2c4a63;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(31, 38, 45, .06), 0 10px 28px -14px rgba(31, 38, 45, .22);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .08), 0 30px 60px -24px rgba(0, 0, 0, .55);
  --wrap: 1200px;
  --gutter: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  /* hauteur de l'en-tete collant + marge : sert aux ancres, au lien d'evitement et au defilement au focus */
  --header-offset: 112px;
  color-scheme: light;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --header-offset: 76px; } }
@media (min-width: 1280px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-offset); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; color: var(--anth); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: var(--green-2); }
strong { font-weight: 650; }
.nw { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--anth); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--anis-dark); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.85;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--anth); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.25rem; border-radius: var(--radius-sm);
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--anis); color: var(--anth); }
.btn-primary:hover { background: var(--anis-hi); color: var(--anth); }
.btn-dark { background: var(--anth); color: #fff; }
.btn-dark:hover { background: var(--anth-3); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9375rem; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
}

/* ---------- En-tete ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); }
}
/* Sous 1200 px : logo et bouton sur la premiere ligne, barre d'ancres defilable en dessous (sans JavaScript). */
.header-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; min-height: 64px; text-decoration: none; color: var(--anth); }
.brand:hover { color: var(--anth); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 1.125rem; font-weight: 800; letter-spacing: .01em; }
.brand-name small { font-size: .75rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.main-nav {
  order: 3; flex: 1 0 100%;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
  border-top: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin-left: -.7rem; padding: .2rem 0; }
.main-nav a {
  display: block; padding: .4rem .7rem; border-radius: 8px; white-space: nowrap;
  color: var(--anth); text-decoration: none; font-size: .875rem; font-weight: 550; line-height: 1.3;
}
.main-nav a:hover { background: var(--soft); color: var(--anth); }
.main-nav a:focus-visible { outline-offset: -3px; }
.header-cta { margin-left: auto; }
.header-cta .btn { white-space: nowrap; }
@media (min-width: 1200px) {
  .header-in { flex-wrap: nowrap; min-height: 64px; }
  .main-nav { order: 0; flex: 0 1 auto; margin: 0 0 0 auto; padding: 0; border-top: 0; overflow: visible; }
  .main-nav ul { margin-left: 0; padding: 0; }
  .main-nav a { padding: .5rem .7rem; font-size: .9375rem; line-height: 1.6; }
  .main-nav a:focus-visible { outline-offset: 3px; }
  .header-cta { margin-left: 0; }
}

/* ---------- Sections communes ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-soft { background: var(--soft); }
.dark { background: var(--anth); color: var(--on-dark-muted); }
.dark h2, .dark h3 { color: #fff; }
.dark a:not(.btn) { color: var(--anis-dark); }
.dark a:not(.btn):hover { color: #fff; }

.eyebrow {
  display: block;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 22px; height: 3px; margin: -2px .5rem 0 0; border-radius: 2px; background: var(--anis); }
.dark .eyebrow { color: var(--anis-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.625rem, 1.1rem + 1.9vw, 2.375rem); }
.section-head .lead { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }
.dark .section-head .lead { color: var(--on-dark-muted); }

/* ---------- Badges de maturite ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2;
  padding: .3rem .6rem; border-radius: 999px; white-space: nowrap;
}
.badge .ic { width: 1em; height: 1em; }
.badge-soon { background: var(--soon-bg); color: var(--soon-ink); }
.badge-opt { background: #fff; color: var(--anth); box-shadow: inset 0 0 0 1.5px var(--anth); }
.badge-prod { background: var(--tint); color: var(--green-2); }
.dark .badge-soon { background: #e7edf3; color: var(--soon-ink); }

.legend { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1.25rem; font-size: .9375rem; color: var(--muted); }
.legend li { list-style: none; display: inline-flex; align-items: center; gap: .5rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(168, 207, 46, .10), transparent 60%),
    linear-gradient(165deg, #2b333c 0%, #232a31 100%);
  color: var(--on-dark-muted);
  padding: clamp(44px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-areas: "txt" "pts" "mock"; }
.hero-txt { grid-area: txt; }
.hero .mock { grid-area: mock; }
@media (min-width: 1024px) {
  /* maquette centree face au texte, points cles sur toute la largeur en dessous */
  .hero-grid { grid-template-columns: 1.02fr .98fr; grid-template-areas: "txt mock" "pts pts"; align-items: center; }
}
.hero h1 { color: #fff; font-size: clamp(2rem, 1.15rem + 3vw, 3.05rem); line-height: 1.1; letter-spacing: -.02em; }
.hero .lead { margin-top: 1.25rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--on-dark-muted); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-call { margin-top: 1rem; font-size: .9375rem; }
.hero-call a { color: #fff; font-weight: 650; }
.hero-call a:hover { color: var(--anis-dark); }
.hero-points { grid-area: pts; list-style: none; display: grid; gap: .7rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 1024px) { .hero-points { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; } }
.hero-points li { display: flex; gap: .7rem; align-items: flex-start; }
.hero-points .ic { color: var(--anis-dark); margin-top: .18em; }
.hero-points strong { color: #fff; }

/* ---------- Maquettes stylisees (illustrations) ---------- */
.mock { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--anth); font-size: .8125rem; line-height: 1.35; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef1ec; border-bottom: 1px solid #e0e5dc; }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #cfd5cc; }
.mock-bar b { margin-left: 8px; font-size: .75rem; color: var(--muted); font-weight: 650; }
.sk { display: block; height: 8px; border-radius: 4px; background: #e3e8e0; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }

.mock-body { display: grid; grid-template-columns: 46px 1fr; min-height: 300px; }
.mock-side { background: var(--anth-2); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.mock-side i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.mock-side i.on { background: var(--anis); }
.mock-main { padding: 16px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-head small { display: block; color: var(--muted); font-size: .6875rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.mock-head .sk { width: 140px; height: 10px; background: #d5dbd1; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--green-2); font-weight: 700; font-size: .6875rem; white-space: nowrap; }

.flow { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; counter-reset: f; }
.flow li { position: relative; text-align: center; font-size: .6875rem; font-weight: 650; color: var(--muted); padding-top: 26px; }
.flow li::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%; background: #eef1ec; box-shadow: inset 0 0 0 2px #d5dbd1;
}
.flow li::after { content: ""; position: absolute; top: 9px; left: calc(50% + 13px); right: calc(-50% + 13px); height: 2px; background: #d5dbd1; }
.flow li:last-child::after { display: none; }
.flow li.done { color: var(--anth); }
.flow li.done::before { background: var(--anis); box-shadow: none; }
.flow li.done::after { background: var(--anis); }
.flow li.cur { color: var(--anth); }
.flow li.cur::before { background: #fff; box-shadow: inset 0 0 0 3px var(--anth); }

.matrix { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 4px; padding: 10px; border: 1px solid #e6eae3; border-radius: 10px; }
.matrix > div { min-height: 22px; display: flex; align-items: center; justify-content: center; font-size: .6875rem; }
.matrix .mx-h { font-weight: 700; color: var(--muted); }
.matrix .mx-c { justify-content: flex-start; gap: 6px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.matrix .mx-c i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.mx-c .c1 { background: #2b3a55; } .mx-c .c2 { background: #8a949c; } .mx-c .c3 { background: #a64b3c; }
.matrix .mx-v { background: #f4f6f2; border-radius: 5px; padding: 0 5px; justify-content: flex-start; }
.matrix .mx-v i { display: block; height: 6px; border-radius: 3px; background: var(--anis); }
.matrix .mx-v i.lo { background: #d8a24a; }
.mock-foot { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 7px; background: #f1f4ee; color: var(--anth); font-weight: 600; font-size: .6875rem; white-space: nowrap; }
.chip .ic { width: 12px; height: 12px; margin-right: 5px; }

/* ---------- Chiffres ---------- */
.figures { padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
.figures h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 1.5rem; }
.fig-grid { list-style: none; display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .fig-grid { grid-template-columns: repeat(4, 1fr); } }
.fig { padding-left: 14px; border-left: 3px solid var(--anis); }
.fig-pre { display: block; font-size: .8125rem; color: var(--muted); font-weight: 600; }
.fig-num { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 750; color: var(--anth); line-height: 1.15; letter-spacing: -.01em; }
.fig-label { display: block; font-size: .9375rem; color: var(--muted); margin-top: .25rem; }
.fig-note { margin-top: 1.25rem; font-size: .8125rem; color: var(--muted); }

/* ---------- Grille de fonctions ---------- */
.cards { list-style: none; display: grid; gap: 20px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: .75rem;
}
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.card-ic { width: 44px; height: 44px; border-radius: 11px; background: var(--tint); color: var(--green-2); display: grid; place-items: center; flex: none; }
.card-ic .ic { width: 22px; height: 22px; }
.card h3 { font-size: 1.1875rem; }
.card .intro { color: var(--muted); font-size: 1rem; }
.ticks { list-style: none; display: grid; gap: .45rem; font-size: .9688rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before {
  content: ""; position: absolute; left: .15rem; top: .5em;
  width: .5rem; height: .28rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.ticks .soon-line { color: var(--muted); }
.ticks .soon-line::before { border-color: #9aa7b3; }
.ticks .badge { margin-left: .35rem; vertical-align: 1px; }

/* ---------- Blocs a deux colonnes avec maquette ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split.rev > :first-child { order: 2; }
  .split.top { align-items: start; }
  .split.top > .mock { margin-top: 2.25rem; }
}
.feat { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .feat.two, .feat.three { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .feat.three { grid-template-columns: repeat(3, 1fr); gap: 1.75rem 2rem; } }
.feat li { display: flex; gap: .85rem; align-items: flex-start; }
.feat .f-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--tint); color: var(--green-2); display: grid; place-items: center; flex: none; }
.feat .f-ic .ic { width: 20px; height: 20px; }
.feat h3 { font-size: 1.0625rem; margin-bottom: .2rem; }
.feat p { font-size: .9688rem; color: var(--muted); }
.dark .feat .f-ic { background: rgba(198, 226, 100, .14); color: var(--anis-dark); }
.dark .feat p { color: var(--on-dark-muted); }

/* Maquette : sites multi-marques */
.mock-sites { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 18px; font-size: .75rem; color: var(--anth); }
.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.site { border: 1px solid #e3e8e0; border-radius: 10px; background: #fff; position: relative; }
.site::after { content: ""; position: absolute; left: 50%; bottom: -19px; width: 2px; height: 18px; background: #cfd6cb; }
.site-top { display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 10px 10px 0 0; }
.site-top i { width: 16px; height: 16px; border-radius: 5px; background: rgba(255, 255, 255, .85); flex: none; }
.site-top .sk { flex: 1; height: 6px; background: rgba(255, 255, 255, .55); }
.s1 .site-top { background: var(--anth); }
.s2 .site-top { background: #4f6d8a; }
.s3 .site-top { background: #8a5a46; }
.site-hero { height: 38px; margin: 8px; border-radius: 6px; }
.s1 .site-hero { background: var(--tint); }
.s2 .site-hero { background: #e4ebf2; }
.s3 .site-hero { background: #f2e7e1; }
.site-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 8px; }
.site-grid i { height: 26px; border-radius: 5px; background: #f1f4ee; }
.site small { display: block; padding: 8px; font-weight: 700; font-size: .6875rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.socle { margin-top: 20px; border-radius: 10px; background: var(--anth); color: #fff; padding: 12px 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.socle b { font-size: .8125rem; }
.socle span { font-size: .6875rem; color: var(--on-dark-muted); }
.sites-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.feat-note { margin-top: 1.5rem; color: var(--muted); }
.section-head + .feat-note { margin-top: -.5rem; }
.cards-gap { margin-top: clamp(32px, 4vw, 48px); }
.pim-status { margin-top: 1.25rem; }
.pim-status .badge { white-space: normal; }

/* Maquette : dotation et validation */
.mock-dot .mock-main { gap: 12px; }
.dot-meter { display: grid; gap: 6px; }
.dot-meter .row { display: flex; justify-content: space-between; font-weight: 650; font-size: .75rem; }
.dot-meter .row span { color: var(--muted); font-weight: 600; }
.bar { height: 8px; border-radius: 4px; background: #eef1ec; overflow: hidden; }
.bar i { display: block; height: 100%; width: 62%; background: var(--anis); border-radius: 4px; }
.dot-items { list-style: none; display: grid; gap: 6px; }
.dot-items li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; border: 1px solid #e8ece5; border-radius: 8px; }
.dot-items .thumb { width: 30px; height: 30px; border-radius: 7px; background: #f1f4ee; display: grid; place-items: center; color: var(--muted); }
.dot-items .thumb .ic { width: 16px; height: 16px; }
.dot-items .size { font-weight: 700; font-size: .6875rem; background: #f1f4ee; padding: 3px 8px; border-radius: 6px; }
.dot-items .txt { display: grid; gap: 5px; }
.dot-send { display: flex; justify-content: flex-end; }
.dot-send span { background: var(--anth); color: #fff; border-radius: 8px; padding: 7px 12px; font-weight: 650; font-size: .75rem; display: inline-flex; gap: 6px; align-items: center; }
.dot-send .ic { width: 13px; height: 13px; }
.chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px; padding: 10px; background: var(--soft); border-radius: 10px; }
.chain div { display: grid; justify-items: center; gap: 4px; text-align: center; font-weight: 650; font-size: .6875rem; }
.chain .node { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px #d5dbd1; color: var(--anth); }
.chain .node .ic { width: 15px; height: 15px; }
.chain .ok .node { background: var(--anis); box-shadow: none; }
.chain > .ic { width: 14px; height: 14px; color: var(--muted); }

/* Encart marque blanche */
.soon-box { margin-top: clamp(32px, 4vw, 48px); border: 1.5px dashed #a9b8c6; border-radius: var(--radius); background: #fff; padding: clamp(20px, 3vw, 32px); display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .soon-box { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 2rem; } }
.soon-box h3 { font-size: 1.3125rem; margin-top: .6rem; }
.soon-box > div > p { margin-top: .6rem; color: var(--muted); }

.types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; list-style: none; }
.types li { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; font-size: .9375rem; font-weight: 600; color: var(--anth); }
.types .ic { color: var(--green); width: 1.05em; height: 1.05em; }

/* ---------- Referentiel produits (section sombre) ---------- */
.pim-grid { display: grid; gap: 20px; margin-top: clamp(32px, 4vw, 48px); list-style: none; }
@media (min-width: 700px) { .pim-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .pim-grid { grid-template-columns: repeat(4, 1fr); } }
.pim-card { background: var(--anth-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); padding: 22px; }
.pim-card .card-ic { background: rgba(198, 226, 100, .14); color: var(--anis-dark); margin-bottom: .9rem; }
.pim-card h3 { font-size: 1.0625rem; margin-bottom: .75rem; }
.dark .ticks li::before { border-color: var(--anis-dark); }
.dark .ticks { color: #d6dde3; font-size: .9375rem; }
.next { margin-top: 24px; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, .28); padding: 20px 22px; display: grid; gap: .75rem; }
@media (min-width: 900px) { .next { grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; } }
.next ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: #d6dde3; font-size: .9375rem; }
.next li { display: inline-flex; gap: .5rem; align-items: center; }
.next li .ic { color: var(--anis-dark); width: 1em; height: 1em; }

/* Maquette : fiche produit du referentiel */
.mock-pim .pim-body { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 16px; }
.pim-photo { border-radius: 10px; background: linear-gradient(160deg, #f3f5f0, #e7ebe3); display: grid; place-items: center; aspect-ratio: 1 / 1.15; color: #a3ad9c; }
.pim-photo .ic { width: 52px; height: 52px; stroke-width: 1.3; }
.pim-info { display: grid; gap: 8px; align-content: start; min-width: 0; }
.pim-info .ttl { font-weight: 750; font-size: .875rem; color: var(--anth); }
.pim-row { display: flex; flex-wrap: wrap; gap: 5px; }
.norm { font-weight: 700; font-size: .6875rem; padding: 3px 8px; border-radius: 6px; background: var(--tint); color: var(--green-2); white-space: nowrap; }
.alert { display: flex; gap: 7px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; background: #fbefe4; color: #7a3f10; font-size: .6875rem; font-weight: 600; }
.alert .ic { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.pim-docs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 16px; }
.pim-docs li { display: flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 600; padding: 6px 8px; border: 1px solid #e8ece5; border-radius: 7px; }
.pim-docs .ic { width: 13px; height: 13px; color: var(--green); }
.pim-docs li.miss { color: var(--muted); }
.pim-docs li.miss .ic { color: #b2bab0; }
.pim-foot { display: grid; gap: 10px; padding: 14px 16px 16px; }
.pim-foot .row { display: flex; justify-content: space-between; font-size: .6875rem; font-weight: 650; color: var(--muted); }
.pim-foot .bar i { width: 78%; }
.pim-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--soft); font-size: .6875rem; font-weight: 650; }
.pim-link span { display: inline-flex; gap: 6px; align-items: center; }
.pim-link .ic { width: 13px; height: 13px; }

/* ---------- Pour qui ---------- */
.who { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .who { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .who { grid-template-columns: repeat(3, 1fr); } }
.who li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: .5rem; align-content: start; }
.who .card-ic { margin-bottom: .35rem; }
.who h3 { font-size: 1.0625rem; }
.who p { color: var(--muted); font-size: .9688rem; }

/* ---------- Benefices ---------- */
.gains { list-style: none; display: grid; gap: 14px; }
@media (min-width: 760px) { .gains { grid-template-columns: 1fr 1fr; } }
.gains li { display: flex; gap: .9rem; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.gains .g-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--anis); color: var(--anth); display: grid; place-items: center; flex: none; }
.gains .g-ic .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.gains h3 { font-size: 1.0625rem; }
.gains p { color: var(--muted); font-size: .9688rem; margin-top: .2rem; }

/* ---------- Methode ---------- */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: .9rem;
  background: var(--anth); color: #fff; font-weight: 750;
}
.steps h3 { font-size: 1.0625rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); font-size: .9688rem; }
.commit { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 900px) { .commit { grid-template-columns: repeat(3, 1fr); } }
.commit li { display: flex; gap: .75rem; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--tint); color: var(--anth); font-weight: 600; font-size: .9688rem; }
.commit .ic { color: var(--green-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 16px 20px; font-weight: 650; color: var(--anth); font-size: 1.0313rem; border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--green); width: 1.1em; height: 1.1em; }
@media (prefers-reduced-motion: no-preference) { .faq summary .ic { transition: transform .2s ease; } }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details > p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Appel a l'action ---------- */
.cta {
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(168, 207, 46, .10), transparent 60%),
    var(--anth);
}
.cta-in { display: grid; gap: 2rem; }
@media (min-width: 960px) { .cta-in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; } }
.cta h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.5rem); }
.cta .lead { margin-top: 1rem; font-size: 1.125rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.contact-card { background: var(--anth-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; display: grid; gap: 1rem; }
.contact-card h3 { font-size: 1.0625rem; }
.contact-list { list-style: none; display: grid; gap: .85rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list .ic { color: var(--anis-dark); margin-top: .15em; }
.contact-list a { font-weight: 650; overflow-wrap: anywhere; }
.contact-list small { display: block; color: var(--on-dark-muted); font-size: .875rem; }

/* ---------- Pied de page ---------- */
.site-footer { background: #1f262d; color: #c9d1d8; padding: 40px 0 28px; font-size: .9375rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--anis-dark); }
.foot-grid { display: grid; gap: 1.75rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark rect { fill: #323b44; }
.site-footer .brand-name small { color: #aab4bd; }
.foot-about { margin-top: 1rem; max-width: 36em; }
.site-footer h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: #aab4bd; margin-bottom: .75rem; font-weight: 700; }
.foot-links { list-style: none; display: grid; gap: .45rem; }
.foot-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .8438rem; color: #aab4bd; }

/* ---------- Petits ecrans ---------- */
@media (max-width: 479px) {
  .brand-name small { display: none; }
  .header-cta .btn { padding: .5rem .85rem; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-main { padding: 12px; }
  .flow li { font-size: .5938rem; }
  .matrix { grid-template-columns: 1.3fr repeat(5, 1fr); padding: 7px; gap: 3px; }
  .matrix .mx-c { font-size: .625rem; }
  .mock-pim .pim-body { grid-template-columns: 84px 1fr; }
  .pim-docs { grid-template-columns: 1fr; }
  .sites { gap: 6px; }
  .mock-sites { padding: 12px; }
  .pim-status .badge { border-radius: 10px; }
}
@media (max-width: 359px) {
  .header-in { column-gap: 1rem; }
  .header-cta .btn { padding: .45rem .7rem; font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .skip { display: none; }
  .hero, .dark, .cta { background: #fff !important; color: #000 !important; }
  .hero h1, .dark h2, .dark h3, .cta h2 { color: #000 !important; }
}
