/* The workshop's location (owner, 2026-11-03): the footer's pin, and the 3D map it opens */
.pm-locate { position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: .5rem; padding: 0;
  vertical-align: middle; border: 0; border-radius: 50%; background: #fbbc05; color: #0b2545; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(251, 188, 5, .6), 0 4px 12px rgba(251, 188, 5, .35); animation: pm-locate-call 2.6s ease-out infinite;
  transition: transform .2s, background .2s; }
.pm-locate svg { width: 17px; height: 17px; fill: #0b2545; stroke: #0b2545; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.pm-locate svg circle { fill: #fbbc05; stroke: none; }
.pm-locate:hover, .pm-locate:focus-visible { background: #ffcd38; transform: translateY(-2px) scale(1.08); animation-play-state: paused; }
.pm-locate:hover svg { animation: pm-locate-hop .6s ease; }
/* A soft yellow wave, every few seconds: the pin calls the eye without blinking */
@keyframes pm-locate-call { 0% { box-shadow: 0 0 0 0 rgba(251, 188, 5, .6), 0 4px 12px rgba(251, 188, 5, .35); }
  70% { box-shadow: 0 0 0 12px rgba(251, 188, 5, 0), 0 4px 12px rgba(251, 188, 5, .35); }
  100% { box-shadow: 0 0 0 0 rgba(251, 188, 5, 0), 0 4px 12px rgba(251, 188, 5, .35); } }
@keyframes pm-locate-hop { 40% { transform: translateY(-3px); } }

.pm-where { width: min(1100px, 96vw); height: min(760px, 92dvh); max-width: none; max-height: none; padding: 0; border: 0;
  border-radius: 20px; overflow: hidden; background: #0b2545; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.pm-where[open] { display: block; animation: pm-where-in .35s cubic-bezier(.2, .9, .3, 1.2); }
.pm-where::backdrop { background: rgba(6, 16, 32, .62); backdrop-filter: blur(4px); }
@keyframes pm-where-in { from { opacity: 0; transform: scale(.94) translateY(12px); } }
/* maplibre-gl.css makes the map « position: relative »: kept over the whole window here */
.pm-where .pm-where__map, .pm-where .pm-where__map.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.pm-where__veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .9rem; padding: 2rem; color: #dbe6f7; font-size: .95rem; text-align: center;
  background: radial-gradient(circle at 50% 40%, #13315c, #0b2545 70%); }
.pm-where__veil[hidden] { display: none; }
.pm-where__spinner { width: 38px; height: 38px; border: 3px solid rgba(255, 255, 255, .2); border-top-color: #fbbc05;
  border-radius: 50%; animation: pm-where-spin .9s linear infinite; }
@keyframes pm-where-spin { to { transform: rotate(360deg); } }
.pm-where__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(11, 37, 69, .82); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.pm-where__close:hover { background: #0b2545; }
.pm-where__card { position: absolute; left: 18px; bottom: 18px; z-index: 2; width: min(360px, calc(100% - 36px)); padding: 1.1rem 1.2rem;
  border-radius: 16px; color: #fff; background: rgba(11, 37, 69, .78); backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); }
.pm-where__kicker { margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fbbc05; }
.pm-where__name { margin: .2rem 0 .3rem; font-size: 1.35rem; color: #fff; }
.pm-where__address { margin: 0 0 .9rem; color: #dbe6f7; font-size: .92rem; }
/* Itinéraire and every number stacked at one width; the round turn button centred beside them
   (owner, 2026-11-15) */
.pm-where__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .5rem .9rem; }
.pm-where__links { display: grid; gap: .5rem; }
.pm-where__links .pm-where__btn { justify-content: flex-start; white-space: nowrap; }
.pm-where__ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round; }
.pm-where__btn { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; font: inherit; font-size: .88rem;
  font-weight: 600; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  cursor: pointer; }
.pm-where__btn:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.pm-where__btn--primary { background: #fbbc05; border-color: #fbbc05; color: #0b2545; }
.pm-where__btn--primary:hover { background: #ffcd38; color: #0b2545; }
.pm-where__btn--icon { position: relative; flex: none; justify-content: center; width: 38px; height: 38px; padding: 0; background: transparent; }
/* The site's own hint bubble, in place of the browser's native tooltip */
.pm-where__btn--icon[data-tip]::after, .pm-locate[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 9px); left: 50%; z-index: 5;
  transform: translate(-50%, 4px); padding: .35rem .65rem; border-radius: 8px; white-space: nowrap; pointer-events: none;
  font-family: inherit; font-size: .78rem; font-weight: 600; line-height: 1.2; letter-spacing: normal; text-transform: none; color: #0b2545; background: #fbbc05;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25); opacity: 0; transition: opacity .15s, transform .15s; }
.pm-where__btn--icon[data-tip]:hover::after, .pm-where__btn--icon[data-tip]:focus-visible::after,
.pm-locate[data-tip]:hover::after, .pm-locate[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
/* The turn button sits at the card's right edge: its hint opens leftwards, inside the card */
.pm-where__btn--icon[data-tip]::after { left: auto; right: 0; transform: translateY(4px); }
.pm-where__btn--icon[data-tip]:hover::after, .pm-where__btn--icon[data-tip]:focus-visible::after { transform: none; }
.pm-where__btn--icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pm-where__btn--icon.is-on svg { animation: pm-where-spin 3s linear infinite; }
.pm-where__credits { margin: .8rem 0 0; font-size: .68rem; color: rgba(219, 230, 247, .7); }
.pm-where__pin { position: relative; width: 46px; height: 58px; }
.pm-where__drop { position: absolute; left: 50%; bottom: 6px; width: 46px; height: 46px; transform: translateX(-50%);
  animation: pm-where-drop 1s cubic-bezier(.3, 1.5, .5, 1) both; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.pm-where__drop svg { width: 100%; height: 100%; fill: #fbbc05; stroke: #0b2545; stroke-width: 1.4; }
.pm-where__drop circle { fill: #0b2545; }
.pm-where__pulse { position: absolute; left: 50%; bottom: 0; width: 64px; height: 22px; margin-left: -32px; border-radius: 50%;
  border: 2px solid rgba(251, 188, 5, .85); animation: pm-where-pulse 2.4s ease-out infinite; }
.pm-where__pulse--late { animation-delay: 1.2s; }
@keyframes pm-where-pulse { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
@keyframes pm-where-drop { from { transform: translate(-50%, -120px); opacity: 0; } }
@media (max-width: 640px) {
  .pm-where { width: 100vw; height: 100dvh; border-radius: 0; }
  .pm-where__card { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-where[open], .pm-where__drop, .pm-where__pulse, .pm-locate, .pm-locate:hover svg, .pm-where__btn--icon.is-on svg { animation: none; }
}
