/* ===== v1.3.0 — épingles interactives sur le globe 3D et la carte ===== */
.globe-pin{
  position:relative;
  display:block;
  width:34px;
  height:58px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  transform:translate(-50%,-100%);
  outline:none;
}
.globe-pin-bubble,
.map-pin-bubble{
  position:absolute;
  left:50%;
  top:0;
  width:22px;
  height:22px;
  border-radius:50%;
  transform:translateX(-50%);
  background:linear-gradient(180deg,#fafdff,#cfe7ff);
  border:2px solid rgba(255,255,255,.94);
  box-shadow:0 6px 14px rgba(8,18,34,.34),inset 0 2px 5px rgba(255,255,255,.55);
}
.globe-pin-stem,
.map-pin-stem{
  position:absolute;
  left:50%;
  top:18px;
  width:4px;
  height:24px;
  border-radius:999px;
  transform:translateX(-50%);
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.28));
  box-shadow:0 2px 6px rgba(4,15,26,.18);
}
.globe-pin-preview{
  position:absolute;
  left:50%;
  bottom:calc(100% + 8px);
  z-index:12;
  width:210px;
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,8px) scale(.96);
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
  pointer-events:none;
}
.globe-pin:hover .globe-pin-preview,
.globe-pin:focus-visible .globe-pin-preview,
.globe-pin.is-active .globe-pin-preview{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0) scale(1);
}
.globe-pin:hover,
.globe-pin:focus-visible,
.globe-pin.is-active{
  z-index:20;
}
.globe-pin--standard .globe-pin-bubble,
.map-pin--standard .map-pin-bubble{
  background:linear-gradient(180deg,#f9dcf0,#ce74a6);
}
.globe-pin--farthest .globe-pin-bubble,
.map-pin--farthest .map-pin-bubble{
  background:linear-gradient(180deg,#ffd5d5,#da3838);
}
.globe-pin--home .globe-pin-bubble,
.map-pin--home .map-pin-bubble{
  background:linear-gradient(180deg,#d7fff0,#4ecf95);
}
.globe-pin.is-active .globe-pin-bubble,
.globe-pin:focus-visible .globe-pin-bubble{
  box-shadow:0 0 0 5px rgba(255,255,255,.18),0 8px 20px rgba(8,18,34,.40),inset 0 2px 5px rgba(255,255,255,.58);
}
.geo-preview-card{
  display:grid;
  grid-template-columns:70px 1fr;
  gap:9px;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(223,234,243,.86);
  border-radius:14px;
  background:rgba(255,252,254,.98);
  box-shadow:0 14px 26px rgba(4,14,25,.22);
  color:#173149;
}
.geo-preview-card--home{grid-template-columns:58px 1fr}
.geo-preview-photo{
  width:70px;
  height:70px;
  display:block;
  object-fit:cover;
  background:linear-gradient(145deg,#edf5f8,#d7e8f1);
}
.geo-preview-photo--home{
  width:58px;
  height:70px;
  display:grid;
  place-items:center;
  color:#2b7551;
  font-size:1.65rem;
  background:linear-gradient(145deg,#e6f7ed,#cdebd9);
}
.geo-preview-photo--placeholder{
  display:grid;
  place-items:center;
  color:#5a7d96;
  font-size:1.7rem;
}
.geo-preview-body{
  display:flex;
  min-width:0;
  flex-direction:column;
  gap:3px;
  padding:8px 10px 8px 0;
}
.geo-preview-body strong{
  font-family:Georgia,"Times New Roman",serif;
  font-size:.95rem;
  line-height:1.1;
  color:#173149;
}
.geo-preview-body span:not(.geo-preview-kicker):not(.geo-preview-badge){
  color:#5e7486;
  font-size:.68rem;
  line-height:1.25;
}
.geo-preview-kicker{
  text-transform:uppercase;
  letter-spacing:.09em;
  color:#6689a1;
  font-size:.52rem;
  font-weight:850;
}
.geo-preview-badge{
  color:#c22626;
  font-size:.59rem;
  font-weight:850;
}
.map-pin-wrapper{
  background:transparent!important;
  border:0!important;
}
.map-pin{
  position:relative;
  width:30px;
  height:42px;
}
.map-pin-shadow{
  position:absolute;
  left:50%;
  bottom:2px;
  width:14px;
  height:5px;
  border-radius:50%;
  transform:translateX(-50%);
  background:rgba(13,35,53,.18);
  filter:blur(1.4px);
}
.map-preview-tooltip{
  border:0;
  background:transparent;
  box-shadow:none;
}
.map-preview-tooltip .leaflet-tooltip-content{
  margin:0;
}
.map-preview-tooltip:before{display:none}
.map-popup-photo--home{
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#e6f7ed,#cdebd9);
  color:#2b7551;
  font-size:2rem;
}
.map-popup--home{
  min-width:170px;
}
.geo-help{
  white-space:normal;
}
@media(max-width:700px){
  .globe-pin{width:30px;height:52px}
  .globe-pin-preview{display:none}
  .geo-preview-card{grid-template-columns:64px 1fr}
  .geo-preview-card--home{grid-template-columns:50px 1fr}
  .geo-preview-photo{width:64px;height:64px}
  .geo-preview-photo--home{width:50px;height:64px}
}


/* ===== v1.3.1 — épingles réalistes, ancrées au globe et interactives ===== */
.globe-pin-anchor{
  --pin-angle:0deg;
  --pin-length:28px;
  --preview-shift:0px;
  position:absolute;
  width:1px;
  height:1px;
  overflow:visible;
  pointer-events:none;
}
.globe-pin-anchor .globe-pin{
  position:absolute;
  left:0;
  top:0;
  width:28px;
  height:calc(var(--pin-length) + 18px);
  padding:0;
  border:0;
  background:transparent;
  transform-origin:50% 100%;
  transform:translate(-50%,-100%) rotate(var(--pin-angle));
  cursor:pointer;
  pointer-events:auto !important;
  outline:none;
  filter:drop-shadow(0 5px 5px rgba(4,14,24,.30));
}
.globe-pin-head{
  position:absolute;
  z-index:3;
  left:50%;
  top:0;
  width:18px;
  height:18px;
  border-radius:50%;
  transform:translateX(-50%);
  border:1px solid rgba(255,255,255,.92);
  background:
    radial-gradient(circle at 31% 27%,rgba(255,255,255,.98) 0 10%,rgba(255,255,255,.48) 11% 21%,transparent 22%),
    radial-gradient(circle at 38% 34%,#f8d4ea 0,#d982b4 45%,#a8477f 78%,#73305c 100%);
  box-shadow:
    inset -3px -4px 5px rgba(70,23,55,.25),
    inset 2px 2px 4px rgba(255,255,255,.62),
    0 2px 6px rgba(11,23,35,.34);
}
.globe-pin-needle{
  position:absolute;
  z-index:2;
  left:50%;
  top:15px;
  width:2px;
  height:var(--pin-length);
  transform:translateX(-50%);
  border-radius:999px;
  background:linear-gradient(90deg,#727b84 0,#eef3f5 42%,#aeb8be 62%,#656f77 100%);
  box-shadow:1px 0 1px rgba(255,255,255,.42),0 2px 4px rgba(0,0,0,.22);
}
.globe-pin-contact{
  position:absolute;
  z-index:1;
  left:50%;
  bottom:-1px;
  width:7px;
  height:3px;
  border-radius:50%;
  transform:translateX(-50%);
  background:rgba(8,21,32,.34);
  box-shadow:0 0 4px rgba(255,255,255,.18);
}
.globe-pin-anchor--farthest .globe-pin-head{
  background:
    radial-gradient(circle at 31% 27%,rgba(255,255,255,.98) 0 10%,rgba(255,255,255,.48) 11% 21%,transparent 22%),
    radial-gradient(circle at 38% 34%,#ffd3d3 0,#ed7777 43%,#c43d3d 76%,#842424 100%);
}
.globe-pin-anchor--home .globe-pin-head{
  background:
    radial-gradient(circle at 31% 27%,rgba(255,255,255,.98) 0 10%,rgba(255,255,255,.48) 11% 21%,transparent 22%),
    radial-gradient(circle at 38% 34%,#d5f8e8 0,#69d2a4 43%,#2e9a70 76%,#1f6d50 100%);
}
.globe-pin-anchor .globe-pin-preview{
  position:absolute;
  left:var(--preview-shift);
  bottom:34px;
  z-index:30;
  width:220px;
  opacity:0;
  visibility:hidden;
  transform:translate(-50%,8px) scale(.97);
  transition:opacity .15s ease,transform .15s ease,visibility .15s ease;
  pointer-events:none;
}
.globe-pin-anchor:hover .globe-pin-preview,
.globe-pin-anchor.is-keyboard-focus .globe-pin-preview,
.globe-pin-anchor.is-active .globe-pin-preview{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0) scale(1);
}
.globe-pin-anchor:hover .globe-pin-head,
.globe-pin-anchor.is-keyboard-focus .globe-pin-head,
.globe-pin-anchor.is-active .globe-pin-head{
  box-shadow:
    0 0 0 4px rgba(255,255,255,.20),
    inset -3px -4px 5px rgba(70,23,55,.24),
    inset 2px 2px 4px rgba(255,255,255,.68),
    0 4px 10px rgba(11,23,35,.40);
}
.globe-pin-anchor .globe-pin:focus-visible .globe-pin-head{
  outline:2px solid rgba(255,255,255,.98);
  outline-offset:3px;
}

/* Carte 2D : même langage visuel, avec tête sphérique et aiguille métallique. */
.map-pin-wrapper{background:transparent!important;border:0!important}
.map-pin{
  position:relative;
  width:28px;
  height:42px;
  filter:drop-shadow(0 4px 4px rgba(18,34,48,.25));
}
.map-pin-head{
  position:absolute;
  z-index:3;
  left:50%;
  top:0;
  width:17px;
  height:17px;
  border-radius:50%;
  transform:translateX(-50%);
  border:1px solid rgba(255,255,255,.95);
  background:
    radial-gradient(circle at 31% 27%,rgba(255,255,255,.98) 0 10%,rgba(255,255,255,.48) 11% 21%,transparent 22%),
    radial-gradient(circle at 38% 34%,#f8d4ea 0,#d982b4 45%,#a8477f 78%,#73305c 100%);
  box-shadow:inset -3px -4px 5px rgba(70,23,55,.24),inset 2px 2px 4px rgba(255,255,255,.62),0 2px 6px rgba(11,23,35,.28);
}
.map-pin-needle{
  position:absolute;
  z-index:2;
  left:50%;
  top:15px;
  width:2px;
  height:25px;
  transform:translateX(-50%);
  border-radius:999px;
  background:linear-gradient(90deg,#727b84 0,#eef3f5 42%,#aeb8be 62%,#656f77 100%);
}
.map-pin-contact{
  position:absolute;
  left:50%;
  bottom:0;
  width:7px;
  height:3px;
  border-radius:50%;
  transform:translateX(-50%);
  background:rgba(20,41,57,.24);
}
.map-pin--farthest .map-pin-head{
  background:
    radial-gradient(circle at 31% 27%,rgba(255,255,255,.98) 0 10%,rgba(255,255,255,.48) 11% 21%,transparent 22%),
    radial-gradient(circle at 38% 34%,#ffd3d3 0,#ed7777 43%,#c43d3d 76%,#842424 100%);
}
.map-pin--home .map-pin-head{
  background:
    radial-gradient(circle at 31% 27%,rgba(255,255,255,.98) 0 10%,rgba(255,255,255,.48) 11% 21%,transparent 22%),
    radial-gradient(circle at 38% 34%,#d5f8e8 0,#69d2a4 43%,#2e9a70 76%,#1f6d50 100%);
}
.map-preview-tooltip{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}
.map-preview-tooltip:before{display:none!important}
.map-preview-tooltip .leaflet-tooltip-content{margin:0}

@media(max-width:700px){
  .globe-pin-anchor .globe-pin{
    width:32px;
  }
  .globe-pin-anchor .globe-pin-preview{
    display:none;
  }
}


