@font-face {
  font-family: Tan Nimbus;
  src: url(/fonts/tan-nimbus.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
}
:root {
  color-scheme: light;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.container {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: Tan Nimbus;
  color: #4a3b2a;
}
.map-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  flex: 0 0 50%;
  width: 50%;
}
.img-map {
  width: 80%;
  height: auto;;
  display: block;
  mix-blend-mode: multiply;
}
.point {
  position: absolute;
  transform: translate(-50%, -100%);
  z-index: 10;
  font-size: 60px;
  background: none;
  border: none;
  cursor: pointer;
  justify-content: center;
  align-items: flex-end;
  display: flex;
  height: auto;
  width: auto;
}
.point svg {
  overflow: visible;
  width: 50px;
  height: 50px;
}
.pin-body {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom center;
}
.pin-shadow {
  transition: all 0.3s ease;
}
.point:hover {
  z-index: 20;
}
.point:hover .pin-body {
  transform: scale(1.1);
}
.is-active {
  z-index: 30;
}
.is-active .pin-body {
  transform: scale(1.4);
  fill: #d95d00;
}
.is-active .pin-shadow {
  transform: scale(1.1);
  opacity: 0.4;
}
.infos-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease-out;
  height: 100%;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.card-image {
  flex-shrink: 0;
}
.card-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 16px #4a3b2a26;
}
.card-content {
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-content h2:first-of-type {
  font-family: Tan Nimbus, serif;
  font-size: 2rem;
  color: #804a2b;
  margin: 0 0 5px;
  letter-spacing: 1px;
}
.card-content h2:last-of-type {
  font-family: Tan Nimbus, serif;
  font-size: 1.5rem;
  color: #804a2b;
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.2;
}
.card-content a {
  text-decoration: none;
}
.card-content button {
  background-color: #ff853300;
  color: #ff8533;
  font-family: Tan Nimbus, serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 10px 25px;
  border: 2px solid #ff8533;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.card-content button:hover {
  background-color: #ff8533;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px #ff85334d;
}
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .map-wrapper {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
  }
  .point svg {
    width: 40px;
    height: 40px;
  }
  .infos {
    flex: 0 0 100%;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    border-left: none;
    border-top: 1px solid #eee;
  }
  .infos-card {
    flex-direction: column;
    margin: 5px 0 0;
    gap: 20px;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .card-content h2:first-of-type {
    font-size: 0.7rem;
  }
  .card-content h2:last-of-type {
    font-size: 0.7rem;
    margin: 5px 0 15px;
  }
  .card-content button {
    font-size: 0.6rem;
    padding: 10px 20px;
  }
  .card-image img {
    width: 120px;
    height: 120px;
  }
}
