/* DataFish V3.2 : pages Réalisations, Technologies, Selon votre maturité. Chargé après v3-home.css. */

/* ---------- Réalisations : filtres ---------- */
.rz-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -0.5rem 0 1.75rem; }
.rz-filters button {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 16px; border: 0; border-radius: var(--b-r-tag);
    background: #fff; font: 600 14.5px/1 var(--f-body); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s;
}
.rz-filters button:hover { background: var(--tide-soft); }
.rz-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rz-filters button:focus-visible { outline: 2px solid var(--tide); outline-offset: 2px; }
.rz-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--b-r-tag); background: var(--sea); font-size: 12px; color: var(--muted); }
.rz-filters button[aria-pressed="true"] .rz-count { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- Réalisations : fiches ---------- */
.rz-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.rz-case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; padding: 18px; border-radius: var(--b-r-card); background: #fff; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.rz-case:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rz-case:nth-child(even) .rz-art { order: 2; }
.rz-case[hidden] { display: none !important; }
.rz-case.is-in { animation: rz-in .5s var(--ease-out) both; }
@keyframes rz-in { from { opacity: 0; transform: translateY(8px); } }
.rz-art { border-radius: var(--b-r-card); overflow: hidden; }
.rz-art .il { display: block; width: 100%; height: auto; }
/* au survol ou au focus d'un cas, les barres de l'illustration remontent (voulu par Louis, 25/09 : ne pas retirer) */
@media (prefers-reduced-motion: no-preference) {
    .rz-case:is(:hover, :focus-within) .il-bar { animation: il-rise .9s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
}
.rz-txt { padding: 6px 10px 6px 0; }
.rz-case:nth-child(even) .rz-txt { padding: 6px 0 6px 10px; }
.rz-cat { display: inline-block; padding: 4px 10px; border-radius: var(--b-r-tag); background: var(--tide-soft); font-size: 12.5px; font-weight: 600; color: var(--tide); }
body.v2 .rz-case h3 { margin: 10px 0 14px; font: 600 clamp(1.3rem, 2vw, 1.55rem)/1.2 var(--f-display); letter-spacing: -.015em; color: var(--ink); }
.rz-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.rz-dl div { padding: 14px 14px 16px; border-radius: var(--b-r-card); background: var(--sea); }
.rz-dl dt { margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--tide); }
.rz-dl dd { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.rz-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 14px; }
.rz-foot .hm-tags { margin: 0; padding: 0; }
.rz-exp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-size: 14px; }
.rz-exp span { color: var(--muted); }
.rz-exp a { font-weight: 600; color: var(--tide); text-underline-offset: 4px; }

/* ---------- Réalisations : MaturIA, l'appli en démonstration ---------- */
.rz-product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.rz-app { position: sticky; top: calc(var(--header-h) + 24px); }
.rz-app { margin: 0; border-radius: var(--b-r-card); background: #fff; box-shadow: none; overflow: hidden; }
.rz-brand { font: 600 15px/1 var(--f-display); }
.rz-appname { color: rgba(255, 255, 255, .7); }
.rz-co { margin-left: auto; padding: 3px 10px; border-radius: var(--b-r-tag); background: rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.rz-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 330px; }
.rz-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: var(--sea); }
.rz-side button { padding: 10px 12px; border: 0; border-radius: var(--b-r-card); background: none; text-align: left; font: 600 14px/1.2 var(--f-body); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.rz-side button:hover { background: #fff; color: var(--ink); }
.rz-side button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: none; }
.rz-side button:focus-visible { outline: 2px solid var(--tide); outline-offset: 1px; }
.rz-main { padding: 20px 22px; }
.rz-view:not([hidden]) { animation: rz-in .4s var(--ease-out); }
.rz-kpi { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; }
.rz-kpi small { width: 100%; font-size: 13px; font-weight: 600; color: var(--muted); }
.rz-kpi b { font: 600 40px/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.rz-kpi span { color: var(--muted); }
.rz-kpi em { margin-left: auto; padding: 4px 10px; border-radius: var(--b-r-tag); background: var(--ink); color: #fff; font-style: normal; font-size: 13px; font-weight: 600; }
.rz-sum { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: center; }
.rz-sum .dx-radar svg, .rz-doc .dx-radar svg { display: block; width: 100%; height: auto; }
.rz-app .df-diag-bars div { display: grid; grid-template-columns: 78px minmax(0, 1fr) 30px; align-items: center; gap: 10px; margin: 10px 0; font-size: 14px; }
.rz-app .df-diag-bars b { font-weight: 600; color: var(--ink); }
.rz-app .df-diag-bars i { position: relative; height: 8px; border-radius: 4px; background: var(--sea); overflow: hidden; }
.rz-app .df-diag-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 4px; background: var(--tide); transform-origin: 0 50%; }
.rz-app.is-in .df-diag-bars i::after { animation: rz-bar 1s var(--ease-out) both; }
@keyframes rz-bar { from { transform: scaleX(0); } }
.rz-app .df-diag-bars span { font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.rz-grow { transform-box: fill-box; transform-origin: center; }
.rz-app.is-in .rz-grow { animation: il-scale 1s var(--ease-out) both; }
.rz-recos { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rz-recos li { display: grid; gap: 3px; padding: 14px 16px; border-radius: var(--b-r-card); background: var(--sea); animation: rz-in .45s var(--ease-out) both; animation-delay: calc(var(--i) * 90ms); }
.rz-hz { justify-self: start; padding: 2px 9px; border-radius: var(--b-r-tag); background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.rz-recos b { font: 600 15.5px/1.3 var(--f-display); color: var(--ink); }
.rz-recos small { font-size: 13px; color: var(--muted); }
.rz-table { display: grid; font-size: 13.5px; }
.rz-tr { display: grid; grid-template-columns: minmax(0, 2fr) 0.8fr 1.25fr 0.7fr 1.25fr; gap: 10px; align-items: center; padding: 10px 6px; border-bottom: 1px solid var(--line); animation: rz-in .4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
.rz-th { padding-top: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.rz-tr b { font-weight: 600; color: var(--ink); }
.rz-tr > span:not(:first-child) { white-space: nowrap; }
.rz-dots { display: inline-flex; gap: 3px; margin-right: 6px; vertical-align: 1px; }
.rz-dots i { width: 7px; height: 7px; border-radius: 2px; background: var(--line); }
.rz-dots i.on { background: var(--fish); }
.rz-st { display: inline-block; padding: 3px 9px; border-radius: var(--b-r-tag); font-style: normal; font-size: 12px; font-weight: 600; background: var(--sea); color: var(--muted); }
.rz-st--1 { background: var(--tide-soft); color: var(--tide); }
.rz-st--2 { background: var(--ink); color: #fff; }
.rz-doc { display: grid; gap: 12px; justify-items: center; }
.rz-doc-page { width: min(100%, 340px); padding: 20px 22px; border-radius: var(--b-r-card); background: #fff; box-shadow: none; animation: rz-in .45s var(--ease-out); }
.rz-doc-page > b { display: block; font: 600 15px/1.3 var(--f-display); color: var(--ink); }
.rz-doc-page > small { font-size: 12px; color: var(--muted); }
.rz-doc-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 12px; }
.rz-doc-l { display: block; margin: 9px 0; }
.rz-doc-l em { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink); }
.rz-doc-l::after { content: ""; display: block; width: var(--w); height: 5px; margin-top: 4px; border-radius: 3px; background: var(--sea); }
.rz-export { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--b-r-card); background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600; }
.rz-export svg { width: 16px; height: 16px; }
.rz-app figcaption { padding: 10px 16px 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.rz-label { display: block; margin-bottom: .4rem; font-size: 14px; font-weight: 600; color: var(--tide); }
body.v2 .rz-prod-txt h3 { margin: 0 0 .6rem; font: 600 clamp(2rem, 3.4vw, 2.6rem)/1.05 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.rz-prod-txt > p { margin: 0 0 1rem; font-size: 17px; line-height: 1.6; color: var(--muted); }
.rz-modes { display: grid; gap: 8px; margin: 1.25rem 0 1.5rem; }
.rz-modes b { font: 600 15px/1.2 var(--f-display); color: var(--ink); }
.rz-modes span { display: grid; padding: 10px 14px; border-radius: var(--b-r-card); background: var(--sea); font-size: 14.5px; color: var(--muted); }
.rz-modes strong { color: var(--ink); font-weight: 600; }
.rz-prodsec .df-lab { margin-top: 2.5rem; }

@media (max-width: 1000px) {
    .rz-case, .rz-case:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
    .rz-app { position: static; }
    .rz-case:nth-child(even) .rz-art { order: 0; }
    .rz-txt, .rz-case:nth-child(even) .rz-txt { padding: 0 4px 6px; }
    .rz-product { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .rz-dl { grid-template-columns: minmax(0, 1fr); }
    .rz-body { grid-template-columns: minmax(0, 1fr); }
    .rz-side { flex-direction: row; overflow-x: auto; }
    .rz-side button { white-space: nowrap; }
    .rz-sum { grid-template-columns: minmax(0, 1fr); }
    .rz-sum .dx-radar { max-width: 180px; }
    .rz-tr { grid-template-columns: minmax(0, 2fr) 1fr 1fr; }
    .rz-tr > :nth-child(2), .rz-tr > :nth-child(4) { display: none; }
    .rz-co { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rz-case.is-in, .rz-view:not([hidden]), .rz-recos li, .rz-tr, .rz-doc-page, .rz-app.is-in .df-diag-bars i::after, .rz-app.is-in .rz-grow { animation: none; }
}

/* ================= Technologies ================= */
/* 14/10 (lot 2, direction « premium sobre ») : règles .tc-* retirées (environnements, empilement à rail et pointillés, paquets animés,
   périmètre, capacités, modèles, familles et hébergements de la V3.5) : aucune page ne porte plus ces classes (Technologies est rendue
   par v3-tech.css). Règles dans l'historique git (commit 41569f3). .ar-more sert encore au garde-manger. */
.ar-more { margin: 22px 0 0; }

/* ================= Selon votre maturité ================= */
.mt { --stH: 92px; --bu: 22px; --b0: 10px; --fw: 58px; }
/* L'escalier : chaque marche est un niveau ; le poisson monte et descend */
.mt-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-top: 40px; margin-bottom: 24px; }
.mt-steps button { display: flex; flex-direction: column; justify-content: flex-end; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--f-body); }
/* bouton ajusté à sa marche (barre + libellé) : la surbrillance du repère et le focus en suivent la forme */
.mt-steps button { align-self: end; border-radius: var(--b-r-card); }
.mt-bar { display: block; height: calc(var(--n) * var(--bu) + var(--b0)); border-radius: 6px 6px 4px 4px; background: var(--tide-soft); transition: background-color .3s var(--ease-out); }
.mt-steps button:hover .mt-bar { background: var(--b-rule); }
.mt-steps button[aria-pressed="true"] .mt-bar { background: var(--ink); }
.mt-steps button:focus-visible { outline: 2px solid var(--tide); outline-offset: 4px; border-radius: var(--b-r-card); }
.mt-st { display: grid; align-content: start; gap: 1px; height: var(--stH); padding: 10px 4px 0; }
.mt-st small { font-size: 12.5px; font-weight: 600; color: var(--tide); }
.mt-st b { font: 600 19px/1.2 var(--f-display); color: var(--ink); }
.mt-st em { font-style: normal; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.mt-steps button:not([aria-pressed="true"]) .mt-st b { color: var(--b-text); }
.mt-fish {
    position: absolute; z-index: 1; width: var(--fw); color: var(--fish); pointer-events: none;
    left: calc((var(--lv) - .5) * (100% - 30px) / 4 + (var(--lv) - 1) * 10px - var(--fw) / 2);
    bottom: calc(var(--stH) + var(--lv) * var(--bu) + var(--b0) + 6px);
    transition: left .7s var(--ease-out), bottom .7s var(--ease-out);
}
.mt-fish svg { display: block; width: 100%; height: auto; }
.mt-fish.is-back svg { transform: scaleX(-1); }
/* 14/10 (lot 2, plus de poisson décoratif) : l'ancien escalier n'est plus rendu qu'au garde-manger, et son poisson n'est plus rendu
   (v3-maturity.mjs ; js/v3.js vérifie qu'il existe). Les règles .mt-fish sont gardées pour le jour où il revient. */

.mt-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.25rem); align-items: start; }
/* Le réseau d'outils, qui se construit avec le niveau */
.mt-net { margin: 0; }
.mt-canvas { position: relative; aspect-ratio: 5 / 4; border-radius: var(--b-r-card); background: var(--sea); overflow: hidden; isolation: isolate; }
/* V4.2 (26/09, « le fond fait très vide ») : lignes de niveau de la carte marine en fond, qui glissent doucement d'un niveau à l'autre */
.mt-canvas::before {
    content: ""; position: absolute; inset: -12%; z-index: -1; pointer-events: none;
    background: none; opacity: .5; /* 14/10 (lot 2) : plus de lignes de niveau en fond (image retirée, historique git) */
    transform: translate(calc((var(--lv, 2) - 2.5) * -2.5%), calc((var(--lv, 2) - 2.5) * 2%)) rotate(calc((var(--lv, 2) - 2.5) * 3deg));
    transition: transform 1.2s var(--ease-out);
}
/* trois bandes, de haut en bas : vos usages, vos données, vos outils (fond teinté, sans contour) ; une bande vide s'efface */
.mt-zones { position: absolute; inset: 0; pointer-events: none; }
.mt-zone {
    position: absolute; left: 12px; right: 12px; height: calc((100% - 40px) / 3); border-radius: var(--b-r-card);
    background: rgba(31, 111, 168, .055); transition: background-color .5s var(--ease-out);
}
.mt-zone[data-z="uses"] { top: 12px; }
.mt-zone[data-z="data"] { top: calc(20px + (100% - 40px) / 3); }
.mt-zone[data-z="tools"] { top: calc(28px + (100% - 40px) * 2 / 3); }
.mt-zone b { position: absolute; top: 9px; left: 12px; font: 600 11.5px/1.2 var(--f-body); letter-spacing: .03em; color: var(--tide); opacity: .85; transition: opacity .5s; }
.mt-zone em { position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-30%); font-style: normal; font-size: 13.5px; line-height: 1.35; text-align: center; color: var(--muted); opacity: 0; transition: opacity .5s var(--ease-out); }
.mt-zone.is-empty { background: rgba(31, 111, 168, .022); }
.mt-zone.is-empty b { opacity: .55; }
.mt-zone.is-empty em:not(:empty) { opacity: 1; transition-delay: .35s; }
/* halo sous l'outil central, qui le suit d'un niveau à l'autre et respire lentement */
.mt-halo {
    position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%; opacity: 0; transform: translate(-50%, -50%);
    background: none;
    transition: left .7s var(--ease-out), top .7s var(--ease-out), opacity .6s var(--ease-out);
}
.mt-halo.is-on { opacity: 1; animation: mt-breathe 5s ease-in-out infinite alternate; }
@keyframes mt-breathe { from { transform: translate(-50%, -50%) scale(.9); } to { transform: translate(-50%, -50%) scale(1.06); } }
.mt-links-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* points qui circulent le long des liens (créés par js/v3.js, sous les pastilles) : des outils vers les données, puis vers les usages */
.mt-dots { position: absolute; inset: 0; pointer-events: none; }
.mt-dot {
    position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--fish);
    box-shadow: 0 0 0 3px rgba(31, 111, 168, .18); opacity: 0;
    animation: mt-dot var(--d, 2.8s) linear var(--w, 0s) infinite;
}
@keyframes mt-dot {
    0% { left: var(--ax); top: var(--ay); opacity: 0; }
    14%, 86% { opacity: 1; }
    100% { left: var(--bx); top: var(--by); opacity: 0; }
}
.mt-canvas.is-away .mt-dot, .mt-canvas.is-away .mt-halo { animation-play-state: paused; }
.mt-links-svg line { stroke: #C9D3DD; stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .45s var(--ease-out); }
.mt-links-svg line.is-hub { stroke: var(--tide); }
/* performance (V4.2) : seules les lignes allumées défilent, et pas hors de l'écran (is-away posée par js/v3.js) */
.mt-links-svg line.is-on { opacity: 1; animation: mt-flow 1.4s linear infinite; }
.mt-links-svg.is-away line { animation-play-state: paused; }
@keyframes mt-flow { to { stroke-dashoffset: -22; } }
.mt-net ul { margin: 0; padding: 0; list-style: none; }
.mt-node {
    position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px; border-radius: var(--b-r-card);
    background: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--ink); white-space: nowrap;
    transform: translate(-50%, -50%);
    transition: left .7s var(--ease-out), top .7s var(--ease-out), opacity .4s var(--ease-out), transform .5s var(--ease-out), background-color .4s, color .4s, padding .4s;
}
.mt-node i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: var(--b-r-card); background: var(--sea); color: var(--tide); transition: background-color .4s, color .4s; }
.mt-node i svg { width: 14px; height: 14px; }
/* pastille plus riche (V4.2) : nom de l'outil et, dessous, son rôle en petit */
.mt-node > span { display: grid; gap: 1px; min-width: 0; }
.mt-node b { font-weight: 600; }
/* noms longs (« Réconciliation bancaire », « Claude avec des skills ») sur deux lignes : la pastille reste dans sa part de la bande */
.mt-node:not(.is-hub) b { max-width: 10em; white-space: normal; }
.mt-node small { font-size: 11.5px; font-weight: 500; line-height: 1.2; color: var(--muted); transition: color .4s; }
.mt-node.is-ia { background: var(--ink); color: #fff; }
.mt-node.is-ia i { background: rgba(255, 255, 255, .14); color: var(--b-accent-dark); }
.mt-node.is-ia small { color: rgba(255, 255, 255, .7); }
.mt-node.is-hub small { color: rgba(255, 255, 255, .82); }
/* équipe métier (niveau 4) : l'icône du métier et, sur son coin, l'agent IA qui travaille avec elle */
.mt-node i { position: relative; }
.mt-badge { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: var(--b-r-tag); background: var(--fish); color: #fff; box-shadow: 0 0 0 2px var(--ink); text-decoration: none; }
.mt-node .mt-badge svg { width: 10px; height: 10px; }
.mt-node.is-team { padding-left: 9px; }
.mt-node.is-team > span { margin-left: 3px; }
.mt-node.is-hub { padding: 11px 16px 11px 10px; font-size: 15.5px; background: var(--tide); color: #fff; box-shadow: none; }
.mt-node.is-hub i { width: 28px; height: 28px; background: rgba(255, 255, 255, .16); color: #fff; }
.mt-node.is-off { opacity: 0; transform: translate(-50%, -50%) scale(.6); pointer-events: none; }
.mt-cap { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--tide); }

/* Le détail du niveau */
.mt-panel:not([hidden]) { animation: mt-in .45s var(--ease-out) both; }
@keyframes mt-in { from { opacity: 0; transform: translateY(6px); } }
.mt-kicker { margin: 0; font-size: 13px; font-weight: 600; color: var(--tide); }
body.v2 .mt-panel h3 { margin: 2px 0 8px; font: 600 clamp(1.6rem, 2.6vw, 2rem)/1.15 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.mt-profile { margin: 0; font-size: 16.5px; line-height: 1.55; color: var(--ink); }
.mt-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 20px 0 16px; }
body.v2 .mt-panel h4 { margin: 0 0 8px; font: 600 13.5px/1.3 var(--f-body); color: var(--tide); }
.mt-pains, .mt-offer { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.mt-pains li { position: relative; padding-left: 16px; color: var(--b-text); }
.mt-pains li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 1px; background: #C9D3DD; }
.mt-offer li { display: flex; gap: 9px; }
.mt-offer li > span { display: grid; place-items: center; flex: none; width: 21px; height: 21px; border-radius: var(--b-r-tag); background: var(--ink); font-size: 11.5px; font-weight: 600; color: #fff; }
.mt-first { padding: 14px 16px 15px; border-radius: var(--b-r-card); background: var(--sea); }
.mt-first p { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.mt-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 16px 0 0; font-size: 14px; }
.mt-links span { color: var(--muted); }
.mt-links a { font-weight: 600; color: var(--tide); text-underline-offset: 4px; }
.mt-links--more { margin-top: 10px; }

.mt-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.mt-cta-in .hm-h { margin: 0 0 6px; }
.mt-cta-in p { margin: 0; max-width: 60ch; font-size: 16.5px; line-height: 1.55; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    .mt-links-svg line, .mt-links-svg line.is-on { animation: none; }
    .mt-panel:not([hidden]) { animation: none; }
    .mt-node, .mt-fish { transition: none; }
    .mt-canvas::before, .mt-halo, .mt-zone, .mt-zone b, .mt-zone em { transition: none; }
    .mt-halo.is-on { animation: none; }
    .mt-dots { display: none; }
}

@media (max-width: 1080px) {
    .mt-body { grid-template-columns: minmax(0, 1fr); }
    .mt-canvas { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
    .mt { --stH: 50px; --bu: 14px; --b0: 8px; --fw: 40px; }
    .mt-steps { gap: 6px; padding-top: 30px; }
    .mt-fish { left: calc((var(--lv) - .5) * (100% - 18px) / 4 + (var(--lv) - 1) * 6px - var(--fw) / 2); }
    .mt-st { padding: 7px 0 0; }
    .mt-st b { font-size: 13.5px; }
    .mt-st small { font-size: 11.5px; }
    .mt-st em { display: none; }
    .mt-canvas { aspect-ratio: 1 / 1; }
    .mt-node { max-width: 44%; padding: 5px 7px 5px 5px; gap: 4px; font-size: 11.5px; white-space: normal; overflow-wrap: break-word; hyphens: auto; }
    .mt-node i { width: 18px; height: 18px; }
    .mt-node i svg { width: 12px; height: 12px; }
    .mt-node.is-hub { padding: 8px 10px 8px 8px; font-size: 13px; }
    .mt-node small { display: none; }
    .mt-zone { left: 8px; right: 8px; height: calc((100% - 32px) / 3); border-radius: var(--b-r-card); }
    .mt-zone[data-z="uses"] { top: 8px; }
    .mt-zone[data-z="data"] { top: calc(16px + (100% - 32px) / 3); }
    .mt-zone[data-z="tools"] { top: calc(24px + (100% - 32px) * 2 / 3); }
    .mt-zone b { top: 7px; left: 10px; font-size: 10.5px; }
    .mt-zone em { font-size: 12.5px; }
    .mt-halo { width: 62%; }
    .mt-badge { width: 14px; height: 14px; right: -5px; bottom: -5px; }
    .mt-node .mt-badge svg { width: 9px; height: 9px; }
    .mt-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
}
@media (max-width: 760px) {
    /* V4.2 (26/09) : trois pastilles par bande, 36 % au plus chacune : rien ne se chevauche ni ne sort du schéma */
    .mt-node { width: max-content; max-width: 36%; }
    .mt-node.is-hub { max-width: 60%; }
    /* « Réconciliation bancaire » (niveau 2) et « Automatisations » (niveau 3) ont plus de place autour d'elles : le mot tient sur une ligne */
    .mt-node[data-k="recon"] { max-width: 41%; }
    .mt-node[data-k="auto"] { max-width: 46%; }
}

/* ================= Qui nous sommes (V3.5) ================= */
/* Repères chiffrés, juste sous l'accroche */
.ab-figs-sec { padding: clamp(28px, 4vw, 44px) 0; background: #fff; border-bottom: 1px solid var(--line); }
.ab-figs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.ab-figs li { display: grid; align-content: start; gap: 2px; padding: 4px clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
.ab-figs li:first-child { padding-left: 0; border-left: 0; }
.ab-figs b { font: 600 clamp(2rem, 3.4vw, 2.9rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.ab-figs span { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--tide); }
.ab-figs small { font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* Ce qui nous guide : cinq règles */
.ab-rules { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ab-rules li { display: grid; grid-template-columns: clamp(80px, 11vw, 140px) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding: clamp(22px, 3vw, 32px) 0; border-top: 1px solid var(--line); }
.ab-rules li:last-child { border-bottom: 1px solid var(--line); }
.ab-n { font: 600 clamp(2.6rem, 5vw, 4.2rem)/1 var(--f-display); letter-spacing: -.04em; color: #C9D3DD; transition: color .6s var(--ease-out); }
.ab-rules li.is-in .ab-n { color: var(--fish); }
body.v2 .ab-rules h3 { margin: 0 0 8px; font: 600 clamp(1.35rem, 2.3vw, 1.85rem)/1.2 var(--f-display); letter-spacing: -.02em; color: var(--ink); }
.ab-rules p { max-width: 62ch; margin: 0 0 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.ab-rules li[data-reveal] > div { transition: transform .7s var(--ease-out), opacity .7s var(--ease-out); }
.ab-rules li[data-reveal]:not(.is-in) > div { opacity: 0; transform: translateX(-14px); }

/* Carte de France en pixels */
.ab-map-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ab-map-wrap { display: grid; place-items: center; }
.ab-map { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.ab-dots rect { fill: #C9D3DD; }
.ab-pin rect { fill: var(--fish); }
.ab-pin text { font: 600 .42px var(--f-display); fill: var(--ink); paint-order: stroke; stroke: var(--sea); stroke-width: .12px; }
/* 14/10 (lot 2) : repères de la carte sans cercle qui pulse (.ab-pulse, son @keyframes et sa pause hors écran retirés), villes sans
   tuile au poisson (.ab-city-ic retirée) : historique git. */
.ab-cities { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ab-cities li { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--b-r-card); background: #fff; }
.ab-cities b { display: block; font: 600 19px/1.2 var(--f-display); color: var(--ink); }
.ab-cities small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--tide); }
.ab-cities p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.ab-anywhere { margin: 18px 0 0; font-size: 16px; font-weight: 600; color: var(--ink); }

/* Secteurs */
.ab-sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ab-sectors li { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--b-r-card); background: var(--sea); }
.ab-sectors i { grid-row: 1 / 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--b-r-card); background: #fff; color: var(--tide); transition: background-color .25s, color .25s; }
.ab-sectors i svg { width: 22px; height: 22px; }
.ab-sectors li:hover i { background: var(--ink); color: #fff; }
.ab-sectors b { font: 600 17px/1.25 var(--f-display); color: var(--ink); }
.ab-sectors small { font-size: 14px; line-height: 1.4; color: var(--muted); }

/* Partenaires et produit */
.ab-partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ab-partners li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px; border-radius: var(--b-r-card); background: #fff; }
.ab-partners b { font: 600 22px/1.2 var(--f-display); color: var(--ink); }
.ab-partners p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.ab-tag { padding: 3px 10px; border-radius: var(--b-r-tag); background: var(--sea); font-size: 12.5px; font-weight: 600; color: var(--tide); }
.ab-partners .is-product { background: var(--ink); }
.ab-partners .is-product b { color: #fff; }
.ab-partners .is-product p { color: rgba(255, 255, 255, .75); }
.ab-partners .is-product .ab-tag { background: rgba(255, 255, 255, .12); color: var(--b-accent-dark); }
.ab-partners .is-product .df-link { margin-top: auto; color: #fff; text-decoration-color: var(--b-accent-dark); }

@media (prefers-reduced-motion: reduce) {
    .ab-rules li[data-reveal]:not(.is-in) > div { opacity: 1; transform: none; }
}
@media (max-width: 960px) {
    .ab-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
    .ab-figs li:nth-child(4) { padding-left: 0; border-left: 0; }
    .ab-map-grid, .ab-partners { grid-template-columns: minmax(0, 1fr); }
    .ab-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .ab-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-figs li:nth-child(odd) { padding-left: 0; border-left: 0; }
    .ab-figs li:nth-child(4) { padding-left: clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
    .ab-sectors { grid-template-columns: minmax(0, 1fr); }
    .ab-rules li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ================= Technologies V3.5 : familles de modèles, hébergements ================= */
/* 14/10 : règles .tc-* retirées (voir plus haut) ; ces deux règles valent encore pour les colonnes sombres de Technologies (.tk-hcol.is-dark) */
.is-dark > ul > li { border-top-color: rgba(255, 255, 255, .12) !important; }
.is-dark li small { color: rgba(255, 255, 255, .7) !important; }

/* Qui nous sommes V3.6 : étapes des règles, repères de la carte */
.ab-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: ab; }
.ab-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--b-r-tag); background: var(--sea); font-size: 14.5px; font-weight: 600; color: var(--ink); counter-increment: ab; }
.ab-steps li::before { content: counter(ab); display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--b-r-tag); background: var(--ink); font-size: 12px; color: #fff; }
.ab-dots rect { fill: #C9D3DD; }
.ab-pin .ab-tile { fill: var(--ink); }
.ab-pin svg { color: var(--b-accent-dark); }
.ab-pin svg rect { fill: currentColor; }
.ab-pin text { font: 600 .44px var(--f-display); fill: var(--ink); paint-order: stroke; stroke: var(--sea); stroke-width: .14px; stroke-linejoin: round; }

/* ---------- Réalisations V3.7 : « Nos produits », MaturIA en un écran (préfixe rzp-) ---------- */
.rzp-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4.5vw, 4rem); align-items: center; padding: clamp(1.5rem, 4.5vw, 3.5rem); border-radius: var(--b-r-card); background: var(--sea); }
.rzp-label { display: block; margin-bottom: .55rem; font-size: 14px; font-weight: 600; color: var(--tide); }
body.v2 .rzp-name { margin: 0 0 1rem; font: 600 clamp(2.5rem, 4.4vw, 3.5rem)/1 var(--f-display); letter-spacing: -.035em; color: var(--ink); }
.rzp-lead { max-width: 34ch; margin: 0 0 1.9rem; font: 500 clamp(1.1rem, 1.45vw, 1.28rem)/1.45 var(--f-body); color: var(--ink); text-wrap: pretty; }
.rzp-pts { display: grid; gap: 18px; margin: 0 0 2.25rem; padding: 0; list-style: none; }
.rzp-pts li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; transition: opacity .25s; }
.rzp-pts li > span { text-wrap: balance; }
.rzp-pts b { display: block; margin-bottom: 2px; font: 600 16.5px/1.35 var(--f-display); color: var(--ink); }
.rzp-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--b-r-tag); background: var(--ink); font: 600 13px/1 var(--f-display); color: #fff; transition: background-color .25s; }
.rzp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
body.v2 .rzp-cta { min-height: 54px; padding: 14px 24px 14px 26px; font-size: 17.5px; }
.rzp-arr { display: inline-flex; }
.rzp-arr svg { width: 18px; height: 18px; }

/* l'écran de l'appli (contours permis à l'intérieur de la maquette) */
.rzp-shot { margin: 0; }
.rzp-win { border-radius: var(--b-r-card); background: #fff; box-shadow: none; overflow: hidden; }
.rzp-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--ink); color: #fff; font-size: 13.5px; }
.rzp-brand { font: 600 15px/1 var(--f-display); }
.rzp-page { color: rgba(255, 255, 255, .7); }
.rzp-co { margin-left: auto; padding: 3px 10px; border-radius: var(--b-r-tag); background: rgba(255, 255, 255, .1); font-size: 12.5px; white-space: nowrap; color: rgba(255, 255, 255, .85); }
.rzp-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 14px; background: var(--b-mist); }
.rzp-z { position: relative; padding: 16px 18px 18px; border-radius: var(--b-r-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: opacity .25s, box-shadow .25s; }
/* zone 1 sur toute la largeur : le score à gauche, les quatre axes à droite */
.rzp-z1 { grid-column: 1 / -1; }
.rzp-z1in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px clamp(20px, 3vw, 40px); align-items: center; }
.rzp-z1 .rzp-score { margin: 0; }
.rzp-z2, .rzp-z3 { display: flex; flex-direction: column; }
.rzp-z3 .rzp-prog { flex: 1; }
.rzp-delta { display: flex; align-items: baseline; gap: 8px; margin: -4px 0 14px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.rzp-delta b { font: 600 20px/1 var(--f-display); color: var(--tide); }
.rzp-z > .rzp-n { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; font-size: 12px; }
.rzp-zh { display: block; margin: 0 32px 12px 0; font-size: 12.5px; font-weight: 600; line-height: 22px; color: var(--muted); }
.rzp-score { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 10px 8px; margin: 0 0 14px; }
.rzp-score b { font: 600 46px/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); }
.rzp-score span { color: var(--muted); }
.rzp-score em { grid-column: 1 / -1; justify-self: start; padding: 4px 10px; border-radius: var(--b-r-tag); background: var(--ink); font-style: normal; font-size: 12.5px; font-weight: 600; color: #fff; }
.rzp-bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rzp-bars li { display: grid; grid-template-columns: 76px minmax(0, 1fr) 28px; align-items: center; gap: 10px; font-size: 14px; }
.rzp-bars b { font-weight: 600; color: var(--ink); }
.rzp-bars i { position: relative; height: 8px; border-radius: 4px; background: var(--sea); overflow: hidden; }
.rzp-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 4px; background: var(--tide); transform-origin: 0 50%; }
.rzp-bars span { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.rzp-recos { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rzp-recos li { display: grid; gap: 5px; padding: 10px 12px; border-radius: var(--b-r-card); background: var(--sea); }
.rzp-recos b { font: 600 14px/1.3 var(--f-body); color: var(--ink); }
.rzp-recos span { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.rzp-recos em { padding: 1px 8px; border-radius: var(--b-r-tag); background: var(--ink); font-style: normal; font-size: 11.5px; font-weight: 600; color: #fff; }
.rzp-prog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; margin: 0; padding: 0; list-style: none; }
.rzp-prog li { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.rzp-prog span { min-height: 15px; font: 600 15px/1 var(--f-body); color: var(--ink); }
.rzp-prog i { width: min(100%, 52px); height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--tide-soft); transform-origin: 50% 100%; }
.rzp-prog li:nth-child(2) i { background: var(--tide); }
.rzp-prog .rzp-next i { box-sizing: border-box; border: 1.5px dashed #C9D3DD; background: none; }
.rzp-prog .rzp-next span { visibility: hidden; }
.rzp-prog small { min-height: 2.5em; font-size: 12px; line-height: 1.25; text-align: center; color: var(--muted); }
.rzp-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* seul mouvement : les colonnes « Audit après audit » montent quand l'écran arrive (elles sont en bas de l'écran,
   encore hors de vue au déclenchement ; état complet sans JavaScript, rien n'est masqué) */
.rzp-shot.is-in .rzp-prog li:not(.rzp-next) i { animation: rzp-y .9s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * .15s); }
@keyframes rzp-y { from { transform: scaleY(.15); } }

/* survol : un point clé éclaire sa zone de l'écran, et inversement (couleur seulement, rien ne bouge) */
@media (hover: hover) {
    .rzp-card:has([data-z="1"]:hover) .rzp-z:not([data-z="1"]),
    .rzp-card:has([data-z="2"]:hover) .rzp-z:not([data-z="2"]),
    .rzp-card:has([data-z="3"]:hover) .rzp-z:not([data-z="3"]) { opacity: .45; }
    .rzp-card:has([data-z="1"]:hover) .rzp-pts li:not([data-z="1"]),
    .rzp-card:has([data-z="2"]:hover) .rzp-pts li:not([data-z="2"]),
    .rzp-card:has([data-z="3"]:hover) .rzp-pts li:not([data-z="3"]) { opacity: .5; }
    .rzp-card:has([data-z="1"]:hover) .rzp-z[data-z="1"],
    .rzp-card:has([data-z="2"]:hover) .rzp-z[data-z="2"],
    .rzp-card:has([data-z="3"]:hover) .rzp-z[data-z="3"] { box-shadow: inset 0 0 0 2px var(--fish); }
    .rzp-card:has([data-z="1"]:hover) [data-z="1"] .rzp-n,
    .rzp-card:has([data-z="2"]:hover) [data-z="2"] .rzp-n,
    .rzp-card:has([data-z="3"]:hover) [data-z="3"] .rzp-n { background: var(--tide); }
}

@media (max-width: 1000px) {
    .rzp-card { grid-template-columns: minmax(0, 1fr); }
    .rzp-lead { max-width: 46ch; }
}
@media (max-width: 600px) {
    .rzp-card { border-radius: var(--b-r-card); }
    .rzp-body { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 10px; }
    .rzp-z1in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .rzp-score { grid-template-columns: auto auto minmax(0, 1fr); }
    .rzp-score em { grid-column: auto; align-self: center; margin-left: 6px; }
    .rzp-prog i { height: calc(var(--h) * .7); }
    .rzp-prog .rzp-next i { height: var(--h); }
    .rzp-page { display: none; }
    .rzp-actions { gap: 1.1rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rzp-shot.is-in .rzp-prog li:not(.rzp-next) i { animation: none; }
    .rzp-pts li, .rzp-z, .rzp-n { transition: none; }
}

/* V4.3, lot mobile (06/10) : zones de clic de 44 px ; étiquettes de bande lisibles.
   Liens d'expertise (Réalisations, Selon votre maturité) : sur téléphone ils passent chacun à la ligne ; rangées de 44 px sans écart,
   pour que deux liens voisins ne se disputent pas la même zone. */
@media (max-width: 768px) {
    .rz-filters button { min-height: 44px; }
    .rz-exp, .mt-links { row-gap: 0; }
    .rz-exp a, .mt-links a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 760px) {
    .mt-zone b { font-size: 12px; }
}

/* ================= Selon votre maturité, V4.3 (07/10) : l'escalier des niveaux et trois premiers chantiers par niveau =================
   Remplace l'ancien bloc .mt (règles gardées plus haut pour le garde-manger). Chaque marche porte la phrase « Vous êtes ici si... »,
   pour se reconnaître d'un coup d'œil ; le panneau du niveau choisi montre trois chantiers (cartes écume, section blanche) et
   « Par où commencer » (carte marine, rendez-vous du pré-audit gratuit). Au survol, seule l'icône de la carte s'anime. */
/* 07/10 au soir : plus de marge propre sous le titre (écart commun de 28 px, v3.css) ; plus de sous-titre (v3-maturity.mjs) */
/* 14/10 (lot 2, direction « premium sobre ») : l'escalier devient quatre colonnes « Niveau 1 » à « Niveau 4 », le numéro puis le
   texte, sous un filet d'un pixel ; le niveau choisi prend un filet d'accent de 2 px et son nom passe en marine. Plus de marches
   dessinées (.mv-bar) ni de poisson qui saute (.mv-fish) : balisage retiré (v3-maturity.mjs), règles dans l'historique git. */
.mv-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.mv-steps button { display: block; padding: 14px 4px 4px 0; border: 0; border-radius: 0; background: none; box-shadow: inset 0 1px 0 var(--b-rule); text-align: left; cursor: pointer; font-family: var(--f-body); transition: box-shadow .25s var(--ease-out); }
.mv-steps button:hover { box-shadow: inset 0 2px 0 var(--b-rule); }
.mv-steps button[aria-pressed="true"] { box-shadow: inset 0 2px 0 var(--b-accent); }
.mv-steps button:focus-visible { outline: 2px solid var(--b-accent); outline-offset: 4px; border-radius: var(--b-r-tag); }
.mv-st { display: grid; align-content: start; gap: 2px; }
.mv-st small { font: 500 13px/1.3 var(--f-display); letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--b-faint); }
.mv-steps button[aria-pressed="true"] .mv-st small { color: var(--b-accent); }
.mv-st b { font: 600 19px/1.2 var(--f-display); letter-spacing: -.012em; color: var(--b-text); transition: color .2s ease; }
.mv-steps button:hover .mv-st b, .mv-steps button[aria-pressed="true"] .mv-st b { color: var(--ink); }
.mv-st em { margin-top: 4px; font-style: normal; font-size: 13.5px; line-height: 1.4; color: var(--b-text); }
.mv-st em i { font-style: normal; font-weight: 600; color: var(--b-text); }
.mv-steps button[aria-pressed="true"] .mv-st em, .mv-steps button[aria-pressed="true"] .mv-st em i { color: var(--ink); }

/* Le niveau choisi : le panneau apparaît en fondu, sans se déplacer */
@keyframes mv-in { from { opacity: 0; } }
.mv-panel:not([hidden]) { animation: mv-in .4s var(--ease-out) both; }
.mv-if { display: none; }
/* titre du panneau, visible depuis le 07/10 au soir (Louis : « pas clair que ce sont des solutions proposées ») :
   « Ce que nous vous proposons au niveau ... » ; avant, lu seulement par les lecteurs d'écran */
body.v2 .mv-ph { margin: 0 0 12px; font: 600 19px/1.3 var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.mv-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.mv-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.mv-card { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 16px; border-radius: var(--b-r-card); background: var(--b-mist); }
.mv-top { display: flex; align-items: flex-start; gap: 10px; }
/* 14/10 (lot 2) : pictogramme nu, au trait, en accent, sans carré de fond ni rotation au survol ; au survol, le titre passe au bleu */
.mv-ic { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 0; background: none; color: var(--b-accent); }
.mv-ic svg { width: 20px; height: 20px; }
body.v2 .mv-card h4 { margin: 0; font: 600 17px/1.25 var(--f-display); letter-spacing: -.012em; color: var(--ink); transition: color .2s ease; }
body.v2 .mv-card:hover h4 { color: var(--b-accent); }
.mv-gain { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.mv-gain small { display: block; margin-bottom: 3px; font: 600 11.5px/1.3 var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--b-faint); }
.mv-go { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: auto 0 0; font-size: 13.5px; line-height: 1.35; }
.mv-go a { font-weight: 600; color: var(--tide); text-decoration: none; }
.mv-go a:hover, .mv-go a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.mv-go a i { display: inline-block; margin-left: 5px; vertical-align: -1px; }
.mv-go a i svg { display: block; width: 13px; height: 13px; transition: transform .25s var(--ease-out); }
.mv-card:hover .mv-go a i svg { transform: translateX(3px); }
.mv-go .mv-case { font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.mv-go .mv-case:hover { color: var(--ink); }
.mv-start { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 17px 18px 15px; border-radius: var(--b-r-card); background: var(--ink); color: #fff; }
body.v2 .mv-start h4 { margin: 0; font: 600 11.5px/1.3 var(--f-body); letter-spacing: .09em; text-transform: uppercase; color: var(--b-accent-dark); }
.mv-start p { margin: 0; font: 500 16px/1.4 var(--f-display); color: #fff; }
/* 14/10 (lot 2) : le bouton principal standard, bleu, comme partout (avant : blanc sur la carte marine) */
body.v2 .mv-start .cta-button { width: 100%; margin-top: auto; padding: 11px 14px; font-size: 15.5px; background: var(--b-accent); color: #fff; }
body.v2 .mv-start .cta-button:hover { background: var(--b-accent-hover); color: #fff; }
.mv-start small { font-size: 12.5px; line-height: 1.4; color: var(--b-on-dark-2); }
/* contrôle final du 07/10 : titre, « Ce que vous y gagnez » et liens alignés d'une carte à l'autre (un titre sur deux lignes
   décalait de 21 px la ligne du gain des cartes voisines) ; sur ordinateur, les cartes et « Par où commencer » reprennent les
   4 colonnes des marches (elles étaient décalées de 3 à 9 px) ; titres de carte équilibrés (« route » restait seul) */
body.v2 .mv-card h4 { text-wrap: balance; }
@supports (grid-template-rows: subgrid) {
    @media (min-width: 761px) {
        .mv-cards { grid-template-rows: auto auto 1fr; row-gap: 0; }
        .mv-card { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 8px; }
        .mv-go { align-self: end; }
    }
    @media (min-width: 1081px) {
        .mv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .mv-cards { grid-column: span 3; grid-template-columns: subgrid; }
    }
}

@media (max-width: 1080px) {
    .mv-grid { grid-template-columns: minmax(0, 1fr); }
    .mv-start { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px; }
    .mv-start h4, .mv-start p, .mv-start small { grid-column: 1; }
    body.v2 .mv-start .cta-button { grid-column: 2; grid-row: 1 / span 3; width: auto; margin: 0; }
}
@media (max-width: 760px) {
    .mv-steps { gap: 6px; margin-bottom: 18px; }
    .mv-steps button { padding: 10px 0 6px; min-height: 44px; }
    .mv-st b { font-size: 13.5px; }
    .mv-st small { font-size: 11.5px; }
    /* la phrase « Vous êtes ici si... » reste lue sur la marche, mais s'affiche en tête du panneau (.mv-if) */
    .mv-st em { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    .mv-if { display: block; margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: var(--ink); }
    .mv-if b { font-weight: 600; color: var(--tide); }
    .mv-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .mv-card { gap: 8px; padding: 14px 16px; }
    .mv-start { display: flex; }
    body.v2 .mv-start .cta-button { width: 100%; }
    .mv-go a { display: inline-flex; align-items: center; min-height: 44px; }
    .mv-go { row-gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .mv-panel:not([hidden]) { animation: none; }
    .mv-steps button, .mv-st b, .mv-card h4, .mv-go a i svg { transition: none; }
}
/* Garde-manger : l'ancien bloc .mt peut tomber sur une section écume ; le schéma et le « Premier pas » passent alors en blanc */
.df-sea .mt-canvas, .df-sea .mt-first { background: #fff; }
