/* ═══════════════════════════════════════════════════════════════
   INGENIOUS GROUPE — style.css
   Design : High-tech géométrique · Light dominant
   Couleurs : #13a054 (vert) · #3a368e (violet/indigo)
   Formes : Triangles, polygones, clips angulaires partout
═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   0. FONTS
───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES
───────────────────────────────────────── */
:root {
  --green:        #13a054;
  --green-dark:   #0d7a3e;
  --green-light:  #e8f9f0;
  --green-glow:   rgba(19, 160, 84, 0.18);
  --indigo:       #3a368e;
  --indigo-dark:  #2a2568;
  --indigo-light: #ededf8;
  --indigo-glow:  rgba(58, 54, 142, 0.15);

  --white:        #ffffff;
  --off-white:    #f7f8fc;
  --light-gray:   #eef0f6;
  --mid-gray:     #c4c8d8;
  --text-dark:    #0f1630;
  --text-body:    #2d3354;
  --text-muted:   #6b7394;

  --navy:         #0b0f2a;
  --navy2:        #131840;

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Exo 2', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm:    4px;
  --radius:       8px;
  --radius-lg:    16px;

  --shadow-sm:    0 2px 12px rgba(58, 54, 142, 0.08);
  --shadow:       0 8px 32px rgba(58, 54, 142, 0.14);
  --shadow-lg:    0 20px 60px rgba(58, 54, 142, 0.20);
  --shadow-green: 0 8px 32px rgba(19, 160, 84, 0.25);

  --nav-h:        76px;
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ─────────────────────────────────────────
   3. GEOMETRIC PATTERN UTILITY (SVG inline via CSS)
───────────────────────────────────────── */

/* Trame de points tech */
.geo-dots {
  background-image: radial-gradient(circle, var(--mid-gray) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Grille lignes vertes subtiles */
.geo-grid {
  background-image:
    linear-gradient(rgba(19,160,84,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,160,84,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Grille lignes indigo subtiles */
.geo-grid-indigo {
  background-image:
    linear-gradient(rgba(58,54,142,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,54,142,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ─────────────────────────────────────────
   4. NAVIGATION
───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 2px solid var(--light-gray);
  display: flex;
  align-items: center;
  padding: 0 5%;
  gap: 40px;
  box-shadow: 0 2px 24px rgba(58,54,142,0.07);
  transition: var(--transition);
}

nav.scrolled {
  box-shadow: 0 4px 40px rgba(58,54,142,0.14);
  border-bottom-color: var(--green);
}

/* LOGO ZONE */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

/* Placeholder logo image horizontal */
.nav-logo-img {
  width: 200px;
  height: 48px;
  background: var(--light-gray);
  border: 2px dashed var(--mid-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.nav-logo-img::before {
  content: 'LOGO';
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--mid-gray);
  letter-spacing: 0.2em;
}

/* Si logo image fournie */
.nav-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Séparateur angulaire après logo */
.nav-logo::after {
  content: '';
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--green), var(--indigo));
  clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%);
  flex-shrink: 0;
}

/* LIENS NAV */
nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

nav ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

nav ul li a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-light);
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

nav ul li a:hover::before,
nav ul li a.active::before {
  opacity: 1;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--green-dark);
}

nav ul li a.active {
  color: var(--green);
}

/* Indicateur actif — trait vert angulaire en bas */
nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--green);
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

/* CTA nav */
nav ul li:last-child a {
  background: var(--green);
  color: white;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  padding: 9px 22px;
}

nav ul li:last-child a::before {
  background: var(--green-dark);
}

nav ul li:last-child a:hover,
nav ul li:last-child a.active {
  color: white;
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

/* Empêche le fond vert-clair de couvrir le CTA actif */
nav ul li:last-child a.active::before {
  background: var(--green-dark);
  opacity: 1;
}

/* Pas de soulignement sur le CTA actif */
nav ul li:last-child a.active::after {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--indigo);
  border-radius: 1px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 3px solid var(--green);
  padding: 20px 5%;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 6px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--text-dark);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--green);
  border-left-color: var(--green);
  background: var(--green-light);
  padding-left: 24px;
}

/* ─────────────────────────────────────────
   5. PAGE WRAPPER
───────────────────────────────────────── */
body > *:not(nav):not(.mobile-nav) {
  /* offset pour la nav fixe */
}

/* ─────────────────────────────────────────
   6. SECTION WRAPPER
───────────────────────────────────────── */
.inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* TAG BADGE */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: 5px 14px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  margin-bottom: 14px;
}

.tag.indigo {
  color: var(--indigo);
  background: var(--indigo-light);
}

/* TITRES */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.18;
}

h2 span { color: var(--green); }

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   7. BUTTONS
───────────────────────────────────────── */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  padding: 13px 32px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-dark) 0%, #085c2d 100%);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--indigo);
  clip-path: none;
  border-radius: 0;
  position: relative;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 100%;
  background: var(--indigo);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: white;
  border-color: var(--indigo);
}

.btn-outline:hover::before {
  width: 100%;
}

/* ─────────────────────────────────────────
   8. HERO — PAGE ACCUEIL
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--off-white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Grille de fond */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,54,142,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,54,142,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Grand polygone décoratif haut-droite */
.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--green-glow) 0%, var(--indigo-glow) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
  animation: rotateHex 20s linear infinite;
}

@keyframes rotateHex {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-left {
  flex: 1;
  padding: 80px 5% 80px 8%;
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  background: white;
  border: 1.5px solid var(--green);
  padding: 7px 18px 7px 14px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  margin-bottom: 28px;
  box-shadow: var(--shadow-green);
  animation: slideDown 0.6s ease both;
}

.badge::before {
  content: '▶';
  font-size: 0.55rem;
  color: var(--green);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.08;
  margin-bottom: 24px;
  animation: slideUp 0.7s 0.1s ease both;
}

.hero h1 span {
  color: var(--green);
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--indigo));
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  animation: slideUp 0.7s 0.2s ease both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: slideUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 0;
  animation: slideUp 0.7s 0.4s ease both;
}

.stat-item {
  padding: 16px 28px;
  position: relative;
  border-top: 2px solid var(--light-gray);
}

.stat-item {
  padding-left: 0;
  border-left: none;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--green);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--indigo);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* HERO DROITE */
.hero-right {
  flex: 1;
  position: relative;
  padding: 60px 8% 60px 0;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.9s 0.3s ease both;
}

.hero-right img {
  width: 100%;
  max-width: 580px;
  height: 420px;
  object-fit: cover;
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

/* Cadre décoratif derrière l'image */
.hero-right::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-52%, -48%);
  width: calc(100% - 60px);
  max-width: 580px;
  height: 420px;
  border: 2px solid var(--green);
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
  z-index: 1;
  transition: var(--transition);
}

/* Floating cards */
.hero-card {
  position: absolute;
  z-index: 3;
  background: white;
  border-left: 3px solid var(--green);
  padding: 12px 18px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 6px 100%);
  min-width: 190px;
}

.hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.hero-card em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.hero-card .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 7px;
  animation: pulse 2s infinite;
}

.card-1 {
  bottom: 80px;
  left: -20px;
  border-left-color: var(--green);
  animation: floatY 4s ease-in-out infinite;
}

.card-2 {
  top: 70px;
  right: 30px;
  border-left-color: var(--indigo);
  animation: floatY 4s 2s ease-in-out infinite;
}

.card-2 .dot { background: var(--indigo); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--green); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px transparent; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─────────────────────────────────────────
   9. SEPARATEURS ANGULAIRES ENTRE SECTIONS
───────────────────────────────────────── */

/* Séparateur vert descendant */
.sep-green-down {
  width: 100%;
  height: 70px;
  background: var(--green);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 50% 100%, 0 40%);
  margin-bottom: -1px;
}

/* Séparateur indigo montant */
.sep-indigo-up {
  width: 100%;
  height: 70px;
  background: var(--indigo);
  clip-path: polygon(0 60%, 50% 0, 100% 60%, 100% 100%, 0 100%);
  margin-top: -1px;
}

/* Séparateur blanc biais */
.sep-white-angle {
  width: 100%;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 100%);
}

/* ─────────────────────────────────────────
   10. CHIFFRES CLÉS
───────────────────────────────────────── */
.chiffres {
  background: var(--indigo);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Polygone déco */
.chiffres::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: rgba(19,160,84,0.12);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotateHex 15s linear infinite reverse;
}

.chiffres::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 340px; height: 340px;
  background: rgba(255,255,255,0.04);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.chiffres .inner { position: relative; z-index: 2; }

.chiffres h2 {
  text-align: center;
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.chiffres > .inner > p {
  text-align: center;
  color: rgba(255,255,255,0.6);
  margin-bottom: 56px;
  font-size: 1rem;
}

.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.chiffres-grid > div {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 28px 24px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: var(--transition);
  position: relative;
}

.chiffres-grid > div:hover {
  background: rgba(19,160,84,0.15);
  border-color: var(--green);
  transform: translateY(-4px);
}

/* Coin décoratif */
.chiffres-grid > div::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent var(--green) transparent transparent;
}

.chiffres-grid > div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.chiffres-grid > div span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   11. DOMAINES / SERVICES GRID
───────────────────────────────────────── */
.domaines {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

/* Triangle déco fond */
.domaines::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 300px; height: 300px;
  background: var(--green-light);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  pointer-events: none;
}

.domaines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.domaine-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: var(--shadow-sm);
}

.domaine-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

/* Coin vert coupé */
.domaine-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent var(--green) transparent transparent;
  z-index: 5;
  transition: var(--transition);
}

.domaine-card:hover::before {
  border-width: 0 30px 30px 0;
}

.domaine-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.domaine-card:hover img {
  transform: scale(1.04);
}

.domaine-body {
  padding: 24px;
}

.domaine-body .icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.domaine-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.domaine-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.domaine-body ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.domaine-body ul li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-body);
  padding-left: 16px;
  position: relative;
}

.domaine-body ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.7rem;
}

/* ─────────────────────────────────────────
   12. PROCESSUS (STEPS)
───────────────────────────────────────── */
.processus {
  padding: 100px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

/* Grand triangle fond */
.processus::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: linear-gradient(135deg, var(--indigo-glow), var(--green-glow));
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

/* Ligne de connexion entre étapes */
.steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--indigo));
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
  z-index: 0;
}

.step {
  padding: 0 16px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: white;
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: var(--shadow-green);
  transition: var(--transition);
}

.step:hover .step-num {
  background: var(--green);
  color: white;
  transform: scale(1.1);
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   13. SECTEURS CLIENTS
───────────────────────────────────────── */
.secteurs {
  padding: 100px 0;
  background: white;
}

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.secteur {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: var(--transition);
  cursor: default;
}

.secteur:hover {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateX(4px);
}

/* ─────────────────────────────────────────
   14. CTA SECTION
───────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--indigo) 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Polygone déco cta */
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: rotateHex 18s linear infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.cta-section .inner {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: white;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-section h2 span { color: rgba(255,255,255,0.85); }

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.cta-section .btn-primary {
  background: white;
  color: var(--green-dark);
}

.cta-section .btn-primary:hover {
  background: var(--green-light);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: white;
}

.cta-section .btn-outline::before {
  background: rgba(255,255,255,0.15);
}

.cta-section .btn-outline:hover { color: white; }

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cta-contacts span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

/* ─────────────────────────────────────────
   15. PAGE HERO (pages intérieures)
───────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 70px) 5% 100px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--indigo-dark) 60%, #1a3a2a 100%);
  position: relative;
  overflow: hidden;
  text-align: left;
}

/* Grille */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19,160,84,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,160,84,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* Grand triangle deco */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 200px 700px;
  border-color: transparent transparent rgba(19,160,84,0.12) transparent;
}

/* Séparateur angulaire bas page-hero */
.page-hero-bottom {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 70px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.page-hero .inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero .tag {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-hero h1 span { color: var(--green); }

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--green); }

/* ─────────────────────────────────────────
   16. INTRO TWO-COL
───────────────────────────────────────── */
.intro-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.intro-two-col > div:first-child {
  position: relative;
}

.intro-two-col h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  margin-top: 14px;
}

.intro-two-col p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-two-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.intro-two-col ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-body);
}

.intro-two-col ul li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--green);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

.intro-two-col img {
  width: 100%;
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);
  box-shadow: var(--shadow-lg);
}

/* ─────────────────────────────────────────
   17. SECTION ALTERNÉE (services)
───────────────────────────────────────── */
.section-light {
  padding: 100px 0;
  background: var(--white);
}

.service-section {
  padding: 90px 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}

.service-section.alt {
  background: var(--off-white);
}

/* Accent triangle latéral */
.service-section::before {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 60px; height: 200px;
  background: var(--green-light);
  clip-path: polygon(100% 0, 100% 100%, 0 50%);
  pointer-events: none;
}

.service-section.alt::before {
  right: auto; left: 0;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  background: var(--indigo-light);
}

.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px;
}

.service-intro-text .tag { margin-bottom: 10px; }

.service-intro-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.service-intro-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 18px;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.service-intro-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.service-intro-text ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
}

.service-intro-text ul li {
  font-size: 0.88rem;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}

.service-intro-text ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.5rem;
  color: var(--green);
  top: 5px;
}

.service-intro-img img {
  width: 100%;
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 12% 100%, 0 88%);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.service-intro-img img:hover {
  transform: scale(1.02);
}

/* Sous-titre de section */
.subsection-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
  padding-left: 18px;
  border-left: 4px solid var(--green);
  position: relative;
}

.subsection-title::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--indigo);
}

/* ─────────────────────────────────────────
   18. FEATURES GRID
───────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 56px;
}

.features-grid.three-col {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.feature {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: var(--shadow-sm);
}

.feature:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

/* Coin vert coupé */
.feature::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent var(--green) transparent transparent;
}

.feature img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.feature:hover img { transform: scale(1.04); }

.feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 18px 20px 8px;
}

.feature p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 20px 12px;
}

.feature ul {
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.feature ul li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-body);
  padding-left: 14px;
  position: relative;
}

.feature ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ─────────────────────────────────────────
   19. PARTENAIRES
───────────────────────────────────────── */
.partenaires-section {
  padding: 90px 0;
  background: var(--white);
}

.partenaires-section.alt {
  background: var(--off-white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.partner-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  position: relative;
}

.partner-card:hover {
  border-color: var(--indigo);
  box-shadow: 0 12px 40px rgba(58,54,142,0.18);
  transform: translateY(-6px);
}

/* Coin indigo */
.partner-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 24px 24px 0;
  border-color: transparent var(--indigo) transparent transparent;
}

.partner-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
  transition: filter 0.3s ease, transform 0.5s ease;
}

.partner-card:hover img {
  filter: brightness(1);
  transform: scale(1.03);
}

.partner-body {
  padding: 22px;
}

.partner-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.partner-country {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--indigo);
  letter-spacing: 0.06em;
  margin-bottom: 12px !important;
}

.partner-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.partner-body ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 16px;
}

.partner-body ul li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-body);
  padding-left: 14px;
  position: relative;
}

.partner-body ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--indigo);
}

.partner-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  background: var(--indigo);
  color: white;
  padding: 4px 14px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

/* ─────────────────────────────────────────
   20. INSTITUTIONNELS (partenaires page)
───────────────────────────────────────── */
.institutionnels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.instit-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  clip-path: polygon(12px 0%, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.instit-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.instit-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.instit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.instit-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   21. MISSION / VISION / VALEURS
───────────────────────────────────────── */
.mvv-section {
  padding: 100px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.mvv-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--indigo));
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.mvv-card {
  background: var(--white);
  padding: 36px 30px;
  border: 1.5px solid var(--light-gray);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

/* Coin triangulaire coloré */
.mvv-card.mission::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 56px 56px 0;
  border-color: transparent var(--green) transparent transparent;
}

.mvv-card.vision::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 56px 56px 0;
  border-color: transparent var(--indigo) transparent transparent;
}

.mvv-card.valeurs::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 56px 56px 0;
  border-color: transparent #0f1630 transparent transparent;
}

.mvv-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.mvv-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.mvv-card h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.mvv-card.vision h3 { color: var(--indigo); }
.mvv-card.valeurs h3 { color: var(--text-dark); }

.mvv-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.mvv-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.mvv-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvv-card ul li {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

.mvv-card ul li strong {
  color: var(--green);
  font-weight: 700;
}

/* ─────────────────────────────────────────
   22. RÉALISATIONS / STATS
───────────────────────────────────────── */
.realisations-section {
  padding: 100px 0;
  background: var(--white);
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.realisation-stat {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  clip-path: polygon(16px 0%, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  position: relative;
}

.realisation-stat:hover {
  border-color: var(--green);
  background: var(--green-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-green);
}

.realisation-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.realisation-stat span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 10px;
}

.realisation-stat p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   23. RÉFÉRENCES CLIENTS
───────────────────────────────────────── */
.references-section {
  padding: 100px 0;
  background: var(--off-white);
}

.refs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.ref-card {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  position: relative;
}

.ref-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent var(--indigo) transparent transparent;
}

.ref-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.ref-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ref-card:hover img { transform: scale(1.04); }

.ref-body {
  padding: 22px;
}

.ref-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--indigo);
  background: var(--indigo-light);
  padding: 4px 12px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  margin-bottom: 10px;
}

.ref-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.ref-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.ref-tech {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green-dark);
  border-top: 1px solid var(--light-gray);
  padding-top: 10px;
}

/* ─────────────────────────────────────────
   24. ÉQUIPE
───────────────────────────────────────── */
.equipe-section {
  padding: 100px 0;
  background: var(--white);
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.membre {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  position: relative;
}

.membre::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent var(--green) transparent transparent;
}

.membre:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-4px);
}

.membre img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.membre:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.membre-body {
  padding: 20px;
}

.membre-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.membre-titre {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.membre-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.membre-contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--light-gray);
  padding-top: 12px;
}

.membre-contacts span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─────────────────────────────────────────
   25. IMPLANTATIONS
───────────────────────────────────────── */
.implantations-section {
  padding: 100px 0;
  background: var(--off-white);
  position: relative;
}

.implantations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.implantation {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  position: relative;
}

.implantation.hq {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
}

.implantation::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 24px 24px 0;
  border-color: transparent var(--mid-gray) transparent transparent;
}

.implantation.hq::after {
  border-color: transparent var(--green) transparent transparent;
}

.implantation:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.implantation img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.implantation-body {
  padding: 22px;
}

.implantation-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  background: var(--indigo);
  color: white;
  padding: 4px 14px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  margin-bottom: 10px;
}

.implantation.hq .implantation-badge {
  background: var(--green);
}

.implantation-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.implantation-body p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.bureau-zone {
  font-family: var(--font-mono);
  font-size: 0.72rem !important;
  color: var(--indigo) !important;
  margin-top: 6px !important;
}

/* ─────────────────────────────────────────
   26. DIFFÉRENCIATEURS
───────────────────────────────────────── */
.differenciateurs-section {
  padding: 100px 0;
  background: var(--white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.diff-card {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Trait angulaire coloré haut-gauche */
.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 40px 40px 0 0;
  border-color: var(--green-light) transparent transparent transparent;
  transition: var(--transition);
}

.diff-card:hover::before {
  border-color: var(--green) transparent transparent transparent;
  border-width: 56px 56px 0 0;
}

.diff-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.diff-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.diff-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   27. CONTACT
───────────────────────────────────────── */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Infos contact */
.contact-info h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin: 12px 0 16px;
}

.contact-info > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.bureau-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1.5px solid var(--light-gray);
  margin-bottom: 14px;
  background: var(--off-white);
  transition: var(--transition);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  position: relative;
}

.bureau-card.hq {
  border-color: var(--green);
  background: var(--green-light);
}

.bureau-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-sm);
}

.bureau-flag {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}

.bureau-details h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.bureau-details p,
.bureau-details li {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bureau-details ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 6px 0;
}

/* Formulaire */
.contact-form {
  background: var(--off-white);
  padding: 40px;
  border: 1.5px solid var(--light-gray);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  position: relative;
}

.contact-form::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 24px 24px 0;
  border-color: transparent var(--green) transparent transparent;
}

.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-form > p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--mid-gray);
  padding: 11px 14px;
  outline: none;
  transition: var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: white;
  border: none;
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: var(--transition);
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.form-submit:hover {
  background: linear-gradient(135deg, var(--green-dark) 0%, #075c2b 100%);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}

.form-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* ─────────────────────────────────────────
   28. ÉQUIPE CONTACTS (page contact)
───────────────────────────────────────── */
.equipe-contacts-section {
  padding: 100px 0;
  background: var(--off-white);
}

.equipe-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.eq-card {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  padding: 20px;
  transition: var(--transition);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: var(--shadow-sm);
  position: relative;
}

.eq-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent var(--green) transparent transparent;
}

.eq-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-3px);
}

.eq-avatar {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--indigo));
  color: white;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.eq-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.eq-info > span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--indigo);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.eq-info ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}

.eq-info ul li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.eq-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--light-gray);
  padding-top: 8px;
  font-style: italic;
}

/* ─────────────────────────────────────────
   29. FAQ
───────────────────────────────────────── */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.faq-item {
  background: var(--off-white);
  border: 1.5px solid var(--light-gray);
  padding: 26px;
  transition: var(--transition);
  border-left: 4px solid var(--green);
  position: relative;
}

.faq-item:hover {
  border-color: var(--green);
  border-left-color: var(--green);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.faq-item h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   30. URGENCE SECTION
───────────────────────────────────────── */
.urgence-section {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.urgence-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19,160,84,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,160,84,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

.urgence-section::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 200px 400px;
  border-color: transparent transparent rgba(19,160,84,0.1) transparent;
}

.urgence-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 2;
}

.urgence-content h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.urgence-content p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.urgence-content ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.urgence-content ul li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  padding-left: 12px;
  border-left: 2px solid var(--green);
}

.urgence-content img {
  width: 100%;
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 12% 100%, 0 88%);
  box-shadow: var(--shadow-lg);
}

/* ─────────────────────────────────────────
   31. FOOTER
───────────────────────────────────────── */
footer {
  background: var(--navy2);
  position: relative;
  overflow: hidden;
}

/* Triangle déco footer */
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 100px 200px 0 0;
  border-color: rgba(19,160,84,0.12) transparent transparent transparent;
}

footer::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 0 120px 300px;
  border-color: transparent transparent rgba(58,54,142,0.15) transparent;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 5% 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-brand .logo span { color: var(--green); }

.footer-brand p {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 10px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(19,160,84,0.3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li,
.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  cursor: pointer;
}

.footer-col ul li a:hover {
  color: var(--green);
  padding-left: 6px;
}

/* Logo footer placeholder */
.footer-logo-img {
  width: 180px;
  height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.footer-logo-img span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.15em;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-bottom span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────
   32. LOGO STYLES (texte si pas d'image)
───────────────────────────────────────── */
.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dark);
}

.logo span { color: var(--green); }

/* ─────────────────────────────────────────
   33. SCROLL-TO-TOP
───────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: var(--shadow-green);
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#scroll-top:hover {
  background: var(--green-dark);
  transform: scale(1.1) rotate(-15deg);
}

/* ─────────────────────────────────────────
   34. ANIMATIONS D'ENTRÉE (scroll reveal)
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Délais de stagger pour grilles */
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─────────────────────────────────────────
   35. UTILITAIRES
───────────────────────────────────────── */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-60 { margin-bottom: 60px; }

/* Ligne décorative verte */
.green-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--indigo));
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  margin: 16px auto 0;
}

/* ─────────────────────────────────────────
   36. RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .steps::before { display: none; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  nav ul { display: none; }
  .hamburger { display: flex; }

  .hero {
    flex-direction: column;
    padding-top: var(--nav-h);
    min-height: auto;
  }

  .hero-left {
    padding: 60px 5% 40px;
    max-width: 100%;
  }

  .hero-right {
    padding: 0 5% 60px;
    min-height: auto;
    width: 100%;
  }

  .hero-right::before { display: none; }

  .hero-right img {
    height: 260px;
    clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);
  }

  .card-1, .card-2 { display: none; }

  .intro-two-col,
  .service-intro,
  .contact-layout,
  .urgence-content {
    grid-template-columns: 1fr;
  }

  .service-intro.reverse { direction: ltr; }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 0;
  }

  .stat-item {
    padding: 12px 16px;
    min-width: 50%;
  }

  .domaines-grid,
  .features-grid,
  .partners-grid,
  .equipe-grid,
  .refs-grid,
  .secteurs-grid,
  .diff-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .chiffres-grid {
    grid-template-columns: 1fr;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  #scroll-top {
    bottom: 20px;
    right: 20px;
  }

  .contact-form {
    padding: 24px 20px;
    clip-path: none;
  }
}