/* =========================================================================
   Winstone : système de design commun (page groupe, Gestion Privée, Corporate Finance,
   Cross Asset Solutions). Charte Winstone 2607 ; référence : DESIGN.md.
   Seule la couleur de l'entité change : <html data-entite="groupe|gp|cf|cas">.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --beige: #FFFEF6;
  --beige-2: #F9F8EC;
  --noir: #2A2A2E;

  --font-titre: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --font-serif: 'Source Serif 4', Cambria, Georgia, serif;
  --font-corps: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --radius-pilule: 999px;
  --radius-carte: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --contenu-max: 1180px;

  --principale: var(--noir);
  --accent: var(--noir);
  --sur-principale: var(--beige);
  --sur-accent: var(--beige);
  --texte-accentue: var(--noir);

  --texte-doux: rgba(42, 42, 46, .74);
  --ligne: rgba(42, 42, 46, .14);
  --ligne-forte: rgba(42, 42, 46, .3);
  --marge: max(16px, 6vw);
  --bande: clamp(12px, 2.5vw, 36px);
  --entete-h: 72px;
  --section-y: clamp(80px, 11vw, 150px);
}

[data-entite="gp"] {
  --principale: #374428;
  --principale-bande: #425442;
  --accent: #F67002;
  --sur-principale: var(--beige);
  --sur-accent: var(--noir);
  --texte-accentue: #374428;
  /* Nuances de la couleur principale pour les graphiques (charte : couleur principale puis nuances) */
  --nuance-1: #374428;
  --nuance-2: #56664A;
  --nuance-3: #78866C;
  --nuance-4: #9AA690;
}

[data-entite="cf"] {
  --principale: #2643AF;
  --principale-bande: #2643AF;
  --principale-fonce: #1B3080;
  --accent: #C0614A;
  --sur-principale: var(--beige);
  --sur-accent: var(--beige);
  --texte-accentue: #2643AF;
  --nuance-1: #2643AF;
  --nuance-2: #4B63BF;
  --nuance-3: #7385CF;
  --nuance-4: #9BA8DF;
}

[data-entite="cas"] {
  --principale: #F7D716;
  --principale-bande: #F7D716;
  --accent: #DBD4A8;
  --sur-principale: var(--noir);
  --sur-accent: var(--noir);
  --texte-accentue: var(--noir); /* le jaune n'est pas lisible en texte */
}

[data-entite="groupe"] {
  --principale: var(--noir);
  --principale-bande: var(--noir);
  --accent: var(--noir);
  --texte-accentue: var(--noir);
}

/* Couleurs des activités du groupe (bandes, panneaux de la page groupe, pied de page) */
:root {
  --gp: #374428;
  --gp-bande: #425442;
  --cf: #2643AF;
  --cas: #F7D716;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html:has(.sommaire) { scroll-padding-top: 136px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }

body {
  margin: 0;
  background: var(--beige);
  color: var(--noir);
  font-family: var(--font-corps);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-ouvert { overflow: hidden; }

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(55, 68, 40, .12); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
figure { margin: 0; }
blockquote { margin: 0; }
em { font-style: italic; }
::selection { background: var(--principale); color: var(--beige); }

:focus-visible { outline: 2px solid var(--principale); outline-offset: 3px; border-radius: 2px; }
.sur-vert :focus-visible, .pied :focus-visible { outline-color: var(--beige); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--noir); color: var(--beige); padding: 10px 16px; border-radius: var(--radius-pilule);
  font-size: .9rem; text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Mise en page ---------- */
.conteneur { width: min(100% - 2 * var(--marge), var(--contenu-max)); margin-inline: auto; }
.conteneur--large { width: min(100% - 2 * var(--marge), 1360px); margin-inline: auto; }
.conteneur--etroit { width: min(100% - 2 * var(--marge), 860px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--beige-2 { background: var(--beige-2); }
.section--serree { padding-block: clamp(56px, 7vw, 96px); }
.section--suite { padding-top: clamp(32px, 4vw, 56px); }

main { display: block; }

/* ---------- 4. Typographie ---------- */
.sur-titre {
  font-family: var(--font-corps);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-accentue);
  margin: 0 0 20px;
}
.titre-xl, .titre, .titre-m, .titre-s {
  font-family: var(--font-titre);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--texte-accentue);
  letter-spacing: .005em;
  text-wrap: balance;
}
.titre-xl { font-size: clamp(2.4rem, 4.6vw, 4.5rem); line-height: 1.02; }
.titre { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; margin-bottom: 24px; }
.titre-m { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.18; }
.titre-s { font-size: 1.05rem; line-height: 1.3; letter-spacing: .04em; }

.sous-titre {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.38;
  color: var(--noir);
  margin: 0 0 24px;
}
.sous-titre em, .citation em, .lead em { color: var(--texte-accentue); }

.intermediaire {
  font-family: var(--font-corps);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--noir);
  margin: 0 0 12px;
}
.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.42;
}
.texte { max-width: 62ch; }
p, li, blockquote { text-wrap: pretty; }
.texte p { color: var(--noir); }
.doux { color: var(--texte-doux); }

/* Citation avec bande verticale (charte : bande gauche fine) */
.citation {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  padding-left: 28px;
  border-left: 3px solid var(--principale-bande);
  margin: 40px 0 0;
  max-width: 34ch;
}
.citation p { margin: 0; }

/* ---------- 5. Boutons et liens ---------- */
.btn {
  --btn-bg: var(--beige);
  --btn-fg: var(--noir);
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 48px;
  padding: .95em 1.7em;
  border-radius: var(--radius-pilule);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-corps);
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn .ico { width: 1.2em; height: 1.2em; transition: transform .35s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--principal { --btn-bg: var(--principale-bande); --btn-fg: var(--beige); }
.btn--principal:hover { --btn-bg: var(--principale); }
.btn--secondaire { border-color: var(--noir); }
.btn--secondaire:hover { --btn-bg: var(--noir); --btn-fg: var(--beige); }
.btn--sur-vert { --btn-bg: var(--beige); --btn-fg: var(--principale); }
.btn--sur-vert:hover { --btn-bg: var(--beige-2); }
.btn--contour-clair { --btn-bg: transparent; --btn-fg: var(--beige); border-color: rgba(255,254,246,.6); }
.btn--contour-clair:hover { --btn-bg: var(--beige); --btn-fg: var(--principale); border-color: var(--beige); }
.btn--compact { min-height: 42px; padding: .8em 1.35em; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--texte-accentue); text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.lien-fleche:hover { background-size: 100% 1px; }
.lien-fleche .ico { transition: transform .35s var(--ease); }
.lien-fleche:hover .ico { transform: translateX(4px); }

/* Pastille (charte p. 11) : fond accent, texte noir cobalt (contraste 4,9:1) */
.pastille {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em 1.1em;
  border-radius: var(--radius-pilule);
  background: var(--accent);
  color: var(--sur-accent);
  font-family: var(--font-corps);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1.3;
}
[data-entite="cf"] .pastille { font-size: .875rem; letter-spacing: .05em; }
.etiquette {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em 1em; border-radius: var(--radius-pilule);
  border: 1px solid var(--ligne-forte);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  color: var(--noir);
}

/* ---------- 6. En-tête ---------- */
.haut-de-page { position: absolute; top: 0; left: 0; width: 1px; height: 24px; }
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 254, 246, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.entete.est-reduit { border-bottom-color: var(--ligne); }
.entete__barre {
  height: var(--entete-h);
  width: min(100% - 2 * var(--marge), 1360px); margin-inline: auto;
  display: flex; align-items: center; gap: 32px;
}
.entete__logo { flex: none; display: block; }
.entete__logo img { width: 142px; }

.entete__nav { margin-left: auto; }
.entete__liste { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.entete__item { position: relative; }
.entete__lien {
  position: relative; display: inline-flex; align-items: center; gap: .45em; padding-block: 8px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-corps); font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--noir); text-decoration: none; white-space: nowrap;
  transition: color .3s var(--ease);
}
.entete__lien::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--ease);
}
.entete__lien:hover, .entete__lien[aria-current="page"], .entete__item.est-rubrique > .entete__lien { color: var(--texte-accentue); }
.entete__lien:hover::after, .entete__lien[aria-current="page"]::after, .entete__item.est-rubrique > .entete__lien::after { transform: scaleX(1); }
.entete__chevron { width: 10px; height: 10px; transition: transform .35s var(--ease); }
.entete__item.est-ouvert .entete__chevron { transform: rotate(180deg); }

/* Sous-menu déroulant (survol, clic ou clavier) */
.sous-menu {
  position: absolute; top: 100%; left: -18px; z-index: 5; padding-top: 14px; min-width: 270px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.entete__item.est-ouvert > .sous-menu,
.no-js .entete__item:focus-within > .sous-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1181px) {
  .entete__item:hover > .sous-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.sous-menu__panneau {
  background: var(--beige); border: 1px solid var(--ligne); border-radius: var(--radius-carte);
  box-shadow: 0 18px 40px rgba(42, 42, 46, .1); padding: 8px;
}
.sous-menu__panneau a {
  position: relative; display: block; padding: 11px 14px 11px 20px;
  font-size: .9rem; line-height: 1.35; color: var(--noir); text-decoration: none; border-radius: 2px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.sous-menu__panneau a::before {
  content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 3px;
  background: var(--principale-bande); transform: scaleY(0); transition: transform .3s var(--ease);
}
.sous-menu__panneau a:hover, .sous-menu__panneau a[aria-current="page"] { background: var(--beige-2); color: var(--texte-accentue); }
.sous-menu__panneau a:hover::before, .sous-menu__panneau a[aria-current="page"]::before { transform: scaleY(1); }

.entete__actions { display: flex; align-items: center; gap: 18px; }
.lien-client {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  text-decoration: none; color: var(--noir);
  padding: 8px 0;
}
.lien-client:hover { color: var(--texte-accentue); }

.entete__menu {
  display: none; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; cursor: pointer; color: var(--noir);
  font: 600 .78rem/1 var(--font-corps); letter-spacing: .12em; text-transform: uppercase;
}
.entete__menu-icone { position: relative; width: 26px; height: 12px; }
.entete__menu-icone span {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.entete__menu-icone span:first-child { top: 0; }
.entete__menu-icone span:last-child { top: 10px; }
.entete__menu[aria-expanded="true"] .entete__menu-icone span:first-child { top: 5px; transform: rotate(45deg); }
.entete__menu[aria-expanded="true"] .entete__menu-icone span:last-child { top: 5px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: var(--entete-h) 0 0 0; z-index: 49;
  background: var(--beige);
  border-top: 1px solid var(--ligne);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px var(--marge) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile::before {
  content: ""; position: fixed; left: 0; top: var(--entete-h); bottom: 0; width: var(--bande);
  background: var(--principale-bande);
}
.menu-mobile__liens a {
  display: block; padding: 10px 0;
  font-family: var(--font-titre); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1.1;
  color: var(--noir); text-decoration: none;
}
.menu-mobile__liens a[aria-current="page"] { color: var(--texte-accentue); }
.menu-mobile__rubrique { padding: 10px 0 6px; }
.menu-mobile__titre {
  margin: 0 0 4px; font-family: var(--font-titre); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1.1; color: var(--noir);
}
.menu-mobile__sous { padding: 4px 0 6px 2px; }
.menu-mobile__liens .menu-mobile__sous a {
  font-family: var(--font-corps); font-weight: 500; text-transform: none; letter-spacing: 0;
  font-size: 1.05rem; padding: 7px 0;
}
.menu-mobile__pied { display: flex; flex-wrap: wrap; gap: 12px; }
.menu-mobile__coord { width: 100%; margin: 16px 0 0; color: var(--texte-doux); font-size: .95rem; }
.menu-mobile__coord a { text-decoration: none; }
.menu-mobile, .menu-mobile__liens li { padding-left: calc(var(--bande) + 8px); }
.menu-mobile__liens li { padding-left: 0; }

@media (prefers-reduced-motion: no-preference) {
  .menu-mobile.est-ouvert .menu-mobile__liens > li { animation: monte .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + 60ms); }
  .menu-mobile.est-ouvert .menu-mobile__pied { animation: monte .7s var(--ease) both .4s; }
}

/* Écrans de 1181 à 1400 px (portables, cadre de l'outil de revue) : en-tête resserré pour que « Espace client »
   tienne sur une ligne et que « Nous contacter » ne déborde pas à droite (constaté le 24/11/2026). */
@media (min-width: 1181px) and (max-width: 1400px) {
  .entete__barre { width: min(100% - 2 * max(16px, 3vw), 1360px); gap: 20px; }
  .entete__liste { gap: 14px; }
  .entete__lien, .lien-client { letter-spacing: .07em; }
  .entete__actions { gap: 14px; }
  .lien-client { white-space: nowrap; }
  .entete__actions .btn--compact { padding-inline: 1.1em; }
}
@media (max-width: 1180px) {
  .entete__nav, .lien-client, .entete__actions .btn--compact { display: none; }
  .entete__menu { display: inline-flex; }
  .entete__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .entete__actions .btn { display: none; }
  .entete__logo img { width: 124px; }
  .entete__menu-libelle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

main { padding-top: var(--entete-h); }

/* ---------- 7. Apparitions ---------- */
@keyframes monte { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fondu { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js [data-reveal].est-visible { opacity: 1; transform: none; }
}

/* ---------- 8. Héros ---------- */
.heros {
  position: relative;
  display: grid;
  grid-template-columns: var(--bande) minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: calc(100svh - var(--entete-h));
  min-height: calc(100dvh - var(--entete-h));
}
.heros__bande { background: var(--principale-bande); }
.heros__corps {
  align-self: center;
  padding: clamp(48px, 7vw, 112px) clamp(24px, 5vw, 88px) clamp(48px, 6vw, 88px) clamp(24px, 5.5vw, 96px);
}
.heros__titre { margin-bottom: 32px; }
.heros__titre .ligne { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.heros__titre .ligne > span { display: block; }
.heros .sous-titre { max-width: 36ch; margin-bottom: 40px; }
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.heros__media { position: relative; overflow: hidden; background: var(--beige-2); }
.heros__media picture, .heros__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.heros__media img { object-fit: cover; object-position: 40% 50%; }

/* Mot-clé du sous-titre souligné d'une bande fine orange — adapté d'Aceternity UI : Hero Highlight */
.surligne {
  background: linear-gradient(var(--accent), var(--accent)) 0 92% / 100% 2px no-repeat;
  padding-bottom: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .js .heros__titre .ligne > span { transform: translateY(105%); animation: ligne 1.1s var(--ease) forwards; }
  .js .heros__titre .ligne:nth-child(2) > span { animation-delay: .12s; }
  .js .heros__titre .ligne:nth-child(3) > span { animation-delay: .24s; }
  .js .heros__entree { opacity: 0; animation: monte .9s var(--ease) forwards; animation-delay: calc(.45s + var(--i, 0) * .12s); }
  .js .heros__media { clip-path: inset(0 0 100% 0); animation: rideau 1.4s var(--ease) .1s forwards; }
  .js .heros__media img { transform: scale(1.12); animation: recul 2.6s var(--ease) .1s forwards; }
  .js .surligne { background-size: 0 2px; animation: trait 1s var(--ease) 1.1s forwards; }
}
@keyframes ligne { to { transform: none; } }
@keyframes rideau { to { clip-path: inset(0 0 0 0); } }
@keyframes recul { to { transform: scale(1); } }
@keyframes trait { to { background-size: 100% 2px; } }

/* Héros des pages intérieures */
.heros--page { min-height: min(78dvh, 760px); }
.heros--compact { grid-template-columns: var(--bande) minmax(0, 1fr); min-height: 0; }
.heros--compact .heros__corps { padding-block: clamp(64px, 9vw, 128px) clamp(40px, 5vw, 72px); max-width: 1000px; }
.heros--page .titre-xl { font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.06; }

@media (max-width: 900px) {
  .heros, .heros--page { grid-template-columns: var(--bande) minmax(0, 1fr); min-height: 0; }
  .heros__bande { grid-row: 1 / span 2; }
  .heros__corps { padding: 56px var(--marge) 48px 24px; }
  .heros__media { grid-column: 2; aspect-ratio: 4 / 3; }
}

.heros__schema { display: grid; place-items: center; padding: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 64px); background: var(--beige-2); }
@media (max-width: 900px) { .heros__schema { grid-column: 2; padding: 48px 24px 56px; } }

/* Sommaire de page (ancres) */
.sommaire {
  position: sticky; top: var(--entete-h); z-index: 20;
  background: rgba(255, 254, 246, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 1px solid var(--ligne);
}
.sommaire ul { display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scrollbar-width: none; }
.sommaire ul::-webkit-scrollbar { display: none; }
.sommaire a {
  display: block; padding: 16px 0; white-space: nowrap; position: relative;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--texte-doux); text-decoration: none; transition: color .3s var(--ease);
}
.sommaire a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--principale-bande);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.sommaire a:hover, .sommaire a.est-actif { color: var(--texte-accentue); }
.sommaire a.est-actif::after { transform: scaleX(1); }

/* ---------- 9. Accueil : deux portes ---------- */
.portes { display: grid; grid-template-columns: 1fr 1fr; }
.porte {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 300px;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 80px);
  text-decoration: none; color: var(--noir);
  background: var(--beige-2);
}
.porte--vert { background: var(--principale); color: var(--beige); }
.porte .sur-titre { margin: 0; }
.porte--vert .sur-titre { color: rgba(255, 254, 246, .82); }
.porte__titre {
  font-family: var(--font-titre); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.7vw, 2.3rem); line-height: 1.1; max-width: 18ch;
  color: var(--texte-accentue);
}
.porte--vert .porte__titre { color: var(--beige); }
.porte__pied { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.porte__lien { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.porte__fleche {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid currentColor; flex: none;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.porte__fleche .ico { width: 22px; height: 22px; }
.porte:hover .porte__fleche { background: var(--principale-bande); color: var(--beige); border-color: var(--principale-bande); transform: translateX(6px); }
.porte--vert:hover .porte__fleche { background: var(--beige); color: var(--principale); border-color: var(--beige); }
/* Bande verticale qui monte au survol */
.porte::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background: var(--principale-bande); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.porte--vert::before { background: var(--accent); }
.porte:hover::before { transform: scaleY(1); }
@media (max-width: 760px) { .portes { grid-template-columns: 1fr; } .porte { min-height: 240px; } }

/* ---------- 10. Manifeste ---------- */
.manifeste__citation {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(1.9rem, 4.3vw, 3.7rem); line-height: 1.16;
  letter-spacing: -.005em;
  max-width: 25ch; margin: 0 0 clamp(56px, 8vw, 112px);
}
.manifeste__citation em { color: var(--texte-accentue); }
.manifeste__citation .mot { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .manifeste__citation .mot { opacity: .14; transition: opacity .9s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
  .js .manifeste__citation.est-visible .mot { opacity: 1; }
}
.manifeste__grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.manifeste__photo { grid-column: 1 / span 6; }
.manifeste__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.manifeste__texte { grid-column: 8 / span 5; padding-bottom: 8px; }
.manifeste__texte .titre-m { margin-bottom: 24px; }
@media (max-width: 860px) {
  .manifeste__grille { grid-template-columns: 1fr; gap: 40px; }
  .manifeste__photo, .manifeste__texte { grid-column: 1; }
}

/* ---------- 11. Piliers (expertises, accueil) ---------- */
.entete-section { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.entete-section .titre { margin-bottom: 0; }
.entete-section .sous-titre { margin: 20px 0 0; }
.piliers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pilier {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 8px clamp(18px, 2vw, 32px) 8px clamp(20px, 2vw, 28px);
  border-left: 1px solid var(--ligne-forte);
  text-decoration: none; color: var(--noir);
}
.pilier::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 4px;
  background: var(--principale-bande); transform: scaleY(0); transform-origin: top;
  transition: transform .7s var(--ease);
}
.pilier:hover::before, .pilier:focus-visible::before { transform: scaleY(1); }
.pilier__icone { width: 40px; height: 40px; color: var(--texte-accentue); }
.pilier__icone .ico { width: 40px; height: 40px; }
.pilier .titre-s { color: var(--texte-accentue); min-height: 2.6em; }
.pilier p { font-size: .98rem; color: var(--texte-doux); margin: 0; flex: 1; }
.pilier__fleche { color: var(--texte-accentue); transition: transform .4s var(--ease); }
.pilier:hover .pilier__fleche { transform: translateX(6px); }
@media (max-width: 1000px) { .piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; } }
@media (max-width: 560px) { .piliers { grid-template-columns: 1fr; row-gap: 44px; } .pilier .titre-s { min-height: 0; } }

/* ---------- 12. Section verte : modèle B2B ---------- */
.sur-vert { background: var(--principale); color: var(--beige); }
.sur-vert .sur-titre { color: rgba(255, 254, 246, .8); }
.sur-vert .titre, .sur-vert .titre-xl, .sur-vert .titre-m { color: var(--beige); }
.sur-vert .intermediaire { color: var(--beige); }
.sur-vert .etiquette { border-color: rgba(255, 254, 246, .45); color: var(--beige); }
.b2b { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.b2b__texte p { color: rgba(255, 254, 246, .9); }
.b2b__texte .lead { color: var(--beige); margin-bottom: 28px; }
.b2b__etiquettes { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
@media (max-width: 900px) { .b2b { grid-template-columns: minmax(0, 1fr); } }

/* Schéma réseau — inspiré d'Aceternity UI : Background Beams (rayons tracés, sans glow) */
.reseau { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 560 / 470; }
.reseau > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.reseau__lien { fill: none; stroke: currentColor; stroke-width: 1.5; }
.reseau__lien--tiers { stroke-dasharray: 3 7; opacity: .45; }
.reseau__point { fill: var(--accent); }
.reseau__noeud {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .7em 1.2em; border-radius: var(--radius-pilule);
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  background: var(--beige); color: var(--principale);
  box-shadow: 0 10px 30px rgba(20, 26, 14, .18);
}
.reseau__noeud .ico { width: 1.3em; height: 1.3em; }
.reseau__centre {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  width: 27%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 254, 246, .5);
  background: var(--principale);
}
.reseau__centre::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 254, 246, .18);
}
.reseau__centre img { width: 52%; }
.reseau--clair { color: var(--principale); }
.reseau--clair .reseau__noeud { background: var(--beige-2); box-shadow: 0 10px 30px rgba(55, 68, 40, .12); border: 1px solid var(--ligne); }
.reseau--clair .reseau__centre { background: var(--principale); border-color: var(--principale); }
.reseau--clair .reseau__centre::before { border-color: rgba(55, 68, 40, .25); }

@media (prefers-reduced-motion: no-preference) {
  .js .reseau .reseau__lien { stroke-dasharray: var(--l, 400); stroke-dashoffset: var(--l, 400); transition: stroke-dashoffset 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 180ms + 200ms); }
  .js .reseau .reseau__lien--tiers { stroke-dasharray: 3 7; stroke-dashoffset: 0; opacity: 0; transition: opacity 1.2s var(--ease) 1.4s; }
  .js .reseau .reseau__noeud, .js .reseau .reseau__centre { opacity: 0; transition: opacity .8s var(--ease), translate .8s var(--ease); translate: 0 14px; }
  .js .reseau .reseau__noeud { transition-delay: calc(var(--i, 0) * 180ms + 900ms); }
  .js .reseau .reseau__points { opacity: 0; transition: opacity .8s var(--ease) 1.8s; }
  .js .reseau.est-visible .reseau__lien { stroke-dashoffset: 0; }
  .js .reseau.est-visible .reseau__lien--tiers { opacity: .45; }
  .js .reseau.est-visible .reseau__noeud, .js .reseau.est-visible .reseau__centre { opacity: 1; translate: 0 0; }
  .js .reseau.est-visible .reseau__points { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .reseau__points { display: none; } }
@media (max-width: 520px) {
  .reseau__noeud { font-size: .68rem; padding: .6em .9em; letter-spacing: .05em; }
}
@media (max-width: 420px) {
  .reseau__noeud .ico { display: none; }
}

/* ---------- 13. Offres ---------- */
.offres-duo { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ligne-forte); }
.offre-resume {
  position: relative;
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(32px, 4vw, 48px) 0;
}
.offre-resume + .offre-resume { padding-left: clamp(24px, 4vw, 64px); padding-right: 0; border-left: 1px solid var(--ligne-forte); }
.offre-resume__tag { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); margin: 0; }
.offre-resume__nom { font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; color: var(--texte-accentue); }
.offre-resume__desc { margin: 0; max-width: 46ch; }
.offre-resume__bas { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; }
@media (max-width: 860px) {
  .offres-duo { grid-template-columns: 1fr; }
  .offre-resume, .offre-resume + .offre-resume { padding: 40px 0; border-left: 0; }
  .offre-resume + .offre-resume { border-top: 1px solid var(--ligne-forte); }
}

/* Mini-escalier du barème (accueil) */
.escalier-mini { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.escalier-mini span { width: 22px; background: var(--nuance-1); height: calc(var(--h) * 1%); }
.escalier-mini span:nth-child(2) { background: var(--nuance-2); }
.escalier-mini span:nth-child(3) { background: var(--nuance-3); }
.escalier-mini span:nth-child(4) { background: var(--nuance-4); }
.escalier-mini-legende { font-family: var(--font-titre); font-weight: 600; font-size: 1.1rem; color: var(--texte-accentue); letter-spacing: .02em; }
.offre-resume__bareme { display: flex; align-items: flex-end; gap: 16px; }

/* Offres détaillées */
.offres-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.offre {
  position: relative; display: flex; flex-direction: column;
  background: var(--beige-2); border-radius: var(--radius-carte);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3.5vw, 52px) clamp(32px, 4vw, 48px) clamp(32px, 4vw, 60px);
 
}
.offre::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--principale-bande); border-radius: var(--radius-carte) 0 0 var(--radius-carte); }
.offre--fo::before { background: var(--principale); }
.offre__tag { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); margin: 0 0 16px; }
.offre__nom { font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.02; color: var(--texte-accentue); margin-bottom: 20px; }
.offre__desc { font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.5; margin-bottom: 32px; }
.offre__services { display: grid; gap: 14px; margin-bottom: 36px; }
.offre__services li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: 1rem; line-height: 1.5; }
.offre__services .ico { width: 20px; height: 20px; color: var(--texte-accentue); margin-top: 2px; }
.offre__pied { margin-top: auto; display: grid; gap: 14px; justify-items: start; padding-top: 28px; border-top: 1px solid var(--ligne); }
.offre__note { font-size: .92rem; color: var(--texte-doux); margin: 0; }
@media (max-width: 900px) { .offres-detail { grid-template-columns: 1fr; } }

/* Seuils (héros de la page Offres) */
.seuils { display: grid; gap: 0; align-self: center; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px); background: var(--beige-2); height: 100%; align-content: center; }
.seuil { display: block; padding: 28px 0; border-bottom: 1px solid var(--ligne-forte); text-decoration: none; color: inherit; }
.seuil:hover .seuil__montant { color: var(--principale-bande); }
.seuil:last-child { border-bottom: 0; }
.seuil__libelle { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); margin: 0 0 6px; }
.seuil__montant { font-family: var(--font-titre); font-weight: 700; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; color: var(--texte-accentue); letter-spacing: -.01em; }
.seuil__offre { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; margin: 10px 0 0; color: var(--noir); }

/* Barème en escalier — graphique (barres en couleur principale puis nuances) */
.bareme { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.5vw, 20px); align-items: end; margin-top: clamp(40px, 5vw, 64px); }
.bareme li { display: flex; flex-direction: column; justify-content: flex-end; height: clamp(300px, 34vw, 420px); }
.bareme__taux {
  font-family: var(--font-titre); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1;
  color: var(--texte-accentue); margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.bareme__barre { height: calc(var(--h) * .72%); min-height: 40px; background: var(--nuance-1); border-radius: 2px 2px 0 0; transform-origin: bottom; }
.bareme li:nth-child(2) .bareme__barre { background: var(--nuance-2); }
.bareme li:nth-child(3) .bareme__barre { background: var(--nuance-3); }
.bareme li:nth-child(4) .bareme__barre { background: var(--nuance-4); }
.bareme__tranche { font-size: .92rem; line-height: 1.4; padding-top: 14px; border-top: 1px solid var(--noir); margin-top: 0; min-height: 4.2em; }
@media (prefers-reduced-motion: no-preference) {
  .js .bareme .bareme__barre { transform: scaleY(0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 140ms); }
  .js .bareme .bareme__taux { opacity: 0; transition: opacity .8s var(--ease); transition-delay: calc(var(--i, 0) * 140ms + .5s); }
  .js .bareme.est-visible .bareme__barre { transform: none; }
  .js .bareme.est-visible .bareme__taux { opacity: 1; }
}
@media (max-width: 640px) {
  .bareme { grid-template-columns: 1fr; }
  .bareme li { height: auto; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
  .bareme__barre { grid-column: 1 / -1; grid-row: 2; height: 10px; min-height: 0; width: calc(var(--h) * 1%); transform-origin: left; border-radius: 0 2px 2px 0; margin-top: 12px; }
  .js .bareme .bareme__barre { transform: scaleX(0); }
  .bareme__taux { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.8rem; }
  .bareme__tranche { grid-column: 1; grid-row: 1; border: 0; padding: 0; min-height: 0; }
}
.bareme-notes { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; margin-top: 40px; }
.bareme-notes p { margin: 0; color: var(--texte-doux); max-width: 70ch; font-size: .98rem; }
@media (max-width: 760px) { .bareme-notes { grid-template-columns: 1fr; } }

/* ---------- 14. Groupe ---------- */
.groupe-lignes { border-top: 1px solid var(--ligne-forte); }
.groupe-ligne {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 5fr); gap: 32px; align-items: baseline;
  padding: 36px 0 36px 36px;
  border-bottom: 1px solid var(--ligne-forte);
}
.groupe-ligne::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 6px; background: var(--bande-couleur, var(--noir)); transform-origin: left; transition: transform .5s var(--ease); }
.groupe-ligne:hover::before { transform: scaleX(1.7); }
.groupe-ligne--cf { --bande-couleur: var(--cf); }
.groupe-ligne--gp { --bande-couleur: var(--principale); background: var(--beige); }
.groupe-ligne--cas { --bande-couleur: var(--cas); }
.groupe-ligne__nom { font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; line-height: 1.25; }
.groupe-ligne--gp .groupe-ligne__nom { color: var(--texte-accentue); }
.groupe-ligne__devise { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.4; margin: 0; }
.groupe-ligne__desc { margin: 0; color: var(--texte-doux); font-size: .98rem; }
.groupe-ligne__ici { display: block; margin-top: 10px; }
@media (max-width: 900px) {
  .groupe-ligne { grid-template-columns: 1fr; gap: 10px; padding: 28px 16px 28px 32px; }
}

.groupe-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.groupe-carte { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 40px 32px 36px 40px; background: var(--beige-2); border-radius: var(--radius-carte); }
.groupe-carte::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--bande-couleur); border-radius: var(--radius-carte) 0 0 var(--radius-carte); }
.groupe-carte--cf { --bande-couleur: var(--cf); }
.groupe-carte--gp { --bande-couleur: var(--principale); background: var(--principale); color: var(--beige); }
.groupe-carte--cas { --bande-couleur: var(--cas); }
.groupe-carte--gp::before { background: var(--accent); }
.groupe-carte .groupe-ligne__nom { font-size: 1.25rem; }
.groupe-carte--gp .groupe-ligne__nom { color: var(--beige); }
.groupe-carte--gp .groupe-ligne__desc { color: rgba(255, 254, 246, .88); }
@media (max-width: 900px) { .groupe-cartes { grid-template-columns: 1fr; } }

/* ---------- 15. Équipe ---------- */
.equipe-bandeau { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.portrait { text-decoration: none; color: var(--noir); display: block; }
.portrait__photo { position: relative; overflow: hidden; background: var(--beige-2); aspect-ratio: 4 / 5; }
.portrait__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.portrait__photo::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--principale-bande);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.portrait:hover .portrait__photo img { transform: scale(1.04); }
.portrait:hover .portrait__photo::after { transform: scaleY(1); }
.portrait__nom { font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; font-size: .98rem; line-height: 1.25; margin: 16px 0 4px; color: var(--texte-accentue); }
.portrait__role { font-size: .88rem; line-height: 1.4; color: var(--texte-doux); margin: 0; }
@media (max-width: 900px) {
  .equipe-bandeau { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; margin-right: calc(-1 * var(--marge)); padding-right: var(--marge); scrollbar-width: thin; }
  .equipe-bandeau .portrait { flex: 0 0 min(62vw, 240px); scroll-snap-align: start; }
}
.equipe-entete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.equipe-entete .titre { margin: 0; }

/* Page équipe */
.groupe-equipe + .groupe-equipe { margin-top: clamp(72px, 9vw, 120px); }
.groupe-equipe__titre { display: flex; align-items: center; gap: 20px; margin-bottom: 36px; }
.groupe-equipe__titre::after { content: ""; flex: 1; height: 1px; background: var(--ligne-forte); }
.fiches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.fiches--2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fiches > .fiche { display: flex; flex-direction: column; }
.fiche .portrait__photo { margin-bottom: 24px; }
.fiche:hover .portrait__photo img { transform: scale(1.04); }
.fiche:hover .portrait__photo::after { transform: scaleY(1); }
.fiche__nom { font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; line-height: 1.2; color: var(--texte-accentue); margin-bottom: 6px; }
.fiche__role { font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; margin: 0 0 16px; }
.fiche__bio { font-size: .98rem; color: var(--texte-doux); margin: 0 0 20px; }
.fiche__liens { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 20px; padding-top: 16px; border-top: 1px solid var(--ligne); }
.fiche__liens a { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; color: var(--noir); text-decoration: none; overflow-wrap: anywhere; }
.fiche__liens a:hover { color: var(--texte-accentue); text-decoration: underline; text-underline-offset: 3px; }
.fiche__liens .ico { color: var(--texte-accentue); }
@media (max-width: 960px) { .fiches, .fiches--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fiches, .fiches--2 { grid-template-columns: 1fr; } .fiche .portrait__photo { aspect-ratio: 1; } }

/* ---------- 16. Cabinet ---------- */
.philo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.philo__texte p:not(.lead) { font-size: 1.08rem; }
.points { background: var(--beige-2); border-radius: var(--radius-carte); padding: clamp(28px, 3.5vw, 48px); position: relative; }
.points::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--principale-bande); border-radius: var(--radius-carte) 0 0 var(--radius-carte); }
.points li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--ligne); font-family: var(--font-serif); font-size: 1.18rem; line-height: 1.4; }
.points li:last-child { border-bottom: 0; }
.points__num { font-family: var(--font-titre); font-weight: 700; font-size: .95rem; color: var(--texte-accentue); letter-spacing: .06em; }
@media (max-width: 900px) { .philo { grid-template-columns: 1fr; } }

.mission { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.mission__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mission__devise { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--texte-accentue); margin: 0 0 28px; }
@media (max-width: 900px) { .mission { grid-template-columns: 1fr; } .mission__photo { max-width: 520px; } }

/* Frise ADN — adapté d'Aceternity UI : Timeline (titre collant, rayon qui suit le défilement) */
.frise { position: relative; margin-top: clamp(48px, 6vw, 80px); }
.frise__rail { position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--ligne); }
.frise__rayon { position: absolute; inset: 0; background: var(--principale-bande); transform-origin: top; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .frise__rayon { animation: rayon linear both; animation-timeline: view(block 50%); animation-range: cover 0% cover 100%; }
  }
}
@keyframes rayon { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.frise__etape { position: relative; display: grid; grid-template-columns: 48px minmax(0, 5fr) minmax(0, 7fr); gap: 0 clamp(20px, 3vw, 48px); padding-bottom: clamp(56px, 8vw, 112px); }
.frise__etape:last-child { padding-bottom: 0; }
.frise__num {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--beige); border: 1px solid var(--ligne-forte);
  font-family: var(--font-titre); font-weight: 700; font-size: .9rem; color: var(--texte-accentue);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.frise__etape.est-actif .frise__num { background: var(--principale-bande); color: var(--beige); border-color: var(--principale-bande); }
.frise__titre { position: sticky; top: 140px; align-self: start; padding-top: 8px; }
.frise__titre .titre-m { color: var(--texte-accentue); }
.frise__texte { padding-top: 10px; font-family: var(--font-serif); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; margin: 0; }
@media (max-width: 760px) {
  .frise__etape { grid-template-columns: 48px minmax(0, 1fr); row-gap: 12px; }
  .frise__titre { position: static; }
  .frise__texte { grid-column: 2; }
}

.engagement-bandeau { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 24px 48px; align-items: center; }
.engagement-bandeau .etiquettes { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .engagement-bandeau { grid-template-columns: 1fr; } }

/* ---------- 17. Expertises (défilement collant) ---------- */
/* Adapté d'Aceternity UI : Sticky Scroll Reveal (visuel collant qui change avec le texte) */
.defile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.defile__collant { position: sticky; top: 120px; align-self: start; }
.defile__nav ol { counter-reset: exp; border-top: 1px solid var(--ligne-forte); }
.defile__nav li { counter-increment: exp; border-bottom: 1px solid var(--ligne-forte); }
.defile__nav a {
  position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 8px; align-items: baseline;
  padding: 18px 0 18px 16px;
  font-family: var(--font-titre); font-weight: 600; text-transform: uppercase; font-size: .98rem; letter-spacing: .03em;
  color: var(--texte-doux); text-decoration: none; transition: color .4s var(--ease);
}
.defile__nav a::before { content: counter(exp, decimal-leading-zero); font-size: .8rem; color: inherit; }
.defile__nav a::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; background: var(--principale-bande); transform: scaleY(0); transition: transform .5s var(--ease); }
.defile__nav a:hover { color: var(--noir); }
.defile__nav a.est-actif { color: var(--texte-accentue); }
.defile__nav a.est-actif::after { transform: scaleY(1); }
.defile__visuels { position: relative; margin-top: 32px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige-2); }
.defile__visuels img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.defile__visuels img.est-actif { opacity: 1; transform: none; }
.defile__blocs { display: grid; }
.expertise { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; }
.expertise + .expertise { border-top: 1px solid var(--ligne); }
.expertise__icone { color: var(--texte-accentue); margin-bottom: 28px; }
.expertise__icone .ico { width: 48px; height: 48px; }
.expertise .titre { margin-bottom: 24px; }
.expertise .lead { margin-bottom: 40px; max-width: 34ch; }
.dans-offres li { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--ligne); font-size: .98rem; }
.dans-offres .ico { width: 18px; height: 18px; color: var(--texte-accentue); transform: translateY(3px); }
.dans-offres__offre { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-accentue); white-space: nowrap; }
@media (max-width: 900px) {
  .defile { grid-template-columns: 1fr; }
  .defile__collant { display: none; }
  .expertise { min-height: 0; padding-block: 56px; }
}

/* ---------- 18. Prescripteurs ---------- */
.metiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ligne-forte); }
.metier { display: flex; align-items: center; gap: 18px; padding: 32px 24px 32px 0; font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 1.8vw, 1.45rem); color: var(--texte-accentue); }
.metier + .metier { border-left: 1px solid var(--ligne-forte); padding-left: 28px; }
.metier .ico { width: 36px; height: 36px; }
@media (max-width: 760px) { .metiers { grid-template-columns: 1fr; } .metier + .metier { border-left: 0; border-top: 1px solid var(--ligne-forte); padding-left: 0; } }

.coordination { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tuile { position: relative; background: var(--beige-2); border-radius: var(--radius-carte); padding: 28px 24px 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.tuile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--principale-bande); border-radius: var(--radius-carte) 0 0 var(--radius-carte); transform: scaleY(.25); transform-origin: top; transition: transform .6s var(--ease); }
.tuile:hover::before { transform: scaleY(1); }
.tuile .ico { width: 32px; height: 32px; color: var(--texte-accentue); }
.tuile p { margin: 0; font-size: 1rem; line-height: 1.5; }
.tuile--large { grid-column: 1 / -1; background: var(--principale); color: var(--beige); }
.tuile--large .ico { color: var(--beige); }
.tuile--large::before { background: var(--accent); transform: scaleY(1); }
@media (max-width: 900px) { .coordination { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tuiles { grid-template-columns: 1fr; } }

/* ---------- 19. Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 34fr) 12px minmax(0, 66fr); background: var(--beige); }
.contact__photo { position: relative; min-height: 560px; overflow: hidden; }
.contact__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__bande { background: var(--accent); }
.contact__corps { padding: clamp(56px, 8vw, 128px) var(--marge) clamp(56px, 8vw, 112px) clamp(32px, 6vw, 112px); align-self: center; }
.contact .titre { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; }
.contact__citation { max-width: 30ch; margin-bottom: 40px; }
.contact__coord { display: grid; gap: 14px; margin-bottom: 40px; }
.contact__coord li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact__coord .ico { width: 22px; height: 22px; color: var(--texte-accentue); }
.contact__coord a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.contact__coord a:hover { background-size: 100% 1px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; grid-template-rows: auto 10px auto; }
  .contact__photo { min-height: 0; aspect-ratio: 16 / 9; }
  .contact__corps { padding: 56px var(--marge); }
}

/* ---------- 20. Pied de page ---------- */
.pied { position: relative; overflow: hidden; background: var(--noir); color: var(--beige); padding: clamp(64px, 8vw, 104px) 0 32px; }
.pied a { color: inherit; text-decoration: none; }
.pied a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pied .btn, .pied .btn:hover { color: var(--btn-fg); text-decoration: none; }
.pied__haut { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 254, 246, .16); }
.pied__marque img { width: 200px; margin-bottom: 28px; }
.pied__signature { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.4; max-width: 22ch; margin: 0; }
.pied__signature em { color: var(--beige); }
.pied__titre { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 254, 246, .66); margin: 6px 0 18px; }
.pied__col ul { display: grid; gap: 10px; font-size: .95rem; }
.pied__groupe li { display: flex; align-items: center; gap: 12px; }
.pied__pastille { width: 4px; height: 18px; flex: none; }
.pied__pastille--cf { background: var(--cf); }
.pied__pastille--gp { background: #6E8A5A; }
.pied__pastille--cas { background: var(--cas); }
.pied__bas { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; padding-top: 28px; font-size: .82rem; color: rgba(255, 254, 246, .72); }
.pied__legal { margin: 0; max-width: 72ch; }
.pied__liens { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied__filigrane { position: absolute; right: -40px; bottom: -30px; width: min(42vw, 520px); opacity: .05; pointer-events: none; }
@media (max-width: 960px) { .pied__haut { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pied__haut { grid-template-columns: 1fr; } }

/* ---------- 21. Mentions légales ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.legal__sommaire { position: sticky; top: 112px; }
.legal__sommaire ol { border-top: 1px solid var(--ligne-forte); }
.legal__sommaire li { border-bottom: 1px solid var(--ligne-forte); }
.legal__sommaire a { display: block; padding: 14px 0 14px 14px; position: relative; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--texte-doux); }
.legal__sommaire a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--principale-bande); transform: scaleY(0); transition: transform .4s var(--ease); }
.legal__sommaire a.est-actif, .legal__sommaire a:hover { color: var(--texte-accentue); }
.legal__sommaire a.est-actif::before { transform: scaleY(1); }
.legal__bloc { padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--ligne); }
.legal__bloc:last-child { border-bottom: 0; margin-bottom: 0; }
.legal__bloc .titre-m { margin-bottom: 28px; }
.legal__bloc h3 { font-family: var(--font-corps); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 32px 0 10px; color: var(--noir); }
.legal__bloc p, .legal__bloc li { font-size: .98rem; max-width: 72ch; }
.legal__bloc ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.legal__bloc li { margin-bottom: 6px; }
.legal__bloc a { color: var(--texte-accentue); text-underline-offset: 3px; }
.legal__identite p { line-height: 1.8; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal__sommaire { position: static; } }

/* ---------- 22. Utilitaires ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.centre { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .entete, .menu-mobile, .contact__photo, .pied__filigrane, .sommaire { display: none !important; }
  main { padding-top: 0; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* ---------- 23. Sélecteur de version (revue du board uniquement) ---------- */
.revue-versions {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 4px; padding: 4px;
  background: var(--noir); color: var(--beige); border-radius: var(--radius-pilule);
  box-shadow: 0 10px 30px rgba(42, 42, 46, .25); font-size: .78rem; font-weight: 600; letter-spacing: .06em;
}
.revue-versions span { padding: 0 8px 0 12px; opacity: .7; text-transform: uppercase; }
.revue-versions a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--radius-pilule);
  color: var(--beige); text-decoration: none; text-transform: uppercase;
}
.revue-versions a[aria-current="true"] { background: var(--beige); color: var(--noir); }
.revue-versions a:not([aria-current="true"]):hover { background: rgba(255, 254, 246, .14); }
@media print { .revue-versions { display: none; } }

/* ---------- 24. Contenu à compléter (visible pendant la revue) ---------- */
.a-completer {
  border: 1px dashed var(--ligne-forte); border-radius: var(--radius-carte);
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(42, 42, 46, .025) 14px 28px);
  padding: clamp(24px, 3vw, 40px);
}
.a-completer__titre {
  display: inline-flex; align-items: center; gap: .5em; margin: 0 0 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux);
}
.a-completer__titre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.a-completer ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.a-completer li { margin-bottom: 4px; }
.a-completer > :last-child { margin-bottom: 0; }

/* Pied de page : pastilles et liens des activités */
.pied__pastille--gp { background: #6E8A5A; }
.pied__groupe a { color: inherit; }

/* ---------- 25. Sommaire de rubrique (pages sœurs, sous le héros) ---------- */
.rubrique { border-bottom: 1px solid var(--ligne); background: var(--beige); }
.rubrique ul {
  width: min(100% - 2 * var(--marge), var(--contenu-max)); margin-inline: auto;
  display: flex; gap: clamp(20px, 3vw, 40px); overflow-x: auto; scrollbar-width: none;
}
.rubrique ul::-webkit-scrollbar { display: none; }
.rubrique a {
  position: relative; display: block; padding: 18px 0; white-space: nowrap;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--texte-doux); text-decoration: none; transition: color .3s var(--ease);
}
.rubrique a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--principale-bande);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.rubrique a:hover, .rubrique a[aria-current="page"] { color: var(--texte-accentue); }
.rubrique a:hover::after, .rubrique a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- 26. Page suivante (fin de page) ---------- */
.suite { border-top: 1px solid var(--ligne); }
.suite__lien {
  position: relative; overflow: hidden;
  width: min(100% - 2 * var(--marge), var(--contenu-max)); margin-inline: auto;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px clamp(20px, 4vw, 56px);
  padding: clamp(36px, 5vw, 64px) 0;
  color: var(--noir); text-decoration: none;
}
.suite__libelle { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); }
.suite__titre {
  font-family: var(--font-titre); font-weight: 700; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.08; color: var(--texte-accentue);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 4px;
  transition: background-size .6s var(--ease); justify-self: start;
}
.suite__fleche {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--noir);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.suite__fleche .ico { width: 22px; height: 22px; }
.suite__lien:hover .suite__titre { background-size: 100% 2px; }
.suite__lien:hover .suite__fleche { background: var(--principale-bande); border-color: var(--principale-bande); color: var(--beige); transform: translateX(6px); }
@media (max-width: 640px) {
  .suite__lien { grid-template-columns: minmax(0, 1fr) auto; }
  .suite__libelle { grid-column: 1 / -1; }
  .suite__fleche { width: 48px; height: 48px; }
}

/* ---------- 27. Portes : variante à trois entrées ---------- */
.portes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portes--3 .porte:nth-child(2) { background: var(--beige); border-inline: 1px solid var(--ligne); }
@media (max-width: 960px) { .portes--3 { grid-template-columns: 1fr; } .portes--3 .porte:nth-child(2) { border-inline: 0; border-block: 1px solid var(--ligne); } }

/* ---------- 28. Bloc « idée » : un texte, une citation (pages courtes) ---------- */
.idee { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.idee__texte p { font-size: 1.08rem; max-width: 62ch; }
.idee__texte .lead { font-size: clamp(1.2rem, 1.9vw, 1.45rem); margin-bottom: 1.2em; }
.idee .citation { margin-top: 0; position: sticky; top: 120px; }
@media (max-width: 900px) { .idee { grid-template-columns: 1fr; } .idee .citation { position: static; } }

/* Conclusion en trois temps (pages Expertises) */
.devise-fin {
  margin: clamp(48px, 6vw, 80px) 0 0; padding-top: 28px; border-top: 1px solid var(--ligne-forte);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--texte-accentue);
  max-width: 40ch;
}

/* Texte avec passages en gras (réseau de Partners) */
.texte-fort strong { font-weight: 600; color: var(--texte-accentue); }

/* Téléphone : les boutons à long libellé passent à la ligne au lieu d'élargir la page */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
}

/* Téléphone : les grands titres (mots longs en capitales : « ACCOMPAGNEMENT », « D'ENTREPRENEURS ») tiennent dans la largeur */
@media (max-width: 600px) {
  .titre-xl, .heros--page .titre-xl, .heros__titre--long, .guide__titre { font-size: clamp(1.55rem, 7.4vw, 2.3rem); line-height: 1.08; }
}
@media (max-width: 360px) {
  .titre-xl, .heros--page .titre-xl, .heros__titre--long, .guide__titre { font-size: 1.45rem; }
  .heros__corps { padding-right: 16px; }
}

/* ---------- 29. Pied de page : bandeau contact en tête (ancre #contact du bouton « Nous contacter ») ---------- */
.pied__contact {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; gap: 32px 56px; align-items: end;
  padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(255, 254, 246, .16);
}
.pied__accroche { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; margin: 0; max-width: 20ch; }
.pied__accroche em { color: var(--beige); }
.pied__coord { display: grid; gap: 12px; font-size: 1.02rem; }
.pied__coord li { display: flex; align-items: center; gap: 12px; }
.pied__coord .ico { width: 20px; height: 20px; opacity: .8; }
.pied__actions { display: flex; flex-direction: column; gap: 10px; }
/* Pied de page : la grille à quatre colonnes ne vaut que sur grand écran (sinon elle écrasait les règles mobiles) */
@media (min-width: 961px) { .pied__haut { grid-template-columns: minmax(0, 3fr) repeat(3, minmax(0, 3fr)); } }
.pied__marque img { width: 220px; }
@media (max-width: 960px) {
  .pied__contact { grid-template-columns: 1fr 1fr; }
  .pied__contact > div:first-child { grid-column: 1 / -1; }
  .pied__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) { .pied__contact { grid-template-columns: 1fr; } }

/* ---------- 30. Portes qui se remplissent de la couleur de l'activité au survol (accueils CF et GP B) ---------- */
.portes--vives .porte { isolation: isolate; transition: color .5s var(--ease); }
.portes--vives .porte::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--principale);
  transform: scaleY(0); transform-origin: bottom; transition: transform .65s var(--ease);
}
.portes--vives .porte:hover, .portes--vives .porte:focus-visible { color: var(--beige); }
.portes--vives .porte:hover::after, .portes--vives .porte:focus-visible::after { transform: scaleY(1); }
.portes--vives .porte:hover .porte__titre, .portes--vives .porte:hover .sur-titre,
.portes--vives .porte:focus-visible .porte__titre, .portes--vives .porte:focus-visible .sur-titre { color: var(--beige); }
.portes--vives .porte .porte__titre, .portes--vives .porte .sur-titre { transition: color .5s var(--ease); }
.portes--vives .porte:hover .porte__fleche { background: var(--beige); color: var(--principale); border-color: var(--beige); }
.portes--vives .porte::before { background: var(--accent); }

/* ---------- Pied de page en trois colonnes (maquette du 25/11/2026, Gestion Privée puis Corporate Finance) ----------
   Logo · « Nous trouver » (coordonnées sur deux colonnes) · deux boutons empilés ; puis filet, mention légale
   et liens légaux. Partiels : _src/gp-b/partials/footer.html, _src/cf/partials/footer.html. */
.pied--trois { padding: 44px 0 26px; }
.pied--trois .pied__ligne {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px 48px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255, 254, 246, .16);
}
.pied--trois .pied__marque { justify-self: start; display: block; }
.pied--trois .pied__marque img { display: block; width: auto; height: 52px; margin: 0; }
.pied__intitule { margin: 0 0 10px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 254, 246, .6); }
.pied__trouver-grille { display: grid; grid-template-columns: auto auto; gap: 6px 36px; font-size: .9rem; line-height: 1.5; }
.pied__trouver-grille ul, .pied__trouver-grille address { display: grid; gap: 6px; margin: 0; font-style: normal; }
.pied__trouver-grille li, .pied__trouver-grille span { white-space: nowrap; }
.pied--trois .pied__actions { justify-self: end; display: flex; flex-direction: column; gap: 10px; }
.pied--trois .pied__actions .btn { min-height: 40px; padding: 11px 20px; font-size: .78rem; letter-spacing: .08em; justify-content: center; }
.pied--trois .pied__bas { padding-top: 18px; flex-wrap: nowrap; align-items: flex-start; gap: 12px 40px; font-size: .75rem; line-height: 1.6; color: rgba(255, 254, 246, .72); }
.pied--trois .pied__legal { max-width: 80ch; }
.pied--trois .pied__liens { flex-wrap: nowrap; gap: 6px 22px; white-space: nowrap; }
.pied--trois .insecable { white-space: nowrap; }
/* Écrans moyens : logo et boutons en haut, coordonnées dessous */
@media (max-width: 1000px) {
  .pied--trois .pied__ligne { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "marque actions" "trouver trouver"; }
  .pied--trois .pied__marque { grid-area: marque; }
  .pied--trois .pied__actions { grid-area: actions; }
  .pied--trois .pied__trouver { grid-area: trouver; }
  .pied--trois .pied__bas { flex-wrap: wrap; }
  .pied--trois .pied__liens { flex-wrap: wrap; }
}
/* Téléphone : une colonne */
@media (max-width: 640px) {
  .pied--trois { padding: 36px 0 22px; }
  .pied--trois .pied__ligne { grid-template-columns: minmax(0, 1fr); grid-template-areas: "marque" "trouver" "actions"; gap: 24px; }
  .pied--trois .pied__marque img { height: 44px; }
  .pied--trois .pied__actions { justify-self: stretch; }
  .pied__trouver-grille { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pied__trouver-grille li, .pied__trouver-grille span { white-space: normal; overflow-wrap: anywhere; }
  .pied--trois .pied__liens { gap: 6px 18px; }
}
