/* MBM Labs - feuille de style partagée */

/* Polices hébergées localement (licence SIL Open Font License 1.1) */

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrole: #0f3d45;
  --petrole-fonce: #0a2a30;
  --petrole-nuit: #061a1e;
  --ocre: #e0a526;
  --ocre-vif: #f0b93a;
  --ocre-clair: #fbefd2;
  --encre: #0b1f24;
  --gris: #4a5c62;
  --ocre-texte: #93600a;
  --gris-clair: #8a9a9e;
  --trait: #e3e9e9;
  --surface: #f6f8f8;
  --blanc: #ffffff;

  --police-titre: "Space Grotesk", system-ui, sans-serif;
  --police-texte: "Atkinson Hyperlegible", system-ui, sans-serif;

  --largeur: 72rem;
  --rayon: 20px;
  --rayon-petit: 12px;
  --ombre-douce: 0 1px 2px rgba(11, 31, 36, 0.04), 0 8px 24px -8px rgba(11, 31, 36, 0.08);
  --ombre-haute: 0 2px 4px rgba(11, 31, 36, 0.04), 0 24px 48px -16px rgba(11, 31, 36, 0.18);
  --sortie: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ocre-clair);
  color: var(--encre);
}

a {
  color: var(--petrole);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3 {
  font-family: var(--police-titre);
  font-weight: 700;
  color: var(--encre);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.375rem, 7vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

.conteneur {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.lien-evitement {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--encre);
  color: var(--blanc);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.lien-evitement:focus {
  top: 1rem;
}

/* Icônes au trait */

.icone {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Boutons */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--police-titre);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--sortie), background-color 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.bouton .icone {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.2s var(--sortie);
}

.bouton:hover .icone {
  transform: translateX(3px);
}

.bouton:active {
  transform: scale(0.97);
}

.bouton-plein {
  background: var(--encre);
  color: var(--blanc);
  box-shadow: 0 1px 2px rgba(11, 31, 36, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bouton-plein:hover {
  background: var(--petrole);
}

.bouton-ocre {
  background: var(--ocre);
  color: var(--encre);
}

.bouton-ocre:hover {
  background: var(--ocre-vif);
}

.bouton-clair {
  background: var(--blanc);
  color: var(--encre);
  border-color: var(--trait);
  box-shadow: var(--ombre-douce);
}

.bouton-clair:hover {
  border-color: #cdd6d6;
}

.bouton-transparent {
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.25);
}

.bouton-transparent:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* En-tête translucide */

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(1.8) blur(14px);
  -webkit-backdrop-filter: saturate(1.8) blur(14px);
  border-bottom: 1px solid rgba(227, 233, 233, 0.7);
}

.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  height: 4.5rem;
}

.logo {
  display: inline-flex;
  color: var(--petrole);
  text-decoration: none;
}

/* Monogramme MBM au trait, B ocre, « LABS » dessous sur toute la largeur */
.logo-marque {
  display: block;
  height: 2.75rem;
  width: auto;
  aspect-ratio: 100 / 88.5;
  overflow: visible;
}

.logo-marque .m {
  stroke: currentColor;
}

.logo-marque .b {
  stroke: var(--ocre);
}

.logo-marque .labs {
  fill: var(--gris);
  font-family: var(--police-titre);
  font-size: 22px;
  font-weight: 500;
}

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

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: var(--gris);
  font-family: var(--police-titre);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}

.nav a:hover {
  color: var(--encre);
  background: var(--surface);
}

.nav a[aria-current="page"] {
  color: var(--encre);
  background: var(--surface);
}

.nav .bouton {
  min-height: 2.5rem;
  margin-left: 0.5rem;
  padding: 0 1.1rem;
  background: var(--encre);
  color: var(--blanc);
}

.nav .bouton:hover,
.nav .bouton[aria-current="page"] {
  background: var(--petrole);
  color: var(--blanc);
}

/* Sur téléphone, une seule ligne : le logo mène déjà à l'accueil */
@media (max-width: 42rem) {
  .nav li:first-child {
    display: none;
  }

  .nav a {
    padding: 0 0.7rem;
    font-size: 0.9375rem;
  }

  .logo-marque {
    height: 2.5rem;
  }
}

/* Fond des bandeaux : halos de couleur et grille de points qui s'estompe */

.halo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.halo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42rem 24rem at 82% -6%, rgba(224, 165, 38, 0.2), transparent 70%),
    radial-gradient(40rem 26rem at 8% 4%, rgba(15, 61, 69, 0.07), transparent 70%);
}

.halo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(15, 61, 69, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* Bandeau d'accueil */

.accueil {
  padding: clamp(4.5rem, 10vw, 8rem) 0 0;
  text-align: center;
}

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--trait);
  box-shadow: var(--ombre-douce);
  color: var(--gris);
  font-family: var(--police-titre);
  font-size: 0.9375rem;
  font-weight: 500;
}

.pastille::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ocre);
  box-shadow: 0 0 0 4px rgba(224, 165, 38, 0.2);
}

.accueil h1 {
  max-width: 14ch;
  margin: 1.75rem auto 0;
}

/* Ocre uni plus soutenu : contraste ≥ 3:1 pour du grand texte */
.accent {
  color: #b07a10;
}

.accueil .chapo {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  color: var(--gris);
  font-size: clamp(1.1875rem, 1.8vw, 1.3125rem);
  line-height: 1.55;
}

.accueil .boutons {
  justify-content: center;
  margin-top: 2.25rem;
}

/* Vitrine : trois téléphones dessinés */

.vitrine {
  position: relative;
  margin-top: clamp(3.5rem, 7vw, 5rem);
  height: clamp(20rem, 46vw, 34rem);
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(224, 165, 38, 0.28), transparent 60%),
    linear-gradient(180deg, var(--petrole) 0%, var(--petrole-nuit) 100%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.vitrine::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.telephone {
  position: relative;
  z-index: 1;
  flex: none;
  width: clamp(9.5rem, 21vw, 15.5rem);
  aspect-ratio: 9 / 19;
  padding: 0.55rem;
  border-radius: 2.4rem;
  background: linear-gradient(160deg, #24464d, #0c2328);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.telephone:nth-child(1),
.telephone:nth-child(3) {
  margin-top: clamp(2rem, 5vw, 4rem);
  opacity: 0.92;
}

.ecran {
  position: relative;
  height: 100%;
  border-radius: 1.9rem;
  background: #fbfaf7;
  overflow: hidden;
  padding: 2.4rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ecran::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 34%;
  height: 1.1rem;
  border-radius: 999px;
  background: #0c2328;
  transform: translateX(-50%);
}

/* Éléments d'interface schématiques */
.ui-ligne {
  height: 0.5rem;
  border-radius: 999px;
  background: #e3e8e8;
}

.ui-titre {
  height: 0.85rem;
  width: 60%;
  border-radius: 999px;
  background: var(--encre);
}

.ui-carte {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem;
  border-radius: 0.9rem;
  background: var(--blanc);
  box-shadow: 0 1px 2px rgba(11, 31, 36, 0.06), 0 4px 12px -6px rgba(11, 31, 36, 0.12);
}

.ui-carte > div {
  flex: 1;
  display: grid;
  gap: 0.35rem;
}

.ui-pastille {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 0.6rem;
  background: var(--ocre-clair);
}

.ui-pastille.petrole {
  background: #d6e6e8;
}

.ui-grande {
  height: 38%;
  border-radius: 1.1rem;
  background:
    radial-gradient(80% 90% at 80% 10%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(140deg, var(--ocre) 0%, #c9851b 100%);
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
}

.ui-grande .ui-ligne {
  background: rgba(255, 255, 255, 0.75);
}

.ui-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.ui-grille span {
  aspect-ratio: 1;
  border-radius: 0.8rem;
  background: #e8eeee;
}

.ui-grille span:nth-child(1) {
  background: linear-gradient(140deg, #3c6c74, var(--petrole));
}

.ui-grille span:nth-child(4) {
  background: linear-gradient(140deg, var(--ocre-vif), var(--ocre));
}

.ui-barre {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 0.6rem 0.4rem;
  border-radius: 999px;
  background: var(--blanc);
  box-shadow: 0 1px 2px rgba(11, 31, 36, 0.06);
}

.ui-barre span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #cfd8d8;
}

.ui-barre span:first-child {
  background: var(--petrole);
}

@media (max-width: 40rem) {
  .telephone:nth-child(1),
  .telephone:nth-child(3) {
    display: none;
  }

  .telephone {
    width: 13rem;
  }
}

/* Bandeau des pages intérieures */

.bandeau-page {
  padding: clamp(4rem, 9vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  text-align: center;
}

.bandeau-page h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin-top: 1.5rem;
}

.bandeau-page .chapo {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  color: var(--gris);
  font-size: 1.1875rem;
}

/* Sections */

.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.bandeau-page + .section {
  padding-top: clamp(1rem, 3vw, 2rem);
}

.section-grise {
  background: var(--surface);
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}

.tete-section {
  max-width: 40rem;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  text-align: center;
}

.etiquette {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--ocre-texte);
  font-family: var(--police-titre);
  font-weight: 500;
  font-size: 0.9375rem;
}

.tete-section p {
  margin-top: 1.25rem;
  color: var(--gris);
  font-size: 1.1875rem;
}

/* Chiffres et faits */

.faits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: var(--ombre-douce);
  overflow: hidden;
}

.faits div {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.faits div + div {
  border-left: 1px solid var(--trait);
}

.faits dt {
  color: var(--gris);
  font-size: 0.9375rem;
}

.faits dd {
  margin: 0.35rem 0 0;
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--encre);
}

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

  .faits div:nth-child(3) {
    border-left: 0;
  }

  .faits div:nth-child(n + 3) {
    border-top: 1px solid var(--trait);
  }
}

/* Présentation en deux colonnes */

.presentation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2.5rem clamp(3rem, 8vw, 6rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.presentation .texte {
  display: grid;
  gap: 1.1rem;
  color: var(--gris);
  font-size: 1.1875rem;
}

.presentation .texte strong {
  color: var(--encre);
  font-weight: 700;
}

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

/* Cartes */

.cartes {
  display: grid;
  grid-template-columns: repeat(var(--colonnes, 3), minmax(0, 1fr));
  gap: 1rem;
}

.cartes-2 {
  --colonnes: 2;
}

.cartes-4 {
  --colonnes: 4;
}

@media (max-width: 60rem) {
  .cartes,
  .cartes-4 {
    --colonnes: 2;
  }
}

@media (max-width: 40rem) {
  .cartes,
  .cartes-2,
  .cartes-4 {
    --colonnes: 1;
  }
}

.carte {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--rayon);
  background: var(--blanc);
  border: 1px solid var(--trait);
  box-shadow: var(--ombre-douce);
  transition: transform 0.3s var(--sortie), box-shadow 0.3s var(--sortie), border-color 0.3s;
}

.carte:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-haute);
  border-color: #d5dede;
}

.carte p {
  color: var(--gris);
}

.carte-icone {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #f1f4f4);
  border: 1px solid var(--trait);
  color: var(--petrole);
  box-shadow: 0 1px 2px rgba(11, 31, 36, 0.06);
}

.carte-icone.ocre {
  background: linear-gradient(145deg, #fff8e8, var(--ocre-clair));
  border-color: #f3dfae;
  color: var(--ocre-texte);
}

.liste-coches {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.liste-coches li {
  display: flex;
  gap: 0.6rem;
  color: var(--encre);
  font-size: 1rem;
}

.liste-coches .icone {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  color: var(--ocre);
  stroke-width: 2.25;
}

/* Étapes numérotées */

.etapes {
  counter-reset: etape;
}

.etapes .carte {
  counter-increment: etape;
}

.etapes .carte::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--encre);
  color: var(--blanc);
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 0.9375rem;
}

/* Dirigeants */

.personne {
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(145deg, var(--petrole), var(--petrole-nuit));
  color: var(--blanc);
  font-family: var(--police-titre);
  font-weight: 700;
  font-size: 1.1875rem;
  box-shadow: 0 0 0 4px var(--blanc), 0 0 0 5px var(--trait);
}

.personne .role {
  margin-top: 0.15rem;
  color: var(--ocre-texte);
  font-family: var(--police-titre);
  font-weight: 500;
  font-size: 0.9375rem;
}

.personne p:last-child {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
}

/* Appel à l'action */

.appel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: 28px;
  background: linear-gradient(160deg, var(--petrole) 0%, var(--petrole-nuit) 100%);
  color: var(--blanc);
  text-align: center;
}

.appel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(224, 165, 38, 0.32), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 22px 22px;
}

.appel h2 {
  color: var(--blanc);
  max-width: 18ch;
  margin: 0 auto;
}

.appel p {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1875rem;
}

.appel .boutons {
  justify-content: center;
  margin-top: 2rem;
}

/* Contact */

.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: start;
}

@media (max-width: 52rem) {
  .contact-grille {
    grid-template-columns: 1fr;
  }
}

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

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

.coordonnees .carte-icone {
  margin: 0;
}

.coordonnees dt {
  color: var(--gris);
  font-size: 0.9375rem;
}

.coordonnees dd {
  margin: 0.1rem 0 0;
  font-family: var(--police-titre);
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.4;
  color: var(--encre);
}

.coordonnees dd a {
  color: inherit;
  text-decoration: none;
}

.coordonnees dd a:hover {
  color: var(--petrole);
  text-decoration: underline;
}

.sujets {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.sujets a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--rayon-petit);
  border: 1px solid var(--trait);
  background: var(--surface);
  color: var(--encre);
  font-family: var(--police-titre);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--sortie);
}

.sujets a:hover {
  background: var(--blanc);
  border-color: #d0dada;
  transform: translateX(3px);
}

.sujets small {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--police-texte);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--gris);
}

.sujets .icone {
  color: var(--gris-clair);
}

/* Mentions légales */

.document {
  max-width: 50rem;
  margin: 0 auto;
}

.document h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 3rem 0 1rem;
}

.document h2:first-child {
  margin-top: 0;
}

.document p {
  color: var(--gris);
  margin-bottom: 0.75rem;
}

.document dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  margin: 0;
  border: 1px solid var(--trait);
  border-radius: var(--rayon-petit);
  overflow: hidden;
}

.document dt,
.document dd {
  margin: 0;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--trait);
}

.document dt {
  background: var(--surface);
  color: var(--gris);
  font-size: 0.9375rem;
}

.document dd {
  color: var(--encre);
}

.document dt:last-of-type,
.document dd:last-of-type {
  border-bottom: 0;
}

@media (max-width: 36rem) {
  .document dl {
    grid-template-columns: 1fr;
  }

  .document dt {
    border-bottom: 0;
    padding-bottom: 0.2rem;
  }
}

/* Pied de page */

.pied {
  margin-top: clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--trait);
  background: var(--surface);
  color: var(--gris);
  font-size: 0.9375rem;
}

.pied-grille {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  padding-top: clamp(3rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

@media (max-width: 52rem) {
  .pied-grille {
    grid-template-columns: 1fr 1fr;
  }

  .pied-grille > :first-child {
    grid-column: 1 / -1;
  }
}

.pied .logo-marque {
  height: 3.5rem;
}

.pied-marque p {
  margin-top: 1rem;
  max-width: 22rem;
}

.pied-titre {
  margin-bottom: 1rem;
  color: var(--encre);
  font-family: var(--police-titre);
  font-weight: 700;
}

.pied li + li {
  margin-top: 0.55rem;
}

.pied a {
  color: var(--gris);
  text-decoration: none;
  transition: color 0.15s;
}

.pied a:hover {
  color: var(--encre);
}

.pied address {
  font-style: normal;
  display: grid;
  gap: 0.55rem;
}

.pied-bas {
  border-top: 1px solid var(--trait);
  padding: 1.5rem 0;
  font-size: 0.9375rem;
}

.pied-bas .conteneur {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

/* Apparition : au chargement pour le bandeau, au défilement pour le reste */

/* « translate » plutôt que « transform » : le survol des cartes reste libre */
@keyframes monter {
  from {
    opacity: 0;
    translate: 0 16px;
  }

  to {
    opacity: 1;
    translate: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .apparait {
    animation: monter 0.8s var(--sortie) both;
  }

  .apparait-2 {
    animation-delay: 0.08s;
  }

  .apparait-3 {
    animation-delay: 0.16s;
  }

  .apparait-4 {
    animation-delay: 0.24s;
  }

  .vitrine.apparait {
    animation-duration: 1.1s;
    animation-delay: 0.3s;
  }

  @supports (animation-timeline: view()) {
    .revele {
      animation: monter linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Contraste renforcé demandé par le système */
@media (prefers-contrast: more) {
  :root {
    --gris: var(--encre);
    --trait: #9fb0b0;
    --ocre-texte: #6e4805;
  }

  .accent {
    color: #8a5a07;
  }

  .entete {
    background: var(--blanc);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .entete {
    background: var(--blanc);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
