/* Le moteur du flagelle — page Le sol vivant (2026-11-30). Tout est préfixé fm- pour ne pas toucher aux styles de la page. */
.sv-flag{background:var(--cream)}
.sv-flag .fm-lead{max-width:700px;margin:14px auto 0;font-size:17px;line-height:1.6;color:var(--soft)}
.fm-stage{position:relative;height:min(680px,80vh);min-height:480px;border-radius:28px;overflow:hidden;
  background:radial-gradient(70% 60% at 50% 45%,#22513a 0%,#123222 55%,#0b2117 100%);box-shadow:0 40px 80px -40px rgba(11,33,23,.6)}
.fm-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:pan-y}
.fm-stage canvas.grab{cursor:grabbing}
.fm-zone{position:absolute;left:0;bottom:18px;transform:translateX(-50%);white-space:nowrap;transition:opacity .3s;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:rgba(243,241,231,.55);pointer-events:none}
.fm-stage.fm-vert .fm-zone{left:18px;bottom:auto;transform:none}
.fm-pins{position:absolute;inset:0;pointer-events:none}
.fm-leads{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.fm-leads g{transition:opacity .3s}
.fm-leads line{stroke:rgba(243,241,231,.75);stroke-width:1.5}
.fm-leads circle{fill:#fff;stroke:#173d2b;stroke-width:1.5}
.fm-pin{position:absolute;left:0;top:0;width:32px;height:32px;margin:-16px 0 0 -16px;padding:0;border-radius:50%;display:grid;place-items:center;
  background:#fff;color:#173d2b;font:800 13px "Manrope",system-ui,sans-serif;border:2px solid #173d2b;box-shadow:0 0 0 5px rgba(215,233,172,.35);
  cursor:pointer;pointer-events:auto;transition:background .2s,opacity .3s,box-shadow .2s}
.fm-pin:hover,.fm-pin.on{background:#173d2b;color:#fff;box-shadow:0 0 0 7px rgba(215,233,172,.6)}
.fm-pin.hidden{opacity:0;pointer-events:none}
.fm-hint{position:absolute;right:18px;top:20px;transition:opacity .3s;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:rgba(243,241,231,.55);pointer-events:none}
.fm-pop.open ~ .fm-hint{opacity:0}
.fm-pop{position:absolute;right:18px;top:18px;width:min(340px,calc(100% - 36px));background:#fff;border-radius:22px;padding:18px 20px 16px;text-align:left;
  box-shadow:0 30px 60px -20px rgba(0,0,0,.45);transform:translateY(8px);opacity:0;pointer-events:none;transition:.3s}
.fm-pop.open{opacity:1;transform:none;pointer-events:auto}
.fm-pop-top{display:flex;justify-content:space-between;align-items:center}
.fm-pop-num{font-family:"Cormorant Garamond",Georgia,serif;font-size:26px;color:#52796f}
.fm-pop-num small{font-size:15px;color:#5d7164}
.fm-pop-x{width:34px;height:34px;padding:0;border-radius:50%;border:0;background:#f3f1e7;color:#173d2b;font-size:15px;cursor:pointer}
.fm-pop h3{font-family:"Cormorant Garamond",Georgia,serif;font-size:27px;line-height:1.1;color:#173d2b;margin:4px 0}
.fm-pop .fm-sci{font-size:12px;font-weight:700;letter-spacing:.06em;color:#2a9fb0;margin:0 0 10px;text-transform:uppercase}
.fm-pop p{margin:0;font-size:15px;line-height:1.6;color:#20352a}
.fm-pop-nav{display:flex;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(23,61,43,.12)}
.fm-pop-nav button{flex:1;padding:9px 12px;border-radius:999px;border:1px solid rgba(23,61,43,.12);background:#fff;font:700 13.5px "Manrope",system-ui,sans-serif;color:#173d2b;cursor:pointer}
.fm-pop-nav button:hover{background:#f3f1e7}
.sv-flag .fm-note{max-width:820px;margin:22px auto 0;font-size:13.5px;line-height:1.6;color:#5d7164;text-align:center}
.fm-fallback{position:absolute;inset:0;display:none;place-items:center;margin:0;padding:24px;text-align:center;color:#e8efe2}
.fm-stage.fm-nogl .fm-fallback{display:grid}
@media (max-width:760px){
  .fm-stage{height:72vh;min-height:480px;border-radius:20px}
  .fm-pop{left:12px;right:12px;top:12px;width:auto;max-height:62%;overflow:auto}
  .fm-zone{font-size:10px}
  .fm-hint{display:none}
}
