/* Powered By MstatE Technologies
   BIPADE AFRICA — Feuille de style du site public
   Style : sobriété IFI, luxe discret, grandes respirations, typographie claire.
   Palette : charte BIPADE — brun #683c11, camel #ca9e67, noir. */

:root {
  /* Charte BIPADE AFRICA : brun #683c11, camel #ca9e67, noir.
     Secondaires (usage parcimonieux) : orange #f39200, bordeaux #750f14, sarcelle #43a6b2. */
  --navy: #683c11;         /* brun principal de la charte */
  --navy-deep: #4a2a0b;    /* brun profond, pour les dégradés */
  --navy-soft: #8a5219;    /* brun clair, pour les survols */
  --gold: #ca9e67;         /* camel de la charte */
  --gold-soft: #dcbb91;
  --teal: #43a6b2;         /* secondaire, réservé aux repères investisseurs */
  --ink: #1f1b16;
  --muted: #6b6157;
  --line: #e6e0d8;
  --line-soft: #f2eee8;
  --bg: #ffffff;
  --bg-alt: #faf7f3;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(74, 42, 11, 0.04);
  --shadow-hover: 0 18px 44px -22px rgba(74, 42, 11, 0.42);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Typographie de la charte : Helvetica pour les titres, Calibri pour le texte.
     Carlito est le clone libre de Calibri, présent sur la plupart des Linux ;
     les autres valeurs sont des replis lorsque la police n'est pas installée. */
  --font-display: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", "Nimbus Sans", sans-serif;
  --font-sans: Calibri, Carlito, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.18; letter-spacing: -0.022em; font-weight: 700; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 800px; }
.centered { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
.spaced-top { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 16px; z-index: 200; }
.skip-link:focus { left: 0; }

/* ================= Boutons ================= */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), transform 0.28s var(--ease);
  line-height: 1.3;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a8874e; transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--navy); border-color: rgba(74,42,11,0.35); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-small { padding: 9px 18px; font-size: 0.76rem; }
.btn-block { display: block; text-align: center; width: 100%; }
.text-link {
  color: var(--gold); font-weight: 600; text-decoration: none;
  font-size: 0.86rem; letter-spacing: 0.05em; text-transform: uppercase;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease);
}
.text-link:hover { background-size: 100% 1px; }
.text-link .icon { vertical-align: -3px; }

/* ================= En-tête ================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 1px 18px rgba(74,42,11,0.09); border-bottom-color: transparent; }
.header-inner { display: flex; align-items: center; gap: 16px; height: 82px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { max-height: 48px; width: auto; }
.footer-logo { max-height: 44px; width: auto; margin-bottom: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 4px;
  background: var(--navy); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
}
.brand-text { font-family: var(--font-display); font-size: 1.18rem; color: var(--navy); letter-spacing: 0.04em; white-space: nowrap; }
.brand-text strong { font-weight: 700; }
.brand-text.light { color: #fff; font-size: 1.3rem; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 11px; position: relative;
  color: var(--muted); text-decoration: none;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.24s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lang-switch a { padding: 5px 10px; font-size: 0.8rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.lang-switch a.current { background: var(--navy); color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.25s; }

/* ================= Flash ================= */
.flash { padding: 12px 0; font-weight: 500; }
.flash-success { background: #e8f4ea; color: #1e6b34; }
.flash-info { background: #eaf1f8; color: var(--navy); }

/* ================= Hero ================= */
.hero {
  background: linear-gradient(128deg, #3a1f06 0%, var(--navy-deep) 46%, #6d3f12 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(202, 158, 103, 0.35);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 8% 100%, rgba(43,24,7,0.72) 0%, rgba(43,24,7,0) 62%);
}
.hero-inner {
  padding: clamp(96px, 12vw, 168px) 32px clamp(100px, 12vw, 172px);
  max-width: 940px; position: relative; z-index: 2;
}
.hero-title {
  color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin: 0 0 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12;
  max-width: 17ch;
}
.hero-title::after {
  content: ""; display: block; width: 76px; height: 3px;
  background: var(--gold); margin-top: 28px;
}
.hero-subtitle {
  color: rgba(255,255,255,0.82); font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  max-width: 62ch; margin: 0 0 42px; line-height: 1.72;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ================= Sections ================= */
.section { padding: clamp(46px, 5.2vw, 76px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-navy {
  background: linear-gradient(128deg, #3a1f06, var(--navy-deep) 58%, #6d3f12);
  position: relative; overflow: hidden;
}
.section-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(202,158,103,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202,158,103,0.12) 1px, transparent 1px);
  background-size: 64px 64px;
}
.section-navy > * { position: relative; z-index: 1; }
.section-navy .light, .section-navy p.light { color: rgba(255,255,255,0.85); }
.section-title {
  text-align: center; font-size: clamp(1.7rem, 2.9vw, 2.35rem);
  margin: 0 0 22px; letter-spacing: -0.018em;
}
.section-title::after {
  content: ""; display: block; width: 52px; height: 2px;
  background: var(--gold); margin: 20px auto 0;
}
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }
.section-title.light { color: #fff; }
.sub-title { font-size: 1.4rem; margin: 1.8rem 0 1rem; }
.sub-title:first-child { margin-top: 0; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--ink); line-height: 1.7; }
.centered-lead { max-width: 66ch; margin: 0 auto 42px; text-align: center; font-size: 1.06rem; color: var(--muted); }
.centered-lead.light { color: rgba(255,255,255,0.82); }
.page-head {
  background: linear-gradient(128deg, #3a1f06, var(--navy-deep) 58%, #6d3f12);
  padding: clamp(56px, 7vw, 84px) 0 clamp(48px, 6vw, 68px);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(rgba(202,158,103,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202,158,103,0.11) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-head > * { position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.7rem); display: flex; align-items: center; gap: 12px; letter-spacing: -0.02em; }
.page-head .breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.09em; }
.page-head .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-head .project-meta { margin-top: 14px; }
.page-head.restricted { border-bottom: 3px solid var(--gold); }
.restricted-bar { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.restricted-bar a { color: var(--gold-soft); }

/* ================= Cartes ================= */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 44px 0; }
.cards-3.compact { gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow 0.32s var(--ease), transform 0.32s var(--ease), border-color 0.32s var(--ease);
}
.pad-card { padding: 32px; }
.mini-card { padding: 24px; }
.mini-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.mini-card p { margin: 6px 0 0; font-size: 0.93rem; color: var(--muted); }
.pillar-card { padding: 40px 32px; text-align: center; position: relative; }
.pillar-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform 0.36s var(--ease);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card h3 { margin: 18px 0 12px; font-size: 1.22rem; }
.pillar-card p { color: var(--muted); margin: 0; font-size: 0.96rem; }
.card-icon { color: var(--gold); display: inline-flex; }
.card-icon.gold { color: var(--gold-soft); }
.centered-icon { display: flex; justify-content: center; margin-bottom: 8px; }

/* ================= Méthodologie ================= */
.method-strip {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin: 30px 0 34px;
}
.method-step {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 50px;
  padding: 10px 22px 10px 10px; text-decoration: none;
  box-shadow: var(--shadow);
}
.method-strip.clickable .method-step:hover { border-color: var(--gold); box-shadow: var(--shadow-hover); }
.method-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.method-label { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.method-arrow { color: var(--gold); font-size: 1.3rem; }
.phase-block { position: relative; }
.phase-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; position: relative; }
.phase-head h2 { margin: 0; font-size: 1.5rem; }
.phase-watermark {
  position: absolute; right: 0; top: -34px;
  font-family: var(--font-display); font-size: 7rem; font-weight: 700;
  color: rgba(74, 42, 11, 0.05); line-height: 1; pointer-events: none;
}

/* ================= Offre : services par phase ================= */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.service-card { padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.22s, box-shadow 0.22s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-card h2 { font-size: 1.22rem; margin: 0; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.96rem; flex: 1; }
.service-head { display: flex; align-items: center; gap: 14px; }
.service-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: var(--gold-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
}

/* ================= Secteurs ================= */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0; }
.sector-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; text-decoration: none; box-shadow: var(--shadow);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.sector-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.36s var(--ease);
}
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.sector-card:hover::after { transform: scaleX(1); }
.sector-card .card-icon { transition: transform 0.36s var(--ease); }
.sector-card:hover .card-icon { transform: translateY(-2px); }
.sector-card h2, .sector-card h3 { margin: 6px 0 0; font-size: 1.16rem; }
.sector-card p { margin: 0; color: var(--muted); font-size: 0.94rem; flex: 1; }

/* ================= Gouvernance ================= */
.gov-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 40px 0; }
.gov-point { text-align: center; padding: 10px; }
.gov-point h3 { color: var(--gold-soft); margin: 12px 0 8px; font-size: 1.05rem; }
.gov-point p { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin: 0; }
.anchors-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.anchors-nav a {
  padding: 7px 18px; border: 1px solid var(--line); border-radius: 50px;
  text-decoration: none; font-size: 0.88rem; font-weight: 600; color: var(--navy);
}
.anchors-nav a:hover { border-color: var(--gold); color: var(--gold); }
.gov-block { position: relative; }
.gov-block-icon { color: var(--gold); margin-bottom: 6px; }

/* ================= Chiffres ================= */
.figures-band {
  background: linear-gradient(128deg, #3a1f06, var(--navy-deep) 58%, #6d3f12);
  padding: clamp(52px, 6vw, 76px) 0; position: relative; overflow: hidden;
}
.figures-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(202,158,103,0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202,158,103,0.11) 1px, transparent 1px);
  background-size: 60px 60px;
}
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; position: relative; z-index: 1; }
.figure { position: relative; padding: 4px 14px; }
.figure + .figure::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 1px; background: rgba(255,255,255,0.14);
}
.figure-num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.3rem); font-weight: 700;
  color: var(--gold-soft); line-height: 1.05; letter-spacing: -0.02em;
}
.figure-label {
  display: block; color: rgba(255,255,255,0.66); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.11em; margin-top: 12px;
}

/* ================= Split / mission ================= */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: center; }
.map-mini svg { width: 100%; max-width: 420px; height: auto; }
.map-mini path { fill: #e8e1d8; stroke: #fff; stroke-width: 0.6; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card {
  background: #fff; border-top: 3px solid var(--gold); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px;
}
.mv-card h2 { margin: 0 0 12px; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ================= Projets ================= */
.project-card { display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.project-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); position: relative; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-thumb.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #f5efe7, #fdfbf8);
}
.project-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-body h3 { margin: 4px 0; font-size: 1.12rem; }
.project-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.project-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.project-actions { display: flex; gap: 18px; margin-top: auto; padding-top: 10px; }
.badge {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--navy); color: #fff;
}
.badge-light { background: rgba(202, 158, 103, 0.15); color: #8a6f3c; }
.badge-ghost { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.badge-hub { background: var(--gold); color: #fff; }
.badge-presence { background: var(--navy); color: #fff; }
.badge-extension { background: #fff; color: var(--navy); border: 1px dashed var(--navy); }
.badge-type-actualite { background: var(--navy); color: #fff; }
.badge-type-insight { background: var(--gold); color: #fff; }
.badge-type-rex { background: #3e6b52; color: #fff; }
.project-layout { display: grid; grid-template-columns: 1.9fr 1fr; gap: 44px; align-items: start; }
.project-hero-img { margin: 0 0 26px; border-radius: var(--radius); overflow: hidden; }
.side-card p { margin: 0 0 16px; font-size: 0.95rem; }
.side-card strong { color: var(--navy); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-grid figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 5px; }

/* ================= Filtres ================= */
.filters-bar {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-end;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.filter { display: flex; flex-direction: column; gap: 5px; min-width: 160px; flex: 1; }
.filter label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.filter select {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.92rem; background: #fff; color: var(--ink);
}
.filter-actions { flex-direction: row; align-items: center; gap: 14px; min-width: auto; flex: 0; }
.results-count { margin: 18px 4px 6px; color: var(--muted); font-size: 0.95rem; }
.results-count strong { color: var(--navy); font-size: 1.1rem; }
.empty-state {
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 44px; text-align: center; color: var(--muted);
}

/* ================= Actualités ================= */
.news-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.news-item { padding: 26px 30px; transition: box-shadow 0.22s; }
.news-item:hover { box-shadow: var(--shadow-hover); }
.news-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 0.88rem; margin: 0 0 8px; }
.page-head .news-meta { color: rgba(255,255,255,0.75); margin-top: 12px; }
.news-item h2 { margin: 4px 0 8px; font-size: 1.3rem; }
.news-item h2 a { text-decoration: none; }
.news-item h2 a:hover { color: var(--gold); }
.related-list { list-style: none; padding: 0; }
.related-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.related-list time { color: var(--muted); font-size: 0.88rem; }
.comment { margin-bottom: 14px; }
.comment-head { margin: 0 0 6px; color: var(--muted); font-size: 0.9rem; }
.comment p:last-child { margin: 0; }

/* ================= Ressources ================= */
.resource-cat { margin-bottom: 40px; }
.resource-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.resource-item { display: flex; align-items: center; gap: 20px; padding: 20px 24px; }
.resource-icon { color: var(--gold); flex-shrink: 0; }
.resource-body { flex: 1; }
.resource-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.resource-body p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.resource-item .btn .icon { vertical-align: -3px; }

/* ================= Contact ================= */
.contact-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 40px; align-items: stretch; }
/* La colonne de droite s'étire sur la hauteur du formulaire : la carte occupe
   l'espace restant au lieu de déborder et de laisser un trou sous le formulaire. */
.contact-side { display: flex; flex-direction: column; }
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tab-buttons { display: flex; border-bottom: 1px solid var(--line); }
.tab-buttons button {
  flex: 1; padding: 16px 10px; background: var(--bg-alt); border: none;
  font-family: inherit; font-size: 0.92rem; font-weight: 600; color: var(--muted);
  cursor: pointer; border-bottom: 3px solid transparent; transition: 0.2s;
}
.tab-buttons button.active { background: #fff; color: var(--navy); border-bottom-color: var(--gold); }
.tab-panel { display: none; padding: 28px; }
.tab-panel.active { display: block; }
.tab-intro { color: var(--muted); margin-top: 0; }

.std-form label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 14px; }
.std-form input[type="text"], .std-form input[type="email"], .std-form input[type="password"],
.std-form select, .std-form textarea {
  display: block; width: 100%; margin-top: 5px;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: #fff;
}
.std-form textarea { resize: vertical; }
.std-form input:focus, .std-form select:focus, .std-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(202, 158, 103, 0.15);
}
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-label { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.check-label input { margin-top: 4px; }
.form-notice { padding: 14px 18px; border-radius: var(--radius); font-weight: 500; }
.form-notice.success { background: #e8f4ea; color: #1e6b34; border: 1px solid #bfe0c8; }
.form-notice.error { background: #fbeaea; color: #a03030; border: 1px solid #ecc8c8; }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; }
.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; flex: 1 1 0; min-height: 280px; }
.map-embed iframe, .map-embed img { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }

/* ================= Réseau pays ================= */
.network-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.network-map svg { width: 100%; height: auto; }
.network-map path { fill: #ece5db; stroke: #fff; stroke-width: 0.7; transition: fill 0.2s; }
.network-map path.st-hub { fill: var(--gold); cursor: pointer; }
.network-map path.st-presence { fill: var(--navy); cursor: pointer; }
.network-map path.st-extension { fill: #b09472; cursor: pointer; }
.network-map path.active { stroke: var(--gold); stroke-width: 2; }
.network-map path.st-hub:hover, .network-map path.st-presence:hover, .network-map path.st-extension:hover { opacity: 0.75; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-item::before { content: ""; width: 13px; height: 13px; border-radius: 3px; display: inline-block; }
.legend-hub::before { background: var(--gold); }
.legend-presence::before { background: var(--navy); }
.legend-extension::before { background: #b09472; }
.network-info h2 { margin-top: 0; }
.map-hint { color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 0; }
.country-list { margin-top: 46px; }
body.js .country-list { display: none; }        /* liste = repli sans JavaScript */
.country-data h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ================= Investisseurs ================= */
.login-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.login-card h2 { margin-top: 0; }
.confidential-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fdf9f1; border: 1px solid #ecd9b4; border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 26px;
}
.confidential-note .icon { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.confidential-note p { margin: 0; font-size: 0.92rem; color: #6b5a35; }
.opp-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.opp-card h3 { margin: 0; font-size: 1.12rem; }
.opp-data { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 8px 0; padding: 14px; background: var(--bg-alt); border-radius: var(--radius); }
.opp-data div { display: flex; flex-direction: column; }
.opp-data dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; }
.opp-data dd { margin: 0; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.investors-band { border-top: 3px solid var(--gold); }

/* ================= Texte riche ================= */
.rich-text h2 { font-size: 1.45rem; margin: 1.8em 0 0.6em; }
.rich-text h3 { font-size: 1.15rem; margin: 1.5em 0 0.5em; }
.rich-text ul { padding-left: 1.3em; }
.rich-text li { margin: 0.4em 0; }
.rich-text blockquote {
  margin: 1.5em 0; padding: 16px 24px;
  border-left: 4px solid var(--gold); background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--navy);
}
.rich-text blockquote p { margin: 0; }
.rich-text figure { margin: 1.6em 0; }
.rich-text figure img { border-radius: var(--radius); }
.rich-text figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* ================= 404 ================= */
.notfound { padding: 60px 0; }
.notfound-code { font-family: var(--font-display); font-size: 6rem; color: var(--line); margin: 0; font-weight: 700; }

/* ================= Pied de page ================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.8); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding: 60px 24px 44px; }
.footer-col h3 { color: var(--gold-soft); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 16px; font-family: var(--font-sans); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col p { font-size: 0.92rem; }
.footer-tagline { font-family: var(--font-sans); font-style: normal; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 14px; }
.footer-hours { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 10px 12px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff;
  font-family: inherit; font-size: 0.9rem; min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom .credit a { color: var(--gold-soft); text-decoration: none; font-weight: 600; }
.footer-bottom .credit a:hover { text-decoration: underline; }

/* ================= Responsive ================= */
@media (max-width: 1120px) {
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-hover);
    transform: translateY(-130%); transition: transform 0.28s ease; z-index: 90;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; padding: 12px 20px; gap: 0; }
  .main-nav a { padding: 13px 8px; font-size: 1rem; border-bottom: 1px solid var(--bg-alt); }
  .nav-toggle { display: block; }
  .investor-link { display: none; }
  .cards-3, .sector-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .gov-points { grid-template-columns: repeat(2, 1fr); }
  .figures-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .split, .project-layout, .contact-layout, .network-layout, .mission-vision, .two-cols, .login-layout { grid-template-columns: 1fr; }
  .map-embed { flex: none; height: 320px; }
  .split-media { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 52px 0; }
  .hero-inner { padding: 70px 24px 80px; }
  .cards-3, .sector-grid, .gallery-grid, .gov-points { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .filters-bar { flex-direction: column; align-items: stretch; }
  .filter { min-width: 100%; }
  .method-arrow { display: none; }
  .method-strip { flex-direction: column; align-items: stretch; }
  .method-step { justify-content: flex-start; }
  .tab-buttons { flex-direction: column; }
  .tab-buttons button { border-left: 3px solid transparent; border-bottom: 1px solid var(--line); text-align: left; padding: 13px 16px; }
  .tab-buttons button.active { border-left-color: var(--gold); border-bottom-color: var(--line); }
  .footer-grid { grid-template-columns: 1fr; padding: 44px 24px 30px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .header-inner { gap: 12px; }
  .brand-text { font-size: 1rem; }
}

/* ================= Impression ================= */
@media print {
  .site-header, .site-footer, .hero-ctas, .filters-bar, .nav-toggle { display: none; }
  body { font-size: 12pt; }
}

/* ================= Pôles métiers ================= */
.poles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin: 36px 0; }
.poles-grid.home-poles { grid-template-columns: repeat(auto-fit, minmax(198px, 1fr)); gap: 20px; }
.poles-grid.home-poles .pole-body { padding: 18px 20px 22px; }
.poles-grid.home-poles .pole-visual { aspect-ratio: 16/6; }
.poles-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.pole-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column;
  border-top: 3px solid var(--pole, var(--navy));
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.pole-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.pole-visual { aspect-ratio: 16/7; overflow: hidden; background: var(--bg-alt); position: relative; }
.pole-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pole-card:hover .pole-visual img { transform: scale(1.05); }
.pole-visual.placeholder {
  background: color-mix(in srgb, var(--pole, #0e2841) 7%, #fbf8f4);
}
.pole-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pole-brand {
  display: inline-block; align-self: flex-start;
  background: var(--pole, var(--navy)); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.11em;
  padding: 4px 12px; border-radius: 2px;
}
.pole-body h2, .pole-body h3 { margin: 4px 0 0; font-size: 1.12rem; }
.pole-tagline { font-family: var(--font-sans); font-style: normal; font-weight: 600; color: var(--pole, var(--navy)); margin: 0; }
.pole-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.pole-body .text-link { margin-top: auto; padding-top: 8px; color: var(--pole, var(--gold)); }

.pole-head { background: linear-gradient(140deg, var(--navy-deep), var(--navy)); border-bottom: 4px solid var(--pole, var(--gold)); }
.pole-head-brand {
  display: inline-block; background: var(--pole, var(--gold)); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 14px; border-radius: 3px; margin: 0 0 12px;
}
.pole-head-tagline { font-family: var(--font-sans); font-style: normal; font-weight: 500; font-size: 1.2rem; color: var(--gold-soft); margin: 14px 0 0; }
.pole-hero { margin: 0; max-height: 380px; overflow: hidden; }
.pole-hero img { width: 100%; height: 380px; object-fit: cover; }
.activities-list ul { list-style: none; padding: 0; }
.activities-list li {
  position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line);
}
.activities-list li::before {
  content: ""; position: absolute; left: 6px; top: 17px;
  width: 8px; height: 8px; border-radius: 2px; background: var(--pole, var(--gold));
}
.pole-strip { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pole-chip {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--pole, var(--navy));
  border-radius: var(--radius); padding: 12px 20px; box-shadow: var(--shadow);
  color: var(--ink); transition: 0.2s;
}
.pole-chip:hover { border-color: var(--pole); box-shadow: var(--shadow-hover); }
.pole-chip-icon { color: var(--pole, var(--navy)); display: flex; }
.pole-chip small { color: var(--muted); font-size: 0.82rem; }

/* ================= Organigramme ================= */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-level { width: 100%; display: flex; justify-content: center; }
.org-connector { width: 2px; height: 26px; background: var(--line); }
.org-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 26px;
}
.org-box h3 { margin: 0 0 10px; font-size: 1.02rem; }
.org-top, .org-dg { max-width: 720px; width: 100%; text-align: left; border-top: 3px solid var(--navy); }
.org-dg { border-top-color: var(--gold); }
.org-row { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 22px; width: 100%; align-items: start; }
.org-center { border-top: 3px solid var(--gold); }
.org-innov { border-top: 3px solid #4a7c3f; }
.org-network { max-width: 720px; width: 100%; text-align: center; }
.org-poles { display: flex; flex-direction: column; gap: 10px; }
.org-pole {
  display: block; text-decoration: none; padding: 12px 16px; border-radius: 5px;
  background: var(--pole, var(--navy)); color: #fff; transition: 0.2s;
}
.org-pole:hover { filter: brightness(1.12); transform: translateX(3px); }
.org-pole strong { display: block; font-size: 1rem; letter-spacing: 0.04em; }
.org-pole span { font-size: 0.84rem; opacity: 0.85; }
.small-text { font-size: 0.9rem; }
.small-text ul { padding-left: 1.1em; margin: 0; }
.small-text li { margin: 4px 0; color: var(--muted); }

@media (max-width: 1120px) {
  .poles-grid { grid-template-columns: repeat(2, 1fr); }
  .org-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .poles-grid, .poles-grid.home-poles, .poles-grid.two { grid-template-columns: 1fr; }
  .pole-strip { flex-direction: column; }
}

/* ================= Hero avec photographie ================= */
.hero-photo {
  position: relative;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(115deg, rgba(43,24,7,0.94) 0%, rgba(74,42,11,0.84) 48%, rgba(74,42,11,0.58) 100%),
    var(--hero);
  background-size: cover;
  background-position: center;
}
.hero-photo::before, .hero-photo::after { display: none; }
.hero-photo .hero-inner { position: relative; z-index: 2; }

/* ================= Motifs architecturaux générés ================= */
.pattern-svg {
  display: block; width: 100%; height: 100%;
  position: absolute; inset: 0;
}
.project-thumb.placeholder .pattern-svg,
.pole-visual.placeholder .pattern-svg { opacity: 0.9; }
.project-card:hover .pattern-svg,
.pole-card:hover .pattern-svg { transform: scale(1.04); }
.pattern-svg { transition: transform 0.7s var(--ease), opacity 0.4s var(--ease); }

.hero-pattern {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; pointer-events: none;
}

/* ================= Entrées en scène (retenues) ================= */
/* La classe .reveal n'est posée par le JavaScript que si le navigateur sait
   observer le défilement : sans JavaScript, rien n'est jamais masqué. */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

.hero-inner > * { animation: heroIn 0.85s var(--ease) both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, body.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ================= Densité éditoriale ================= */
.eyebrow {
  display: block; font-family: var(--font-sans); font-size: 0.74rem;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.news-item { border-left: 3px solid transparent; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.news-item:hover { border-left-color: var(--gold); transform: translateX(3px); }
.news-item h2 a { transition: color 0.24s var(--ease); }
.news-meta { text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.75rem; }
.page-head .news-meta { text-transform: uppercase; }

.method-step { transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.method-strip .method-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.method-num { font-size: 1.05rem; }
.method-label { letter-spacing: 0.02em; }

.mv-card { transition: box-shadow 0.32s var(--ease), transform 0.32s var(--ease); }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.opp-card, .resource-item { transition: box-shadow 0.32s var(--ease), transform 0.32s var(--ease), border-color 0.32s var(--ease); }
.opp-card:hover, .resource-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.gov-point { padding: 18px 12px; }
.gov-point h3 { letter-spacing: 0.01em; }
.gov-point p { color: rgba(255,255,255,0.7); }

.footer-col h3 { font-size: 0.76rem; letter-spacing: 0.14em; }
.footer-grid { padding: clamp(52px, 6vw, 74px) 32px 48px; }
.site-footer { margin-top: 0; }
.footer-col a { transition: color 0.24s var(--ease); }

.split { gap: clamp(36px, 5vw, 64px); }
.map-mini svg { max-width: 460px; }

.pole-head-brand { letter-spacing: 0.14em; }
.pole-hero { position: relative; }
.pole-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,24,7,0.32), transparent 55%);
}

.badge-light { background: rgba(202, 158, 103, 0.16); color: #8a6f3c; }
.badge-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-title { max-width: none; }
  .figure + .figure::before { display: none; }
  .figures-grid { row-gap: 34px; }
}

/* Bandeau de motif d'un pôle sans photographie */
.pole-band {
  position: relative; height: clamp(150px, 17vw, 230px); overflow: hidden;
  background: color-mix(in srgb, var(--pole, #0e2841) 8%, #fbf8f4);
  border-bottom: 1px solid var(--line-soft);
}

/* Première section après un bandeau de titre : respiration mesurée */
.page-head + .section,
.pole-band + .section,
.pole-hero + .section { padding-top: clamp(44px, 5vw, 72px); }
.page-head + .section .container.narrow > :first-child { margin-top: 0; }

/* ══════════════════════════════════════════════════════════════
   REFONTE v3 — grammaire éditoriale : pleine largeur, asymétrie,
   titres à gauche précédés d'un surtitre.
   ══════════════════════════════════════════════════════════════ */

/* ---------- Surtitres ---------- */
.eyebrow { display: block; font-family: var(--font-sans); font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.eyebrow.light { color: var(--gold-soft); }
.eyebrow.gold  { color: var(--gold-soft); }

/* ---------- Tête de section alignée à gauche ---------- */
.section-head { max-width: 760px; margin: 0 0 clamp(34px, 4vw, 56px); }
.section-head .section-title { margin-bottom: 16px; }
.section-head .section-title::after { display: none; }
.section-lead { font-size: 1.08rem; color: var(--muted); margin: 0; max-width: 62ch; }
.section-lead.light { color: rgba(255,255,255,0.78); }

/* ---------- Manifeste ---------- */
.manifesto-lead {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.42; color: var(--navy); max-width: 24ch; margin: 0 0 clamp(40px, 5vw, 64px);
  letter-spacing: -0.015em;
}
.manifesto-lead::after { content: ""; display: block; width: 60px; height: 2px; background: var(--gold); margin-top: 30px; }
.num-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.num-row { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 22px; }
.num-index { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); line-height: 1; flex-shrink: 0; }
.num-body h3 { margin: 0 0 10px; font-size: 1.12rem; }
.num-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Section « feature » : image bord à bord + texte ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: #fff; }
.feature.reverse .feature-media { order: 2; }
.feature-media {
  margin: 0; position: relative; overflow: hidden;
  min-height: clamp(320px, 42vw, 580px);
  background: var(--bg-alt);
}
.feature-media img, .feature-media .pattern-svg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.feature-text { display: flex; align-items: center; padding: clamp(52px, 6vw, 100px) clamp(28px, 5vw, 88px); }
.feature-inner { max-width: 540px; }
.feature.reverse .feature-text { justify-content: flex-end; }
.feature-title { font-size: clamp(1.6rem, 2.7vw, 2.25rem); margin: 0 0 20px; letter-spacing: -0.018em; }
.feature-inner > p { color: var(--muted); }

/* ---------- Étapes numérotées ---------- */
.step-list { list-style: none; padding: 0; margin: 30px 0 30px; }
.step-list li { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.step-list li:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--gold); min-width: 26px; }
.step-label { font-weight: 600; color: var(--navy); }

/* ---------- Liste éditoriale (secteurs) ---------- */
.row-list { border-top: 1px solid var(--line); }
.row-item {
  display: grid; grid-template-columns: 54px 44px 1fr 30px; align-items: center; gap: 8px;
  padding: 26px 8px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.row-item:hover { background: var(--bg-alt); padding-left: 18px; }
.row-num { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.row-icon { color: var(--navy); display: flex; opacity: 0.65; }
.row-body { display: flex; flex-direction: column; gap: 5px; }
.row-title { font-family: var(--font-display); font-size: 1.18rem; color: var(--navy); line-height: 1.3; }
.row-text { color: var(--muted); font-size: 0.94rem; }
.row-arrow { color: var(--gold); font-size: 1.2rem; opacity: 0; transform: translateX(-8px); transition: 0.3s var(--ease); }
.row-item:hover .row-arrow { opacity: 1; transform: none; }

/* ---------- Référence mise en avant ---------- */
.project-feature {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; margin-bottom: 28px;
  transition: box-shadow 0.32s var(--ease), transform 0.32s var(--ease), border-color 0.32s var(--ease);
}
.project-feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.pf-media { position: relative; overflow: hidden; min-height: clamp(240px, 30vw, 400px); background: var(--bg-alt); }
.pf-media img, .pf-media .pattern-svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-feature:hover .pf-media img, .project-feature:hover .pf-media .pattern-svg { transform: scale(1.04); }
.pf-body { padding: clamp(30px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.pf-body h3 { margin: 4px 0; font-size: clamp(1.25rem, 1.9vw, 1.65rem); }
.pf-body p { margin: 0; color: var(--muted); }
.pf-body .text-link { margin-top: 8px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* ---------- Marque du pôle posée sur le visuel ---------- */
.pole-visual .pole-brand { position: absolute; left: 14px; bottom: 12px; z-index: 2; }
.poles-grid.home-poles .pole-visual { aspect-ratio: 16/9; }
.poles-grid.home-poles .pole-body { padding: 20px 22px 24px; }

/* ---------- Bandeaux sur photographie ---------- */
.figures-band.has-photo, .section-navy.has-photo {
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(118deg, rgba(43,24,7,0.95) 0%, rgba(74,42,11,0.86) 52%, rgba(74,42,11,0.7) 100%),
    var(--band);
  background-size: cover; background-position: center;
}
.figures-band.has-photo::before, .section-navy.has-photo::before { opacity: 0.28; }

/* ---------- Double appel : investisseurs & experts ---------- */
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 72px); }
.dual-col { border-top: 2px solid var(--gold); padding-top: 26px; }
.dual-col h2 { color: #fff; font-size: clamp(1.35rem, 2.1vw, 1.75rem); margin: 16px 0 12px; }
.dual-col p.light { color: rgba(255,255,255,0.78); }

/* ---------- Adaptations ---------- */
@media (max-width: 1120px) {
  .num-list { grid-template-columns: 1fr; gap: 0; }
  .num-row { padding: 22px 0; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .feature-media { min-height: 300px; }
  .feature-text { padding: clamp(40px, 6vw, 64px) 32px; }
  .feature.reverse .feature-text { justify-content: flex-start; }
  .project-feature { grid-template-columns: 1fr; }
  .cards-2, .dual-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .row-item { grid-template-columns: 40px 1fr; gap: 6px 12px; padding: 20px 4px; }
  .row-icon { display: none; }
  .row-arrow { display: none; }
  .manifesto-lead { max-width: none; }
}

/* Manifeste : la déclaration à gauche, les piliers à droite */
.manifesto { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 92px); align-items: start; }
.manifesto-lead { max-width: none; margin-bottom: 0; }
.manifesto .num-list { grid-template-columns: 1fr; gap: 0; }
.manifesto .num-row { padding: 24px 0; }
.manifesto .num-row:first-child { padding-top: 0; border-top: none; }
@media (max-width: 1120px) {
  .manifesto { grid-template-columns: 1fr; }
  .manifesto .num-row:first-child { padding-top: 24px; border-top: 1px solid var(--line); }
}

/* ================= Bloc d'identité légale ================= */
.identity-block {
  margin: 0 0 32px; padding: 26px 30px;
  background: var(--bg-alt); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
}
.identity-row { display: grid; grid-template-columns: 320px 1fr; gap: 8px 20px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.identity-row:last-child { border-bottom: none; }
.identity-block dt { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.identity-block dd { margin: 0; color: var(--ink); font-weight: 600; }
.identity-note { color: var(--muted); font-size: 0.94rem; margin: 0 0 34px; }
@media (max-width: 640px) { .identity-row { grid-template-columns: 1fr; gap: 2px; } }

/* ================= Portefeuille de références ================= */
.results-proof { color: var(--muted); margin-left: 10px; }
.results-proof strong { color: var(--gold); }
.ref-list { border-top: 1px solid var(--line); margin-top: 6px; }
.ref-row {
  display: grid; grid-template-columns: 62px 1fr 190px 130px;
  align-items: center; gap: 10px 16px;
  padding: 18px 10px; border-bottom: 1px solid var(--line);
  text-decoration: none; transition: background 0.28s var(--ease), padding 0.28s var(--ease);
}
.ref-row:hover { background: var(--bg-alt); padding-left: 18px; }
.ref-no { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--gold); letter-spacing: 0.04em; }
.ref-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ref-title { font-family: var(--font-display); font-weight: 700; font-size: 1.03rem; color: var(--navy); line-height: 1.35; }
.ref-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 0.86rem; }
.ref-client { font-weight: 600; }
.ref-period::before { content: "· "; }
.ref-amount { font-size: 0.9rem; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }
.ref-flag { text-align: right; }
.badge-proof { background: #2f6b46; color: #fff; }
.proof-note {
  display: flex; align-items: flex-start; gap: 10px;
  background: #f0f6f2; border-left: 3px solid #2f6b46; border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 14px; font-size: 0.88rem; color: #2c5c40; margin: 0 0 16px !important;
}
.proof-note .icon { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .ref-row { grid-template-columns: 48px 1fr; }
  .ref-amount { grid-column: 2; text-align: left; font-size: 0.86rem; }
  .ref-flag { grid-column: 2; text-align: left; }
}

/* ================= Organigramme 2026 ================= */
.org-level-dg { display: flex; align-items: stretch; justify-content: center; gap: 26px; flex-wrap: wrap; }
.org-level-dg .org-dg { max-width: 640px; }
.org-control {
  max-width: 300px; border: 1px dashed var(--gold); border-top: 3px solid var(--gold);
  background: #fdfaf5;
}
.org-control h3 { font-size: 0.98rem; }
.org-link-note { font-size: 0.78rem; color: var(--muted); font-style: italic; margin: 10px 0 0; }
.org-side-link { text-decoration: none; }
.org-side-link:hover { color: var(--gold); }
.org-nota {
  max-width: 760px; margin: 34px auto 0; padding: 18px 22px;
  background: var(--bg); border-left: 3px solid var(--line); color: var(--muted);
}
.org-nota p { margin: 0; }
@media (max-width: 1120px) { .org-level-dg { flex-direction: column; align-items: center; } .org-control { max-width: 640px; } }

/* ================= Équipe & experts ================= */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; border-top: 3px solid var(--pole, var(--navy));
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.person-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-alt); position: relative; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 0.7s var(--ease); }
.person-card:hover .person-photo img { transform: scale(1.04); }
.person-photo.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--pole, #683c11) 8%, #faf7f3);
}
.person-initials {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700;
  color: var(--pole, var(--navy)); opacity: 0.55; letter-spacing: 0.02em;
}
.person-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.person-body h3 { margin: 0; font-size: 1.05rem; }
.person-role { margin: 0; color: var(--pole, var(--navy)); font-weight: 600; font-size: 0.92rem; }
.person-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.person-spec { margin: 4px 0 0; color: var(--muted); font-size: 0.88rem; }
.person-head-role { color: var(--gold-soft); font-size: 1.1rem; margin: 10px 0 0; }
.person-side-photo { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; }
.person-side-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 22%; }
.ref-row-compact { grid-template-columns: 1fr 130px; }
.cv-note {
  display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem;
  color: var(--muted); background: var(--bg-alt); padding: 12px 14px;
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
}
.cv-note .icon { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
@media (max-width: 1120px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .people-grid { grid-template-columns: 1fr; } }

/* ================= Rythme vertical entre sections =================
   Deux sections qui se suivent additionnaient leur respiration : jusqu'à
   216 px de vide quand un chapô précède un bloc. La respiration est comptée
   une fois, pas deux. */
.section + .section,
.section + .feature,
.feature + .section,
.figures-band + .section,
.pole-band + .section { padding-top: clamp(38px, 4vw, 60px); }

/* Même fond de part et d'autre : rien ne justifie de doubler. */
.section:not(.section-alt):not(.section-navy):not(.figures-band) + .section:not(.section-alt):not(.section-navy):not(.figures-band),
.section-alt + .section-alt { padding-top: 0; }

/* Un chapô isolé n'a pas besoin d'autant d'air sous lui. */
.section > .container.narrow > p:last-child { margin-bottom: 0; }

/* Une section d'introduction — un conteneur étroit qui ne porte que des
   paragraphes — respire beaucoup moins dessous : elle annonce le bloc suivant,
   elle ne se referme pas sur elle-même.
   :has() n'est pas compris partout ; là où il ne l'est pas, on retombe
   simplement sur l'espacement normal. */
.section:has(> .container.narrow > p:only-child),
.section:has(> .container.narrow > p + p:last-child),
.section:has(> .container.narrow > p + p + p:last-child) {
  padding-bottom: clamp(24px, 2.8vw, 40px);
}

/* Après un grand bandeau sombre, le blanc qui suit doit rester une respiration,
   pas un trou. */
.hero + .section,
.hero + .feature,
.figures-band + .feature,
.section-navy + .section { padding-top: clamp(40px, 4.4vw, 62px); }
.feature-text { padding: clamp(44px, 5vw, 82px) clamp(28px, 5vw, 88px); }

/* Scènes générées : elles occupent tout leur cadre, comme une photographie. */
.scene-svg { display: block; width: 100%; height: 100%; position: absolute; inset: 0;
  transition: transform 0.7s var(--ease); }
.project-feature:hover .scene-svg, .pole-card:hover .scene-svg { transform: scale(1.03); }
