/* VELIONA Site Intelligence / tactile map drawing guide
   Self-contained SVG + CSS. No GIF, network request, motion library or JS timer.
   The 8.4 second animation illustrates placement, tracing and validation. */
.map-guide{
  border:1px solid #cfdfcd;background:#f6f9f3;
  margin:0 0 18px;max-width:100%;overflow:hidden;
}
.map-guide-summary{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:15px 19px;cursor:pointer;list-style:none;
  color:#294c36;user-select:none;
}
.map-guide-summary::-webkit-details-marker{display:none}
.map-guide-summary::marker{content:""}
.map-guide-heading{display:inline-flex;align-items:center;gap:11px;flex-wrap:wrap;min-width:0;font-size:12px;font-weight:780;letter-spacing:-.01em}
.map-guide-spark{font-size:18px;font-weight:500;line-height:1;color:#82a676;flex-shrink:0}
.map-guide-duration{font-size:9px;letter-spacing:.08em;color:#718b73;font-weight:720;white-space:nowrap}
.map-guide-toggle{flex-shrink:0;color:#58755f;font-size:10px;font-weight:730}
.map-guide-toggle::before{content:"Masquer l'aide"}
.map-guide:not([open]) .map-guide-toggle::before{content:"Afficher"}
.map-guide-summary:focus-visible{outline:3px solid #7da67b;outline-offset:-3px}
.map-guide[open] .map-guide-summary{border-bottom:1px solid #d8e4d5}
.map-guide-body{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,300px);
  align-items:center;gap:24px;padding:17px 19px 14px;
}
.map-guide-copy{min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center}
.map-guide-copy>p{font-size:11px;line-height:1.75;color:#607b66;max-width:355px;margin:0 0 13px}
.map-guide-steps{padding:0;margin:0;list-style:none;display:grid;gap:4px;counter-reset:none}
.map-guide-step{
  display:flex;align-items:center;gap:12px;padding:6px 10px;
  border-radius:2px;border-left:2px solid transparent;
  font-size:11px;font-weight:780;line-height:1.35;color:#55735b;
  animation:mapGuideStepBase 8.4s linear infinite;
}
.map-guide-step-one{animation-name:mapGuideStepOne}
.map-guide-step-two{animation-name:mapGuideStepTwo}
.map-guide-step-three{animation-name:mapGuideStepThree}
.map-guide-step-number{font:700 11px/1.2 var(--display,inherit);letter-spacing:.07em;flex-shrink:0;color:#86a287}
.map-guide-step small{font-size:10px;color:#78927b;font-weight:520;margin-left:4px}
.map-guide-art{border-radius:5px;min-width:0;background:#eef4e9;border:1px solid #d8e5d3;overflow:hidden}
.map-guide-svg{display:block;width:100%;height:auto;aspect-ratio:310/170}
.map-guide-visual-caption{
  display:block;text-align:center;padding:6px 8px 8px;
  color:#839a83;font-size:8px;letter-spacing:.09em;font-weight:760;
}
.map-guide-tip{
  display:flex;gap:9px;align-items:flex-start;margin:0;
  padding:11px 19px 12px;border-top:1px solid #dfebdb;
  color:#58745f;font-size:10px;line-height:1.7;background:#f9fbf7;
}
.map-guide-tip span{font-size:14px;color:#7c9a78;flex-shrink:0;line-height:1.2}
.map-guide-pulse{opacity:0;transform-origin:151px 82px;animation:mapGuidePulse 8.4s linear infinite}
.map-guide-pin{opacity:0;animation:mapGuidePin 8.4s ease-out infinite}
.map-guide-edge{opacity:0;animation-duration:8.4s;animation-timing-function:linear;animation-iteration-count:infinite}
.map-guide-edge-one{animation-name:mapGuideEdgeOne}
.map-guide-edge-two{animation-name:mapGuideEdgeTwo}
.map-guide-edge-three{animation-name:mapGuideEdgeThree}
.map-guide-edge-close{animation-name:mapGuideEdgeClose}
.map-guide-dot{opacity:0;transform-box:fill-box;transform-origin:center;animation-duration:8.4s;animation-timing-function:linear;animation-iteration-count:infinite}
.map-guide-dot-one{animation-name:mapGuideDotOne}
.map-guide-dot-two{animation-name:mapGuideDotTwo}
.map-guide-dot-three{animation-name:mapGuideDotThree}
.map-guide-dot-four{animation-name:mapGuideDotFour}
.map-guide-tap{opacity:0;transform-box:fill-box;transform-origin:center;animation-duration:8.4s;animation-timing-function:ease-out;animation-iteration-count:infinite}
.map-guide-tap-one{animation-name:mapGuideTapOne}
.map-guide-tap-two{animation-name:mapGuideTapTwo}
.map-guide-tap-three{animation-name:mapGuideTapThree}
.map-guide-tap-four{animation-name:mapGuideTapFour}
.map-guide-finish{opacity:0;animation:mapGuideFinish 8.4s linear infinite}
.map-guide-roof-fill{opacity:0;animation:mapGuideRoofFill 8.4s linear infinite}
.map-guide-exclusion{opacity:0;animation:mapGuideExclude 8.4s ease-out infinite}
.map-guide-check{opacity:0;transform-origin:239px 132px;animation:mapGuideCheck 8.4s ease-out infinite}
@keyframes mapGuideStepOne{
  0%,3%,26%,97%,100%{background:transparent;border-color:transparent}
  7%,22%{background:#e5f0e0;border-color:#668e69}
}
@keyframes mapGuideStepTwo{
  0%,25%,62%,97%,100%{background:transparent;border-color:transparent}
  30%,58%{background:#e5f0e0;border-color:#668e69}
}
@keyframes mapGuideStepThree{
  0%,62%,96%,100%{background:transparent;border-color:transparent}
  68%,91%{background:#e5f0e0;border-color:#668e69}
}
@keyframes mapGuidePulse{
  0%,6%,24%,100%{opacity:0;transform:scale(.5)}
  10%{opacity:.7;transform:scale(.8)}
  19%{opacity:0;transform:scale(1.5)}
}
@keyframes mapGuidePin{
  0%,4%{opacity:0;transform:translateY(-9px)}
  9%,93%{opacity:1;transform:translateY(0)}
  99%,100%{opacity:0;transform:translateY(0)}
}
/* One dot for each actual click. A segment appears AFTER its end dot;
   the final closing edge only appears after the "Terminer le contour" cue. */
@keyframes mapGuideDotOne{
  0%,28%{opacity:0;transform:scale(.7)}
  30%,94%{opacity:1;transform:scale(1)}
  99%,100%{opacity:0;transform:scale(1)}
}
@keyframes mapGuideDotTwo{
  0%,38%{opacity:0;transform:scale(.7)}
  40%,94%{opacity:1;transform:scale(1)}
  99%,100%{opacity:0;transform:scale(1)}
}
@keyframes mapGuideDotThree{
  0%,48%{opacity:0;transform:scale(.7)}
  50%,94%{opacity:1;transform:scale(1)}
  99%,100%{opacity:0;transform:scale(1)}
}
@keyframes mapGuideDotFour{
  0%,58%{opacity:0;transform:scale(.7)}
  60%,94%{opacity:1;transform:scale(1)}
  99%,100%{opacity:0;transform:scale(1)}
}
@keyframes mapGuideEdgeOne{
  0%,39%{opacity:0}
  41%,94%{opacity:1}
  99%,100%{opacity:0}
}
@keyframes mapGuideEdgeTwo{
  0%,49%{opacity:0}
  51%,94%{opacity:1}
  99%,100%{opacity:0}
}
@keyframes mapGuideEdgeThree{
  0%,59%{opacity:0}
  61%,94%{opacity:1}
  99%,100%{opacity:0}
}
@keyframes mapGuideEdgeClose{
  0%,67%{opacity:0}
  69%,94%{opacity:1}
  99%,100%{opacity:0}
}
@keyframes mapGuideTapOne{
  0%,28%,32%,100%{opacity:0;transform:scale(.4)}
  29%{opacity:.9;transform:scale(1)}
  31%{opacity:0;transform:scale(1.7)}
}
@keyframes mapGuideTapTwo{
  0%,38%,42%,100%{opacity:0;transform:scale(.4)}
  39%{opacity:.9;transform:scale(1)}
  41%{opacity:0;transform:scale(1.7)}
}
@keyframes mapGuideTapThree{
  0%,48%,52%,100%{opacity:0;transform:scale(.4)}
  49%{opacity:.9;transform:scale(1)}
  51%{opacity:0;transform:scale(1.7)}
}
@keyframes mapGuideTapFour{
  0%,58%,62%,100%{opacity:0;transform:scale(.4)}
  59%{opacity:.9;transform:scale(1)}
  61%{opacity:0;transform:scale(1.7)}
}
@keyframes mapGuideFinish{
  0%,62%{opacity:0}
  64%,73%{opacity:1}
  77%,100%{opacity:0}
}
@keyframes mapGuideRoofFill{
  0%,67%{opacity:0}
  70%,94%{opacity:.3}
  100%{opacity:0}
}
@keyframes mapGuideExclude{
  0%,74%{opacity:0;transform:translateY(-4px)}
  79%,94%{opacity:1;transform:translateY(0)}
  100%{opacity:0;transform:translateY(0)}
}
@keyframes mapGuideCheck{
  0%,82%{opacity:0;transform:scale(.72)}
  86%,94%{opacity:1;transform:scale(1)}
  100%{opacity:0;transform:scale(.85)}
}
@media(max-width:760px){
  .map-guide-body{grid-template-columns:minmax(0,1fr) minmax(170px,230px);gap:13px;padding:14px}
  .map-guide-heading{font-size:11px}
  .map-guide-duration{font-size:8px}
  .map-guide-summary{padding:14px}
  .map-guide-tip{padding:11px 14px}
}
@media(max-width:580px){
  .map-guide-body{display:flex;flex-direction:column;align-items:stretch;gap:10px}
  .map-guide-copy>p{max-width:none;margin:0 0 8px}
  .map-guide-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
  .map-guide-step{display:block;padding:8px 6px 7px;font-size:10px;min-width:0}
  .map-guide-step-number{display:block;font-size:9px;margin-bottom:3px}
  .map-guide-step small{display:block;margin:3px 0 0;font-size:9px;line-height:1.45}
  .map-guide-art{width:min(100%,330px);margin:0 auto}
  .map-guide-svg{max-height:167px}
  .map-guide-summary{padding:13px}
  .map-guide-heading{gap:7px}
  .map-guide-duration{display:none}
  .map-guide-toggle{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .map-guide-step,.map-guide-pulse,.map-guide-pin,
  .map-guide-edge,.map-guide-dot,.map-guide-tap,.map-guide-finish,
  .map-guide-roof-fill,.map-guide-exclusion,.map-guide-check{
    animation:none!important;
  }
  .map-guide-pulse,.map-guide-tap,.map-guide-finish{display:none!important}
  .map-guide-pin,.map-guide-edge,.map-guide-dot,
  .map-guide-exclusion,.map-guide-check{opacity:1!important;transform:none!important}
  .map-guide-roof-fill{opacity:.3!important}
  .map-guide-step{border-left-color:#96b198;background:#edf4e9}
}
@media print{.map-guide{display:none!important}}
