
/* ===========================================

Gestion de la carte

=========================================== */
#fpmContainer {
  padding-right: 90px;
  z-index: 3;
}

.fpm-map-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 852 / 850; /* remplacez par les dimensions réelles de VOTRE fichier */
}
.fpm-map{ position: absolute; inset: 0; width: 100%; height: 100%; display: block;z-index: 3; }

.fpm-pin{
  position: absolute;       /* left / top posés en JS, en % */
  transform: translate(-50%, -100%); /* la pointe du pin = le point ancré */
  pointer-events: none;
  z-index: 5;
}

.fpm-pin img{ display: block; width: 26px; height: auto; transform-origin: 50% 100%; }

.fpm-pin--enter img{
  animation: fpmPinPop .45s cubic-bezier(.22, 1, .36, 1) both;width:35px;
}
@keyframes fpmPinPop{
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.25); }
  100% { opacity: 1; transform: scale(1); }
}

.fpm-pin__float{ display: block; }

.fpm-pin--enter .fpm-pin__float{
  animation: fpmPinBob 1.6s ease-in-out infinite;
  animation-delay: .45s; /* démarre une fois le "pop" d'arrivée terminé */
}

@keyframes fpmPinBob{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); } /* ajuste l'amplitude ici */
}

@media (prefers-reduced-motion: reduce){
  .fpm-pin--bob .fpm-pin__float{ animation: none; }
}

@keyframes fpmPinBob{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); } 
}

@media (prefers-reduced-motion: reduce){
  .fpm-pin--enter{ animation: none; }
}

/* Compteur sur la map */
.fpm-counter {
    position: absolute;
    top: 32%;
    left: 85%;
    /* transform: translateY(-50%); */
    width: 168px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 18px 18px 20px;
    text-align: center;
    border: solid 1px #CCCCCC;
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    z-index: 1;
}

.fpm-counter__eyebrow, .fpm-counter__unit {
  font-family: Poppins;
  font-weight: 500;
  font-style: Medium;
  font-size: 32px;
  line-height: 80%;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color:#2F2F2F;
}
.fpm-counter__value {
  font-family: Poppins;
  font-weight: 700;
  font-style: Bold;
  font-size: 50px;
  line-height: 80%;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: #F3322D;
}

.fpm-counter__sub {
  font-family: Poppins;
  font-weight: 500;
  font-style: Medium;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color:#2F2F2F;
}


@media (max-width: 768px) {
  .game-form__notes {
    flex: auto !important;
  }

  .card-left-col1.card {
    padding: 0 !important;
  }
  .body-a-row.left-right-cards-row {
    padding: 0 !important;
  }
  .body-red-title {
    font-size: 35px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .mobile {
    display: block !important;
  }
  .desktop {
    display: none !important;
  }
}

@media (max-width:425px)
{
  .fpm-counter {
    top: 25%;
    left: 71%;
    padding-right: 10px;
  }

  .fpm-counter__eyebrow, .fpm-counter__unit {
    font-size: 20px;
  }
  
  .fpm-counter__value {
    font-size: 35px;
  }

  .fpm-counter__sub {
    font-size: 14px;
  }

  .fpm-pin img {
    max-width: 15px !important;
  }
}

@media (max-width:320px) {
    .fpm-counter {
      top: 10%;
      left: 63%;
      padding-right: 0px;
    }
}