/* ==========================================================================
   neopsym — Landing recrutement
   Valeurs reprises telles quelles de « Atypical Group - Landing v8.dc.html ».
   ========================================================================== */

:root {
  --off-white: #FAFAF8;
  --white: #FFFFFF;
  --ink: #101014;
  --muted: #4A4E57;
  --faint: #85898F;
  --indigo-pale: #C8CBE6;
  --indigo-deep: #2A2F55;
  --green-pale: #C9DFC6;
  --grey-pale: #E9EBEF;
  --error: #4A3355;

  --hairline: rgba(16, 16, 20, 0.12);
  --hairline-strong: rgba(16, 16, 20, 0.22);

  --font-display: 'Familjen Grotesk', 'Helvetica Neue', Helvetica, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  --shell: 1440px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --gutter-nav: clamp(20px, 5vw, 72px);
  --section-y: clamp(56px, 7vw, 104px);

  /* Mesurée au runtime (assets/js/site.js) ; le repli couvre le rendu sans JS. */
  --header-h: 78px;
}

/* ---------- Socle ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  /* `clip` et non `hidden` : `hidden` créerait un conteneur de défilement
     et casserait le `position: sticky` du header. */
  overflow-x: clip;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }

::selection { background: var(--indigo-deep); color: var(--off-white); }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--indigo-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.section--indigo :focus-visible { outline-color: var(--off-white); }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  translate: -50% -140%;
  z-index: 100;
  background: var(--ink);
  color: var(--off-white);
  padding: 12px 22px;
  border-radius: 0 0 999px 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: translate 0.18s ease;
}
.skip-link:focus-visible { translate: -50% 0; color: var(--off-white); }

/* ---------- Primitives ---------- */

.shell { max-width: var(--shell); margin: 0 auto; }

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 clamp(14px, 1.8vw, 22px);
}
.eyebrow--hero { margin-bottom: clamp(28px, 3.5vw, 44px); }
.eyebrow--onDark { color: rgba(250, 250, 248, 0.6); }
.eyebrow--faint { color: var(--faint); margin-bottom: clamp(20px, 2.4vw, 28px); }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
}
.h2--narrow { max-width: 18ch; margin-bottom: clamp(28px, 3.4vw, 44px); }
.h2--medium { max-width: 26ch; margin-bottom: 18px; }
.h2--gap18 { margin-bottom: 18px; }
.h2--gap { margin-bottom: clamp(24px, 3vw, 36px); }
.h2--tight {
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1;
  margin-bottom: 16px;
  text-wrap: wrap;
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.lede--wide { max-width: 62ch; }

.serif-lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--off-white);
  margin: 0 0 clamp(32px, 4vw, 48px);
  max-width: 34ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.btn--dark {
  background: var(--ink);
  color: var(--off-white);
  padding: 13px 24px;
}
.btn--dark:hover { opacity: 0.82; color: var(--off-white); }
.btn--outline {
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 16px 32px;
}
.btn--outline:hover { background: rgba(16, 16, 20, 0.07); color: var(--ink); }
.btn--lg { font-size: 11.5px; padding: 17px 32px; }
.btn--outline.btn--lg { padding: 16px 32px; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
}
.link-cta:hover { color: var(--muted); border-bottom-color: var(--muted); }

.link-inline { border-bottom: 1px solid var(--ink); }
.link-inline:hover { border-bottom-color: var(--muted); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter-nav);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo__dot { color: var(--indigo-deep); }

.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(16, 16, 20, 0.3);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger__bar { width: 18px; height: 1.5px; background: var(--ink); display: block; }

.nav-panel {
  background: var(--white);
  padding: 4px var(--gutter-nav) 24px;
  display: flex;
  flex-direction: column;
}
.nav-panel[hidden] { display: none; }
.nav-panel a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 0;
  border-top: 1px solid rgba(16, 16, 20, 0.1);
}
.nav-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--off-white);
  padding: 17px 24px !important;
  border-radius: 999px;
  margin-top: 20px;
  border-top: 0 !important;
  font-size: 11px !important;
  font-weight: 600;
}
.nav-panel__cta:hover { color: var(--off-white); opacity: 0.82; }

/* ---------- Hero ---------- */

.hero { background: var(--indigo-pale); color: var(--ink); }

.hero__inner {
  padding: clamp(56px, 7vw, 104px) clamp(20px, 4.5vw, 64px) clamp(48px, 6vw, 84px);
}

.hero__body { max-width: 1180px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 7.2vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0 0 clamp(24px, 3vw, 36px);
  text-wrap: balance;
}

.hero__sub {
  font-size: clamp(1.05rem, 2.1vw, 30.4px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 clamp(32px, 4vw, 44px);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Bande spectre ---------- */

.spectrum { display: flex; height: 12px; width: 100%; }
.spectrum > div { flex: 1; }

/* ---------- Sections ---------- */

.section { scroll-margin-top: calc(var(--header-h) + 16px); }
.section--light { background: var(--off-white); color: var(--ink); }
.section--green { background: var(--green-pale); color: var(--ink); }
.section--grey { background: var(--grey-pale); color: var(--ink); }
.section--indigo { background: var(--indigo-deep); color: var(--off-white); }

.section__inner { padding: var(--section-y) var(--gutter); }

.section__head { margin-bottom: clamp(32px, 4vw, 52px); }
#lieu .section__head, #faq .section__head { margin-bottom: clamp(28px, 3.4vw, 44px); }

.section__note {
  margin: clamp(28px, 3vw, 40px) 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}

.section__fineprint {
  margin: clamp(32px, 3.5vw, 48px) 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.section__fineprint span { color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

/* ---------- 01 Postes ---------- */

.postes { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); }

.poste {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto auto;
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 14px;
  align-items: center;
  background: var(--white);
  border-radius: 24px;
  padding: clamp(20px, 2.4vw, 28px) clamp(22px, 2.6vw, 32px);
  box-shadow: 0 20px 40px -26px rgba(16, 16, 20, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.poste:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 56px -26px rgba(16, 16, 20, 0.5);
}

.poste__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.9vw, 1.65rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: pretty;
}
.poste__title a { color: inherit; }
.poste:hover .poste__title a { color: var(--muted); }
.poste__meta {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 42ch;
  text-wrap: pretty;
}
.poste__ville {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
}

/* ---------- 02 Cartes ---------- */

.qui-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.card {
  background: var(--white);
  border-radius: 28px;
  padding: clamp(20px, 2.2vw, 30px);
  box-shadow: 0 24px 48px -28px rgba(16, 16, 20, 0.45);
}
.card--stack { display: flex; flex-direction: column; gap: 14px; }

.card__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- 03 Volets ---------- */

.volets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
  align-items: stretch;
}

.volet {
  background: var(--white);
  border-radius: 32px;
  padding: clamp(22px, 2.4vw, 32px);
  box-shadow: 0 22px 44px -26px rgba(16, 16, 20, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.volet:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 64px -26px rgba(16, 16, 20, 0.5);
}
.volet--full { grid-column: 1 / -1; background: var(--indigo-pale); }

.volet__kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.volet--full .volet__kicker { color: var(--muted); }

.volet__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}

.volet__intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  min-height: 3.1em;
  max-width: 34ch;
  text-wrap: pretty;
}
.volet__intro--wide { min-height: 0; max-width: 52ch; color: var(--indigo-deep); }

.points { display: flex; flex-direction: column; margin-top: 12px; }
.points--two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  column-gap: clamp(24px, 3vw, 48px);
}

.point {
  padding: 16px 0;
  padding-left: 0;
  border-top: 1px solid var(--hairline);
  transition: padding-left 0.2s ease;
}
.point:hover { padding-left: 10px; }
.volet--full .point { border-top-color: rgba(16, 16, 20, 0.18); }

.point__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  text-wrap: pretty;
}
.point__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}
.volet--full .point__text { color: var(--indigo-deep); }

/* ---------- 04 Le lieu ---------- */

.lieu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(16px, 1.8vw, 24px);
}

.lieu-media {
  position: relative;
  margin: 0;
  height: clamp(280px, 30vw, 460px);
  overflow: hidden;
  background: #DDE1E9;
}
.lieu-media--tall { border-radius: 36px; }
.lieu-media--small { border-radius: 32px; }
.lieu-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 05 FAQ ---------- */

.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid rgba(16, 16, 20, 0.14); }
.faq__h { margin: 0; font-size: inherit; font-weight: inherit; }

.faq__q {
  width: 100%;
  display: flex;
  gap: 24px;
  align-items: baseline;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: clamp(20px, 2.4vw, 28px) 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  color: var(--ink);
}
.faq__label {
  font-weight: 600;
  font-size: clamp(1.1rem, 1.9vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}
.faq__sign {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.faq__panel[hidden] { display: none; }
.faq__a {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  padding: 0 48px clamp(24px, 3vw, 32px) 0;
  max-width: 66ch;
  text-wrap: pretty;
}

/* ---------- 06 Échange ---------- */

.reassure {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-width: 46ch;
  border-top: 1px solid rgba(250, 250, 248, 0.24);
}
.reassure li {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(250, 250, 248, 0.82);
  padding: 16px 0;
  border-bottom: 1px solid rgba(250, 250, 248, 0.16);
}

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 32px;
  padding: clamp(24px, 2.6vw, 34px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.form-card[hidden] { display: none; }

.fields { display: flex; flex-direction: column; gap: 4px; }
.field { margin: 0; }

.control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline-strong);
  padding: 15px 0;
  outline: none;
  border-radius: 0;
  transition: border-bottom-color 0.18s ease;
}
.control::placeholder { color: var(--faint); }
.control:focus { border-bottom-color: var(--ink); }
.control:focus-visible { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }

.select {
  appearance: none;
  -webkit-appearance: none;
  color: var(--faint);
  cursor: pointer;
  /* Écart assumé : la source retire le chevron natif sans le remplacer, ce qui
     rend le menu déroulant indistinguable d'un champ texte. Supprimer ce bloc
     pour revenir à l'original. */
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23101014' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
.select[data-filled] { color: var(--ink); }
.select option { color: var(--ink); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
  margin: 18px 0 6px;
  max-width: 60ch;
}
.consent input {
  margin-top: 3px;
  accent-color: var(--ink);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.consent a { color: var(--ink); border-bottom: 1px solid rgba(16, 16, 20, 0.4); }

.submit {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--off-white);
  border: none;
  border-radius: 999px;
  padding: 18px 30px;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.submit:hover { opacity: 0.86; }
.submit:active { opacity: 0.75; }
.submit[disabled] { opacity: 0.55; cursor: progress; }

/* Tant que le consentement n'est pas coché. aria-disabled plutôt que
   l'attribut disabled : le bouton reste cliquable et focalisable, donc un clic
   explique pourquoi il ne part pas. Un bouton réellement désactivé n'annonce
   rien aux lecteurs d'écran et ne réagit à aucun clic. */
.submit[aria-disabled="true"] { opacity: 0.45; }
.submit[aria-disabled="true"]:hover { opacity: 0.45; }

/* Champ piège. Hors écran plutôt que display:none : certains robots ignorent
   les champs masqués et rempliraient quand même celui-ci. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error { font-size: 13.5px; color: var(--error); margin: 12px 0 0; }
.form-error[hidden] { display: none; }

.form-note {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 16px 0 0;
}

.done__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.done__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
  text-wrap: pretty;
}

/* ---------- Footer ---------- */

.footer { background: var(--off-white); color: var(--ink); }
.footer__inner { padding: clamp(44px, 5vw, 72px) var(--gutter) 28px; }
.footer .split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); }

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}
.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.4;
  margin: 0 0 10px;
}

.footer__cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 15px; }
.footer__colTitle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer__rule {
  height: 1px;
  width: 100%;
  margin-top: clamp(40px, 5vw, 64px);
  background: rgba(16, 16, 20, 0.10);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Pages légales ---------- */

.legal { background: var(--off-white); }
.legal__inner { padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 104px); }

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.legal__back:hover { color: var(--ink); }

.legal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.legal__meta {
  font-size: 13px;
  color: var(--faint);
  margin: 0 0 clamp(32px, 4vw, 48px);
}

.legal__toc {
  max-width: 74ch;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  margin: 0 0 clamp(36px, 4.5vw, 56px);
}
.legal__toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
.legal__toc li { font-size: 14.5px; line-height: 1.9; break-inside: avoid; }
.legal__toc a { color: var(--muted); }
.legal__toc a:hover { color: var(--ink); }

.legal__body { max-width: 74ch; }

.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: clamp(40px, 4.5vw, 60px) 0 14px;
  scroll-margin-top: calc(var(--header-h) + 24px);
  text-wrap: balance;
}
.legal__body h2:first-child { margin-top: 0; }

.legal__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 28px 0 8px;
}

.legal__body p,
.legal__body li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 14px; padding-left: 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--ink); border-bottom: 1px solid rgba(16, 16, 20, 0.35); }
.legal__body a:hover { border-bottom-color: var(--muted); }
.legal__body strong { color: var(--ink); font-weight: 600; }

/* Blocs de faits (éditeur, hébergeur, responsable de traitement, poste en bref). */
.legal__facts,
.facts {
  margin: 0 0 18px;
  padding: 20px 22px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 18px 36px -28px rgba(16, 16, 20, 0.4);
  display: grid;
  grid-template-columns: minmax(0, 15em) minmax(0, 1fr);
  gap: 10px 24px;
}
.legal__facts dt,
.facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 4px;
}
.legal__facts dd,
.facts dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }

/* Finalité / base légale / durée. */
.legal__table { margin: 0 0 18px; overflow-x: auto; }
.legal__table table { width: 100%; border-collapse: collapse; min-width: 34em; }
.legal__table th,
.legal__table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  line-height: 1.55;
}
.legal__table th {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom-color: var(--ink);
}
.legal__table td { color: var(--muted); }
.legal__table td:first-child { color: var(--ink); }

.legal__updated {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--faint);
}

/* ---------- Pages « poste » ---------- */

.poste-hero { color: var(--ink); }
.poste-hero--indigo { background: var(--indigo-pale); }
.poste-hero--green { background: var(--green-pale); }
.poste-hero__inner { padding: clamp(36px, 4.5vw, 64px) var(--gutter) clamp(40px, 5vw, 68px); }

.poste-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  text-wrap: balance;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(26px, 3.2vw, 36px); padding: 0; list-style: none; }
.chip {
  border: 1px solid rgba(16, 16, 20, 0.28);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.poste-body { max-width: 74ch; }
.poste-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: clamp(36px, 4vw, 52px) 0 16px;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--hairline);
  scroll-margin-top: calc(var(--header-h) + 24px);
  text-wrap: balance;
}
.poste-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Phrase d'accroche : la première section porte le propos, elle mérite plus
   de corps que les titres de rubrique qui suivent. */
.poste-body .poste-hook {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.poste-body .poste-hook + p { font-size: 17.5px; }
.poste-body p, .poste-body li { font-size: 16.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.poste-body p { margin: 0 0 14px; }
.poste-body ul { margin: 0 0 14px; padding-left: 22px; }
.poste-body li { margin-bottom: 9px; }
.poste-body strong { color: var(--ink); font-weight: 600; }
.poste-body a { color: var(--ink); border-bottom: 1px solid rgba(16, 16, 20, 0.35); }
.poste-body a:hover { border-bottom-color: var(--muted); }

/* Étapes du processus.
   Positionnement absolu du numéro plutôt qu'une grille : le texte qui suit le
   <strong> est un nœud de texte nu, qui deviendrait un élément de grille
   anonyme placé dans une nouvelle rangée. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 46px;
  border-top: 1px solid var(--hairline);
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.steps strong { display: block; font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.02em; margin-bottom: 3px; }

.poste-other {
  max-width: 74ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
.poste-other a { color: var(--ink); border-bottom: 1px solid rgba(16, 16, 20, 0.35); }
.poste-other a:hover { border-bottom-color: var(--muted); }

/* ==========================================================================
   Responsive — mêmes points de rupture que la source
   ========================================================================== */

@media (min-width: 700px) {
  .one-line { white-space: nowrap; }
}

@media (max-width: 1240px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-flex; }
}

@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .footer .split { grid-template-columns: 1fr; }
  .lieu-grid { grid-template-columns: 1fr; }
  .lieu-media { height: clamp(200px, 42vw, 300px); }
  .volets { grid-template-columns: 1fr; }
  .poste { grid-template-columns: 1fr; row-gap: 8px; }
}

@media (max-width: 760px) {
  .volet--full { grid-column: auto; }
}

@media (max-width: 760px) {
  .legal__facts, .facts { grid-template-columns: 1fr; gap: 4px; }
  .legal__facts dt, .facts dt { padding-top: 12px; }
  .legal__facts dt:first-child, .facts dt:first-child { padding-top: 0; }
  .legal__toc ol { columns: 1; }
}

@media (max-width: 620px) {
  .section__inner { padding-top: 48px; padding-bottom: 48px; }
  .legal__inner { padding-top: 32px; padding-bottom: 48px; }
  .legal__facts, .facts { border-radius: 16px; padding: 18px; }
  .poste-hero__inner .btn--lg { width: 100%; justify-content: center; }
  .hero__inner { padding-top: 56px; padding-bottom: 48px; }
  .qui-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.4rem; line-height: 0.98; }
  .hero__sub { font-size: 1.05rem; line-height: 1.5; }
  .hero__cta { gap: 10px; }
  .hero__cta > .btn { width: 100%; justify-content: center; }
  .card, .volet { border-radius: 24px; padding: 20px; }
  .volet__intro { min-height: 0; }
  .faq__q { gap: 16px; padding: 16px 0; }
  .faq__a { padding-right: 0; font-size: 16px; }
  .poste { padding: 18px 20px; }
  .form-card { border-radius: 24px; padding: 22px; }
  .footer__cols { gap: 26px 32px; }
}

@media (max-width: 400px) {
  .section__inner, .hero__inner, .footer__inner, .legal__inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero__title { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .poste:hover, .volet:hover { transform: none; }
}

@media print {
  .site-header, .nav-panel, .skip-link, .hero__cta, .submit { display: none !important; }
  body { background: #fff; }
  .section--indigo { background: #fff; color: #000; }
  .faq__panel[hidden] { display: block !important; }
  .poste, .card, .volet, .form-card { box-shadow: none; border: 1px solid #ddd; }
}
