/* ==========================================================================
   M comme Médiation — feuille de style
   Les couleurs et polices reprennent la carte de visite :
   fond grège #EDE8E4, encre noire, Playfair Display.
   Pour changer l'apparence, modifiez d'abord les variables ci-dessous.
   ========================================================================== */

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/playfair-display.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/playfair-display-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-serif-4.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
}

:root {
  --bg: #ede8e4;
  --bg-soft: #f6f3f0;
  --bg-deep: #e2dbd5;
  --ink: #111111;
  --ink-soft: #2f2b28;
  --muted: #5e5751;
  --line: #cfc6be;
  --focus: #111111;
  --error: #8f1d14;
  --success: #1f5130;

  --font-display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  --container: 72rem;
  --prose: 42rem;
  --radius: 2px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--space-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.45rem);
}

h4 {
  font-size: 1.15rem;
}

p,
ul,
ol {
  margin: 0 0 var(--space-2);
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

strong {
  color: var(--ink);
  font-weight: 600;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.prose {
  max-width: var(--prose);
}

.center {
  text-align: center;
  margin-inline: auto;
}

/* ---------- Lien d'évitement ---------- */

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 100;
  padding: 0.6rem 1.2rem;
  background: var(--ink);
  color: var(--bg);
  transform: translate(-50%, -120%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* ---------- Bandeau supérieur ---------- */

.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
}

.topbar a {
  text-decoration: none;
  letter-spacing: 0.04em;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar__cta {
  font-family: var(--font-display);
  font-style: italic;
}

/* ---------- Sigle ---------- */

/* Le « M » et la mention « comme médiation » sont superposés dans la même
   cellule de grille ; le fond de la mention coupe les jambages du M,
   comme sur la carte de visite. */
.sigle {
  display: inline-grid;
  place-items: center;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--sigle-size, 6.5rem);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.sigle > * {
  grid-area: 1 / 1;
}

.sigle__m {
  font-size: 1em;
  line-height: 0.82;
}

.sigle__texte {
  padding: 0.05em 0 0.05em 0.44em;
  background: var(--bg);
  font-size: max(0.092em, 0.6rem);
  font-weight: 600;
  letter-spacing: 0.44em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(0.4em);
}

.sigle--hero {
  --sigle-size: clamp(7.5rem, 5rem + 12vw, 13rem);
}

a.sigle:hover {
  text-decoration: none;
  opacity: 0.85;
}

/* ---------- En-tête ---------- */

.site-header {
  padding-block: var(--space-3) var(--space-2);
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.site-header--home {
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.site-header--home .site-header__inner {
  gap: var(--space-3);
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem clamp(1rem, 3vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-block;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--ink);
}

.nav-toggle {
  display: none;
}

@media (max-width: 52rem) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    font: 500 0.8rem/1 var(--font-display);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    display: block;
    width: 1rem;
    height: 1px;
    background: currentColor;
    transition: transform 0.2s ease;
  }

  .nav-toggle__icon {
    position: relative;
  }

  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle__icon::before {
    top: -0.3rem;
  }

  .nav-toggle__icon::after {
    top: 0.3rem;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
    transform: translateY(0.3rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
    transform: translateY(-0.3rem) rotate(-45deg);
  }

  .js .nav:not(.is-open) {
    display: none;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
  }
}

/* ---------- Accroche (accueil) ---------- */

.hero {
  padding-block: var(--space-3) var(--space-5);
  text-align: center;
}

.hero__offre {
  max-width: 46rem;
  margin: 0 auto var(--space-3);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem);
  font-style: italic;
  line-height: 1.5;
}

.rule {
  width: min(100%, 40rem);
  height: 2px;
  margin: 0 auto var(--space-4);
  border: 0;
  background: var(--ink);
}

.rule--short {
  width: 4rem;
  height: 1px;
  margin-bottom: var(--space-3);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.actions--start {
  justify-content: flex-start;
}

/* ---------- Boutons et liens d'action ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--bg);
}

.link-arrow {
  font-family: var(--font-display);
  font-style: italic;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.link-arrow::after {
  content: " →";
  font-style: normal;
}

.link-arrow:hover {
  border-bottom-width: 2px;
}

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

.section {
  padding-block: clamp(3.5rem, 7vw, var(--space-6));
}

.section--soft {
  background: var(--bg-soft);
}

.section--deep {
  background: var(--bg-deep);
}

.section__head {
  max-width: var(--prose);
  margin: 0 auto var(--space-4);
  text-align: center;
}

.section__head .rule--short {
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: var(--space-1);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.lead {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);
}

/* ---------- En-tête de page intérieure ---------- */

.page-hero {
  padding-block: var(--space-4) var(--space-5);
  text-align: center;
}

.page-hero .rule--short {
  margin-inline: auto;
}

.page-hero .lead {
  max-width: var(--prose);
  margin-inline: auto;
}

.page-hero--illustre {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: var(--space-3);
}

.illustration {
  width: min(15rem, 60vw);
  color: var(--ink);
}

/* ---------- Grilles et cartes ---------- */

.grid {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 46rem) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.section--soft .card {
  background: var(--bg);
}

.card > :last-child {
  margin-bottom: 0;
}

.card__push {
  margin-top: auto;
  padding-top: var(--space-2);
}

.matieres {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1) var(--space-3);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

.matieres li + li::before {
  content: "·";
  margin-right: var(--space-3);
  font-style: normal;
}

/* ---------- Listes numérotées (avantages, méthode, phases) ---------- */

.numbered {
  counter-reset: item;
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.numbered > li {
  counter-increment: item;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.numbered > li::before {
  content: counter(item, decimal-leading-zero);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.1;
}

.numbered h3 {
  margin-bottom: 0.4rem;
}

.numbered p:last-child {
  margin-bottom: 0;
}

@media (min-width: 46rem) {
  .numbered--cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .numbered--cols > li {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-1);
  }
}

.checklist {
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.8rem;
  height: 1px;
  background: var(--ink);
}

/* ---------- Sommaire de page ---------- */

.toc {
  margin: 0 auto var(--space-2);
  padding: var(--space-2) 0;
  border-block: 1px solid var(--line);
}

.toc ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  font-family: var(--font-display);
  font-style: italic;
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* ---------- Blocs de contenu ---------- */

.split {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 52rem) {
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .split--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.encadre {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 2px solid var(--ink);
  background: var(--bg-soft);
}

.encadre > :last-child {
  margin-bottom: 0;
}

.modalite {
  scroll-margin-top: var(--space-3);
}

.modalite .eyebrow {
  margin-bottom: 0.25rem;
}

.options {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-2) 0;
}

.option {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--line);
  background: var(--bg);
}

.option p:last-child {
  margin-bottom: 0;
}

.option__titre {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
}

/* ---------- Tarifs ---------- */

.tarif {
  text-align: center;
}

.tarif h2 {
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
}

.tarif__prix {
  margin: var(--space-2) 0;
  padding-block: var(--space-2);
  border-block: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  line-height: 1.25;
}

.tarif__prix small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
}

.tarif ul {
  text-align: left;
}

/* ---------- Profil (Qui sommes-nous) ---------- */

.profil {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 52rem) {
  .profil {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%);
}

.portrait__vide {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--muted);
  background: var(--bg-soft);
  color: var(--muted);
  font-family: var(--font-display);
  font-style: italic;
  text-align: center;
}

.profil__nom {
  margin-bottom: 0;
}

.profil__fonction {
  margin-bottom: var(--space-3);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
}

.profil h3 {
  margin-top: var(--space-4);
}

/* ---------- Contenus à compléter ---------- */

/* Repère visuel des emplacements à remplir avant publication.
   Pour les retrouver : rechercher « a-completer » dans les fichiers. */
.a-completer {
  padding: 0.9rem 1.1rem;
  border: 1px dashed var(--muted);
  background: repeating-linear-gradient(
    -45deg,
    transparent 0 10px,
    rgba(17, 17, 17, 0.025) 10px 20px
  );
  color: var(--muted);
  font-style: italic;
}

span.a-completer {
  display: inline-block;
  padding: 0.1rem 0.4rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.coordonnees {
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
}

.coordonnees li {
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--line);
}

.coordonnees__label {
  display: block;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.coordonnees a {
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.engagement {
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
  padding: var(--space-3);
  border: 1px solid var(--ink);
}

.engagement__chiffre {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}

.engagement p {
  margin: 0;
}

/* ---------- Formulaire ---------- */

.form {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.section--soft .form {
  background: var(--bg);
}

.form__grid {
  display: grid;
  gap: var(--space-3) var(--space-3);
}

@media (min-width: 40rem) {
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field label,
.field legend {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
}

.field__opt {
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
}

.field__hint {
  margin: -0.15rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #8a817a;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--ink);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

.field__error {
  margin: 0.4rem 0 0;
  color: var(--error);
  font-size: 0.92rem;
}

.field__error:empty {
  display: none;
}

.field--check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.field--check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.25rem 0 0;
  accent-color: var(--ink);
}

.field--check label {
  margin: 0;
  font-weight: 400;
  line-height: 1.55;
}

.field--check .field__error {
  grid-column: 2;
  margin-top: 0;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.form__notice {
  margin-top: var(--space-3);
  padding: var(--space-2);
  border-left: 2px solid var(--muted);
  color: var(--muted);
  font-size: 0.95rem;
}

.form__status {
  margin-top: var(--space-3);
}

.form__status:empty {
  display: none;
}

.form__status[data-state] {
  padding: var(--space-2) var(--space-3);
  border-left: 3px solid currentColor;
  background: var(--bg);
}

.form__status[data-state="success"] {
  color: var(--success);
}

.form__status[data-state="error"] {
  color: var(--error);
}

.form__status p {
  margin: 0;
}

.form__status p + p {
  margin-top: 0.5rem;
}

.form__legal {
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ---------- Bandeau d'appel à l'action ---------- */

.cta-band {
  padding-block: clamp(3.5rem, 7vw, 5rem);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}

.cta-band h2,
.cta-band a {
  color: var(--bg);
}

.cta-band p {
  max-width: 36rem;
  margin-inline: auto;
  color: #d9d2cc;
}

.cta-band .btn {
  border-color: var(--bg);
  background: var(--bg);
  color: var(--ink);
}

.cta-band .btn:hover {
  background: transparent;
  color: var(--bg);
}

.cta-band .btn--outline {
  background: transparent;
  color: var(--bg);
}

.cta-band .btn--outline:hover {
  background: var(--bg);
  color: var(--ink);
}

.cta-band :focus-visible {
  outline-color: var(--bg);
}

/* ---------- Pied de page ---------- */

.site-footer {
  padding-block: var(--space-5) var(--space-3);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer__grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 46rem) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer .sigle {
  --sigle-size: 5.5rem;
  margin-bottom: var(--space-2);
}

.site-footer h2 {
  margin-bottom: var(--space-1);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Mentions légales ---------- */

.legal h2 {
  margin-top: var(--space-4);
  font-size: 1.5rem;
}

.legal dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem 1.5rem;
  margin: 0 0 var(--space-2);
}

@media (min-width: 40rem) {
  .legal dl {
    grid-template-columns: 14rem minmax(0, 1fr);
  }
}

.legal dt {
  color: var(--ink);
  font-weight: 600;
}

.legal dd {
  margin: 0 0 0.5rem;
}

/* ---------- Préférences utilisateur ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .topbar,
  .nav,
  .nav-toggle,
  .cta-band,
  .form {
    display: none !important;
  }

  body {
    background: #fff;
  }
}

/* ---------- Utilitaires ---------- */

.mt-2 {
  margin-top: var(--space-2);
}

.rule--left {
  margin-left: 0;
}
