/* ============================================================
   Invest-Hub — Color & branding overrides
   Hérite des tokens immo, redéfinit l'accent en BLEU AZUR (#0e8ba3),
   dérivé du cyan immo (#00c0ff). Le vert est réservé à tourism-hub.
   ============================================================ */

:root {
  /* v0.11.58 — Virage FR+ES : palette NEUTRE pays (fini le bleu+rouge tricolore).
     Primaire = TEAL (Geolink neutre, moderne). Remplace la famille --ih-cyan. */
  --ih-cyan:         #0e8ba3;
  --ih-cyan-600:     #0b7488;
  --ih-cyan-700:     #095e70;
  --ih-cyan-tint:    #e0f2f5;
  --ih-cyan-tint-2:  #f1f8f9;

  /* Score badge teal aussi */
  --ih-data-score:   #0e8ba3;

  /* Encre ARDOISE (slate profond, neutre) */
  --ih-ink:          #12233a;
  --ih-ink-soft:     #33475d;

  /* Accent AMBRE (chaud, neutre pays) — CTA de conversion prioritaires
     (Start a project / Book a call / Send my brief). ⚠️ texte FONCÉ sur l'ambre. */
  --ih-accent:       #f59e0b;
  --ih-accent-600:   #d97706;
  --ih-accent-700:   #b45309;
  --ih-accent-tint:  #fef3e2;
  --ih-accent-tint-2:#fefaf3;
}

/* v0.11.58 — CTA à fond AMBRE (accent) : texte FONCÉ (l'ambre est clair → le blanc
   échoue en contraste ; encre + ambre = fort contraste, look moderne). */
.invest-sector__btn,
.invest-nav__cta,
.invest-nav__cta:hover,
.ih-search-panel--hero .ih-search-submit,
.ih-search-panel--hero .ih-search-submit:hover,
.inv-cta-highlight,
.inv-filters__apply { color: var(--ih-ink) !important; }

/* ── Logo override ── */
.ih-logo {
  font-weight: 700;
}
/* Cartouche (fond = --ih-cyan bleu) → texte BLANC pour le contraste. */
.ih-logo .ih-logo__hub,
.ih-logo--inverse .ih-logo__hub { color: #fff; }

/* Boutons bleus : texte BLANC (le bleu invest est plus profond que le cyan immo
   → l'encre foncée par défaut manquerait de contraste). */
.ih-btn--cyan,
.ih-btn--cyan:hover { color: #fff; }

/* Hero listing : 1 seul stat → 1 colonne (évite les 2 colonnes vides). */
.ih-listing-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .ih-listing-hero__stats { grid-template-columns: 1fr 1fr; } }

/* ── Hero invest-hub ── */
.invest-hero {
  background: linear-gradient(135deg, #0e8ba3 0%, #095e70 100%);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.invest-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.12), transparent 44%); /* v0.12.17 — voile resserré (demande user) : 60% noyait le dégradé de fond */
  pointer-events: none;
}
.invest-hero__inner {
  max-width: var(--ih-max-w);
  margin: 0 auto;
  padding: 0 var(--ih-side-pad);
  position: relative;
  z-index: 1;
}
.invest-hero__eyebrow {
  display: none; /* v0.11.73 — eyebrows retirés (parité immo) */
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 9999px;
  margin-bottom: 24px;
  font-weight: 500;
}
.invest-hero__title {
  font-family: var(--ih-font-serif);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  color: inherit;
  max-width: 880px;
}
.invest-hero__lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 0 36px;
  opacity: .95;
}
.invest-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--ih-ink);
  padding: 16px 28px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--ih-transition);
}
.invest-hero__cta:hover { transform: translateY(-2px); box-shadow: var(--ih-shadow-lg); }
.invest-hero__cta--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  margin-left: 12px;
}
.invest-hero__cta--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

/* Hero 2 colonnes : pitch à gauche + moteur de recherche à droite (comme immo) */
.invest-hero__inner--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start; /* v0.11.73 — top-align : sinon changer d'onglet (hauteurs de panneaux ≠) re-centre la colonne outil → le bloc « saute » à chaque clic */
}
.invest-hero__inner--split .invest-hero__title {
  font-size: clamp(32px, 3.4vw, 50px);
  margin-bottom: 20px;
}
.invest-hero__inner--split .invest-hero__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  margin-bottom: 28px;
}
.invest-hero__tool { width: 100%; min-width: 0; }

/* ── Hero : carte France 4 quarts (remplace le moteur de recherche) ──────────
   Brief Nicolas 2026-07-24 · carte sombre « comme immo » + quadrants cliquables. */
.invest-quarts {
  background: linear-gradient(180deg, #0d1b2a54 0%, #0a1622e0 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.6);
}
.invest-quarts__head { margin-bottom: 6px; }
.invest-quarts__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ih-cyan, #10b981);
}
.invest-quarts__title {
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}
.invest-quarts__mapwrap { position: relative; }
.invest-quarts__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  overflow: visible;
}
/* Régions : fill = accent du quart, fine bordure blanche (tracé « comme immo »). */
.invest-quart { cursor: pointer; outline: none; }
.invest-quart__region {
  fill: var(--quart-accent, #10b981);
  fill-opacity: 0.52;
  stroke: rgba(255,255,255,0.75);
  stroke-width: 0.8;
  stroke-linejoin: round;
  transition: fill-opacity 0.18s ease, filter 0.18s ease;
}
.invest-quart:hover .invest-quart__region,
.invest-quart:focus-visible .invest-quart__region {
  fill-opacity: 0.92;
  filter: brightness(1.12);
}
/* Focus clavier visible sur tout le quart. */
.invest-quart:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }
/* Survol d'un quart → estompe les autres pour focaliser. */
.invest-quarts__svg:hover .invest-quart:not(:hover) .invest-quart__region { fill-opacity: 0.22; }
/* Labels boussole. */
.invest-quarts__label {
  fill: #fff;
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(0,0,0,0.45);
  stroke-width: 3px;
  stroke-linejoin: round;
  pointer-events: none;
}
/* Tooltip flottant (nom du quart + régions). */
.invest-quarts__tooltip {
  position: absolute;
  transform: translate(-50%, -130%);
  background: rgba(6,14,22,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  padding: 7px 10px;
  max-width: 230px;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.7);
}
.invest-quarts__tooltip strong { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }
.invest-quarts__tooltip span { display: block; color: rgba(255,255,255,0.7); font-size: 11.5px; line-height: 1.4; }
.invest-quarts__hint {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}
/* Séparateur carte / moteur de recherche dans la colonne outil du hero. */
.invest-hero__tool-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: var(--ih-muted, #6b7280);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.invest-hero__tool-divider::before,
.invest-hero__tool-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ih-line, #e6e8ee);
}

/* ── Hero : bloc à onglets (carte territoire / recherche) ────────────────────── */
.invest-hero-tabs__bar {
  position: relative; /* v0.11.74 — au-dessus du panneau carte pour que toute la surface des onglets reste cliquable */
  z-index: 2;
  display: flex;
  gap: 5px;
  background: rgba(255,255,255,0.14);
  padding: 5px;
  border-radius: 13px;
  margin-bottom: 14px;
  backdrop-filter: blur(2px);
}
.invest-hero-tabs__tab {
  flex: 1;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  border-radius: 9px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.invest-hero-tabs__tab:hover { color: #fff; }
.invest-hero-tabs__tab.is-active {
  background: #fff;
  color: var(--ih-ink, #0d1b2a);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.4);
}
.invest-hero-tabs__pane[hidden] { display: none; }

/* Onglet « By sector » : phrase + select → business parks du secteur. */
.invest-sector {
  background: #fff;
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.35);
}
.invest-sector__lead {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ih-ink, #0d1b2a);
}
.invest-sector__field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ih-line, #e6e8ee);
  border-radius: 12px;
  padding: 0 12px;
  margin-bottom: 12px;
}
.invest-sector__select {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 13px 4px;
  font: inherit;
  font-size: 15px;
  color: var(--ih-ink, #0d1b2a);
  outline: none;
  cursor: pointer;
}
.invest-sector__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px;
  background: var(--ih-accent, #f59e0b);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.invest-sector__btn:hover { filter: brightness(1.06); }
.invest-sector__hint {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ih-muted, #6b7280);
}

/* ── Bandeau logos partenaires (remplace les chiffres-clés) ─────────────────── */
.invest-partners { padding: 34px 0; }
.invest-partners__headline {
  margin: 0 0 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ih-muted, #6b7280);
}
.invest-partners__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 44px;
}
.invest-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}
.invest-partners__logo {
  max-height: 46px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.invest-partners__logo:hover { filter: grayscale(0); opacity: 1; }
/* Placeholders de démonstration. */
.invest-partners__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border: 1px dashed var(--ih-line, #d7dbe3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ih-muted, #9aa2b1);
  background: rgba(0,0,0,0.015);
}
.invest-partners__admin-hint {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--ih-muted, #9aa2b1);
}
.invest-partners__admin-hint a { color: var(--ih-cyan, #10b981); }
/* Badge de confiance « 🇫🇷 In partnership with French regions & territories ». */
.invest-hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 0;
  padding: 9px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
}
.invest-hero__trust-flag { font-size: 16px; line-height: 1; }
@media (max-width: 980px) {
  .invest-hero__inner--split { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Section générique ── */
.invest-section {
  padding: 30px 0;
}
.invest-section--alt {
  background: var(--ih-cream);
}
.invest-section__inner {
  max-width: var(--ih-max-w);
  margin: 0 auto;
  padding: 0 var(--ih-side-pad);
}
.invest-section__eyebrow {
  display: none; /* v0.11.73 — eyebrows retirés (parité immo) */
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ih-cyan);
  font-weight: 600;
  margin-bottom: 12px;
}
.invest-section__title {
  font-family: var(--ih-font-serif);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 18px;
  color: var(--ih-ink);
  max-width: 880px;
}
.invest-section__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ih-ink-soft);
  max-width: 720px;
  margin: 0 0 48px;
}

/* ── Stats row ── */
.invest-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 48px 0;
}
.invest-stat {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: var(--ih-radius-lg);
}
.invest-stat__value {
  font-family: var(--ih-font-serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--ih-cyan);
  line-height: 1;
  margin: 0 0 8px;
}
.invest-stat__label {
  font-size: 14px;
  color: var(--ih-muted);
  margin: 0;
}

/* ── Service cards grid ── */
.invest-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.invest-service {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: var(--ih-radius-lg);
  transition: var(--ih-transition);
}
.invest-service:hover {
  border-color: var(--ih-cyan);
  transform: translateY(-4px);
  box-shadow: var(--ih-shadow);
}
.invest-service__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ih-cyan-tint);
  color: var(--ih-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.invest-service__title {
  font-family: var(--ih-font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ih-ink);
}
.invest-service__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ih-ink-soft);
  margin: 0;
}

/* ── Two-column why section ── */
.invest-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.invest-why__item {
  padding: 24px 0;
  border-top: 2px solid var(--ih-cyan);
}
.invest-why__num {
  font-family: var(--ih-font-mono);
  font-size: 13px;
  color: var(--ih-cyan);
  font-weight: 600;
  margin-bottom: 8px;
}
.invest-why__title {
  font-family: var(--ih-font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ih-ink);
}
.invest-why__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ih-ink-soft);
}

/* ── CTA strip ── */
.invest-cta-strip {
  background: var(--ih-ink);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.invest-cta-strip__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--ih-side-pad);
}
.invest-cta-strip__title {
  font-family: var(--ih-font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #fff;
}
.invest-cta-strip__lead {
  font-size: 17px;
  opacity: .85;
  margin: 0 0 28px;
}
.invest-cta-strip__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ih-cyan);
  color: #fff;
  padding: 16px 32px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--ih-transition);
}
.invest-cta-strip__btn:hover { background: var(--ih-cyan-600); transform: translateY(-2px); }

/* ── Content (article) ── */
.invest-content {
  max-width: var(--ih-content-w);
  margin: 0 auto;
  padding: 64px var(--ih-side-pad);
}
.invest-content h2 {
  font-family: var(--ih-font-serif);
  font-size: 32px;
  font-weight: 500;
  margin: 48px 0 16px;
  color: var(--ih-ink);
}
.invest-content h3 {
  font-family: var(--ih-font-serif);
  font-size: 22px;
  font-weight: 500;
  margin: 32px 0 12px;
  color: var(--ih-ink);
}
.invest-content p,
.invest-content ul,
.invest-content ol {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ih-ink-soft);
  margin: 0 0 18px;
}
.invest-content a {
  color: var(--ih-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.invest-content ul,
.invest-content ol { padding-left: 24px; }
.invest-content li { margin-bottom: 8px; }
.invest-content blockquote {
  border-left: 3px solid var(--ih-cyan);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--ih-ink);
}

/* ── Simple nav for invest-hub (menu natif WP : ul.invest-nav__list > li > a) ── */
.invest-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
.invest-nav__cta { margin-left: 8px; }
.invest-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.invest-nav__list > li { position: relative; }
.invest-nav__list > li > a,
.invest-nav__item {
  color: var(--ih-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: var(--ih-transition);
  position: relative;
  display: inline-block;
}
.invest-nav__list > li > a:hover,
.invest-nav__item:hover { color: var(--ih-cyan); }
.invest-nav__list > li.current-menu-item > a,
.invest-nav__list > li.current-menu-ancestor > a,
.invest-nav__item.is-active { color: var(--ih-cyan); }
.invest-nav__list > li.current-menu-item > a::after,
.invest-nav__list > li.current-menu-ancestor > a::after,
.invest-nav__item.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--ih-cyan);
}
.invest-nav__cta {
  background: var(--ih-accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--ih-transition);
  white-space: nowrap;
}
.invest-nav__cta:hover { background: var(--ih-accent-600); color: #fff; }

/* ── Sous-menu déroulant « Explore ▾ » (v0.11.40) ── */
.invest-nav__list > li.menu-item-has-children > a { display: inline-flex; align-items: center; }
.invest-nav__list > li.menu-item-has-children > a::before {
  content: ""; order: 2; width: 6px; height: 6px; margin-left: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px); transition: transform .2s;
}
.invest-nav__list > li.menu-item-has-children:hover > a::before,
.invest-nav__list > li.menu-item-has-children:focus-within > a::before { transform: rotate(225deg) translate(-2px, -1px); }
.invest-nav__list .sub-menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(6px); min-width: 216px; background: #fff;
  border: 1px solid var(--ih-line, #e6e8ee); border-radius: 12px;
  box-shadow: 0 18px 44px -12px rgba(10, 13, 18, .25);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 1000;
}
.invest-nav__list > li.menu-item-has-children > .sub-menu::before {
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; /* pont hover */
}
.invest-nav__list > li.menu-item-has-children:hover > .sub-menu,
.invest-nav__list > li.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.invest-nav__list .sub-menu a {
  display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500;
  color: var(--ih-ink); text-decoration: none; white-space: nowrap;
}
.invest-nav__list .sub-menu a:hover { background: var(--ih-cyan-tint, #ecf6fb); color: var(--ih-cyan); }

/* ── Menu mobile (hamburger + drawer) ── */
.invest-burger { display: none; }
/* Le bouton d'appel de la barre n'existe qu'en dessous du seuil du burger :
   au-dessus, la nav est dépliée et porte déjà le numéro écrit. */
.ih-header__phone--bar { display: none; }

@media (max-width: 860px) {
  /*
   * En-tête compact. Le parent déclare `padding: 18px` sur
   * `.ih-header__inner`, pensé pour le desktop où la barre porte le menu
   * complet. Dès que tout passe derrière le burger, il ne reste qu'un logo de
   * 29 px et un bouton de 44 px : les 36 px de marge verticale faisaient un
   * en-tête de 80 px quasiment vide, en haut de chaque écran de téléphone.
   *
   * ⚠️ On surcharge ICI et pas dans `hubs` : la règle est partagée avec immo,
   * qui est en production et n'a pas demandé ce changement.
   *
   * 8 px conservent la cible tactile de 44 px du burger, qui est le minimum
   * d'accessibilité et ne doit pas bouger : on ne rogne que le vide.
   */
  .ih-header__inner { padding-top: 8px; padding-bottom: 8px; }

  /*
   * Bouton d'appel dans la barre, à gauche du burger. Icône seule : le numéro
   * écrit reste dans le tiroir, la barre n'a pas la place et l'intention est
   * d'appeler, pas de lire un numéro.
   */
  .ih-header__phone--bar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto; /* pousse le duo vers la droite */
    border: 1px solid var(--ih-line, #e6e8ee); border-radius: 999px;
    color: var(--ih-ink, #0f1b2d); flex: none;
  }
  .ih-header__phone--bar svg { width: 18px; height: 18px; }
  /* Le burger perd son `margin-left:auto`, désormais porté par le bouton d'appel. */
  .ih-header__phone--bar + .invest-burger { margin-left: 4px; }

  .invest-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-left: auto; padding: 0;
    border: 0; background: none; cursor: pointer; position: relative; z-index: 1001;
  }
  .invest-burger span {
    display: block; width: 24px; height: 2px; border-radius: 2px;
    background: var(--ih-ink); transition: transform .2s ease, opacity .2s ease;
  }
  .invest-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .invest-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .invest-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .invest-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    width: min(84vw, 340px); flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 88px 24px 28px; background: #fff;
    box-shadow: -14px 0 44px -14px rgba(10, 13, 18, .35);
    transform: translateX(100%); transition: transform .25s ease; z-index: 1000; overflow-y: auto;
  }
  .invest-nav:not(.is-open) { box-shadow: none; } /* Fermé hors de l'écran, son ombre dépassait le long du bord droit. */
  .invest-nav.is-open { transform: translateX(0); }
  .invest-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .invest-nav__list > li { border-bottom: 1px solid var(--ih-line, #e6e8ee); }
  .invest-nav__list > li > a { display: block; padding: 15px 2px; font-size: 16px; }
  .invest-nav__list > li.current-menu-item > a::after { display: none; }
  /* Sous-menu Explore : liste indentée toujours ouverte dans le drawer */
  .invest-nav__list .sub-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: 0; border-radius: 0; padding: 0 0 12px 14px; min-width: 0;
  }
  .invest-nav__list > li.menu-item-has-children > a::before { display: none; }
  .invest-nav__list .sub-menu a { padding: 12px 2px; font-size: 15px; color: var(--ih-muted, #5a6472); }
  .invest-nav__cta { margin: 22px 0 0; text-align: center; justify-content: center; }
  body.invest-nav-open { overflow: hidden; }
  body.invest-nav-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(10, 13, 18, .45); z-index: 999;
  }
  /*
   * ⚠️ `.ih-header` (parent hubs) est en `position: sticky; z-index: 100` : il
   * crée donc un CONTEXTE D'EMPILEMENT. Le tiroir (1000) et le burger (1001)
   * vivent dedans, ils sont donc plafonnés à 100 vus de la racine, alors que
   * le voile ci-dessus est un `body::after`, lui à la racine, à 999.
   * 999 > 100 : le voile recouvrait le menu ET le burger, et le menu mobile
   * était inutilisable.
   *
   * On remonte le header AU-DESSUS du voile, et seulement pendant l'ouverture
   * pour ne rien changer au reste du temps. Le parent n'est pas modifié :
   * immo ne porte jamais la classe `invest-nav-open`.
   */
  body.invest-nav-open .ih-header { z-index: 1002; }
}

/* ── Home search engine (ISO immo, palette invest) ─────────────── */
.invest-search-band {
  background: linear-gradient(160deg, #0a2340 0%, #095e70 100%);
  padding: 60px 0;
}
.invest-search-band__inner {
  max-width: var(--ih-max-w);
  margin: 0 auto;
  padding: 0 var(--ih-side-pad);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.invest-search-band__intro { color: #fff; }
.invest-search-band__eyebrow {
  display: inline-block;
  font-family: var(--ih-font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fb2ff;
  margin-bottom: 12px;
}
.invest-search-band__title {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.invest-search-band__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 42ch;
}
.ih-search-panel--hero {
  background: #fff;
  box-shadow: 0 24px 70px -24px rgba(0, 0, 0, 0.45);
  border-radius: var(--ih-radius-lg);
  color: var(--ih-ink);                 /* évite l'héritage du blanc du hero */
}
/* Bouton « Search … » : rouge accent (CTA de conversion), texte blanc. */
.ih-search-panel--hero .ih-search-submit { background: var(--ih-accent); color: #fff; }
.ih-search-panel--hero .ih-search-submit:hover { background: var(--ih-accent-600); }

/* ── Bouton Calendly en surbrillance (sidebar fiche) — attire l'œil ── */
.inv-cta-highlight {
  background: var(--ih-accent) !important;   /* rouge « drapeau FR » — CTA de conversion */
  color: #fff !important;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
  animation: invCtaPulse 2.4s ease-out infinite;
}
.inv-cta-highlight:hover { background: var(--ih-accent-600) !important; animation: none; box-shadow: var(--ih-shadow-lg); }
@keyframes invCtaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
@media (prefers-reduced-motion: reduce) { .inv-cta-highlight { animation: none; } }
@media (max-width: 900px) {
  .invest-search-band__inner { grid-template-columns: 1fr; gap: 28px; }
  .invest-search-band__title { font-size: 27px; }
}

/* Footer : 3 colonnes de liens (« Services » retiré) → grille équilibrée en desktop. */
@media (min-width: 1025px) {
  .ih-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ── Footer : liens de colonne en blanc, seul le titre reste bleu ── */
.ih-footer__col-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ih-footer__col-list a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--ih-transition);
}
.ih-footer__col-list a:hover { color: #fff; }

/* ── Featured opportunities (home) ─────────────────────────────── */
.invest-featured__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.invest-featured__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ih-line, #e6e8ee);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.invest-featured__card:hover {
  box-shadow: 0 14px 32px -16px rgba(10, 13, 18, .24);
  transform: translateY(-2px);
}
.invest-featured__img {
  display: block;
  aspect-ratio: 16 / 10;
  background: #0a2340;
  overflow: hidden;
}
.invest-featured__img img { width: 100%; height: 100%; object-fit: cover; }
.invest-featured__body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.invest-featured__type {
  color: var(--ih-cyan, #0e8ba3);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.invest-featured__title { font-weight: 600; color: #12203a; line-height: 1.25; }
.invest-featured__loc { color: #8a90a2; font-size: .88rem; }
.invest-featured__price { margin-top: auto; padding-top: 6px; font-weight: 700; color: #12203a; }

/* ── Barre de filtres listing (autonome) ───────────────────────── */
.inv-filters {
  max-width: var(--ih-max-w);
  margin: 22px auto 22px;              /* marge au-dessus + en dessous, aligné aux autres blocs */
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inv-filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ih-line, #e6e8ee);
  border-radius: 14px;
  box-shadow: 0 8px 24px -18px rgba(10, 13, 18, .2);
}
.inv-seg { display: inline-flex; align-items: center; height: 40px; background: var(--ih-bg, #f6f7f9); border-radius: 10px; padding: 3px; }
.inv-seg__btn {
  display: inline-flex; align-items: center; height: 34px; padding: 0 15px;
  border-radius: 8px; text-decoration: none; font-weight: 600;
  font-size: 14px; color: var(--ih-muted, #60667a); transition: .15s;
}
.inv-seg__btn.is-active { background: var(--ih-cyan, #0e8ba3); color: #fff; }
.inv-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.inv-field > span { font-weight: 600; color: var(--ih-muted, #60667a); text-transform: uppercase; letter-spacing: .03em; }
.inv-field select,
.inv-field input[type="number"] {
  box-sizing: border-box; height: 40px; border: 1px solid var(--ih-line, #e6e8ee);
  border-radius: 9px; padding: 0 11px; font-size: 14px; background: #fff; color: var(--ih-ink, #12203a);
}
.inv-field select { min-width: 170px; }
.inv-range { display: inline-flex; align-items: center; gap: 6px; }
.inv-range input { width: 92px; }
.inv-range i { color: var(--ih-muted-2, #8a90a2); font-style: normal; }
.inv-filters__apply { margin-left: auto; height: 40px; display: inline-flex; align-items: center; background: var(--ih-accent) !important; }
.inv-filters__apply:hover { background: var(--ih-accent-600) !important; }

.inv-filters__reset { align-self: flex-end; height: 40px; display: inline-flex; align-items: center; color: var(--ih-muted, #60667a); text-decoration: underline; font-size: 14px; }
.inv-filters__types { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 2px; }
.inv-chip {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 7px 13px; border: 1px solid var(--ih-line, #e6e8ee); border-radius: 9999px;
  font-size: 13.5px; color: var(--ih-ink-soft, #2e3a55); background: #fff; transition: .15s;
}
.inv-chip:hover { border-color: var(--ih-cyan, #0e8ba3); }
.inv-chip.is-active { background: var(--ih-cyan, #0e8ba3); border-color: var(--ih-cyan, #0e8ba3); color: #fff; }
.inv-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.inv-chip__n { font-size: 11px; opacity: .7; }
.inv-chip.is-disabled { opacity: .38; pointer-events: none; }

/* ── Vue carte ─────────────────────────────────────────────────── */
.inv-view { display: inline-flex; background: var(--ih-bg, #f6f7f9); border-radius: 10px; padding: 3px; }
.inv-view__btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ih-muted, #60667a); }
.inv-view__btn.is-active { background: #fff; color: var(--ih-ink, #12203a); box-shadow: 0 1px 3px rgba(10, 13, 18, .1); }
/* Bouton « View on map » proéminent (navy plein) comme le « Voir sur la carte » d'immo. */
.inv-view__btn--map {
  background: var(--ih-ink) !important;
  color: #fff !important;
  padding: 0 18px;
  box-shadow: 0 2px 10px -2px rgba(15, 35, 64, .35);
}
.inv-view__btn--map:hover { background: var(--ih-ink-soft) !important; }
.inv-mapwrap { padding-bottom: 8px; }
/* Popups carte : padding intérieur du corps (image full-bleed conservée). */
#invest-map .ih-map-popup__body { padding: 6px 14px 14px; }
#invest-map .ih-map-popup__row { margin-top: 8px; }
#invest-map { height: 600px; border-radius: 16px; overflow: hidden; border: 1px solid var(--ih-line, #e6e8ee); z-index: 1; }
@media (max-width: 720px) { #invest-map { height: 72vh; } }

/* ── Pages éditoriales (About / Why / Services / Legal…) ───────── */
.invest-page__hero {
  background: linear-gradient(135deg, var(--ih-cyan) 0%, var(--ih-cyan-700) 100%);
  color: #fff;
  padding: 64px 0 56px;                     /* v0.11.34 — full-bleed : le side-pad passe sur __inner (align. header/sections/footer) */
}
.invest-page__hero-inner { max-width: var(--ih-max-w); margin: 0 auto; padding: 0 var(--ih-side-pad); }
.invest-page__eyebrow {
  color: rgba(255, 255, 255, .82); font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; font-size: .8rem; margin: 0 0 10px;
}
.invest-page__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0; max-width: 900px; }
.invest-page__lead { color: rgba(255, 255, 255, .9); font-size: 1.15rem; line-height: 1.6; margin: 16px 0 0; max-width: 720px; }

.invest-page__body { padding: 56px var(--ih-side-pad) 72px; background: #fff; }

/* v0.11.38 — Uniformise les hero-BLOCS (About / Contact / Services / Why…) sur le hero
   bleu invest, comme .invest-page__hero et l'archive /partners/. Override invest-only du
   bloc partagé hubs `.ih-block-hero` : force le dégradé bleu + textes blancs quelle que
   soit la variante choisie côté éditeur (light/cyan/dark). */
.ih-block-hero,
.ih-block-hero--light,
.ih-block-hero--cyan,
.ih-block-hero--dark {
  background: linear-gradient(135deg, var(--ih-cyan) 0%, var(--ih-cyan-700) 100%) !important;
  color: #fff;
}
.ih-block-hero__title { color: #fff; }
.ih-block-hero__desc { color: rgba(255, 255, 255, 0.9); }
.ih-block-hero__em { color: #fff; }               /* garde l'italique serif, blanc sur bleu */
.ih-block-hero__eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.ih-block-hero .ih-btn--ghost {                   /* lisibilité d'un éventuel CTA fantôme sur bleu */
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.invest-page__body-inner {
  max-width: 820px; margin: 0 auto;
  font-size: 1.06rem; line-height: 1.75; color: var(--ih-ink-soft, #26374f);
}
.invest-page__body-inner > :first-child { margin-top: 0; }
/* Typo « prose » du contenu d'une page.
   v0.12.28 — restreinte aux ENFANTS DIRECTS des conteneurs de prose. Avant,
   c'étaient des sélecteurs descendants : ils mordaient sur tout composant
   rendu dans le contenu (shortcode, bloc), et comme ils sont déclarés APRÈS
   les composants dans ce fichier, ils gagnaient même à spécificité égale.
   Quatre dégâts successifs : bouton cyan sur cyan, puces sur les listes de
   l'équipe, titres de cartes à 25,6 px, titre de la bande CTA en encre foncée
   sur fond foncé. Le combinateur `>` met les composants hors de portée une
   fois pour toutes, sans course à la spécificité.
   `:where()` garde la spécificité à celle du seul conteneur, pour qu'un
   composant puisse encore surcharger au besoin. */
:is(.invest-page__body-inner, .invest-pagesec__inner, .invest-whoweare__text) > :where(h2) { font-size: 1.6rem; line-height: 1.25; margin: 2em 0 .5em; color: var(--ih-ink); }
:is(.invest-page__body-inner, .invest-pagesec__inner, .invest-whoweare__text) > :where(h3) { font-size: 1.25rem; margin: 1.6em 0 .4em; color: var(--ih-ink); }
:is(.invest-page__body-inner, .invest-pagesec__inner, .invest-whoweare__text) > :where(p) { margin: 0 0 1.1em; }
:is(.invest-page__body-inner, .invest-pagesec__inner, .invest-whoweare__text) > :where(ul, ol) { margin: 0 0 1.2em; padding-left: 1.4em; }
:is(.invest-page__body-inner, .invest-pagesec__inner, .invest-whoweare__text) > :where(ul) { list-style: disc; }        /* reset global hubs = list-style:none → rétabli */
:is(.invest-page__body-inner, .invest-pagesec__inner, .invest-whoweare__text) > :where(ol) { list-style: decimal; }
:is(.invest-page__body-inner, .invest-pagesec__inner, .invest-whoweare__text) > :where(ul, ol) :where(li) { margin: .35em 0; }
:is(.invest-page__body-inner, .invest-pagesec__inner, .invest-whoweare__text) > :where(p, ul, ol, h2, h3, blockquote) :where(a) { color: var(--ih-cyan); text-decoration: underline; }
.invest-page__body-inner img { max-width: 100%; height: auto; border-radius: 12px; }
.invest-page__body-inner blockquote {
  border-left: 3px solid var(--ih-cyan); padding-left: 18px; margin: 1.6em 0;
  color: var(--ih-ink); font-style: italic;
}
.invest-page__body-inner hr { border: 0; border-top: 1px solid var(--ih-line, #e6e8ee); margin: 2.4em 0; }
@media (max-width: 720px) {
  /* Hero home plus compact sur mobile. */
  .invest-hero { padding: 52px 0 44px; }
  .invest-hero__title { font-size: clamp(30px, 8vw, 40px); }

  /* Barre de filtres : champs empilés en pleine largeur (simplifié). */
  .inv-filters__row { flex-direction: column; align-items: stretch; gap: 12px; }
  .inv-filters__row > .inv-field,
  .inv-filters__row > .inv-field--num,
  .inv-seg { width: 100%; }
  .inv-seg { display: flex; }
  .inv-seg__btn { flex: 1; text-align: center; }
  .inv-field select { min-width: 0; width: 100%; }
  .inv-range { width: 100%; }
  .inv-range input { flex: 1; min-width: 0; }
  .inv-filters__apply { margin-left: 0; width: 100%; justify-content: center; }
  .inv-filters__reset { align-self: center; }
  .inv-chip--check { align-self: stretch; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Home repositionnée — chantier 03 (v0.12.0, 2026-09-14)
   Le hero n'a plus d'outil à droite (carte / recherche / secteurs déplacés
   dans template-parts/home/_attic/hero-tabs.php) : il reprend toute la largeur
   et se termine par 3 preuves comptées, pas par des statistiques macro.
   ══════════════════════════════════════════════════════════════════════════ */
.invest-hero--pitch { padding: 104px 0 88px; }
.invest-hero--pitch .invest-hero__lead { max-width: 62ch; }

/* v0.12.3 — 2 colonnes : pitch à gauche, carte « what happens next » à droite.
   Grille propre au hero repositionné : `--split` (l'ancien hero à onglets)
   rétrécissait aussi le titre et vit toujours pour _attic/hero-tabs.php. */
.invest-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}
/* v0.12.73 — palier intermédiaire resserré (demande user) : le titre du hero
   tenait trop de place sur les largeurs courantes. Les bornes basse et haute
   ne bougent pas, seule la pente entre les deux. */
.invest-hero--pitch .invest-hero__title { font-size: clamp(34px, 3.4vw, 56px); }

/* Carte translucide : elle se pose sur le dégradé du hero sans l'écraser. */
.invest-hero__aside {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  padding: 26px 26px 22px;
  backdrop-filter: blur(3px);
}
.invest-next__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.invest-next__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.invest-next__item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 13px; align-items: start; }
.invest-next__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .16);
  font-family: var(--ih-font-mono, monospace);
  font-size: 12px;
  font-weight: 700;
}
.invest-next__label { font-size: 14.5px; line-height: 1.5; padding-top: 5px; }
.invest-next__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px;
  line-height: 1.5;
  opacity: .82;
}

@media (max-width: 980px) {
  /* La carte passe SOUS le pitch : en dessous de ~980 px, deux colonnes
     rendraient le titre illisible et la carte trop étroite. */
  .invest-hero__split { grid-template-columns: 1fr; gap: 34px; }
}

.invest-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
/* La marge gauche du bouton fantôme est portée par le flex gap ci-dessus :
   la conserver décalerait le bouton quand les deux passent à la ligne. */
.invest-hero__actions .invest-hero__cta--ghost { margin-left: 0; }

.invest-hero__proofs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  margin: 48px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255,255,255,.22);
}
.invest-hero__proof {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
/* v0.12.8 — picto + phrase, à la place des gros chiffres : « 21 » seul ne
   disait pas ce qu'il valait. */
.invest-hero__proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
}
.invest-hero__proof-icon svg { width: 22px; height: 22px; }
.invest-hero__proof-label {
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 500;
  opacity: .92;
  max-width: 22ch;
}

@media (max-width: 640px) {
  .invest-hero--pitch { padding: 68px 0 56px; }
  /* v0.12.76 — passe en grille : `flex-direction` n'a plus d'effet. */
  .invest-hero__proofs { gap: 18px 0; grid-template-columns: 1fr; margin-top: 36px; }
  .invest-hero__proof-label { max-width: none; }
  .invest-hero__actions .invest-hero__cta { width: 100%; justify-content: center; }
}

/* Bloc éditorial libre de la page d'accueil (rendu seulement si rempli). */
.invest-home-prose .ih-prose { max-width: 72ch; margin: 0 auto; }

/* ══════════════════════════════════════════════════════════════════════════
   Hero vidéo — v0.12.4 (inspiration location-decisions.com)
   Le dégradé teal du hero reste la base : la vidéo se pose PAR-DESSUS, sous un
   voile qui garantit le contraste du texte quelles que soient les images.
   ══════════════════════════════════════════════════════════════════════════ */
.invest-hero--video { position: relative; isolation: isolate; }

.invest-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;        /* sous .invest-hero__inner (z-index:1) */
  pointer-events: none;
}
.invest-hero__poster,
.invest-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Les images sont plus claires que le dégradé : on les assombrit et on les
     désature légèrement pour que le blanc du titre reste franc. */
  filter: saturate(.85) contrast(1.05);
}
/* La vidéo n'apparaît qu'une fois sa première image prête (classe posée en JS) :
   sinon on verrait un aplat noir pendant le chargement. */
.invest-hero__video { opacity: 0; transition: opacity .8s ease; }
.invest-hero__video.is-ready { opacity: 1; }

/* Voile : c'est LUI qui rend le texte lisible, pas la chance du cadrage.
   Plus dense à gauche, où se trouvent le titre et le chapô.

   v0.13.25 — OUVERT À DROITE (demande user : « garder la vidéo un peu plus
   lisible tout en gardant la lisibilité sur le texte, peut-être plus
   transparent à droite »). Le retrait de la colonne de droite a libéré cette
   moitié : plus rien n'y est écrit au-dessus de la ligne des arguments, le
   voile peut donc s'y effacer. On passe de .58 à .32 au bord droit, et on
   allège aussi la gauche de .93 à .88.

   ⚠️ LA BANDE BASSE RESTE DENSE. Les trois arguments, eux, courent jusqu'au
   bord droit : sans ce dernier dégradé, le troisième se poserait sur .32 de
   voile et deviendrait illisible dès que la vidéo passe sur une image claire.
   C'est le piège de « rendre la vidéo plus visible » : le texte qu'on oublie
   est toujours celui qui n'est pas au milieu de l'écran. */
.invest-hero__veil {
  position: absolute;
  inset: 0;
  background:
    /* bande basse : les 3 arguments vont jusqu'au bord droit */
    linear-gradient(0deg, rgba(4, 40, 50, .40) 0%, rgba(4, 40, 50, .18) 20%, transparent 30%),
    /* Bande haute : décolle le titre du bord. Ramenée de .30 à .14, c'est elle
       qui assombrissait le haut à DROITE, là où il n'y a rien à lire. Le titre,
       qui la traverse, est du grand texte : il se contente de 3:1 et garde de
       la marge, ce que la mesure confirme. */
    linear-gradient(180deg, rgba(4, 40, 50, .14) 0%, transparent 30%),
    /* Dégradé principal, à 90deg : la densité ne dépend plus que de X.
       ⚠️ L'ANGLE COMPTE AUTANT QUE LES STOPS. À 100deg, la ligne de dégradé
       est inclinée : le coin HAUT-DROIT se situe tôt sur cette ligne, donc
       encore dans la zone dense. Une version précédente ouvrait bien le bas
       droit, mesures à l'appui, sans rien changer là où l'œil regarde. À
       90deg, « à droite » veut enfin dire à droite.
       ⚠️ ET LES STOPS SONT MESURÉS, PAS ESTIMÉS : le chapô est le point
       contraignant, pas le titre, qui est du grand texte et se contente de 3:1. */
    linear-gradient(90deg, rgba(9, 94, 112, .90) 0%, rgba(9, 94, 112, .82) 42%, rgba(9, 94, 112, .66) 64%, rgba(14, 139, 163, .24) 100%);
}

/* Ombre portée sur le titre et le chapô.
   Le fond est une vidéo : il change en permanence, et aucun réglage de voile
   ne garantit un contraste constant sur toutes les images. L'ombre, elle,
   suit le texte. Elle est assez sombre pour tenir sur une image claire, assez
   diffuse pour rester invisible sur le dégradé. C'est ce qui permet d'ouvrir
   le voile sans rendre le texte dépendant du cadrage. */
.invest-hero--video .invest-hero__title,
.invest-hero--video .invest-hero__lead {
  text-shadow: 0 1px 2px rgba(4, 40, 50, .40), 0 2px 14px rgba(4, 40, 50, .30);
}

@media (prefers-reduced-motion: reduce) {
  .invest-hero__video { display: none; } /* le poster suffit */
}
@media (max-width: 899px) {
  /* La vidéo n'est même pas chargée à cette largeur (cf. hero-video.php) ;
     on masque l'élément pour éviter tout poster dupliqué. */
  .invest-hero__video { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA de CONVERSION en ambre — v0.12.5
   « Start a project » et « Contact » adoptent l'ambre du bouton d'en-tête ;
   les liens de section (voir les secteurs, lire les actus…) restent en teal.
   Une seule couleur veut dire « c'est ici qu'on passe à l'action ».

   ⚠️ Ciblés par leur DESTINATION, pas par leur classe : six gabarits posent
   déjà ces boutons (front-page, markets-hub, markets-source, sectors-sector,
   single-partenaire, territories-region) sous trois classes différentes, et
   une nouvelle page en poserait un septième. Le href, lui, ne change pas.
   ══════════════════════════════════════════════════════════════════════════ */
.invest-hero__cta[href*="/start-a-project/"],
.invest-hero__cta[href*="/contact/"],
.invest-cta-strip__btn,
.ih-btn[href*="/start-a-project/"],
.ih-btn[href*="/contact/"] {
  background: var(--ih-accent) !important;
  border-color: var(--ih-accent) !important;
  /* Texte FONCÉ : l'ambre est clair, le blanc échouerait en contraste
     (même raison que la règle d'en-tête en haut de ce fichier). */
  color: var(--ih-ink) !important;
}
.invest-hero__cta[href*="/start-a-project/"]:hover,
.invest-hero__cta[href*="/contact/"]:hover,
.invest-cta-strip__btn:hover,
.ih-btn[href*="/start-a-project/"]:hover,
.ih-btn[href*="/contact/"]:hover {
  background: var(--ih-accent-600) !important;
  border-color: var(--ih-accent-600) !important;
  color: var(--ih-ink) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Popup « carte des régions » — v0.12.9
   La carte de sélection revient à un clic depuis le hero, sans réoccuper le
   premier écran (ce que le brief reprochait à l'ancien hero à onglets).
   ══════════════════════════════════════════════════════════════════════════ */

/* Le déclencheur, dans la carte « what happens next » du hero. */
.invest-next__map {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: text-decoration-color .18s, gap .18s;
}
.invest-next__map:hover { text-decoration-color: #fff; gap: 12px; }
.invest-next__map svg { flex: 0 0 auto; opacity: .85; }

.invest-mapmodal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.invest-mapmodal[hidden] { display: none; }
.invest-mapmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 26, 33, .62);
  backdrop-filter: blur(2px);
}
/* ⚠️ Panneau SOMBRE : la carte (hero-europe-map) a été dessinée pour le
   panneau foncé du hero. Sur fond blanc ses tracés deviennent illisibles.
   On lui rend son contexte plutôt que de retoucher ses styles. */
.invest-mapmodal__panel {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0f2733 0%, #0a1b24 100%);
  border-radius: 16px;
  box-shadow: 0 34px 80px -28px rgba(4, 30, 38, .6);
  overflow: hidden;
}
.invest-mapmodal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.invest-mapmodal__title {
  margin: 0;
  font-family: var(--ih-font-serif);
  font-size: 21px;
  font-weight: 500;
  color: #fff;
}
.invest-mapmodal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 9999px;
  background: none;
  color: rgba(255, 255, 255, .85);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.invest-mapmodal__close:hover { background: rgba(255, 255, 255, .14); color: #fff; }
/* La carte est haute : on laisse le corps défiler plutôt que déborder l'écran. */
.invest-mapmodal__body { padding: 18px 20px 22px; overflow-y: auto; }

@media (max-width: 640px) {
  .invest-mapmodal { padding: 10px; align-items: flex-start; }
  .invest-mapmodal__panel { max-height: 94vh; border-radius: 12px; }
  .invest-mapmodal__body { padding: 14px; }
}

/* La carte est plafonnée à 340 px de large : taille prévue pour la colonne
   étroite du hero. Dans la popup elle a la place, on relâche le plafond ICI
   seulement, sans toucher au composant (réutilisable ailleurs tel quel). */
.invest-mapmodal .invest-emap__mapwrap { max-width: 640px; }
.invest-mapmodal .invest-emap__svg { max-height: 66vh; }
@media (max-width: 700px) {
  .invest-mapmodal .invest-emap__mapwrap { max-width: 100%; }
  .invest-mapmodal .invest-emap__svg { max-height: 58vh; }
}


/* ═══════════════════════════════════════════════════════════════
   Section « Équipe » (v0.12.14, revue v0.12.17) — home + /how-it-works/
   Tout est ferré à gauche comme les autres sections (demande user) ;
   seul le bouton de fin est centré, comme partout ailleurs.
   Portraits carrés arrondis, jamais ronds : le « H » de marque que
   chacun tient est au bord du cadrage, un masque circulaire le
   rognerait. Cf. template-parts/home/team.php.
   ═══════════════════════════════════════════════════════════════ */
.invest-team__lead { margin-bottom: 18px; }
.invest-team__langs {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.invest-team__lang {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0b5f70;
  background: #fff;
  border: 1px solid #cfe4e9;
  border-radius: 999px;
  padding: 5px 13px;
}

/* Retour du formulaire, affiché à l'ancre #team après redirection. */
.invest-team__flash {
  margin: 20px 0 0;
  padding: 11px 15px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
}
.invest-team__flash--ok { background: #e6f6f0; border: 1px solid #a9ddc8; color: #0b5c3f; }
.invest-team__flash--ko { background: #fdecec; border: 1px solid #f3c2c2; color: #8f2020; }

.invest-team__grid {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.invest-team__card { min-width: 0; }

/* La carte entière est le bouton : on neutralise le style natif. */
.invest-team__inner {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
}
.invest-team__inner--action { cursor: pointer; }

.invest-team__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  background: #e8edf1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.invest-team__photo--empty { border: 1px dashed #c3cede; }
.invest-team__inner--action:hover .invest-team__photo,
.invest-team__inner--action:focus-visible .invest-team__photo {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -14px rgba(12, 35, 58, 0.45);
}
.invest-team__inner--action:focus-visible {
  outline: 2px solid var(--ih-cyan, #0e8ba3);
  outline-offset: 4px;
  border-radius: 18px;
}

.invest-team__name {
  display: block;
  margin-top: 14px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ih-ink, #0c233a);
}
.invest-team__role {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #60708a;
}
/* L'invitation à écrire n'apparaît qu'au survol sur grand écran : sur mobile
   il n'y a pas de survol, elle reste donc visible en permanence. */
.invest-team__write {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ih-cyan-700, #0b5f70);
}
@media (hover: hover) {
  .invest-team__write { opacity: 0; transition: opacity 0.2s ease; }
  .invest-team__inner--action:hover .invest-team__write,
  .invest-team__inner--action:focus-visible .invest-team__write { opacity: 1; }
}

/* Sous 900px on passe à 2 colonnes : 4 portraits côte à côte deviennent
   des vignettes, et on perd justement le visage qu'on venait montrer. */
@media (max-width: 900px) {
  .invest-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 420px) {
  .invest-team__grid { gap: 16px; }
  .invest-team__name { font-size: 14.5px; }
  .invest-team__role { font-size: 12.5px; }
}

/* ── Popup « écrire à un consultant » ─────────────────────────── */
.invest-teammodal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.invest-teammodal[hidden] { display: none; }
.invest-teammodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 36, 0.62);
  backdrop-filter: blur(2px);
}
.invest-teammodal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  padding: 26px 28px 30px;
  box-shadow: 0 30px 70px -20px rgba(8, 24, 36, 0.55);
}
.invest-teammodal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.invest-teammodal__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ih-ink, #0c233a);
}
.invest-teammodal__close {
  flex: 0 0 auto;
  background: none;
  border: 0;
  padding: 4px;
  cursor: pointer;
  color: #6b7a90;
  border-radius: 8px;
}
.invest-teammodal__close:hover { color: var(--ih-ink, #0c233a); background: #eef2f6; }

.invest-teamform__intro {
  margin: 10px 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #55637a;
}
/* Pot de miel : hors écran plutôt que display:none, que certains robots
   savent détecter. */
.invest-teamform__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.invest-teamform__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.invest-teamform__field { display: block; margin-bottom: 14px; }
.invest-teamform__field > span {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #3c4a5f;
}
.invest-teamform__field input,
.invest-teamform__field textarea {
  width: 100%;
  font: inherit;
  font-size: 14.5px;
  color: var(--ih-ink, #0c233a);
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #fff;
}
.invest-teamform__field textarea { resize: vertical; min-height: 96px; }
.invest-teamform__field input:focus,
.invest-teamform__field textarea:focus {
  outline: none;
  border-color: var(--ih-cyan, #0e8ba3);
  box-shadow: 0 0 0 3px rgba(14, 139, 163, 0.16);
}
.invest-teamform__rgpd {
  margin: 4px 0 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7a90;
}
.invest-teamform__rgpd a { color: var(--ih-cyan-700, #0b5f70); }
.invest-teamform__submit { width: 100%; justify-content: center; }

@media (max-width: 560px) {
  .invest-teammodal__panel { padding: 20px 18px 24px; }
  .invest-teamform__row { grid-template-columns: 1fr; gap: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   Composants du thème injectés DANS le contenu d'une page (v0.12.19)
   ═══════════════════════════════════════════════════════════════
   Les règles de typo « prose » ci-dessus sont des sélecteurs
   descendants : elles s'appliquaient donc aussi aux composants rendus
   par shortcode À L'INTÉRIEUR du contenu. Dégâts constatés sur
   /how-it-works/ : texte de bouton cyan sur fond cyan (invisible),
   puces sur les listes, titres de cartes à 25,6 px au lieu de 17.

   Correctif de fond : les règles de prose sont passées en `:where()`,
   qui ne compte pas dans la spécificité. Un composant qui pose sa
   propre classe l'emporte donc naturellement, sans surenchère.
   Restent ici les deux cas que `:where()` ne règle pas, parce que le
   composant est stylé dans le thème PARENT, chargé AVANT celui-ci :
   les boutons. */
.invest-page__body-inner .invest-embed .ih-btn { text-decoration: none; }
.invest-page__body-inner .invest-embed .ih-btn--cyan { color: #fff; }
.invest-page__body-inner .invest-embed .ih-btn--outline { color: var(--ih-ink, #0c233a); }

/* ── Étapes du processus ──────────────────────────────────────
   Étaient en <style> dans template-parts/home/process.php, donc
   chargées uniquement sur la home. La page /how-it-works/ rend
   désormais les mêmes cartes : le style doit être commun. */
.invest-process__list {
  list-style: none;
  margin: 38px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.invest-process__step {
  position: relative;
  padding: 26px 24px 24px;
  background: #f5f8f9;
  border: 1px solid var(--ih-line, #e6e8ee);
  border-radius: 14px;
}
.invest-process__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background: #e0f2f5;
  color: #0b7488;
  margin-bottom: 16px;
}
.invest-process__icon svg { width: 26px; height: 26px; }
.invest-process__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--ih-ink, #12203a);
}
.invest-process__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: #48566f;
  margin: 0;
}
@media (max-width: 900px) {
  .invest-process__list { grid-template-columns: 1fr; gap: 16px; }
}
/* ── Pages qui contiennent des composants larges (v0.12.21) ───
   Sur la home, le texte est bridé en largeur mais ferré au bord
   GAUCHE de la section, pas centré. Dans une page, la colonne de
   lecture de 820 px était centrée : dès qu'un composant large
   arrivait à côté, les deux n'avaient plus le même bord et deux
   titres de même rang (« Who we are », « Geolink in numbers »)
   se retrouvaient décalés de 120 px.

   La classe `invest-page--wide` est posée par le thème UNIQUEMENT
   sur les pages qui embarquent un composant large : les pages de
   texte pur (mentions légales, confidentialité…) gardent leur
   colonne centrée, qui leur va bien. Cf. inc/home.php. */
.invest-page--wide .invest-page__body-inner { max-width: 1240px; }
.invest-page--wide .invest-page__body-inner > :where(p, h1, h2, h3, h4, ul, ol, blockquote, figure):not(.invest-embed, .alignwide) {
  max-width: 820px;
}
/* La section équipe porte son propre fond : dans une page, elle occupe
   toute la largeur du conteneur, gouttière comprise. */
.invest-page__body-inner .invest-embed .invest-section__inner { max-width: none; }

/* ═══════════════════════════════════════════════════════════════
   Sections de page pleine largeur, alternées (v0.12.24)
   ═══════════════════════════════════════════════════════════════
   La page était un ruban blanc, et chaque bloc posait sa propre
   gouttière : les titres des `ih-block` étaient décalés de 32 px
   par rapport à la prose. Désormais c'est la SECTION qui porte la
   gouttière et le fond. Tout s'aligne sur une seule verticale et
   l'alternance blanc/crème de la home revient.
   Découpage fait en PHP, cf. inc/home.php. */
.invest-page--sections .invest-page__body { padding-left: 0; padding-right: 0; }
/* `100vw` compte la barre de défilement : sans ce `clip`, les sections
   débordent de sa largeur vers la droite. Posé ICI et surtout pas sur
   body/html, où un overflow casse `position: sticky` (cf. mémoire projet).
   `clip` ne rogne pas les descendants en `position: fixed`, la popup de
   contact des consultants reste donc plein écran. */
.invest-page--sections .invest-page__body { overflow-x: clip; }
.invest-page--sections .invest-page__body-inner { max-width: none; }

.invest-pagesec {
  margin-inline: calc(50% - 50vw);
  padding-block: 56px;
}
.invest-pagesec--alt { background: var(--ih-cream, #faf6f1); }
.invest-pagesec--plain { padding-block: 24px 56px; }
/* Mêmes largeur et gouttière que `.invest-section__inner` de la home et que
   `.ih-header__inner` : le contenu des sections tombe donc exactement sous le
   titre du hero (mesuré x=52 à 1440px). 1240 px laissait 48 px d'écart. */
.invest-pagesec__inner { max-width: var(--ih-max-w); margin: 0 auto; padding: 0 var(--ih-side-pad); }
/* Le texte reste à une largeur de lecture, ferré à gauche comme sur la home. */
.invest-pagesec__inner > :where(p, h1, h2, h3, h4, ul, ol, blockquote):not(.invest-embed) {
  max-width: 820px;
}
.invest-pagesec__inner > :first-child { margin-top: 0; }
.invest-pagesec__inner > :last-child { margin-bottom: 0; }
/* Les composants ne portent plus ni gouttière ni fond : la section s'en charge. */
.invest-pagesec .ih-block { padding-left: 0; padding-right: 0; margin: 0 auto; max-width: none; }
.invest-pagesec .invest-section { padding: 0; }
.invest-pagesec .invest-section--alt { background: transparent; }
.invest-pagesec .invest-section__inner { max-width: none; padding-left: 0; padding-right: 0; }

/* ── « Who we are » : texte à gauche, image à droite ──────────── */
.invest-whoweare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}
.invest-whoweare__text > :first-child { margin-top: 0; }
.invest-whoweare__text > :last-child { margin-bottom: 0; }
.invest-whoweare__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 50px -24px rgba(12, 35, 58, 0.45);
}
@media (max-width: 860px) {
  /* L'image passe SOUS le texte : à cette largeur, deux colonnes donnent
     une image trop petite pour qu'on y distingue quoi que ce soit. */
  .invest-whoweare { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .invest-pagesec { padding-block: 40px; }
}

/* ── « Geolink in numbers » à l'intérieur de « Who we are » ────
   v0.12.26 : les chiffres passent dans la colonne de texte, sous le
   paragraphe. Quatre colonnes n'y tiennent pas (≈130 px chacune), on
   repasse donc en 2 × 2, où les valeurs restent lisibles. */
.invest-whoweare__text .ih-block { margin-top: 30px; }
.invest-whoweare__text .ih-block-stats__title { font-size: 20px; margin-bottom: 14px; }
.invest-whoweare__text .ih-block-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.invest-whoweare__text .ih-block-stats__value { font-size: 30px; }
@media (max-width: 420px) {
  .invest-whoweare__text .ih-block-stats__grid { grid-template-columns: 1fr; }
}

/* La bande de conversion posée dans une page : elle porte son propre fond
   sombre, la section ne doit donc pas lui ajouter de gouttière. v0.12.27 */
/* v0.13.5 — LA BANDE FINALE REPREND LE RENDU DE LA HOME : pleine largeur
   (demande user). Elle etait traitee en carte arrondie de 1336 px posee sur
   une bande creme, soit deux fonds empiles pour une seule intention.
   La section qui la porte est deja pleine largeur : il suffit de neutraliser
   la gouttiere de son conteneur interne et de rendre ses bords droits. */
.invest-pagesec .invest-cta-strip { padding: 64px var(--ih-side-pad, 24px); border-radius: 0; }
.invest-pagesec .invest-cta-strip__inner { max-width: 720px; margin: 0 auto; }
.invest-pagesec--plain:has(.invest-cta-strip) > .invest-pagesec__inner { max-width: none; padding: 0; }

/* Titres de section de la page : une seule taille (v0.12.30).
   On en comptait quatre pour un même rang : 25,6 px pour la prose, 28 px pour
   les blocs, 48 px pour le composant équipe qui porte la taille de la home.
   On s'aligne sur les blocs, les plus nombreux et non modifiables d'ici. */
.invest-pagesec__inner > :where(h2),
.invest-whoweare__text > :where(h2),
.invest-pagesec .invest-section__title {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

/* ═══════════════════════════════════════════════════════════════
   /partner-territories/ — hero bleu comme les autres pages (v0.12.31)
   ═══════════════════════════════════════════════════════════════
   Le gabarit portait déjà `invest-page__hero`, mais `.ih-partner-archive-hero`
   (héritée d'immo) repeignait le fond en clair et les textes en encre foncée.
   On neutralise, le bleu du thème reprend la main. */
.ih-partner-archive-hero {
  /* On REPOSE le dégradé au lieu d'un `background: none` : les deux règles ont
     la même spécificité, c'est l'ordre de chargement qui tranche, et `none`
     effaçait donc le bleu au lieu de le laisser réapparaître. */
  background: linear-gradient(135deg, var(--ih-cyan) 0%, var(--ih-cyan-700) 100%);
  border-bottom: 0;
}
.ih-partner-archive-hero::before { display: none; }
.ih-partner-archive-hero__title { color: #fff; }
.ih-partner-archive-hero__desc { color: rgba(255, 255, 255, 0.86); }

/* ── Barre de filtres : même gouttière que le reste (v0.12.31) ──
   `.ih-filters` posait 32 px de padding et `.ih-filters__top` un
   `max-width` SANS padding : le contenu démarrait donc à 32 px quand
   tout le reste de la page démarre à 52 px. Le décalage existait
   aussi sur /listings/, c'est la même règle partagée. */

/* ── Slider des logos partenaires (v0.12.38) ──────────────────
   Était en <style> dans partners-band.php, donc chargé uniquement sur
   la home. Le composant sert aussi /partner-territories/. */
.invest-pslider {
  overflow: hidden;
  margin-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.invest-pslider__track {
  display: flex;
  align-items: center;
  gap: 68px;
  width: max-content;
  animation-name: invest-marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.invest-pslider:hover .invest-pslider__track,
.invest-pslider:focus-within .invest-pslider__track { animation-play-state: paused; }
.invest-pslider__item { flex: 0 0 auto; display: inline-flex; align-items: center; }
.invest-pslider__item img {
  max-height: 76px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s;
}
.invest-pslider__item:hover img,
.invest-pslider__item:focus-visible img { transform: scale(1.06); }
@keyframes invest-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .invest-pslider__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 34px 44px; }
}
@media (max-width: 640px) {
  .invest-pslider__item img { max-height: 56px; max-width: 140px; }
  .invest-pslider__track { gap: 40px; }
}

/* ═══════════════════════════════════════════════════════════════
   /sectors/ — hub des secteurs (v0.12.47)
   ═══════════════════════════════════════════════════════════════
   17 cartes identiques ne disaient rien : on sépare les secteurs les mieux
   dotés du reste, et on rend les pictos au travail. */
.invest-sechub__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.invest-sechub__intro { margin: 0; font-size: 15px; color: #48566f; }
.invest-sechub__intro strong { color: var(--ih-ink, #12203a); font-weight: 700; }
.invest-sechub__input {
  min-width: 280px;
  font: inherit;
  font-size: 14.5px;
  padding: 10px 16px;
  border: 1px solid var(--ih-line, #e6e8ee);
  border-radius: 999px;
  background: #fff;
  color: var(--ih-ink);
}
.invest-sechub__input:focus {
  outline: none;
  border-color: var(--ih-cyan);
  box-shadow: 0 0 0 3px rgba(14, 139, 163, 0.14);
}

/* ── Secteurs en vedette ─────────────────────────────────────── */
.invest-sechub__lead {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.invest-sechub__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--ih-line, #e4e8f0);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.invest-sechub__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(18, 35, 58, 0.12);
  border-color: var(--ih-cyan);
}
.invest-sechub__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e0f2f5;
  color: #0b7488;
  margin-bottom: 16px;
}
.invest-sechub__icon svg { width: 24px; height: 24px; }
.invest-sechub__name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ih-ink, #111a2e);
}
.invest-sechub__count {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ih-cyan-700, #0b5f70);
}
.invest-sechub__top {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #60708a;
}
.invest-sechub__top strong { color: #3c4a5f; font-weight: 600; }
.invest-sechub__go {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ih-cyan-700, #0b5f70);
}

/* ── Le reste, en pastilles ──────────────────────────────────── */
.invest-sechub__more {
  margin: 38px 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8894a8;
}
.invest-sechub__rest {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.invest-sechub__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px 9px 11px;
  border: 1px solid var(--ih-line, #e4e8f0);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.invest-sechub__chip:hover { border-color: var(--ih-cyan); background: #f4fbfc; }
.invest-sechub__chipicon {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef4f6;
  color: #0b7488;
}
.invest-sechub__chipicon svg { width: 15px; height: 15px; }
.invest-sechub__chipname { font-size: 14px; font-weight: 600; color: var(--ih-ink, #111a2e); }
.invest-sechub__chipcount {
  font-size: 12px;
  font-weight: 600;
  color: #8894a8;
  font-variant-numeric: tabular-nums;
}
.invest-sechub__empty {
  margin: 28px 0 0;
  font-size: 15px;
  color: #60708a;
}

@media (max-width: 1040px) {
  .invest-sechub__lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .invest-sechub__lead { grid-template-columns: 1fr; }
  .invest-sechub__input { min-width: 0; width: 100%; }
}

/* ── Cartes secteur illustrées (v0.12.48) ─────────────────────
   La page était blanche sur blanche. La photo vient d'une annonce réelle du
   secteur (cf. invest_sector_image) : rien à produire, et elle se met à jour
   seule. Sans photo, la carte retombe sur le rendu plat précédent. */
.invest-sechub__card--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  min-height: 300px;
  background: #0f2733;
}
.invest-sechub__media {
  position: absolute;
  inset: 0;
}
.invest-sechub__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.invest-sechub__card--photo:hover .invest-sechub__photo { transform: scale(1.05); }
/* Voile : sans lui, le texte blanc devient illisible dès que la photo est
   claire, et les photos d'annonces sont imprévisibles. */
.invest-sechub__card--photo .invest-sechub__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 27, 36, 0.15) 0%, rgba(10, 27, 36, 0.55) 45%, rgba(10, 27, 36, 0.92) 100%);
}
.invest-sechub__card--photo .invest-sechub__body {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  justify-content: flex-end;
}
.invest-sechub__card--photo .invest-sechub__icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  margin-bottom: 14px;
  align-self: flex-start;
}
.invest-sechub__card--photo .invest-sechub__name { color: #fff; }
.invest-sechub__card--photo .invest-sechub__count { color: #8fd6e4; }
.invest-sechub__card--photo .invest-sechub__top { color: rgba(255, 255, 255, 0.78); }
.invest-sechub__card--photo .invest-sechub__top strong { color: #fff; }
.invest-sechub__card--photo .invest-sechub__go { color: #fff; margin-top: 14px; padding-top: 0; }
.invest-sechub__card--photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(12, 35, 58, 0.28);
}
/* Carte sans photo : la structure interne reste la même. */
.invest-sechub__card:not(.invest-sechub__card--photo) .invest-sechub__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ── Rappel « un spécialiste par filière » ────────────────────── */
.invest-secteam__title {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ih-ink, #12203a);
}
.invest-secteam__lead {
  margin: 0 0 26px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
  color: #48566f;
}
.invest-secteam__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.invest-secteam__item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.invest-secteam__photo {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: cover;
  background: #e8edf1;
}
.invest-secteam__who { min-width: 0; }
.invest-secteam__name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ih-ink, #12203a);
}
.invest-secteam__role {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: #60708a;
}
.invest-secteam__langs {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.invest-secteam__lang {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0b5f70;
  background: #fff;
  border: 1px solid #cfe4e9;
  border-radius: 999px;
  padding: 5px 13px;
}
@media (max-width: 900px) {
  .invest-secteam__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .invest-secteam__list { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   Carte Europe — habillage CLAIR, partagé (v0.12.50)
   ═══════════════════════════════════════════════════════════════
   Le composant `hero-europe-map` est dessiné pour un fond SOMBRE (il vient du
   hero). Deux contextes l'affichent sur clair : la section de
   /partner-territories/ et la popup de la home. Les couleurs étaient dupliquées
   dans partner.css, en QUATRE couches successives qui s'annulaient les unes les
   autres ; tout est consolidé ici, en un seul bloc pour les deux endroits, pour
   qu'ils ne repartent pas chacun de leur côté à la prochaine retouche.

   Spécificité (0,2,0) : elle passe devant le <style> inline du composant, qui
   est en (0,1,0) et serait sinon gagnant par l'ordre du document. */
.invest-ptintro__map .invest-emap__head,
.invest-mapmodal .invest-emap__head { display: none; }

.invest-ptintro__map .invest-emap__mapwrap,
.invest-mapmodal .invest-emap__mapwrap {
  /* ⚠️ Clipping obligatoire : le SVG est en `overflow: visible` pour laisser
     déborder les pays voisins, que le hero rognait. Sans cela le tracé se peint
     par-dessus la page, jusque dans le pied de page. */
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
/* ⚠️ v0.12.99 — LA CARTE ETAIT ROGNEE. `max-height` sur le SVG reduisait sa
   boite mais pas son trace, qui reste en `overflow: visible` : le bas de
   l Espagne passait sous le clipping du conteneur. Il faut contraindre le
   CONTENEUR en lui donnant le rapport du viewBox (720 x 796), pour que la
   carte se reduise entiere au lieu d etre coupee. */
.invest-ptintro__map .invest-emap__mapwrap {
  aspect-ratio: 720 / 796;
  /* 550 px de haut au rapport 720/796 = 497 px de large. Largeur POSEE, pas
     en pourcentage : la cellule de grille se dimensionne sur son contenu, donc
     un `width: 100%` se resolvait en boucle et retombait sur la largeur
     intrinseque de 300 px. `max-width: 100%` laisse la carte retrecir dans
     une colonne plus etroite. */
  width: 497px;
  max-width: 100%;
  margin-inline: auto;
}
.invest-ptintro__map .invest-emap__svg { max-height: none; width: 100%; height: 100%; }
.invest-mapmodal .invest-emap__svg { max-height: 620px; }

.invest-ptintro__map .invest-emap__nb,
.invest-mapmodal .invest-emap__nb { fill: #f1ebe3; stroke: #e5dcd1; }

.invest-ptintro__map .invest-emap__region.is-muted,
.invest-mapmodal .invest-emap__region.is-muted { fill: #ece5db; stroke: #ded4c8; }

.invest-ptintro__map .invest-emap__region.is-live path,
.invest-mapmodal .invest-emap__region.is-live path {
  fill: #7bafc2;
  stroke: #faf6f1;
  stroke-width: 1.4;
}
.invest-ptintro__map .invest-emap__region.is-live:hover path,
.invest-ptintro__map .invest-emap__region.is-live:focus-visible path,
.invest-mapmodal .invest-emap__region.is-live:hover path,
.invest-mapmodal .invest-emap__region.is-live:focus-visible path {
  fill: #f59e0b;
  stroke: #faf6f1;
}

.invest-ptintro__map .invest-emap__geo,
.invest-mapmodal .invest-emap__geo { fill: rgba(60, 48, 36, .30); }

.invest-ptintro__map .invest-emap__hint,
.invest-mapmodal .invest-emap__hint { color: #6b6055; }

/* Le panneau de la carte sur /partner-territories/ : à même le crème. */
.invest-ptintro__map {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}

/* ── Popup de la home : panneau clair (v0.12.50) ──────────────
   Elle était sombre parce que la carte l'était ; la carte étant passée en
   clair, le panneau suit, sans quoi on garderait deux cartes de codes couleur
   opposés à deux clics d'intervalle. */
.invest-mapmodal__panel {
  background: #faf6f1;
}
.invest-mapmodal__title { color: var(--ih-ink, #12203a); }
.invest-mapmodal__close { color: #6b6055; }
.invest-mapmodal__close:hover { background: #ece5db; color: var(--ih-ink, #12203a); }

/* Section « spécialistes » en deux colonnes (v0.12.51, demande user) ─
   À gauche le texte éditorial, à droite les consultants. */
.invest-secteam__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.invest-secteam__para {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #48566f;
}
.invest-secteam__para:last-child { margin-bottom: 0; }
.invest-secteam__peopletitle {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ih-ink, #12203a);
}
/* Dans une colonne deux fois plus étroite, quatre consultants côte à côte
   deviendraient illisibles : on passe en deux rangées. */
.invest-secteam__split .invest-secteam__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1040px) {
  .invest-secteam__split { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 480px) {
  .invest-secteam__split .invest-secteam__list { grid-template-columns: 1fr; }
}

/* Phrase d'introduction des logos partenaires (v0.12.53) */
.invest-partners__logosintro {
  text-align: center;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  color: #60708a;
}

/* Texte éditorial de /sectors/, désormais seul dans sa section (v0.12.56) */
.invest-secseo__para {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #48566f;
}
.invest-secseo__para:last-child { margin-bottom: 0; }
/* Le bloc équipe garde son crème : les stories, en blanc, le séparent déjà du
   texte éditorial. L'alternance se lit blanc / crème / blanc / crème. */

/* Texte éditorial + chiffres clés de /sectors/ (v0.12.58) */
.invest-secseo__split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 52px;
  align-items: start;
}
.invest-secseo__aside {
  background: #fff;
  border: 1px solid #e7ded3;
  border-radius: 16px;
  padding: 26px 24px;
}
.invest-secseo__facts {
  list-style: none;
  margin: 0 0 22px;
  padding: 0 0 20px;
  border-bottom: 1px solid #efe7dc;
  display: grid;
  gap: 16px;
}
.invest-secseo__fact { display: flex; align-items: baseline; gap: 12px; }
.invest-secseo__factvalue {
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ih-ink, #12203a);
  min-width: 72px;
  font-variant-numeric: tabular-nums;
}
.invest-secseo__factlabel { font-size: 13.5px; line-height: 1.4; color: #6b6055; }
.invest-secseo__asidelead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #55637a;
}
.invest-secseo__cta { width: 100%; justify-content: center; }

@media (max-width: 1040px) {
  .invest-secseo__split { grid-template-columns: 1fr; gap: 30px; }
}

/* Paire de boutons contact / rendez-vous (v0.12.59) */
.invest-ctapair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.invest-ctapair--full { flex-direction: column; }
.invest-ctapair--full .ih-btn { width: 100%; justify-content: center; }
@media (max-width: 480px) {
  .invest-ctapair { flex-direction: column; }
  .invest-ctapair .ih-btn { width: 100%; justify-content: center; }
}

/* Boutons contact / rendez-vous dans le hero bleu (v0.12.62)
   Demande user : à DROITE du hero, l'un sous l'autre. Le hero passe donc en
   deux colonnes quand il porte ces boutons, et seulement dans ce cas. Le
   sélecteur :has() évite d'ajouter une classe dans les cinq gabarits
   concernés. */
.invest-page__heroactions { margin-top: 26px; }
.invest-page__heroactions .invest-ctapair { margin-top: 0; }

.invest-page__hero-inner:has(.invest-page__heroactions) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 48px;
  align-items: start;
}
.invest-page__hero-inner:has(.invest-page__heroactions) > *:not(.invest-page__heroactions) {
  grid-column: 1;
}
.invest-page__heroactions {
  grid-column: 2;
  /* ⚠️ PAS `1 / -1`. Sans `grid-template-rows`, la grille n a qu une ligne
     EXPLICITE : `-1` designe donc sa fin, et l element n occupait que la
     premiere ligne, celle du titre. Les boutons se retrouvaient centres sur le
     titre seul au lieu de l ensemble de la colonne de gauche.
     On couvre largement les lignes implicites : elles sont vides, de hauteur
     nulle, et le `row-gap` est a 0, donc rien ne se decale. */
  grid-row: 1 / 100;
  align-self: center;
  margin-top: 0;
  min-width: 232px;
}
/* Empilés, et de même largeur : deux libellés de longueurs différentes
   donneraient sinon deux boutons bancals. */
.invest-page__heroactions .invest-ctapair { flex-direction: column; }
.invest-page__heroactions .ih-btn { width: 100%; justify-content: flex-start; }

@media (max-width: 860px) {
  .invest-page__hero-inner:has(.invest-page__heroactions) { display: block; }
  .invest-page__heroactions { margin-top: 24px; min-width: 0; }
  .invest-page__heroactions .ih-btn { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   Article — repris du modèle immo, à la charte invest (v0.12.65)
   ═══════════════════════════════════════════════════════════════ */
.invest-article__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.invest-article__crumbs a { color: inherit; text-decoration: none; }
.invest-article__crumbs a:hover { color: #fff; text-decoration: underline; }

.invest-article__title { max-width: 20ch; }
@media (min-width: 861px) { .invest-article__title { max-width: 26ch; } }

.invest-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}
.invest-article__meta span { display: inline-flex; align-items: center; gap: 7px; }

/* ── Corps : article + colonne latérale collante ──────────────── */
.invest-article__body { padding: 56px var(--ih-side-pad) 72px; background: #fff; }
.invest-article__layout {
  max-width: var(--ih-max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}
.invest-article__main { min-width: 0; }

/* La couverture est CADRÉE : à sa taille naturelle, un portrait poussait le
   premier paragraphe hors de l'écran. */
.invest-article__cover {
  margin: 0 0 34px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f6;
}
.invest-article__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.invest-article__prose { max-width: 760px; margin: 0; }
.invest-article__back { margin: 40px 0 0; }

.invest-article__aside-sticky {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.invest-aside-card {
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid var(--ih-line, #e6e8ee);
  background: #fff;
}
.invest-aside-card--contact { background: #f4fbfc; border-color: #cfe4e9; }
.invest-aside-card--pivot { background: var(--ih-ink, #12203a); border-color: transparent; }
.invest-aside-card--pivot .invest-aside-card__title { color: #fff; }
.invest-aside-card--pivot .invest-aside-card__text { color: rgba(255, 255, 255, 0.78); }
.invest-aside-card__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ih-ink, #12203a);
}
.invest-aside-card__text {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #55637a;
}
.invest-aside-card__cta { width: 100%; justify-content: center; }
.invest-aside-card__phone {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--ih-font-mono, monospace);
  font-size: 14px;
}
.invest-aside-card__phone a { color: var(--ih-cyan-700, #0b5f70); text-decoration: none; }
.invest-aside-card__phone a:hover { text-decoration: underline; }

@media (max-width: 1040px) {
  /* Sous cette largeur la colonne latérale étouffe le texte : elle passe
     dessous et cesse de coller. */
  .invest-article__layout { grid-template-columns: 1fr; gap: 40px; }
  .invest-article__aside-sticky { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 640px) {
  .invest-article__body { padding-top: 36px; }
  .invest-article__aside-sticky { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   Colonne latérale collante — les DEUX causes (v0.12.66)
   ═══════════════════════════════════════════════════════════════
   1. `.jet-mega-menu-location { overflow: hidden }`, posé par le plugin JetMenu
      sur <body>, fait du body le conteneur de défilement : `position: sticky`
      s'y accroche au lieu de la fenêtre, donc ne bouge plus. Le correctif
      `html body { overflow-x: visible }` du parent (0,0,2) perdait face à cette
      classe (0,1,0). On repasse devant, sans toucher au plugin ni au parent
      que partage la production immo.
      ⚠️ Piège déjà rencontré sur immo (sidebar de fiche) : ne jamais remettre
      d'overflow global sur body ou html.
   2. `align-items: start` sur la grille : la colonne ne faisait alors que la
      hauteur de son contenu, et un élément collant sans marge de manœuvre dans
      son parent ne colle à rien. Elle s'étire désormais sur la hauteur de
      l'article. */
html body.jet-mega-menu-location { overflow-x: visible; }

.invest-article__layout { align-items: stretch; }
.invest-article__aside { align-self: stretch; }

/* ═══════════════════════════════════════════════════════════════
   Titres de hero — alignés sur /opportunities/ (v0.12.67)
   ═══════════════════════════════════════════════════════════════
   `.ih-listing-hero__title` sert de modèle (demande user) : 56 px, graisse 400,
   interligne 1, interlettrage -0.035em. Les pages génériques étaient en
   `clamp(2rem, 4vw, 3rem)` avec interligne 1.1 et aucun interlettrage, soit
   48 px et une allure plus molle.
   ⚠️ La HOME est exclue : elle a sa propre échelle (`.invest-hero__title`),
   volontairement plus grande, et le user l'a explicitement mise à part.
   Les paliers reprennent ceux du modèle, pour que le comportement mobile
   soit lui aussi identique. */
.invest-page__title {
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 900px;
}
@media (max-width: 980px) {
  .invest-page__title { font-size: 42px; }
}
@media (max-width: 640px) {
  .invest-page__title { font-size: 34px; }
}

/* ═══════════════════════════════════════════════════════════════
   Titres de hero — deux tons, sur le modèle /opportunities/ (v0.12.68)
   ═══════════════════════════════════════════════════════════════
   ⚠️ DÉFAUT DE CONTRASTE ANTÉRIEUR, corrigé ici. `.invest-page__title`
   ne déclarait aucune couleur : le titre héritait donc de la règle
   d'éléments `h1, h2, … { color: var(--ih-ink) }`, qui l'emporte sur le
   `color: #fff` hérité de `.invest-page__hero`. Résultat, sur /sectors/,
   /resources/, /news/, /how-it-works/ et les pages légales, le titre
   s'affichait en BLEU NUIT SUR LE DÉGRADÉ CYAN. Un sélecteur de classe
   suffit à reprendre la main, sans !important.

   Le deux-tons du modèle est purement chromatique : blanc plein sur le
   groupe nominal, blanc à 72 % sur le reste. L'italique serif prévu par
   `.ih-listing-hero__title-em` ne s'applique pas sur invest, neutralisé
   par le garde-fou `[class*="hero__title"] { font-style: normal }` et par
   `--ih-font-serif` redéfini sur Geist. On reproduit donc le RENDU réel,
   pas la déclaration d'origine.

   Le retrait est porté par le <h1> et la mise en avant par les spans :
   seule la part en avant a besoin d'être balisée. Le modificateur
   `--tones` évite qu'un titre sans deux-tons parte entièrement à 72 %. */
.invest-page__title { color: #fff; }
.invest-page__title--tones { color: rgba(255, 255, 255, .72); }
.invest-page__title-em {
  color: #fff;
  font-style: normal;
  font-weight: inherit;
}

/* Archive partenaires : le deux-tons est déclaré dans pages/partner.css,
   chargé APRÈS ce fichier et qui pose déjà color:#fff à spécificité égale. */

/* Blocs hero du back-office (/contact/, /why-invest-in-france/). Le bloc
   parent balise déjà la part en avant en <em class="ih-block-hero__em">,
   à partir des **étoiles** saisies dans le champ Titre : même convention,
   même rendu. On aligne aussi l'échelle sur le modèle, ces pages étant
   restées à la taille par défaut du bloc partagé. */
.ih-block-hero__title {
  color: rgba(255, 255, 255, .72);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}
.ih-block-hero__em {
  color: #fff;
  font-style: normal;
  font-weight: inherit;
}
@media (max-width: 980px) {
  .ih-block-hero__title { font-size: 42px; }
}
@media (max-width: 640px) {
  .ih-block-hero__title { font-size: 34px; }
}

/* ═══════════════════════════════════════════════════════════════
   v0.12.75 — Boutons de contact en ambre + respiration des secteurs
   ═══════════════════════════════════════════════════════════════ */

/* Le second bouton de la paire (« Book a call ») sur fond CLAIR : contour
   ambre plutôt qu'encre. Les deux boutons sont des CTA de conversion et
   doivent se lire comme une paire, tout en gardant leur hiérarchie :
   plein pour écrire, contour pour le rendez-vous.
   Portée limitée à `.invest-ctapair` : `ih-btn--outline` sert ailleurs
   à des actions neutres, qui n'ont rien à voir avec la conversion. */
.invest-ctapair .invest-ctapair__alt {
  border-color: var(--ih-accent);
  color: var(--ih-accent-700);
  background: transparent;
}
.invest-ctapair .invest-ctapair__alt:hover,
.invest-ctapair .invest-ctapair__alt:focus-visible {
  background: var(--ih-accent-tint);
  border-color: var(--ih-accent-600);
  color: var(--ih-accent-700);
}

/* Bande secteurs de la home : `.invest-section` pose 30 px, trop serré pour
   une bande à fond crème dont le contenu est une grille de 8 cartes. On ne
   touche pas au réglage global, qui convient aux sections de texte. */
.invest-sectors-band { padding: 64px 0; }
@media (max-width: 780px) {
  .invest-sectors-band { padding: 44px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   v0.12.76 — Preuves du hero sur toute la largeur + « Book a call » ambré
   ═══════════════════════════════════════════════════════════════ */

/* Les 3 arguments sous le hero étaient des éléments flex dimensionnés par
   leur contenu : ils s'arrêtaient vers 60 % de la largeur et laissaient un
   grand vide à droite, sous la carte « what happens next ». Trois colonnes
   égales les répartissent sur toute la largeur et alignent les pictos.
   Le repli en colonne sous 640 px est défini PLUS HAUT dans ce fichier.

   ⚠️ D'OÙ LE `min-width` ICI. Sans lui, cette règle, qui vient après le
   `@media (max-width: 640px)` et à spécificité égale, écrasait le repli en
   une colonne : sur iPhone, la troisième preuve sortait de l'écran à 403 px
   pour un viewport de 390. Une media query n'ajoute pas de spécificité, seul
   l'ordre départage. */
@media (min-width: 641px) {
  .invest-hero__proofs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 44px;
    align-items: start;
  }
}

/* Variante « dark » de la paire de CTA : le second bouton était un contour
   blanc, qui se lisait comme un lien secondaire neutre. Les deux boutons
   sont des CTA de conversion, ils passent donc tous les deux à l'ambre,
   comme sur fond clair. Le plein reste à « écrire », le contour au
   rendez-vous : la hiérarchie ne change pas, seule la couleur. */
.invest-ctapair .ih-btn--ghost-light {
  border-color: var(--ih-accent);
  color: var(--ih-accent);
  background: transparent;
}
.invest-ctapair .ih-btn--ghost-light:hover,
.invest-ctapair .ih-btn--ghost-light:focus-visible {
  background: rgba(245, 158, 11, .14);
  border-color: var(--ih-accent);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   v0.12.83 — Bloc « cahier des charges » aligné sur la bande CTA de la home
   ═══════════════════════════════════════════════════════════════
   Le bloc parent `ih-block-cta-brief` se rendait en panneau arrondi à deux
   colonnes, texte à gauche et bouton à droite, dans un conteneur de 1 400 px.
   La home, elle, pose une bande sombre pleine largeur, contenu centré sur
   720 px, titre à 40 px et bouton en pastille ambre dessous. Deux traitements
   pour la même intention : on garde celui de la home (demande user).

   ⚠️ Override côté INVEST uniquement. Le bloc vit dans le parent `hubs`,
   partagé avec immo en production, où il doit garder son rendu d'origine. */
.ih-block.ih-block-cta-brief {
  /* v0.12.97 — aligné sur la bande CTA de /how-it-works/ (demande user) :
     même largeur que la colonne de contenu et mêmes bords arrondis, plutôt
     qu une bande carrée collée aux bords de l écran. */
  /* v0.13.6 — PLEINE LARGEUR ET COLLÉE AU PIED DE PAGE (demande user), comme
     la bande finale de /how-it-works/ et de la home. Elle avait d'abord été
     posée en bande carrée, puis en carte arrondie de 1336 px : le user tranche
     pour la pleine largeur.
     ⚠️ Le bloc vit dans un conteneur de 1400 px : on le sort de sa gouttière
     par des marges négatives plutôt que par 100vw, qui compte la barre de
     défilement et ouvrirait un débordement horizontal. */
  max-width: none;
  width: auto;
  margin-inline: calc(50% - 50vw);
  background: var(--ih-ink);
  padding: 64px var(--ih-side-pad);
  border-radius: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/* Une seule colonne centrée, comme la bande de la home : le texte porte la
   promesse, le bouton la conclut. La grille à deux colonnes d'origine
   séparait les deux et affaiblissait l'appel. */
.ih-block-cta-brief__inner {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ih-block-cta-brief__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}

/* Le sous-titre est rendu par le parent dans un <span> à l'intérieur du
   titre, précédé d'un <br>. On le repasse en bloc pour qu'il se lise comme
   le chapô de la home, et non comme une seconde ligne de titre. */
.ih-block-cta-brief__title-light {
  display: block;
  margin-top: 14px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .82);
}

.ih-block-cta-brief__buttons {
  display: flex;
  flex-direction: row;        /* le parent le pose en colonne : en colonne, c est
                                 align-items qui gouverne la largeur, pas flex */
  align-items: center;        /* sans quoi le bouton est etire a 720 px */
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 780px) {
  .ih-block-cta-brief { padding: 46px var(--ih-side-pad); }
  .ih-block-cta-brief__title { font-size: 30px; }
}

/* Le bouton du bloc s'étirait sur toute la colonne : le parent lui pose une
   largeur pleine, utile dans sa grille à deux colonnes d'origine, gênante
   dans la colonne centrée. On lui rend sa taille de contenu, comme la
   pastille de la home. */
.ih-block-cta-brief__buttons > * {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  justify-content: center;
}

/* La pastille elle-même : mêmes dimensions que celle de la home, pour que les
   deux bandes se lisent comme un seul et même composant (55 px de haut,
   16/32 de rembourrage, graisse 600). */
.ih-block-cta-brief__buttons .ih-btn {
  padding: 16px 32px;
  font-weight: 600;
  height: auto;   /* ih-btn--lg fixe 48 px, ce qui neutralisait le rembourrage */
}

/* ═══════════════════════════════════════════════════════════════
   v0.12.90 — Bloc « mandat » avec image + refonte des success stories
   ═══════════════════════════════════════════════════════════════ */

/* Le bloc mandat en deux colonnes quand une image lui est passée. Sans
   image, `--split` n'est pas posé et la section reste en pleine largeur :
   la règle ne s'applique donc jamais par accident. */
.invest-mandate--split .invest-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 48px;
  align-items: center;
}
.invest-mandate__text > :first-child { margin-top: 0; }
.invest-mandate__text > :last-child { margin-bottom: 0; }
.invest-mandate__cta { margin: 26px 0 0; }
.invest-mandate__img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 24px 50px -24px rgba(12, 35, 58, .45);
}
@media (max-width: 860px) {
  /* L'image passe sous le texte : à cette largeur, deux colonnes la
     réduiraient à une bande où plus rien n'est lisible. */
  .invest-mandate--split .invest-section__inner { grid-template-columns: 1fr; gap: 28px; }
  .invest-mandate__img { min-height: 200px; }
}

/* ── Success stories ────────────────────────────────────────────
   La section reprenait la grille des ressources : quatre vignettes de même
   taille, parcourues sans qu'aucune ne soit lue. Ce sont pourtant les PREUVES
   du site. On leur donne une hiérarchie : une une en grand, le reste en
   liste. Un point d'entrée au lieu de quatre objets équivalents. */
.invest-stories__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  /* Pas de align-items:start : la colonne de droite doit s etirer sur la
     hauteur de la une, sinon elle s arrete haut et laisse un trou. */
  align-items: stretch;
  margin-top: 28px;
}
.invest-stories__grid--solo { grid-template-columns: minmax(0, 1fr); }

.invest-story {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--ih-surface);
  border: 1px solid var(--ih-line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.invest-story:hover {
  border-color: var(--ih-cyan-tint);
  transform: translateY(-2px);
  box-shadow: var(--ih-shadow);
}
.invest-story__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ih-bg); }
.invest-story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.invest-story__body { padding: 22px 24px 24px; }
.invest-story__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ih-cyan-700);
  background: var(--ih-cyan-tint, #e7f3f6);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.invest-story__title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ih-ink);
  text-wrap: balance;
}
.invest-story__excerpt {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ih-ink-soft, #26374f);
}
.invest-story__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ih-cyan-700);
}

/* La liste : vignette carrée et titre, rien d'autre. Ce qui doit se lire ici,
   c'est « il y en a d'autres », pas le détail de chacune. */
.invest-stories__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.invest-storymini__link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: var(--ih-surface);
  border: 1px solid var(--ih-line);
  border-radius: 12px;
  padding: 12px;
  transition: border-color .15s, transform .15s;
}
.invest-storymini__link:hover { border-color: var(--ih-cyan-tint); transform: translateX(2px); }
.invest-storymini__media { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--ih-bg); }
.invest-storymini__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.invest-storymini__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.invest-storymini__title { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ih-ink); }
.invest-storymini__date { font-size: 12px; color: var(--ih-muted, #60667a); }

.invest-stories__cta { margin: 36px 0 0; text-align: center; }

@media (max-width: 900px) {
  .invest-stories__grid { grid-template-columns: 1fr; gap: 26px; }
  .invest-story__title { font-size: 19px; }
}

/* La colonne de droite s'arrêtait haut, laissant un grand vide sous la
   troisième entrée quand la une est longue. On l'étire et on répartit :
   les trois entrées occupent alors la hauteur de la une. */
/* ⚠️ Premier essai : `space-between`, qui creusait des trous de 160 px entre
   des cartes restées petites, pire que le vide d'origine. On fait plutôt
   GRANDIR les trois cartes à hauteur égale : elles remplissent la hauteur de
   la une, l'image occupe toute la carte, et l'ensemble se lit comme une mise
   en page 1 + 3 voulue. */
.invest-stories__list { height: 100%; gap: 16px; }
.invest-stories__list > li { flex: 1 1 0; min-height: 0; }
.invest-storymini__link {
  height: 100%;
  grid-template-columns: 34% minmax(0, 1fr);
  align-items: stretch;
}
.invest-storymini__media { aspect-ratio: auto; height: 100%; min-height: 84px; }
.invest-storymini__text { justify-content: center; padding: 4px 4px 4px 0; }

@media (max-width: 900px) {
  /* En colonne unique, plus rien à égaliser : on revient à la vignette carrée
     et à des cartes dimensionnées par leur contenu. */
  .invest-stories__list { height: auto; }
  .invest-stories__list > li { flex: 0 0 auto; }
  .invest-storymini__link { grid-template-columns: 96px minmax(0, 1fr); }
  .invest-storymini__media { aspect-ratio: 1; height: auto; }
}

/* v0.12.93 — « Geolink in numbers » vit désormais DANS la colonne de gauche,
   sous le texte d'ouverture (demande user). Le bloc parent est prévu pour une
   pleine largeur : dans une demi-colonne, ses 4 chiffres se serrent. On le
   laisse respirer et on le détache du texte par un filet. */
.invest-whoweare__text .ih-block-stats {
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--ih-line);
}
.invest-whoweare__text .ih-block-stats__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}
@media (max-width: 480px) {
  .invest-whoweare__text .ih-block-stats__grid { grid-template-columns: 1fr; }
}

/* v0.13.2 — Le second titre de /partner-territories/ sortait à 28 px et
   graisse 400, exactement comme le titre principal : deux titres de même
   poids, donc aucune hiérarchie, et le lecteur ne savait plus lequel
   commandait l'autre. Il passe en sous-titre : plus petit, plus gras pour
   rester lisible malgré la taille, et en encre adoucie.
   Il gagne aussi de l'air au-dessus : il collait à son paragraphe alors que
   le titre principal, lui, respirait. */
.invest-ptintro__subtitle {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--ih-ink-soft, #26374f);
  margin: 34px 0 8px;
}

/* v0.13.3 — Deux respirations demandées.

   1. Sur /partner-territories/, les boutons collaient au dernier paragraphe
      (« Explore the map below… ») depuis qu'ils sont passés sous les textes.
   2. Le bloc « cahier des charges » touchait le pied de page : il posait
      `margin-block: 0`, hérité de l'époque où il était une bande pleine
      largeur collée au bas de la page. */
.invest-ptintro__text .invest-ctapair { margin-top: 28px; }

/* v0.13.6 — La marge basse est retirée : le bloc colle désormais au pied de
   page, comme la bande finale de /how-it-works/. */

/* v0.13.5 — Marge réduite avec le pied de page (demande user). Les 72 px de
   `.invest-page__body` s'ajoutaient au rembourrage de la dernière section, ce
   qui laissait un vide sur les pages découpées en bandes : celles-ci posent
   déjà leur propre respiration. */
.invest-page--sections .invest-page__body { padding-bottom: 0; }

/* v0.13.6 — La section qui porte la bande finale ne doit pas la rembourrer :
   ses 56 px de bas laissaient une bande blanche entre la bande sombre et le
   pied de page. La bande pose déjà son propre rembourrage. */
.invest-pagesec--plain:has(.invest-cta-strip) { padding: 0; }

/* Les conteneurs qui accueillent le bloc pleine largeur doivent le laisser
   déborder sans ouvrir de défilement horizontal. */
.ih-partner-archive,
.ih-listing,
.invest-page { overflow-x: clip; }

/* ═══════════════════════════════════════════════════════════════
   v0.13.9 — « All channels » sur fond beige (demande user)
   ═══════════════════════════════════════════════════════════════
   Le bloc de cartes n'avait aucun fond : la page enchaînait le hero bleu,
   puis du blanc jusqu'au calendrier. La bande beige sépare les canaux de
   contact du reste, comme les sections alternées ailleurs sur le site.

   ⚠️ PORTÉE. Le bloc `ih-block-cards` sert aussi sur /why-invest-in-france/,
   et les deux pages partagent le gabarit `.ih-page` : impossible de les
   distinguer par le conteneur. On cible donc la page par son identifiant.
   Si la page /contact/ était recréée, la règle ne s'appliquerait plus : il
   faudrait alors mettre à jour cet identifiant.

   Bande pleine largeur, comme toutes les sections colorées du site : un fond
   posé sur un bloc de 1400 px se lirait comme une carte, pas comme une
   section. On sort de la gouttière par des marges négatives et non par
   `100vw`, qui compte la barre de défilement. */
body.page-id-12 .ih-block-cards {
  background: var(--ih-cream);
  max-width: none;
  width: auto;
  margin-inline: calc(50% - 50vw);
  padding: 56px var(--ih-side-pad);
}
body.page-id-12 .ih-block-cards__grid,
body.page-id-12 .ih-block-cards__title {
  max-width: var(--ih-max-w);
  margin-inline: auto;
}
body.page-id-12 .ih-page { overflow-x: clip; }

/* v0.13.10 — « All channels » collée au hero (demande user).
   Le parent aère les sections : `.ih-block` porte `margin: 32px auto` et
   `.ih-page__article > .ih-block + *` ajoute 48 px. Entre le hero et la bande
   beige, cette gouttière blanche cassait l'enchaînement des deux fonds. La
   bande porte déjà son propre padding intérieur : l'écart extérieur fait
   double emploi. */
body.page-id-12 .ih-block-hero { margin-bottom: 0; }
body.page-id-12 .ih-page__article > .ih-block-hero + .ih-block-cards { margin-top: 0; }

/* Les cartes sont devenues des liens (<a>) : il leur faut l'affordance que le
   <div> n'avait pas, et le texte ne doit pas hériter du bleu de lien. */
body.page-id-12 a.ih-block-cards__item {
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
body.page-id-12 a.ih-block-cards__item:hover {
  border-color: var(--ih-cyan);
  box-shadow: 0 6px 20px rgba(11, 61, 84, .10);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   v0.13.14 — Mobile : cibles tactiles et lisibilité
   ═══════════════════════════════════════════════════════════════
   Priorité mobile assumée : le visiteur sur téléphone vient CHERCHER et
   CONTACTER. Tout ce qui sert à ces deux gestes doit être atteignable au
   pouce. La référence est 44 px, minimum d'Apple et seuil confortable du
   WCAG 2.2, mesuré au doigt et non à la souris.

   ⚠️ TOUT EST DANS L'ENFANT. `.ih-btn--sm` et `.ih-header__phone` viennent du
   parent `hubs`, partagé avec immo EN PRODUCTION : les corriger là-haut
   changerait immo sans contrôle. Les surcharges vivent donc ici.
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Le téléphone de l'en-tête fait 27 px de haut : c'est le geste « contacter »,
     le plus important des deux, et c'était la plus petite cible de la page. */
  .ih-header__phone {
    min-height: 44px;
    padding-inline: 12px;
    align-items: center;
  }

  /* « Start your project » : 32 px imposés par la hauteur fixe de `.ih-btn--sm`.
     On neutralise la hauteur au lieu d'ajouter du padding, qu'elle annulerait. */
  .ih-btn--sm {
    height: auto;
    min-height: 44px;
    padding-block: 10px;
  }

  /* Pagination du listing : 36 px, et c'est le geste « chercher ». */
  /* Le conteneur réel est `.ih-listing-pagination__pages`, et le parent y
     impose déjà `min-width: 36px` : il faut viser ce sélecteur-là, sinon seule
     la hauteur passe et le bouton reste étroit. */
  .ih-listing-pagination__pages .page-numbers,
  .ih-listing .page-numbers,
  .ih-pagination .page-numbers {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Lien « Manage cookies » du pied de page : 19 px de haut. */
  .ih-footer__cookies {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* Bandeau de consentement : boutons à 30 px. Le balisage vient du plugin,
     on ne le touche pas, on l'habille. */
  .moove-gdpr-info-bar-container .mgbutton {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* Lisibilité : le titre d'une annonce descendait à 13 px, or c'est le texte
     que l'on lit pour décider d'ouvrir la fiche. */
  .ih-card-grid__title,
  .ih-card-grid__title a { font-size: 15px; line-height: 1.35; }

  .ih-footer__brand-desc { font-size: 14px; }
  /* La ligne de copyright est un <div> SANS CLASSE : on passe par son
     conteneur, sinon la règle ne touche rien. */
  .ih-footer__legal,
  .ih-footer__bottom,
  .ih-footer__copyright { font-size: 13px; }
}

/* v0.13.20 — Pages légales à la largeur d'immo.
   Le corps de page est cadré à 820 px partout ailleurs, largeur de lecture
   confortable. Sur les pages légales, le user veut la même largeur que sur
   immo, dont le gabarit parent laisse le texte aller jusqu'à `--ih-max-w`.
   Le tableau des cookies y gagne d'ailleurs : à 820 px, ses six colonnes
   étaient à l'étroit. */
.invest-page__body-inner--large { max-width: var(--ih-max-w); }

/* Le tableau des cookies déborderait sur un petit écran : on le rend
   défilable plutôt que de le laisser pousser la page. */
.invest-page__body-inner--large .wp-block-table { overflow-x: auto; }
.invest-page__body-inner--large .wp-block-table table { min-width: 720px; }

/* ═══════════════════════════════════════════════════════════════
   v0.13.21 — Hero de la home sur une seule colonne
   ═══════════════════════════════════════════════════════════════
   La carte de droite est retirée (conservée dans `_attic/hero-next.php`).
   Le pitch récupère toute la largeur : à 880 px le titre tenait sur quatre
   lignes, il en fait deux une fois étalé, et c'est là que le premier écran
   s'allège vraiment.

   Le chapô, lui, n'est PAS étiré jusqu'au bord : au-delà d'environ 80
   caractères, l'œil perd la ligne suivante. On élargit donc la mesure sans
   l'abolir. C'est le seul écart à « 100 % », et il est délibéré.

   ⚠️ Les règles `.invest-hero__split` et `.invest-hero__aside` sont laissées
   en place : elles servent au gabarit mis de côté, qui doit pouvoir revenir
   en décommentant une ligne. */
.invest-hero--pitch .invest-hero__title { max-width: none; }
.invest-hero--pitch .invest-hero__lead  { max-width: 80ch; }

/* Le 3e bouton ouvre la carte. C'est un <button>, pas un <a> : il ne doit
   pas hériter des marges et de la typo par défaut du navigateur. */
.invest-hero__cta--map {
  gap: 9px;
  cursor: pointer;
  /* Un <button> n'hérite pas de la police du document, contrairement à un <a>.
     ⚠️ MAIS PAS `font: inherit` : le raccourci reprend aussi la TAILLE et la
     GRAISSE du parent, donc écrase celles de `.invest-hero__cta`. Ce bouton
     ressortait 2 px plus court que les deux autres. On n'hérite que la famille. */
  font-family: inherit;
}
.invest-hero__cta--map svg { flex: 0 0 auto; }

@media (max-width: 640px) {
  /* Les trois boutons passent en pleine largeur, empilés : à trois, ils ne
     tiennent plus côte à côte sans se casser en milieu de mot. */
  .invest-hero__actions .invest-hero__cta--map { width: 100%; justify-content: center; }
}

/* v0.13.22 — Équilibre des trois arguments sous le hero (demande user).
   Les trois colonnes étaient égales alors que le texte du milieu est le plus
   long : il se repliait sur quatre lignes quand les deux autres en tenaient
   deux, et l'ensemble paraissait bancal. On donne au milieu la largeur que
   son texte demande.

   ⚠️ Et on relève `max-width: 22ch` sur le libellé : c'était lui le vrai
   plafond. Élargir la colonne sans le relever n'aurait rien changé, le texte
   se serait replié au même endroit dans une colonne plus large. */
@media (min-width: 981px) {
  .invest-hero__proofs { grid-template-columns: 1fr 1.45fr 1fr; }
  /* Plafond RETIRÉ, pas relevé : tant qu'il existe, le libellé du milieu se
     replie au même endroit et la largeur gagnée reste vide à sa droite. C'est
     la colonne qui doit décider, elle connaît la place disponible. */
  .invest-hero__proof-label { max-width: none; }
}

/* v0.13.24 — Popup « what happens after you write to us ».
   Elle reprend le panneau de la popup carte, dont le fond sombre convient
   aux styles `.invest-next__*`, conçus pour le hero. Seule la largeur change :
   ici c'est du texte, pas une carte. */
.invest-nextmodal .invest-mapmodal__panel { width: min(560px, 100%); }
.invest-nextmodal .invest-mapmodal__body { padding: 22px 24px 26px; }
.invest-nextmodal .invest-next__list { gap: 17px; }
.invest-nextmodal__cta { margin: 22px 0 0; }

/* Les deux boutons de la section des 3 étapes, centrés et alignés.
   Ils se replient l'un sous l'autre quand la place manque plutôt que de
   se rogner. */
.invest-process__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.invest-process__next { gap: 9px; font-family: inherit; cursor: pointer; }
.invest-process__next svg { flex: 0 0 auto; opacity: .8; }

@media (max-width: 560px) {
  .invest-process__actions > * { width: 100%; justify-content: center; }
}

/* ── Priorités mobile de la home ───────────────────────────────────────────
 * Même doctrine que immo (décision user 2026-07-07, appliquée à invest le
 * 2026-10-05) : sur mobile, le visiteur est un porteur de projet au téléphone.
 * Deux priorités seulement — **chercher** et **prendre contact**. Le reste est
 * secondaire sur ce média et doit être masqué, pas replié.
 *
 * ⚠️ `display:none` et NON un retrait du gabarit : le contenu reste dans le
 * DOM, donc Google (qui indexe en mobile-first) continue de le lire. Le SEO
 * est préservé, seul l'affichage change.
 *
 * Ce qu'on garde : le hero (l'accroche et ses boutons), « Get a feel for the
 * market » (les annonces, c'est-à-dire chercher) et la bande d'appel final
 * (contacter).
 * Ce qu'on masque : la bande de logos partenaires, l'entrée par territoire,
 * les trois étapes, l'équipe et les réussites. Tout reste sur desktop.
 *
 * Mesuré avant : 10 864 px de haut sur un iPhone.
 */
@media (max-width: 768px) {
  .invest-partners,
  .invest-sectors-band,
  .invest-process,
  .invest-team,
  .invest-stories {
    display: none;
  }
}
