/* Parcours : Ton actif → Le système te comprend → L'engagement → Ta liberté (08/10/2026). Visuel d'abord. */
.pc-section { padding-block: 110px 90px; }
.pc-head { max-width: 820px; }
.pc-head h2 { font: 700 clamp(36px, 4.8vw, 62px)/1.03 var(--display); letter-spacing: -.035em; margin-top: 18px; }
.pc-head h2 span { color: var(--blue); }
.pc-head p { color: var(--muted); font-size: 17px; line-height: 1.65; margin-top: 20px; max-width: 640px; }
.pc-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chips li { font: 500 12.5px var(--body); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #ffffff08; }

/* Image en grand + schéma à côté */
.pc-stage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; margin-top: 46px; align-items: stretch; }
.pc-stage.flip { grid-template-columns: 1fr 1.15fr; }
.pc-stage.flip .pc-img { order: 2; }
.pc-img { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.pc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.pc-img:hover img { transform: scale(1.03); }
.pc-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, #080c19e6); pointer-events: none; }
.pc-img figcaption { position: absolute; z-index: 1; left: 20px; bottom: 18px; right: 20px; display: flex; align-items: center; gap: 10px; font: 600 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #e3e8f1; }
.pc-schema { position: relative; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, #141f47 0%, #0c1226 72%); padding: 12px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.pc-schema svg { display: block; width: 100%; height: auto; overflow: visible; }
.pc-schema .pc-note { margin: 8px 10px 2px; font: 500 10px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8d98b8; display: flex; justify-content: space-between; gap: 10px; }
.pc-note b { color: var(--ink); font-weight: 600; }

/* Textes SVG communs */
.pc-schema text { pointer-events: none; }
.t-lbl { font: 600 8.5px var(--body); fill: #f5f5f0; }
.t-sub { font: 500 7px var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: #a0b8f7; }
.t-tag { font: 600 7px var(--body); fill: #0d1324; }

/* --- Schéma A : le fil de ressources remplit ton actif --- */
.fx-card { transition: transform 1.5s cubic-bezier(.3,.7,.2,1), opacity .5s ease; transform-box: view-box; opacity: 0; }
.fx-card rect { fill: #121a36; stroke: #91b5ff66; stroke-width: 1; }
.fx-card.stamped rect { stroke: #a5eebc; }
.fx-card .stamp { opacity: 0; transition: opacity .3s ease; }
.fx-card.stamped .stamp { opacity: 1; }
.fx-agent rect { fill: #1b2a5c; stroke: #91b5ff55; }
.fx-agent .robot-eye { fill: #a5eebc; }
.fx-bar-bg { fill: #ffffff14; }
.fx-bar { transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.fx-level { font: 700 11px var(--display); fill: #f5f5f0; }
.fx-ping { fill: none; stroke: #a5eebc; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.fx-ping.go { animation: fx-ping 1s ease-out 1; }
@keyframes fx-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* --- Schéma B : le radar qui te présente les bonnes personnes --- */
.rd-ring { fill: none; stroke: #91b5ff2a; stroke-width: 1; }
.rd-sweep { fill: url(#rdgrad); transform-box: view-box; transform-origin: 240px 150px; animation: rd-spin 4s linear infinite; }
.pc-schema.paused .rd-sweep { animation-play-state: paused; }
@keyframes rd-spin { to { transform: rotate(360deg); } }
.rd-you .you-ring { fill: #3765f5; stroke: #f5f5f0; stroke-width: 1.5; }
.rd-tag rect { fill: #f5f5f0; }
.rd-tag { transition: opacity .4s ease, transform .4s ease; transform-box: view-box; }
.rd-av { transition: opacity .5s ease, transform .5s ease; transform-box: view-box; }
.rd-av .av-ring { fill: #0d1324; stroke: #ffffff55; stroke-width: 1.8; transition: stroke .3s ease, stroke-width .3s ease; }
.rd-av.dim { opacity: .4; }
.rd-av.hit .av-ring { stroke: #a5eebc; stroke-width: 3; }
.rd-av .av-pulse { fill: none; stroke: #a5eebc; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rd-av.hit .av-pulse { animation: av-pulse 1.4s ease-out 2; }
.rd-av .hit-tag { opacity: 0; transition: opacity .35s ease; }
.rd-av.hit .hit-tag { opacity: 1; }
.rd-link { stroke: #a5eebc; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .8s ease, opacity .3s ease; }
.rd-link.on { stroke-dashoffset: 0; opacity: .8; }
.rd-caption { opacity: 0; transition: opacity .5s ease; }
.rd-caption.on { opacity: 1; }

/* --- Schéma C : le projet déclaré, soutenu à chaque étape --- */
.en-track { stroke: #91b5ff40; stroke-width: 3; stroke-linecap: round; }
.en-done { stroke: #a5eebc; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s linear; }
.en-done.go { stroke-dashoffset: 0; }
.en-ms circle { fill: #0d1324; stroke: #91b5ff80; stroke-width: 2; transition: fill .4s ease, stroke .4s ease; }
.en-ms.done circle { fill: #a5eebc; stroke: #a5eebc; }
.en-ms text { text-anchor: middle; }
.en-marker { transition: transform 1.6s linear; transform-box: view-box; }
.en-sup { opacity: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1.2); transform-box: view-box; }
.en-sup.on { opacity: 1; }
.en-sup .av-ring { fill: #0d1324; stroke-width: 2; }
.en-bubble rect { fill: #f5f5f0; }
.en-bubble.agent rect { fill: #ffd36e; }
.en-count { font: 700 12px var(--display); fill: #f5f5f0; }
.en-pact rect { fill: #1b2a5c; stroke: #91b5ff55; }
.en-confetti i { position: absolute; width: 6px; height: 6px; border-radius: 1px; opacity: 0; }
.en-flag { opacity: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1.3); transform-box: view-box; }
.en-flag.on { opacity: 1; }

/* --- Section Liberté : pleine image --- */
.lib-section { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; margin-top: 40px; }
.lib-bg { position: absolute; inset: 0; z-index: 0; }
.lib-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.02); }
.lib-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, #080c1900 28%, #080c1900 55%, #080c19f2 100%), linear-gradient(90deg, #080c19d9 0%, #080c1966 40%, transparent 70%); }
.lib-content { position: relative; z-index: 1; padding-block: 90px 96px; max-width: 760px; }
.lib-content h2 { font: 700 clamp(40px, 6vw, 84px)/.98 var(--display); letter-spacing: -.04em; margin-top: 18px; text-shadow: 0 4px 40px #000; }
.lib-rot { display: inline-grid; color: var(--blue); }
.lib-rot span { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; white-space: nowrap; }
.lib-rot span.on { opacity: 1; transform: none; }
.lib-content p { color: #e3e8f1; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; margin-top: 22px; max-width: 580px; text-shadow: 0 2px 16px #000; }
.lib-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.lib-points li { display: flex; gap: 12px; align-items: baseline; color: #f5f5f0; font-size: 15px; }
.lib-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #a5eebc; box-shadow: 0 0 12px #a5eebc80; flex: none; transform: translateY(-1px); }
.lib-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 980px) {
  .pc-stage, .pc-stage.flip { grid-template-columns: 1fr; }
  .pc-stage.flip .pc-img { order: 0; }
  .pc-img { min-height: 0; aspect-ratio: 16 / 10; }
  .lib-section { min-height: 0; align-items: stretch; }
  .lib-bg img { object-position: 70% 40%; }
  .lib-bg::after { background: linear-gradient(180deg, var(--bg) 0%, #080c1900 20%, #080c1900 38%, #080c19d9 52%, #080c19fa 68%, #080c19 100%); }
  .lib-content { padding-block: 60vw 70px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-sweep, .fx-ping.go, .rd-av.hit .av-pulse { animation: none !important; }
  .fx-card, .rd-av, .rd-link, .en-marker, .en-done, .en-sup, .lib-rot span { transition: none !important; }
}
