/* ==========================================================================
   Pages de ville (« Nos lieux › Lausanne ») et page « Où nous trouver ? »
   ========================================================================== */

/* ---------------------------------------------------------------- En-tête */
.ap-ville__hero {
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 36px);
  position: relative;
}
.ap-ville__hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.ap-ville__kicker {
  color: var(--ap-pink-ink);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1;
  margin: 10px 0 0;
}
.ap-ville__title {
  color: var(--ap-ink);
  font-family: var(--ap2-display, Georgia, serif);
  font-size: clamp(34px, 4.6vw, 58px);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 8px 0 0;
  text-transform: none;
}
.ap-ville__lead {
  color: var(--ap-muted);
  font-family: var(--ap-font);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 620px;
}
.ap-ville__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.ap-btn--ghost-ink {
  background: transparent;
  border: 2px solid var(--ap-ink);
  color: var(--ap-ink);
}
.ap-btn--ghost-ink:hover {
  background: var(--ap-ink);
  color: #fff;
}
.ap-btn--small {
  font-size: 14px;
  min-height: 0;
  padding: 9px 16px;
}
.ap-ville__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.ap-ville__facts li {
  background: #fff;
  border: 1px solid rgba(37, 2, 18, 0.08);
  border-radius: 999px;
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 14px;
  margin: 0;
  padding: 7px 14px;
}
.ap-ville__facts li::before {
  content: none !important;
}
.ap-ville__facts strong {
  color: var(--ap-pink-ink);
  font-size: 16px;
}
.ap-ville__fan {
  height: 300px;
}
.ap-ville__fan .ap-pagehead__photo {
  height: 230px;
  width: 52%;
}

/* ---------------------------------------------------------------- Intro et titres de section */
.ap-ville__intro {
  padding: 0 0 clamp(16px, 2vw, 28px);
}
.ap-ville__intro-text {
  font-size: 18px;
  max-width: 820px;
}
.ap-ville__intro-text p {
  font-size: inherit;
}
.ap-ville__head {
  margin-bottom: clamp(22px, 3vw, 36px);
}
.ap-ville__head .ap2-h2 {
  margin: 6px 0 0;
}
.ap-ville__head--row {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
}
.ap-ville__head--row .ap2-h2 {
  margin-bottom: 0;
}

/* ---------------------------------------------------------------- Salles */
.ap-ville__lieux {
  background: #fff;
}
.ap-ville__map {
  background: var(--ap-pink-tint);
  border: 6px solid #fff;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(37, 2, 18, 0.14);
  height: clamp(300px, 42vw, 440px);
  margin: 0 0 clamp(24px, 3vw, 40px);
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.ap-ville__map[hidden] {
  display: none;
}
.ap-ville__lieux-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.ap-lieu {
  background: var(--ap-paper);
  border: 1px solid rgba(37, 2, 18, 0.07);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-margin-top: calc(var(--ap-header-h, 72px) + 20px);
}
.ap-lieu__media {
  aspect-ratio: 3 / 1.6;
  overflow: hidden;
}
.ap-lieu__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}
.ap-lieu:hover .ap-lieu__media img {
  transform: scale(1.03);
}
.ap-lieu__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 22px 24px 24px;
}
.ap-lieu__what {
  color: var(--ap-pink-ink);
  font-size: 22px;
  line-height: 1;
  margin: 0;
}
.ap-lieu__name {
  color: var(--ap-ink);
  font-family: var(--ap2-display, Georgia, serif);
  font-size: 24px;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  text-transform: none;
}
.ap-lieu__address {
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}
.ap-lieu__access {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 0;
}
.ap-lieu__access div {
  display: grid;
  gap: 2px 14px;
  grid-template-columns: 96px minmax(0, 1fr);
}
.ap-lieu__access dt {
  color: var(--ap-muted);
  float: none;
  font-family: var(--ap-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
  padding-top: 2px;
  text-transform: uppercase;
  width: auto;
}
.ap-lieu__access dd {
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
.ap-lieu__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}
.ap-lieu__tags li {
  margin: 0;
}
.ap-lieu__tags li::before {
  content: none !important;
}
.ap-lieu__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: auto;
  padding-top: 10px;
}
.ap-lieu__locate {
  background: transparent;
  border: 0;
  color: var(--ap-ink);
  cursor: pointer;
  font-family: var(--ap-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  min-height: 0;
  padding: 0 0 2px;
  text-decoration: underline;
  text-decoration-color: var(--ap-pink);
  text-decoration-thickness: 2px;
  text-transform: none;
  text-underline-offset: 5px;
}
.ap-lieu__locate:hover {
  background: transparent;
  color: var(--ap-pink-ink);
}
.ap-map .leaflet-popup-content h4 {
  margin-bottom: 4px;
}
.ap-map .leaflet-popup-content .ap-map__city {
  color: var(--ap-pink-ink);
  font-family: var(--ap2-hand, cursive);
  font-size: 18px;
  margin: 0;
}

/* ---------------------------------------------------------------- Cours et stages */
.ap-ville__cours {
  background: var(--ap-paper);
}
.ap-ville__stages {
  background: var(--ap-green-tint);
}
.ap-ville__group {
  align-items: baseline;
  color: var(--ap-ink);
  display: flex;
  font-family: var(--ap2-display, Georgia, serif);
  font-size: 24px;
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 500;
  gap: 12px;
  margin: 8px 0 16px;
  text-transform: none;
}
.ap-ville__group-dot {
  background: var(--ap-pink);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  height: 10px;
  position: relative;
  top: -3px;
  width: 10px;
}
.ap-ville__group-count {
  color: var(--ap-muted);
  font-size: 19px;
}
.ap-ville__cours .ap2-cards + .ap-ville__group {
  margin-top: 36px;
}

/* ---------------------------------------------------------------- Professeurs */
.ap-ville__profs {
  background: #fff;
}
.ap-ville__profs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 22px;
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}
.ap-ville__prof {
  flex: 0 0 170px;
  margin: 0;
}
.ap-ville__prof::before {
  content: none !important;
}
.ap-ville__prof-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}
.ap-ville__prof .ap2-prof__photo {
  position: relative;
}
.ap-ville__prof-disc {
  color: var(--ap-muted);
  font-family: var(--ap-font);
  font-size: 13.5px;
  line-height: 1.35;
  text-align: center;
}

/* ---------------------------------------------------------------- Photos */
.ap-ville__photos {
  background: var(--ap-paper);
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) 0;
}
.ap-ville__strip {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 14px max(20px, calc((100vw - 1240px) / 2 + 20px)) 24px;
  scroll-padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ap-ville__strip::-webkit-scrollbar {
  display: none;
}
.ap-ville__photo {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(37, 2, 18, 0.12);
  flex: 0 0 300px;
  margin: 0;
  padding: 8px;
  scroll-snap-align: start;
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
}
.ap-ville__photo:nth-child(even) {
  transform: rotate(1.5deg);
}
.ap-ville__photo:hover {
  transform: rotate(0) scale(1.03);
}
.ap-ville__photo::before {
  content: none !important;
}
.ap-ville__photo img {
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  width: 100%;
}

/* ---------------------------------------------------------------- Questions */
.ap-ville__faq {
  background: #fff;
}
.ap-ville__faq-inner {
  max-width: 980px;
}
.ap-ville__faq-list .collapsible-content p {
  color: var(--ap-ink);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------- Avis */
.ap-ville__avis {
  background: var(--ap-pink-tint);
}
.ap-ville__avis-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.ap-ville__quote {
  background: #fffdf9;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(37, 2, 18, 0.1);
  font-size: inherit;
  font-style: normal;
  margin: 0;
  padding: 28px 30px;
}
.ap-ville__quote .ap-stars {
  color: #f2a900;
  display: block;
  font-size: 16px;
  margin-bottom: 12px;
}
.ap-ville__quote p {
  color: var(--ap-ink);
  font-family: var(--ap2-display, Georgia, serif);
  font-size: 20px;
  font-style: italic;
  font-variation-settings: "SOFT" 80, "WONK" 1;
  line-height: 1.35;
  margin: 0 0 14px;
}
.ap-ville__quote footer {
  color: var(--ap-muted);
  font-family: var(--ap-font);
  font-size: 15px;
}
.ap-ville__quote footer strong {
  color: var(--ap-ink);
}

/* ---------------------------------------------------------------- Page « Où nous trouver ? » */
.ap-villes__intro {
  margin-top: 8px;
  max-width: 720px;
}
.ap-villes__map-section {
  padding: 0 0 clamp(28px, 4vw, 48px);
}
.ap-villes__map {
  height: clamp(320px, 46vw, 520px);
  margin: 0;
}
.ap-villes__list {
  background: #fff;
}
.ap-villes__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-villes__item {
  margin: 0;
}
.ap-villes__item::before {
  content: none !important;
}
.ap-villes__card {
  background: var(--ap-paper);
  border: 1px solid rgba(37, 2, 18, 0.07);
  border-radius: 24px;
  color: var(--ap-ink);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ap-villes__card:hover {
  box-shadow: 0 20px 44px rgba(37, 2, 18, 0.14);
  text-decoration: none;
  transform: translateY(-4px);
}
.ap-villes__media {
  aspect-ratio: 3 / 1.7;
  background: var(--ap-pink-tint);
  display: block;
  overflow: hidden;
}
.ap-villes__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}
.ap-villes__card:hover .ap-villes__media img {
  transform: scale(1.04);
}
.ap-villes__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}
.ap-villes__name {
  color: var(--ap-ink);
  font-family: var(--ap2-display, Georgia, serif);
  font-size: 30px;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  line-height: 1.05;
}
.ap-villes__what {
  color: var(--ap-muted);
  font-family: var(--ap-font);
  font-size: 15px;
  line-height: 1.45;
}
.ap-villes__counts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.ap-villes__count {
  background: #fff;
  border: 1px solid rgba(37, 2, 18, 0.1);
  border-radius: 999px;
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 11px;
}
.ap-villes__count--cours {
  background: var(--ap-pink-tint);
  border-color: transparent;
  color: var(--ap-pink-ink);
}
.ap-villes__count--stages {
  background: var(--ap-green-tint);
  border-color: transparent;
  color: var(--ap-green-ink);
}
.ap-villes__more {
  color: var(--ap-pink-ink);
  font-family: var(--ap-font);
  font-size: 14px;
  font-weight: 700;
  margin-top: auto;
  padding-top: 10px;
}

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 1023.98px) {
  .ap-ville__hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap-ville__fan {
    height: 220px;
    margin-top: 10px;
  }
  .ap-ville__fan .ap-pagehead__photo {
    height: 170px;
  }
}
@media (max-width: 767.98px) {
  .ap-ville__hero {
    padding-top: 22px;
  }
  .ap-ville__fan {
    display: none;
  }
  .ap-ville__ctas .ap-btn {
    width: 100%;
  }
  .ap-ville__map {
    border-width: 4px;
    height: 300px;
  }
  .ap-lieu__body {
    padding: 18px 18px 20px;
  }
  .ap-lieu__access div {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap-ville__profs-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }
  .ap-ville__prof {
    flex-basis: 150px;
    scroll-snap-align: start;
  }
  .ap-ville__photo {
    flex-basis: 240px;
  }
  .ap-villes__name {
    font-size: 26px;
  }
}
