/* ============================================================
   Wenge Private Capital — Design System
   Three colors only: wenge wood (dark) · linen (light) · copper (accent)
   Everything below is a tint/shade/opacity of these three.
   ============================================================ */

:root {
  /* The three brand colors */
  --dark:       #1E140A;  /* wenge wood — locked from v34 reference */
  --light:      #F2ECE3;  /* soft linen / bone */
  --accent:     #A8784F;  /* cut-wenge copper */

  /* Surfaces — tints of light */
  --paper:      var(--light);
  --paper-deep: #E8DECF;
  --paper-warm: #E1D4BF;

  /* Ink — shades of dark, for text on light */
  --ink:        var(--dark);
  --ink-soft:   #4D3E33;
  --ink-muted:  #847263;

  /* Brand dark — shades of wenge, for dark surfaces */
  --wenge:      var(--dark);
  --wenge-deep: #1C1310;
  --wenge-mid:  #392A22;

  /* Brand accent — shades of copper */
  --gold:       var(--accent);
  --gold-light: #C9A87C;
  --gold-dim:   rgba(168,120,79,.16);

  /* Deepest dark, for hero/footer */
  --dark-mid:   #251A15;

  /* Utility */
  --line:       rgba(43,31,26,.1);
  --line-dark:  rgba(242,236,227,.09);
  --container:  1180px;

  /* CTA — accent on dark */
  --cta-bg:     var(--accent);
  --cta-fg:     var(--dark);

  /* "Parler à l'équipe" CTA — deep forest green, used sitewide on .btn--gold */
  --green:       #2F5D4E;
  --green-light: #3E7561;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}
p  { margin: 0 0 1.1em; }
a  { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--ink); color: var(--paper); padding: .6em 1em; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 1em;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow--on-dark { color: var(--gold-light); }
.eyebrow--on-dark::before { background: var(--gold-light); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 36em;
  line-height: 1.75;
}

.h-hero {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 13em;
}
.h-section {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.08;
  margin-bottom: 0.65em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 1.05em 2.2em;
  border: 1px solid var(--wenge);
  border-radius: 7px;
  background: transparent;
  color: var(--wenge);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .2s ease, box-shadow .3s ease;
  cursor: pointer;
}
.btn:hover { background: var(--wenge); color: var(--paper); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30,20,10,.16); }

/* Primary CTA — "Parler à l'équipe", sitewide */
.btn--gold {
  background: var(--green);
  border-color: var(--green);
  color: var(--light);
}
.btn--gold:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47,93,78,.32);
}

.btn--invert { border-color: rgba(255,255,255,.35); color: var(--paper); }
.btn--invert:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.link-arrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: .01em;
  color: var(--wenge);
  border-bottom: 1px solid var(--wenge);
  padding-bottom: .2em;
  display: inline-flex;
  gap: .5em;
  transition: gap .2s, color .2s, border-color .2s;
}
.link-arrow:hover { gap: .9em; color: var(--gold); border-color: var(--gold); }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: .01em;
  text-decoration: none;
}
.logo-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
}
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: .82em;
  letter-spacing: .01em;
  color: var(--gold-light);
}
.logo-pipe {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: .7rem;
  font-weight: 300;
  opacity: .35;
  margin: 0 .4em;
  vertical-align: middle;
  color: var(--gold);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background: rgba(242,236,227,.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease;
}
main#main { padding-top: 73px; }
.hero { margin-top: -73px; }
.site-header.is-transparent {
  background: rgba(30,20,10,.16);
  border-bottom-color: transparent;
}
.site-header.is-transparent .nav-links a,
.site-header.is-transparent .logo-mark,
.site-header.is-transparent .logo-sub { color: rgba(255,255,255,.92); }
.site-header.is-transparent .nav-toggle span,
.site-header.is-transparent .nav-toggle span::before,
.site-header.is-transparent .nav-toggle span::after { background: rgba(255,255,255,.92); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1em; padding-bottom: 1.1em;
}
.nav-links { display: flex; gap: clamp(1.4rem, 3vw, 2.6rem); }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: .35em;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--wenge); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px;
  position: relative; padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after  { top:  8px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: var(--paper);
  display: flex; flex-direction: column;
  justify-content: center; gap: 1.4rem;
  padding: 2rem clamp(1.25rem, 6vw, 3rem);
  transform: translateY(-100%);
  transition: transform .35s ease;
  z-index: 70;
}
body.nav-open .nav-overlay { transform: translateY(0); }
.nav-overlay a { font-family: 'Fraunces', Georgia, serif; font-size: clamp(2rem, 8vw, 3rem); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   HERO — dark, asymmetric layout, CEMAC map
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
  display: flex;
  align-items: center;
}

/* Africa watermark — bleeds off the right edge, full continent ghost + CEMAC gold */
.hero__map {
  position: absolute;
  right: -4vw; top: 50%;
  transform: translateY(-50%);
  width: clamp(460px, 58vw, 820px);
  height: clamp(500px, 66vw, 920px);
  pointer-events: none; user-select: none;
  z-index: 0;
  animation: mapFade 1.6s ease both;
}
.hero__map svg { width: 100%; height: 100%; display: block; }
.hero__map-ac { fill: rgba(255,255,255,.045); stroke: rgba(255,255,255,.08); stroke-width: .5; }
.hero__map-cc { fill: rgba(168,120,79,.2); stroke: rgba(168,120,79,.42); stroke-width: .6; }
@keyframes mapFade { from { opacity: 0; } to { opacity: 1; } }

.hero__content {
  position: relative; z-index: 2;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  max-width: 740px;
  will-change: transform, opacity;
}
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
.hero__content { animation: heroIn .9s ease-out .1s both; }
@media (prefers-reduced-motion: reduce) { .hero__content { animation: none; } }

.hero__kicker {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.2rem);
}
.hero__kicker-rule { width: 24px; height: .5px; background: var(--gold); flex-shrink: 0; }
.hero__kicker-text {
  font-size: .8rem; letter-spacing: .04em; text-transform: none;
  color: var(--gold); font-family: 'Inter', sans-serif; font-weight: 500;
}

.h-hero { color: rgba(255,255,255,.95); margin-bottom: clamp(1.6rem, 3vw, 2.2rem); }
.hero__sub {
  color: rgba(255,255,255,.5);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  max-width: 30em;
  margin-bottom: clamp(2.2rem, 4vw, 3rem);
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 800px) {
  .hero__map { width: clamp(300px, 80vw, 460px); right: -20vw; opacity: .8; }
  .hero__content { max-width: 100%; transform: translateY(-14px); }
  .h-hero { margin-bottom: clamp(2.6rem, 9vw, 3.4rem); }
}

/* ============================================================
   MARQUEE — scannable data strip
   ============================================================ */
.marquee {
  background: var(--wenge);
  padding: clamp(1.6rem, 3.5vw, 2.4rem) 0;
}
.marquee__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}
.marquee__item {
  display: flex;
  align-items: center;
  gap: .9rem;
  position: relative;
  padding-left: clamp(2rem, 6vw, 4.5rem);
}
.marquee__item:first-child { padding-left: 0; }
.marquee__item:not(:first-child)::before {
  content: '';
  position: absolute; left: calc(clamp(2rem, 6vw, 4.5rem) / -2);
  top: 50%; transform: translate(-50%, -50%);
  width: .5px; height: 28px;
  background: rgba(255,255,255,.15);
}
@media (max-width: 700px) {
  .marquee__row { flex-direction: column; gap: 1.1rem; }
  .marquee__item, .marquee__item:first-child { padding-left: 0; }
  .marquee__item:not(:first-child)::before { display: none; }
}
.marquee__icon {
  width: 26px; height: 26px; flex-shrink: 0;
  fill: none; stroke: var(--gold-light); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.marquee__text { display: flex; flex-direction: column; }
.marquee__val {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  color: var(--gold-light);
  font-style: italic;
  line-height: 1.3;
}
.marquee__lbl {
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: none;
  color: rgba(255,255,255,.42);
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
}

/* ---------- Section rhythm ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--deep { background: var(--paper-deep); }
.section--dark { background: var(--wenge-deep); color: var(--paper); }
.section--dark .h-section { color: var(--paper); }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .eyebrow::before { background: var(--gold); }

/* ---------- Split: image with text ---------- */
.split {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--flip .split__media { order: 2; }
.split--flip .split__content { order: 1; }
.split__media {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30,20,10,.22), 0 6px 18px rgba(30,20,10,.12);
}
.split__caption {
  margin-top: .7em;
  font-size: .75rem;
  color: var(--ink-muted);
  letter-spacing: .03em;
  font-style: italic;
}
.split__content p { color: var(--ink-soft); }

@media (max-width: 980px) {
  .split { grid-template-columns: .8fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media,
  .split--flip .split__content { order: initial; }
  .split__media {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    max-width: 420px; margin: 0 auto; border-radius: 14px; display: block;
  }
  .split__photo { display: block; width: 100%; height: 100%; }
}
@supports not (aspect-ratio: 1 / 1) {
  .split__media { height: 320px; }
  @media (max-width: 760px) {
    .split__media { height: 220px; }
  }
}

/* Generated visuals — cinematic dark gradient, soft grain, refined copper line mark */
.split__media {
  position: relative;
  background: radial-gradient(120% 140% at 20% 0%, var(--wenge-mid) 0%, var(--wenge-deep) 60%, var(--dark-mid) 100%);
  overflow: hidden;
}
.split__photo {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(.22) saturate(1.15) hue-rotate(-8deg) contrast(1.04);
}
.split__media::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(150deg, rgba(255,255,255,0) 35%, rgba(0,0,0,.32) 100%),
    radial-gradient(140% 120% at 50% 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .9;
}
.split__media::after {
  content: "";
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30% auto;
  opacity: .85;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.4));
}
/* dette + capital — balance scale, etched technical-drawing style */
.media--a::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A8784F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='100' y1='26' x2='100' y2='158'/%3E%3Ccircle cx='100' cy='24' r='3' fill='%23A8784F' stroke='none'/%3E%3Cline x1='38' y1='54' x2='162' y2='54'/%3E%3Cline x1='38' y1='50' x2='38' y2='58'/%3E%3Cline x1='162' y1='50' x2='162' y2='58'/%3E%3Cline x1='38' y1='54' x2='30' y2='94'/%3E%3Cline x1='162' y1='54' x2='170' y2='94'/%3E%3Cpath d='M16 94 a22 13 0 0 0 28 0'/%3E%3Cpath d='M156 94 a22 13 0 0 0 28 0'/%3E%3Cline x1='74' y1='162' x2='126' y2='162'/%3E%3Cline x1='100' y1='158' x2='100' y2='162'/%3E%3C/g%3E%3C/svg%3E"); }
/* dossier validé / accompagnement — document, etched */
.media--b::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A8784F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M58 30 H128 L150 52 V168 H58 Z'/%3E%3Cpath d='M128 30 V52 H150'/%3E%3Cline x1='74' y1='76' x2='134' y2='76'/%3E%3Cline x1='74' y1='94' x2='134' y2='94'/%3E%3Cline x1='74' y1='112' x2='110' y2='112'/%3E%3Cpath d='M74 138 L88 152 L126 116'/%3E%3C/g%3E%3C/svg%3E"); }

/* nos coordonnées — enveloppe, etched */
.media--g::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A8784F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='38' y='58' width='124' height='88'/%3E%3Cpath d='M38 58 L100 108 L162 58'/%3E%3Cline x1='100' y1='150' x2='100' y2='162'/%3E%3Cline x1='84' y1='156' x2='116' y2='156'/%3E%3C/g%3E%3C/svg%3E"); }
/* fondateurs / partenariat — convergence mark, etched */
.media--c::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A8784F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='30' y1='152' x2='170' y2='152'/%3E%3Cline x1='40' y1='152' x2='98' y2='68'/%3E%3Cline x1='160' y1='152' x2='102' y2='68'/%3E%3Ccircle cx='100' cy='66' r='5' fill='%23A8784F' fill-opacity='0.22'/%3E%3Ccircle cx='40' cy='152' r='3' fill='%23A8784F' stroke='none'/%3E%3Ccircle cx='160' cy='152' r='3' fill='%23A8784F' stroke='none'/%3E%3C/g%3E%3C/svg%3E"); }
/* élevage avicole — épi, étude botanique */
.media--d::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A8784F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='100' y1='38' x2='100' y2='168'/%3E%3Ccircle cx='100' cy='36' r='2.5' fill='%23A8784F' stroke='none'/%3E%3Cpath d='M100 54 q-22 4 -26 26 M100 54 q22 4 26 26'/%3E%3Cpath d='M100 84 q-22 4 -26 26 M100 84 q22 4 26 26'/%3E%3Cpath d='M100 114 q-22 4 -26 26 M100 114 q22 4 26 26'/%3E%3Cpath d='M100 144 q-16 3 -19 19 M100 144 q16 3 19 19'/%3E%3C/g%3E%3C/svg%3E"); }
/* atelier de transformation — engrenage, plan technique */
.media--e::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A8784F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='100' cy='100' r='40' stroke-dasharray='1.5 5' stroke-width='1'/%3E%3Ccircle cx='100' cy='100' r='32'/%3E%3Ccircle cx='100' cy='100' r='10'/%3E%3Cline x1='132' y1='100' x2='138' y2='100'/%3E%3Cline x1='122.6' y1='77.4' x2='126.9' y2='73.1'/%3E%3Cline x1='100' y1='68' x2='100' y2='62'/%3E%3Cline x1='77.4' y1='77.4' x2='73.1' y2='73.1'/%3E%3Cline x1='68' y1='100' x2='62' y2='100'/%3E%3Cline x1='77.4' y1='122.6' x2='73.1' y2='126.9'/%3E%3Cline x1='100' y1='132' x2='100' y2='138'/%3E%3Cline x1='122.6' y1='122.6' x2='126.9' y2='126.9'/%3E%3C/g%3E%3C/svg%3E"); }
/* réseau de distribution — routes commerciales, etched */
.media--f::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A8784F' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M46 150 Q90 90 132 56'/%3E%3Cpath d='M132 56 Q150 100 164 140'/%3E%3Cpath d='M46 150 L164 140' stroke-dasharray='1.5 5' stroke-opacity='0.45' stroke-width='1'/%3E%3Ccircle cx='46' cy='150' r='4' fill='%23A8784F' fill-opacity='0.25'/%3E%3Ccircle cx='132' cy='56' r='5' fill='%23A8784F' fill-opacity='0.3'/%3E%3Ccircle cx='164' cy='140' r='4' fill='%23A8784F' fill-opacity='0.25'/%3E%3C/g%3E%3C/svg%3E"); }
/* partenaires — cercles entrelacés, marque de co-investissement, etched */
.media--h::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A8784F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='82' cy='100' r='40'/%3E%3Ccircle cx='118' cy='100' r='40'/%3E%3Ccircle cx='100' cy='100' r='3' fill='%23A8784F' fill-opacity='0.35' stroke='none'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- Rich text ---------- */
.prose { max-width: 680px; margin: 0 auto; }
.prose > p { font-size: 1.05rem; color: var(--ink-soft); }
.prose > p:first-of-type:not(.lead)::first-letter {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3.4em;
  float: left;
  line-height: .85;
  padding: .05em .12em 0 0;
  color: var(--wenge);
}
.pull-quote {
  position: relative;
  margin: 2em 0;
  padding-left: 1.5em;
  border-left: 2px solid var(--gold);
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  line-height: 1.4;
  color: var(--wenge);
}
.pull-quote::before {
  content: '\201C';
  position: absolute;
  left: .08em; top: -.3em;
  font-family: 'Fraunces', Georgia, serif;
  font-style: normal;
  font-weight: 600;
  font-size: 2.1em;
  color: var(--gold);
  opacity: .55;
  line-height: 1;
}
.prose--center { text-align: center; }
.prose--center .pull-quote { border-left: none; padding-left: 0; padding-top: 1.1em; }
.prose--center .pull-quote::before { left: 50%; transform: translateX(-50%); top: -.15em; }
.section--dark .pull-quote { color: var(--gold-light); border-color: var(--gold); }
.section--dark .pull-quote::before { color: var(--gold); }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item > summary {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.4em .2em;
  cursor: pointer; list-style: none;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--wenge);
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__icon {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.accordion__item[open] > summary .accordion__icon { transform: rotate(45deg); }
.accordion__panel { padding: 0 .2em 1.6em; max-width: 640px; }
.accordion__panel p { color: var(--ink-soft); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stats__item {
  padding: .4em clamp(1rem, 3vw, 2rem);
  border-left: 1px solid var(--line);
}
.stats__item:first-child { border-left: none; padding-left: .2em; }
.stats__number {
  position: relative;
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1;
  color: var(--wenge);
  padding-bottom: .3em;
}
.stats__number::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--gold);
}
.stats__label {
  font-size: .82rem; letter-spacing: .01em;
  text-transform: none; color: var(--ink-muted);
  margin-top: .5em; max-width: 12em;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .stats__item { border-left: none; padding-left: .2em; }
}

/* ---------- Page intro ---------- */
.page-intro { padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--accent);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr .8fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-blurb { color: rgba(255,255,255,.4); max-width: 26em; margin-top: .8em; font-size: .92rem; }
.footer-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: .8rem; letter-spacing: .02em;
  text-transform: none; color: var(--gold);
  margin-bottom: 1.1em; font-weight: 500;
}
.footer-col ul li { margin-bottom: .7em; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
  border-top: .5px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  font-size: .72rem; color: rgba(255,255,255,.3); letter-spacing: .03em;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2.2rem 2rem; } }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
/* ============================================================
   CONVERSATION FUNNEL — "Parler à l'équipe"
   ============================================================ */
.conv-lock { overflow: hidden; }

.conv-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(40,18,22,.45);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(0px, 4vw, 2rem);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.conv-overlay.open { opacity: 1; pointer-events: all; }

.conv-panel {
  width: 100%; max-width: 560px;
  height: min(720px, 100%);
  background: linear-gradient(165deg, #fffaf6 0%, #fdf3ef 45%, #fbeee8 100%);
  color: var(--ink);
  display: flex; flex-direction: column;
  border-top: 3px solid var(--gold);
  border-radius: 22px;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform .35s var(--ease, ease);
  box-shadow: 0 30px 90px rgba(120,40,60,.22), 0 4px 18px rgba(120,40,60,.12);
}
.conv-overlay.open .conv-panel { transform: translateY(0); }
@media (max-width: 640px) {
  .conv-overlay { padding: 0; }
  .conv-panel { max-width: none; height: 100%; border-radius: 0; }
}

.conv-head {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: .5px solid rgba(168,120,79,.18);
  background: rgba(255,255,255,.4);
}
.conv-close {
  background: none; border: none; cursor: pointer;
  color: var(--ink-muted); font-size: .95rem;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, background .2s;
}
.conv-close:hover { color: var(--ink); background: rgba(168,120,79,.12); }

.conv-body {
  flex: 1; overflow-y: auto; scroll-behavior: smooth;
  padding: 1.5rem 1.5rem 1.9rem;
  display: flex; flex-direction: column; gap: 1rem;
  background: transparent;
}

.conv-msg { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; max-width: 90%; }
.conv-msg.in { opacity: 1; transform: translateY(0); }
.conv-msg--bot p {
  margin: 0; background: #fff;
  border-left: 2px solid var(--gold);
  border-radius: 4px 16px 16px 16px;
  padding: .85rem 1.1rem; font-size: .92rem; line-height: 1.6;
  color: var(--ink-soft);
  box-shadow: 0 2px 10px rgba(120,40,60,.06);
}
.conv-msg--bot.conv-msg--reply p { border-left-color: rgba(168,120,79,.3); color: var(--ink-muted); font-style: italic; font-family: 'Fraunces', Georgia, serif; font-size: .95rem; background: transparent; box-shadow: none; }
.conv-msg--bot.conv-msg--end p { border-left-color: var(--gold); color: var(--ink); background: linear-gradient(135deg, var(--paper-warm), #fbe9e2); font-weight: 500; }
.conv-msg--user { align-self: flex-end; }
.conv-msg--user span {
  display: inline-block; background: linear-gradient(135deg, var(--gold-dim), #f4dccf);
  border: .5px solid rgba(168,120,79,.35);
  border-radius: 16px 4px 16px 16px;
  color: var(--ink);
  padding: .65rem 1rem; font-size: .88rem; line-height: 1.5;
}

.conv-choices {
  display: flex; flex-wrap: wrap; gap: .55rem;
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.conv-choices.in { opacity: 1; transform: translateY(0); }
.conv-choices.done .conv-choice { opacity: .35; cursor: default; }
.conv-choice {
  font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 500;
  background: #fff; border: 1px solid rgba(168,120,79,.22);
  border-radius: 20px;
  color: var(--ink-soft);
  padding: .6rem 1.1rem; cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s, color .2s, box-shadow .2s;
}
.conv-choice:hover:not(:disabled) { border-color: var(--gold); background: var(--gold-dim); color: var(--ink); box-shadow: 0 2px 10px rgba(168,120,79,.18); }

.conv-capture {
  display: flex; flex-direction: column; gap: .65rem;
  background: rgba(255,255,255,.6); padding: 1.2rem;
  border-radius: 16px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.conv-capture.in { opacity: 1; transform: translateY(0); }
.conv-input {
  background: #fff; border: 1px solid rgba(168,120,79,.25);
  border-radius: 10px;
  color: var(--ink); padding: .75rem .9rem; font-size: .9rem;
  font-family: 'Inter', sans-serif; outline: none; transition: border-color .2s, box-shadow .2s;
}
.conv-input::placeholder { color: var(--ink-muted); }
.conv-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,120,79,.14); }
.conv-submit {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)); border: none; color: var(--dark);
  border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 600;
  padding: .8rem 1rem; cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.conv-submit:hover { box-shadow: 0 6px 16px rgba(168,120,79,.32); transform: translateY(-1px); }
.conv-submit:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.conv-skip {
  background: none; border: none; color: var(--ink-muted);
  font-size: .8rem; text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; align-self: center; padding: .2rem;
}

/* ============================================================
   ARTICLES & FICHES — shared components
   ============================================================ */

/* Breadcrumb */
.crumb {
  font-size: .78rem; color: var(--ink-muted); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: .5em; flex-wrap: wrap;
}
.crumb a { color: var(--ink-muted); transition: color .2s; }
.crumb a:hover { color: var(--gold); }
.crumb .sep { opacity: .4; }
.crumb .current { color: var(--ink-soft); }

/* Prose extras for long-form content */
.prose h2 {
  font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--ink); margin: 2.2em 0 .7em; line-height: 1.3;
}
.prose ul, .prose ol { margin: 1.2em 0; padding-left: 1.3em; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose dl.glossary { margin: 1.6em 0; }
.prose dl.glossary dt {
  font-family: 'Fraunces', Georgia, serif; font-style: italic; color: var(--wenge);
  font-size: 1.08rem; margin-top: 1.6em;
}
.prose dl.glossary dd { color: var(--ink-soft); margin-top: .35em; font-size: 1.02rem; line-height: 1.7; }

.article-cta {
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line);
  text-align: center;
}
.article-cta p { color: var(--ink-muted); font-size: .92rem; margin-bottom: 1.2rem; }
.article-back {
  display: block; text-align: center; margin-top: 2rem;
  font-size: .82rem; color: var(--ink-muted);
}
.article-back:hover { color: var(--gold); }

/* Filter strip (articles index) */
.filter-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 2.5rem; }
.filter-btn {
  font-family: 'Inter', sans-serif; font-size: .76rem; letter-spacing: .01em;
  color: var(--ink-soft); background: transparent; border: 1px solid var(--line);
  padding: .55rem .95rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active { background: var(--wenge); color: var(--paper); border-color: var(--wenge); }

/* Card grid (articles + fiches listings) */
.card-grid-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.content-card {
  background: var(--paper); padding: 1.7rem; display: flex; flex-direction: column;
  gap: .65rem; text-decoration: none; transition: background .2s;
  min-height: 170px;
}
.content-card:hover { background: var(--paper-deep); }
.content-card .cc-cat {
  font-size: .68rem; letter-spacing: .03em; color: var(--gold);
  font-family: 'Inter', sans-serif; font-weight: 500;
}
.content-card h3 {
  font-family: 'Fraunces', Georgia, serif; font-size: 1.05rem; color: var(--ink); line-height: 1.35;
  font-weight: 400;
}
.content-card p { font-size: .85rem; color: var(--ink-muted); line-height: 1.55; flex: 1; }
.content-card .cc-arr { font-size: .8rem; color: var(--ink-soft); margin-top: auto; }

/* Country fiche — stat band, sector grid, tiers */
.country-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin: 2rem 0 3rem;
}
@media (max-width: 700px) { .country-stats { grid-template-columns: repeat(2, 1fr); } }
.cs-cell { background: var(--paper); padding: 1.2rem 1rem; text-align: center; }
.cs-val { display: block; font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--wenge); }
.cs-label { display: block; font-size: .72rem; color: var(--ink-muted); margin-top: .3em; }

.sector-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem;
  margin: 1.5rem 0 3rem;
}
@media (max-width: 600px) { .sector-grid { grid-template-columns: 1fr; } }
.sector-cell { border-left: 2px solid var(--gold); padding-left: 1rem; }
.sector-name { font-family: 'Fraunces', Georgia, serif; font-size: 1rem; color: var(--ink); margin-bottom: .3em; }
.sector-desc { font-size: .88rem; color: var(--ink-muted); line-height: 1.55; }

/* ============================================================
   SCROLL REVEAL — gentle fade/rise as sections enter view
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
