/* ===== PASS FINAL · Expertises, Académie, À propos, Méthode ===== */

/* --- Légende interactive (Visibilité) --- */
.stg__fb { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; border-radius: 12px; padding: .2rem .4rem .4rem 0; transition: color .3s; }
.stg__fb:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }
.stg__legend--focus .stg__lg li::before { transition: transform .35s var(--ease), background .35s, box-shadow .35s; }
.stg__legend--focus .stg__lg li:has(.stg__fb:hover)::before { transform: scale(1.35); }
.stg__legend--focus .stg__lg li:has([aria-pressed="true"])::before { transform: scale(1.6); background: var(--navy); box-shadow: 0 0 0 5px color-mix(in srgb, var(--terra) 35%, transparent); }
.stg__legend--focus .stg__lg li:has([aria-pressed="true"]) { border-top-color: var(--terra); }
.stg__legend--focus.has-focus .stg__fb[aria-pressed="false"] { opacity: .55; }
.stg__fb:hover b, .stg__fb[aria-pressed="true"] b { color: var(--terra-ink); }
.stg__x { display: flex; align-items: flex-start; gap: .8rem; max-width: 46rem; margin: 1.8rem auto 0; padding: 1rem 1.3rem; border-radius: 16px; background: color-mix(in srgb, var(--white) 70%, transparent); box-shadow: 0 0 0 1px var(--line); font-size: 1rem; line-height: 1.55; color: var(--fg); min-height: 3.4rem; }
.stg__x i { flex-shrink: 0; width: 8px; height: 8px; margin-top: .55rem; border-radius: 50%; background: var(--terra); }
.has-focus .stg__x { box-shadow: 0 0 0 1px color-mix(in srgb, var(--terra) 45%, transparent); }

/* Comparateur : mise en évidence d'une partie du site « après » */
.stg .cmp .cmp__handle, .stg .cmp .cmp__tag--l { transition: opacity .4s var(--ease); }
.stg .cmp[data-focus] .cmp__handle, .stg .cmp[data-focus] .cmp__tag--l { opacity: 0; }
.stg .cmp .pro__nav > *, .stg .cmp .pro__copy > *, .stg .cmp .pro__visual, .stg .cmp .pro__strip, .stg .cmp .pro__links > * { transition: opacity .5s var(--ease), outline-color .5s, box-shadow .5s; outline: .28cqw solid transparent; outline-offset: .5cqw; }
.stg .cmp[data-focus] .pro__nav > *, .stg .cmp[data-focus] .pro__copy > *, .stg .cmp[data-focus] .pro__visual, .stg .cmp[data-focus] .pro__strip { opacity: .22; }
.stg .cmp[data-focus="site"] .pro__copy > *, .stg .cmp[data-focus="site"] .pro__links { opacity: 1; }
.stg .cmp[data-focus="site"] .pro__t, .stg .cmp[data-focus="site"] .pro__p { outline-color: var(--terra); border-radius: .6cqw; }
.stg .cmp[data-focus="image"] .pro__logo, .stg .cmp[data-focus="image"] .pro__visual { opacity: 1; }
.stg .cmp[data-focus="image"] .pro__logo { outline-color: var(--terra); border-radius: .6cqw; }
.stg .cmp[data-focus="image"] .pro__visual { outline-color: var(--terra); }
.stg .cmp[data-focus="savoir"] .pro__strip, .stg .cmp[data-focus="savoir"] .pro__btns, .stg .cmp[data-focus="savoir"] .pro__links { opacity: 1; }
.stg .cmp[data-focus="savoir"] .pro__strip, .stg .cmp[data-focus="savoir"] .pro__btn { outline-color: var(--terra); }
.stg .cmp[data-focus="savoir"] .pro__links > :not(:first-child):not(:nth-child(2)) { opacity: .25; }
.stg .cmp[data-focus="contact"] .pro__cta { opacity: 1; outline-color: var(--terra); box-shadow: 0 0 0 1.4cqw color-mix(in srgb, var(--terra) 22%, transparent); animation: ctaPulse 1.8s var(--ease) infinite; }
@keyframes ctaPulse { 50% { box-shadow: 0 0 0 2.2cqw color-mix(in srgb, var(--terra) 10%, transparent); } }
html.rm .stg .cmp[data-focus="contact"] .pro__cta { animation: none; }
.stg .cmp[data-focus="comm"] .pro > *, .stg .cmp[data-focus="mobile"] .pro > * { opacity: .22; }

/* Visuels complémentaires (téléphone, canaux) */
.cmp__ov { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.stg .cmp[data-focus="mobile"] .cmp__ov--mobile, .stg .cmp[data-focus="comm"] .cmp__ov--comm { opacity: 1; }
.phn { width: 27cqw; aspect-ratio: 9 / 18.5; border-radius: 3.6cqw; background: #fbf6f0; border: 1.1cqw solid var(--navy); box-shadow: 0 4cqw 8cqw -3cqw rgba(13,27,42,.55); overflow: hidden; display: flex; flex-direction: column; gap: 1.3cqw; padding: 0 0 2cqw; color: var(--navy); transform: translateY(3cqw) scale(.96); transition: transform .6s var(--ease); }
.stg .cmp[data-focus="mobile"] .phn { transform: none; }
.phn__bar { display: flex; justify-content: space-between; align-items: center; padding: 2.2cqw 2.4cqw 1cqw; font: 500 1.75cqw var(--f-display); white-space: nowrap; }
.phn__bar em { color: var(--terra-ink); }
.phn__bar i { width: 2.6cqw; height: 1.4cqw; border-top: .3cqw solid var(--navy); border-bottom: .3cqw solid var(--navy); }
.phn__img { position: relative; margin: 0 2cqw; aspect-ratio: 4 / 3; border-radius: 1.6cqw; background: linear-gradient(180deg, #f3e7da 0 18%, #22354b 18% 42%, #efe2d3 42% 52%, #22354b 52% 80%, #d9c2a8 80%), linear-gradient(90deg, transparent 70%, #b98a5c 70%); background-blend-mode: multiply; }
.phn__img span { position: absolute; left: 1.2cqw; bottom: 1.2cqw; padding: .5cqw 1cqw; border-radius: 99px; background: rgba(255,255,255,.9); font: 600 1.15cqw var(--f-body); }
.phn__t { margin: 0 2.4cqw; font: 400 2.5cqw/1.12 var(--f-display); }
.phn__t em { color: var(--terra-ink); }
.phn__p { margin: 0 2.4cqw; font-size: 1.35cqw; line-height: 1.4; color: #5b6576; }
.phn__cta { margin: .6cqw 2.4cqw 0; padding: 1.4cqw; border-radius: 99px; background: var(--terra); text-align: center; font: 600 1.5cqw var(--f-body); box-shadow: 0 0 0 1cqw color-mix(in srgb, var(--terra) 18%, transparent); }
.phn__l { margin: 0 2.4cqw; text-align: center; font: 600 1.35cqw var(--f-body); color: var(--terra-ink); }
.cmm { width: 46cqw; padding: 2.6cqw; border-radius: 2.4cqw; background: #fffdfb; box-shadow: 0 4cqw 8cqw -3cqw rgba(13,27,42,.45); color: var(--navy); transform: translateY(3cqw); transition: transform .6s var(--ease); }
.stg .cmp[data-focus="comm"] .cmm { transform: none; }
.cmm__k { margin: 0 0 1.6cqw; font: 600 1.25cqw var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); }
.cmm__src { display: flex; align-items: center; gap: 1.6cqw; padding-bottom: 1.8cqw; border-bottom: 1px dashed rgba(13,27,42,.18); }
.cmm__th { flex-shrink: 0; width: 9cqw; aspect-ratio: 4 / 3; border-radius: 1.2cqw; background: linear-gradient(180deg, #f3e7da 0 20%, #22354b 20% 55%, #d9c2a8 55%); }
.cmm__src span, .cmm__ch span { display: grid; font-size: 1.4cqw; color: #5b6576; }
.cmm__src b { font: 400 2.2cqw var(--f-display); color: var(--navy); }
.cmm__ch { list-style: none; margin: 1.6cqw 0 0; padding: 0 0 0 2cqw; display: grid; gap: 1.2cqw; border-left: .3cqw solid var(--terra); }
.cmm__ch li { display: flex; align-items: center; gap: 1.4cqw; }
.cmm__ch i { display: grid; place-items: center; width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--sand); color: var(--terra-ink); font-style: normal; font-size: 1.6cqw; }
.cmm__ch b { font: 600 1.5cqw var(--f-body); color: var(--navy); }
@media (max-width: 640px) {
  .stg__legend--focus .stg__lg { grid-template-columns: 1fr 1fr; border-left: 0; margin-left: 0; row-gap: .6rem; column-gap: .8rem; }
  .stg__legend--focus .stg__lg li { border-top: 1px solid color-mix(in srgb, var(--fg) 16%, transparent); padding: 1rem 0 0; }
  .stg__legend--focus .stg__lg li::before { left: 0; top: -5px; }
  .stg__legend--focus .stg__lgt { left: 50%; transform: translate(-50%, -50%); }
  .stg__legend--focus::before { left: 50%; }
  .stg__legend--focus .stg__fb span { display: none; }
  .stg__x { font-size: .95rem; }
  .phn { width: 34cqw; } .cmm { width: 70cqw; }
}

/* --- Écosystème : le chemin d'une demande --- */
.eco__tok { fill: var(--terra); stroke: #fff; stroke-width: 2.5; opacity: 0; transition: opacity .3s; filter: drop-shadow(0 3px 6px rgba(228,106,74,.6)); }
.eco.is-tracing .eco__tok { opacity: 1; }
.eco.is-tracing .eco__dots { opacity: .15; transition: opacity .4s; }
.eco.is-tracing .eco__links path { opacity: .22; transition: opacity .4s, stroke-width .4s; }
.eco.is-tracing .eco__links path.is-trace { opacity: 1; stroke-width: 3.4; }
.eco.is-tracing .eco__n { opacity: .45; transition: opacity .4s, box-shadow .4s, left 1s var(--ease), top 1s var(--ease), transform 1s var(--ease); }
.eco.is-tracing .eco__n.is-trace { opacity: 1; box-shadow: 0 0 0 3px var(--terra), 0 10px 24px -8px rgba(228,106,74,.6); }
.eco__hub.is-hit { box-shadow: 0 0 0 14px color-mix(in srgb, var(--terra) 28%, transparent), 0 20px 40px -16px rgba(13,27,42,.5) !important; }
.eco.is-tracing .eco__track li { opacity: .4 !important; transition: opacity .4s, box-shadow .4s, transform .4s; }
.eco.is-tracing .eco__track li.is-trace { opacity: 1 !important; box-shadow: 0 0 0 2px var(--terra), 0 10px 22px -12px rgba(13,27,42,.4); transform: translateX(-4px) !important; }
.trace { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px dashed color-mix(in srgb, var(--terra) 45%, transparent); }
.trace__k { margin: 0 0 .8rem; font: 600 .72rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-ink); }
.trace__pick { display: flex; flex-wrap: wrap; gap: .5rem; }
.trace__pick button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem .55rem .55rem; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font: 600 .9rem var(--f-body); color: var(--navy); transition: box-shadow .3s, background .3s, color .3s; }
.trace__pick button small { font: 400 .8rem var(--f-body); color: #6b7487; }
.trace__pick button i { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--sand); color: var(--terra-ink); font-style: normal; font-size: .85rem; }
.trace__pick button:hover { box-shadow: 0 0 0 1px var(--terra); }
.trace__pick button:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.trace__pick button[aria-pressed="true"] { background: var(--navy); color: var(--cream); box-shadow: none; }
.trace__pick button[aria-pressed="true"] small { color: #a9b3c4; }
.trace__pick button[aria-pressed="true"] i { background: var(--terra); color: var(--navy); }
.trace__steps { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: tr; }
.trace__steps li { position: relative; padding: 1.3rem 1rem 0 0; border-top: 2px solid color-mix(in srgb, var(--navy) 12%, transparent); counter-increment: tr; transition: border-color .4s; }
.trace__steps li::before { content: counter(tr); position: absolute; left: 0; top: -.85rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--navy) 20%, transparent); font: 600 .72rem var(--f-body); color: #6b7487; transition: all .4s var(--ease); }
.trace__steps b { display: block; font: 400 1.08rem/1.2 var(--f-display); color: var(--navy); margin-bottom: .3rem; }
.trace__steps span { display: block; font-size: .86rem; line-height: 1.45; color: #5b6576; }
.trace__steps li.is-done { border-top-color: var(--terra); }
.trace__steps li.is-done::before { background: var(--terra); color: var(--navy); box-shadow: none; }
.trace__steps li.is-on { border-top-color: var(--terra); }
.trace__steps li.is-on::before { background: var(--navy); color: var(--cream); box-shadow: 0 0 0 5px color-mix(in srgb, var(--terra) 30%, transparent); transform: scale(1.1); }
@media (max-width: 760px) {
  .trace__pick button { font-size: .84rem; } .trace__pick button small { display: none; }
  .trace__steps { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
}

/* --- Performance : trois lectures de la démonstration --- */
.lens { padding: 1rem 1.2rem 1.2rem; }
.lens__btns { display: flex; flex-wrap: wrap; gap: .45rem; }
.lens__btns button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; box-shadow: 0 0 0 1px rgba(13,27,42,.14); font: 600 .82rem var(--f-body); color: var(--navy); transition: background .3s, color .3s, box-shadow .3s; }
.lens__btns button:hover { box-shadow: 0 0 0 1px var(--terra); }
.lens__btns button:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.lens__btns button[aria-pressed="true"] { background: var(--navy); color: var(--cream); box-shadow: none; }
.dot--res { background: transparent; box-shadow: inset 0 0 0 2px #2f8f6a; }
.lens__txt { position: relative; display: grid; margin-top: .9rem; }
.lens__txt p { grid-area: 1 / 1; margin: 0; font-size: .92rem; line-height: 1.55; color: #4c5668; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.lens__txt p.is-on { opacity: 1; transform: none; pointer-events: auto; }
.lens__txt b { color: var(--navy); font-weight: 600; }
.lens__res { list-style: none; margin: 1rem 0 0; padding: .8rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; border-radius: 14px; background: var(--cream); transition: background .5s var(--ease), color .5s; }
.lens__res li { display: grid; gap: .1rem; padding-left: 1.6rem; position: relative; font-size: .78rem; color: #6b7487; transition: color .5s; }
.lens__res li::before { content: "✓"; position: absolute; left: 0; top: .05rem; display: grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: rgba(47,143,106,.14); color: #2f8f6a; font-size: .7rem; font-weight: 700; }
.lens__res b { font: 400 .98rem/1.2 var(--f-display); color: var(--navy); transition: color .5s; }
.ops .pipe__s { transition: opacity .5s var(--ease); }
.ops[data-lens="auto"] .pipe__s--you, .ops[data-lens="you"] .pipe__s:not(.pipe__s--you), .ops[data-lens="result"] .pipe__s { opacity: .2 !important; }
.ops[data-lens="auto"] .pipe__s:not(.pipe__s--you) .pipe__ico { box-shadow: 0 0 0 6px color-mix(in srgb, var(--terra) 28%, transparent); }
.ops[data-lens="you"] .pipe__s--you .pipe__ico { box-shadow: 0 0 0 6px rgba(13,27,42,.18); }
.ops[data-lens] .ops__card { transition: opacity .5s var(--ease); }
.ops[data-lens="result"] .ops__card { opacity: .35; }
.ops[data-lens="result"] .lens__res { background: var(--navy); }
.ops[data-lens="result"] .lens__res li, .ops[data-lens="result"] .lens__res b { color: var(--cream); }
.ops[data-lens="result"] .lens__res li span { color: #a9b3c4; }
.ops[data-lens="result"] .lens__res li::before { background: var(--terra); color: var(--navy); }
@media (max-width: 640px) { .lens__res { grid-template-columns: 1fr; } .lens__btns button { font-size: .78rem; padding: .45rem .75rem; } }

/* --- Académie : grande roue pédagogique --- */
.gw { --D: clamp(720px, 96svh, 1000px); --base: 0deg; --ease-w: cubic-bezier(.65, 0, .35, 1); position: relative; overflow: clip; padding-block: clamp(5rem, 9vw, 7.5rem); min-height: calc(var(--D) * .9); display: flex; align-items: center; }
.gw__wheel { position: absolute; left: calc(var(--D) / -2); top: 50%; width: var(--D); height: var(--D); margin-top: calc(var(--D) / -2); pointer-events: none; }
.gw__rot { --rot: 0deg; position: absolute; inset: 0; transform: rotate(calc(var(--base) + var(--rot))); transition: transform .85s var(--ease-w); }
.gw__svg { width: 100%; height: 100%; overflow: visible; }
.gw__outer { fill: none; stroke: rgba(250, 244, 239, .08); stroke-width: 1.5; }
.gw__ticks { fill: none; stroke: rgba(250, 244, 239, .18); stroke-width: 10; stroke-dasharray: 1.5 13.4; }
.gw__sec { fill: #15273b; stroke: rgba(250, 244, 239, .08); stroke-width: 1.5; transition: fill .6s var(--ease), filter .6s; }
.gw__sec.is-on { fill: url(#gwOn); stroke: none; filter: drop-shadow(0 18px 40px rgba(228, 106, 74, .35)); }
.gw__hub { stroke: rgba(250, 244, 239, .1); stroke-width: 1.5; }
.gw__inner { fill: none; stroke: rgba(228, 106, 74, .35); stroke-width: 1.2; stroke-dasharray: 3 7; }
.gw__motif { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; transform: translate(-50%, -50%); opacity: .95; }
.gw__lab { all: unset; position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: auto; cursor: pointer;
  transform: rotate(var(--a)) translateX(calc(var(--D) * .33)) rotate(calc(-1 * (var(--a) + var(--rot) + var(--base)))); transition: transform .85s var(--ease-w); }
.gw__rot .gw__lab { --rot: inherit; }
.gw__lab span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .2rem; text-align: center; color: rgba(250, 244, 239, .38); transition: color .6s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.gw__lab b { font: 300 clamp(2.6rem, 5vw, 4.2rem)/1 var(--f-display); letter-spacing: -.03em; }
.gw__lab em { font: italic 400 clamp(1rem, 1.5vw, 1.3rem) var(--f-display); }
.gw__lab.is-on span { color: var(--navy); transform: translate(-50%, -50%) scale(1.08); }
.gw__lab:hover span { color: rgba(250, 244, 239, .7); }
.gw__lab.is-on:hover span { color: var(--navy); }

.gw__grid { position: relative; z-index: 1; display: grid; }
.gw__panel { margin-left: calc(var(--D) / 2 + clamp(2rem, 4vw, 4rem) - max(0px, (100vw - var(--max)) / 2) - var(--gut)); max-width: 46rem; }
.gw__h { font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -.035em; line-height: 1.02; margin-bottom: 1.6rem; }
.gw__h em { color: var(--terra-soft); }
.gw__tabs { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.gw__tabs button { all: unset; cursor: pointer; display: inline-flex; align-items: baseline; gap: .45rem; padding: .7rem 0; margin-bottom: -1px; border-bottom: 2px solid transparent; font: 400 1.05rem var(--f-display); color: var(--muted); transition: color .3s, border-color .3s; }
.gw__tabs button span { font: 600 .72rem var(--f-body); letter-spacing: .08em; color: var(--terra-soft); }
.gw__tabs button:hover { color: var(--fg); }
.gw__tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--terra); }
.gw__tabs button:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; border-radius: 4px; }
.gw__stack { display: grid; }
.gw__p { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s .35s; }
.gw__p.is-on { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
.gw__p > * { transform: translateY(10px); transition: transform .5s var(--ease); }
.gw__p.is-on > * { transform: none; }
.gw__p.is-on > :nth-child(2) { transition-delay: .04s; } .gw__p.is-on > :nth-child(3) { transition-delay: .08s; } .gw__p.is-on > :nth-child(4) { transition-delay: .12s; } .gw__p.is-on > :nth-child(5) { transition-delay: .16s; }
.gw__k { margin: 0 0 .4rem; font: 600 .72rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); }
.gw__t { font-size: clamp(2.4rem, 4.6vw, 3.8rem); letter-spacing: -.035em; line-height: 1; margin: 0; }
.gw__intro { margin: .8rem 0 0; font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.35 var(--f-display); color: var(--fg); max-width: 32rem; }
.gw__cols { display: grid; gap: 1.6rem; margin-top: 1.8rem; }
.gw__lbl { margin: 0 0 .55rem; font: 600 .7rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gw__learn ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.gw__learn li { position: relative; padding-left: 1.4rem; font-size: 1rem; line-height: 1.4; }
.gw__learn li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--terra); }
.gw__side p:not(.gw__lbl) { margin: 0 0 1.2rem; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.gw__side p:last-child { margin-bottom: 0; }
.gw__res { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .9rem; margin: 1.8rem 0 0; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(228, 106, 74, .12); box-shadow: inset 0 0 0 1px rgba(228, 106, 74, .3); font: 400 1.08rem/1.35 var(--f-display); }
.gw__res span { font: 600 .7rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); }
.gw__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-top: 1.8rem; }
.gw__btn { all: unset; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-size: 1.1rem; transition: background .3s, color .3s, box-shadow .3s; }
.gw__btn:hover { background: var(--terra); color: var(--navy); box-shadow: none; }
.gw__btn:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.gw__count { font-size: .85rem; color: var(--muted); } .gw__count b { color: var(--fg); font-weight: 600; }
.gw__note { flex-basis: 100%; margin: .4rem 0 0; font-size: .82rem; color: var(--muted); }
@media (min-width: 1180px) { .gw__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; } }
html.rm .gw__rot, html.rm .gw__lab, html.rm .gw__p, html.rm .gw__p > * { transition: none !important; }

/* Tablette et mobile : la roue passe au-dessus, sa moitié basse reste visible, l'étape active vers le bas */
@media (max-width: 999px) {
  .gw { --D: min(150vw, 760px); --base: 90deg; display: block; min-height: 0; padding-top: calc(var(--D) / 2 + 2rem); }
  .gw__wheel { left: 50%; top: 0; margin-left: calc(var(--D) / -2); margin-top: calc(var(--D) / -2); }
  .gw__lab { transform: rotate(var(--a)) translateX(calc(var(--D) * .33)) rotate(calc(-1 * (var(--a) + var(--rot) + var(--base)))); }
  .gw__lab b { font-size: clamp(1.8rem, 8vw, 2.8rem); } .gw__lab em { font-size: .95rem; }
  .gw__panel { margin-left: 0; }
  .gw__tabs { gap: .2rem 1rem; } .gw__tabs button { font-size: .95rem; }
}

/* --- Académie : formats --- */
.fmt { padding-block: clamp(4.5rem, 8vw, 7rem); }
.fmt__grid { display: grid; gap: 2.5rem; }
.fmt__t { font-size: clamp(2.1rem, 4vw, 3.4rem); letter-spacing: -.035em; line-height: 1.04; max-width: 13ch; }
.fmt__t em { color: var(--terra); }
.fmt__p { margin: 1.2rem 0 0; color: var(--muted); max-width: 26rem; }
.fmt__p--sm { margin: .6rem 0 1.8rem; font-size: .92rem; }
.fmt__list { list-style: none; margin: 0; padding: 0; }
.fmt__list li { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.fmt__list li:last-child { border-bottom: 1px solid var(--line); }
.fmt__n { font: 300 2.2rem/1 var(--f-display); color: var(--terra); min-width: 2.6ch; }
.fmt__list h3 { font: 400 clamp(1.35rem, 2.2vw, 1.75rem)/1.15 var(--f-display); letter-spacing: -.02em; margin: 0; }
.fmt__who { margin: .35rem 0 .5rem; font: 600 .72rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); }
.fmt__list p:last-child { margin: 0; color: var(--muted); max-width: 36rem; }
@media (min-width: 1000px) { .fmt__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; } .fmt__head { position: sticky; top: calc(var(--bar-h) + var(--hdr-h) + 30px); } }

/* --- À propos : quatre mouvements --- */
.ap-hero { padding: calc(var(--bar-h) + var(--hdr-h) + clamp(1.6rem, 4vw, 3rem)) 0 clamp(3rem, 6vw, 4.5rem); }
.ap-hero__t { font-size: clamp(2.7rem, 6.6vw, 6rem); letter-spacing: -.045em; line-height: .98; max-width: 14ch; }
.ap-hero__t em { color: var(--terra); }
.ap-hero__p { margin: 1.5rem 0 0; font-size: clamp(1.08rem, 1.4vw, 1.3rem); color: var(--muted); max-width: 32rem; }
.ap-hero .draft-flag { display: table; margin-top: 1.4rem; }
.ap-hero__map { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ap-hero__map a { display: flex; align-items: baseline; gap: .6rem; padding: 1rem 1rem 0 0; text-decoration: none; font: 400 clamp(1rem, 1.5vw, 1.25rem) var(--f-display); color: var(--fg); transition: color .3s; }
.ap-hero__map a span { font: 600 .72rem var(--f-body); letter-spacing: .1em; color: var(--terra-ink); }
.ap-hero__map a:hover { color: var(--terra-ink); }
.mv { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.mv__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.mv__k { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; font: 600 .74rem var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.mv__k span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; font: 400 1rem var(--f-display); letter-spacing: 0; }
.mv__t { font-size: clamp(2.2rem, 4.6vw, 3.9rem); letter-spacing: -.04em; line-height: 1.02; max-width: 13ch; }
.mv__p { margin: 1.2rem 0 0; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.6; color: var(--muted); max-width: 33rem; }
.mv__q { margin: 2rem 0 0; padding-left: 1.3rem; border-left: 2px solid var(--terra); font: 400 clamp(1.4rem, 2.4vw, 2rem)/1.2 var(--f-display); letter-spacing: -.02em; max-width: 26rem; }
.mv__q em { color: var(--terra-ink); }
@media (min-width: 1000px) {
  .mv__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6rem; }
  .mv--rev .mv__copy { order: 2; }
  .mv--birth .mv__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
/* 01 · outils épars */
.ap-scatter { position: relative; aspect-ratio: 5 / 4; width: min(100%, 520px); margin-inline: auto; }
.ap-scatter__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ap-scatter__lines path { fill: none; stroke: color-mix(in srgb, var(--terra) 45%, transparent); stroke-width: .5; stroke-dasharray: 1.6 1.4; vector-effect: non-scaling-stroke; }
.ap-scatter span { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); padding: .55rem 1rem; border-radius: 999px; background: var(--white); box-shadow: 0 10px 24px -12px rgba(13,27,42,.35), 0 0 0 1px var(--line); font: 600 clamp(.78rem, 1.1vw, .92rem) var(--f-body); white-space: nowrap; color: var(--navy); }
.js .ap-scatter span { opacity: 0; translate: 0 14px; transition: opacity .6s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--k) * 70ms); }
.js .ap-scatter.in span, html.rm .ap-scatter span { opacity: 1; translate: 0 0; }
/* 03 · naissance + fondateur */
.ap-steps { list-style: none; margin: 2rem 0 0; padding: 0 0 0 1.4rem; border-left: 1px solid var(--line); display: grid; gap: 1.3rem; max-width: 34rem; }
.ap-steps li { position: relative; }
.ap-steps li::before { content: ""; position: absolute; left: calc(-1.4rem - 5px); top: .45rem; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px var(--navy); }
.ap-steps b { display: block; font: 400 1.2rem/1.2 var(--f-display); }
.ap-steps span { display: block; margin-top: .25rem; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.ap-founder { margin: 0; justify-self: center; width: min(100%, 360px); }
.ap-founder__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px / 60% 60% 26px 26px; overflow: hidden; background: radial-gradient(80% 60% at 50% 30%, #1b2f46, var(--navy-2)); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.6); display: grid; place-items: center; }
.ap-founder__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.ap-founder__motif { width: 46%; opacity: .9; }
.ap-founder__todo { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); padding: .35rem .8rem; border-radius: 999px; border: 1px dashed rgba(250,244,239,.35); font-size: .75rem; color: #a9b3c4; white-space: nowrap; }
.ap-founder figcaption { margin-top: 1.2rem; text-align: center; }
.ap-founder figcaption > b { display: block; font: 400 1.6rem var(--f-display); letter-spacing: -.02em; }
.ap-founder figcaption > span { display: block; margin-top: .2rem; font: 600 .72rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); }
.ap-founder figcaption > p:not(.draft-flag) { margin: .8rem auto 0; color: var(--muted); font-size: .95rem; max-width: 22rem; }
.ap-founder .draft-flag { display: inline-block; font-size: .75rem; }
/* 04 · ambition : un chemin à travers les quatre expertises */
.ap-path { list-style: none; margin: 0; padding: 0; position: relative; }
.ap-path::before { content: ""; position: absolute; left: 1.15rem; top: 1.6rem; bottom: 1.6rem; width: 1.5px; background: linear-gradient(var(--terra), color-mix(in srgb, var(--terra) 20%, transparent)); }
.ap-path a { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 1.2rem; align-items: center; padding: 1.1rem 0; text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--line); }
.ap-path li:last-child a { border-bottom: 0; }
.ap-path__n { grid-row: 1 / span 2; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--bg, var(--cream)); box-shadow: inset 0 0 0 1.5px var(--terra); font: 400 .95rem var(--f-display); color: var(--terra-ink); position: relative; z-index: 1; transition: background .3s, color .3s; }
.ap-path b { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.ap-path__d { grid-column: 2; color: var(--muted); font-size: .95rem; }
.ap-path i { grid-column: 3; grid-row: 1 / span 2; font-style: normal; color: var(--terra-ink); transition: transform .3s var(--ease); }
.ap-path a:hover .ap-path__n { background: var(--terra); color: var(--navy); }
.ap-path a:hover i { transform: translateX(4px); }
.js .ap-path li { opacity: 0; translate: 0 12px; transition: opacity .6s var(--ease), translate .6s var(--ease); transition-delay: calc(var(--k) * 90ms); }
.js .ap-path.in li, html.rm .ap-path li { opacity: 1; translate: 0 0; }
@media (max-width: 760px) {
  .ap-hero__map { grid-template-columns: 1fr 1fr; }
  .ap-scatter span { font-size: .74rem; padding: .45rem .75rem; }
}

/* --- Méthode : articulation entre le premier écran et le déroulé --- */
html.js .xh:has(.vpath)::before { -webkit-mask-image: linear-gradient(#000 55%, transparent 96%); mask-image: linear-gradient(#000 55%, transparent 96%); }
.xh:has(.vpath) { min-height: min(84svh, 800px); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.method--page { position: relative; z-index: 1; margin-top: clamp(1rem, 2vw, 2rem); padding-top: clamp(3.5rem, 6vw, 5rem); background: var(--sand); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; box-shadow: 0 -1px 0 color-mix(in srgb, var(--terra) 18%, transparent), 0 -30px 60px -40px rgba(13,27,42,.18); }
html.js .method--page::before { border-radius: inherit; }
.method--page .method__head { margin-bottom: 1.6rem; }
.mv { overflow: clip; }

/* ===== Dernières corrections · Performance : une scène, cinq situations ===== */
.scn { container-type: inline-size; }
.scn__pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.scn__pick button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: .6rem; padding: .9rem 1rem 1rem; border-radius: 16px; background: color-mix(in srgb, var(--white) 75%, transparent); box-shadow: 0 0 0 1px var(--line); font: 400 1rem/1.2 var(--f-display); color: var(--navy); transition: background .35s var(--ease), color .35s, box-shadow .35s, transform .35s var(--ease); }
.scn__pick button i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--terra-ink); transition: background .35s, color .35s; }
.scn__pick svg, .scn__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.scn__pick button:hover { box-shadow: 0 0 0 1px var(--terra); transform: translateY(-2px); }
.scn__pick button:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.scn__pick button[aria-selected="true"] { background: var(--navy); color: var(--cream); box-shadow: 0 18px 34px -20px rgba(13,27,42,.7); }
.scn__pick button[aria-selected="true"] i { background: var(--terra); color: var(--navy); }
.scn__stage { display: grid; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px rgba(13,27,42,.08), 0 30px 60px -40px rgba(13,27,42,.35); overflow: hidden; }
.scn__p { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s; }
.scn__p.is-on { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
.scn__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0; padding: .85rem 1.4rem; background: var(--cream); border-bottom: 1px solid rgba(13,27,42,.06); font-size: .82rem; color: #6b7487; }
.scn__bar b { color: var(--navy); font-weight: 600; }
.scn__bar em { font-style: normal; font: 600 .66rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; background: var(--sand); color: var(--terra-ink); }
.scn__flow { list-style: none; margin: 0; padding: 2.2rem 1.4rem 1.6rem; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: .8rem; position: relative; }
.scn__flow::before { content: ""; position: absolute; left: calc(1.4rem + (100% - 2.8rem) / (2 * var(--n))); right: calc(1.4rem + (100% - 2.8rem) / (2 * var(--n))); top: calc(2.2rem + 26px); height: 2px; background: linear-gradient(90deg, var(--terra), color-mix(in srgb, var(--terra) 40%, transparent)); transform-origin: left; transform: scaleX(0); }
.scn__p.is-on .scn__flow::before { animation: scnLine 1.3s var(--ease) .15s forwards; }
@keyframes scnLine { to { transform: scaleX(1); } }
.scn__s { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: .55rem; text-align: center; opacity: 0; transform: translateY(10px); }
.scn__p.is-on .scn__s { animation: scnIn .55s var(--ease) forwards; animation-delay: calc(.15s + var(--j) * .17s); }
@keyframes scnIn { to { opacity: 1; transform: none; } }
.scn__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--terra); color: var(--navy); box-shadow: 0 0 0 6px var(--white); }
.scn__s--in .scn__ico { background: var(--sand); color: var(--terra-ink); }
.scn__s--you .scn__ico { border-radius: 50%; background: var(--navy); color: var(--cream); box-shadow: 0 0 0 6px var(--white), 0 0 0 9px rgba(13,27,42,.12); }
.scn__s b { font: 600 .86rem/1.3 var(--f-body); color: var(--navy); max-width: 15ch; }
.scn__s em { font-style: normal; font: 600 .62rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--terra-ink); }
.scn__s--you em { background: var(--navy); color: var(--cream); }
.scn__s--in em { background: var(--cream); color: #6b7487; }
.scn__foot { display: grid; gap: 1rem; padding: 1.2rem 1.4rem 1.4rem; border-top: 1px dashed rgba(13,27,42,.12); }
.scn__how { margin: 0; font-size: .95rem; line-height: 1.55; color: #4c5668; max-width: 40rem; }
.scn__gain { display: flex; flex-direction: column; gap: .3rem; margin: 0; padding: .9rem 1.1rem; border-radius: 14px; background: var(--navy); color: var(--cream); font: 400 1.12rem/1.3 var(--f-display); }
.scn__gain span { font: 600 .66rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-soft); }
.scn__legend { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; margin: 1rem 0 0; font-size: .8rem; color: var(--muted); }
.scn__legend span { display: inline-flex; align-items: center; gap: .45rem; }
.scn__note { margin-left: auto; }
@container (min-width: 820px) { .scn__foot { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 2rem; } }
html.rm .scn__s, html.rm .scn__flow::before { animation: none !important; opacity: 1; transform: none; }
html.rm .scn__p { transition: none; }
@media (max-width: 999px) { .scn__pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .scn__pick { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; margin-inline: -2px; scrollbar-width: none; }
  .scn__pick::-webkit-scrollbar { display: none; }
  .scn__pick button { flex: 0 0 62%; scroll-snap-align: start; font-size: .95rem; }
  .scn__flow { grid-template-columns: 1fr; gap: 0; padding: 1.4rem 1.2rem .6rem; }
  .scn__flow::before { left: calc(1.2rem + 21px); right: auto; width: 2px; top: 2rem; bottom: 2rem; height: auto; transform-origin: top; transform: scaleY(0); background: linear-gradient(var(--terra), color-mix(in srgb, var(--terra) 40%, transparent)); }
  @keyframes scnLine { to { transform: scaleY(1); } }
  .scn__s { grid-template-columns: 44px 1fr; grid-template-rows: auto auto; justify-items: start; text-align: left; column-gap: .9rem; row-gap: .2rem; padding-bottom: 1rem; }
  .scn__ico { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 13px; }
  .scn__s b { max-width: none; align-self: end; }
  .scn__s em { align-self: start; }
  .scn__note { margin-left: 0; }
}

/* ===== Dernières corrections · Académie : proportions ===== */
@media (min-width: 1000px) {
  .gw { --D: clamp(780px, 108svh, 1100px); padding-block: clamp(4.5rem, 7vw, 6rem); min-height: max(100svh, calc(var(--D) * .82)); }
  .gw__panel { max-width: none; margin-right: 0; }
  .gw__h { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 1.3rem; }
  .gw__tabs { margin-bottom: 2.2rem; }
  .gw__tabs button { font-size: 1.12rem; padding-block: .8rem; }
  .gw__learn li { font-size: 1.05rem; line-height: 1.5; }
  .gw__side p:not(.gw__lbl) { font-size: 1rem; line-height: 1.6; }
  .gw__lbl { margin-bottom: .7rem; }
}
@media (min-width: 1180px) {
  .gw__p { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); column-gap: clamp(2.5rem, 4vw, 4rem); align-content: start; }
  .gw__p > :not(.gw__cols) { grid-column: 1; }
  .gw__p > .gw__cols { grid-column: 2; grid-row: 1 / span 4; margin-top: .3rem; grid-template-columns: 1fr; gap: 1.8rem; }
  .gw__t { font-size: clamp(2.6rem, 4.4vw, 4rem); }
  .gw__intro { font-size: clamp(1.2rem, 1.6vw, 1.45rem); max-width: 22rem; }
  .gw__res { flex-direction: column; align-items: flex-start; gap: .4rem; }
  .gw__side { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .gw__side .gw__lbl:nth-of-type(1) { grid-column: 1; grid-row: 1; } .gw__side p:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .gw__side .gw__lbl:nth-of-type(3), .gw__side p:nth-of-type(3) { grid-column: 2; grid-row: 1; } .gw__side p:nth-of-type(4) { grid-column: 2; grid-row: 2; }
  .gw__learn ul { grid-template-columns: 1fr 1fr; column-gap: 2rem; row-gap: .7rem; }
}
/* Tablette : roue au-dessus un peu plus présente, contenu pleine largeur */
@media (min-width: 641px) and (max-width: 999px) {
  .gw { --D: min(120vw, 900px); }
  .gw__cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (min-width: 1180px) {
  .gw__side { display: block; }
  .gw__side p:not(.gw__lbl) { margin-bottom: 1.1rem; }
  .gw__learn ul { grid-template-columns: 1fr; row-gap: .55rem; }
  .gw__p > .gw__cols { gap: 1.6rem; }
}

/* ===== Dernières corrections · Visibilité : barre de segments sélectionnables ===== */
.stg__legend--focus { padding-top: 1.6rem; max-width: 1000px; }
.stg__legend--focus::before { display: none; }
.stg__legend--focus .stg__lgt { position: static; transform: none; text-align: center; margin: 0 0 .9rem; }
.stg__legend--focus .stg__lgt span { padding: 0; border: 0; background: none; color: var(--terra-ink); }
.stg__legend--focus .stg__lg { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 22px; background: color-mix(in srgb, var(--white) 72%, transparent); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(13,27,42,.4); border-left: 0; margin-left: 0; }
.stg__legend--focus .stg__lg li { padding: 0; border: 0; }
.stg__legend--focus .stg__lg li::before { display: none; }
.stg__legend--focus .stg__fb { display: flex; flex-direction: column; align-items: center; gap: .55rem; height: 100%; padding: .9rem .5rem .85rem; border-radius: 17px; text-align: center; transition: background .3s var(--ease), color .3s, box-shadow .3s; }
.stg__legend--focus .stg__fb i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--terra) 13%, transparent); color: var(--terra-ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.stg__legend--focus .stg__fb svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stg__legend--focus .stg__fb b { font: 400 .98rem/1.2 var(--f-display); color: inherit; }
.stg__legend--focus .stg__fb:hover { background: var(--sand); }
.stg__legend--focus .stg__fb:hover i { transform: translateY(-2px); }
.stg__legend--focus .stg__fb:focus-visible { outline: 2px solid var(--terra); outline-offset: -2px; }
.stg__legend--focus .stg__fb[aria-pressed="true"] { background: var(--navy); color: var(--cream); box-shadow: 0 14px 28px -16px rgba(13,27,42,.7); }
.stg__legend--focus .stg__fb[aria-pressed="true"] i { background: var(--terra); color: var(--navy); }
.stg__legend--focus .stg__fb[aria-pressed="true"] b { color: var(--cream); }
.stg__legend--focus.has-focus .stg__fb[aria-pressed="false"] { opacity: 1; }
.stg__legend--focus .stg__x { justify-content: center; text-align: center; max-width: 44rem; margin: 1.1rem auto 0; padding: 0 1rem; background: none; box-shadow: none; border-radius: 0; color: var(--muted); font-size: .98rem; min-height: 3.1em; }
.stg__legend--focus .stg__x i { display: none; }
.stg__legend--focus.has-focus .stg__x { color: var(--fg); box-shadow: none; }
@media (max-width: 760px) {
  .stg__legend--focus .stg__lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stg__legend--focus .stg__fb { padding: .75rem .35rem; gap: .45rem; }
  .stg__legend--focus .stg__fb b { font-size: .84rem; }
  .stg__legend--focus .stg__fb i { width: 32px; height: 32px; }
  .stg__legend--focus .stg__x { font-size: .92rem; text-align: left; padding: 0; }
}

/* ===== Page « Notre approche tarifaire » ===== */
.px-hero { padding: calc(var(--bar-h) + var(--hdr-h) + clamp(1.6rem, 4vw, 3rem)) 0 clamp(3.5rem, 7vw, 5.5rem); }
.px-hero__grid { display: grid; gap: 3rem; align-items: center; }
.px-hero__t { font-size: clamp(2.6rem, 6vw, 5.4rem); letter-spacing: -.045em; line-height: .98; max-width: 13ch; }
.px-hero__t em { color: var(--terra); }
.px-hero__p { margin: 1.5rem 0 2rem; font-size: clamp(1.06rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 33rem; }
.px-hero__vis { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; }
.px-hero__motif { width: 62%; }
.px-tag { position: absolute; padding: .5rem 1rem; border-radius: 999px; background: var(--white); box-shadow: 0 10px 24px -12px rgba(13,27,42,.35), 0 0 0 1px var(--line); font: italic 400 1rem var(--f-display); color: var(--navy); white-space: nowrap; }
.px-tag--1 { left: 0; top: 14%; } .px-tag--2 { right: 0; top: 44%; } .px-tag--3 { left: 8%; bottom: 10%; }
.js .px-hero__vis .px-tag { opacity: 0; translate: 0 10px; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js .px-hero__vis.in .px-tag, html.rm .px-hero__vis .px-tag { opacity: 1; translate: 0 0; }
.px-tag--2 { transition-delay: .12s !important; } .px-tag--3 { transition-delay: .24s !important; }
@media (min-width: 1000px) { .px-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 4rem; } }

.px-crit { padding-block: clamp(4.5rem, 8vw, 7rem); }
.px-crit__head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.2rem, 4vw, 3rem); }
.px-crit__head .eyebrow { justify-content: center; }
.px-crit__t { font-size: clamp(2.1rem, 4.2vw, 3.6rem); letter-spacing: -.035em; line-height: 1.04; }
.px-crit__t em { color: var(--terra); }
.px-crit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.px-crit__list li { position: relative; padding: 1.6rem 1.4rem 1.5rem; border-radius: 22px; background: color-mix(in srgb, var(--white) 78%, transparent); box-shadow: 0 0 0 1px var(--line); }
.px-crit__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: color-mix(in srgb, var(--terra) 14%, transparent); color: var(--terra-ink); }
.px-crit__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.px-crit__n { position: absolute; top: 1.3rem; right: 1.4rem; font: 300 2rem/1 var(--f-display); color: color-mix(in srgb, var(--terra) 55%, transparent); }
.px-crit__list h3 { margin: 1.2rem 0 .45rem; font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.15 var(--f-display); letter-spacing: -.02em; }
.px-crit__list p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.px-crit__join { max-width: 1060px; margin: 0 auto; height: 56px; padding-inline: 12.5%; }
.px-crit__join svg { width: 100%; height: 100%; overflow: visible; }
.px-crit__join path { fill: none; stroke: color-mix(in srgb, var(--terra) 55%, transparent); stroke-width: 1.5; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.px-crit__out { text-align: center; margin: 0; }
.px-crit__out span { display: inline-block; padding: .9rem 1.6rem; border-radius: 999px; background: var(--navy); color: var(--cream); font: 400 clamp(1.1rem, 1.6vw, 1.3rem) var(--f-display); box-shadow: 0 0 0 8px color-mix(in srgb, var(--terra) 16%, transparent), 0 20px 40px -20px rgba(13,27,42,.5); }
.px-crit__note { max-width: 36rem; margin: 1.6rem auto 0; text-align: center; font-size: .9rem; color: var(--muted); }
@media (max-width: 999px) { .px-crit__list { grid-template-columns: 1fr 1fr; } .px-crit__join { display: none; } .px-crit__out { margin-top: 1.6rem; } }
@media (max-width: 560px) { .px-crit__list { grid-template-columns: 1fr; } }

.px-deal { padding-block: clamp(4.5rem, 8vw, 7rem); }
.px-deal__grid { display: grid; gap: 2.5rem; align-items: center; }
.px-deal__t { font-size: clamp(2.1rem, 4.2vw, 3.6rem); letter-spacing: -.035em; line-height: 1.04; max-width: 13ch; }
.px-deal__t em { color: var(--terra-soft); }
.px-deal__p { margin: 1.2rem 0 0; color: var(--muted); max-width: 30rem; font-size: 1.05rem; line-height: 1.6; }
.px-deal__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 20px; overflow: hidden; background: var(--line); }
.px-deal__list li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.3rem 1.3rem; background: var(--navy); }
.px-deal__list i { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--terra); color: var(--navy); font-style: normal; font-size: .8rem; font-weight: 700; }
.px-deal__list b { display: block; font: 400 1.15rem/1.2 var(--f-display); margin-bottom: .25rem; }
.px-deal__list span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.px-deal__rule { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0 0; padding: 1rem 1.2rem; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(228,106,74,.35); background: rgba(228,106,74,.08); font-size: .98rem; }
.px-deal__rule span { color: var(--terra-soft); font-size: 1.2rem; }
@media (min-width: 1000px) { .px-deal__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 5rem; } }
@media (max-width: 560px) { .px-deal__list { grid-template-columns: 1fr; } }
.vows__more { margin: 2.4rem 0 0; font-size: .95rem; } .vows__more a { color: var(--fg); }

/* Menu principal avec « Tarification » : tient sur une ligne dès 1100 px */
.hdr__link { white-space: nowrap; }
@media (min-width: 1100px) and (max-width: 1239px) {
  .hdr__link { padding: .55rem .62rem; font-size: .9rem; }
  .hdr__link[aria-current="page"]::after { left: .62rem; right: .62rem; }
  .hdr__cta { padding: .8rem 1.05rem; font-size: .85rem; margin-left: .3rem; }
}
