/* ==========================================================================
   Police unique — Inter variable, auto-hébergée
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Police de repli calée sur les métriques d'Inter (limite le CLS au swap). */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 106.77%;
  ascent-override: 90.74%;
  descent-override: 22.59%;
  line-gap-override: 0%;
}

/* ==========================================================================
   Jetons
   ========================================================================== */

:root {
  --font: "Inter", "Inter Fallback", Arial, sans-serif;

  --paper: #f5f2ec;
  --paper-raised: #fbfaf7;
  --ink: #0e1822;
  --ink-hover: #23303c;
  --ink-2: #3e4a55;
  --ink-3: #5f6872;
  --line: #d9d2c6;
  --line-strong: #b9b0a2;
  --accent: #8b5e1a;
  --accent-light: #d4a866;

  --container: 82.5rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.5rem;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.has-menu-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

p {
  max-width: 68ch;
  margin: 0;
}

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

a {
  color: inherit;
}

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

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

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.875rem;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Contenu à fournir par le client : repérable d'un coup d'œil. */
.todo {
  display: inline-block;
  padding: 0.2em 0.5em;
  border: 1px dashed var(--todo-fg, var(--accent));
  border-radius: var(--radius);
  background: rgb(212 168 102 / 0.12);
  color: var(--todo-fg, var(--accent));
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

/* ==========================================================================
   Boutons et liens
   ========================================================================== */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.button svg {
  transition: transform 0.25s var(--ease);
}

.button:hover svg {
  transform: translateX(3px);
}

.button--light {
  background: #fff;
  color: var(--ink);
}

.button--light:hover {
  background: var(--paper);
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover {
  background: var(--ink-hover);
}

.text-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s var(--ease);
}

.text-link:hover {
  text-decoration-color: var(--ink);
}

.link-arrow {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  transition: text-decoration-color 0.2s var(--ease);
}

.link-arrow:hover {
  text-decoration-color: currentColor;
}

/* ==========================================================================
   En-tête du site
   Transparent sur le hero, opaque dès que l'on défile ou que le menu s'ouvre.
   ========================================================================== */

.site-header {
  --h-fg: #fff;
  --h-fg-2: rgb(255 255 255 / 0.86);
  --h-line: rgb(255 255 255 / 0.18);
  --h-cta-bg: #fff;
  --h-cta-fg: var(--ink);
  --h-cta-hover: var(--paper);
  --focus: #fff;

  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--h-fg);
  background: transparent;
  border-bottom: 1px solid var(--h-line);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.no-js .site-header {
  position: absolute;
}

.site-header.is-solid,
.site-header.is-menu-open {
  --h-fg: var(--ink);
  --h-fg-2: var(--ink-2);
  --h-line: var(--line);
  --h-cta-bg: var(--ink);
  --h-cta-fg: var(--paper);
  --h-cta-hover: var(--ink-hover);
  --focus: var(--accent);

  background: var(--paper);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--h-fg);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.brand__name {
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand__tagline {
  padding-left: 0.9rem;
  border-left: 1px solid var(--h-line);
  color: var(--h-fg-2);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.8rem;
  border: 0;
  background: none;
  color: var(--h-fg-2);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 450;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.nav__link:hover,
.nav__trigger[aria-expanded="true"] {
  color: var(--h-fg);
}

.nav__link[aria-current="page"] {
  color: var(--h-fg);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.5em;
}

.nav__chevron {
  transition: transform 0.25s var(--ease);
}

.nav__trigger[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

.nav__cta {
  background: var(--h-cta-bg);
  color: var(--h-cta-fg);
}

.nav__cta:hover {
  background: var(--h-cta-hover);
}

.submenu {
  --focus: var(--accent);
}

.submenu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.submenu__link {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}

.submenu__link:hover {
  background: var(--paper);
}

.submenu__title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
}

.submenu__desc {
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.menu-toggle {
  display: none;
}

/* --- Bureau --- */
@media (min-width: 64rem) {
  .submenu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: -0.25rem;
    width: 23rem;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-raised);
    box-shadow: 0 1px 2px rgb(14 24 34 / 0.06), 0 18px 40px -18px rgb(14 24 34 / 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }

  /* Pont invisible pour ne pas perdre le survol entre le bouton et le panneau. */
  .submenu::before {
    content: "";
    position: absolute;
    inset: -0.8rem 0 100% 0;
  }

  .nav__trigger[aria-expanded="true"] + .submenu,
  .no-js .nav__item--has-sub:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
  }

  @media (hover: hover) {
    .nav__item--has-sub:hover .submenu {
      opacity: 1;
      visibility: visible;
      transform: none;
      transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
    }

    .nav__item--has-sub:hover .nav__chevron {
      transform: rotate(180deg);
    }
  }
}

/* --- Mobile et tablette --- */
@media (max-width: 63.99rem) {
  .brand__tagline {
    display: none;
  }

  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.75rem;
    margin-right: -0.5rem;
    padding: 0.5rem;
    border: 0;
    background: none;
    color: var(--h-fg);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
  }

  .menu-toggle__icon {
    position: relative;
    display: block;
    width: 1.25rem;
    height: 1px;
  }

  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
  }

  .menu-toggle__icon::before {
    top: -3px;
  }

  .menu-toggle__icon::after {
    top: 3px;
  }

  .is-menu-open .menu-toggle__icon::before {
    transform: translateY(3px) rotate(45deg);
  }

  .is-menu-open .menu-toggle__icon::after {
    transform: translateY(-3px) rotate(-45deg);
  }

  .js .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 1.5rem var(--gutter) 2.5rem;
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  .js .is-menu-open .nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s var(--ease), visibility 0s;
  }

  .no-js .site-header__bar {
    flex-wrap: wrap;
    height: auto;
    padding-block: 1rem;
  }

  .no-js .nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item {
    border-bottom: 1px solid var(--h-line);
  }

  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0;
    color: var(--h-fg);
    font-size: 1.25rem;
    font-weight: 550;
    letter-spacing: -0.01em;
  }

  /* Sous-menu toujours déplié sur mobile : pas de chevron. */
  .nav__trigger {
    pointer-events: none;
    padding-bottom: 0.25rem;
  }

  .nav__chevron {
    display: none;
  }

  .submenu {
    padding-bottom: 0.75rem;
  }

  .submenu__link {
    padding: 0.6rem 0;
  }

  .nav__cta {
    justify-content: center;
  }
}

/* ==========================================================================
   Hero — image en fond, voile sombre pour la lisibilité
   ========================================================================== */

.hero {
  --focus: #fff;
  --eyebrow-fg: rgb(255 255 255 / 0.8);
  --eyebrow-rule: var(--accent-light);
  --todo-fg: var(--accent-light);

  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(40rem, 100vh, 60rem);
  min-height: clamp(40rem, 100svh, 60rem);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 18%;
}

/* Voile : dense à gauche sous le texte, plus léger à droite pour laisser voir l'équipe. */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(10 18 26 / 0.55) 0%, rgb(10 18 26 / 0) 22%, rgb(10 18 26 / 0) 62%, rgb(10 18 26 / 0.75) 100%),
    linear-gradient(90deg, rgb(10 18 26 / 0.92) 0%, rgb(10 18 26 / 0.84) 40%, rgb(10 18 26 / 0.5) 72%, rgb(10 18 26 / 0.3) 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(3rem, 9vh, 6.5rem));
}

.hero__content {
  max-width: 50rem;
  margin-block: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--eyebrow-fg, var(--ink-3));
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 1px;
  background: var(--eyebrow-rule, var(--accent));
}

.hero__title {
  font-size: clamp(2.375rem, 1.3rem + 3.6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero__lead {
  max-width: 40rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  color: rgb(255 255 255 / 0.88);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

/* Chiffres clés */
.figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(3rem, 7vh, 5rem) 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.2);
}

.figures__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2.5vw, 2rem) clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

.figures__item + .figures__item {
  padding-left: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid rgb(255 255 255 / 0.2);
}

.figures__value {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  margin: 0;
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.figures__label {
  max-width: 30ch;
  color: rgb(255 255 255 / 0.75);
  font-size: 0.875rem;
  line-height: 1.45;
}

/* Tablette et mobile : texte sur toute la largeur, voile vertical plus uniforme. */
@media (max-width: 63.99rem) {
  .hero__bg img {
    object-position: 58% 20%;
  }

  .hero__bg::after {
    background: linear-gradient(180deg, rgb(10 18 26 / 0.72) 0%, rgb(10 18 26 / 0.8) 45%, rgb(10 18 26 / 0.92) 100%);
  }
}

@media (max-width: 40rem) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .hero__actions .button {
    justify-content: center;
  }

  .hero__actions .link-arrow {
    align-self: flex-start;
  }

  .figures {
    grid-template-columns: 1fr;
  }

  .figures__item,
  .figures__item + .figures__item {
    padding: 1.1rem 0;
    border-left: 0;
  }

  .figures__item + .figures__item {
    border-top: 1px solid rgb(255 255 255 / 0.2);
  }
}

/* ==========================================================================
   Sections de contenu
   ========================================================================== */

.section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section__title {
  max-width: 22ch;
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section__text {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.7;
  text-wrap: pretty;
}

/* Deux colonnes : texte à gauche, visuel et action à droite. */
.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}

.split__content {
  grid-column: 1 / span 6;
}

.split__media {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* Avantages avec pictogrammes */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: clamp(1.75rem, 3vw, 2.25rem) 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.icon-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-raised);
  color: var(--accent);
}

.icon-badge svg {
  width: 1.75rem;
  height: 1.75rem;
}

.benefit__label {
  max-width: 18ch;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 63.99rem) {
  .split__content,
  .split__media {
    grid-column: 1 / -1;
  }

  .split__media {
    align-items: flex-start;
    margin-top: 3.5rem;
  }

  .split__media img {
    max-width: 36rem;
  }
}

@media (max-width: 40rem) {
  .benefits {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefit {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .benefit__label {
    max-width: none;
  }

  .split__media {
    align-items: stretch;
  }

  .split__media .button {
    justify-content: center;
  }
}

/* Variante : fond légèrement plus clair pour rythmer l'enchaînement des sections. */
.section--alt {
  background: var(--paper-raised);
  border-block: 1px solid var(--line);
}

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

/* En-tête de section : titre à gauche, texte à droite. */
.section__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.section__head .eyebrow {
  grid-column: 1 / -1;
}

.section__head .section__title {
  grid-column: 1 / span 6;
}

.section__head .section__text {
  grid-column: 7 / span 6;
  margin-top: 0.35rem;
}

/* Cartes offres */
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.offer__media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.offer__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.offer__title {
  margin-top: 1.1rem;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

@media (max-width: 63.99rem) {
  .section__head .section__title,
  .section__head .section__text {
    grid-column: 1 / -1;
  }

  .section__head .section__text {
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  }
}

@media (max-width: 47.99rem) {
  .offers {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Hero de page sans photo : dégradé sombre seul. */
.hero--plain {
  background: linear-gradient(155deg, #16273500 0%, #0a1219 70%), linear-gradient(120deg, #17293a 0%, #0e1822 55%, #0a1219 100%);
}

.offer__text {
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Cas clients */
.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

/* Sous-grille : titres, clients et séparateurs restent alignés d'une carte à l'autre. */
.cases > li {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.case {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.case__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Étiquette arrondie (secteur, savoir-faire). */
.pill {
  padding: 0.25em 0.75em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.case__index {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.case__badge {
  margin-top: 1.75rem;
}

.case__title {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.case__title a {
  text-decoration: none;
}

.case__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.case__client {
  margin: 0.4rem 0 1.5rem;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.case__details {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.case__details dt {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case__details dd {
  margin: 0.3rem 0 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
}

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

.section__more {
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 63.99rem) {
  .cases {
    grid-template-columns: 1fr;
    max-width: 40rem;
  }
}

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
  color: var(--ink-3);
  font-size: 0.875rem;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--ink-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
}

/* Sommaire des cas, juste sous le hero */
.case-index-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.case-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-index a {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-content: start;
  gap: 0.15rem 0.75rem;
  height: 100%;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.case-index__num {
  grid-row: span 2;
  padding-top: 0.1rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.case-index__sector {
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.case-index__title {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.case-index a:hover .case-index__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* Histoires détaillées */
.story {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
  /* L'ancre saute la marge haute : le récit s'affiche juste sous l'en-tête (scroll-padding de html). */
  scroll-margin-top: calc(1.5rem - clamp(3.5rem, 8vw, 6rem));
}

.story:last-child {
  border-bottom: 0;
}

.story__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  max-width: none;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.story__index {
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.story__title {
  max-width: 30ch;
  margin-top: 1.25rem;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.story__body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.story__content {
  grid-column: 1 / span 7;
}

.story__content h3 {
  margin-top: 2.25rem;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.story__content h3:first-child {
  margin-top: 0;
}

.story__content p {
  margin-top: 0.6rem;
  color: var(--ink-2);
  line-height: 1.7;
}

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

.steps {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  position: relative;
  max-width: 68ch;
  padding-left: 2.6rem;
  color: var(--ink-2);
  line-height: 1.65;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-raised);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.story__content .story__link {
  margin-top: 2rem;
  font-size: 0.9375rem;
}

.story__aside {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  grid-column: 9 / span 4;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.aside-label {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aside-label--rule {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.story__results {
  display: grid;
  gap: 1.1rem;
  margin: 1rem 0 0;
}

.story__results div {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.15rem;
}

.story__results dd {
  margin: 0;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.story__results dt {
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.4;
}

.story__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.story__facts dt {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story__facts dd {
  margin: 0.2rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

/* Appel à l'action de fin de page */
.cta {
  --focus: #fff;

  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--ink);
  color: #fff;
}

.cta__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2.5vw, 2rem);
  align-items: end;
}

.cta__content {
  grid-column: 1 / span 8;
}

.cta__title {
  max-width: 22ch;
  font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta__text {
  margin-top: 1.25rem;
  color: rgb(255 255 255 / 0.8);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.6;
}

.cta__actions {
  grid-column: 9 / span 4;
  justify-self: end;
}

@media (max-width: 63.99rem) {
  .case-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story__content,
  .story__aside {
    grid-column: 1 / -1;
  }

  /* Sur mobile, les chiffres clés passent avant le récit. */
  .story__aside {
    position: static;
    order: -1;
    margin-bottom: 2.5rem;
  }

  .cta__content,
  .cta__actions {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 40rem) {
  .case-index {
    grid-template-columns: 1fr;
  }

  .pill {
    white-space: normal;
  }
}

/* Hero des pages intérieures : même traitement que l'accueil, en bandeau plus bas. */
.hero--page {
  min-height: clamp(30rem, 40vw, 38rem);
}

.hero--page .hero__inner {
  width: 100%;
  padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 3rem));
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.hero--page .hero__content {
  max-width: 62rem;
}

.hero--page .hero__bg img {
  object-position: 50% 30%;
}

.hero--page .hero__title {
  font-size: clamp(2.25rem, 1.2rem + 3vw, 3.5rem);
}

.hero--page .hero__lead {
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.hero--page .hero__actions {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.hero .breadcrumb ol {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  color: rgb(255 255 255 / 0.7);
}

.hero .breadcrumb li + li::before {
  color: rgb(255 255 255 / 0.4);
}

.hero .breadcrumb a {
  color: rgb(255 255 255 / 0.85);
}

.hero .breadcrumb [aria-current="page"] {
  color: #fff;
}

/* Cartes secteurs (sous-grille : blocs alignés d'une carte à l'autre) */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.sectors > li {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.sector {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius);
}

/* Cartes sombres avec visuel de fond (secteurs, cas clients de l'accueil) */
.card-dark {
  --focus: #fff;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: var(--ink);
  color: #fff;
}

/* Visuel de fond, hors de la grille (position absolue) ; voile sombre pour la lisibilité. */
.card-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 18 26 / 0.3) 0%, rgb(10 18 26 / 0.6) 38%, rgb(10 18 26 / 0.8) 58%, rgb(10 18 26 / 0.92) 100%);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card-bg img {
    transition: transform 0.6s var(--ease);
  }

  .card-dark:hover .card-bg img {
    transform: scale(1.04);
  }
}

.card-dark .icon-badge {
  border-color: rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.08);
  color: var(--accent-light);
}

.card-dark .pill {
  border-color: rgb(255 255 255 / 0.3);
  background: rgb(255 255 255 / 0.08);
  color: #fff;
}

.card-dark .aside-label,
.card-dark .case__top,
.card-dark .case__details dt {
  color: rgb(255 255 255 / 0.7);
}

.card-dark .case__index {
  color: var(--accent-light);
}

.card-dark .case__client {
  color: rgb(255 255 255 / 0.75);
}

.card-dark .case__details {
  border-top-color: rgb(255 255 255 / 0.22);
}

.card-dark .case__details dd {
  color: rgb(255 255 255 / 0.85);
}

.card-dark .case__details strong {
  color: #fff;
}

.card-dark .text-link {
  color: #fff;
  text-decoration-color: rgb(255 255 255 / 0.45);
}

.card-dark .text-link:hover {
  text-decoration-color: #fff;
}

.sector__title {
  margin-top: 1.25rem;
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-shadow: 0 1px 14px rgb(10 18 26 / 0.45);
}

.sector__title a {
  text-decoration: none;
}

.sector__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.sector__text {
  margin-top: 0.6rem;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.sector__purchases {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.22);
}

.sector__purchases ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.sector__purchases li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.sector__purchases li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.45rem;
  height: 1px;
  background: var(--accent-light);
}

.sector__case {
  margin-top: 1.5rem;
  color: rgb(255 255 255 / 0.75);
  font-size: 0.875rem;
}

/* Méthode en étapes */
.method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2.5vw, 2rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.method__step {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.method__num {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.method__title {
  margin-top: 0.9rem;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.method__text {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.faq-layout__head {
  grid-column: 1 / span 5;
}

.faq {
  grid-column: 7 / span 6;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* Signe « + » qui devient « − » à l'ouverture. */
.faq__item summary::after {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 100% no-repeat;
  transition: background-size 0.25s var(--ease);
}

.faq__item[open] summary::after {
  background-size: 100% 1.5px, 1.5px 0;
}

.faq__question {
  font-size: 1.0625rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.faq__answer p {
  padding-bottom: 1.5rem;
  color: var(--ink-2);
  line-height: 1.7;
}

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

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

  .faq-layout__head,
  .faq {
    grid-column: 1 / -1;
  }
}

@media (max-width: 40rem) {
  .sectors,
  .method {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Blog
   ========================================================================== */

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

/* Article à la une */
.featured {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.75rem clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}

.featured__media {
  grid-column: 1 / span 7;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.featured__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.featured__content {
  grid-column: 9 / span 4;
}

.featured__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 500;
}

.featured__title {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.featured__excerpt {
  margin-top: 1rem;
  color: var(--ink-2);
  line-height: 1.65;
}

.featured__title a,
.post__title a {
  text-decoration: none;
}

.featured__title a:hover,
.post__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.post-meta {
  margin-top: 1.25rem;
  color: var(--ink-3);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

/* Grille d'articles (sous-grille : titres et dates alignés d'une carte à l'autre) */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.posts > li {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.post {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.post__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.post__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.post__category {
  margin-top: 1.25rem;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.post__title {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.post__excerpt {
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.post .post-meta {
  margin-top: 1rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .featured__media img,
  .post__media img {
    transition: transform 0.6s var(--ease);
  }

  .featured:hover .featured__media img,
  .post:hover .post__media img {
    transform: scale(1.03);
  }
}

@media (max-width: 63.99rem) {
  .featured__media,
  .featured__content {
    grid-column: 1 / -1;
  }

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

@media (max-width: 40rem) {
  .posts {
    grid-template-columns: 1fr;
  }
}

/* Bandeau sombre de section (mise en avant du modèle) */
.section--dark {
  background: var(--ink);
  color: #fff;
  --focus: #fff;
  --eyebrow-fg: rgb(255 255 255 / 0.8);
  --eyebrow-rule: var(--accent-light);
}

.section--dark .section__text {
  color: rgb(255 255 255 / 0.82);
}

.section--dark .service {
  border-color: rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.05);
}

.section--dark .service__text {
  color: rgb(255 255 255 / 0.8);
}

.section--dark .icon-badge {
  border-color: rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.08);
  color: var(--accent-light);
}

/* Cartes de prestations (pictogramme, titre, description) */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.services > li {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
}

.service {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

/* Sur fond clair alterné, la carte reprend le fond de base pour rester visible. */
.section--alt .service {
  background: var(--paper);
}

.service__title {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.service__text {
  margin-top: 0.6rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 47.99rem) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* Catalogue à quatre entrées : une seule ligne sur grand écran. */
@media (min-width: 64rem) {
  .services--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) and (max-width: 63.99rem) {
  .services--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
  --focus: #fff;

  padding-top: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: #0a1219;
  color: rgb(255 255 255 / 0.7);
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem clamp(1rem, 2.5vw, 2rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.site-footer__brand {
  grid-column: 1 / span 4;
}

.site-footer__logo {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
}

.site-footer__pitch {
  max-width: 34ch;
  margin-top: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.site-footer__brand .button {
  margin-top: 1.75rem;
}

.site-footer__nav {
  grid-column: 5 / span 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1rem, 2.5vw, 2rem);
}

.site-footer__contact {
  grid-column: 11 / span 2;
}

.site-footer__heading {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__col ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.1rem 0 0;
  padding: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  list-style: none;
}

.site-footer__col address {
  margin-top: 1.1rem;
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.9;
}

.site-footer__col a,
.site-footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.site-footer__col a:hover,
.site-footer__legal a:hover {
  color: #fff;
  text-decoration-color: rgb(255 255 255 / 0.5);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.75rem;
  color: rgb(255 255 255 / 0.5);
  font-size: 0.8125rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 63.99rem) {
  .site-footer__brand,
  .site-footer__nav,
  .site-footer__contact {
    grid-column: 1 / -1;
  }
}

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

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Apparition au chargement (hors titre et image, éléments LCP)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero__lead,
  .hero__actions,
  .figures__item {
    animation: rise 0.7s var(--ease) both;
  }

  .hero .eyebrow { animation-delay: 0.05s; }
  .hero__lead { animation-delay: 0.15s; }
  .hero__actions { animation-delay: 0.25s; }
  .figures__item:nth-child(1) { animation-delay: 0.35s; }
  .figures__item:nth-child(2) { animation-delay: 0.42s; }
  .figures__item:nth-child(3) { animation-delay: 0.49s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
