.top-frame {
  margin: 10rem 10rem;
}
@media (min-width: calc(1200px + 20rem)) {
  .top-frame {
    margin: 10rem auto;
  }
}
@media (max-width: 1280px) {
  .top-frame {
    margin: 7.5rem 7.5rem;
  }
}
@media (max-width: 1024px) {
  .top-frame {
    margin: 7.5rem 3.75rem;
  }
}
@media (max-width: 768px) {
  .top-frame {
    margin: 7.5rem 5rem;
  }
}
@media (max-width: 640px) {
  .top-frame {
    margin: 7.5rem 3rem;
  }
}
@media (max-width: 448px) {
  .top-frame {
    margin: 5rem 1.25rem;
  }
}

.territory-map {
  background: url("../../assets/pictures/CARTE_TERRITOIRE_20241016_SANS_KOPIN.webp")
    no-repeat right 50% / contain;
  margin-top: -5rem;
  padding-bottom: 0.1rem;
}
.territory-map .content {
  margin: 10rem 10rem;
  max-width: 1200px;
}
@media (min-width: calc(1200px + 20rem)) {
  .territory-map .content {
    margin: 10rem auto;
  }
}
@media (max-width: 1280px) {
  .territory-map .content {
    margin: 7.5rem 7.5rem;
  }
}
@media (max-width: 1024px) {
  .territory-map .content {
    margin: 7.5rem 3.75rem;
  }
}
@media (max-width: 768px) {
  .territory-map .content {
    margin: 7.5rem 5rem;
  }
}
@media (max-width: 640px) {
  .territory-map .content {
    margin: 7.5rem 3rem;
  }
}
@media (max-width: 448px) {
  .territory-map .content {
    margin: 5rem 1.25rem;
  }
}
.territory-map .content .intro {
  position: relative;
  z-index: 2;
}
.territory-map .content .legende {
  margin-top: 2rem;
}
.territory-map .content .legende .part-leg {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 50%;
}
.territory-map .content .legende .part-leg .icon {
  width: 50px;
  height: auto;
}
.territory-map .content .legende .part-leg.point-of-interest {
  display: block;
}
.territory-map .content .legende .part-leg.point-of-interest .icon {
  margin-bottom: 0.7rem;
}
.territory-map .content .legende .part-leg.point-of-interest ul {
  list-style: none;
  padding: 0;
}
.territory-map .content .territory-map-mobile {
  display: none;
  margin-top: -5rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.territory-map .content .territory-map-mobile img {
  object-fit: cover;
  max-width: 122%;
  height: auto;
  object-position: left;
}
@media (max-width: 1280px) {
  .territory-map .content .legende {
    width: 40%;
  }
}
@media (max-width: 1200px) {
  .territory-map {
    margin-top: -3rem;
    background: none;
  }
  .territory-map .content {
    margin: 0;
  }
  .territory-map .content .territory-map-mobile {
    display: block;
  }
  .territory-map .content .intro {
    margin: 10rem 10rem;
    margin-bottom: 0 !important;
  }
}
@media (max-width: 1200px) and (min-width: calc(1200px + 20rem)) {
  .territory-map .content .intro {
    margin: 10rem auto;
  }
}
@media (max-width: 1200px) and (max-width: 1280px) {
  .territory-map .content .intro {
    margin: 7.5rem 7.5rem;
  }
}
@media (max-width: 1200px) and (max-width: 1024px) {
  .territory-map .content .intro {
    margin: 7.5rem 3.75rem;
  }
}
@media (max-width: 1200px) and (max-width: 768px) {
  .territory-map .content .intro {
    margin: 7.5rem 5rem;
  }
}
@media (max-width: 1200px) and (max-width: 640px) {
  .territory-map .content .intro {
    margin: 7.5rem 3rem;
  }
}
@media (max-width: 1200px) and (max-width: 448px) {
  .territory-map .content .intro {
    margin: 5rem 1.25rem;
  }
}
@media (max-width: 1200px) {
  .territory-map .content .legende {
    width: 100%;
    margin-top: 0;
  }
  .territory-map .content .legende .title-leg {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem 7.5rem;
    background-color: #597588;
    color: #fff;
  }
  .territory-map .content .legende .part-leg {
    margin: 1rem 7.5rem;
  }
  .territory-map .content .legende .part-leg-mobile {
    display: flex;
    margin: 1rem 7.5rem;
  }
  .territory-map .content .legende .part-leg-mobile .part-leg {
    flex: 1;
    margin: 0;
  }
}
@media (max-width: 1024px) {
  .territory-map .content .title-leg {
    padding: 1rem 3.75rem;
  }
  .territory-map .content .part-leg,
  .territory-map .content .part-leg-mobile {
    margin: 1rem 3.75rem;
  }
}
@media (max-width: 768px) {
  .territory-map .content .title-leg {
    padding: 1rem 5rem;
  }
  .territory-map .content .part-leg,
  .territory-map .content .part-leg-mobile {
    margin: 1rem 5rem;
  }
}
@media (max-width: 640px) {
  .territory-map .content .legende .title-leg {
    padding: 1rem 3rem;
  }
  .territory-map .content .legende .part-leg,
  .territory-map .content .legende .part-leg-mobile {
    margin: 1rem 3rem;
  }
}
@media (max-width: 448px) {
  .territory-map .content .legende .title-leg {
    padding: 1rem 1.25rem;
  }
  .territory-map .content .legende .part-leg,
  .territory-map .content .legende .part-leg-mobile {
    margin: 1rem 1.25rem;
  }
}
