/* =========================================================================
   new2 – page d'accueil v2 « école d'art ».
   Rose = cours à l'année, vert = stages de vacances.
   Titres : Fraunces (empattements doux) · Notes : Caveat (manuscrite) · Texte : Quicksand.
   ========================================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces-Variable-Italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/Caveat-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ap2-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ap2-hand: "Caveat", "Segoe Print", cursive;
  --ap2-paper: #fbf7f2;
  --ap2-paper-2: #f6efe6;
  --ap2-ink: #250212;
  --ap2-ink-2: #3d0722;
  --ap2-shadow: 0 18px 40px rgba(37, 2, 18, 0.12);
  --ap2-shadow-lg: 0 30px 60px rgba(37, 2, 18, 0.22);
}

/* ---------------------------------------------------------------- Base de la page */
.path-frontpage .site-main {
  background: var(--ap2-paper);
  color: var(--ap-text);
  font-family: var(--ap-font);
  overflow: clip;
  position: relative;
}
/* Grain de papier très léger sur toute la page. */
.path-frontpage .site-main::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;
  mix-blend-mode: multiply;
  opacity: 0.07;
  pointer-events: none;
  position: fixed;
  z-index: 5;
}
.path-frontpage .site-main h1,
.path-frontpage .site-main h2,
.path-frontpage .site-main h3 {
  font-family: var(--ap2-display);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  letter-spacing: -0.015em;
}
.path-frontpage .site-main ul li::before,
.path-frontpage .site-main ol li::before {
  content: none !important;
  display: none !important;
}
.path-frontpage .site-main ul li,
.path-frontpage .site-main ol li {
  padding-left: 0;
}
.ap2-hand {
  font-family: var(--ap2-hand);
  font-weight: 600;
}

/* ---------------------------------------------------------------- Boutons */
.ap-btn {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 999px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  flex-wrap: wrap;
  font-family: var(--ap-font);
  font-size: 17px;
  font-weight: 700;
  gap: 4px 8px;
  height: auto;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 26px;
  text-decoration: none;
  text-transform: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.ap-btn:hover,
.ap-btn:focus-visible {
  box-shadow: var(--ap2-shadow);
  text-decoration: none;
  transform: translateY(-2px);
}
.ap-btn:focus-visible {
  outline: 3px solid var(--ap2-ink);
  outline-offset: 3px;
}
.ap-btn--pink { background: var(--ap-pink); color: #fff; }
.ap-btn--pink:hover { background: var(--ap-pink-ink); color: #fff; }
.ap-btn--green { background: var(--ap-green-btn); color: #fff; }
.ap-btn--green:hover { background: var(--ap-green-ink); color: #fff; }
.ap-btn--ink { background: var(--ap2-ink); color: #fff; }
.ap-btn--ink:hover { background: var(--ap2-ink-2); color: #fff; }
.ap-btn--white { background: #fff; color: var(--ap-pink-ink); }
.ap-btn--white:hover { color: var(--ap2-ink); }
.ap-btn--ghost { border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.ap-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ap-btn--small { font-size: 16px; min-height: 44px; padding: 10px 20px; }
.ap-btn--big {
  align-items: flex-start;
  border-radius: 22px;
  flex-direction: column;
  gap: 2px;
  min-width: 220px;
  padding: 14px 26px;
}
.ap-btn__sub {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}
.ap-stars {
  color: #f5b301;
  letter-spacing: 2px;
}
.ap2-link {
  align-self: flex-start;
  color: var(--ap2-ink);
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  gap: 8px;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  transition: color 0.2s ease;
}
.ap2-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}
.ap2-link:hover span {
  transform: translateX(6px);
}
.ap2-link--pink { text-decoration-color: var(--ap-pink); }
.ap2-link--pink:hover { color: var(--ap-pink-ink); }
.ap2-link--green { text-decoration-color: var(--ap-green); }
.ap2-link--green:hover { color: var(--ap-green-ink); }

/* ---------------------------------------------------------------- Sections et titres */
.ap2-section {
  padding: clamp(60px, 8vw, 112px) 0;
  position: relative;
}
.ap2-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 52px);
  max-width: 760px;
}
.ap2-head--center {
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.ap2-head--row {
  align-items: flex-end;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  max-width: none;
}
.ap2-eyebrow {
  color: var(--ap-pink-ink);
  font-size: 24px;
  line-height: 1;
  margin: 0;
}
.ap2-eyebrow--green { color: var(--ap-green-ink); }
.ap2-eyebrow--light { color: #ff8fbf; }
.ap2-h2 {
  color: var(--ap2-ink);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}
.ap2-lead {
  color: var(--ap-muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  margin: 0;
}
.ap2-round {
  align-items: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease;
  width: 48px;
}
.ap2-round:hover {
  background: #fff;
  color: var(--ap2-ink);
}
.ap2-round--ink {
  border-color: var(--ap2-ink);
  color: var(--ap2-ink);
}
.ap2-round--ink:hover {
  background: var(--ap2-ink);
  color: #fff;
}

/* Scotch sur les photos */
.ap2-tape {
  background: rgba(253, 231, 241, 0.9);
  border: 1px solid rgba(37, 2, 18, 0.06);
  box-shadow: 0 2px 6px rgba(37, 2, 18, 0.08);
  height: 26px;
  left: 50%;
  position: absolute;
  top: -11px;
  transform: translateX(-50%) rotate(-3deg);
  width: 96px;
  z-index: 2;
}
.ap2-polaroid--stages .ap2-tape,
.ap2-way--stages .ap2-tape {
  background: rgba(230, 246, 243, 0.92);
}

/* ---------------------------------------------------------------- 1. Ouverture */
.ap2-hero {
  overflow: visible;
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
  position: relative;
}
.ap2-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.ap2-hero__kicker {
  color: var(--ap-pink-ink);
  font-size: 26px;
  margin: 0 0 14px;
}
.ap2-hero__title {
  color: var(--ap2-ink);
  font-size: clamp(42px, 6.2vw, 86px);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 24px;
}
.ap2-hero__line2 {
  font-weight: 400;
}
.ap2-mark {
  display: inline-block;
  font-style: italic;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
}
.ap2-scribble {
  bottom: -0.14em;
  color: var(--ap-pink);
  height: 0.38em;
  left: -4%;
  position: absolute;
  width: 108%;
  z-index: -1;
}
.ap2-scribble path {
  animation: ap2-draw 1.1s 1s cubic-bezier(0.6, 0, 0.2, 1) forwards;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}
.ap2-hero__lead {
  color: var(--ap-muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  margin: 0 0 30px;
  max-width: 560px;
}
.ap2-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.ap2-trust {
  color: var(--ap2-ink);
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 8px 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap2-trust li {
  display: inline-flex;
  gap: 5px;
  padding-right: 18px;
  position: relative;
}
.ap2-trust li + li::before {
  color: var(--ap-pink);
  content: "✦" !important;
  display: inline-block !important;
  font-size: 12px;
  margin-right: 14px;
  position: static !important;
}
.ap2-trust strong {
  color: var(--ap2-ink);
}
.ap2-trust .ap-stars {
  font-size: 13px;
}

.ap2-hero__visual {
  position: relative;
}
.ap2-hero__video-card {
  animation: ap2-morph 18s ease-in-out infinite;
  aspect-ratio: 5 / 6;
  background: var(--ap2-ink);
  border-radius: 46% 54% 58% 42% / 44% 40% 60% 56%;
  box-shadow: var(--ap2-shadow-lg);
  margin: 0 6% 0 10%;
  overflow: hidden;
  position: relative;
}
.ap2-video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.ap2-video__pause {
  align-items: center;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  left: 50%;
  padding: 0;
  pointer-events: auto;
  position: absolute;
  top: 14%;
  transform: translateX(-50%);
  width: 40px;
}
.ap2-video__pause .ap-ico-play { display: none; }
.ap2-video__pause[aria-pressed="true"] .ap-ico-play { display: block; }
.ap2-video__pause[aria-pressed="true"] .ap-ico-pause { display: none; }

.ap2-polaroid {
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--ap2-shadow);
  margin: 0;
  padding: 8px 8px 10px;
  position: absolute;
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
  width: 38%;
  z-index: 2;
}
.ap2-polaroid img {
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}
.ap2-polaroid figcaption {
  color: var(--ap2-ink);
  font-size: 20px;
  line-height: 1.1;
  padding: 8px 2px 0;
  text-align: center;
}
.ap2-polaroid--1 { bottom: 4%; left: -8%; transform: rotate(-7deg); }
.ap2-polaroid--2 { right: -6%; top: 2%; transform: rotate(6deg); }
.ap2-polaroid--3 { bottom: -9%; right: 8%; transform: rotate(3deg); width: 32%; z-index: 3; }
.ap2-hero__visual:hover .ap2-polaroid--1 { transform: rotate(-3deg) translate(-8px, 4px); }
.ap2-hero__visual:hover .ap2-polaroid--2 { transform: rotate(2deg) translate(8px, -6px); }
.ap2-hero__visual:hover .ap2-polaroid--3 { transform: rotate(0deg) translateY(6px) scale(1.04); }
.ap2-hero__note {
  color: var(--ap-pink-ink);
  font-size: 26px;
  left: 2%;
  line-height: 1;
  position: absolute;
  top: -18px;
  transform: rotate(-8deg);
  z-index: 3;
}
.ap2-arrow {
  color: var(--ap-pink);
  display: block;
  height: 36px;
  margin: 2px 0 0 40px;
  width: 72px;
}

/* ---------------------------------------------------------------- 2. Deux façons */
.ap2-ways {
  background: #fff;
}
.ap2-ways__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.ap2-way {
  background: var(--ap2-paper);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  padding: 34px 34px 26px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ap2-way:hover {
  box-shadow: var(--ap2-shadow);
  transform: translateY(-5px);
}
.ap2-way__num {
  color: var(--ap-pink-tint);
  font-family: var(--ap2-display);
  font-size: clamp(110px, 12vw, 160px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 14px;
  user-select: none;
}
.ap2-way--stages .ap2-way__num {
  color: var(--ap-green-tint);
}
.ap2-way__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.ap2-way__when {
  font-size: 24px;
  margin: 0;
}
.ap2-way--cours .ap2-way__when { color: var(--ap-pink-ink); }
.ap2-way--stages .ap2-way__when { color: var(--ap-green-ink); }
.ap2-way__title {
  color: var(--ap2-ink);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
}
.ap2-way__text {
  color: var(--ap-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 6px;
  max-width: 520px;
}
.ap2-way__photo {
  border-radius: 14px;
  box-shadow: var(--ap2-shadow);
  margin: 10px -6px -4px;
  position: relative;
  transform: rotate(-2deg);
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.ap2-way--stages .ap2-way__photo {
  transform: rotate(2deg);
}
.ap2-way:hover .ap2-way__photo {
  transform: rotate(0) scale(1.02);
}
.ap2-way__photo img {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  width: 100%;
}

/* ---------------------------------------------------------------- 3. Chercheur en une phrase */
.ap2-finder {
  background: var(--ap2-paper);
  padding-bottom: clamp(40px, 5vw, 70px);
  padding-top: clamp(40px, 5vw, 70px);
}
.ap2-sentence {
  align-items: baseline;
  color: var(--ap2-ink);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--ap2-display);
  font-size: clamp(24px, 3.1vw, 40px);
  font-weight: 500;
  gap: 14px 12px;
  line-height: 1.4;
  margin: 0;
}
.ap2-sentence__word {
  white-space: nowrap;
}
.ap2-sentence__field {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  position: relative;
}
.ap2-sentence__field[hidden] {
  display: none;
}
.ap2-sentence__field select {
  appearance: none;
  background: transparent 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") right 0 center / 0.55em no-repeat;
  border: 0;
  border-bottom: 3px solid var(--ap-pink);
  border-radius: 0;
  color: var(--ap-pink-ink);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-style: italic;
  font-weight: 600;
  height: auto;
  line-height: 1.3;
  max-width: 100%;
  padding: 0 0.8em 2px 0.1em;
  width: auto;
}
.ap2-sentence__field select:focus {
  border-bottom-color: var(--ap2-ink);
  outline: none;
}
.ap2-sentence__go {
  align-self: center;
  font-family: var(--ap-font);
  margin-left: 6px;
}

/* ---------------------------------------------------------------- 4. Disciplines */
.ap2-disc {
  background: #fff;
}
.ap2-disc__grid {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.ap2-disc__name {
  border-bottom: 1px solid var(--ap-line);
  color: var(--ap-muted);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  margin: 0 0 14px;
  padding-bottom: 10px;
}
.ap2-disc__name a {
  color: inherit;
  text-decoration: none;
}
.ap2-disc__name a:hover {
  color: var(--ap-pink-ink);
}
.ap2-disc__name a::before {
  background: var(--ap-pink);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 10px;
  margin-right: 10px;
  vertical-align: middle;
  width: 10px;
}
.ap2-disc__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap2-disc__link {
  align-items: baseline;
  color: var(--ap2-ink);
  display: flex;
  font-family: var(--ap2-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 500;
  gap: 14px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  padding: 7px 0;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.ap2-disc__link:hover,
.ap2-disc__link:focus-visible {
  color: var(--ap-pink-ink);
  padding-left: 10px;
}
.ap2-disc__link:hover .ap2-disc__label,
.ap2-disc__link:focus-visible .ap2-disc__label {
  text-decoration: underline wavy var(--ap-pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.ap2-disc__count {
  color: var(--ap-muted);
  font-size: 20px;
  white-space: nowrap;
}
.ap2-disc__more {
  margin: 40px 0 0;
}
.ap2-preview {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 18px;
  box-shadow: var(--ap2-shadow-lg);
  left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: translate(-50%, -50%) rotate(-8deg) scale(0.6);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
  width: 280px;
  z-index: 650;
}
.ap2-preview.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-3deg) scale(1);
}
.ap2-preview img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
@media (hover: none), (pointer: coarse) {
  .ap2-preview {
    display: none;
  }
}

/* ---------------------------------------------------------------- 5. Pourquoi nous */
.ap2-why {
  background: var(--ap2-paper);
}
.ap2-why__list {
  display: grid;
  gap: 36px 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap2-why__item {
  border-top: 2px solid var(--ap2-ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  position: relative;
}
.ap2-why__num {
  color: var(--ap-pink-ink);
  font-size: 30px;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 14px;
}
.ap2-why__icon {
  color: var(--ap2-ink);
  font-size: 28px;
  line-height: 1;
}
.ap2-why__title {
  color: var(--ap2-ink);
  font-size: 24px;
  font-weight: 600;
  margin: 4px 0 0;
}
.ap2-why__text {
  color: var(--ap-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* ---------------------------------------------------------------- 6. Paroles de familles */
.ap2-quotes {
  background: radial-gradient(900px 500px at 90% -10%, rgba(229, 15, 111, 0.4), transparent 60%),
              radial-gradient(800px 500px at -10% 110%, rgba(0, 161, 140, 0.3), transparent 60%),
              var(--ap2-ink);
  color: #fff;
}
.ap2-quotes__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.ap2-quotes__stage {
  display: grid;
  min-height: 260px;
  position: relative;
}
.ap2-quote {
  border: 0;
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  padding: 0 0 0 clamp(0px, 4vw, 56px);
  position: relative;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  visibility: hidden;
}
.ap2-quote.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
}
.ap2-quote::before {
  color: var(--ap-pink);
  content: "“";
  font-family: var(--ap2-display);
  font-size: clamp(120px, 14vw, 200px);
  font-weight: 700;
  left: clamp(-28px, -3vw, -44px);
  line-height: 0.6;
  opacity: 0.9;
  position: absolute;
  top: -10px;
}
.ap2-quote .ap-stars {
  display: block;
  font-size: 18px;
  margin-bottom: 16px;
}
.ap2-quote__text {
  color: #fff;
  font-family: var(--ap2-display);
  font-size: clamp(24px, 3.2vw, 44px);
  font-style: italic;
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 20px;
  max-width: 980px;
}
.ap2-quote__who {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}
.ap2-quote__who strong {
  color: #fff;
}
.ap2-quotes__nav {
  align-items: center;
  display: flex;
  gap: 16px;
}
.ap2-quotes__dots {
  display: flex;
  gap: 8px;
}
.ap2-quotes__dots i {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: block;
  height: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 8px;
}
.ap2-quotes__dots i.is-active {
  background: var(--ap-pink);
  transform: scale(1.4);
}

/* ---------------------------------------------------------------- 7. Professeurs */
.ap2-profs {
  background: #fff;
  overflow: hidden;
}
.ap2-scroller-nav {
  display: flex;
  gap: 10px;
}
.ap2-profs__list {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  padding: 16px max(20px, calc((100vw - 1240px) / 2 + 20px)) 28px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ap2-profs__list::-webkit-scrollbar {
  display: none;
}
.ap2-profs__list:focus-visible {
  outline: 3px solid var(--ap-pink);
}
.ap2-prof {
  display: flex;
  flex: 0 0 210px;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
}
.ap2-prof__photo {
  aspect-ratio: 3 / 4;
  background: var(--ap-pink-tint);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(37, 2, 18, 0.12);
  display: block;
  overflow: hidden;
  position: relative;
  transform: rotate(calc(var(--tilt, 0) * 2.5deg));
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.ap2-prof:hover .ap2-prof__photo {
  transform: rotate(0) scale(1.04);
}
.ap2-prof__photo img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: opacity 0.45s ease;
  width: 100%;
}
.ap2-prof__hover {
  opacity: 0;
}
.ap2-prof:hover .ap2-prof__hover {
  opacity: 1;
}
.ap2-prof__name {
  color: var(--ap2-ink);
  font-size: 26px;
  line-height: 1;
  text-align: center;
}

/* ---------------------------------------------------------------- 8. Prochains stages */
.ap2-camps {
  background: var(--ap-green-tint);
}
.ap2-camps .ap2-head {
  margin-bottom: 28px;
}
.ap2-camps__list {
  margin-bottom: 0;
  margin-top: 0;
}

/* ---------------------------------------------------------------- 9. Questions */
.ap2-faq {
  background: var(--ap2-paper);
}
.ap2-faq__inner {
  max-width: 980px;
}
.ap2-faq__list {
  padding: 0;
  width: auto;
}
.ap2-faq__list .section-title {
  display: none;
}
.ap2-faq__list .content-narrow {
  max-width: none;
  padding: 0;
}

/* ---------------------------------------------------------------- 10. Près de chez vous */
.ap2-places {
  background: #fff;
}
.ap2-places__inner {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.ap2-places__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.ap2-places__list a {
  color: var(--ap2-ink);
  font-family: var(--ap2-display);
  font-size: clamp(26px, 3vw, 40px);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ap2-places__list a::after {
  color: var(--ap-pink);
  content: " ·";
}
.ap2-places__list li:last-child a::after {
  content: none;
}
.ap2-places__list a:hover {
  color: var(--ap-pink-ink);
  text-decoration: underline wavy var(--ap-pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.ap2-contact {
  background: linear-gradient(135deg, var(--ap-pink) 0%, #b80a5c 60%, var(--ap2-ink) 130%);
  border-radius: 30px;
  box-shadow: var(--ap2-shadow-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 34px;
  position: relative;
}
.ap2-contact p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
}
.ap2-contact__title {
  color: #fff;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}
.ap2-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.ap2-sparkle {
  animation: ap2-twinkle 3s ease-in-out infinite;
  color: #fff;
  height: 44px;
  opacity: 0.85;
  position: absolute;
  right: 26px;
  top: 22px;
  width: 44px;
}

/* ---------------------------------------------------------------- Apparitions */
.ap2-up {
  animation: ap2-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--d, 0) * 0.12s + 0.1s);
}
.ap-js .ap-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 0.1s);
}
.ap-js .ap-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes ap2-rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes ap2-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes ap2-morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 44% 40% 60% 56%; }
  50% { border-radius: 56% 44% 42% 58% / 52% 58% 42% 48%; }
}
@keyframes ap2-twinkle {
  0%, 100% { transform: scale(1) rotate(0); }
  50% { transform: scale(1.25) rotate(20deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ap2-up,
  .ap2-hero__video-card,
  .ap2-sparkle,
  .ap2-scribble path {
    animation: none !important;
  }
  .ap2-scribble path {
    stroke-dashoffset: 0;
  }
  .ap-js .ap-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ap-btn,
  .ap2-way,
  .ap2-way__photo,
  .ap2-polaroid,
  .ap2-prof__photo,
  .ap2-preview,
  .ap2-quote {
    transition: none !important;
  }
}

/* ---------------------------------------------------------------- Petits écrans */
@media (max-width: 1023.98px) {
  .ap2-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ap2-hero__visual {
    margin: 24px 0 36px;
  }
  .ap2-hero__video-card {
    aspect-ratio: 16 / 11;
    margin: 0 4%;
  }
  .ap2-polaroid { width: 34%; }
  .ap2-polaroid--1 { bottom: -10%; left: -2%; }
  .ap2-polaroid--2 { right: -2%; top: -8%; }
  .ap2-polaroid--3 { display: none; }
  .ap2-hero__note { display: none; }
  .ap2-places__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767.98px) {
  .ap2-hero {
    padding-top: 24px;
  }
  .ap2-hero__title {
    font-size: clamp(38px, 11vw, 56px);
  }
  .ap2-hero__ctas .ap-btn--big {
    min-width: 0;
    width: 100%;
  }
  .ap2-polaroid figcaption {
    font-size: 17px;
  }
  .ap2-way {
    padding: 26px 22px 20px;
  }
  .ap2-way__num {
    font-size: 96px;
  }
  .ap2-sentence {
    font-size: 24px;
  }
  .ap2-sentence__go {
    width: 100%;
  }
  .ap2-disc__link {
    font-size: 26px;
  }
  .ap2-prof {
    flex-basis: 160px;
  }
  .ap2-quote::before {
    display: none;
  }
  .ap2-quote {
    padding-left: 0;
  }
  .ap2-contact {
    padding: 26px 22px;
  }
}

/* ---------------------------------------------------------------- Correctifs (priorité sur le thème) */
.path-frontpage .site-main .ap2-quote::before {
  background: transparent;
  display: block;
  height: auto;
  margin: 0;
  text-align: left;
  width: auto;
}
.path-frontpage .site-main .ap2-quote {
  border: 0;
  font-size: inherit;
  font-style: normal;
  margin: 0;
}
.ap2-contact__title {
  padding-right: 52px;
}
.ap2-sparkle {
  right: 20px;
  top: 18px;
}
.ap2-disc__link {
  flex-wrap: wrap;
}
.ap2-quotes__inner > .ap2-eyebrow,
.ap2-quotes__nav {
  padding-left: clamp(0px, 4vw, 56px);
}

/* ---------------------------------------------------------------- v2.1 : retours */
/* Chercheur : paires insécables, libellés courts, une seule ligne sur grand écran. */
.ap2-sentence {
  font-size: clamp(22px, 2.3vw, 32px);
  gap: 12px 10px;
}
.ap2-sentence__pair {
  align-items: baseline;
  display: inline-flex;
  gap: 10px;
  white-space: nowrap;
}
.ap2-sentence__go {
  margin-left: 4px;
}
/* Photos nettes : format 3/2 (style search_camps, 600×400). */
.ap2-preview {
  aspect-ratio: 3 / 2;
  width: 300px;
}
.ap2-polaroid img {
  aspect-ratio: 3 / 2;
}
/* Survol : trait de marqueur rose (plus de souligné ondulé). */
.ap2-disc__link:hover .ap2-disc__label,
.ap2-disc__link:focus-visible .ap2-disc__label,
.ap2-places__list a:hover {
  text-decoration: none;
}
.ap2-disc__label,
.ap2-places__list a {
  background-image: linear-gradient(100deg, rgba(229, 15, 111, 0.28), rgba(229, 15, 111, 0.28));
  background-position: 0 88%;
  background-repeat: no-repeat;
  background-size: 0% 0.38em;
  transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.2s ease;
}
.ap2-disc__link:hover .ap2-disc__label,
.ap2-disc__link:focus-visible .ap2-disc__label,
.ap2-places__list a:hover,
.ap2-places__list a:focus-visible {
  background-size: 100% 0.38em;
}
.ap2-places__list a {
  background-position: 0 92%;
  padding: 0 2px;
}

/* Bloc carte + secrétariat (hors .site-main). */
.ap2-office.aside-contact {
  background: var(--ap2-paper);
  display: block;
  font-family: var(--ap-font);
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
}
.ap2-office.aside-contact__head {
  margin-bottom: 32px;
}
.ap2-office.aside-contact .ap2-eyebrow {
  margin-bottom: 8px;
}
.ap2-office.aside-contact .ap2-h2 {
  font-family: var(--ap2-display);
  font-variation-settings: "SOFT" 60, "WONK" 1;
  letter-spacing: -0.015em;
}
.ap2-office.aside-contact .contact-map,
.ap2-office.aside-contact .contact-info {
  box-sizing: border-box;
  float: none;
  width: auto;
}
.ap2-office.aside-contact .contact-map {
  background: #fff;
  border: 8px solid #fff;
  border-radius: 26px;
  box-shadow: var(--ap2-shadow-lg);
  height: auto;
  margin: 0 auto;
  max-width: 1240px;
  overflow: hidden;
  padding: 0;
  transform: rotate(-1deg);
  width: calc(100% - 40px);
}
.ap2-office.aside-contact .contact-map .geolocation-map-container {
  border-radius: 18px;
  height: 420px !important;
  min-height: 420px;
}
.ap2-office.aside-contact .contact-info {
  background: transparent;
  margin: 44px auto 0;
  max-width: 1240px;
  padding: 0 20px;
}
.ap2-office.aside-contact .contact-content {
  display: grid;
  gap: 40px 60px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 0;
  width: auto;
}
.ap2-office.aside-contact .content {
  padding: 0;
}
.ap2-office.aside-contact .aside-title {
  border-bottom: 2px solid var(--ap2-ink);
  color: var(--ap2-ink);
  font-family: var(--ap2-display);
  font-size: 26px;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 10px;
}
.ap2-office.aside-contact .schedule {
  display: grid;
  gap: 6px 20px;
  grid-template-columns: max-content 1fr;
  margin: 0;
}
.ap2-office.aside-contact .schedule dt,
.ap2-office.aside-contact .schedule dd {
  margin: 0;
}
.ap2-office.aside-contact .schedule dt p {
  color: var(--ap2-ink);
  font-weight: 700;
}
.ap2-office.aside-contact .schedule p,
.ap2-office.aside-contact .content p {
  color: var(--ap-text);
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.ap2-office.aside-contact .content a {
  color: var(--ap-pink-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
/* Réseaux sociaux et newsletter sur le même papier. */
.site .aside-social {
  background: var(--ap2-paper);
  padding: 20px 0 48px;
}
.site .aside-social .title {
  color: var(--ap2-ink);
  font-family: var(--ap2-hand);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
  text-align: center;
}
.site .aside-social .social-list a {
  background: var(--ap2-ink);
  transition: transform 0.2s ease, background 0.2s ease;
}
.site .aside-social .social-list a:hover {
  background: var(--ap-pink);
  transform: translateY(-3px) rotate(-6deg);
}
@media (max-width: 767.98px) {
  .ap2-office.aside-contact .contact-map {
    transform: none;
  }
  .ap2-office.aside-contact .contact-map .geolocation-map-container {
    height: 300px !important;
    min-height: 300px;
  }
}
/* Horaires : on annule le flottant du thème. */
.ap2-office.aside-contact .contact-info .contact-content {
  background: transparent;
  display: grid;
  height: auto;
  padding: 0;
}
.ap2-office.aside-contact .contact-info .schedule dt {
  float: none;
  width: auto;
}
.ap2-office.aside-contact .contact-info .schedule dd {
  padding-left: 0;
}
.ap2-office.aside-contact .contact-info .schedule::after {
  content: none;
}
.ap2-office.aside-contact .contact-info .content {
  margin: 0 !important;
}

/* ---------------------------------------------------------------- Retours 3b : passe responsive */
/* Le nombre de cours reste à côté du nom de la discipline (le nom passe à la ligne s'il le faut). */
.ap2-disc__link {
  flex-wrap: nowrap;
}
.ap2-disc__label {
  min-width: 0;
}
@media (max-width: 767.98px) {
  /* Chiffres clés : pastilles compactes au lieu d'une liste. */
  .ap2-trust {
    font-size: 13.5px;
    gap: 8px;
  }
  .ap2-trust li {
    align-items: center;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(37, 2, 18, 0.08);
    border-radius: 999px;
    margin: 0;
    padding: 6px 12px;
  }
  .ap2-trust li + li::before {
    display: none !important;
  }
  /* Disciplines : liste plus serrée. */
  .ap2-disc__link {
    font-size: 23px;
    gap: 10px;
    padding: 5px 0;
  }
  .ap2-disc__count {
    font-size: 17px;
  }
  /* Pourquoi nous : blocs plus courts, icône à côté du titre. */
  .ap2-why__list {
    gap: 26px;
  }
  .ap2-why__item {
    column-gap: 12px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    padding-top: 14px;
    row-gap: 6px;
  }
  .ap2-why__icon {
    align-self: center;
    font-size: 24px;
    grid-column: 1;
    grid-row: 1;
  }
  .ap2-why__title {
    align-self: center;
    font-size: 21px;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding-right: 40px;
  }
  .ap2-why__text {
    font-size: 15px;
    grid-column: 1 / -1;
    line-height: 1.55;
  }
  .ap2-why__num {
    font-size: 24px;
    top: 16px;
  }
  /* Stages par art : carrousel horizontal au lieu de 4 cartes empilées. */
  .ap2-camps__list {
    padding-left: 0;
    padding-right: 0;
  }
  .ap2-cards.ap2-cards--home {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 20px 18px;
    scroll-padding-left: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ap2-cards.ap2-cards--home::-webkit-scrollbar {
    display: none;
  }
  .ap2-cards--home > li {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  /* Questions fréquentes : questions moins imposantes. */
  .camps-faq .collapsible .title,
  .ap2-faqpage .collapsible .title {
    font-size: 18px;
    line-height: 1.3;
  }
  .ap2-places__list a {
    font-size: 26px;
  }
}
@media (max-width: 767.98px) {
  .ap2-hero .ap2-trust > li {
    font-size: 13.5px;
    line-height: 1.3;
    padding: 6px 12px !important;
  }
}

/* ---------------------------------------------------------------- Retours 5 */
/* Photos des deux cartes « cours / stages » cliquables. */
a.ap2-way__photo {
  cursor: pointer;
  display: block;
  text-decoration: none;
}

/* Paroles de familles : une feuille scotchée sur fond rose pâle (plus de fond sombre). */
.ap2-quotes {
  background: radial-gradient(700px 420px at 92% 8%, rgba(229, 15, 111, 0.12), transparent 65%),
              radial-gradient(640px 420px at 6% 96%, rgba(0, 161, 140, 0.1), transparent 65%),
              var(--ap-pink-tint);
  color: var(--ap2-ink);
}
.ap2-quotes__inner {
  align-items: center;
  gap: 26px;
  max-width: 1040px;
}
.ap2-quotes__inner > .ap2-eyebrow,
.ap2-quotes__nav {
  padding-left: 0;
}
.ap2-quotes .ap2-eyebrow {
  color: var(--ap-pink-ink);
  font-size: clamp(26px, 2.6vw, 34px);
  margin: 0;
}
.ap2-quotes__stage {
  background: #fffdf9;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(37, 2, 18, 0.12), 0 4px 10px rgba(37, 2, 18, 0.05);
  box-sizing: border-box;
  min-height: 0;
  padding: clamp(40px, 5vw, 64px) clamp(26px, 6vw, 80px) clamp(32px, 4vw, 48px);
  transform: rotate(-1deg);
  width: 100%;
}
.ap2-quotes__stage > .ap2-tape {
  top: -13px;
  width: 120px;
}
.path-frontpage .site-main .ap2-quote {
  padding: 0;
}
.path-frontpage .site-main .ap2-quote::before {
  color: var(--ap-pink);
  font-size: clamp(90px, 9vw, 140px);
  left: clamp(-58px, -4.4vw, -24px);
  opacity: 0.85;
  top: -8px;
}
.ap2-quote__text {
  color: var(--ap2-ink);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.3;
}
.ap2-quote__who {
  color: var(--ap-muted);
}
.ap2-quote__who strong {
  color: var(--ap2-ink);
}
.ap2-quote .ap-stars {
  color: #f2a900;
}
.ap2-quotes__nav {
  justify-content: center;
}
.ap2-quotes__dots i {
  background: rgba(37, 2, 18, 0.2);
}
.ap2-quotes__dots i.is-active {
  background: var(--ap-pink);
}
@media (max-width: 767.98px) {
  .ap2-quotes__stage {
    transform: none;
  }
  .ap2-quotes__dots {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .path-frontpage .site-main .ap2-quote::before {
    display: none;
  }
}
.ap2-quotes__stage > .ap2-tape {
  background: rgba(214, 240, 235, 0.95);
}
