/* =====================================================================
   CHAGRAMINING — Feuille de style principale (site PHP multi-pages)
   Design system repris fidèlement du site source (noir & or, éditorial).
   1. Tokens & base            6. Investisseurs & projections
   2. Navigation               7. Engagement ESG / Gouvernance
   3. Hero, page-hero & ticker 8. Pages internes (services / à-propos)
   4. About / Valeurs          9. Contact / Footer
   5. Modèle / Services        10. Modales, reveal, responsive
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS & BASE
   --------------------------------------------------------------------- */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale: #F5E6B8;
  --gold-dark: #8B6914;
  --black: #0A0A0A;
  --black-rich: #111010;
  --charcoal: #1A1A1A;
  --dark: #242424;
  --dark-mid: #2E2E2E;
  --gray-mineral: #3A3A3A;
  --gray-mid: #6B6B6B;
  --gray-light: #A8A8A8;
  --cream: #F0EDE6;
  --white: #FAFAF8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* Lien d'évitement accessibilité */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 3000;
  background: var(--gold); color: var(--black); padding: 12px 20px;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem;
}
.skip-link:focus { left: 12px; top: 12px; }

/* CURSOR custom doré */
.cursor {
  width: 10px; height: 10px; background: var(--gold); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  transition: transform 0.15s ease; mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  transition: all 0.3s ease; opacity: 0.6;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* Accessibilité : focus visible doré */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   2. NAVIGATION
   --------------------------------------------------------------------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 24px 60px; display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s ease;
}
nav.scrolled {
  background: rgba(10,10,10,0.95); backdrop-filter: blur(20px);
  padding: 16px 60px; border-bottom: 1px solid rgba(201,168,76,0.15);
}
.logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.logo-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600;
  letter-spacing: 0.12em; color: var(--white); text-transform: uppercase;
}
.logo-name span { color: var(--gold); }
.logo-tagline {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.65rem; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gray-light); text-decoration: none;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
/* État actif de la page courante */
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--black); background: var(--gold);
  padding: 10px 24px; border: none; cursor: none; transition: all 0.3s ease; text-decoration: none;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: none;
  background: none; border: none; padding: 4px;
}
.hamburger span { width: 24px; height: 1px; background: var(--gold); transition: all 0.3s; }

/* ---------------------------------------------------------------------
   3. HERO & TICKER
   --------------------------------------------------------------------- */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.85) 100%),
    url('../images/hero.svg') center/cover no-repeat;
  transform: scale(1.05); animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(201,168,76,0.08) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 920px; padding: 0 40px;
  animation: heroFadeUp 1.4s ease forwards; opacity: 0; transform: translateY(40px);
}
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.5em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.hero-label::before, .hero-label::after { content: ''; width: 40px; height: 1px; background: var(--gold); opacity: 0.6; }
.hero-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 300; line-height: 1.0; letter-spacing: 0.02em; margin-bottom: 14px; color: var(--white);
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 300;
  color: var(--gold-pale); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px;
}
.hero-desc {
  font-family: 'Barlow', sans-serif; font-size: 1rem; font-weight: 300; color: rgba(250,250,248,0.65);
  max-width: 600px; margin: 0 auto 48px; line-height: 1.8; letter-spacing: 0.03em;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Boutons (système global) */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--black); background: var(--gold); padding: 16px 36px; border: none; cursor: none;
  text-decoration: none; transition: all 0.3s ease; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.3); }
.btn-outline {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); background: transparent; padding: 15px 36px; border: 1px solid rgba(201,168,76,0.5);
  cursor: none; text-decoration: none; transition: all 0.3s ease; display: inline-block;
}
.btn-outline:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); transform: translateY(-2px); }

/* Lien fléché éditorial */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold); text-decoration: none; transition: gap 0.3s ease;
}
.link-arrow::after { content: '→'; transition: transform 0.3s ease; }
.link-arrow:hover { gap: 16px; }
.link-arrow:hover::after { transform: translateX(4px); }

/* CTA centré sous une grille */
.section-cta { text-align: center; margin-top: 60px; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.hero-scroll span { font-family: 'Barlow Condensed', sans-serif; font-size: 0.6rem; letter-spacing: 0.4em; color: var(--gold); text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--gold), transparent); }

/* TICKER */
.ticker { background: var(--gold); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 28s linear infinite; gap: 0; }
.ticker-item {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--black); padding: 0 40px; display: flex; align-items: center; gap: 20px;
}
.ticker-dot { width: 4px; height: 4px; background: var(--black); border-radius: 50%; opacity: 0.5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------
   PAGE-HERO (hero secondaire des pages internes)
   --------------------------------------------------------------------- */
.page-hero {
  position: relative; min-height: 64vh; display: flex; flex-direction: column; justify-content: center;
  padding: 160px 60px 90px; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.8)), var(--hero-img) center/cover no-repeat;
  filter: grayscale(25%); transform: scale(1.04); animation: heroZoom 24s ease-in-out infinite alternate; z-index: 0;
}
.page-hero--short { min-height: 50vh; }
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 30% 80%, rgba(201,168,76,0.10) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 880px; }
.page-hero .hero-label { justify-content: flex-start; }
.page-hero .hero-label::after { display: none; }
.page-hero-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.04; color: var(--white); margin-bottom: 22px;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); }
.page-hero-desc { font-size: 1.02rem; color: rgba(250,250,248,0.7); line-height: 1.85; max-width: 620px; }
.page-hero-crumbs {
  position: absolute; bottom: 28px; left: 60px; z-index: 2;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gray-light);
}
.page-hero-crumbs a { color: var(--gold); text-decoration: none; }
.page-hero-crumbs span { margin: 0 8px; color: var(--gray-mineral); }

/* ---------------------------------------------------------------------
   SECTION BASE
   --------------------------------------------------------------------- */
section { padding: 120px 60px; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.65rem; letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; display: flex; align-items: center; gap: 16px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 400; line-height: 1.1; color: var(--white); margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.section-body { font-size: 1rem; font-weight: 300; color: var(--gray-light); line-height: 1.9; max-width: 620px; }
.gold-divider { width: 60px; height: 1px; background: var(--gold); margin: 28px 0; opacity: 0.5; }

/* ---------------------------------------------------------------------
   4. ABOUT / VALEURS
   --------------------------------------------------------------------- */
.about { background: var(--black); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-visual { position: relative; height: 560px; }
.about-img-main { position: absolute; top: 0; left: 0; width: 75%; height: 80%; object-fit: cover; filter: grayscale(20%); }
.about-img-secondary { position: absolute; bottom: 0; right: 0; width: 55%; height: 50%; object-fit: cover; border: 4px solid var(--black); filter: grayscale(30%); }
.about-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; background: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-direction: column; z-index: 2;
}
.about-badge-num { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; color: var(--black); line-height: 1; }
.about-badge-txt { font-family: 'Barlow Condensed', sans-serif; font-size: 0.55rem; letter-spacing: 0.2em; color: var(--black); text-transform: uppercase; text-align: center; margin-top: 2px; }
.about-gold-line { width: 60px; height: 3px; background: var(--gold); margin: 28px 0; }
.about-highlight { margin-top: 40px; padding: 28px; border-left: 2px solid var(--gold); background: rgba(201,168,76,0.04); }
.about-highlight p { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-style: italic; color: var(--gold-pale); line-height: 1.7; }
.about-highlight cite { display: block; margin-top: 14px; font-family: 'Barlow Condensed', sans-serif; font-style: normal; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }

/* VALUES */
.values { background: var(--charcoal); text-align: center; }
.values-header { max-width: 700px; margin: 0 auto 70px; }
.values-header .section-label { justify-content: center; }
.values-header .section-label::before { display: none; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.value-card { background: var(--dark); padding: 50px 32px; transition: all 0.4s ease; position: relative; overflow: hidden; }
.value-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s ease; }
.value-card:hover { background: var(--dark-mid); transform: translateY(-4px); }
.value-card:hover::before { transform: scaleX(1); }
.value-icon { width: 52px; height: 52px; margin: 0 auto 24px; color: var(--gold); }
.value-icon svg { width: 100%; height: 100%; }
.value-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.value-desc { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.7; }

/* ---------------------------------------------------------------------
   5. MODÈLE INTÉGRÉ (4 piliers) / EXPERTISE / SERVICES
   --------------------------------------------------------------------- */
.expertise { background: var(--black); }
.expertise-header { margin-bottom: 70px; max-width: 720px; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.expertise-card { position: relative; height: 540px; overflow: hidden; cursor: none; display: block; text-decoration: none; }
.expertise-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(40%) brightness(0.5); transition: all 0.6s ease; }
.expertise-card:hover .expertise-card-bg { filter: grayscale(20%) brightness(0.6); transform: scale(1.05); }
.expertise-card-content {
  position: absolute; inset: 0; padding: 46px 32px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}
.expertise-num { font-family: 'Cormorant Garamond', serif; font-size: 3.6rem; font-weight: 300; color: rgba(201,168,76,0.25); line-height: 1; margin-bottom: 8px; }
.expertise-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 400; color: var(--white); margin-bottom: 14px; }
.expertise-card-desc { font-size: 0.83rem; color: rgba(250,250,248,0.65); line-height: 1.7; margin-bottom: 22px; }
.expertise-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: 'Barlow Condensed', sans-serif; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,168,76,0.35); padding: 4px 12px; }
.expertise-card-line { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.expertise-card:hover .expertise-card-line { transform: scaleX(1); }

/* SERVICES DÉTAILLÉS (grille de synthèse) */
.services { background: var(--charcoal); }
.services-header { margin-bottom: 64px; max-width: 720px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.service-item { background: var(--dark); padding: 44px 36px; position: relative; transition: all 0.4s ease; overflow: hidden; }
.service-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.45s ease; }
.service-item:hover { background: var(--dark-mid); }
.service-item:hover::before { transform: scaleY(1); }
.service-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 22px; }
.service-icon svg { width: 100%; height: 100%; }
.service-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.service-text { font-size: 0.86rem; color: var(--gray-mid); line-height: 1.75; }

/* ---------------------------------------------------------------------
   STATS / CHIFFRES CLÉS
   --------------------------------------------------------------------- */
.stats { background: linear-gradient(135deg, #0A0A0A 0%, #151310 50%, #0A0A0A 100%); padding: 100px 60px; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%); pointer-events: none; }
.stats-header { text-align: center; max-width: 720px; margin: 0 auto 60px; position: relative; }
.stats-header .section-label { justify-content: center; }
.stats-header .section-label::before { display: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(201,168,76,0.12); max-width: 1100px; margin: 0 auto; position: relative; }
.stat-item { background: var(--black); padding: 56px 36px; text-align: center; position: relative; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 4vw, 4.2rem); font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.stat-unit { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; color: var(--gold-dark); letter-spacing: 0.1em; }
.stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gray-mid); margin-top: 12px; }
.stat-divider { width: 24px; height: 1px; background: var(--gold); margin: 14px auto 0; opacity: 0.4; }

/* ---------------------------------------------------------------------
   MAP / TERRITOIRE
   --------------------------------------------------------------------- */
.map-section { background: var(--charcoal); padding: 120px 0 0; }
.map-section-header { padding: 0 60px 70px; }
.map-container { height: 580px; position: relative; filter: grayscale(20%) contrast(1.1); }
#tibesti-map { height: 100%; width: 100%; background: var(--charcoal); }
.map-legend { position: absolute; bottom: 40px; right: 40px; z-index: 400; background: rgba(10,10,10,0.92); border: 1px solid rgba(201,168,76,0.3); padding: 20px 24px; backdrop-filter: blur(10px); }
.map-legend-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.map-legend-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 0.78rem; color: var(--gray-light); font-family: 'Barlow', sans-serif; font-weight: 300; }
.map-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.territory-facts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--black); border-top: 1px solid rgba(201,168,76,0.12); }
.territory-fact { padding: 48px 50px; border-right: 1px solid rgba(201,168,76,0.1); }
.territory-fact:last-child { border-right: none; }
.territory-fact-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: var(--gold); margin-bottom: 8px; }
.territory-fact-text { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.7; }

/* ---------------------------------------------------------------------
   6. INVESTISSEURS & PARTENARIATS
   --------------------------------------------------------------------- */
.investors { background: var(--black); }
.investors-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 90px; }
.invest-reasons { display: flex; flex-direction: column; gap: 4px; }
.invest-reason { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid rgba(201,168,76,0.12); }
.invest-reason-num { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--gold); line-height: 1; flex-shrink: 0; width: 42px; }
.invest-reason-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.invest-reason-text { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.7; }

.projection { background: var(--black-rich); border: 1px solid rgba(201,168,76,0.18); padding: 48px 44px; }
.projection-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.projection-sub { font-size: 0.8rem; color: var(--gray-mid); margin-bottom: 40px; }
.chart { display: flex; align-items: flex-end; gap: 16px; height: 240px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; justify-content: flex-end; }
.chart-bar-wrap { width: 100%; height: 100%; display: flex; align-items: flex-end; }
.chart-bar { width: 100%; background: linear-gradient(to top, var(--gold-dark), var(--gold)); height: 0; transition: height 1.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
.chart-bar::after { content: attr(data-value); position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--gold-light); white-space: nowrap; }
.chart-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray-mid); }
.chart-caption { margin-top: 26px; font-size: 0.78rem; color: var(--gray-mineral); line-height: 1.6; }

.funding { margin-top: 4px; }
.funding-header { margin-bottom: 50px; max-width: 680px; }
.funding-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.funding-bars { display: flex; flex-direction: column; gap: 28px; }
.funding-row-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.funding-row-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
.funding-row-val { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--gold); }
.funding-track { height: 6px; background: var(--dark); overflow: hidden; }
.funding-fill { height: 100%; width: 0; background: linear-gradient(to right, var(--gold-dark), var(--gold)); transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.funding-total { background: var(--charcoal); border: 1px solid rgba(201,168,76,0.2); padding: 44px; }
.funding-total-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.funding-total-num { font-family: 'Cormorant Garamond', serif; font-size: 3.4rem; font-weight: 600; color: var(--white); line-height: 1; }
.funding-total-sub { font-size: 0.85rem; color: var(--gray-mid); margin-top: 10px; line-height: 1.6; }
.funding-metrics { display: flex; gap: 30px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(201,168,76,0.15); }
.funding-metric-num { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: var(--gold); line-height: 1; }
.funding-metric-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-mid); margin-top: 6px; }

/* ---------------------------------------------------------------------
   7. ENGAGEMENT ESG / GOUVERNANCE
   --------------------------------------------------------------------- */
.engagement { background: var(--charcoal); }
.engagement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 70px; }
.eng-block-num { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 300; color: rgba(201,168,76,0.25); line-height: 1; margin-bottom: 4px; }
.eng-block-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(201,168,76,0.2); }
.eng-block-text { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.8; }
.eng-block-items { margin-top: 16px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.eng-block-items li { font-size: 0.85rem; color: var(--gray-light); display: flex; align-items: flex-start; gap: 10px; }
.eng-block-items li::before { content: '▸'; color: var(--gold); font-size: 0.65rem; margin-top: 3px; flex-shrink: 0; }

/* ---------------------------------------------------------------------
   8. PAGES INTERNES — SERVICES (svc-detail) & À-PROPOS (mv / model-strip / diff / gov / why)
   --------------------------------------------------------------------- */
/* Bloc service détaillé en deux colonnes alternées */
.svc-detail { background: var(--black); }
.svc-detail--alt { background: var(--charcoal); }
.svc-detail-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 80px; align-items: center; max-width: 1300px; margin: 0 auto; }
.svc-detail-grid.is-reversed { direction: rtl; }
.svc-detail-grid.is-reversed > * { direction: ltr; }
.svc-detail-visual { position: relative; height: 480px; }
.svc-detail-img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(35%) brightness(0.7); border: 1px solid rgba(201,168,76,0.15); }
.svc-detail-num { position: absolute; top: -26px; left: -10px; font-family: 'Cormorant Garamond', serif; font-size: 6rem; font-weight: 300; color: rgba(201,168,76,0.28); line-height: 1; }
.svc-list { list-style: none; margin: 30px 0 8px; display: flex; flex-direction: column; gap: 22px; }
.svc-list li { padding-left: 22px; position: relative; }
.svc-list li::before { content: '▸'; position: absolute; left: 0; top: 2px; color: var(--gold); font-size: 0.7rem; }
.svc-list-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.svc-list-text { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.7; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* Mission / Vision / Ambition */
.mv { background: var(--black); }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.mv-card { background: var(--charcoal); padding: 50px 40px; border-top: 2px solid var(--gold); transition: all 0.4s ease; }
.mv-card:hover { background: var(--dark); transform: translateY(-4px); }
.mv-card-kicker { font-family: 'Barlow Condensed', sans-serif; font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.mv-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.mv-card-text { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.8; }

/* Modèle — bande 4 piliers */
.model-strip { background: var(--charcoal); }
.model-strip-header { max-width: 720px; margin-bottom: 60px; }
.model-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.model-strip-item { background: var(--dark); padding: 44px 32px; transition: all 0.4s ease; }
.model-strip-item:hover { background: var(--dark-mid); }
.model-strip-num { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 300; color: rgba(201,168,76,0.3); line-height: 1; margin-bottom: 14px; }
.model-strip-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.model-strip-text { font-size: 0.85rem; color: var(--gray-mid); line-height: 1.7; }

/* Différenciation */
.diff { background: var(--black); }
.diff-header { max-width: 720px; margin-bottom: 60px; }
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 70px; }
.diff-item { padding-top: 26px; border-top: 1px solid rgba(201,168,76,0.18); }
.diff-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.diff-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 12px; }
.diff-text { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.8; }

/* Gouvernance */
.gov { background: var(--charcoal); }
.gov-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.gov-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.gov-list li { padding: 24px 0; border-bottom: 1px solid rgba(201,168,76,0.12); }
.gov-list-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.gov-list-text { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.7; }

/* Pourquoi Chagramining */
.why { background: var(--black); text-align: center; }
.why-inner { max-width: 760px; margin: 0 auto; }
.why .section-label { justify-content: center; }
.why .section-label::before { display: none; }
.why .section-body { margin: 0 auto; }
.why-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }

/* CTA BAND */
.cta-band { background: var(--gold); padding: 80px 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 600; color: var(--black); line-height: 1.2; margin-bottom: 8px; }
.cta-band-desc { font-size: 0.95rem; color: rgba(10,10,10,0.65); font-weight: 400; max-width: 540px; }
.cta-band-btn { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); background: var(--black); padding: 18px 44px; border: none; cursor: none; text-decoration: none; transition: all 0.3s ease; display: inline-block; white-space: nowrap; }
.cta-band-btn:hover { background: var(--charcoal); transform: translateY(-2px); }

/* ---------------------------------------------------------------------
   9. CONTACT / FOOTER
   --------------------------------------------------------------------- */
.contact { background: var(--charcoal); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; margin-top: 60px; }
.contact-info-item { margin-bottom: 34px; }
.contact-info-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-info-value { font-size: 0.95rem; color: var(--gray-light); line-height: 1.6; }
.contact-info-value a { color: var(--gray-light); text-decoration: none; transition: color 0.3s; }
.contact-info-value a:hover { color: var(--gold); }
.contact-callout { margin-top: 36px; padding: 24px; border: 1px solid rgba(201,168,76,0.2); background: rgba(201,168,76,0.03); }
.contact-callout-big { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--gold); }
.contact-callout-small { font-size: 0.8rem; color: var(--gray-mineral); margin-top: 6px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray-mid); }
.form-group input, .form-group textarea, .form-group select { background: var(--dark); border: 1px solid rgba(201,168,76,0.15); color: var(--white); padding: 14px 18px; font-family: 'Barlow', sans-serif; font-size: 0.9rem; font-weight: 300; outline: none; transition: border-color 0.3s ease; appearance: none; cursor: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-mineral); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--dark); }
.form-submit { font-family: 'Barlow Condensed', sans-serif; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--black); background: var(--gold); padding: 16px 48px; border: none; cursor: none; width: 100%; margin-top: 8px; transition: all 0.3s ease; }
.form-submit:hover { background: var(--gold-light); }
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.form-consent input { margin-top: 3px; accent-color: var(--gold); cursor: none; }
.form-consent label { font-size: 0.78rem; color: var(--gray-mineral); line-height: 1.5; cursor: none; }
.form-consent a { color: var(--gold); text-decoration: none; }
.form-message { display: none; margin-top: 20px; padding: 20px 24px; background: rgba(201,168,76,0.1); border-left: 2px solid var(--gold); font-size: 0.9rem; color: var(--gold-pale); line-height: 1.6; }
.form-message strong { display: block; margin-bottom: 6px; color: var(--gold); }
/* Messages serveur (PHP) — toujours visibles */
.form-message--server { display: block; margin-top: 0; margin-bottom: 30px; }
.form-message.is-error { background: rgba(224,112,112,0.08); border-left-color: #E07070; color: #f1b9b9; }
.form-message.is-error strong { color: #E07070; }
.form-message.is-error a { color: var(--gold); }
.form-error { font-size: 0.75rem; color: #E07070; display: none; margin-top: 4px; }
/* Honeypot : caché aux humains, visible aux bots */
.hp-field { position: absolute; left: -5000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

footer { background: var(--black-rich); border-top: 1px solid rgba(201,168,76,0.1); }
.footer-top { padding: 80px 60px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px; }
.footer-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--white); text-transform: uppercase; margin-bottom: 4px; }
.footer-logo-name span { color: var(--gold); }
.footer-logo-sub { font-family: 'Barlow Condensed', sans-serif; font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-brand-desc { font-size: 0.85rem; color: var(--gray-mineral); line-height: 1.8; max-width: 300px; }
.footer-col-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(201,168,76,0.2); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--gray-mineral); text-decoration: none; transition: color 0.3s ease; display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '—'; color: rgba(201,168,76,0.4); font-size: 0.7rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(201,168,76,0.08); padding: 24px 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.75rem; color: var(--gray-mineral); letter-spacing: 0.05em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.72rem; color: var(--gray-mineral); text-decoration: none; letter-spacing: 0.05em; transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold); }

/* ---------------------------------------------------------------------
   10. MODALES / REVEAL / RESPONSIVE
   --------------------------------------------------------------------- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000; align-items: center; justify-content: center; padding: 40px; backdrop-filter: blur(10px); }
.modal-overlay.active { display: flex; }
.modal { background: var(--dark); border: 1px solid rgba(201,168,76,0.2); max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 60px; position: relative; animation: modalIn 0.4s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--gray-mid); font-size: 1.5rem; cursor: none; transition: color 0.3s; }
.modal-close:hover { color: var(--gold); }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--white); margin-bottom: 8px; }
.modal-subtitle { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 32px; }
.modal-text { font-size: 0.9rem; color: var(--gray-light); line-height: 1.8; margin-bottom: 16px; }
.modal-text strong { color: var(--gold); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* MEDIA QUERIES */
@media (max-width: 1100px) {
  nav { padding: 20px 30px; }
  nav.scrolled { padding: 14px 30px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 80px 30px; }
  .page-hero { padding: 130px 30px 80px; }
  .page-hero-crumbs { left: 30px; }
  .about { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { height: 400px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-card { height: 460px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .investors-intro { grid-template-columns: 1fr; gap: 50px; }
  .funding-grid { grid-template-columns: 1fr; gap: 50px; }
  .territory-facts { grid-template-columns: 1fr; }
  .territory-fact { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.1); }
  .engagement-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { padding: 20px 30px; }
  .cta-band { padding: 60px 30px; flex-direction: column; text-align: center; }
  .map-section-header { padding: 0 30px 50px; }
  /* Pages internes */
  .svc-detail-grid, .svc-detail-grid.is-reversed { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .svc-detail-visual { height: 320px; }
  .mv-grid { grid-template-columns: 1fr; }
  .model-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; gap: 36px; }
  .gov-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 3rem; }
  .page-hero-title { font-size: 2.4rem; }
  /* Nav allégée : logo + burger ; le CTA est repris dans le menu déroulant */
  .logo-name { font-size: 1.3rem; letter-spacing: 0.08em; }
  .logo-tagline { font-size: 0.58rem; letter-spacing: 0.22em; }
  .nav-cta { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal { padding: 36px 24px; }
  .funding-metrics { flex-direction: column; gap: 20px; }
  .chart { gap: 8px; }
  .model-strip-grid { grid-template-columns: 1fr; }
  .svc-detail-num { font-size: 4rem; }
}

/* Pointeur tactile / fin : on restaure le curseur natif (accessibilité) */
@media (hover: none), (pointer: coarse) {
  body, a, button, input, textarea, select, .expertise-card,
  .news-card, .modal-close, .form-consent input, .form-consent label,
  .nav-cta, .btn-primary, .btn-outline, .cta-band-btn, .form-submit { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }
}

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
