/* =========================================================================
   new2 – nouvel en-tête, méga-menu et habillage blanc et moderne.
   Code couleur : rose Apolline = cours à l'année, vert camps = stages.
   ========================================================================= */

:root {
  --ap-ink: #250212;
  --ap-text: #2c0316;
  --ap-muted: #6e6468;
  --ap-line: #e1e0df;
  --ap-line-soft: #f0efee;
  --ap-soft: #f5f4f3;
  --ap-pink: #e50f6f;
  --ap-pink-ink: #c1075b;
  --ap-pink-tint: #fde7f1;
  --ap-green: #00a18c;
  --ap-green-btn: #008472;
  --ap-green-ink: #007868;
  --ap-green-tint: #e6f6f3;
  --ap-neutral-tint: #f1ebe4;
  --ap-neutral-blob: #dccbb9;
  --ap-radius: 16px;
  --ap-font: "Quicksand Variable", "Quicksand", Arial, sans-serif;
}

.ap-wrap {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1240px;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.ap-sr {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ---------------------------------------------------------------- Barre haute */
.ap-topbar {
  background: #fff;
  border-bottom: 1px solid var(--ap-line-soft);
  font-family: var(--ap-font);
  font-size: 14px;
}
.ap-topbar__inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  min-height: 40px;
}
.ap-toplinks,
.ap-topbar__lang ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-toplinks li,
.ap-topbar__lang li {
  margin: 0;
  padding: 0;
}
.ap-toplinks a,
.ap-topbar__lang a {
  color: var(--ap-ink);
  font-weight: 600;
  text-decoration: none;
}
.ap-toplinks a:hover,
.ap-topbar__lang a:hover {
  color: var(--ap-pink-ink);
  text-decoration: underline;
}
.ap-topbar__lang .is-active,
.ap-topbar__lang a.is-active {
  color: var(--ap-pink-ink);
}

/* ---------------------------------------------------------------- En-tête */
.ap-header {
  background: #fff;
  border-bottom: 1px solid var(--ap-line);
  font-family: var(--ap-font);
  position: sticky;
  top: 0;
  z-index: 600;
}
.user-logged-in .ap-header {
  top: var(--drupal-displace-offset-top, 0px);
}
.ap-header__bar {
  align-items: center;
  display: flex;
  gap: 24px;
  min-height: 76px;
}
.ap-logo {
  flex: 0 0 auto;
  line-height: 0;
  margin: 0;
}
.ap-logo img,
.ap-logo svg {
  display: block;
  height: 43px;
  overflow: visible;
  width: auto;
}
/* Vague du logo : se dessine de gauche à droite (classes posées par ap-header.js). */
.ap-logo__wave {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.ap-logo__wave.is-draw {
  animation: ap-logo-draw 1s 0.25s cubic-bezier(0.6, 0, 0.2, 1) both;
}
.ap-logo__wave.is-redraw {
  animation: ap-logo-draw 0.7s cubic-bezier(0.6, 0, 0.2, 1) both;
}
@keyframes ap-logo-draw {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-logo__wave {
    animation: none !important;
    stroke-dashoffset: 0;
  }
}

/* Menu niveau 1 */
.ap-drawer {
  flex: 1 1 auto;
}
.ap-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-menu__item {
  margin: 0;
  padding: 0;
}
.ap-menu__toggle,
.ap-menu__link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  color: var(--ap-ink);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--ap-font);
  font-size: 17px;
  font-weight: 700;
  gap: 6px;
  height: auto;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 14px;
  position: relative;
  text-decoration: none;
  text-transform: none;
}
/* Survol / ouvert : sable pour les rubriques ordinaires, rose pour les cours à l'année, vert pour les stages. */
.ap-menu__toggle:hover,
.ap-menu__link:hover,
.ap-menu__toggle[aria-expanded="true"] {
  background: var(--ap-neutral-tint);
  color: var(--ap-ink);
}
.ap-menu__toggle .ap-chevron {
  transition: transform 0.15s ease;
}
.ap-menu__toggle[aria-expanded="true"] .ap-chevron {
  transform: rotate(180deg);
}
/* Rubrique de la page courante : petit trait sous le libellé. */
.ap-menu__item.is-active > .ap-menu__toggle::after,
.ap-menu__item.is-active > .ap-menu__link::after {
  background: var(--ap-ink);
  border-radius: 3px;
  bottom: 5px;
  content: "";
  height: 3px;
  left: 14px;
  position: absolute;
  width: 26px;
}
.ap-accent--cours.is-active > .ap-menu__toggle::after { background: var(--ap-pink); }
.ap-accent--stages.is-active > .ap-menu__toggle::after { background: var(--ap-green); }
.ap-accent--cours > .ap-menu__toggle[aria-expanded="true"],
.ap-accent--cours > .ap-menu__toggle:hover {
  background: var(--ap-pink-tint);
  color: var(--ap-pink-ink);
}
.ap-accent--stages > .ap-menu__toggle[aria-expanded="true"],
.ap-accent--stages > .ap-menu__toggle:hover {
  background: var(--ap-green-tint);
  color: var(--ap-green-ink);
}
.ap-menu__toggle:focus-visible,
.ap-cta__btn:focus-visible,
.ap-burger:focus-visible,
.ap-panel a:focus-visible {
  outline: 3px solid var(--ap-ink);
  outline-offset: 2px;
}

/* Panneaux (méga-menu) */
.ap-panel[hidden] {
  display: none !important;
}
.ap-panel {
  background: #fff;
}
.ap-panel__inner {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-bottom: 28px;
  padding-top: 28px;
}
.ap-panel__inner--cols {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.ap-panel__title {
  color: var(--ap-ink);
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  text-decoration: none;
}
.ap-panel__title:hover {
  text-decoration: underline;
}
.ap-panel__links,
.ap-panel__grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-panel__links li,
.ap-panel__grid li {
  margin: 0;
  padding: 0;
}
.ap-panel__links a,
.ap-panel__grid a {
  border-radius: 8px;
  color: var(--ap-text);
  display: block;
  font-size: 16px;
  font-weight: 500;
  padding: 7px 8px 7px 0;
  text-decoration: none;
}
.ap-panel__links a:hover,
.ap-panel__grid a:hover {
  text-decoration: underline;
}
.ap-accent--cours .ap-panel__links a:hover { color: var(--ap-pink-ink); }
.ap-accent--stages .ap-panel__links a:hover { color: var(--ap-green-ink); }
.ap-panel__grid {
  display: grid;
  gap: 4px 28px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.ap-panel__grid a {
  font-weight: 600;
}
.ap-panel__promo {
  align-self: start;
  background: var(--ap-soft);
  border-radius: var(--ap-radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}
.ap-panel__promo p {
  color: var(--ap-ink);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.ap-panel__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ap-panel__more {
  font-weight: 700;
  text-decoration: none;
}
.ap-panel__more:hover {
  text-decoration: underline;
}
.ap-accent--cours .ap-panel__promo { background: var(--ap-pink-tint); }
.ap-accent--cours .ap-panel__kicker,
.ap-accent--cours .ap-panel__more { color: var(--ap-pink-ink); }
.ap-accent--stages .ap-panel__promo { background: var(--ap-green-tint); }
.ap-accent--stages .ap-panel__kicker,
.ap-accent--stages .ap-panel__more { color: var(--ap-green-ink); }
/* Rubriques ordinaires (lieux, école…) : encart sable, textes encre. */
.ap-menu__item:not(.ap-accent--cours):not(.ap-accent--stages) .ap-panel__promo { background: var(--ap-neutral-tint); }
.ap-menu__item:not(.ap-accent--cours):not(.ap-accent--stages) .ap-panel__kicker { color: var(--ap-muted); }
.ap-menu__item:not(.ap-accent--cours):not(.ap-accent--stages) .ap-panel__more { color: var(--ap-ink); }

/* Bouton S'inscrire (neutre : il sert aux deux offres) */
.ap-cta {
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
}
.ap-cta__btn {
  background: var(--ap-ink);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font-family: var(--ap-font);
  font-size: 16px;
  font-weight: 700;
  height: auto;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 44px;
  padding: 12px 22px;
  text-transform: none;
}
.ap-cta__btn:hover {
  background: #4a0a28;
}
.ap-cta__menu[hidden] {
  display: none !important;
}
.ap-cta__menu {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  box-shadow: 0 16px 32px rgba(37, 2, 18, 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 260px;
  z-index: 700;
}
.ap-cta__choice {
  border-left: 4px solid transparent;
  border-radius: 12px;
  color: var(--ap-ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  text-decoration: none;
}
.ap-cta__choice span {
  color: var(--ap-muted);
  font-size: 14px;
}
.ap-cta__choice--cours { border-left-color: var(--ap-pink); }
.ap-cta__choice--cours:hover { background: var(--ap-pink-tint); color: var(--ap-pink-ink); }
.ap-cta__choice--stages { border-left-color: var(--ap-green); }
.ap-cta__choice--stages:hover { background: var(--ap-green-tint); color: var(--ap-green-ink); }

/* Burger (mobile) */
.ap-burger {
  align-items: center;
  background: var(--ap-soft);
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}
.ap-burger__bars,
.ap-burger__bars::before,
.ap-burger__bars::after {
  background: var(--ap-ink);
  border-radius: 2px;
  content: "";
  display: block;
  height: 2.5px;
  position: relative;
  transition: transform 0.2s ease;
  width: 22px;
}
.ap-burger__bars::before { position: absolute; top: -7px; }
.ap-burger__bars::after { position: absolute; top: 7px; }
.ap-nav-open .ap-burger__bars { background: transparent; }
.ap-nav-open .ap-burger__bars::before { transform: translateY(7px) rotate(45deg); }
.ap-nav-open .ap-burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

.ap-drawer__extra {
  display: none;
}

/* ---------------------------------------------------------------- Ordinateur */
@media (min-width: 1024px) {
  .ap-panel {
    border-top: 1px solid var(--ap-line);
    box-shadow: 0 18px 32px rgba(37, 2, 18, 0.12);
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 650;
  }
}

/* ---------------------------------------------------------------- Mobile */
@media (max-width: 1023.98px) {
  .ap-topbar__nav {
    display: none;
  }
  .ap-topbar__inner {
    min-height: 34px;
  }
  .ap-header__bar {
    gap: 12px;
    min-height: 64px;
  }
  .ap-logo img,
  .ap-logo svg {
    height: 36px;
  }
  .ap-burger {
    display: inline-flex;
    order: 3;
  }
  .ap-cta {
    margin-left: auto;
    order: 2;
  }
  .ap-cta__btn {
    font-size: 15px;
    padding: 10px 16px;
  }
  .ap-drawer {
    background: #fff;
    bottom: 0;
    display: none;
    left: 0;
    overflow-y: auto;
    padding: 8px 20px 32px;
    position: fixed;
    right: 0;
    top: var(--ap-header-bottom, 64px);
    z-index: 590;
  }
  .ap-nav-open .ap-drawer {
    display: block;
    overscroll-behavior: contain;
  }
  /* Blocage du défilement sur <html>, pas sur <body> : un overflow sur body en
     ferait le conteneur de défilement de l'en-tête collant, qui remonterait
     alors en haut du document (tiroir hors écran après un défilement). */
  html.ap-nav-open {
    overflow-y: hidden;
  }
  .ap-menu {
    flex-direction: column;
    gap: 0;
  }
  .ap-menu__item {
    border-bottom: 1px solid var(--ap-line-soft);
  }
  .ap-menu__toggle,
  .ap-menu__link {
    border-radius: 14px;
    font-size: 19px;
    justify-content: space-between;
    margin: 0 -8px;
    min-height: 56px;
    padding: 14px 12px;
    width: calc(100% + 16px);
  }
  /* Dans le tiroir, les deux offres gardent leur couleur ; le reste est encre. */
  .ap-accent--cours > .ap-menu__toggle { color: var(--ap-pink-ink); }
  .ap-accent--stages > .ap-menu__toggle { color: var(--ap-green-ink); }
  .ap-menu__item.is-active > .ap-menu__toggle::after,
  .ap-menu__item.is-active > .ap-menu__link::after {
    bottom: 7px;
    left: 12px;
  }
  .ap-panel .ap-wrap {
    padding: 0 4px;
  }
  .ap-panel__inner,
  .ap-panel__inner--cols {
    gap: 18px;
    grid-template-columns: 1fr;
    padding-bottom: 18px;
    padding-top: 0;
  }
  .ap-panel__title {
    color: var(--ap-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  .ap-panel__links,
  .ap-panel__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  /* Pastilles cliquables : fond plus soutenu et bord visible pour qu'on
     comprenne que ce sont des boutons. Neutres partout : la couleur reste au
     1er niveau (rose cours / vert stages), sinon c'est trop. */
  .ap-panel__links a,
  .ap-panel__grid a {
    align-items: center;
    background: #ebe4db;
    border: 1px solid rgba(37, 2, 18, 0.16);
    border-radius: 999px;
    box-sizing: border-box;
    color: var(--ap-ink);
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    min-height: 44px;
    padding: 8px 16px;
  }
  .ap-drawer__extra {
    display: block;
    padding-top: 16px;
  }
  .ap-drawer__extra ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .ap-drawer__extra a {
    color: var(--ap-ink);
    display: block;
    font-weight: 600;
    padding: 10px 4px;
    text-decoration: none;
  }
}

/* ---------------------------------------------------------------- Accueil : deux portes d'entrée */
.ap-choice {
  font-family: var(--ap-font);
  padding: 56px 0 24px;
}
.ap-choice__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 760px;
}
.ap-choice__title {
  color: var(--ap-ink);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.ap-choice__lead {
  color: var(--ap-muted);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.ap-choice__cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.ap-card {
  background: #fff;
  border: 2px solid var(--ap-line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
}
.ap-card__badge {
  align-self: flex-start;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
}
.ap-card__title {
  color: var(--ap-ink);
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}
.ap-card__text {
  color: var(--ap-muted);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}
.ap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-chips li {
  margin: 0;
  padding: 0;
}
.ap-chips a {
  background: var(--ap-soft);
  border-radius: 999px;
  color: var(--ap-ink);
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 14px;
  text-decoration: none;
}
.ap-chips a:hover {
  text-decoration: underline;
}
.ap-card__btn {
  align-items: center;
  align-self: flex-start;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
  min-height: 44px;
  padding: 12px 22px;
  text-decoration: none;
}
.ap-card__btn:hover {
  color: #fff;
  text-decoration: underline;
}
.ap-card--cours { border-color: var(--ap-pink); }
.ap-card--cours .ap-card__badge { background: var(--ap-pink-tint); color: var(--ap-pink-ink); }
.ap-card--cours .ap-card__btn { background: var(--ap-pink); }
.ap-card--cours .ap-chips a:hover { background: var(--ap-pink-tint); color: var(--ap-pink-ink); }
.ap-card--stages { border-color: var(--ap-green); }
.ap-card--stages .ap-card__badge { background: var(--ap-green-tint); color: var(--ap-green-ink); }
.ap-card--stages .ap-card__btn { background: var(--ap-green-btn); }
.ap-card--stages .ap-chips a:hover { background: var(--ap-green-tint); color: var(--ap-green-ink); }

/* Disciplines (cours à l'année) */
.ap-disciplines {
  border-top: 1px solid var(--ap-line-soft);
  font-family: var(--ap-font);
  margin-top: 40px;
  padding: 48px 0;
}
.ap-kicker {
  color: var(--ap-pink-ink);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.ap-disciplines__title {
  color: var(--ap-ink);
  font-size: 28px;
  margin: 0 0 24px;
}
.ap-disciplines__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ap-disciplines__group {
  border: 1px solid var(--ap-line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}
.ap-disciplines__group h3 {
  font-size: 21px;
  margin: 0;
}
.ap-disciplines__group h3 a {
  color: var(--ap-ink);
  text-decoration: none;
}
.ap-disciplines__group h3 a:hover {
  color: var(--ap-pink-ink);
  text-decoration: underline;
}
.ap-disciplines .ap-chips a {
  background: #fff;
  border: 1px solid var(--ap-line);
}
.ap-disciplines .ap-chips a:hover {
  background: var(--ap-pink-tint);
  border-color: var(--ap-pink-tint);
  color: var(--ap-pink-ink);
}

/* ---------------------------------------------------------------- Pied de page plus clair */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--ap-line);
  color: var(--ap-ink);
}
.site-footer a {
  color: var(--ap-ink);
}

/* ---------------------------------------------------------------- Neutralise les puces et tailles du thème */
.ap-topbar li::before,
.ap-header li::before,
.ap-choice li::before,
.ap-disciplines li::before {
  content: none !important;
  display: none !important;
}
.ap-topbar li,
.ap-header li,
.ap-choice li,
.ap-disciplines li {
  font-size: inherit;
  list-style: none;
  padding-left: 0;
}
.ap-topbar {
  font-size: 14px;
}
.ap-toplinks a,
.ap-topbar__lang a {
  font-size: 14px;
}
.ap-panel li {
  font-size: 16px;
}
.ap-disciplines__group h3,
.ap-card__title,
.ap-disciplines__title {
  font-family: var(--ap-font);
  font-weight: 700;
}

/* Le thème met les li en position relative : le panneau doit se caler sur toute la largeur de l'en-tête. */
@media (min-width: 1024px) {
  .ap-header .ap-drawer,
  .ap-header .ap-nav,
  .ap-header .ap-menu,
  .ap-header .ap-menu__item,
  .ap-header .ap-header__bar {
    position: static !important;
  }
}

/* L'en-tête reste fixé en haut au défilement.
   Le thème met overflow-x: hidden sur html/body, ce qui désactive position: sticky : clip coupe aussi le débordement sans casser le sticky. */
html,
body {
  overflow-x: clip !important;
}
.ap-header {
  transition: box-shadow 0.25s ease;
}
.ap-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(37, 2, 18, 0.1);
}
.ap-header .ap-header__bar {
  transition: min-height 0.25s ease;
}
@media (min-width: 1024px) {
  .ap-header.is-scrolled .ap-header__bar {
    min-height: 64px;
  }
}

/* Les ancres (#ap-trouver…) s'arrêtent sous l'en-tête fixe. */
html {
  scroll-padding-top: 96px;
}

/* ---------------------------------------------------------------- Liste des cours à l'année : accent rose */
.ap-listing--cours {
  --color-primary: var(--ap-pink);
  --color-primary-light: #ff6aa8;
  --color-primary-dark: var(--ap-pink-ink);
  --color-primary-alt: var(--ap-pink-ink);
  --color-actions: var(--ap-pink);
  --color-actions-focus: var(--ap-pink-ink);
}
.ap-listing__intro {
  color: var(--ap-muted);
  font-family: var(--ap-font);
  font-size: 18px;
  margin: 0 auto 8px;
}
.ap-cours-card .header .block-link {
  text-decoration: none;
}
.ap-cours-card .camp-info a {
  color: var(--ap-ink);
  text-decoration: none;
}
.ap-cours-card .camp-info a:hover {
  color: var(--ap-pink-ink);
  text-decoration: underline;
}
.ap-cours-card__more a {
  color: var(--ap-pink-ink);
  font-weight: 700;
  text-decoration: none;
}
.ap-cours-card__more a:hover {
  text-decoration: underline;
}
.ap-cours-card .price.ap-cours-card__more {
  font-size: 16px;
}

/* Filtre Discipline à deux niveaux (liste imbriquée) */
.ap-listing--cours .bef-nested ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-listing--cours .bef-nested li {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.ap-listing--cours .bef-nested li::before {
  content: none !important;
  display: none !important;
}
.ap-listing--cours .bef-nested ul ul {
  border-left: 2px solid var(--ap-pink-tint);
  margin: 2px 0 8px 9px;
  padding-left: 16px;
}
.ap-listing--cours .bef-nested .form-item {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 5px 0;
}
.ap-listing--cours .bef-nested .form-item input {
  flex: 0 0 auto;
  margin-top: 0.3em;
}
.ap-listing--cours .bef-nested .form-item label {
  margin: 0;
  padding: 0;
}
.ap-listing--cours .bef-nested > ul > li > .form-item label {
  font-weight: 700;
}
.ap-listing--cours .bef-nested input:checked + label {
  color: var(--ap-pink-ink);
}

/* ---------------------------------------------------------------- En-tête compact des listes */
.ap-pagehead {
  --ph-tint: var(--ap-pink-tint);
  --ph-ink: var(--ap-pink-ink);
  --ph-main: var(--ap-pink);
  --ph-second: var(--ap-green);
  background: linear-gradient(120deg, var(--ph-tint) 0%, #fff 70%);
  border-radius: 28px;
  font-family: var(--ap-font);
  isolation: isolate;
  margin: 8px 0 36px;
  overflow: hidden;
  position: relative;
}
.ap-pagehead--stages {
  --ph-tint: var(--ap-green-tint);
  --ph-ink: var(--ap-green-ink);
  --ph-main: var(--ap-green);
  --ph-second: var(--ap-pink);
}
.ap-pagehead__blob {
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.ap-pagehead__blob--a {
  animation: ap-ph-float 16s ease-in-out infinite;
  background: var(--ph-main);
  height: 300px;
  right: 18%;
  top: -120px;
  width: 300px;
}
.ap-pagehead__blob--b {
  animation: ap-ph-float 20s ease-in-out infinite reverse;
  background: var(--ph-second);
  bottom: -160px;
  height: 260px;
  opacity: 0.18;
  right: -60px;
  width: 260px;
}
.ap-pagehead__inner {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  padding-bottom: 44px;
  padding-top: 40px;
}
.ap-pagehead__crumbs {
  color: var(--ap-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 18px;
}
.ap-pagehead__crumbs a {
  color: var(--ap-muted);
  text-decoration: underline;
}
.ap-pagehead__crumbs a:hover {
  color: var(--ph-ink);
}
.ap-pagehead__kicker {
  color: var(--ph-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.ap-pagehead__title {
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.ap-pagehead__lead {
  color: var(--ap-muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 560px;
}
.ap-pagehead__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-pagehead__stats li {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(37, 2, 18, 0.08);
  color: var(--ap-ink);
  font-size: 15px;
  margin: 0;
  padding: 8px 16px;
}
.ap-pagehead__stats li::before {
  content: none !important;
  display: none !important;
}
.ap-pagehead__stats strong {
  color: var(--ph-ink);
  font-size: 17px;
}
.ap-pagehead__fan {
  height: 240px;
  position: relative;
}
.ap-pagehead__photo {
  border: 6px solid #fff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(37, 2, 18, 0.18);
  height: 190px;
  overflow: hidden;
  position: absolute;
  top: 20px;
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
  width: 44%;
}
.ap-pagehead__photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.ap-pagehead__photo--1 { left: 0; transform: rotate(-7deg) translateY(14px); z-index: 1; }
.ap-pagehead__photo--2 { left: 28%; transform: rotate(2deg) translateY(-8px); z-index: 3; }
.ap-pagehead__photo--3 { right: 0; transform: rotate(8deg) translateY(18px); z-index: 2; }
.ap-pagehead__fan:hover .ap-pagehead__photo--1 { transform: rotate(-3deg) translate(-12px, 6px); }
.ap-pagehead__fan:hover .ap-pagehead__photo--2 { transform: rotate(0deg) translateY(-16px) scale(1.04); }
.ap-pagehead__fan:hover .ap-pagehead__photo--3 { transform: rotate(4deg) translate(12px, 10px); }
@keyframes ap-ph-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .ap-pagehead__blob { animation: none; }
  .ap-pagehead__photo { transition: none; }
}
@media (max-width: 860px) {
  .ap-pagehead {
    border-radius: 20px;
    margin-bottom: 24px;
  }
  .ap-pagehead__inner {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 28px;
    padding-top: 26px;
  }
  .ap-pagehead__fan {
    display: none;
  }
}
/* Stages : boutons et accents de la liste en vert (couleurs de camps). */
.ap-listing--stages .ap-pagehead + .page-content,
.ap-listing--cours .ap-pagehead + .page-content {
  margin-top: 0;
  padding-top: 0;
}

/* ---------------------------------------------------------------- Papier partout : fond crème + grain, en-tête, menus, pied de page */
:root {
  --ap-paper: #fbf7f2;
}
body {
  background: var(--ap-paper);
}
body::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  /* Pas de mode de fusion : les zones défilantes (galeries) l'isolaient et paraissaient plus claires. */
  mix-blend-mode: normal;
  opacity: 0.07;
  pointer-events: none;
  position: fixed;
  z-index: 10;
}
.path-frontpage .site-main::after {
  content: none;
}
.ap-topbar,
.ap-header,
.ap-panel,
.ap-drawer,
.ap-cta__menu,
.ap-panel__promo {
  background: var(--ap-paper);
}
.ap-header {
  background: rgba(251, 247, 242, 0.94);
  backdrop-filter: blur(8px);
}
.ap-topbar {
  border-bottom-color: rgba(37, 2, 18, 0.06);
}
.ap-accent--cours .ap-panel__promo { background: var(--ap-pink-tint); }
.ap-accent--stages .ap-panel__promo { background: var(--ap-green-tint); }
.site-footer {
  background: var(--ap-paper);
  border-top: 1px solid rgba(37, 2, 18, 0.1);
  color: var(--ap-ink);
  font-family: var(--ap-font);
}
.site-footer a,
.site-footer p,
.site-footer li {
  color: var(--ap-ink);
}
.site-footer a:hover {
  color: var(--ap-pink-ink);
}
.site-footer .nav a {
  font-weight: 700;
}
/* Pages de liste : cartes et filtres sur papier */
.ap-listing .camps-full-list,
.ap-listing .list-filters {
  background: transparent;
}
.ap-pagehead {
  background: linear-gradient(120deg, var(--ph-tint) 0%, rgba(255, 255, 255, 0.6) 70%);
}

/* ---------------------------------------------------------------- Cartes communes (accueil, stages, cours) */
.ap2-cards {
  display: grid;
  gap: 28px 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.list-camps.ap2-cards {
  display: grid;
  margin: 0;
  width: auto;
}
.ap2-cards--home {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.ap2-cards > li,
.ap2-cards__item {
  flex: none;
  list-style: none;
  margin: 0;
  max-width: none;
  padding: 0;
  width: auto;
}
.ap2-cards li::before {
  content: none !important;
  display: none !important;
}
.ap2-card {
  --c-ink: var(--ap-pink-ink);
  --c-main: var(--ap-pink);
  --c-tint: var(--ap-pink-tint);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(37, 2, 18, 0.07);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  font-family: var(--ap-font);
  height: 100%;
  overflow: hidden;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ap2-card--stages {
  --c-ink: var(--ap-green-ink);
  --c-main: var(--ap-green);
  --c-tint: var(--ap-green-tint);
}
.ap2-card:hover {
  box-shadow: 0 22px 48px rgba(37, 2, 18, 0.14);
  transform: translateY(-5px);
}
.ap2-card__media {
  aspect-ratio: 3 / 2;
  background: var(--c-tint);
  border-radius: 16px;
  display: block;
  overflow: hidden;
}
.ap2-card__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}
.ap2-card:hover .ap2-card__media img {
  transform: scale(1.05);
}
.ap2-card__media .field,
.ap2-card__media .field__item,
.ap2-card__media figure,
.ap2-card__media picture {
  display: block;
  height: 100%;
  margin: 0;
}
.ap2-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px 10px;
}
.ap2-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap2-tag {
  align-items: center;
  background: var(--ap-soft);
  border-radius: 999px;
  color: var(--ap-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  line-height: 1.2;
  margin: 0;
  padding: 6px 11px;
}
.ap2-tag i {
  color: var(--c-ink);
  font-size: 13px;
}
.ap2-card__eyebrow {
  color: var(--c-ink);
  font-family: var(--ap2-hand);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  margin: 4px 0 0;
}
.ap2-card__eyebrow i {
  font-size: 17px;
  margin-right: 2px;
}
.ap2-card__title {
  font-family: var(--ap2-display);
  font-size: 22px;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
.ap2-card__title a {
  color: var(--ap-ink);
  text-decoration: none;
}
.ap2-card__title a:hover {
  color: var(--c-ink);
}
.ap2-card__meta {
  color: var(--ap-muted);
  display: flex;
  flex-direction: column;
  font-size: 14.5px;
  gap: 4px;
  line-height: 1.4;
  margin: 2px 0 0;
}
.ap2-card__meta div {
  display: flex;
  gap: 6px;
}
.ap2-card__meta dt {
  color: var(--ap-ink);
  flex: 0 0 auto;
  font-weight: 700;
}
.ap2-card__meta dt::after {
  content: " :";
}
.ap2-card__meta dd {
  margin: 0;
}
.ap2-card__meta dd .field,
.ap2-card__meta dd .field__item {
  display: inline;
}
.ap2-card__foot {
  align-items: center;
  border-top: 1px solid var(--ap-line-soft);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
}
.ap2-card__price {
  color: var(--ap-ink);
  font-family: var(--ap2-display);
  font-size: 19px;
  font-weight: 700;
}
.ap2-card__cta {
  color: var(--c-ink);
  font-size: 15px;
  font-weight: 700;
  margin-left: auto;
  text-decoration: none;
  white-space: nowrap;
}
.ap2-card__cta span {
  display: inline-block;
  transition: transform 0.25s ease;
}
.ap2-card__cta:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.ap2-card__cta:hover span {
  transform: translateX(5px);
}
@media (max-width: 767.98px) {
  .ap2-cards {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .ap2-cards--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .ap2-card,
  .ap2-card__media img,
  .ap2-card__cta span {
    transition: none;
  }
}
.ap2-card__meta div {
  flex-wrap: wrap;
}
.ap2-card__meta dd {
  flex: 1 1 60%;
}

/* ---------------------------------------------------------------- Retours : cadre blanc du thème, listes déroulantes */
body {
  border: 0;
  padding-bottom: 0;
}
.ap2-sentence__field select option,
.ap2-sentence__field select optgroup {
  background: #fff;
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
}
.ap2-sentence__field select optgroup {
  font-weight: 700;
}
.ap2-sentence__field select option:disabled {
  color: #b5adaf;
}
.ap2-sentence__go:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

/* ---------------------------------------------------------------- Page des questions fréquentes */
.ap2-faqpage__inner {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.ap2-faqpage__list .content-narrow {
  max-width: none;
  padding: 0;
}
.ap2-faqpage__contact {
  position: sticky;
  top: 110px;
}
@media (max-width: 900px) {
  .ap2-faqpage__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap2-faqpage__contact {
    position: static;
  }
}
.ap2-faq__more {
  margin: 24px 0 0;
}
/* Questions : titres en Fraunces, chevron rose discret */
.camps-faq .collapsible .title,
.ap2-faqpage .collapsible .title {
  font-family: var(--ap2-display);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
}

/* ---------------------------------------------------------------- Newsletter */
.ap2-news {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(37, 2, 18, 0.08);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(37, 2, 18, 0.08);
  box-sizing: border-box;
  display: grid;
  font-family: var(--ap-font);
  gap: 36px 56px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  max-width: 1200px;
  padding: clamp(28px, 4vw, 48px);
  text-align: left;
}
.ap2-news__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ap2-news__title {
  font-size: clamp(30px, 3.6vw, 44px);
}
.ap2-news__lead {
  color: var(--ap-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}
.ap2-news__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ap2-news__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ap2-news__grid[hidden] {
  display: none;
}
.ap2-news__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.ap2-news__field--full {
  grid-column: 1 / -1;
}
.ap2-news__field > span:first-child {
  color: var(--ap-ink);
  font-size: 14px;
  font-weight: 700;
}
.ap2-news__field input,
.ap2-news__field select {
  background: var(--ap-paper);
  border: 2px solid var(--ap-line);
  border-radius: 14px;
  box-sizing: border-box;
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 16px;
  height: auto;
  line-height: 1.3;
  min-height: 50px;
  padding: 12px 14px;
  width: 100%;
}
.ap2-news__field input:focus,
.ap2-news__field select:focus {
  border-color: var(--ap-pink);
  outline: 3px solid var(--ap-pink-tint);
}
.ap2-news__phone {
  display: grid;
  gap: 8px;
  grid-template-columns: 96px minmax(0, 1fr);
}
.ap2-news__captcha {
  min-height: 78px;
}
.ap2-news__captcha[hidden] {
  display: none;
}
.ap2-news__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.ap2-news__legal {
  color: var(--ap-muted);
  font-size: 13px;
  margin: 0;
}
.ap2-news__legal a {
  color: var(--ap-muted);
}
.ap2-news__status {
  border-radius: 12px;
  font-weight: 600;
  margin: 0;
  padding: 12px 14px;
}
.ap2-news__status[data-kind="ok"] {
  background: var(--ap-green-tint);
  color: var(--ap-green-ink);
}
.ap2-news__status[data-kind="error"] {
  background: var(--ap-pink-tint);
  color: var(--ap-pink-ink);
}
.aside-social .newsletter {
  padding: 24px 20px 0;
}
@media (max-width: 860px) {
  .ap2-news {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap2-news__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Accueil : seulement les 5 premières questions (la page /questions-frequentes les affiche toutes). */
.path-frontpage .ap2-faq .collapsible:nth-of-type(n + 6) {
  display: none;
}

/* ---------------------------------------------------------------- Retours 3 : cartes plus compactes */
.ap2-card {
  border-radius: 22px;
  padding: 8px;
}
.ap2-card__media {
  border-radius: 15px;
}
.ap2-card__body {
  gap: 6px;
  padding: 14px 10px 8px;
}
.ap2-tag {
  font-size: 12px;
  padding: 5px 10px;
}
.ap2-card__eyebrow {
  font-size: 19px;
  margin: 2px 0 0;
}
.ap2-card__title {
  font-size: 19px;
  line-height: 1.2;
}
.ap2-card .ap2-card__meta,
.ap2-card .ap2-card__meta dt,
.ap2-card .ap2-card__meta dd,
.ap2-card .ap2-card__meta dd * {
  font-size: 13.5px !important;
  line-height: 1.4 !important;
  margin: 0;
}
.ap2-card__meta {
  gap: 3px;
  margin-top: 2px;
}
.ap2-card__meta div {
  display: grid;
  gap: 8px;
  grid-template-columns: 62px minmax(0, 1fr);
}
.ap2-card__meta dt {
  color: var(--ap-muted);
  font-weight: 700;
}
.ap2-card__meta dt::after {
  content: none;
}
.ap2-card__meta dd {
  color: var(--ap-ink);
  flex: none;
}
.ap2-card__foot {
  padding-top: 10px;
}
.ap2-card__price {
  font-size: 17px;
}
.ap2-card__cta {
  font-size: 14px;
}
.ap2-cards {
  gap: 22px 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.ap2-cards--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .ap2-cards--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .ap2-cards--home,
  .ap2-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------- Bouton « Filtrer » et tiroir (mobile) */
.ap2-filter-btn {
  display: none;
}
@media (max-width: 1023.98px) {
  .ap-listing .toggle-filters.ap2-filter-btn {
    align-items: center;
    background: #fff;
    border: 2px solid var(--ap-ink);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(37, 2, 18, 0.1);
    color: var(--ap-ink);
    display: inline-flex;
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    height: auto;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 18px;
    min-height: 46px;
    padding: 12px 20px;
    position: sticky;
    text-transform: none;
    top: calc(var(--ap-header-h, 64px) + 10px);
    z-index: 20;
  }
  .ap2-filter-btn__count {
    align-items: center;
    background: var(--ap-pink);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 6px;
  }
  .ap2-filter-btn__count[hidden] {
    display: none;
  }
  .ap-listing .camps-list-filters .list-filters {
    background: var(--ap-paper);
    box-sizing: border-box;
    padding: 70px 22px 40px;
  }
  .ap2-drawer-title {
    color: var(--ap-ink);
    font-family: var(--ap2-display, Georgia, serif);
    font-size: 28px;
    font-weight: 600;
    left: 22px;
    margin: 0;
    position: absolute;
    top: 18px;
  }
  .ap-listing .list-filters .btn-close-filters {
    align-items: center;
    background: var(--ap-ink);
    border: 0;
    border-radius: 50%;
    color: #fff;
    display: inline-flex !important;
    height: 44px;
    justify-content: center;
    right: 18px;
    top: 14px;
    width: 44px;
  }
  .ap-listing .list-filters .btn-close-filters .icon::before {
    color: #fff;
    font-size: 28px;
    line-height: 1;
  }
}
@media (min-width: 1024px) {
  .ap2-drawer-title {
    display: none;
  }
}

/* ---------------------------------------------------------------- Carte : tuiles adoucies, popups au style du site */
.geolocation-map-container .leaflet-tile-pane {
  filter: saturate(0.45) sepia(0.12) brightness(1.04) contrast(0.95);
}
.geolocation-map-container .leaflet-popup-content-wrapper {
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(37, 2, 18, 0.18);
  padding: 4px 2px;
}
.geolocation-map-container .leaflet-popup-content {
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 14.5px;
  line-height: 1.45;
  margin: 14px 18px;
}
.geolocation-map-container .leaflet-popup-content h4,
.geolocation-map-container .leaflet-popup-content .field-content:first-child {
  font-family: var(--ap2-display, Georgia, serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 6px;
}
.geolocation-map-container .leaflet-popup-content p {
  font-size: 14.5px;
  margin: 0 0 6px;
}
.geolocation-map-container .leaflet-popup-content a {
  color: var(--ap-pink-ink);
  font-weight: 700;
}
.geolocation-map-container .leaflet-popup-tip {
  box-shadow: none;
}
.geolocation-map-container .leaflet-container a.leaflet-popup-close-button {
  color: var(--ap-muted);
  right: 6px;
  top: 6px;
}
.geolocation-map-container .leaflet-bar a {
  color: var(--ap-ink);
}
.geolocation-map-container .leaflet-marker-icon {
  transition: transform 0.2s ease;
}
.geolocation-map-container .leaflet-marker-icon:hover {
  filter: drop-shadow(0 4px 6px rgba(37, 2, 18, 0.25));
}

/* ---------------------------------------------------------------- Retours 3b : listes cadrées, filtres compacts */
/* Les listes s'alignent sur l'en-tête (plus de cartes collées au bord de l'écran). */
.ap-listing > .page-content.camp-content {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 20px 64px;
  width: 100%;
}
.ap-listing .camp-content > .grid {
  margin: 0;
}
.ap-listing .camp-content > .grid > .col {
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}
@media (min-width: 1024px) {
  .ap-listing .camp-content > .grid {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  /* Filtres affichés en entier (ni collants, ni défilement interne). */
  .ap-listing .camps-list-filters {
    max-height: none;
    overflow: visible;
    position: static;
  }
}
/* Filtres : titres en Fraunces, options plus petites, cases aux couleurs de la page. */
.ap-listing .list-filters fieldset legend {
  color: var(--ap-ink);
  font-family: var(--ap2-display, Georgia, serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.ap-listing .list-filters fieldset + fieldset {
  margin-top: 14px;
  padding-top: 18px;
}
.ap-listing .list-filters .form-item {
  margin: 0 0 4px;
}
.ap-listing .list-filters label,
.ap-listing--cours .bef-nested .form-item label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.ap-listing--cours .bef-nested > ul > li > .form-item label {
  font-weight: 700;
}
.ap-listing--cours .bef-nested .form-item {
  padding: 3px 0;
}
.ap-listing--cours .bef-nested .form-item input {
  margin-top: 0.15em;
}
.ap-listing--cours .list-filters input[type="checkbox"] {
  accent-color: var(--ap-pink);
}
.ap-listing--stages .list-filters input[type="checkbox"] {
  accent-color: var(--ap-green-btn, #008472);
}
.ap-listing .list-filters input[type="checkbox"] {
  height: 17px;
  width: 17px;
}
/* Titre des listes dans la typo des titres du site. */
.ap-pagehead h1 {
  font-family: var(--ap2-display, Georgia, serif);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.ap2-news__title {
  font-family: var(--ap2-display, Georgia, serif);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ap2-drawer-done {
  display: none;
}

/* Mobile et tablette : bouton « Filtrer » flottant en bas de l'écran, tiroir avec bouton de validation. */
@media (max-width: 1023.98px) {
  .ap-listing .toggle-filters.ap2-filter-btn {
    background: var(--ap-ink);
    border-color: var(--ap-ink);
    bottom: max(18px, env(safe-area-inset-bottom));
    box-shadow: 0 14px 30px rgba(37, 2, 18, 0.3);
    color: #fff;
    left: 50%;
    margin: 0;
    padding: 12px 22px;
    position: fixed;
    top: auto;
    transform: translateX(-50%);
    z-index: 900;
  }
  .filters-open .ap-listing .toggle-filters.ap2-filter-btn {
    visibility: hidden;
  }
  .ap-listing .camps-full-list {
    padding-bottom: 40px;
  }
  .ap-listing .camps-list-filters .list-filters {
    padding: 74px 22px 110px;
  }
  .ap2-drawer-done {
    background: var(--ap-ink);
    border: 0;
    border-radius: 999px;
    bottom: max(16px, env(safe-area-inset-bottom));
    box-shadow: 0 14px 30px rgba(37, 2, 18, 0.25);
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 700;
    left: 22px;
    min-height: 52px;
    position: fixed;
    right: 22px;
    z-index: 2;
  }
  .ap-listing--cours .ap2-drawer-done {
    background: var(--ap-pink);
  }
  .ap-listing--stages .ap2-drawer-done {
    background: var(--ap-green-btn, #008472);
  }
}

/* Carte : l'adresse Google Maps devient un lien court « Itinéraire ». */
.geolocation-map-container .leaflet-popup-content {
  overflow-wrap: anywhere;
}
.geolocation-map-container .leaflet-popup-content a[href*="google."],
.geolocation-map-container .leaflet-popup-content a[href*="goo.gl"] {
  display: inline-block;
  font-size: 0;
  margin-top: 4px;
}
.geolocation-map-container .leaflet-popup-content a[href*="google."]::before,
.geolocation-map-container .leaflet-popup-content a[href*="goo.gl"]::before {
  content: "Itinéraire →";
  font-size: 14px;
}
html[lang="en"] .geolocation-map-container .leaflet-popup-content a[href*="google."]::before,
.geolocation-map-container .leaflet-popup-content a[href*="goo.gl"]::before {
  content: "Directions →";
}
.ap-listing .camps-full-list {
  scroll-margin-top: calc(var(--ap-header-h, 72px) + 16px);
}
/* Cases à cocher centrées sur leur libellé. */
.ap-listing .list-filters .bef-checkboxes:not(.bef-nested) > .form-item {
  align-items: center;
  display: flex;
  gap: 10px;
}
.ap-listing .list-filters .bef-checkboxes:not(.bef-nested) > .form-item input {
  flex: 0 0 auto;
  margin: 0;
}
.ap-listing .list-filters .bef-checkboxes:not(.bef-nested) > .form-item label {
  margin: 0;
}
/* Cartes : moins d'espace sous les étiquettes. */
.ap2-card__tags {
  line-height: 1;
  margin: 0 0 2px;
}
.ap2-card__tags > * {
  margin-bottom: 0;
  margin-top: 0;
}
.ap2-drawer-done {
  letter-spacing: 0;
  text-transform: none;
}

/* ---------------------------------------------------------------- Retours 4 : en-tête sans traits */
.ap-topbar,
.ap-header {
  border-bottom: 0;
}

/* ---------------------------------------------------------------- Listes déroulantes du site (chercheur, langues) */
@keyframes ap-pop-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}
.ap-pop {
  animation: ap-pop-in 0.16s ease-out;
  background: #fffdf9;
  border: 1px solid rgba(37, 2, 18, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(37, 2, 18, 0.16), 0 3px 8px rgba(37, 2, 18, 0.06);
  box-sizing: border-box;
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  text-align: left;
  text-transform: none;
  white-space: nowrap;
  z-index: 60;
}
.ap-pop[hidden] {
  display: none;
}
.ap-pop.is-right {
  left: auto !important;
  right: 0;
}
.ap-pop li {
  margin: 0;
  padding: 0;
}
.ap-pop li::before {
  content: none !important;
}
.ap-pop__group {
  color: var(--ap-pink-ink);
  font-family: var(--ap2-hand, cursive);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
  padding: 12px 12px 2px;
}
.ap-pop__group:first-child {
  padding-top: 4px;
}
.ap-pop__opt,
.ap-pop a,
.ap-pop li > span {
  align-items: center;
  border-radius: 12px;
  color: var(--ap-ink);
  cursor: pointer;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 9px 12px;
  text-decoration: none;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.ap-pop__opt--child {
  font-weight: 500;
  padding-left: 22px;
}
.ap-pop__opt.is-active,
.ap-pop a:hover,
.ap-pop a:focus-visible {
  background: var(--ap-pink-tint);
  color: var(--ap-pink-ink);
  outline: none;
  text-decoration: none;
}
.ap-pop__opt[aria-selected="true"],
.ap-pop .is-current > a,
.ap-pop .is-current > span {
  color: var(--ap-pink-ink);
}
.ap-pop__opt[aria-selected="true"]::after,
.ap-pop .is-current > a::after,
.ap-pop .is-current > span::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c1075b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
  flex: 0 0 auto;
  height: 15px;
  width: 15px;
}
.ap-pop__opt[aria-disabled="true"] {
  background: none;
  color: rgba(37, 2, 18, 0.28);
  cursor: default;
}
/* Mode stages du chercheur : vert. */
.ap2-sentence[data-mode="stages"] .ap-pop__group,
.ap2-sentence[data-mode="stages"] .ap-pop__opt[aria-selected="true"] {
  color: var(--ap-green-ink, #007868);
}
.ap2-sentence[data-mode="stages"] .ap-pop__opt.is-active {
  background: var(--ap-green-tint, #e6f6f3);
  color: var(--ap-green-ink, #007868);
}
.ap2-sentence[data-mode="stages"] .ap-pop__opt[aria-selected="true"]::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007868' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Chercheur : le bouton reprend l'allure du <select> (italique, trait rose). */
.ap-select__native {
  clip: rect(0 0 0 0);
  height: 1px !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute !important;
  width: 1px !important;
}
.ap-select__btn {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid var(--ap-pink);
  border-radius: 0;
  color: var(--ap-pink-ink);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  font-weight: 600;
  gap: 0.35em;
  letter-spacing: inherit;
  line-height: 1.3;
  margin: 0;
  max-width: 100%;
  min-height: 0;
  padding: 0 0.1em 2px;
  text-transform: none;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.ap-select__btn::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c1075b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
  flex: 0 0 auto;
  height: 0.5em;
  transition: transform 0.2s ease;
  width: 0.5em;
}
.ap-select.is-open .ap-select__btn::after {
  transform: rotate(180deg);
}
.ap-select__btn:hover,
.ap-select__btn:focus-visible,
.ap-select.is-open .ap-select__btn {
  border-bottom-color: var(--ap-ink);
  outline: none;
}
.ap2-sentence[data-mode="stages"] .ap-select__btn {
  border-bottom-color: var(--ap-green);
  color: var(--ap-green-ink, #007868);
}
.ap2-sentence[data-mode="stages"] .ap-select__btn::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007868' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.ap2-sentence[data-mode="stages"] .ap-select__btn:hover,
.ap2-sentence[data-mode="stages"] .ap-select.is-open .ap-select__btn {
  border-bottom-color: var(--ap-ink);
}
.ap-select__pop {
  left: 0;
  max-height: min(380px, 62vh);
  min-width: max(100%, 240px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  top: calc(100% + 10px);
}

/* Sélecteur de langue. */
.ap-lang {
  position: relative;
}
.ap-lang__btn {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ap-ink);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--ap-font);
  font-size: 14px;
  font-weight: 600;
  gap: 7px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 -10px 0 0;
  min-height: 0;
  padding: 7px 10px;
  text-transform: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ap-lang__btn:hover,
.ap-lang__btn[aria-expanded="true"] {
  background: rgba(37, 2, 18, 0.06);
  color: var(--ap-pink-ink);
}
.ap-lang__chevron {
  transition: transform 0.2s ease;
}
.ap-lang__btn[aria-expanded="true"] .ap-lang__chevron {
  transform: rotate(180deg);
}
.ap-topbar__lang .ap-lang__menu {
  display: block;
  min-width: 170px;
  right: -10px;
  top: calc(100% + 8px);
  z-index: 700;
}
.ap-topbar__lang .ap-lang__menu[hidden] {
  display: none;
}
.ap-topbar__lang .ap-lang__menu a,
.ap-topbar__lang .ap-lang__menu a:hover {
  color: var(--ap-ink);
  font-size: 15px;
  text-decoration: none;
}
.ap-topbar__lang .ap-lang__menu a:hover,
.ap-topbar__lang .ap-lang__menu .is-current > a {
  color: var(--ap-pink-ink);
}
.ap-topbar,
.ap-topbar__inner {
  overflow: visible;
  position: relative;
  z-index: 700;
}

/* ---------------------------------------------------------------- Cases à cocher des filtres */
.ap-listing .list-filters input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 2px solid rgba(37, 2, 18, 0.25);
  border-radius: 7px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-grid;
  flex: 0 0 auto;
  height: 20px;
  margin: 0;
  place-content: center;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  vertical-align: middle;
  width: 20px;
}
.ap-listing .list-filters input[type="checkbox"]::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
  height: 13px;
  transform: scale(0) rotate(-12deg);
  transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1);
  width: 13px;
}
.ap-listing .list-filters input[type="checkbox"]:checked::before {
  transform: scale(1) rotate(0);
}
.ap-listing .list-filters input[type="checkbox"]:hover {
  border-color: var(--ap-pink);
}
.ap-listing .list-filters input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 4px rgba(229, 15, 111, 0.2);
  outline: none;
}
.ap-listing .list-filters input[type="checkbox"]:checked {
  background-color: var(--ap-pink);
  border-color: var(--ap-pink);
}
.ap-listing .list-filters input[type="checkbox"]:checked + label {
  color: var(--ap-pink-ink);
  font-weight: 700;
}
.ap-listing--stages .list-filters input[type="checkbox"]:hover {
  border-color: var(--ap-green);
}
.ap-listing--stages .list-filters input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 161, 140, 0.22);
}
.ap-listing--stages .list-filters input[type="checkbox"]:checked {
  background-color: var(--ap-green-btn, #008472);
  border-color: var(--ap-green-btn, #008472);
}
.ap-listing--stages .list-filters input[type="checkbox"]:checked + label {
  color: var(--ap-green-ink, #007868);
}
.ap-listing .list-filters label {
  cursor: pointer;
}
.ap-listing--cours .bef-nested .form-item input {
  margin-top: 0;
}
.ap-listing--cours .bef-nested .form-item {
  align-items: center;
}
/* Le thème colore les boutons au survol : le bouton du chercheur reste transparent. */
.ap2-sentence .ap-select .ap-select__btn,
.ap2-sentence .ap-select .ap-select__btn:hover,
.ap2-sentence .ap-select .ap-select__btn:focus,
.ap2-sentence .ap-select .ap-select__btn:active,
.ap2-sentence .ap-select .ap-select__btn[aria-expanded="true"] {
  background: transparent;
  box-shadow: none;
}
.ap2-sentence .ap-select .ap-select__btn:hover,
.ap2-sentence .ap-select .ap-select__btn[aria-expanded="true"] {
  color: var(--ap-ink);
}
.ap2-sentence[data-mode="stages"] .ap-select .ap-select__btn:hover,
.ap2-sentence[data-mode="stages"] .ap-select .ap-select__btn[aria-expanded="true"] {
  color: var(--ap-ink);
}
.ap-lang .ap-lang__btn:focus,
.ap-lang .ap-lang__btn:active {
  box-shadow: none;
}
/* Filtres : « Réinitialiser » discret (lien souligné rose ou vert). */
.ap-listing .list-filters input[name="reset"] {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--ap-ink);
  cursor: pointer;
  font-family: var(--ap-font);
  font-size: 14px;
  font-weight: 700;
  height: auto;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 18px 0 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;
  width: auto;
}
.ap-listing .list-filters input[name="reset"]:hover {
  background: transparent;
  color: var(--ap-pink-ink);
}
.ap-listing--stages .list-filters input[name="reset"] {
  text-decoration-color: var(--ap-green);
}
.ap-listing--stages .list-filters input[name="reset"]:hover {
  color: var(--ap-green-ink);
}

/* ---------------------------------------------------------------- Pages statiques (importées de l'ancien site) */
/* Bandeau neutre (sable, encre) des pages ordinaires : le rose et le vert restent aux cours et aux stages. */
.ap-pagehead--page,
.ap-pagehead--faq,
.ap-pagehead--blog,
.ap-pagehead--partenaires,
.ap-pagehead--contact {
  --ph-tint: var(--ap-neutral-tint);
  --ph-ink: var(--ap-ink);
  --ph-main: var(--ap-neutral-blob);
  --ph-second: var(--ap-accent, #f7b500);
  --ph-scribble: var(--ap-ink);
}
/* Bandeau des pages standard et de la FAQ : accroche manuscrite, titre Fraunces, trait. */
.ap-pagehead .ap-pagehead__kicker--hand {
  color: var(--ph-ink);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 6px;
  text-transform: none;
}
.ap-pagehead--page .ap-pagehead__title,
.ap-pagehead--faq .ap-pagehead__title {
  font-family: var(--ap2-display, Georgia, serif);
  font-size: clamp(38px, 5vw, 62px);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ap-pagehead__scribble {
  color: var(--ph-scribble, var(--ph-main));
  display: block;
  height: 14px;
  margin: 0 0 18px 2px;
  width: clamp(120px, 16vw, 200px);
}
.ap-pagehead--page .ap-pagehead__inner {
  padding-bottom: 36px;
  padding-top: 32px;
}
.ap2-page__inner {
  align-items: start;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) 300px;
  padding-bottom: clamp(48px, 6vw, 88px);
}
.ap2-page__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--ap-header-h, 72px) + 24px);
}
@media (max-width: 900px) {
  .ap2-page__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap2-page__aside {
    position: static;
  }
}
.ap2-citybox {
  background: #fff;
  border: 1px solid rgba(37, 2, 18, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(37, 2, 18, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}
.ap2-citybox__kicker {
  color: var(--ap-ink);
  font-size: 24px;
  margin: 0 0 2px 4px;
}
.ap2-citybox__link {
  border-radius: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-family: var(--ap-font);
  gap: 2px;
  padding: 14px 44px 14px 16px;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ap2-citybox__link::after {
  content: "→";
  font-size: 20px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.ap2-citybox__link:hover {
  box-shadow: 0 10px 22px rgba(37, 2, 18, 0.16);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
.ap2-citybox__link:hover::after {
  transform: translate(4px, -50%);
}
.ap2-citybox__link strong {
  font-size: 17px;
}
.ap2-citybox__link span {
  font-size: 14px;
  opacity: 0.9;
}
.ap2-citybox__link--cours {
  background: var(--ap-pink);
}
.ap2-citybox__link--stages {
  background: var(--ap-green-btn, #008472);
}

/* Texte mis en forme. */
.ap-prose {
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 17px;
  line-height: 1.7;
  max-width: 780px;
}
.ap-prose > :first-child,
.ap-prose .field > :first-child,
.ap-prose .field__item > :first-child {
  margin-top: 0;
}
.ap-prose p,
.ap-prose ul,
.ap-prose ol,
.ap-prose table {
  font-size: 17px;
  margin: 0 0 1em;
}
.ap-prose h2,
.ap-prose h3 {
  color: var(--ap-ink);
  font-family: var(--ap2-display, Georgia, serif);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}
.ap-prose h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.15;
  margin: 1.5em 0 0.5em;
}
.ap-prose h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 1.4em 0 0.4em;
}
.ap-prose h4,
.ap-prose h5 {
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 18px;
  font-weight: 700;
  margin: 1.2em 0 0.3em;
  text-transform: none;
}
.ap-prose a {
  color: var(--ap-pink-ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(229, 15, 111, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.ap-prose a:hover {
  color: var(--ap-pink-ink);
  text-decoration-color: var(--ap-pink);
}
.ap-prose ul {
  list-style: none;
  padding-left: 0;
}
.ap-prose ul > li {
  font-size: inherit;
  list-style: none;
  margin: 0 0 0.4em;
  padding-left: 22px;
  position: relative;
}
.ap-prose ul > li::before {
  background: var(--ap-pink) !important;
  border-radius: 50%;
  content: "" !important;
  display: block !important;
  height: 7px;
  left: 4px;
  position: absolute;
  top: 0.72em;
  width: 7px;
}
.ap-prose ol {
  padding-left: 1.4em;
}
.ap-prose img {
  border-radius: 18px;
  height: auto;
  max-width: 100%;
}
.ap-prose hr {
  border: 0;
  border-top: 1px solid rgba(37, 2, 18, 0.12);
  margin: 2em 0;
}
.ap-prose blockquote {
  border-left: 3px solid var(--ap-pink);
  font-style: italic;
  margin: 1.4em 0;
  padding: 2px 0 2px 18px;
}
.ap-prose table {
  background: #fff;
  border: 0;
  border-collapse: separate;
  border-radius: 16px;
  border-spacing: 0;
  box-shadow: 0 0 0 1px rgba(37, 2, 18, 0.09);
  font-size: 15px;
  height: auto !important;
  line-height: 1.45;
  margin: 1.2em 0 1.8em;
  overflow: hidden;
  width: 100% !important;
}
.ap-prose th,
.ap-prose td {
  border: 0;
  border-bottom: 1px solid rgba(37, 2, 18, 0.07);
  font-size: 15px;
  height: auto !important;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.ap-prose th,
.ap-prose thead td {
  background: var(--ap-pink-tint);
  font-weight: 700;
}
.ap-prose tr:last-child > td {
  border-bottom: 0;
}
.ap-prose td p,
.ap-prose th p,
.ap-prose td li {
  font-size: 15px;
  margin: 0 0 0.4em;
}
@media (max-width: 700px) {
  .ap-prose {
    font-size: 16px;
  }
  /* Tableaux larges (tarifs) : défilement horizontal, colonnes qui respirent. */
  .ap-prose table {
    -webkit-overflow-scrolling: touch;
    display: block;
    overflow-x: auto;
  }
  .ap-prose table > thead,
  .ap-prose table > tbody {
    display: table;
    min-width: 560px;
    width: 100%;
  }
  .ap-prose th,
  .ap-prose td {
    padding: 8px 10px;
  }
}
/* Libellés réservés aux lecteurs d'écran (le thème ne charge pas system/base). */
.visually-hidden {
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
/* Pages des villes : chaque adresse ouvre un bloc. */
.ap2-page--city .ap-prose h2 {
  border-top: 2px solid var(--ap-ink);
  font-size: 24px;
  margin-top: 1.6em;
  padding-top: 18px;
}
.ap2-page--city .ap-prose h2:first-of-type {
  margin-top: 1em;
}
/* Styles en dur de l'ancien éditeur (polices, tailles) : on garde ceux du site. */
.ap-prose [style*="font-family"],
.ap-prose font {
  font-family: inherit !important;
}
.ap-prose [style*="font-size"] {
  font-size: inherit !important;
}
.ap-prose [style*="color"]:not(a) {
  color: inherit !important;
}
@media (max-width: 900px) {
  /* Villes : liens « cours / stages » en haut sur mobile, contact déjà en bas de page. */
  .ap2-page--city .ap2-page__aside {
    order: -1;
  }
  .ap2-page--city .ap2-page__contact {
    display: none;
  }
}

/* ---------------------------------------------------------------- Retours 5 : en-tête d'un seul ton */
.ap-header {
  backdrop-filter: none;
  background: var(--ap-paper);
}
@media (min-width: 1024px) {
  .ap-header .ap-drawer,
  .ap-header .ap-nav {
    background: transparent;
  }
}

/* ---------------------------------------------------------------- Retours 6 : pages statiques sans colonne, titre « carnet » */
.ap2-pagetitle {
  padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px);
}
.ap2-pagetitle__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ap2-pagetitle__crumbs {
  align-items: center;
  color: var(--ap-muted);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--ap-font);
  font-size: 14px;
  gap: 8px;
  margin-bottom: 8px;
}
.ap2-pagetitle__crumbs a {
  color: var(--ap-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ap2-pagetitle__crumbs a:hover {
  color: var(--ap-pink-ink);
}
.ap2-pagetitle__kicker {
  color: var(--ap-pink-ink);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1;
  margin: 0;
}
.ap2-pagetitle__title {
  color: var(--ap-ink);
  font-family: var(--ap2-display, Georgia, serif);
  font-size: clamp(38px, 5.4vw, 68px);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  max-width: 980px;
  text-transform: none;
}
.ap2-pagetitle__scribble {
  color: var(--ap-pink);
  display: block;
  height: 14px;
  margin: 4px 0 0 2px;
  width: clamp(120px, 16vw, 200px);
}
.ap2-pagetitle__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.ap2-citylink {
  align-items: baseline;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--ap-font);
  font-size: 15px;
  gap: 8px;
  padding: 12px 20px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ap2-citylink strong {
  font-size: 16px;
}
.ap2-citylink span {
  opacity: 0.88;
}
.ap2-citylink:hover {
  box-shadow: 0 10px 22px rgba(37, 2, 18, 0.16);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}
.ap2-citylink--cours {
  background: var(--ap-pink);
}
.ap2-citylink--stages {
  background: var(--ap-green-btn, #008472);
}
/* Contenu sur toute la largeur : texte limité pour rester lisible, tableaux et images en grand. */
.ap2-page__inner {
  display: block;
  padding-bottom: clamp(48px, 6vw, 88px);
}
.ap-prose {
  max-width: none;
}
.ap-prose :where(p, h2, h3, h4, h5, ul, ol, blockquote) {
  max-width: 880px;
}
.ap-prose :where(td, th) :where(p, ul, ol) {
  max-width: none;
}
.ap-prose table {
  max-width: 1200px;
}
.ap-prose img {
  max-height: 640px;
  object-fit: cover;
  width: auto;
}
.ap-prose .ap-page-image img {
  max-width: 880px;
  width: 100%;
}
.ap2-page--city .ap-prose h2 {
  max-width: 880px;
}
.ap-prose img {
  height: auto !important;
}
.ap2-page > .page-content {
  margin-top: 0;
  padding-top: 12px;
}

/* ---------------------------------------------------------------- Texte mis en forme : listes, citations, détails */
.ap-prose ul > li::before {
  top: 0.55em;
}
.ap-prose li > p {
  margin: 0;
}
.ap-prose ol {
  counter-reset: ap-ol;
  list-style: none;
  margin: 0 0 1em;
  padding-left: 0;
}
.ap-prose ol > li {
  counter-increment: ap-ol;
  font-size: inherit;
  list-style: none;
  margin: 0 0 0.5em;
  padding-left: 36px;
  position: relative;
}
.ap-prose ol > li::before {
  background: var(--ap-pink-tint) !important;
  border-radius: 50%;
  color: var(--ap-pink-ink);
  content: counter(ap-ol) !important;
  display: block !important;
  font-family: var(--ap-font);
  font-size: 13px;
  font-weight: 700;
  height: 24px;
  left: 0;
  line-height: 24px;
  position: absolute;
  text-align: center;
  top: 0.15em;
  width: 24px;
}
.ap-prose ol ol > li::before {
  background: transparent !important;
  color: var(--ap-muted);
  content: counter(ap-ol, lower-alpha) "." !important;
}
.ap-prose ul ul,
.ap-prose ol ol,
.ap-prose ul ol,
.ap-prose ol ul {
  margin: 0.4em 0 0;
}
.ap-prose ul ul > li::before {
  background: rgba(37, 2, 18, 0.35) !important;
  height: 5px;
  width: 5px;
}
.ap-prose blockquote {
  background: #fff;
  border: 0;
  border-left: 4px solid var(--ap-pink);
  border-radius: 0 18px 18px 0;
  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.4;
  margin: 1.6em 0;
  padding: 22px 28px 20px 60px;
  position: relative;
  text-align: left;
}
.ap-prose blockquote::before {
  background: transparent !important;
  color: var(--ap-pink);
  content: "“" !important;
  display: block !important;
  font-family: var(--ap2-display, Georgia, serif);
  font-size: 60px;
  font-style: normal;
  height: auto !important;
  left: 18px !important;
  line-height: 1;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  top: 10px !important;
  transform: none !important;
  width: auto !important;
}
.ap-prose blockquote::after {
  content: none !important;
}
.ap-prose blockquote p {
  font-size: inherit;
  margin: 0 0 0.5em;
}
.ap-prose blockquote cite,
.ap-prose blockquote footer {
  color: var(--ap-muted);
  display: block;
  font-family: var(--ap-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  margin-top: 6px;
}
.ap-prose figure {
  margin: 1.4em 0;
}
.ap-prose figcaption {
  color: var(--ap-muted);
  font-size: 14px;
  margin-top: 8px;
}
.ap-prose h4 {
  font-size: 20px;
}
.ap-prose h5,
.ap-prose h6 {
  font-size: 17px;
}
.ap-prose pre {
  background: #fff;
  border: 1px solid rgba(37, 2, 18, 0.1);
  border-radius: 12px;
  font-size: 14px;
  overflow-x: auto;
  padding: 14px 18px;
}
.ap-prose code {
  background: rgba(37, 2, 18, 0.06);
  border-radius: 6px;
  font-size: 0.92em;
  padding: 1px 6px;
}
.ap-prose pre code {
  background: transparent;
  padding: 0;
}
.ap-prose dl {
  margin: 0 0 1.2em;
}
.ap-prose dt {
  float: none;
  font-weight: 700;
  margin: 0.6em 0 0;
  width: auto;
}
.ap-prose dd {
  color: var(--ap-ink);
  margin: 0;
  padding: 0;
}
.ap-prose small {
  color: var(--ap-muted);
  font-size: 14px;
}
.ap-prose abbr[title] {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.ap-prose strong {
  color: var(--ap-ink);
}
/* Accueil : photos des professeurs cliquables. */
.ap2-prof__link {
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}
.ap2-prof__link:hover {
  text-decoration: none;
}
/* Puces : le vieux thème ajoute une marge haute et une couleur aux pseudo-éléments. */
.ap-prose ul > li::before,
.ap-prose ol > li::before {
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.ap-prose ul > li::before {
  top: 0.6em;
}
.ap-prose ul ul > li::before {
  background: rgba(37, 2, 18, 0.35) !important;
  top: 0.7em;
}

/* ---------------------------------------------------------------- Onglets d'administration (Voir, Modifier…) */
#page .tabs,
#page ul.tabs {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 14px auto 0;
  max-width: 1240px;
  padding: 0 20px;
  width: 100%;
}
#page .tabs li,
#page ul.tabs li {
  background: transparent;
  border: 0;
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}
#page .tabs li::before,
#page .tabs li::after {
  content: none !important;
  display: none !important;
}
#page .tabs li a,
#page ul.tabs li a {
  background: #fff;
  border: 1px solid rgba(37, 2, 18, 0.15);
  border-radius: 999px;
  box-shadow: none;
  color: var(--ap-ink);
  display: inline-block;
  font-family: var(--ap-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
  min-height: 0;
  padding: 7px 14px;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
#page .tabs li a:hover,
#page .tabs li a:focus {
  background: var(--ap-pink-tint);
  border-color: transparent;
  color: var(--ap-pink-ink);
}
#page .tabs li.is-active a,
#page .tabs li a.is-active {
  background: var(--ap-ink);
  border-color: var(--ap-ink);
  color: #fff;
}
/* Balisage réel des onglets : nav.tabs > ul.nav-tabs > li.active > a */
#page nav.tabs ul,
#page .tabs .nav-tabs,
#page .tabs--primary {
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#page .tabs .nav-tabs > li,
#page .tabs--primary > li {
  border: 0;
  float: none;
  margin: 0;
  padding: 0;
}
#page .tabs .nav-tabs > li > a,
#page .tabs--primary > li > a {
  background: #fff;
  border: 1px solid rgba(37, 2, 18, 0.15) !important;
  border-radius: 999px !important;
  color: var(--ap-ink);
  margin: 0;
  padding: 7px 14px;
}
#page .tabs .nav-tabs > li > a:hover,
#page .tabs .nav-tabs > li > a:focus {
  background: var(--ap-pink-tint);
  border-color: transparent !important;
  color: var(--ap-pink-ink);
}
#page .tabs .nav-tabs > li.active > a,
#page .tabs .nav-tabs > li.active > a:hover,
#page .tabs .nav-tabs > li.active > a:focus,
#page .tabs--primary > li.active > a {
  background: var(--ap-ink);
  border-color: var(--ap-ink) !important;
  color: #fff;
}
#page .tabs::before,
#page .tabs::after,
#page .tabs ul::before,
#page .tabs ul::after {
  content: none !important;
  display: none !important;
}

/* ---------------------------------------------------------------- Couleur d'accent : réservée aux inscriptions */
:root {
  --ap-accent: #f7b500;
  --ap-accent-dark: #e39f00;
  --ap-accent-ink: #250212;
}
.ap-btn--accent,
.ap-btn--accent:visited {
  background: var(--ap-accent);
  border-color: var(--ap-accent);
  color: var(--ap-accent-ink);
}
.ap-btn--accent:hover,
.ap-btn--accent:focus-visible {
  background: var(--ap-accent-dark);
  border-color: var(--ap-accent-dark);
  color: var(--ap-accent-ink);
}
/* Bouton « S'inscrire » de l'en-tête. */
#page .ap-cta__btn {
  background: var(--ap-accent);
  color: var(--ap-accent-ink);
}
#page .ap-cta__btn:hover,
#page .ap-cta__btn[aria-expanded="true"] {
  background: var(--ap-accent-dark);
  color: var(--ap-accent-ink);
}
/* Boutons placés dans les textes (classe « btn » de l'ancien éditeur). */
.ap-prose .btn,
.ap-prose a.btn,
.ap-prose .btn:visited {
  background: var(--ap-accent) !important;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  color: var(--ap-accent-ink) !important;
  display: inline-block;
  font-family: var(--ap-font);
  font-size: 15px;
  font-weight: 700;
  height: auto;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 2px 0;
  padding: 11px 20px;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.15s ease;
}
.ap-prose .btn:hover,
.ap-prose a.btn:hover {
  background: var(--ap-accent-dark) !important;
  color: var(--ap-accent-ink) !important;
  text-decoration: none;
}
.ap-prose .btn .icon,
.ap-prose .btn .fal,
.ap-prose .btn .far {
  margin-right: 6px;
}

/* ---------------------------------------------------------------- Questions dépliantes : chevron neutre */
.collapsible-header .title:hover {
  color: var(--ap-ink);
}
.collapsible-header .title::before {
  background: #fff !important;
  border: 1.5px solid rgba(37, 2, 18, 0.2) !important;
  box-sizing: border-box;
  color: var(--ap-ink) !important;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.2s ease;
}
.collapsible-header .title:hover::before,
.open .collapsible-header .title::before {
  background: var(--ap-ink) !important;
  border-color: var(--ap-ink) !important;
  color: #fff !important;
}
.open .collapsible-header .title::before {
  transform: rotate(180deg);
}

/* ---------------------------------------------------------------- Filtres mobiles : bouton ambre en haut, flottant ensuite */
.ap2-filter-float {
  display: none;
}
@media (max-width: 1023.98px) {
  .ap-listing .toggle-filters.ap2-filter-btn {
    background: var(--ap-accent);
    border-color: var(--ap-accent);
    bottom: auto;
    box-shadow: 0 10px 24px rgba(37, 2, 18, 0.12);
    color: var(--ap-accent-ink);
    font-size: 16px;
    justify-content: center;
    left: auto;
    margin: 0 0 18px;
    min-height: 52px;
    position: static;
    transform: none;
    width: 100%;
  }
  .ap-listing .toggle-filters.ap2-filter-btn:hover,
  .ap-listing .toggle-filters.ap2-filter-btn:focus {
    background: var(--ap-accent-dark);
    color: var(--ap-accent-ink);
  }
  .ap-listing .toggle-filters.ap2-filter-btn .ap2-filter-btn__count {
    background: var(--ap-ink);
  }
  .ap2-filter-float {
    align-items: center;
    background: var(--ap-accent);
    border: 0;
    border-radius: 999px;
    bottom: max(18px, env(safe-area-inset-bottom));
    box-shadow: 0 14px 30px rgba(37, 2, 18, 0.28);
    color: var(--ap-accent-ink);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    left: 50%;
    letter-spacing: 0;
    line-height: 1;
    min-height: 48px;
    padding: 12px 22px;
    position: fixed;
    text-transform: none;
    transform: translateX(-50%);
    z-index: 900;
  }
  .ap2-filter-float[hidden],
  .filters-open .ap2-filter-float {
    display: none;
  }
  .ap2-filter-float .ap2-filter-btn__count {
    background: var(--ap-ink);
  }
  .ap2-filter-float .ap2-filter-btn__count[hidden] {
    display: none;
  }
}

/* ---------------------------------------------------------------- Pages statiques : texte sur toute la largeur */
.ap2-page--text .ap-prose,
.ap2-page--text .ap-prose :where(p, h2, h3, h4, h5, ul, ol, blockquote),
.ap2-page--city .ap-prose :where(p, h2, h3, h4, h5, ul, ol, blockquote) {
  max-width: none;
}

/* ---------------------------------------------------------------- Méga-menu : Nos lieux et L'école en colonnes */
.ap-panel__title--static {
  cursor: default;
}
.ap-panel__title--static:hover {
  text-decoration: none;
}
.ap-panel__sub {
  color: var(--ap-muted);
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  margin-top: 2px;
}
.ap-panel__links a:hover .ap-panel__sub {
  color: inherit;
  opacity: 0.8;
}
.ap-accent--lieux > .ap-menu__toggle[aria-expanded="true"],
.ap-accent--lieux > .ap-menu__toggle:hover,
.ap-accent--ecole > .ap-menu__toggle[aria-expanded="true"],
.ap-accent--ecole > .ap-menu__toggle:hover {
  background: rgba(37, 2, 18, 0.06);
  color: var(--ap-ink);
}
.ap-accent--lieux .ap-panel__promo,
.ap-accent--ecole .ap-panel__promo {
  background: #f1ebe4;
}
.ap-accent--lieux .ap-panel__kicker,
.ap-accent--ecole .ap-panel__kicker {
  color: var(--ap-pink-ink);
}
.ap-accent--lieux .ap-panel__more,
.ap-accent--ecole .ap-panel__more {
  color: var(--ap-ink);
}
.ap-accent--lieux .ap-panel__links a:hover,
.ap-accent--ecole .ap-panel__links a:hover {
  color: var(--ap-pink-ink);
}
/* Images dans les textes : les PNG à fond blanc se fondent dans le papier. */
.ap-prose img {
  mix-blend-mode: multiply;
}
.ap-prose figure.post-img,
.ap-prose .post-img {
  background: transparent !important;
  border: 0;
  box-shadow: none;
  margin: 1.4em 0;
  padding: 0;
}
.ap-prose figure.post-img img {
  border-radius: 18px;
}
