/* Renovatio — site vitrine. Noir et blanc, une seule police (Inter, auto-hébergée). */

@font-face {
  font-family: "Inter";
  src: url("/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --ink: #0a0a0a;
  --text: #2b2b2b;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --tile: #f4f4f4;
  --tile-hover: #ebebeb;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
sup { line-height: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Accès direct au contenu, visible au clavier seulement */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: 12px 16px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}
.skip:focus { left: 16px; top: 16px; }

/* Bandeau de préproduction — à retirer à la mise en ligne */
.preprod {
  margin: 0;
  padding: 8px var(--gutter);
  background: var(--tile);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

/* Étiquette des textes provisoires — à retirer une fois validés */
.todo {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.7;
  text-transform: uppercase;
  vertical-align: 0.2em;
  white-space: nowrap;
}

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand { display: inline-block; }
.brand img { width: auto; height: 30px; }

/* Accueil : la plaque est dans l'organigramme, l'en-tête garde le monogramme */
.brand-mark img { width: 36px; height: 36px; }

.site-nav ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 599px) {
  .site-nav .nav-optional { display: none; }
}

/* Titres et textes */
.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { color: inherit; font-weight: 600; }

h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.lead {
  max-width: 46ch;
  margin: 32px 0 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

/* Accroche : organigramme du groupe qui se dessine au chargement.
   Mobile d'abord (arbre vertical), arbre horizontal à partir de 720 px. */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(64px, 10vw, 128px); }

.tree {
  --root-w: clamp(220px, 68vw, 320px);  /* largeur de la plaque Renovatio */
  --h: clamp(24px, 7.4vw, 30px);        /* hauteur des plaques des filiales */
  --stem: 18px;                         /* tronc sous la plaque Renovatio */
  --spine-x: 18px;                      /* position de la ligne verticale */
  --branch: 26px;                       /* longueur des branches */
  --row-pad: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tree-root {
  position: relative;
  max-width: none;
  margin: 0;
}
.tree-root img { width: var(--root-w); height: auto; }

.tree-root::after,
.tree-children::before,
.tree-children::after,
.tree-children li::before {
  content: "";
  position: absolute;
  background: var(--black);
}

.tree-root::after {
  top: 100%;
  left: var(--spine-x);
  width: 1px;
  height: var(--stem);
}

.tree-children {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: var(--stem) 0 0;
  padding: 0;
  list-style: none;
}

/* Ligne verticale jusqu'au milieu de la dernière plaque */
.tree-children::before {
  top: 0;
  bottom: calc(var(--h) / 2 + var(--row-pad));
  left: var(--spine-x);
  width: 1px;
}
.tree-children::after { display: none; }

.tree-children li {
  --i: 0;
  position: relative;
  padding: var(--row-pad) 0 var(--row-pad) calc(var(--spine-x) + var(--branch));
}
.tree-children li:nth-child(2) { --i: 1; }
.tree-children li:nth-child(3) { --i: 2; }
.tree-children li:nth-child(4) { --i: 3; }

.tree-children li::before {
  top: 50%;
  left: var(--spine-x);
  width: var(--branch);
  height: 1px;
}

.plaque { display: block; transition: opacity 0.2s ease; }
.plaque:hover { opacity: 0.78; }
.plaque img { width: auto; max-width: none; height: var(--h); }

@media (min-width: 720px) {
  .tree {
    --root-w: clamp(300px, 36vw, 470px);
    --h: clamp(24px, 2.6vw, 36px);
    --gap: clamp(16px, 2.8vw, 40px);
    --stem: clamp(20px, 2.6vw, 32px);
    --drop: clamp(16px, 2vw, 26px);
    /* Largeur ÷ hauteur des plaques aux deux bouts, pour accrocher la barre à leur milieu */
    --r-first: 5.9099;  /* Your Wolf Agency */
    --r-last: 1.7973;   /* Eat Is France */
    align-items: center;
  }

  .tree-root::after { left: 50%; margin-left: -0.5px; }

  .tree-children { flex-direction: row; }

  /* Barre horizontale en deux moitiés, qui partent du tronc */
  .tree-children::before {
    bottom: auto;
    left: calc((var(--h) * var(--r-first) + var(--gap)) / 2);
    right: 50%;
    width: auto;
    height: 1px;
  }
  .tree-children::after {
    display: block;
    top: 0;
    left: 50%;
    right: calc((var(--h) * var(--r-last) + var(--gap)) / 2);
    height: 1px;
  }

  .tree-children li { padding: var(--drop) calc(var(--gap) / 2) 0; }

  .tree-children li::before {
    top: 0;
    left: 50%;
    width: 1px;
    height: var(--drop);
    margin-left: -0.5px;
  }
}

@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } }

/* Animation seulement si le visiteur n'a pas demandé à réduire les animations */
@media (prefers-reduced-motion: no-preference) {
  .tree-root::after { transform-origin: top; animation: grow-y 0.3s ease-out 0.25s backwards; }
  .tree-children::before { transform-origin: top; animation: grow-y 0.5s linear 0.55s backwards; }
  .tree-children li::before { transform-origin: left; animation: grow-x 0.18s ease-out calc(0.62s + var(--i) * 0.143s) backwards; }
  .plaque { animation: appear 0.45s ease calc(0.78s + var(--i) * 0.143s) backwards; }
  .hero-text { animation: appear 0.6s ease 1.25s backwards; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 720px) {
  .tree-children::before { transform-origin: right; animation: grow-x 0.36s ease-out 0.56s backwards; }
  .tree-children::after { transform-origin: left; animation: grow-x 0.36s ease-out 0.56s backwards; }
  .tree-children li::before { transform-origin: top; animation: grow-y 0.2s ease-out 0.92s backwards; }
  .plaque { animation-delay: calc(1s + var(--i) * 0.06s); }
}

.hero-text { margin-top: clamp(40px, 7vw, 96px); }

.hero-title {
  max-width: 20ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.026em;
}

@media (min-width: 720px) {
  .hero-text { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
  .hero-title,
  .hero-text .lead { margin-left: auto; margin-right: auto; }
}

/* Sections */
.section {
  padding: clamp(64px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p { max-width: 40ch; margin: 0; color: var(--muted); }

/* Le groupe */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 56px 32px; }
}

.card { position: relative; }

.card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(168px, 22vw, 240px);
  padding: 24px;
  background: var(--tile);
  transition: background-color 0.2s ease;
}

/* Plaques des filiales ramenées à la même hauteur */
.card-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 36px;
}

@media (min-width: 760px) {
  .card-logo img { max-height: 44px; }
}

.card h3 {
  margin: 22px 0 6px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.card h3 a { text-decoration: none; }

/* Toute la carte est cliquable */
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card p { max-width: 44ch; margin: 0; color: var(--text); }

.card .card-url {
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.card:hover .card-logo { background: var(--tile-hover); }

/* Historique : d'abord le parcours en barres (sociétés du groupe, postes du fondateur),
   puis la frise des temps forts. */
.h-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  margin: 0 0 24px;
}
.h-sub h3 { margin: 0; font-size: 20px; letter-spacing: -0.01em; }
.h-sub p { margin: 0; color: var(--muted); font-size: 15px; }

/* Parcours : une ligne par société ou par poste, une colonne par année.
   Les lignes de la grille portent le nom des années (y2011 … y2026, puis now) :
   une barre va de g-from-AAAA à g-to-AAAA inclus, un point se place avec g-at-AAAA. */
.parcours {
  --years: [y2011] minmax(0, 1fr) [y2012] minmax(0, 1fr) [y2013] minmax(0, 1fr) [y2014] minmax(0, 1fr)
           [y2015] minmax(0, 1fr) [y2016] minmax(0, 1fr) [y2017] minmax(0, 1fr) [y2018] minmax(0, 1fr)
           [y2019] minmax(0, 1fr) [y2020] minmax(0, 1fr) [y2021] minmax(0, 1fr) [y2022] minmax(0, 1fr)
           [y2023] minmax(0, 1fr) [y2024] minmax(0, 1fr) [y2025] minmax(0, 1fr) [y2026] minmax(0, 1fr) [now];
  --label-w: 260px;
  --bar-role: #b5b5b5;
  margin-bottom: clamp(64px, 9vw, 112px);
}

.g-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}
.g-legend li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 8px;
  margin-right: 8px;
  background: var(--bar-role);
}
.g-legend li.is-group::before { background: var(--black); }

.g-axis,
.g-row {
  display: grid;
  grid-template-columns: var(--years);
}

.g-axis {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.g-axis span { display: none; grid-row: 1; justify-self: center; }
.g-axis .g-at-2011,
.g-axis .g-at-2016,
.g-axis .g-at-2021,
.g-axis .g-at-2026 { display: block; }
.g-axis .g-at-2011 { justify-self: start; }
.g-axis .g-at-2026 { justify-self: end; }

.gantt { position: relative; margin: 0; padding: 0; list-style: none; }

.g-row {
  align-items: center;
  row-gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.g-row:last-child { border-bottom: 1px solid var(--line); }

.g-label { grid-column: 1 / -1; grid-row: 1; margin: 0; line-height: 24px; }
.g-name { font-size: 15px; font-weight: 600; }
.g-meta { color: var(--muted); font-size: 13px; line-height: 1.45; }
.g-logo { display: inline-block; width: auto; max-width: none; height: 24px; margin-right: 6px; vertical-align: top; }

.g-bar { grid-row: 2; height: 10px; background: var(--bar-role); }
.g-row.is-group .g-bar { background: var(--black); }

/* Point blanc sur une barre noire : un repère daté (siège à Marseille, Eat Is France) */
.g-dot { z-index: 1; grid-row: 2; justify-self: center; width: 6px; height: 6px; background: var(--white); }

.g-from-2011 { grid-column-start: y2011; }
.g-from-2013 { grid-column-start: y2013; }
.g-from-2016 { grid-column-start: y2016; }
.g-from-2018 { grid-column-start: y2018; }
.g-from-2019 { grid-column-start: y2019; }
.g-from-2021 { grid-column-start: y2021; }
.g-from-2022 { grid-column-start: y2022; }
.g-from-2023 { grid-column-start: y2023; }
.g-from-2024 { grid-column-start: y2024; }
.g-from-2025 { grid-column-start: y2025; }

.g-to-2017 { grid-column-end: y2018; }
.g-to-2018 { grid-column-end: y2019; }
.g-to-2020 { grid-column-end: y2021; }
.g-to-2021 { grid-column-end: y2022; }
.g-to-2025 { grid-column-end: y2026; }
.g-to-2026 { grid-column-end: now; }

.g-at-2011 { grid-column: y2011 / span 1; }
.g-at-2012 { grid-column: y2012 / span 1; }
.g-at-2013 { grid-column: y2013 / span 1; }
.g-at-2014 { grid-column: y2014 / span 1; }
.g-at-2015 { grid-column: y2015 / span 1; }
.g-at-2016 { grid-column: y2016 / span 1; }
.g-at-2017 { grid-column: y2017 / span 1; }
.g-at-2018 { grid-column: y2018 / span 1; }
.g-at-2019 { grid-column: y2019 / span 1; }
.g-at-2020 { grid-column: y2020 / span 1; }
.g-at-2021 { grid-column: y2021 / span 1; }
.g-at-2022 { grid-column: y2022 / span 1; }
.g-at-2023 { grid-column: y2023 / span 1; }
.g-at-2024 { grid-column: y2024 / span 1; }
.g-at-2025 { grid-column: y2025 / span 1; }
.g-at-2026 { grid-column: y2026 / span 1; }

@media (min-width: 960px) {
  /* Libellés à gauche, barres sur la même ligne, fins traits verticaux pour chaque année */
  .g-axis,
  .g-row { grid-template-columns: [label] minmax(0, var(--label-w)) var(--years); }

  .g-axis { margin-bottom: 12px; }
  .g-axis span,
  .g-axis .g-at-2011,
  .g-axis .g-at-2026 { display: block; justify-self: center; }

  .gantt::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--label-w);
    right: 0;
    background-image: repeating-linear-gradient(to right, var(--line) 0, var(--line) 1px, transparent 1px, transparent calc(100% / 16));
    pointer-events: none;
  }

  .g-row { align-items: start; padding: 10px 0; border-top: 0; }
  .g-row:last-child { border-bottom: 0; }

  .g-label { position: relative; z-index: 1; grid-column: label / y2011; padding-right: 24px; background: var(--white); }
  .g-name,
  .g-logo { display: block; margin-right: 0; }
  .g-meta { display: block; margin-top: 2px; }

  .g-bar,
  .g-dot { position: relative; grid-row: 1; }
  .g-bar { margin-top: 6px; height: 12px; }
  .g-dot { margin-top: 9px; }
}

/* Temps forts : frise chronologique.
   Mobile d'abord : fil vertical à gauche, plaque de l'année posée sur le fil.
   À partir de 960 px : fil au centre, années en alternance à droite puis à gauche ;
   chaque année remonte de --overlap sous la précédente pour serrer la frise
   (--overlap reste inférieur à min-height − padding-bottom pour que les plaques ne se touchent pas). */
.frise {
  --date-w: 60px;   /* plaque de l'année */
  --date-h: 30px;
  --gap: 16px;      /* entre la plaque et le texte */
  --overlap: 0px;   /* remontée d'une année sous la précédente (bureau seulement) */
  margin: 0;
  padding: 0;
  list-style: none;
}

.f-year {
  position: relative;
  display: grid;
  grid-template-columns: var(--date-w) minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: start;
  padding-bottom: 32px;
  scroll-margin-top: 24px;
}

/* Segment du fil, de cette année jusqu'à la plaque suivante ; rien après la dernière */
.f-year::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: var(--overlap);
  left: calc(var(--date-w) / 2);
  width: 1px;
  margin-left: -0.5px;
  background: var(--black);
}
.f-year:last-child { padding-bottom: 0; }
.f-year:last-child::before { display: none; }

/* Plaque de l'année, reliée à son texte par une branche */
.f-date {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--date-w);
  height: var(--date-h);
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  line-height: 1;
}

.f-date::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: var(--gap);
  height: 1px;
  background: var(--black);
}

/* Événements de l'année ; première ligne centrée sur la plaque (lignes de 24 px) */
.f-body {
  min-width: 0;
  margin: 0;
  padding: calc((var(--date-h) - 24px) / 2) 0 0;
  list-style: none;
}
.f-body li { color: var(--ink); font-size: 16px; font-weight: 500; line-height: 24px; }
.f-body li + li { margin-top: 6px; }

/* Précision en gris, qui passe d'un bloc à la ligne suivante plutôt que de se couper */
.f-body li span { display: inline-block; color: var(--muted); font-weight: 400; }

/* Références culinaires : précédées de la plaque Eat Is, à 24 px */
.f-eat img { display: inline-block; width: auto; max-width: none; height: 24px; margin-right: 8px; vertical-align: top; }

@media (min-width: 600px) {
  .frise { --date-w: 68px; --date-h: 32px; --gap: 24px; }
  .f-date { font-size: 15px; }
}

@media (min-width: 960px) {
  .frise { --date-w: 72px; --date-h: 34px; --gap: 32px; --overlap: 72px; }

  .f-year {
    grid-template-columns: minmax(0, 1fr) var(--date-w) minmax(0, 1fr);
    min-height: 128px;
    padding-bottom: 36px;
  }
  .f-year:last-child { padding-bottom: 0; }
  .f-year + .f-year { margin-top: calc(-1 * var(--overlap)); }
  .f-year::before { left: 50%; }

  .f-date { grid-column: 2; grid-row: 1; }
  .f-body { grid-column: 3; grid-row: 1; }

  /* Une année sur deux à gauche du fil, texte calé contre lui */
  .f-year:nth-child(even) .f-body { grid-column: 1; text-align: right; }
  .f-year:nth-child(even) .f-date::after { left: auto; right: 100%; }
}

/* La frise se dessine au défilement : la pointe du fil reste aux deux tiers de l'écran (70 %), chaque année apparaît en entrant.
   Seulement sur les navigateurs qui savent lier une animation au défilement, et si le visiteur n'a pas
   demandé à réduire les animations ; sinon la frise est simplement affichée. */
@keyframes frise-in { from { opacity: 0; transform: translateY(16px); } }

@supports (animation-timeline: view()) {
  @media screen and (prefers-reduced-motion: no-preference) {
    .f-year { view-timeline: --annee block; }
    .f-date,
    .f-body { animation: frise-in linear both; animation-timeline: --annee; animation-range: entry 0% entry 140px; }
    .f-year::before { transform-origin: top; animation: grow-y linear both; animation-timeline: --annee; animation-range: cover 30vh cover calc(100% - 70vh - var(--overlap)); }
  }
}

/* Ambition — bandeau noir */
.ambition {
  border-top: 0;
  background: var(--black);
  color: var(--white);
}
.ambition .eyebrow { color: #a3a3a3; }
.ambition .lead { color: #e6e6e6; }
.ambition .todo { color: #a3a3a3; }

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillars li { padding-top: 20px; border-top: 1px solid #3a3a3a; }
.pillars h3 { margin: 0 0 8px; font-size: 18px; }
.pillars p { margin: 0; color: #c2c2c2; }

.ambition .note { margin: clamp(40px, 6vw, 56px) 0 0; color: #a3a3a3; font-size: 15px; }

/* Plan de développement 2030, sous les piliers */
.plan {
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: clamp(32px, 4vw, 40px);
  border-top: 1px solid #3a3a3a;
}
.plan h3 { margin: 0; font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -0.01em; }

.plan-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.plan-figures li { max-width: 28ch; color: #c2c2c2; }

.plan-fig {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-steps {
  display: grid;
  grid-template-columns: 1fr;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.plan-steps li { padding: 14px 0; border-top: 1px solid #3a3a3a; color: #e6e6e6; counter-increment: etape; }
.plan-steps li::before {
  content: counter(etape, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  color: #a3a3a3;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

@media (min-width: 760px) {
  .plan-figures { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .plan-steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
}

/* Contact */
.contact p { max-width: 52ch; margin: 20px 0 0; color: var(--text); }

.contact .email {
  margin-top: 28px;
  font-size: clamp(22px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact .email a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.contact .small { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Pied de page */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.footer-inner img { width: 32px; height: 32px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--ink); text-underline-offset: 4px; }

/* Devise latine, au-dessus de la dernière ligne */
.motto {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.motto-la {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.motto-fr { color: var(--muted); font-size: 14px; }

/* Pages de texte (mentions légales, 404) */
.page { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 10vw, 128px); }
.page h1 { max-width: none; font-size: clamp(34px, 5vw, 56px); }
.page .intro { max-width: 60ch; margin: 20px 0 0; color: var(--muted); }

.legal { max-width: 68ch; margin-top: clamp(40px, 6vw, 64px); }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 12px; font-size: 20px; letter-spacing: -0.01em; }
.legal p { margin: 0 0 10px; color: var(--text); }
.legal p:last-child { margin-bottom: 0; }

.back { margin: 40px 0 0; }
.back a { font-weight: 500; text-underline-offset: 5px; }
