/* =====================================================================
   GAÉ Finance - harmonisation de mise en page (chargée en dernier)
   1. Navigation : chevron « Expertises » (remplace le losange parasite)
   2. Fil d'Ariane intégré en haut du hero
   3. Axe gauche commun : toutes les sections s'alignent sur le hero
   4. Sections éditoriales en deux colonnes (titre | texte) : plus de
      grand vide à droite
   5. Bandeaux citation, hero « solo », expertises de l'accueil
   ===================================================================== */

/* ---------- 1. Navigation ---------- */
.nav-clean .nav-item--has-dropdown .nav-link::after {
  position: static;
  width: 6px;
  height: 6px;
  background: none;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin: -3px 0 0 2px;
  opacity: 0.55;
}
.nav-clean .nav-item--has-dropdown:hover .nav-link::after {
  transform: rotate(45deg) translate(1px, 1px);
}

/* ---------- 2. Fil d'Ariane ---------- */
main { position: relative; }

main > .page-breadcrumb:has(+ .service-hero) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 26px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(242, 246, 251, 0.6);
}
main > .page-breadcrumb:has(+ .service-hero) ol { gap: 4px 8px; }
main > .page-breadcrumb:has(+ .service-hero) li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 10px 0 2px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}
main > .page-breadcrumb:has(+ .service-hero) a {
  color: inherit;
  transition: color 0.2s ease;
}
main > .page-breadcrumb:has(+ .service-hero) a:hover {
  color: #ffffff;
  text-decoration: none;
}
main > .page-breadcrumb:has(+ .service-hero) [aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
/* Hero clair (Le cabinet) */
main > .page-breadcrumb:has(+ .service-hero--light) { color: #6b7280; }
main > .page-breadcrumb:has(+ .service-hero--light) a:hover { color: var(--text); }
main > .page-breadcrumb:has(+ .service-hero--light) [aria-current="page"] { color: var(--text); }

/* ---------- 3. Axe gauche commun ---------- */
main .container.narrow,
main .container.cab-quote,
main .service-hero--light .service-hero__grid--solo,
main .service-hero .container.service-hero__grid--solo {
  width: min(var(--container, 1180px), calc(100% - 40px));
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 4. Sections éditoriales : titre | texte ---------- */
@media (min-width: 981px) {
  main .container.narrow {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 104px);
    align-items: start;
  }
  main .container.narrow > * { grid-column: 1 / -1; min-width: 0; }

  /* En-tête à gauche, texte à droite */
  main .container.narrow > .cess-head,
  main .container.narrow > .section-head--single {
    grid-column: 1;
    grid-template-columns: 1fr;
    margin-bottom: 0;
    position: sticky;
    top: 110px;
  }
  main .container.narrow > .cess-head h2 { max-width: none; }
  main .container.narrow > .cess-copy,
  main .container.narrow > .richtext,
  main .container.narrow > p,
  main .container.narrow > .cess-linkcard,
  main .container.narrow > .met-coord {
    grid-column: 2;
    max-width: 68ch;
    margin-left: 0;
  }
  main .container.narrow > .cess-head + .cess-copy,
  main .container.narrow > .section-head--single + .richtext,
  main .container.narrow > .section-head--single + p { margin-top: 0; }
  /* Élément large (liste, grille) directement après l'en-tête :
     l'en-tête garde toute la largeur */
  main .container.narrow > .section-head--single:not(:has(+ .richtext, + p)) {
    grid-column: 1 / -1;
    position: static;
    margin-bottom: 40px;
  }
  main .container.narrow > .section-head--single ~ :is(.eq-work__list, .eq-contrib, .eq-never__list, .ope-conf, .grid-2, .met-steps, .cab-steps, .met-conf__grid) {
    margin-top: 40px;
  }
  main .container.narrow > .section-head--single + :is(.eq-contrib, .eq-never__list, .ope-conf, .grid-2, .met-steps, .cab-steps, .met-conf__grid) {
    margin-top: 0;
  }
  main #calendrier .cess-copy { margin-left: 0; }

  /* Blocs éditoriaux : kicker + titre à gauche, texte à droite */
  main .editorial-block,
  main .cab-open {
    display: flow-root;
    max-width: none;
  }
  main .editorial-block > .section-kicker,
  main .editorial-block > h2,
  main .cab-open > .section-kicker,
  main .cab-open > h2 {
    float: left;
    clear: left;
    width: 34%;
  }
  main .editorial-block > h2,
  main .cab-open > h2 { margin-top: 0; }
  main .editorial-block > :not(.section-kicker):not(h2),
  main .cab-open > :not(.section-kicker):not(h2) {
    margin-left: 40%;
    max-width: 68ch;
  }
  main .editorial-block .richtext p { max-width: none; }

  /* Pages « temps » de la méthode : titre à gauche, corps à droite */
  main .mt-body { max-width: none; display: flow-root; }
  main .mt-body > h2 {
    float: left;
    clear: both;
    width: 34%;
    padding-right: 24px;
    margin-top: 0;
  }
  main .mt-body > :not(h2) { margin-left: 40%; max-width: 68ch; }
  main .mt-body > h2 + * { margin-top: 0; }
}

/* ---------- 5a. Bandeaux citation (fond sombre) ---------- */
@media (min-width: 981px) {
  main .quote-band,
  main .container.cab-quote {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(40px, 6vw, 96px);
    align-items: end;
  }
  main .quote-band > .section-kicker,
  main .cab-quote > .section-kicker { grid-column: 1 / -1; }
  main .quote-band > blockquote,
  main .cab-quote > blockquote { grid-column: 1; max-width: 28ch; }
  main .quote-band > p,
  main .cab-quote > p {
    grid-column: 2;
    margin-top: 0;
    padding-left: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* ---------- 5b. Hero sans panneau : texte plus large ---------- */
@media (min-width: 981px) {
  main .service-hero__grid--solo .service-hero__copy { max-width: 880px; }
  main .service-hero--light .service-hero__grid--solo { max-width: none; }
}

/* ---------- 5c. Accueil : expertises sur une grille régulière ---------- */
@media (min-width: 1025px) {
  #expertises .expertise-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px clamp(40px, 6vw, 96px);
  }
  #expertises .expertise-item:nth-child(n) {
    grid-column: auto;
    margin-top: 0;
  }
}
/* Les 4 titres (et textes) d'expertise à la même taille, à toutes les largeurs */
#expertises .expertise-item:nth-child(n) h3 { font-size: 1.28rem; }
#expertises .expertise-item:nth-child(n) p { font-size: 0.98rem; max-width: 52ch; }
/* Accueil : le texte d'introduction passe sous le titre principal */
#expertises .section-head { display: block; }
#expertises .section-head h2 { max-width: none; }
#expertises .section-head > .section-side {
  margin: 22px 0 0;
  max-width: none;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- 6. Ajustements (2e passe) ---------- */

/* Titres de section : fin des retours à la ligne tous les deux mots */
.section-head h2 { max-width: 20ch; }

/* Hero clair : le lien secondaire était blanc sur fond clair */
main .service-hero--light .service-hero__actions .btn-secondary {
  color: var(--text);
  border-color: var(--line-strong, rgba(22, 24, 29, 0.2));
}

@media (min-width: 981px) {
  /* Synopsis « CADRER -> CONCLURE » : pleine largeur sous l'en-tête */
  main .container.narrow > p.method-synopsis { grid-column: 1 / -1; max-width: none; }
  main .container.narrow > .section-head--single:has(+ p.method-synopsis) {
    grid-column: 1 / -1;
    position: static;
    margin-bottom: 28px;
  }
  main .container.narrow > .section-head--single:has(+ p.method-synopsis) h2 { max-width: 20ch; }

  /* Texte en colonne droite qui suit une grille pleine largeur */
  main .container.narrow > :is(.eq-work__list, .eq-contrib, .eq-never__list, .ope-conf, .grid-2, .met-steps, .met-conf__grid) + :is(.richtext, p, .cess-copy) {
    margin-top: 36px;
  }

  /* Cabinet « Comment nous accompagnons » : en-tête | étapes */
  main .container.narrow > .section-head--single:has(+ .cab-steps) {
    grid-column: 1;
    position: sticky;
    margin-bottom: 0;
  }
  main .container.narrow > .section-head--single + .cab-steps { grid-column: 2; margin-top: 0; }

  /* En-têtes « cess-head » dans les sections larges :
     kicker + titre à gauche, chapeau à droite (comme l'accueil) */
  main .container:not(.narrow) > .cess-head:not(.cess-head--center) {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 104px);
    align-items: end;
  }
  main .container:not(.narrow) > .cess-head:not(.cess-head--center) > .section-kicker,
  main .container:not(.narrow) > .cess-head:not(.cess-head--center) > h2 { grid-column: 1; }
  main .container:not(.narrow) > .cess-head:not(.cess-head--center) > :not(.section-kicker):not(h2) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    max-width: 62ch;
    margin: 0;
  }
}

/* ---------- 7. Pages Acquisition et Levée de fonds ----------
   Titre à gauche ; « en une phrase » et premier texte à droite ;
   sous-titres (h3) à gauche de leur texte. Grilles en pleine largeur. */
@media (min-width: 981px) {
  main .container:has(> .acq-head:not(.acq-head--center)),
  main .container:has(> .ldf-head) {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 104px);
    align-items: start;
  }
  main .container:has(> .acq-head:not(.acq-head--center)) > *,
  main .container:has(> .ldf-head) > * { grid-column: 1 / -1; min-width: 0; }

  /* En-tête suivi de la phrase-clé */
  main .container > .acq-head:has(+ .acq-phrase),
  main .container > .ldf-head:has(+ .ldf-phrase) {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-bottom: 0;
    max-width: none;
  }
  main .container > .acq-head + .acq-phrase,
  main .container > .ldf-head + .ldf-phrase {
    grid-column: 2;
    grid-row: 1;
    max-width: 62ch;
    margin-top: 0;
  }
  main .container > .acq-head + .acq-phrase + .acq-copy,
  main .container > .ldf-head + .ldf-phrase + .ldf-copy {
    grid-column: 2;
    grid-row: 2;
  }
  main .container > .acq-head + .acq-phrase ~ :not(.acq-copy:nth-child(3)),
  main .container > .ldf-head + .ldf-phrase ~ :not(.ldf-copy:nth-child(3)) { margin-top: 44px; }
  main .container > .acq-head + .acq-phrase ~ :nth-child(3):not(.acq-copy),
  main .container > .ldf-head + .ldf-phrase ~ :nth-child(3):not(.ldf-copy) { margin-top: 56px; }

  /* En-tête avec chapeau intégré : titre à gauche, chapeau à droite */
  main .container > .acq-head:not(.acq-head--center):has(> p) {
    display: grid;
    grid-template-columns: subgrid;
    align-items: end;
  }
  main .acq-head:not(.acq-head--center):has(> p) > .section-kicker,
  main .acq-head:not(.acq-head--center):has(> p) > h2 { grid-column: 1; }
  main .acq-head:not(.acq-head--center):has(> p) > p {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin: 0;
    max-width: 62ch;
  }
  /* Déroulé : les étapes occupent la colonne droite */
  main .container > .acq-head:has(> p) + .acq-steps { grid-column: 2; }
  main .container > .acq-head:has(> p) + .acq-steps ~ .acq-copy { grid-column: 2; }

  /* Sous-titre + texte : h3 à gauche, texte à droite */
  main .container > .ldf-sub:has(+ .ldf-copy),
  main .container > .acq-subhead:has(+ .acq-copy, + .acq-checklist) {
    grid-column: 1;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--line, rgba(22, 24, 29, 0.1));
  }
  main .container > .ldf-sub + .ldf-copy,
  main .container > .acq-subhead + .acq-copy,
  main .container > .acq-subhead + .acq-checklist {
    grid-column: 2;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--line, rgba(22, 24, 29, 0.1));
  }
  main .container > .ldf-sub + .ldf-copy p:first-child,
  main .container > .acq-subhead + :is(.acq-copy, .acq-checklist) > :first-child { margin-top: 0; }
}
@media (min-width: 981px) {
  main .container > .acq-head:has(> p):has(+ .acq-steps) {
    display: block;
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 110px;
    margin-bottom: 0;
  }
  main .acq-head:has(> p):has(+ .acq-steps) > p { margin-top: 18px; }
  main .container > .acq-head:has(> p) + .acq-steps { grid-row: 1; max-width: none; width: 100%; }
  main .container > .acq-head:has(> p) + .acq-steps ~ .acq-copy { margin-top: 28px; }
}

/* ---------- 8. Divers ---------- */
/* Bouton du bandeau « Un besoin à cadrer ? » (Levée) : sans style */
main .ldf-ctastrip a.btn:not(.btn-primary):not(.btn-secondary) {
  background: var(--accent-dark, #1d3557);
  color: #ffffff;
  border-color: transparent;
}
main .ldf-ctastrip a.btn:not(.btn-primary):not(.btn-secondary):hover { filter: brightness(1.12); }

/* Mobile : fil d'Ariane dans le hero, un peu d'air sous lui */
@media (max-width: 980px) {
  main > .page-breadcrumb:has(+ .service-hero) { padding-top: 18px; }
  main > .page-breadcrumb:has(+ .service-hero) + .service-hero { padding-top: 72px; }
}
/* Mobile étroit : le bouton du header chevauchait le logo
   (le lien Contact reste dans le menu burger) */
@media (max-width: 560px) {
  .topbar-clean .btn-clean { display: none; }
}

/* Pages « temps » : hero plus court, on laisse la place au fil d'Ariane */
@media (min-width: 981px) {
  main > .page-breadcrumb:has(+ .service-hero) + .service-hero { padding-top: max(96px, var(--hero-pt, 0px)); }
  main > .page-breadcrumb:has(+ .service-hero) + .service-hero:not(:has(.service-hero__grid--solo)),
  main > .page-breadcrumb:has(+ .service-hero) + .service-hero--light { padding-top: 110px; }
}

/* Opérations : référence alignée à gauche (elle flottait au centre) */
main .ope-row__id { justify-content: flex-start; align-items: baseline; }
main .ope-row__index { order: 0; }
main .ope-row__badges { margin-left: auto; }

/* Valorisation - méthodes : deux colonnes au lieu d'une liste étroite */
@media (min-width: 981px) {
  main .val-methods .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, 5vw, 80px);
  }
  main .val-methods .grid-3 .card:first-child,
  main .val-methods .grid-3 .card:nth-child(2) { padding-top: 8px; }
  main .val-methods .grid-3 .card:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
}

/* Heros sombres : sur-titre et encart « mode d'emploi » étaient
   en bleu/gris foncé sur fond bleu nuit (illisibles) */
main .service-hero:not(.service-hero--light) .eyebrow { color: var(--gold, #c3a36b); }
main .service-hero:not(.service-hero--light) .rep-use { color: rgba(242, 246, 251, 0.72); }
main .service-hero:not(.service-hero--light) .rep-use strong { color: #ffffff; }
main .service-hero:not(.service-hero--light) .rep-use a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }

/* En-têtes « single » dans les sections larges : titre | chapeau */
.section-head h2 { max-width: 24ch; }
@media (min-width: 981px) {
  main .container:not(.narrow) > .section-head--single:has(> .section-side) {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 104px);
    align-items: end;
  }
  main .container:not(.narrow) > .section-head--single > .section-side { max-width: 62ch; margin: 0; }
}
@media (min-width: 981px) {
  /* Méthode - confidentialité : en-tête | grille */
  main .container.narrow > .section-head--single:has(+ .met-conf__grid) {
    grid-column: 1;
    position: sticky;
    margin-bottom: 0;
  }
  main .container.narrow > .section-head--single + .met-conf__grid {
    grid-column: 2;
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
}

/* FAQ : titre à gauche, questions à droite (l'accordéon était centré,
   décalé par rapport au titre) */
@media (min-width: 981px) {
  main section#faq > .container {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 104px);
    align-items: start;
  }
  main section#faq > .container > * { grid-column: 2; min-width: 0; max-width: none; margin-left: 0; margin-right: 0; width: auto; }
  main section#faq > .container > :first-child {
    grid-column: 1;
    grid-row: 1 / span 3;
    position: sticky;
    top: 110px;
    text-align: left;
    margin: 0;
  }
  main section#faq > .container > :first-child h2 { margin-left: 0; margin-right: 0; }
  main section#faq > .container > :first-child .section-head,
  main section#faq > .container > .section-head { grid-template-columns: 1fr; }
}

/* ---------- 9. Visuel de hero (Méthode) : courbe des 7 temps + audio ---------- */
.service-hero__grid--visual { align-items: center; }

.hero-visual {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-s, 4px);
  padding: 24px 24px 20px;
  color: #f4f7fb;
}
.hero-visual__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold, #c3a36b);
}
.hero-visual__now {
  margin: 8px 0 0;
  min-height: 1.6em;
  font-size: 0.95rem;
  color: rgba(242, 246, 251, 0.72);
}
.hero-visual__now [data-hv-num] {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--gold, #c3a36b);
  margin-right: 4px;
}
.hero-visual__now strong { color: #ffffff; font-weight: 600; }
.hero-visual__now em { font-style: normal; }
.hero-visual__now em::before { content: " - "; opacity: 0.6; }

.hero-visual__svg { display: block; width: 100%; height: auto; margin: 6px 0 4px; overflow: visible; }
.hv-grid line { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.hv-track { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; stroke-dasharray: 3 5; }
.hv-line {
  fill: none;
  stroke: var(--gold, #c3a36b);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s cubic-bezier(.4, 0, .2, 1);
}
.hv-node { cursor: default; }
.hv-dot {
  fill: #10161f;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.5;
  transition: fill 0.4s ease, stroke 0.4s ease;
}
.hv-halo {
  fill: none;
  stroke: var(--gold, #c3a36b);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.hv-num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 11px;
  fill: rgba(242, 246, 251, 0.4);
  text-anchor: middle;
  transition: fill 0.4s ease;
}
.hv-label {
  font-size: 13.5px;
  fill: rgba(242, 246, 251, 0.55);
  transition: fill 0.4s ease;
}
.hv-node.is-done .hv-dot { fill: var(--gold, #c3a36b); stroke: var(--gold, #c3a36b); }
.hv-node.is-done .hv-label { fill: rgba(242, 246, 251, 0.78); }
.hv-node.is-active .hv-dot { fill: #ffffff; stroke: var(--gold, #c3a36b); stroke-width: 2.5; }
.hv-node.is-active .hv-label { fill: #ffffff; font-weight: 600; }
.hv-node.is-active .hv-num { fill: var(--gold, #c3a36b); }
.hv-node.is-active .hv-halo { animation: hv-pulse 1.6s ease-out infinite; }
@keyframes hv-pulse {
  0% { opacity: 0.9; transform: scale(0.45); }
  100% { opacity: 0; transform: scale(1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .hv-node.is-active .hv-halo { animation: none; opacity: 0.6; }
  .hv-line { transition: none; }
}

/* Lecteur audio */
.hv-player {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hv-play {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold, #c3a36b);
  background: transparent;
  color: var(--gold, #c3a36b);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.hv-play:hover, .hv-play:focus-visible { background: var(--gold, #c3a36b); color: #10161f; }
.hv-ico { width: 16px; height: 16px; fill: currentColor; }
.hv-ico--pause, .is-playing .hv-ico--play { display: none; }
.is-playing .hv-ico--pause { display: block; }
.hv-player__body { flex: 1 1 auto; min-width: 0; }
.hv-player__label { display: block; font-size: 0.88rem; color: #ffffff; margin-bottom: 8px; }
.hv-bar {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}
.hv-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 2px;
  background: var(--gold, #c3a36b);
}
.hv-time { font-size: 0.8rem; color: rgba(242, 246, 251, 0.6); font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
  .hero-visual { margin-top: 8px; }
}

/* ---------- 10. Méthode : les sept temps, lecture en fiches ----------
   Titre du temps à gauche ; « ce que nous faisons » et « pourquoi »
   côte à côte ; « selon votre opération » dans un encart dessous. */
@media (min-width: 981px) {
  main .met-steps { margin-top: 24px; }
  main .met-steps__item {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 104px);
    row-gap: 0;
    padding: 56px 0;
    align-items: start;
  }
  main .met-steps__item:first-child { padding-top: 24px; }
  main .met-steps__body { display: contents; }

  main .met-steps__num {
    grid-column: 1;
    grid-row: 1;
    font-size: 2.6rem;
    padding: 0;
    margin: 0 0 10px;
  }
  main .met-steps__body > h3 {
    grid-column: 1;
    grid-row: 2 / span 4;
    align-self: start;
    position: sticky;
    top: 110px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(1.45rem, 1.6vw + 0.5rem, 1.9rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
  }
  main .met-steps__body > h3 a { color: var(--text); text-decoration: none; }
  main .met-steps__body > h3 a:hover { color: var(--accent, #163867); }

  main .met-steps__body > .met-move,
  main .met-steps__body > .met-morelink { grid-column: 2; }
  main .met-steps__body > .met-move:nth-of-type(1) { grid-row: 1 / span 2; }
  main .met-steps__body > .met-move:nth-of-type(2) {
    grid-row: 3;
    margin-top: 26px;
  }
  main .met-steps__body > .met-move:nth-of-type(3) {
    grid-row: 4;
    margin: 26px 0 0;
    padding: 20px 24px;
    background: var(--creme, #f5f2ec);
    border-left: 2px solid var(--gold, #c3a36b);
  }
  main .met-steps__body > .met-morelink { grid-row: 5; margin-top: 22px; justify-self: start; }

  main .met-move__label {
    font-family: inherit;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent, #163867);
    margin-bottom: 10px;
  }
  main .met-move p,
  main .met-move ul {
    font-size: 1rem;
    line-height: 1.78;
    max-width: 66ch;
    color: #4b5563;
  }
  main .met-move ul { padding-left: 0; list-style: none; }
  main .met-move li { position: relative; padding-left: 18px; margin-bottom: 6px; }
  main .met-move li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.78em;
    width: 8px;
    height: 1px;
    background: var(--gold, #c3a36b);
  }
  main .met-move ul:has(> li:nth-child(4)) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    max-width: none;
  }
  main .met-morelink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    font-weight: 600;
    text-decoration: none;
  }

  /* Section « parcours » : les lignes occupent la largeur */
  main .met-parcours__item {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 104px);
  }
  main .met-parcours__body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 40px;
  }
  main .met-parcours__line + .met-parcours__line { margin-top: 0; }
  main .met-parcours__line strong { display: block; margin-bottom: 2px; }

  /* Coordination : les trois rôles côte à côte */
  main .met-coord__flow {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
  }
  main .met-coord__step,
  main .met-coord__step:last-child { border-bottom: none; }
}

/* Mobile / tablette : même hiérarchie, en une colonne */
@media (max-width: 980px) {
  main .met-steps__num { font-size: 1.9rem; }
  main .met-steps__body > h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
  main .met-steps__body > h3 a { color: var(--text); text-decoration: none; }
  main .met-steps__body > .met-move:last-of-type {
    padding: 16px 18px;
    background: var(--creme, #f5f2ec);
    border-left: 2px solid var(--gold, #c3a36b);
  }
}
@media (max-width: 980px) {
  main .met-steps__item { grid-template-columns: 1fr; gap: 6px; padding: 36px 0; }
  main .met-steps__num { font-size: 1.7rem; padding: 0; }
  main .met-steps__body > h3 { font-size: 1.35rem; line-height: 1.25; margin-bottom: 18px; }
  main .met-move__label {
    font-family: inherit;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent, #163867);
  }
  main .met-steps__body > .met-move:last-of-type ul { padding-left: 16px; }
}
main .met-steps + p { margin-top: 32px; }

/* ---------- Accueil : aperçu de Victor dans le bloc « Diagnostic de valorisation » ---------- */
#estimation .estimate-shot {
  display: block;
  margin: 0 0 32px;
  max-width: 460px;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#estimation .estimate-shot img { display: block; width: 100%; height: auto; border-radius: 18px; }
#estimation a.estimate-shot:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
@media (prefers-reduced-motion: reduce) { #estimation .estimate-shot { transition: none; } }

/* ---------- Équipe : photos toutes à la même taille, angles arrondis 5 px ---------- */
@media (min-width: 721px) {
  #equipe .team-portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .eq-team-strip__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .eq-portrait--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
#equipe .portrait-img,
.eq-team-strip__member img,
.eq-medallion,
.eq-medallion__photo { border-radius: 5px; }
.eq-medallion { overflow: hidden; }

/* Accueil : le texte d'introduction de l'équipe passe sous le titre principal */
#equipe .section-head { display: block; }
#equipe .section-head h2 { max-width: none; }
#equipe .section-head > .section-side {
  margin: 22px 0 0;
  max-width: none;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- Accueil, Méthode : sans numéros, texte d'introduction sous le titre ---------- */
#methode .method-num { display: none; }
#methode .method-row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
@media (max-width: 980px) {
  #methode .method-row { grid-template-columns: 1fr; }
  #methode .method-row p { grid-column: auto; }
}
#methode .section-head { display: block; }
#methode .section-head h2 { max-width: none; }
#methode .section-head > .section-side {
  margin: 22px 0 0;
  max-width: none;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- Accueil, Opérations : texte d'introduction sous le titre ---------- */
#operations .section-head { display: block; }
#operations .section-head h2 { max-width: none; }
#operations .section-head > .section-side {
  margin: 22px 0 0;
  max-width: none;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- Accueil, Contact : titre + texte, CTA à droite (desktop) / dessous (mobile) ---------- */
#contact .contact-split { grid-template-columns: 1fr; }
#contact .contact-list,
#contact .contact-info { display: none; }
#contact.contact-band h2 { max-width: none; }
#contact .contact-actions .btn-secondary {
  color: #f2f6fb;
  text-decoration-color: rgba(242, 246, 251, 0.45);
}
@media (min-width: 981px) {
  #contact .contact-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(48px, 7vw, 112px);
    align-items: center;
  }
  #contact .contact-main > :not(.contact-actions) { grid-column: 1; }
  #contact .contact-main > .contact-actions {
    grid-column: 2;
    grid-row: 1 / span 3;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin-top: 0;
  }
  #contact .contact-main > .section-intro { max-width: 62ch; }
}

/* ---------- Footer : même fond que le menu (clair), textes foncés ---------- */
.footer-premium {
  background: #f7f5f1;
  color: var(--text, #16181d);
  border-top: 1px solid rgba(22, 24, 29, 0.08);
}
.contact-band + .site-footer { border-top: 0; }
.footer-premium__top { border-bottom-color: rgba(22, 24, 29, 0.12); }
.footer-premium__name,
.footer-premium__nav h3,
.footer-premium__resources h3,
.footer-premium__contact h3 { color: var(--text, #16181d); }
.footer-premium__tagline,
.footer-premium__nav a,
.footer-premium__resources a,
.footer-premium__contact a,
.footer-premium__contact li { color: var(--muted, #5d6470); }
.footer-premium__nav a:hover,
.footer-premium__resources a:hover,
.footer-premium__contact a:hover,
.footer-premium__legal a:hover { color: var(--accent, #163867); }
.footer-premium__copyright,
.footer-premium__legal a { color: var(--muted, #5d6470); }
.footer-premium__cta,
.footer-premium__contact a.footer-premium__cta {
  color: #fff;
  background: var(--accent, #163867);
  border-color: var(--accent, #163867);
}
.footer-premium__cta:hover,
.footer-premium__contact a.footer-premium__cta:hover {
  color: #fff;
  background: #10161f;
  border-color: #10161f;
}
/* Villes : une par ligne, groupées */
.footer-premium__contact li.footer-premium__ville { margin-bottom: 2px; }
.footer-premium__contact li.footer-premium__ville + li:not(.footer-premium__ville) { margin-top: 12px; }

/* Accueil, Contact : un seul bouton (lien « Nous appeler » retiré) */
#contact .contact-actions .btn-secondary { display: none; }

/* ---------- Cabinet, « Pourquoi GAÉ Finance existe » : la phrase de conviction tient sur sa propre ligne ---------- */
.cab-open .richtext p > strong:last-child { display: block; margin-top: 10px; }
@media (min-width: 1200px) {
  .cab-open .richtext p > strong:last-child { white-space: nowrap; }
}

/* ---------- Cabinet, Conviction : le texte repasse sous la citation (plus de colonne à droite) ---------- */
@media (min-width: 981px) {
  main #conviction .container.cab-quote { display: block; }
  main #conviction .cab-quote > blockquote { max-width: 44ch; }
  main #conviction .cab-quote > p {
    margin-top: 26px;
    padding-left: 30px;
    border-left: 0;
    max-width: 66ch;
  }
}

/* ---------- Cabinet, L'équipe : texte sous le titre, photos arrondies 10 px ---------- */
#l-equipe .section-head { display: block; }
#l-equipe .section-head h2 { max-width: none; }
#l-equipe .section-head > .section-side { margin: 22px 0 0; max-width: none; text-align: left; }
#l-equipe .cab-people__photo { border-radius: 10px; }

/* ---------- Cabinet : photo des bureaux à droite du hero ---------- */
.hero-photo { margin: 0; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 58% 42%;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(16, 22, 31, 0.16);
}
@media (min-width: 981px) {
  main .service-hero--light .service-hero__grid--visual:has(.hero-photo) {
    width: min(var(--container, 1180px), calc(100% - 40px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(40px, 5vw, 72px);
  }
}

/* ---------- Toutes pages : le texte d'introduction d'une section passe sous son titre ---------- */
main .container:not(.narrow) > .section-head:has(> .section-side) { display: block; }
main .container:not(.narrow) > .section-head:has(> .section-side) h2 { max-width: none; }
main .container:not(.narrow) > .section-head > .section-side {
  margin: 22px 0 0;
  max-width: none;
  text-align: left;
}

/* ---------- Cabinet : bandeau Contact final aligné sur celui de l'accueil ---------- */
main:has(#origine) .cta-band { padding: 64px 0; }
main:has(#origine) .cta-band__direct,
main:has(#origine) .cta-band__actions .btn-secondary { display: none; }
main:has(#origine) .cta-band__content h2 { max-width: none; }
@media (min-width: 981px) {
  main:has(#origine) .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(48px, 7vw, 112px);
    align-items: center;
  }
  main:has(#origine) .cta-band__content p { max-width: 62ch; }
}

/* ---------- Cession, Acquisition : le chapeau d'en-tête passe sous le titre (comme les .section-side) ---------- */
@media (min-width: 981px) {
  main .container:not(.narrow) > .cess-head:not(.cess-head--center) { display: block; }
  main .container:not(.narrow) > .cess-head:not(.cess-head--center) > h2 { max-width: none; }
  main .container:not(.narrow) > .cess-head:not(.cess-head--center) > :not(.section-kicker):not(h2) {
    margin: 22px 0 0;
    max-width: none;
  }
  main .container > .acq-head:not(.acq-head--center):has(> p):not(:has(+ .acq-steps)) { display: block; }
  main .container > .acq-head:not(.acq-head--center):has(> p):not(:has(+ .acq-steps)) > h2 { max-width: none; }
  main .container > .acq-head:not(.acq-head--center):has(> p):not(:has(+ .acq-steps)) > p {
    margin: 22px 0 0;
    max-width: none;
  }
}

/* En-têtes pleine largeur des conteneurs étroits : titre et chapeau sur toute la largeur */
@media (min-width: 981px) {
  main .container.narrow > .section-head--single:not(:has(+ .richtext, + p)):has(> .section-side) h2,
  main .container.narrow > .section-head--single:not(:has(+ .richtext, + p)) > .section-side { max-width: none; }
}

/* ---------- Cession : photo d'ouverture ramenée à un bandeau ---------- */
.cess-photo-break { padding: 48px 0 0; }
.cess-photo-break img {
  display: block;
  width: 100%;
  height: clamp(200px, 26vw, 340px);
  object-fit: cover;
  object-position: 50% 62%;
  border-radius: 10px;
}
@media (max-width: 720px) {
  .cess-photo-break { padding-top: 32px; }
}

/* ---------- Cession : bandeau final en CTA classique (comme l'accueil et le Cabinet) ---------- */
main .cess-final { padding: 64px 0; }
main .cess-final .cess-head--center { text-align: left; margin: 0; max-width: none; }
main .cess-final .cess-head--center h2 { margin-left: 0; margin-right: 0; max-width: none; }
main .cess-final .cess-final__intro { margin: 16px 0 0; max-width: 62ch; text-align: left; }
main .cess-final .cess-final__contact,
main .cess-final .cess-path > :not(.btn) { display: none; }
main .cess-final .cess-paths {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin: 28px 0 0;
  max-width: none;
}
main .cess-final .cess-path {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}
main .cess-final .cess-path .btn { width: 100%; margin: 0; }
@media (min-width: 981px) {
  main .cess-final > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(48px, 7vw, 112px);
    align-items: center;
  }
  main .cess-final .cess-paths { margin-top: 0; }
}

/* ---------- Cession, Confidentialité : hiérarchie de lecture plus marquée ----------
   1. le chapeau  2. le risque  3. trois garde-fous en cartes numérotées
   4. le parcours en cinq temps dans un bandeau marine  5. la phrase de conclusion */
#confidentialite .cess-head { margin-bottom: 18px; }
#confidentialite .cess-head__side { font-size: 1.12rem; line-height: 1.7; }
#confidentialite .cess-head + .cess-copy,
#confidentialite .cess-head + .cess-copy p { max-width: none; }

#confidentialite .cess-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  counter-reset: gardefou;
}
#confidentialite .cess-flow__item {
  position: relative;
  counter-increment: gardefou;
  padding: 28px 28px 30px;
  border: 1px solid rgba(22, 24, 29, 0.08);
  border-top: 3px solid var(--gold, #C4A97D);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 22, 31, 0.06);
}
#confidentialite .cess-flow__item::after { content: none; }
#confidentialite .cess-flow__step {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 0;
  letter-spacing: 0;
}
#confidentialite .cess-flow__step::before {
  content: counter(gardefou, decimal-leading-zero);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold-ink, #8a6a3b);
}
#confidentialite .cess-flow__step::after {
  content: "Garde-fou";
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #163867);
}
#confidentialite .cess-flow__item h3 { font-size: 1.3rem; margin: 0 0 10px; }
#confidentialite .cess-flow__item p { margin: 0; font-size: 0.97rem; line-height: 1.7; }

#confidentialite .cess-schema {
  margin: 28px 0 0;
  padding: 30px 32px 28px;
  border-radius: 10px;
  background: linear-gradient(180deg, #163867 0%, #10161f 100%);
  color: #f2f6fb;
}
#confidentialite .cess-schema::before {
  content: "Le parcours en cinq temps";
  display: block;
  margin-bottom: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #C4A97D);
}
#confidentialite .cess-schema__linear {
  gap: 0 24px;
  border-top-color: rgba(242, 246, 251, 0.22);
  counter-reset: temps;
}
#confidentialite .cess-schema__stop { counter-increment: temps; padding-top: 18px; }
#confidentialite .cess-schema__stop::before { width: 34px; height: 3px; top: -2px; }
#confidentialite .cess-schema__word { font-size: 1.2rem; color: #ffffff; }
#confidentialite .cess-schema__word::before {
  content: counter(temps) ". ";
  color: var(--gold, #C4A97D);
}
#confidentialite .cess-schema__sub { margin-top: 4px; font-size: 0.9rem; color: rgba(242, 246, 251, 0.72); }
/* La note répète la légende : on ne garde que la légende */
#confidentialite .cess-schema__notes { display: none; }
#confidentialite .cess-schema figcaption {
  max-width: none;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 246, 251, 0.14);
  font-size: 0.9rem;
  color: rgba(242, 246, 251, 0.72);
}

#confidentialite .cess-schema + .cess-copy { margin-top: 36px !important; }
#confidentialite .cess-schema + .cess-copy p {
  max-width: none;
  padding-left: 22px;
  border-left: 3px solid var(--gold, #C4A97D);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--text, #16181d);
}

@media (max-width: 900px) {
  #confidentialite .cess-flow { grid-template-columns: 1fr; gap: 16px; }
  #confidentialite .cess-flow__item { padding: 22px 22px 24px; }
  #confidentialite .cess-schema { padding: 24px 22px; }
  #confidentialite .cess-schema__linear { border-left-color: rgba(242, 246, 251, 0.22); }
  #confidentialite .cess-schema__stop { padding-top: 0; }
  #confidentialite .cess-schema__stop::before { width: 3px; height: 20px; top: 4px; left: -2px; }
  #confidentialite .cess-schema + .cess-copy p { font-size: 1.18rem; }
}
.cess-gloss { font-size: 0.78em; font-weight: 500; color: var(--muted, #5d6470); white-space: nowrap; }

/* ---------- Cession, Accompagnement : schéma « Les deux côtés de la table » ---------- */
.cess-table { margin: 8px 0 44px; }
.cess-table__svg { display: block; width: 100%; height: auto; font-family: inherit; }
.cess-table__svg--tall { display: none; max-width: 440px; margin: 0 auto; }
.cess-table .ct-camp { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.cess-table .ct-table { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.cess-table .ct-name { font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.cess-table .ct-sub { font-size: 15px; }
.cess-table__svg--tall .ct-name { font-size: 18px; }
.cess-table__svg--tall .ct-sub { font-size: 13.5px; }
.cess-table__svg--tall .ct-camp,
.cess-table__svg--tall .ct-table { font-size: 11px; }
.cess-table figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--muted, #5d6470); text-align: center; }
@media (max-width: 860px) {
  .cess-table__svg--wide { display: none; }
  .cess-table__svg--tall { display: block; }
}
.cess-table .ct-sub--key { font-weight: 600; }

/* ---------- Toutes pages : CTA de bas de page classique, un seul bouton ----------
   Titre + texte à gauche, bouton à droite (ordinateur) / dessous (mobile). */
main .cta-band { padding: 64px 0; }
main .cta-band__direct,
main .cta-band__actions .btn-secondary { display: none; }
main .cta-band__content h2 { max-width: none; }
main .cta-band__actions { margin-top: 24px; }

main :is(.cess-final, .acq-final, .ldf-final) { padding: 64px 0; }
main :is(.cess-final, .acq-final, .ldf-final) > .container { display: block; }
main :is(.cess-final__contact, .acq-final__contact, .ldf-final__contact),
main :is(.cess-path, .acq-path, .ldf-path) > :not(.btn),
main :is(.cess-path, .acq-path, .ldf-path):nth-child(n+2) { display: none; }
main :is(.cess-final, .acq-final) :is(.cess-head, .acq-head) { text-align: left !important; margin: 0; max-width: none; }
main :is(.cess-final, .acq-final, .ldf-final) h2 { margin: 0 !important; max-width: none; text-align: left; }
main :is(.cess-final__intro, .acq-final__intro, .ldf-final__intro) { margin: 16px 0 0; max-width: 62ch; text-align: left; }
main :is(.cess-paths, .acq-paths, .ldf-paths) { display: block; margin: 24px 0 0; max-width: none; }
main :is(.cess-path, .acq-path, .ldf-path) {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}
main :is(.cess-path, .acq-path, .ldf-path) .btn { margin: 0; white-space: nowrap; }
main :is(.cess-path, .acq-path, .ldf-path) .btn-primary { background: #ffffff; color: #16181d; }

@media (min-width: 981px) {
  main .cta-band__inner,
  main :is(.cess-final, .acq-final, .ldf-final) > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(48px, 7vw, 112px);
    align-items: center;
  }
  main .cta-band__content p { max-width: 62ch; }
  main .cta-band__actions { margin-top: 0; }
  main :is(.cess-final, .acq-final, .ldf-final) > .container > * { grid-column: 1; }
  main :is(.cess-final, .acq-final, .ldf-final) > .container > :is(.cess-paths, .acq-paths, .ldf-paths) {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}
@media (max-width: 980px) {
  main .cta-band__actions .btn,
  main :is(.cess-path, .acq-path, .ldf-path) .btn { width: 100%; white-space: normal; }
}

/* CTA de bas de page : alignements (Acquisition, Valorisation) */
main .cta-band__content,
main .cta-band__content > * { text-align: left; margin-left: 0; margin-right: 0; }
main .acq-final > .container > .acq-head { display: block !important; }
main .acq-final > .container > .acq-head > p { margin: 16px 0 0; max-width: 62ch; }
@media (min-width: 981px) {
  main :is(.cess-final, .acq-final) > .container > :is(.cess-head, .acq-head) { grid-column: 1; grid-row: 1; position: static; }
  main :is(.cess-final, .acq-final) > .container > :is(.cess-paths, .acq-paths) { grid-row: 1; }
}
main .cta-band__inner,
main .cta-band__content { max-width: none; margin-left: 0; margin-right: 0; }
@media (min-width: 981px) {
  main section.acq-final > .container { grid-template-columns: minmax(0, 1fr) auto !important; align-items: center !important; }
}

/* ---------- Acquisition, Sourcing : schéma en entonnoir des trois étapes ---------- */
.acq-funnel { margin: 8px 0 36px; }
.acq-funnel__svg { display: block; width: 100%; height: auto; font-family: inherit; }
.acq-funnel__svg--tall { display: none; max-width: 440px; margin: 0 auto; }
.acq-funnel .sf-num { font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-style: italic; }
.acq-funnel .sf-name { font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.acq-funnel .sf-sub { font-size: 14.5px; }
.acq-funnel .sf-leg { font-size: 13px; }
.acq-funnel__svg--tall .sf-num { font-size: 22px; }
.acq-funnel__svg--tall .sf-name { font-size: 19px; }
.acq-funnel__svg--tall .sf-sub { font-size: 13px; }
.acq-funnel figcaption { margin-top: 12px; font-size: 0.9rem; color: var(--muted, #5d6470); text-align: center; }
@media (max-width: 860px) {
  .acq-funnel__svg--wide { display: none; }
  .acq-funnel__svg--tall { display: block; }
}

/* Acquisition, Cadrage : la phrase de conclusion tient sur une ligne */
#structurer .acq-copy,
#structurer .acq-copy p { max-width: none; }
@media (min-width: 1100px) {
  #structurer .acq-copy[style] p { white-space: nowrap; }
}

/* ---------- Acquisition, Financement : respiration entre les blocs ---------- */
#financement .acq-fin { gap: 40px 48px; margin-top: 40px; }
#financement .acq-fin__item { padding: 26px 0 0; }
#financement .acq-fin__item h3 { margin-bottom: 12px; }
#financement .acq-fin__item p { line-height: 1.75; }
#financement .acq-fin + .acq-copy { margin-top: 44px !important; }
#financement .acq-copy,
#financement .acq-copy p { max-width: none; }
@media (min-width: 1280px) {
  #financement .acq-copy[style] p { white-space: nowrap; font-size: 0.95rem; }
}
@media (max-width: 980px) {
  #financement .acq-fin { gap: 30px; }
}

/* ---------- Acquisition : la liste à puces se place directement sous son sous-titre ---------- */
@media (min-width: 981px) {
  main .container > .acq-subhead:has(+ .acq-checklist) { grid-column: 1 / -1; }
  main .container > .acq-subhead + .acq-checklist {
    grid-column: 1 / -1;
    margin-top: 16px !important;
    padding-top: 0;
    border-top: 0;
    max-width: none;
  }
}
/* Acquisition, Prix : la phrase de conclusion tient sur une ligne */
#prix .acq-uses + .acq-copy,
#prix .acq-uses + .acq-copy p { max-width: none; }
@media (min-width: 1100px) {
  #prix .acq-uses + .acq-copy p { white-space: nowrap; }
}
/* Acquisition, « À quoi sert-il en pratique ? » : sans numéros */
#prix .acq-use__num { display: none; }
/* Acquisition, Cadrage : les trois questions sans numéros */
#structurer .acq-question__num { display: none; }

/* ---------- Acquisition, Intégration : respiration entre les blocs ---------- */
#integration .acq-prep { gap: 40px 48px; margin-top: 40px; }
#integration .acq-prep__item { padding: 26px 0 0; }
#integration .acq-prep__item h3 { margin-bottom: 12px; }
#integration .acq-prep__item p { line-height: 1.75; }
#integration .acq-prep + .acq-copy { margin-top: 44px !important; }
#integration .acq-prep + .acq-copy,
#integration .acq-prep + .acq-copy p { max-width: none; }
@media (max-width: 980px) {
  #integration .acq-prep { gap: 30px; }
}

/* ---------- Acquisition : FAQ au même style que la page Cession ---------- */
main #faq .acq-head--center { text-align: left !important; align-self: start !important; }
main #faq .acq-head--center h2 { margin-left: 0 !important; margin-right: 0 !important; }
main .acq-faq { gap: 0; }
main .acq-faq__item {
  border: 0;
  border-top: 1px solid rgba(22, 24, 29, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
main .acq-faq__item:first-child { border-top: 1px solid rgba(22, 24, 29, 0.16); }
main .acq-faq__item:last-child { border-bottom: 1px solid rgba(22, 24, 29, 0.16); }
main .acq-faq__item summary { padding: 20px 24px; }
main .acq-faq__item summary h3 { font-size: 1.06rem; }
main .acq-faq__item summary::after {
  content: "+";
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--accent, #163867);
  transform: none;
}
main .acq-faq__item[open] summary::after { content: "-"; transform: none; background: none; color: var(--accent, #163867); }
main .acq-faq__item summary:hover h3 { color: var(--accent, #163867); }
main .acq-faq__body { padding: 0 24px 22px; }

/* ---------- Menu : le sous-menu Expertises ne se referme plus en descendant la souris ----------
   Il y avait un vide de quelques pixels entre « Expertises » et le sous-menu : en le traversant,
   le survol était perdu et le sous-menu se refermait. Une zone invisible comble ce vide. */
.nav-item--has-dropdown { position: relative; }
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown { transition-delay: 0s; }
.nav-dropdown { transition-delay: 0.12s; }

/* ---------- Levée de fonds : le texte passe sous son sous-titre (plus de colonne à droite) ---------- */
@media (min-width: 981px) {
  main .container > .ldf-sub:has(+ .ldf-copy) { grid-column: 1 / -1; }
  main .container > .ldf-sub + .ldf-copy {
    grid-column: 1 / -1;
    margin-top: 14px !important;
    padding-top: 0;
    border-top: 0;
    max-width: none;
  }
  main .container > .ldf-sub + .ldf-copy p { max-width: none; }
}
/* Levée de fonds, Valorisation : texte de conclusion en pleine largeur */
#valorisation .ldf-copy[style],
#valorisation .ldf-copy[style] p { max-width: none; }

/* ---------- Levée de fonds : textes en pleine largeur ---------- */
main .ldf-copy,
main .ldf-copy p { max-width: none; }

/* ---------- Levée de fonds, Accompagnement : les cinq rôles en cartes numérotées ---------- */
#gaefinance .ldf-roles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 36px;
  counter-reset: role;
}
#gaefinance .ldf-roles li {
  counter-increment: role;
  display: block;
  padding: 24px 22px 26px;
  border: 1px solid rgba(242, 246, 251, 0.14);
  border-top: 3px solid var(--gold, #C4A97D);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  color: rgba(242, 246, 251, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
}
#gaefinance .ldf-roles li::before {
  content: counter(role, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold, #C4A97D);
}
#gaefinance .ldf-roles strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
  color: #ffffff;
}
#gaefinance .ldf-roles .li-sep { display: none; }
#gaefinance .ldf-roles li > span::first-letter { text-transform: uppercase; }
@media (max-width: 1180px) {
  #gaefinance .ldf-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #gaefinance .ldf-roles { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Blocs éditoriaux : plus de carte en fond (Valorisation, etc.) ---------- */
main .editorial-block,
main .ope-tight .editorial-block {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}
main .editorial-block::before,
main .editorial-block::after { content: none; }

/* ---------- Levée de fonds : FAQ au même style que la page Cession ---------- */
main #faq .ldf-head { text-align: left !important; align-self: start !important; margin-left: 0 !important; margin-right: 0 !important; }
main #faq .ldf-head h2 { margin-left: 0 !important; margin-right: 0 !important; }
main .ldf-faq { gap: 0; margin-top: 0; }
main .ldf-faq__item,
main .ldf-faq__item[open] {
  border: 0;
  border-top: 1px solid rgba(22, 24, 29, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
main .ldf-faq__item:first-child { border-top: 1px solid rgba(22, 24, 29, 0.16); }
main .ldf-faq__item:last-child { border-bottom: 1px solid rgba(22, 24, 29, 0.16); }
main .ldf-faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  position: static;
}
main .ldf-faq__item summary h3 { font-size: 1.06rem; margin: 0; }
main .ldf-faq__item summary::after {
  content: "+";
  position: static;
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--accent, #163867);
  transform: none;
}
main .ldf-faq__item[open] summary::after { content: "-"; transform: none; background: none; color: var(--accent, #163867); }
main .ldf-faq__item summary:hover h3 { color: var(--accent, #163867); }
main .ldf-faq__body { padding: 0 24px 22px; }

/* Levée de fonds : encadré « La question qui gouverne le montage » en pleine largeur */
main .ldf-highlight,
main .ldf-highlight p { max-width: none; }

/* ---------- Opérations : une carte par dossier ---------- */
.ope-registry .ope-synth { max-width: none; margin: 0; }
.ope-registry .ope-row,
.ope-registry .ope-row:first-of-type {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 28px;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-top: 3px solid var(--gold, #C4A97D);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 22, 31, 0.06);
}
.ope-registry .ope-row + .ope-row { margin-top: 24px; }
.ope-registry .ope-row__id {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px 14px;
}
.ope-registry .ope-row__index {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
.ope-registry .ope-row__ref { font-size: 1.7rem; letter-spacing: 0.04em; line-height: 1.1; }
.ope-registry .ope-row__badges { margin-left: auto; padding: 0; }
.ope-registry .ope-row__desc { margin-top: 18px; }
.ope-registry .ope-sector { font-size: 1.02rem; }
.ope-registry .ope-row__desc p { margin-top: 10px; max-width: none; line-height: 1.7; }
.ope-registry .ope-keyfigs {
  margin-top: auto;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 20px;
  border-top: 1px solid rgba(22, 24, 29, 0.12);
  border-bottom: 0;
  background: none;
}
.ope-registry .ope-row__desc + .ope-keyfigs { margin-top: 24px; }
.ope-registry .ope-keyfig,
.ope-registry .ope-keyfig:first-child { padding: 0; border: 0; }
.ope-registry .ope-keyfig__value { font-size: 1.35rem; white-space: nowrap; }
.ope-registry .ope-keyfig__label { font-size: 0.66rem; }
.ope-registry article.ope-row:last-of-type + p { margin-top: 32px; }

@media (min-width: 981px) {
  .ope-registry > .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .ope-registry > .container > :not(.ope-row) { grid-column: 1 / -1; margin-top: 0; margin-bottom: 0; }
  .ope-registry .ope-row + .ope-row { margin-top: 0; }
  .ope-registry .ope-row__desc { flex: 1 1 auto; }
  .ope-registry .ope-row__desc + .ope-keyfigs { margin-top: 24px; }
  .ope-registry article.ope-row:last-of-type + p { margin-top: 4px; }
}
@media (max-width: 480px) {
  .ope-registry .ope-row,
  .ope-registry .ope-row:first-of-type { padding: 24px 20px 22px; }
  .ope-registry .ope-keyfigs { gap: 0 12px; }
  .ope-registry .ope-keyfig__value { font-size: 1.12rem; }
}

/* ---------- Bandeaux citation (Méthode « Rigueur », etc.) : même style que « Conviction » du Cabinet ---------- */
main .quote-band { display: block; max-width: 900px; padding: 0; border: 0; background: none; text-align: left; }
main .quote-band > .section-kicker { color: rgba(242, 246, 251, 0.66); }
main .quote-band > blockquote {
  margin: 28px 0 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--gold, #C4A97D);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #ffffff;
  max-width: 44ch;
}
main .quote-band > p {
  margin: 26px 0 0;
  padding: 0 0 0 30px;
  border-left: 0;
  max-width: 66ch;
  line-height: 1.8;
  color: rgba(242, 246, 251, 0.72);
}

/* ---------- CTA de bas de page : fond pleine largeur sur toutes les pages (plus de carte arrondie) ---------- */
main .cta-band {
  background: linear-gradient(180deg, #182536 0%, #10161f 100%);
  color: #f2f6fb;
}
main .cta-band__inner {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
main .cta-band .btn-primary { background: #ffffff; color: #16181d; box-shadow: none; }

/* Méthode, « Les sept temps » : chapeau en pleine largeur */
main .section-head--single > .section-side { max-width: none; }
main .section-head--single:has(> .section-side) h2 { max-width: none; }

/* =====================================================================
   Page Valorisation (templates/pages/valorisation-ingenierie-financiere.php)
   ===================================================================== */
.valp-toc { list-style: none; margin: 10px 0 0; padding: 0; }
.valp-toc li { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.valp-toc li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.valp-toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  color: rgba(244, 247, 251, 0.86);
  font-size: 0.94rem;
  line-height: 1.4;
}
.valp-toc a::after { content: "↓"; color: var(--gold, #C4A97D); }
.valp-toc a:hover { color: #ffffff; }

.valp-grid { display: grid; gap: 0 44px; margin-top: 44px; }
.valp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.valp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.valp-item { padding: 28px 0 32px; border-top: 1px solid var(--line-strong, rgba(22, 24, 29, 0.2)); }
.valp-item h3 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.35; }
.valp-item p { margin: 0; color: var(--muted, #5d6470); line-height: 1.7; }
.section--dark .valp-item { border-top-color: rgba(255, 255, 255, 0.18); }
.section--dark .valp-item h3 { color: #ffffff; }
.section--dark .valp-item p { color: rgba(242, 246, 251, 0.72); }
.valp-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent, #163867);
  font-weight: 700;
}
.valp-link::after { content: " →"; }
.valp-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.valp-callout {
  margin-top: 40px;
  padding-left: 24px;
  border-left: 2px solid var(--gold, #C4A97D);
}
.valp-callout p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.35;
  color: var(--text, #16181d);
}

.valp-process { list-style: none; margin: 44px 0 0; padding: 0; }
.valp-process__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 10px 48px;
  padding: 26px 0;
  border-top: 1px solid var(--line, rgba(22, 24, 29, 0.12));
}
.valp-process__row:last-child { border-bottom: 1px solid var(--line, rgba(22, 24, 29, 0.12)); }
.valp-process__title { margin: 0; font-size: 1.15rem; }
.valp-process__text { margin: 0; color: var(--muted, #5d6470); line-height: 1.7; }

.valp-reperes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
  margin: 44px 0 14px;
}
.valp-repere { padding: 24px 0; border-top: 1px solid var(--line-strong, rgba(22, 24, 29, 0.2)); }
.valp-repere h3 { margin: 0 0 8px; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--accent, #163867); }
.valp-repere p { margin: 0; color: var(--muted, #5d6470); font-size: 0.96rem; line-height: 1.65; }

.valp-faq-head p { margin: 16px 0 0; color: var(--muted, #5d6470); line-height: 1.7; }
.valp-faq__item { border-top: 1px solid rgba(22, 24, 29, 0.16); }
.valp-faq__item:last-child { border-bottom: 1px solid rgba(22, 24, 29, 0.16); }
.valp-faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}
.valp-faq__item summary::-webkit-details-marker { display: none; }
.valp-faq__item summary h3 { margin: 0; font-size: 1.06rem; line-height: 1.45; }
.valp-faq__item summary::after { content: "+"; flex: 0 0 auto; font-size: 1.5rem; line-height: 1.2; color: var(--accent, #163867); }
.valp-faq__item[open] summary::after { content: "-"; }
.valp-faq__item summary:hover h3 { color: var(--accent, #163867); }
.valp-faq__body { max-width: 760px; padding: 0 24px 22px; }
.valp-faq__body p { margin: 0; font-size: 0.97rem; line-height: 1.78; color: #3d4553; }

@media (max-width: 980px) {
  .valp-grid--3, .valp-reperes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valp-faq-head { margin-bottom: 28px; }
}
@media (max-width: 720px) {
  .valp-grid { margin-top: 32px; }
  .valp-grid--2, .valp-grid--3, .valp-reperes { grid-template-columns: 1fr; }
  .valp-process__row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .valp-faq__item summary { padding: 18px 4px; }
  .valp-faq__body { padding: 0 4px 20px; }
}
main .cta-band__inner { justify-items: stretch; text-align: left; }
main .cta-band__actions { justify-content: flex-start; }
.valp-faq-head h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; }
.ope-registry .ope-synth { width: 100%; max-width: none !important; }
@media (min-width: 981px) {
  main .container.narrow > .section-head--single:not(:has(+ .richtext, + p)) h2 { max-width: none !important; }
}

/* Opérations, Confidentialité : le texte sous les trois niveaux prend toute la largeur */
main .container > .ope-conf + .richtext { grid-column: 1 / -1; max-width: none; margin-left: 0; margin-top: 36px; }
main .container > .ope-conf + .richtext p { max-width: none; }

/* Méthode : la phrase de renvoi sous les sept temps, pleine largeur et centrée */
main .container > .met-steps + p {
  grid-column: 1 / -1;
  max-width: none;
  margin: 40px 0 0;
  text-align: center;
}

/* Méthode : la note sous les parcours tient sur toute la largeur, sans retour à la ligne forcé */
main .met-parcours__note { grid-column: 1 / -1; max-width: none; }
main .met-parcours__note br { display: none; }

/* CTA de bas de page : liens dans le texte lisibles sur fond foncé */
main .cta-band__content p a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}
main .cta-band__content p a:hover { text-decoration-color: var(--gold, #C4A97D); }

/* Pages « temps » de la méthode : badge du hero retiré */
main .service-hero .eyebrow { display: none; }
/* Listes à tirets dorés : le tiret est centré sur la première ligne de texte */
main .mt-list li::before { top: calc(0.825em - 1px); width: 10px; }

/* ---------- Équipe : les textes passent sous les titres (plus de colonne à droite) ---------- */
@media (min-width: 981px) {
  main:has(.eq-team-strip) .container.narrow { display: block; }
  main:has(.eq-team-strip) .container.narrow > .section-head--single {
    position: static;
    margin-bottom: 0;
  }
  main:has(.eq-team-strip) .container.narrow > .section-head--single h2,
  main:has(.eq-team-strip) .container.narrow > .section-head--single .section-side { max-width: none; }
  main:has(.eq-team-strip) .container.narrow > .richtext,
  main:has(.eq-team-strip) .container.narrow > p { max-width: none; margin-top: 18px; }
  main:has(.eq-team-strip) .container.narrow > .richtext p { max-width: none; }
  main:has(.eq-team-strip) .container.narrow > .section-head--single + :not(.richtext):not(p) { margin-top: 40px; }
}

/* =====================================================================
   Page Contact (templates/pages/contact.php)
   ===================================================================== */
.ct-ico { flex: 0 0 auto; vertical-align: -3px; }
.ct-main { padding-top: 64px; }
.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px;
  align-items: start;
}
.ct-card {
  padding: 34px 36px 36px;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-top: 3px solid var(--gold, #C4A97D);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 22, 31, 0.06);
}
.ct-card h2 { margin: 6px 0 0; font-size: clamp(1.5rem, 2vw, 1.85rem); line-height: 1.2; }
.ct-form__intro { margin: 12px 0 26px; color: var(--muted, #5d6470); line-height: 1.7; }
.ct-form .form-grid { gap: 18px 20px; }
.ct-form .form-field input,
.ct-form .form-field select,
.ct-form .form-field textarea { background: #f7f5f1; border-radius: 6px; width: 100%; }
.ct-form .form-field textarea { min-height: 150px; }
.ct-req { color: var(--gold-ink, #8a6a3b); }
.ct-submit { align-self: flex-start; }

.ct-dice { padding: 18px 20px; border: 1px dashed rgba(22, 24, 29, 0.22); border-radius: 8px; background: #fbfaf7; }
.ct-dice__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ct-dice__faces { display: flex; gap: 10px; }
.ct-die { width: 54px; height: 54px; display: block; }
.ct-die rect { fill: #ffffff; stroke: var(--accent, #163867); stroke-width: 2.5; }
.ct-die circle { fill: var(--accent, #163867); }
.ct-form .ct-dice input { width: 84px; min-height: 54px; text-align: center; font-size: 1.2rem; font-weight: 600; background: #ffffff; }
.ct-dice__reroll {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent, #163867);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.ct-dice__help { margin: 0; font-size: 0.85rem; color: var(--muted, #5d6470); }
.ct-secure {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 62ch;
  margin: 18px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--accent, #163867);
}
.ct-secure .ct-ico { margin-top: 2px; }
.ct-form .form-status.is-ok { border-color: rgba(34, 120, 78, 0.4); background: #f1f8f3; }

.ct-side { display: grid; gap: 24px; }
.ct-side .ct-card { padding: 28px 30px 30px; }
.ct-side .ct-card p { margin: 12px 0 0; color: var(--muted, #5d6470); line-height: 1.7; }
.ct-card--dark {
  border-color: transparent;
  border-top-color: var(--gold, #C4A97D);
  background: linear-gradient(180deg, #163867 0%, #10161f 100%);
  color: #f2f6fb;
}
.ct-card--dark .section-kicker { color: var(--gold, #C4A97D); }
.ct-card--dark h2 { color: #ffffff; }
.ct-side .ct-card--dark p { color: rgba(242, 246, 251, 0.78); }
.ct-card--dark .btn { margin-top: 20px; gap: 10px; background: #ffffff; color: #16181d; }
.ct-card--dark .btn:hover { background: var(--gold, #C4A97D); color: #ffffff; }
.ct-side .ct-card--dark .ct-card__note { margin-top: 14px; font-size: 0.84rem; color: rgba(242, 246, 251, 0.6); }
.ct-direct { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.ct-direct li { display: flex; align-items: center; gap: 12px; color: var(--accent, #163867); }
.ct-direct a { font-weight: 600; color: var(--text, #16181d); }
.ct-direct a:hover { color: var(--accent, #163867); }
.ct-points { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(22, 24, 29, 0.12); display: grid; gap: 12px; }
.ct-points li { position: relative; padding-left: 18px; font-size: 0.93rem; line-height: 1.6; color: var(--muted, #5d6470); }
.ct-points li::before { content: ""; position: absolute; left: 0; top: calc(0.8em - 1px); width: 10px; height: 2px; background: var(--gold, #C4A97D); }

.ct-offices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.ct-office {
  padding: 28px 30px 30px;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 22, 31, 0.05);
}
.ct-office__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(196, 169, 125, 0.18);
  color: var(--gold-ink, #8a6a3b);
}
.ct-office h3 { margin: 16px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }
.ct-office__zone { margin: 4px 0 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent, #163867); }
.ct-office__links { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(22, 24, 29, 0.12); display: grid; gap: 6px; }
.ct-office__links a { color: var(--muted, #5d6470); font-size: 0.95rem; }
.ct-office__links a:hover { color: var(--accent, #163867); }

@media (max-width: 980px) {
  .ct-layout { grid-template-columns: 1fr; }
  .ct-offices__grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .ct-main { padding-top: 40px; }
  .ct-card { padding: 26px 22px 28px; }
  .ct-side .ct-card { padding: 24px 22px 26px; }
  .ct-submit { align-self: stretch; }
}

/* =====================================================================
   Repères & définitions : recherche, annexe latérale, fiches dépliables
   (structure construite par assets/js/reperes.js)
   ===================================================================== */
main .rep-cathead__num { display: none; }
.rep-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.rep-annex {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 116px);
  padding: 22px 22px 18px;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-top: 3px solid var(--gold, #C4A97D);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 22, 31, 0.06);
}
.rep-search__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #163867);
}
.rep-search__field { position: relative; display: flex; align-items: center; color: var(--muted, #5d6470); }
.rep-search__field svg { position: absolute; left: 13px; pointer-events: none; }
.rep-search__field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 38px 10px 38px;
  border: 1px solid rgba(22, 24, 29, 0.2);
  border-radius: 6px;
  background: #f7f5f1;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text, #16181d);
}
.rep-search__field input:focus { outline: 2px solid var(--accent, #163867); outline-offset: 1px; background: #ffffff; }
.rep-search__field input::-webkit-search-cancel-button { display: none; }
.rep-search__clear {
  position: absolute;
  right: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted, #5d6470);
  cursor: pointer;
}
.rep-search__clear:hover { background: rgba(22, 24, 29, 0.07); }
.rep-search__count { margin: 10px 0 0; font-size: 0.82rem; color: var(--muted, #5d6470); }

.rep-annex__list { display: flex; flex-direction: column; min-height: 0; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(22, 24, 29, 0.12); }
.rep-annex__list > summary {
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #5d6470);
  cursor: pointer;
}
.rep-annex__list > summary::-webkit-details-marker { display: none; }
.rep-annex__nav { position: relative; min-height: 0; margin-top: 10px; overflow-y: auto; scroll-behavior: smooth; padding-right: 6px; }
.rep-annex__cat { margin: 14px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; color: var(--text, #16181d); }
.rep-annex__group:first-child .rep-annex__cat { margin-top: 4px; }
.rep-annex__nav ul { list-style: none; margin: 0; padding: 0; }
.rep-annex__nav a {
  display: block;
  padding: 5px 10px;
  border-left: 2px solid rgba(22, 24, 29, 0.1);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted, #5d6470);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.rep-annex__nav a:hover { color: var(--accent, #163867); border-left-color: var(--accent, #163867); }
.rep-annex__nav a.is-active {
  color: var(--accent, #163867);
  font-weight: 600;
  border-left-color: var(--gold, #C4A97D);
  background: rgba(196, 169, 125, 0.12);
}

.rep-content { min-width: 0; }
.rep-cat + .rep-cat { margin-top: 56px; }
.rep-content .rep-cathead { margin-top: 0; }
.rep-content .rep-term {
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 10px;
  background: #ffffff;
  scroll-margin-top: 100px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rep-content .rep-term:hover,
.rep-content .rep-term.is-open { border-color: rgba(22, 56, 103, 0.3); box-shadow: 0 12px 30px rgba(16, 22, 31, 0.06); }
.rep-content .rep-term:target { border-color: var(--gold, #C4A97D); }
.rep-content .rep-term h3 { margin-top: 0; }
.rep-content .rep-answer { max-width: none; }
.rep-term__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent, #163867);
  cursor: pointer;
}
.rep-term__toggle span {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.rep-term__toggle[aria-expanded="true"] span { transform: rotate(-135deg) translateY(-2px); }
.rep-term__toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
.rep-term__more { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(22, 24, 29, 0.1); }
.rep-term__more[hidden] { display: none; }
.rep-empty { padding: 24px 28px; border: 1px dashed rgba(22, 24, 29, 0.25); border-radius: 10px; color: var(--muted, #5d6470); }
.rep-empty a { color: var(--accent, #163867); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rep-content [hidden] { display: none !important; }

@media (max-width: 980px) {
  .rep-shell { grid-template-columns: 1fr; gap: 28px; }
  .rep-annex { position: static; max-height: none; }
  .rep-annex__list > summary::after { content: " +"; }
  .rep-annex__list[open] > summary::after { content: " -"; }
  .rep-annex__nav { max-height: 46vh; }
  .rep-content .rep-term { padding: 20px 20px; }
}

/* Repères : la liste de l'annexe défile à l'intérieur de sa carte (elle débordait en bas) */
.rep-annex { display: block; max-height: none; overflow: hidden; }
.rep-annex__list { display: block; }
@media (min-width: 981px) {
  .rep-annex__nav { max-height: calc(100vh - 330px); min-height: 120px; overflow-y: auto; }
}

/* Contact : les bureaux passent avant le formulaire */
.ct-offices { padding: 56px 0; }
.ct-offices .section-head { margin-bottom: 0; }
.ct-offices__grid { margin-top: 28px; }

/* ---------- Flèche de retour en haut de page ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent, #163867);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(16, 22, 31, 0.28);
  transition: background 0.2s ease, transform 0.2s ease;
}
.to-top[hidden] { display: none; }
.to-top:hover { background: #10161f; transform: translateY(-2px); }
.to-top:focus-visible { outline: 2px solid var(--gold, #C4A97D); outline-offset: 3px; }
@media (max-width: 640px) { .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; } }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =====================================================================
   Insights : liste (cartes) et page article
   ===================================================================== */
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ins-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(16, 22, 31, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ins-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(16, 22, 31, 0.1); }
.ins-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9e4da; }
.ins-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ins-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 24px 26px 26px; }
.ins-card__meta { margin: 0 0 10px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink, #8a6a3b); }
.ins-card h2 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.ins-card h2 a { color: inherit; }
.ins-card h2 a:hover { color: var(--accent, #163867); }
.ins-card__chapo { margin: 12px 0 18px; color: var(--muted, #5d6470); line-height: 1.7; font-size: 0.96rem; }
.ins-card__more { margin-top: auto; font-weight: 700; color: var(--accent, #163867); }
.ins-card__more::after { content: " →"; }

.ins-narrow { max-width: 800px; }
.ins-head { padding: 28px 0 0; }
.ins-back { display: inline-block; margin-bottom: 26px; font-size: 0.9rem; font-weight: 600; color: var(--accent, #163867); }
.ins-back::before { content: "← "; }
.ins-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.ins-head__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 14px; font-size: 0.86rem; color: var(--muted, #5d6470); }
.ins-head__meta .section-kicker { margin: 0; }
.ins-head h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; }
.ins-head__chapo { margin: 20px 0 0; font-size: 1.2rem; line-height: 1.6; color: var(--muted, #5d6470); }
.ins-head__cover { display: block; width: 100%; height: clamp(220px, 34vw, 460px); margin-top: 40px; object-fit: cover; border-radius: 10px; }
.ins-body { padding: 44px 0 80px; font-size: 1.06rem; line-height: 1.8; color: #2b303a; }
.ins-body > p { margin: 0 0 22px; }
.ins-body > h2 { margin: 44px 0 16px; font-size: 1.6rem; line-height: 1.25; }
.ins-body a { color: var(--accent, #163867); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(22, 56, 103, 0.35); text-underline-offset: 3px; }
.ins-body a:hover { text-decoration-color: var(--accent, #163867); }
.ins-body > ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.ins-body > ul > li { position: relative; padding-left: 22px; }
.ins-body > ul > li::before { content: ""; position: absolute; left: 0; top: calc(0.9em - 1px); width: 11px; height: 2px; background: var(--gold, #C4A97D); }
.ins-fig { margin: 36px 0; }
.ins-fig img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ins-fig figcaption { margin-top: 12px; font-size: 0.88rem; line-height: 1.6; color: var(--muted, #5d6470); }
.ins-fig--schema { padding: 26px 26px 22px; border: 1px solid rgba(22, 24, 29, 0.1); border-radius: 10px; background: #fbfaf7; }
.ins-fig__svg { display: block; width: 100%; height: auto; font-family: inherit; }
.ins-fig__svg--tall { display: none; max-width: 360px; margin: 0 auto; }
.ins-fig .if-name { font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.ins-fig .if-sub { font-size: 12.5px; }
.ins-fig .if-op { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.ins-quote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold, #C4A97D); }
.ins-quote p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.4; color: var(--text, #16181d); }
.ins-keys { margin: 40px 0 32px; padding: 26px 30px 28px; border-radius: 10px; background: linear-gradient(180deg, #163867 0%, #10161f 100%); color: #f2f6fb; }
.ins-keys h2 { margin: 0 0 14px; font-size: 0.78rem; font-family: inherit; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold, #C4A97D); }
.ins-keys ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ins-keys li { position: relative; padding-left: 22px; line-height: 1.6; }
.ins-keys li::before { content: ""; position: absolute; left: 0; top: calc(0.8em - 1px); width: 11px; height: 2px; background: var(--gold, #C4A97D); }
.ins-next { margin: 0; padding-top: 24px; border-top: 1px solid rgba(22, 24, 29, 0.12); font-size: 0.98rem; color: var(--muted, #5d6470); }

@media (max-width: 980px) { .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ins-grid { grid-template-columns: 1fr; }
  .ins-body { padding: 32px 0 56px; font-size: 1rem; }
  .ins-fig--schema { padding: 20px 14px 18px; }
  .ins-fig__svg--wide { display: none; }
  .ins-fig__svg--tall { display: block; }
  .ins-head__chapo { font-size: 1.08rem; }
}

/* Insights : contenus rédigés avec l'éditeur visuel de l'administration */
.ins-body > h3 { margin: 32px 0 12px; font-size: 1.25rem; line-height: 1.3; }
.ins-body > blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold, #C4A97D); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; line-height: 1.4; color: var(--text, #16181d); }
.ins-body > blockquote p { margin: 0; }
.ins-body > ol { margin: 0 0 24px; padding-left: 22px; display: grid; gap: 12px; }
.ins-body p > img, .ins-body > img { display: block; max-width: 100%; height: auto; margin: 12px 0; border-radius: 10px; }

/* Plan du site (/plan-du-site/) */
.plan-site__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.plan-site__col h2 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(22, 24, 29, 0.12); font-size: 0.78rem; font-family: inherit; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold, #C4A97D); }
.plan-site__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan-site__col a { color: var(--text, #16181d); text-decoration: none; line-height: 1.5; }
.plan-site__col a:hover, .plan-site__col a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.plan-site__sub { padding-left: 18px; position: relative; font-size: 0.95rem; }
.plan-site__sub::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 9px; height: 1px; background: var(--gold, #C4A97D); }
@media (max-width: 980px) { .plan-site__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plan-site__grid { grid-template-columns: 1fr; gap: 32px; } }
