/* Scolarités & Orientations. Mobile-first, light theme only. */

/* Polices hébergées sur le site (licence SIL OFL, voir assets/fonts). */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lexend-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/lexend-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/lexend-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lexend-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --bg: #F8F6F2;
  --surface: #FFFFFF;
  --ink: #1E1A36;
  --muted: #5E5878;
  --purple: #5B3EA6;
  --purple-dark: #4A3189;
  --lavender: #EEE8FB;
  --border: #DCD4F0;

  --font-heading: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --section-space: 64px;
  --radius-card: 20px;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 1.6rem + 2.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.75rem, 1.5rem + 1.3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
}

a { color: var(--purple); }
a:hover { color: var(--purple-dark); }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible,
.copy-btn:focus-visible { border-radius: 999px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--purple);
  color: #FFFFFF;
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; color: #FFFFFF; }

.container {
  width: 100%;
  max-width: 1136px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-purple { color: var(--purple); }

.eyebrow {
  margin-bottom: 8px;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 24px;
  border: 1.5px solid var(--purple);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--solid { background: var(--purple); color: #FFFFFF; }
.btn--solid:hover { background: var(--purple-dark); border-color: var(--purple-dark); color: #FFFFFF; }

.btn--outline { background: transparent; color: var(--purple); }
.btn--outline:hover { background: var(--lavender); color: var(--purple-dark); }

.btn--small { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.brand:hover { color: var(--ink); }
.brand__mark { flex: none; width: 40px; height: 40px; }

/* Compass logo. The ring draws in here on load; the rose's movement lives in script.js.
   The resting state is the finished logo, so the reduced-motion rule below leaves it intact. */
.compass__ring { animation: compass-draw 0.9s ease-out 0.1s backwards; }
.compass__ticks { animation: compass-fade 0.5s ease-out 0.7s backwards; }

/* The dash only exists while drawing: left on at rest, it shows a seam at the top of the ring */
@keyframes compass-draw {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

@keyframes compass-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-nav { flex: none; display: flex; align-items: center; gap: 28px; }

.site-nav__link {
  display: none;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 6px;
}

.site-nav__link:hover { color: var(--purple); text-decoration: underline; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 48px 290px;
}

/* Chalk photo, faded into the page. Small screens: a strip below the text. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 280px;
  background: url("assets/hero-chalk.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 80%, transparent);
}

.hero__grid { display: grid; gap: 40px; }

.sparkle { width: 24px; height: 24px; margin-bottom: 16px; fill: var(--purple); }

.hero__kicker {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
}

.underline-bar {
  display: block;
  width: 56px;
  height: 4px;
  margin-block: 24px;
  border-radius: 2px;
  background: var(--purple);
}

.hero__lede { max-width: 58ch; color: var(--muted); font-size: 1.125rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Chalk divider: the only place the chalk colors are used */
.chalk {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-block: 8px 48px;
}

.chalk span { width: 40px; height: 6px; border-radius: 999px; }
.chalk span:nth-child(1) { background: #E7779A; }
.chalk span:nth-child(2) { background: #EFA25A; }
.chalk span:nth-child(3) { background: #E9C95B; }
.chalk span:nth-child(4) { background: #7DBF7A; }
.chalk span:nth-child(5) { background: #5AA6DE; }
.chalk span:nth-child(6) { background: #8E6BD1; }

/* Bands and sections */
.band { background: var(--lavender); padding-block: var(--section-space); }
.section { padding-block: var(--section-space); }
.section--flush-top { padding-top: 0; }

.conviction__text {
  max-width: 28em;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.25rem + 1.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.35;
}

.conviction__text strong { color: var(--purple); font-weight: 700; }

/* À propos */
.about { display: grid; gap: 32px; margin-top: 32px; }

.portrait {
  position: relative;
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--lavender);
}

.portrait__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.figure dt {
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 1.75rem + 2.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
}

.figure dd { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.4; }

.about__text { display: grid; gap: 16px; max-width: 65ch; margin-top: 28px; }

/* Accompagnements */
.offers { display: grid; gap: 20px; margin-top: 32px; }

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.card__label {
  margin-top: 4px;
  color: var(--purple);
  font-family: var(--font-heading);
  font-weight: 600;
}

.card__note { color: var(--muted); }

.pills { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 20px; }

.pills li {
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.35;
}

.card--stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-color: var(--purple);
  background: var(--lavender);
}

/* Contact */
.contact__grid { display: grid; gap: 32px; }

.contact__intro { max-width: 40ch; margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

.contact__phone {
  display: inline-block;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.contact__phone:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

.contact-list {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label  copy"
    "value  value";
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  padding: 14px 16px;
}

.contact-row + .contact-row { border-top: 1px solid var(--border); }

.contact-row__label { grid-area: label; color: var(--muted); font-size: 0.9375rem; }

.contact-row__value {
  grid-area: value;
  min-width: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-row__value a { text-underline-offset: 3px; }

.copy-btn {
  grid-area: copy;
  min-width: 5.25rem;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  background: var(--surface);
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.copy-btn:hover, .copy-btn.is-copied { background: var(--lavender); }
.copy-btn[hidden] { display: none; }

/* Footer */
.site-footer { padding-block: 32px; }

.site-footer__inner { display: grid; gap: 8px; }

.site-footer__tagline { font-family: var(--font-heading); font-weight: 500; }

.site-footer__legal { color: var(--muted); font-size: 0.9375rem; }

/* Tablet and up */
@media (min-width: 600px) {
  :root { --gutter: 24px; --section-space: 80px; }

  .brand { font-size: 1.0625rem; }

  .conviction__close { white-space: nowrap; }

  .contact-row {
    grid-template-areas:
      "label  copy"
      "value  copy";
    padding: 14px 20px;
  }

  .card { padding: 32px; }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 24px;
  }
}

/* Header links need room: "Scolarités & Orientations" plus three items */
@media (min-width: 720px) {
  .site-nav__link { display: inline; }
}

/* Desktop */
@media (min-width: 900px) {
  :root { --gutter: 32px; --section-space: 96px; }

  .hero { padding-block: 72px 56px; }

  /* Photo fills the right side, starting just past the end of the text column */
  .hero::before {
    inset: 0 0 0 calc(50% + 72px);
    height: auto;
    -webkit-mask-image:
      linear-gradient(to right, transparent, #000 55%),
      linear-gradient(to bottom, #000 80%, transparent);
    mask-image:
      linear-gradient(to right, transparent, #000 55%),
      linear-gradient(to bottom, #000 80%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 64px;
  }

  .about { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; margin-top: 40px; }
  .portrait { max-width: 240px; }

  .offers { grid-template-columns: 1fr 1fr; margin-top: 40px; }

  .card--stage {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .card--stage .btn { flex: none; }

  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; }
}

/* Short desktop screens (laptops, zoomed displays): keep the hero and its buttons above the fold */
@media (min-width: 900px) and (max-height: 760px) {
  h1 { font-size: 2.75rem; }

  .hero { padding-block: 48px 24px; }

  .sparkle { width: 20px; height: 20px; margin-bottom: 12px; }

  .hero__kicker { margin-bottom: 4px; }

  .underline-bar { margin-block: 20px; }

  .hero__actions { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------------ V2 */

/* Draft marks: delete .draft-banner and the <mark class="todo"> tags before going live */
.draft-banner {
  margin: 0;
  padding: 6px var(--gutter);
  background: #FFF4C2;
  color: #5C4A00;
  font-size: 0.875rem;
  text-align: center;
}
mark.todo {
  padding: 0 4px;
  border-radius: 4px;
  background: #FFE98A;
  color: #4A3B00;
  font-weight: 400;
}

/* "Vous êtes" and mobile menu dropdowns */
.site-nav { gap: 12px; }
.dropdown { position: relative; }
.dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--purple);
  border-radius: 999px;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.dropdown__toggle::-webkit-details-marker { display: none; }
.dropdown__toggle:hover, .dropdown[open] > .dropdown__toggle { background: var(--lavender); }
.chevron { width: 12px; height: 12px; transition: transform 0.15s ease; }
.dropdown[open] .chevron { transform: rotate(180deg); }
.dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  width: min(340px, calc(100vw - 2 * var(--gutter)));
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(30, 26, 54, 0.14);
}
.dropdown__item {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.dropdown__item:hover, .dropdown__item[aria-current="page"] { background: var(--lavender); color: var(--ink); }
.dropdown__item strong { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }
.dropdown__item span { color: var(--muted); font-size: 0.9375rem; line-height: 1.4; }
.site-nav__cta { display: none; }
.site-nav__link[aria-current="page"] { color: var(--purple); text-decoration: underline; }

@media (min-width: 600px) { .dropdown:not(.dropdown--menu) .dropdown__panel { left: 0; right: auto; } }
@media (min-width: 900px) {
  .site-nav { gap: 24px; }
  .site-nav__cta { display: inline-flex; }
  .dropdown--menu { display: none; }
}
@media (max-width: 899px) { .site-nav__link { display: none !important; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* Homepage "Vous êtes" choice */
.choice__label { margin-top: 32px; font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; }
.choice { display: grid; gap: 12px; margin-top: 12px; max-width: 640px; }
.choice__card {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 56px 18px 20px;
  border: 1.5px solid var(--purple);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.choice__card:hover { background: var(--lavender); color: var(--ink); }
.choice__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.choice__text { color: var(--muted); font-size: 0.9375rem; }
.choice__go { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--purple); font-size: 1.5rem; }
@media (min-width: 600px) { .choice { grid-template-columns: 1fr 1fr; } }

/* Engagements band on the homepage */
.commit-band {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1.5px solid var(--purple);
  border-radius: var(--radius-card);
  background: var(--surface);
  justify-items: start;
}
.commit-band h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.commit-list { display: grid; gap: 16px; width: 100%; }
.commit-list li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--purple); }
.commit-list strong { font-family: var(--font-heading); }
.commit-list span { color: var(--muted); font-size: 1rem; }
@media (min-width: 900px) {
  .commit-band { grid-template-columns: 1fr 1.6fr; align-items: start; padding: 40px; column-gap: 48px; }
  .commit-list { grid-template-columns: 1fr 1fr; }
  .commit-band .btn { grid-column: 1; grid-row: 2; }
  .commit-band .commit-list { grid-column: 2; grid-row: 1 / span 2; }
}

/* Inner page hero */
.page-hero { padding-block: 40px 24px; }
.page-hero--legal { padding-bottom: 32px; }
.page-hero--legal h1 { font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem); }
.page-hero--legal .hero__lede { margin-top: 16px; }
.breadcrumb { margin-bottom: 20px; color: var(--muted); font-size: 0.9375rem; }
.breadcrumb a { color: var(--muted); }
@media (min-width: 900px) { .page-hero { padding-block: 64px 32px; } }

/* Shared blocks */
.tiles { display: grid; gap: 16px; margin-top: 32px; }
.tiles li, .note-card {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.tiles strong { font-family: var(--font-heading); font-size: 1.125rem; line-height: 1.3; }
.tiles span { color: var(--muted); }
@media (min-width: 600px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, 1fr); } }

.card__price { margin-top: 20px; font-size: 0.9375rem; }
.card--link { display: grid; gap: 8px; align-content: start; justify-items: start; }
.card--link .pills { margin-block: 12px 16px; }
.offers--tight { margin-top: 12px; }
.offers--tight .card h3 { font-size: 1.125rem; }

.steps { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 20px 20px 20px 72px;
  border-radius: var(--radius-card);
  background: var(--surface);
  counter-increment: step;
}
.steps--plain li { border: 1px solid var(--border); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--purple);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
}
.steps strong { font-family: var(--font-heading); font-size: 1.0625rem; }
.steps span { color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.two-col { display: grid; gap: 20px; margin-top: 32px; }
.two-col--wide { margin-top: 0; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 32px; } .two-col--wide { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.note-card h3 { margin-bottom: 8px; }
.note-card p + p { margin-top: 8px; }
.lead-text { max-width: 60ch; margin-top: 20px; color: var(--muted); font-size: 1.125rem; }

.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 700; }
.checks--neutral li::before { content: "–"; color: var(--muted); }

.small-print { max-width: 75ch; margin-top: 28px; color: var(--muted); font-size: 0.9375rem; }

.group-label { margin: 32px 0 12px; color: var(--purple); font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.pills--flush { margin-top: 0; }
.pills li { background: var(--surface); }
.feature { margin-top: 28px; padding: 24px; border: 1.5px solid var(--purple); border-radius: var(--radius-card); background: var(--surface); }
.feature__title { color: var(--purple); font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9375rem; }
.numbered { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: n; }
.numbered li { counter-increment: n; display: flex; gap: 16px; font-size: 1.0625rem; }
.numbered li::before { content: counter(n); color: var(--purple); font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }

/* Engagements page */
.engagements { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: eng; }
.engagements li {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  counter-increment: eng;
}
.engagements li::before {
  content: counter(eng, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}
.engagements h2 { font-size: 1.375rem; margin-bottom: 8px; }
.engagements p { color: var(--muted); }
@media (min-width: 700px) { .engagements { grid-template-columns: 1fr 1fr; } }

/* Legal pages */
.prose { max-width: 820px; }
.prose h2 { margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--border); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); }
.prose h3 { margin: 28px 0 8px; font-size: 1.125rem; }
.prose p, .prose ul { margin-bottom: 12px; }
.prose ul:not(.checks) { padding-left: 1.25em; list-style: disc; }
.prose ul li + li { margin-top: 6px; }
.prose .steps { grid-template-columns: 1fr; margin-top: 16px; }
.legal-list { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin-bottom: 12px; }
.legal-list dt { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }
.legal-list dd { margin: 0; font-weight: 700; }
@media (min-width: 600px) { .legal-list { grid-template-columns: 220px 1fr; } .legal-list dt { margin-top: 0; } }

.toc { margin-bottom: 8px; padding: 20px 24px; border-radius: var(--radius-card); background: var(--lavender); }
.toc__title { margin-bottom: 8px !important; font-family: var(--font-heading); font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.25em; }

.mediator-card { margin: 16px 0 24px; padding: 24px; border: 2px solid var(--purple); border-radius: var(--radius-card); background: var(--lavender); }
.mediator-card p { margin-bottom: 6px; }
.mediator-card__name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.mediator-card__free { margin-top: 12px; color: var(--purple); font-weight: 700; }

.table-wrap { overflow-x: auto; margin-bottom: 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.9375rem; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; }
thead th { background: var(--lavender); font-family: var(--font-heading); font-weight: 600; }
tbody tr + tr td { border-top: 1px solid var(--border); }

.form-model { padding: 24px; border: 1px dashed var(--muted); border-radius: 12px; background: var(--surface); }

/* Footer V2 */
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { color: var(--ink); font-size: 0.9375rem; }
.footer-nav a:hover { color: var(--purple); }
.site-footer { border-top: 1px solid var(--border); }
.site-footer__mediation { margin-top: 20px; max-width: 80ch; color: var(--muted); font-size: 0.9375rem; }
.site-footer__legal { margin-top: 12px; }
@media (min-width: 600px) { .site-footer__inner { grid-template-columns: 1fr; } }
@media (min-width: 1000px) { .site-footer__inner { grid-template-columns: auto 1fr; } .footer-nav { justify-content: flex-end; } }
.price { color: var(--purple); font-family: var(--font-heading); font-size: 1.375rem; margin-right: 4px; }
.card__price .card__note { display: block; margin-top: 4px; }

/* Workshops: click a workshop to show its sessions */
.workshops__hint { margin-top: 16px; color: var(--muted); font-size: 0.9375rem; }
.workshops { display: grid; gap: 10px; margin-top: 12px; }
.workshop { border: 1.5px solid var(--ink); border-radius: 24px; background: var(--surface); }
.workshop[open] { border-color: var(--purple); background: var(--bg); }
.workshop summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  cursor: pointer;
  list-style: none;
  line-height: 1.35;
}
.workshop summary::-webkit-details-marker { display: none; }
.workshop summary:hover { color: var(--purple); }
.workshop summary:focus-visible { border-radius: 24px; }
.workshop__hint {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple);
  font-weight: 700;
}
.workshop__hint::before { content: "+"; }
.workshop[open] .workshop__hint { background: var(--purple); color: #FFFFFF; }
.workshop[open] .workshop__hint::before { content: "–"; }
.workshop[open] summary { color: var(--purple); font-weight: 700; }
.sessions { display: grid; gap: 10px; margin: 0; padding: 4px 18px 18px; list-style: none; }
.sessions li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--border); font-size: 0.9375rem; line-height: 1.45; }
.sessions__n { color: var(--purple); font-family: var(--font-heading); font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
@media (min-width: 900px) { .offers > .card { align-self: start; } }
.workshop__count { color: var(--muted); font-weight: 400; white-space: nowrap; }
.card__label .card__note { font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; }

/* Contact call to action (replaces the coordinates block) */
.contact-cta { display: grid; gap: 28px; align-items: center; }
.contact-cta__action { display: grid; gap: 10px; justify-items: start; }
.contact-cta__note { color: var(--muted); font-size: 0.9375rem; }
.btn--large { min-height: 56px; padding: 14px 32px; font-size: 1.0625rem; }
@media (min-width: 900px) { .contact-cta { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; } .contact-cta__action { justify-items: end; text-align: right; } }

/* Contact form */
.contact-form { display: grid; gap: 24px; max-width: 760px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
@media (min-width: 600px) { .contact-form { padding: 40px; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; }
.field--choice { margin: 0; padding: 0; border: 0; }
.field--choice legend { margin-bottom: 10px; }
.req { color: var(--purple); }
.field__opt { color: var(--muted); font-weight: 400; font-size: 0.875rem; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #B9AFD6;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lavender); border-color: var(--purple); }
.was-checked :invalid { border-color: #C0392B; }
.field[hidden] { display: none; }
.radio-cards { display: grid; gap: 10px; }
@media (min-width: 600px) { .radio-cards { grid-template-columns: 1fr 1fr; } }
.radio-card { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; font-weight: 400; line-height: 1.35; }
.radio-card:has(input:checked) { border-color: var(--purple); background: var(--lavender); }
.radio-card input, .consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--purple); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-error { color: #A12A1E; font-weight: 700; }
.form-error[hidden], .form-status[hidden], .contact-form[hidden] { display: none; }
.form-status { max-width: 760px; margin-bottom: 20px; padding: 18px 22px; border-radius: 14px; }
.form-status--ok { background: #E6F4EA; color: #1E5631; }
.form-status--error { background: #FBEAE8; color: #8A231A; }

/* Instagram and LinkedIn */
.contact-cta__follow { margin-top: 12px; font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; }
.social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.social a:hover { color: var(--purple); }
.social svg { flex: none; width: 22px; height: 22px; color: var(--purple); }
.social--footer { margin-top: 8px; }
.social--footer a { font-weight: 400; font-size: 0.9375rem; }
@media (min-width: 900px) { .contact-cta__action .social { justify-content: flex-end; } }
.stage-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.stage-facts li { position: relative; padding-left: 14px; }
.stage-facts li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }

@media (min-width: 600px) { .radio-cards { grid-template-columns: 1fr 1fr 1.6fr; } }

/* Parent contact, shown when a student fills the form */
.parent-box { margin: 0; padding: 20px; border: 1.5px solid var(--purple); border-radius: 14px; background: var(--lavender); }
.parent-box legend { padding: 0 6px; }
.parent-box__intro { margin-bottom: 14px; color: var(--muted); font-size: 0.9375rem; }
.parent-box[hidden] { display: none; }
.about__role { margin-top: 6px; color: var(--purple); font-family: var(--font-heading); font-size: 1.0625rem; font-weight: 500; }

/* Inscription en ligne aux ateliers collectifs */
.card__next { margin-top: 12px; font-size: 0.9375rem; }
.booking__intro { max-width: 46rem; margin-top: 12px; color: var(--muted); }
.booking__slots { margin-top: 24px; }
.booking__slot { display: grid; gap: 8px; align-content: start; justify-items: start; }
.booking__slot .btn { margin-top: 8px; }
.booking__slot .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.booking__todo { font-size: 0.875rem; }
.booking__terms { margin-top: 24px; max-width: 46rem; }
.booking__hint { margin-top: 8px; font-size: 0.875rem; color: var(--muted); }
.booking__steps { margin-top: 24px; max-width: 46rem; padding-left: 1.25em; display: grid; gap: 8px; }
.booking__note { margin-top: 16px; max-width: 46rem; }
.booking__full { margin-top: 16px; }
