/* ─────────────────────────────────────────────────────────────
   Styles partagés des pages secondaires : pages modules
   (messagerie-avocat/, gestion-dossiers-avocat/, facturation-electronique-avocat/,
   ia-avocat/) et pages légales (mentions-legales/, confidentialite/).
   La landing (index.html) et outils/ gardent leurs styles en ligne.
   ───────────────────────────────────────────────────────────── */

/* Polices hébergées localement (assets/fonts/) */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/Inter-400-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/Inter-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/Inter-500-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('fonts/Inter-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Petrona'; font-weight: 400; font-display: swap; src: url('fonts/Petrona-400-latin.woff2') format('woff2'); 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; }
@font-face { font-family: 'Petrona'; font-weight: 400; font-display: swap; src: url('fonts/Petrona-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Palette et tokens : identiques à la landing (index.html) */
:root {
  --white: #F5F1E8;          /* ivoire principal (fond) */
  --black: #1A1815;          /* presque noir, légèrement chaud */
  --gray: #6B655A;           /* gris chaud */
  --gray-light: #9C9587;     /* gris clair chaud */
  --gray-pale: #EDE8DC;      /* ivoire plus profond (cards, pills) */
  --gray-border: #DDD6C7;    /* bordures chaudes */
  --gray-section: #EFEADF;   /* sections alternées */
  --gold: #B8975A;           /* or champagne */
  --gold-light: #C9A96E;     /* or clair */
  --gold-deep: #8F7240;      /* or foncé : texte doré sur fond clair */
  --gold-pale: rgba(184,151,90,0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--gold-light) var(--gray-section); scrollbar-width: thin; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--gray-section); }
::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 9999px; border: 2.5px solid var(--gray-section); }
/* Ni italique ni gras dans la DA : l'emphase passe par la couleur */
em { font-style: normal; color: var(--gold); }
strong { font-weight: 500; }

/* ── NAV : pilule flottante de la landing ── */
nav.site-nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 100;
  width: fit-content; max-width: calc(100% - 40px); margin: 0 auto;
  border-radius: 9999px;
  background: rgba(245,241,232,0.82);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--gray-border);
  box-shadow: 0 10px 32px rgba(26,24,21,0.12);
}
.nav-inner { height: 52px; padding: 0 10px 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.nav-logo-img { height: 44px; width: auto; }
.nav-logo-name { height: 32px; width: auto; margin-left: 10px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { position: relative; font-size: 13px; color: var(--black); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  display: inline-block;
  border-radius: 9999px; padding: 10px 24px;
  font-size: 13px; font-weight: 500;
  background: var(--gold); color: var(--black); text-decoration: none; white-space: nowrap;
  transition: transform 0.55s var(--ease), background 0.25s ease, box-shadow 0.3s ease;
}
.nav-cta:hover { background: var(--gold-light); box-shadow: 0 6px 20px rgba(184,151,90,0.38); }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px; transition: background 0.2s; }
.nav-hamburger:hover { background: var(--gray-pale); }
.nav-hamburger span { display: block; height: 1px; width: 100%; background: var(--black); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-drawer {
  position: fixed; top: 78px; left: 0; right: 0; z-index: 99;
  background: rgba(245,241,232,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 0 solid var(--gray-border); padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.3s ease;
}
.nav-drawer.open { max-height: 460px; padding: 24px 24px 32px; border-bottom-width: 0.5px; }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; }
.nav-drawer ul li a { display: block; font-size: 22px; font-weight: 400; color: var(--black); text-decoration: none; padding: 14px 0; border-bottom: 0.5px solid var(--gray-border); letter-spacing: -0.3px; transition: color 0.2s; }
.nav-drawer ul li:last-child a { border-bottom: none; }
.nav-drawer ul li a:hover { color: var(--gold); }
.nav-drawer-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.nav-drawer-cta a { display: flex; align-items: center; justify-content: center; border-radius: 9999px; padding: 14px 32px; font-size: 14px; font-weight: 500; background: var(--gold); color: var(--black); text-decoration: none; }
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { gap: 18px; padding: 0 20px; }
}

/* ── Boutons à cercle expansif (repris de la landing) ── */
.cta-btn-primary {
  position: relative; display: inline-flex; align-items: center;
  min-height: 52px; padding: 4px 26px 4px 4px;
  border-radius: 9999px; text-decoration: none; cursor: pointer; isolation: isolate;
  border: 0.5px solid var(--gray-border); background: var(--white);
  transition: transform 0.55s var(--ease), background 0.25s ease, box-shadow 0.3s ease;
}
.btn-circle { position: absolute; top: 4px; left: 4px; width: 44px; height: 44px; border-radius: 9999px; background: var(--black); transition: width 0.5s var(--ease); z-index: 0; }
.cta-btn-primary:hover .btn-circle { width: calc(100% - 8px); }
.btn-circle-icon { position: absolute; top: 50%; left: 22px; transform: translate(-50%, -50%); display: flex; z-index: 2; transition: transform 0.5s var(--ease); }
.cta-btn-primary:hover .btn-circle-icon { transform: translate(calc(-50% + 6px), -50%); }
.btn-circle-icon svg { width: 18px; height: 18px; stroke: var(--white); }
.btn-label { position: relative; z-index: 1; padding-left: 56px; font-size: 13px; font-weight: 500; color: var(--black); white-space: nowrap; transition: color 0.5s ease; }
.cta-btn-primary:hover .btn-label { color: var(--white); }
@media (max-width: 520px) {
  .cta-btn-primary { min-height: 46px; padding-right: 20px; }
  .btn-circle { width: 38px; height: 38px; }
  .btn-circle-icon { left: 19px; }
  .btn-label { padding-left: 48px; font-size: 12.5px; }
}

/* ── Fil d'Ariane ── */
.crumbs { font-size: 12.5px; color: var(--gray); margin-bottom: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--gray-light); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--black); }
.crumbs [aria-current] { color: var(--black); }

/* ══════════════════════════════════════════════════════════════════
   PAGE MODULE (messagerie, dossiers, facturation, IA)
   Le contenu est celui des anciennes modales « Toutes les fonctionnalités »
   de la landing, repris en page à part entière.
   ══════════════════════════════════════════════════════════════════ */

/* ── 1. Ouverture : sujet de la page (h1), titre large, introduction ── */
.fm-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 132px clamp(24px, 4vw, 56px) 48px;
  text-align: center;
}
.fm-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
}
.fm-display {
  font-family: 'Petrona', Georgia, serif;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--black);
  margin: 0;
}
.fm-lead {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 16px; line-height: 1.75;
  color: var(--gray);
}

/* Capture réelle du module, comme sur la landing */
.fm-shot {
  max-width: 1040px;
  margin: 0 auto clamp(56px, 6vw, 80px);
  padding: 0 clamp(20px, 4vw, 56px);
}
.fm-shot img {
  width: 100%;
  border-radius: 14px;
  border: 0.5px solid var(--gray-border);
  box-shadow: 0 2px 6px -3px rgba(26,24,21,0.12), 0 40px 80px -40px rgba(26,24,21,0.45);
}

/* ── 2. Bento : chaque fonctionnalité = une cellule illustrée ── */
.fm-bento {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 232px 232px;
  grid-template-areas:
    "conn conn conn"
    "lia  ctx  prj"
    "mrq  urg  not";
  gap: 16px;
}
.fm-cell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 0.5px solid var(--gray-border);
  box-shadow: 0 2px 6px -3px rgba(26,24,21,0.12), 0 18px 40px -26px rgba(26,24,21,0.3);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.fm-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px -3px rgba(26,24,21,0.14), 0 26px 56px -24px rgba(26,24,21,0.4);
}
.fm-cell-ill {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.fm-cell:hover .fm-cell-ill { transform: scale(1.04); }
.fm-cell-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(245,241,232,0.94) 0%, rgba(245,241,232,0.82) 22%,
    rgba(245,241,232,0.25) 48%, rgba(245,241,232,0) 68%);
  pointer-events: none;
}
.fm-cell-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  z-index: 1;
}
.fm-cell-icon {
  width: 30px; height: 30px; margin-bottom: 10px;
  border-radius: 9px;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.fm-cell-icon svg { width: 16px; height: 16px; }
.fm-cell-label {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.fm-cell h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 500;
  line-height: 1.25; letter-spacing: -0.3px;
  color: var(--black);
  margin: 0 0 5px;
}
.fm-cell p {
  font-size: 13px; line-height: 1.5;
  color: var(--gray); margin: 0;
}

/* Cellule connexion : hook horizontal sources → LyraLex. */
.fm-cell-conn {
  grid-area: conn;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 20px;
  padding: 26px clamp(24px, 3vw, 40px);
  min-height: 148px;
}
.fm-cell-conn .fm-cell-ill { object-position: center; }
.fm-conn-copy { position: relative; z-index: 1; }
.fm-conn-copy h2 {
  font-family: 'Petrona', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 27px); font-weight: 400;
  line-height: 1.12; letter-spacing: -0.5px;
  color: var(--black); margin: 8px 0 0;
}
.fm-conn-flow {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.fm-conn-sources { display: flex; flex-direction: column; gap: 10px; }
.fm-mailbox {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px;
  background: #fff;
  border: 0.5px solid var(--gray-border);
  border-radius: 11px;
  font-size: 13px; font-weight: 500; color: var(--black);
  box-shadow: 0 10px 22px -14px rgba(26,24,21,0.4);
}
.fm-mailbox svg { width: 17px; height: 17px; flex: none; }
/* Fils fins dorés : les courbes des sources se rejoignent,
   puis une flèche unique vers LyraLex. Le flux « marche » vers la cible. */
.fm-conn-wires { position: relative; flex: 1; min-width: 72px; align-self: stretch; }
.fm-conn-wires > svg:not(.fm-conn-arrow) { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fm-wire {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.fm-wire-flow {
  stroke: var(--gold);
  stroke-dasharray: 5 8;
  animation: fm-wire-flow 0.9s linear infinite;
}
@keyframes fm-wire-flow { to { stroke-dashoffset: -13; } }
.fm-conn-arrow {
  position: absolute; top: 50%; right: -3px;
  transform: translateY(-50%);
  width: 11px; height: 11px;
}
.fm-conn-arrow path {
  fill: none; stroke: var(--gold);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.fm-conn-target {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; flex: none;
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 15px;
  box-shadow: 0 12px 30px -12px rgba(184,151,90,0.8);
  animation: fm-target-pulse 1.9s ease-in-out infinite;
}
.fm-conn-target img { width: 34px; height: 34px; object-fit: contain; }
/* Dossiers : 4 sources (Emails, Pièces, Tâches, Échéances) → un peu plus haut. */
.fm-cell-conn-img { min-height: 188px; }
@keyframes fm-target-pulse {
  0%, 45%, 100% { box-shadow: 0 12px 30px -14px rgba(184,151,90,0.55); }
  62%           { box-shadow: 0 14px 40px -10px rgba(184,151,90,1); }
}

.fm-cell-lia { grid-area: lia; } .fm-cell-ctx { grid-area: ctx; }
.fm-cell-prj { grid-area: prj; } .fm-cell-mrq { grid-area: mrq; }
.fm-cell-urg { grid-area: urg; } .fm-cell-not { grid-area: not; }

/* ── 3. Et aussi : liste légère, sans illustration ── */
.fm-more {
  max-width: 1040px;
  margin: clamp(56px, 6vw, 76px) auto 0;
  padding: clamp(40px, 4vw, 52px) clamp(24px, 4vw, 56px) 0;
  border-top: 0.5px solid var(--gray-border);
}
.fm-more-head { text-align: center; margin-bottom: clamp(32px, 4vw, 44px); }
.fm-more-head h2 {
  font-family: 'Petrona', Georgia, serif;
  font-size: clamp(21px, 2.4vw, 28px); font-weight: 400;
  color: var(--black); margin: 0;
}
.fm-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 34px;
}
.fm-more-item { display: flex; gap: 13px; align-items: flex-start; }
.fm-more-ic {
  width: 30px; height: 30px; flex: none;
  border-radius: 9px; background: var(--gold-pale); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.fm-more-ic svg { width: 15px; height: 15px; }
.fm-more-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px; font-weight: 500; color: var(--black);
  margin: 2px 0 4px;
}
.fm-more-item p { font-size: 13px; line-height: 1.55; color: var(--gray); margin: 0; }

/* ── 4. Appel à l'action ── */
.fm-foot {
  max-width: 640px; margin: 0 auto;
  padding: clamp(52px, 6vw, 72px) clamp(24px, 4vw, 56px);
  text-align: center;
}
.fm-foot p {
  font-family: 'Petrona', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--black); margin: 0 0 24px;
}

/* ── 5. Les autres modules : maillage entre les pages ── */
.fm-others {
  background: var(--gray-section);
  border-top: 0.5px solid var(--gray-border);
  padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 56px);
}
.fm-others-inner { max-width: 1040px; margin: 0 auto; }
.fm-others h2 {
  font-family: 'Petrona', Georgia, serif;
  font-size: clamp(21px, 2.4vw, 28px); font-weight: 400;
  text-align: center; margin: 0 0 clamp(28px, 3vw, 36px);
}
.fm-others ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fm-others a {
  display: block; height: 100%;
  padding: 22px 24px;
  background: var(--white);
  border: 0.5px solid var(--gray-border);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.3s ease;
}
.fm-others a:hover { transform: translateY(-3px); border-color: var(--gold-light); box-shadow: 0 22px 44px -26px rgba(26,24,21,0.35); }
.fm-others-tag {
  display: block; margin-bottom: 8px;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
}
.fm-others-title { display: block; font-family: 'Petrona', Georgia, serif; font-size: 19px; line-height: 1.25; color: var(--black); }
.fm-others-arrow { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--gray); }
.fm-others a:hover .fm-others-arrow { color: var(--black); }

@media (max-width: 860px) {
  .fm-hero { padding-top: 112px; padding-bottom: 36px; }
  .fm-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "conn conn"
      "lia  ctx"
      "prj  mrq"
      "urg  not";
    gap: 12px;
  }
  .fm-cell:not(.fm-cell-conn) { min-height: 210px; }
  /* Connexion en pile verticale : les sources au-dessus, LyraLex en dessous. */
  .fm-cell-conn { grid-template-columns: 1fr; gap: 18px; text-align: center; padding: 26px 24px; }
  .fm-conn-copy h2 { margin-top: 4px; }
  .fm-conn-flow { flex-direction: column; gap: 12px; }
  .fm-conn-sources { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  /* Ligne verticale fine dorée qui descend vers LyraLex. */
  .fm-conn-wires {
    width: 2px; min-width: 0; height: 30px; flex: none; align-self: auto;
    background: repeating-linear-gradient(var(--gold) 0 4px, transparent 4px 9px);
    background-size: 2px 13px;
    animation: fm-wire-down 0.9s linear infinite;
  }
  .fm-conn-wires svg:not(.fm-conn-arrow) { display: none; }
  .fm-conn-arrow {
    top: auto; right: auto; bottom: -5px; left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .fm-more-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .fm-others ul { grid-template-columns: 1fr; }
}
@keyframes fm-wire-down { to { background-position: 0 13px; } }
@media (max-width: 600px) {
  .fm-bento {
    grid-template-columns: 1fr;
    grid-template-areas: "conn" "lia" "ctx" "prj" "mrq" "urg" "not";
  }
  .fm-cell:not(.fm-cell-conn) { min-height: 220px; }
  .fm-more-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ══════════════════════════════════════════════════════════════════
   PAGES LÉGALES (mentions légales, confidentialité)
   ══════════════════════════════════════════════════════════════════ */
.legal-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 132px clamp(24px, 4vw, 56px) 88px;
  color: var(--black);
}
.legal-prose .crumbs ol { justify-content: flex-start; }
.legal-prose h1 {
  font-family: 'Petrona', Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: -1px;
  line-height: 1.12;
  margin: 0 0 8px;
}
.legal-prose .legal-updated {
  font-size: 13px;
  color: var(--gray);
  margin: 0 0 40px;
}
.legal-prose h2 {
  font-family: 'Petrona', Georgia, serif;
  font-weight: 400;
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: -0.4px;
  margin: 40px 0 12px;
  color: var(--black);
  scroll-margin-top: 96px;
}
.legal-prose p,
.legal-prose ul {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 14px;
}
.legal-prose ul { padding-left: 22px; }
.legal-prose li { margin: 0 0 6px; }
.legal-prose strong { color: var(--black); }
.legal-prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose a:hover { color: var(--black); }
@media (max-width: 860px) { .legal-prose { padding-top: 112px; } }

/* ── Pied de page (repris de la landing) ── */
footer { background: var(--gray-section); padding: 52px 5vw 22px; border-top: 0.5px solid var(--gray-border); }
.fm-others + footer { border-top: 0; padding-top: 24px; }
.fm-others + footer .footer-top { padding-top: 40px; border-top: 0.5px solid var(--gray-border); }
.footer-top { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 0.5px solid var(--gray-border); }
.footer-logo-row { display: flex; align-items: center; text-decoration: none; }
.footer-logo-row img:first-child { height: 40px; width: auto; mix-blend-mode: multiply; }
.footer-logo-row img:last-child { height: 28px; width: auto; margin-left: 10px; }
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13.5px; color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--black); }
.footer-bottom { max-width: 1240px; margin: 0 auto; padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 12px; color: var(--gray); }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover, .footer-bottom a[aria-current] { color: var(--black); }
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; border-bottom: 0; }
  .footer-top > div:not(:first-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fm-cell, .fm-cell-ill, .fm-others a, .cta-btn-primary { transition: none; }
  .fm-wire-flow { animation: none; stroke-dasharray: none; }
  .fm-conn-wires { animation: none; }
  .fm-conn-target { animation: none; }
}
