/*==================================================
        CARTE INTERACTIVE - MON ITINÉRAIRE
==================================================*/

/* En-tête de la carte */
.journey-map-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 35px;
}

.journey-map-header h2 {
  margin: 0 0 12px;
}

.journey-map-header p {
  margin: 0;
  line-height: 1.7;
}


/*==================================================
                    CARTE
==================================================*/

.journey-map {
  position: relative;
  width: 80%;
  max-width: 900px;
  height: 300px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
}
/*==================================================
              MARQUEURS PERSONNALISÉS
==================================================*/

.custom-map-marker {
  background: transparent;
  border: none;
}

.marker-dot {
  width: 18px;
  height: 18px;

  background: rgb(241, 130, 173);
  border: 3px solid white;
  border-radius: 50%;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 0 0 4px rgba(241, 130, 173, 0.25);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.marker-dot:hover {
  transform: scale(1.25);

  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.3),
    0 0 0 6px rgba(241, 130, 173, 0.25);
}

/*==================================================
            BOUTON COMMENCER LE VOYAGE
==================================================*/

.journey-start {
  display: flex;
  justify-content: center;

  margin-top: 35px;
}


/*==================================================
                    TABLETTE
==================================================*/

@media (max-width: 900px) {
  .journey-map {
    height: 420px;
  }
}

@media (max-width: 600px) {
  .journey-map {
    height: 400px;
  }
}


/*==================================================
                    MOBILE
==================================================*/

@media (max-width: 600px) {

  .journey-map-header {
    margin-bottom: 20px;
  }

  .journey-map-header p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .journey-map {
    height: 480px;
    border-radius: 16px;
  }

  .journey-start {
    margin-top: 25px;
  }

}
/*==================================================
                  POPUP CARTE
==================================================*/

.map-popup {
  min-width: 150px;
  text-align: center;
  padding: 5px;
}

.map-popup h3 {
  margin: 0 0 5px;
  font-size: 1.15rem;
}

.map-popup p {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: #777;
}

.map-popup-link {
  display: inline-block;
  padding: 7px 14px;

  background: rgb(241, 130, 173);
  color: white !important;

  border-radius: 20px;

  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;

  transition: transform 0.2s ease,
              opacity 0.2s ease;
}

.map-popup-link:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}
.leaflet-interactive {
    filter: drop-shadow(0 0 8px rgba(241,130,173,.7));
}