/* =========================================================================
   EHTIA — Design system
   ========================================================================= */

:root {
  --eh-night:        #0A1628;
  --eh-night-soft:   #142136;
  --eh-bone:         #FAFAF7;
  --eh-bone-2:       #F2F1EC;
  --eh-blue:         #2E5BFF;
  --eh-blue-soft:    #4A72FF;
  --eh-gold:         #C8A951;
  --eh-gold-soft:    #D9BD75;
  --eh-stone:        #6B6F76;
  --eh-stone-soft:   #9CA0A8;

  --eh-teal:         #1D9E75;
  --eh-teal-dark:    #0F6E56;
  --eh-purple:       #7F77DD;
  --eh-purple-dark:  #3C3489;
  --eh-coral:        #D85A30;
  --eh-coral-dark:   #993C1D;

  --eh-border:       rgba(10, 22, 40, 0.10);
  --eh-border-dark:  rgba(250, 250, 247, 0.14);

  --eh-font-display: 'DM Serif Display', Georgia, serif;
  --eh-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --eh-font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --eh-r-sm: 6px;
  --eh-r-md: 10px;
  --eh-r-lg: 16px;
  --eh-r-xl: 24px;

  --eh-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --eh-container: 1320px;
  --eh-gutter: 48px;
}

/* =========================================================================
   Reset & base
   ========================================================================= */

body.home {
  background: var(--eh-bone);
  color: var(--eh-night);
  font-family: var(--eh-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

body.home #page-container,
body.home #et-main-area,
body.ehtia-platform-page #page-container,
body.ehtia-platform-page #et-main-area { background: transparent; }

body.home #main-header,
body.home #top-header,
body.home #et-secondary-nav,
body.home #et-secondary-menu,
body.home #main-content > .et_pb_section,
body.home #main-content > article,
body.home #main-footer,
body.ehtia-platform-page #main-header,
body.ehtia-platform-page #top-header,
body.ehtia-platform-page #et-secondary-nav,
body.ehtia-platform-page #et-secondary-menu,
body.ehtia-platform-page #main-content > .et_pb_section,
body.ehtia-platform-page #main-content > article,
body.ehtia-platform-page #main-footer { display: none !important; }

body.home #page-container,
body.ehtia-platform-page #page-container { padding-top: 0 !important; }

body.ehtia-platform-page {
  background: var(--eh-bone);
  color: var(--eh-night);
  font-family: var(--eh-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

.ehtia-home * { box-sizing: border-box; }
.ehtia-home {
  font-family: var(--eh-font-body);
  color: var(--eh-night);
}
.ehtia-home a { color: inherit; text-decoration: none; }
.ehtia-home img { max-width: 100%; height: auto; display: block; }
.ehtia-home p { margin: 0; }
.ehtia-home h1, .ehtia-home h2, .ehtia-home h3, .ehtia-home h4 { margin: 0; font-weight: 500; }

/* Reset agressif des boutons (anti-Divi) */
.ehtia-home button,
body.ehtia-platform-page button {
  font-family: var(--eh-font-body);
  background: transparent;
  border: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin: 0;
  text-shadow: none;
  box-shadow: none;
  line-height: inherit;
}

.ehtia-home button::-moz-focus-inner,
body.ehtia-platform-page button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.ehtia-home input,
.ehtia-home select,
.ehtia-home textarea,
body.ehtia-platform-page input,
body.ehtia-platform-page select,
body.ehtia-platform-page textarea {
  font-family: var(--eh-font-body);
  text-shadow: none;
}

.eh-container {
  max-width: var(--eh-container);
  margin: 0 auto;
  padding: 0 var(--eh-gutter);
  position: relative;
}

.eh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--eh-stone);
  margin-bottom: 18px;
}

.eh-eyebrow__dash {
  width: 28px;
  height: 0.5px;
  background: var(--eh-gold);
}

.eh-section__title {
  font-family: var(--eh-font-display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--eh-night);
  margin: 0 0 16px;
}

.eh-section__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--eh-stone);
  max-width: 620px;
  margin: 0 0 56px;
}

.eh-section { padding: 120px 0; position: relative; }
.eh-section--dark { background: var(--eh-night); color: var(--eh-bone); }
.eh-section--dark .eh-section__title { color: var(--eh-bone); }
.eh-section--dark .eh-section__lede { color: rgba(250, 250, 247, 0.72); }
.eh-section--dark .eh-eyebrow { color: rgba(250, 250, 247, 0.6); }

/* =========================================================================
   Nav + mega-menu
   ========================================================================= */

.eh-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(10, 45, 85, 0.86) 0%, rgba(24, 96, 168, 0.82) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.12);
  transition: background 0.4s var(--eh-ease), padding 0.4s var(--eh-ease), border 0.4s var(--eh-ease);
}

.eh-nav.is-scrolled,
.eh-nav.has-open-menu {
  background: linear-gradient(90deg, rgba(9, 40, 78, 0.96) 0%, rgba(20, 84, 152, 0.94) 100%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: 10px 48px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.16);
}

.eh-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--eh-bone);
  font-weight: 500;
  letter-spacing: 1.5px;
  font-size: 14px;
  z-index: 2;
  text-decoration: none;
}

.eh-nav__brand-img {
  display: block;
  width: auto !important;
  height: 42px !important;
  max-height: 42px !important;
  object-fit: contain;
}

.eh-nav.is-scrolled .eh-nav__brand-img {
  height: 36px !important;
  max-height: 36px !important;
}

.eh-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.eh-nav__item {
  position: relative;
}

.eh-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  margin: 0;
  font-family: var(--eh-font-body);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1;
  color: rgba(250, 250, 247, 0.78) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 8px;
  box-shadow: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-shadow: none !important;
  text-decoration: none !important;
  outline: none;
  transition: color 0.13s var(--eh-ease), background-color 0.13s var(--eh-ease);
}

.eh-nav__link:hover,
.eh-nav__link:focus,
.eh-nav__item.is-open .eh-nav__link {
  color: var(--eh-bone) !important;
  background-color: rgba(250, 250, 247, 0.10) !important;
}

.eh-nav__link::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.eh-nav__link svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform 0.2s var(--eh-ease);
}

.eh-nav__item.is-open .eh-nav__link svg {
  transform: rotate(180deg);
}

.eh-nav__cta {
  padding: 10px 20px;
  background: linear-gradient(135deg, #7FD4FF 0%, #3FB4F0 100%);
  color: #0A2A52;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(24, 120, 200, 0.38);
  transition: transform 0.2s var(--eh-ease), background 0.2s var(--eh-ease), box-shadow 0.2s var(--eh-ease);
}
.eh-nav__cta:hover {
  background: linear-gradient(135deg, #9FE2FF 0%, #5FC6F5 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(24, 120, 200, 0.5);
}
.eh-nav__cta svg { stroke: #0A2A52; }

/* Mega-menu panneau (clair, contraste fort avec hero) */
.eh-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: 600px;
  max-width: calc(100vw - 80px);
  background: linear-gradient(180deg, rgba(14, 42, 78, 0.98) 0%, rgba(9, 26, 51, 0.98) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(120, 180, 255, 0.16);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 30px 70px -26px rgba(6, 18, 42, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s var(--eh-ease), transform 0.16s var(--eh-ease), visibility 0.16s var(--eh-ease);
  pointer-events: none;
}

.eh-nav__item.is-open .eh-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.eh-mega--wide { width: 720px; }
.eh-mega--solutions { width: 900px; }

/* Solutions : 3 catégories (secteurs d'activité) → plateformes */
.eh-mega__cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.eh-mega-cat {
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.eh-mega-cat__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.eh-mega-cat__icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(127, 212, 255, 0.14);
  color: #7FD4FF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.eh-mega-cat__icon svg { width: 15px; height: 15px; }
.eh-mega-cat__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  line-height: 1.2;
}

.eh-mega__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 8px 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.eh-mega__title {
  font-family: var(--eh-font-display);
  font-size: 15px;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.eh-mega__hint {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.eh-mega__all {
  font-size: 11.5px;
  color: #7FD4FF;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: gap 0.25s var(--eh-ease);
}
.eh-mega__all:hover { gap: 8px; }

.eh-mega__grid {
  display: grid;
  gap: 2px;
}
.eh-mega__grid--2 { grid-template-columns: 1fr 1fr; }
.eh-mega__grid--4 { grid-template-columns: repeat(2, 1fr); gap: 4px; }

.eh-mega-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.13s var(--eh-ease), transform 0.13s var(--eh-ease);
  /* Entrée séquentielle */
  opacity: 0;
  transform: translateY(6px);
}

.eh-nav__item.is-open .eh-mega-link {
  animation: ehMegaItemIn 0.22s var(--eh-ease) forwards;
}

@keyframes ehMegaItemIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Délais en cascade */
.eh-nav__item.is-open .eh-mega-link:nth-child(1) { animation-delay: 0.04s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(2) { animation-delay: 0.08s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(3) { animation-delay: 0.12s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(4) { animation-delay: 0.16s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(5) { animation-delay: 0.20s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(6) { animation-delay: 0.24s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(7) { animation-delay: 0.28s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(8) { animation-delay: 0.32s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(9) { animation-delay: 0.36s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(10) { animation-delay: 0.40s; }
.eh-nav__item.is-open .eh-mega-link:nth-child(11) { animation-delay: 0.44s; }

.eh-mega-link:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.eh-mega-link__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(127, 212, 255, 0.10);
  color: #7FD4FF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: background 0.13s var(--eh-ease), color 0.13s var(--eh-ease), transform 0.13s var(--eh-ease), opacity 0.13s var(--eh-ease);
}
.eh-mega-link:hover .eh-mega-link__icon {
  background: var(--eh-blue);
  color: #FFFFFF;
  opacity: 1;
  transform: scale(1.1);
}
.eh-mega-link__icon svg { width: 18px; height: 18px; }

.eh-mega-link__body { flex: 1; min-width: 0; }
.eh-mega-link__title {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1px;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.eh-mega-link__desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tuile domaine avec photo */
.eh-mega-tile {
  position: relative;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: var(--eh-bone);
  background-color: var(--eh-night-soft);
  background-size: cover;
  background-position: center;
  transition: transform 0.3s var(--eh-ease);
}

.eh-mega-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.2) 0%, rgba(10, 22, 40, 0.85) 100%);
}

.eh-mega-tile:hover {
  transform: scale(1.02);
}

.eh-mega-tile__label {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Backdrop derrière le menu ouvert (clic = ferme) */
.eh-nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--eh-ease), visibility 0.25s var(--eh-ease);
  z-index: 99;
}

.eh-nav.has-open-menu ~ .eh-nav__backdrop {
  opacity: 1;
  visibility: visible;
}

/* =========================================================================
   Hero (section 01)
   ========================================================================= */

.eh-hero {
  position: relative;
  height: 67vh;
  min-height: 520px;
  max-height: 760px;
  background: var(--eh-night);
  color: var(--eh-bone);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 48px 60px;
}

.eh-hero__video,
.eh-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

.eh-hero__canvas { opacity: 1; }

/* Diaporama de fond du Hero (vraies photos équipe / bureaux / mines) */
.eh-hero__slides { position: absolute; inset: 0; z-index: 1; }
.eh-hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s var(--eh-ease);
  filter: brightness(1.1) saturate(1.05) contrast(1.02);
}
/* Ken Burns uniquement sur la slide visible (pas les 5 en simultané) */
.eh-hero__slide.is-active {
  opacity: 1;
  animation: eh-hero-kenburns 24s ease-in-out infinite alternate;
}
@keyframes eh-hero-kenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .eh-hero__slide { animation: none; transform: none; }
}
/* Quand une vraie photo est utilisée : on masque l'animation et on pose un
   voile BLEU DE MARQUE pour garder le texte parfaitement lisible. */
.eh-hero--photo .eh-hero__canvas { display: none; }
/* Voile LÉGER : bleu concentré à gauche derrière le texte, image nette/claire à droite */
.eh-hero--photo .eh-hero__gradient {
  background:
    linear-gradient(90deg, rgba(8, 28, 58, 0.92) 0%, rgba(8, 28, 58, 0.74) 30%, rgba(8, 28, 58, 0.42) 50%, rgba(8, 28, 58, 0.12) 68%, rgba(8, 28, 58, 0) 84%),
    linear-gradient(180deg, rgba(8, 28, 58, 0) 55%, rgba(8, 28, 58, 0.34) 100%);
}
/* Ombre portée sur le texte → lisibilité garantie malgré le voile allégé */
.eh-hero--photo .eh-hero__title,
.eh-hero--photo .eh-hero__lede {
  text-shadow: 0 2px 20px rgba(6, 18, 42, 0.6), 0 1px 3px rgba(6, 18, 42, 0.5);
}

.eh-hero__gradient {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(10, 22, 40, 0.0) 0%, rgba(10, 22, 40, 0.78) 70%),
    linear-gradient(135deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.2) 50%, rgba(10, 22, 40, 0.7) 100%);
  pointer-events: none;
}

.eh-hero__inner {
  position: relative; z-index: 3;
  max-width: var(--eh-container);
  margin: 0 auto;
  width: 100%;
  display: block;
}

.eh-hero__content {
  max-width: 760px;
}

.eh-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 0.5px solid rgba(250, 250, 247, 0.22);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.75);
  margin-bottom: 32px;
}

.eh-hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--eh-blue);
  animation: ehPulse 2.4s var(--eh-ease) infinite;
}

@keyframes ehPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 91, 255, 0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(46, 91, 255, 0); }
}

.eh-hero__title {
  font-family: var(--eh-font-display);
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 28px;
  color: var(--eh-bone);
  position: relative;
  min-height: 1.6em;
}
.eh-hero__title-accent { color: var(--eh-gold); }
.eh-hero__title-mute { color: rgba(250, 250, 247, 0.45); }

.eh-hero__slogan {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.eh-hero__slogan.is-active {
  position: relative;
  pointer-events: auto;
}

.eh-hero__slogan .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition: opacity 0.65s var(--eh-ease), transform 0.7s var(--eh-ease), filter 0.6s var(--eh-ease);
  transition-delay: 0s;
  will-change: opacity, transform, filter;
}

.eh-hero__slogan.is-active .word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: calc(var(--word-index, 0) * 90ms);
}

.eh-hero__slogan:not(.is-active) .word {
  transition: opacity 0.35s var(--eh-ease), filter 0.35s var(--eh-ease);
}

.eh-hero__lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(250, 250, 247, 0.72);
  max-width: 540px;
  margin: 0 0 40px;
}

.eh-hero__ctas {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.eh-hero__ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.eh-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: transform 0.25s var(--eh-ease), background 0.25s var(--eh-ease), border-color 0.25s var(--eh-ease), color 0.25s var(--eh-ease);
  cursor: pointer;
  border: 0.5px solid transparent;
}

.eh-cta--primary {
  background: var(--eh-blue);
  color: var(--eh-bone);
  border-color: var(--eh-blue);
}
.eh-cta--primary:hover {
  background: var(--eh-blue-soft);
  border-color: var(--eh-blue-soft);
  transform: translateY(-2px);
}

.eh-cta--ghost {
  background: transparent;
  color: var(--eh-bone);
  border-color: rgba(250, 250, 247, 0.30);
}
.eh-cta--ghost:hover { border-color: var(--eh-bone); background: rgba(250, 250, 247, 0.06); }

.eh-cta--ghost-dark {
  background: transparent;
  color: var(--eh-night);
  border-color: rgba(10, 22, 40, 0.20);
}
.eh-cta--ghost-dark:hover { border-color: var(--eh-night); background: rgba(10, 22, 40, 0.04); }

.eh-cta__arrow { transition: transform 0.25s var(--eh-ease); }
.eh-cta:hover .eh-cta__arrow { transform: translateX(4px); }

.eh-hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
}

.eh-hero__scroll-arrow { animation: ehBounce 2s ease-in-out infinite; }

@keyframes ehBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* =========================================================================
   Manifeste (section 02) — composant interactif Apple-style
   ========================================================================= */

.eh-manifeste {
  background: var(--eh-bone);
  padding: 110px 0;
}

.eh-manifeste__head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 0 24px;
}

.eh-manifeste__kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--eh-blue);
  margin-bottom: 14px;
  letter-spacing: 0;
}

.eh-manifeste__title {
  font-family: var(--eh-font-display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--eh-night);
  margin: 0 0 18px;
}

.eh-manifeste__sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--eh-stone);
  margin: 0;
}

.eh-manifeste__panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eh-manifeste__stage {
  position: relative;
  background: var(--eh-night);
  border-radius: 24px;
  overflow: hidden;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  color: var(--eh-bone);
}

.eh-manifeste__visual {
  position: relative;
  overflow: hidden;
  background: var(--eh-night-soft);
}

.eh-manifeste__visual-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s var(--eh-ease), transform 6s linear;
}

.eh-manifeste__visual-img.is-active {
  opacity: 1;
  transform: scale(1.0);
}

.eh-manifeste__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(10, 22, 40, 0.55) 0%, rgba(10, 22, 40, 0.15) 60%, rgba(10, 22, 40, 0) 100%);
  pointer-events: none;
}

.eh-manifeste__step-num {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--eh-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(250, 250, 247, 0.7);
  z-index: 2;
}

.eh-manifeste__body {
  padding: 60px 62px;
  background: linear-gradient(150deg, #2168B4 0%, #124A87 55%, #0E3C70 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eh-manifeste__slide {
  display: none;
  animation: ehSlideIn 0.6s var(--eh-ease) forwards;
}

.eh-manifeste__slide.is-active {
  display: block;
}

@keyframes ehSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eh-manifeste__slide-title {
  font-family: var(--eh-font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0 0 20px;
}

.eh-manifeste__slide-title-accent {
  color: #7FD4FF;
}

.eh-manifeste__slide-desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 42ch;
}

.eh-manifeste__tabs {
  display: flex;
  gap: 4px;
  margin-top: 40px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  width: fit-content;
}

.eh-manifeste__tab {
  padding: 8px 16px;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--eh-font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--eh-ease), color 0.25s var(--eh-ease);
}

.eh-manifeste__tab.is-active {
  background: #FFFFFF;
  color: #124A87;
}

/* =========================================================================
   Mission Afrique (section 02bis)
   ========================================================================= */

.eh-mission {
  background:
    radial-gradient(circle at 12% 12%, rgba(46,91,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(200,169,81,0.10) 0%, transparent 42%),
    linear-gradient(160deg, #FAFAF7 0%, #EEF1FA 55%, #F4EFE4 100%);
  color: var(--eh-night);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.eh-mission__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eh-mission__kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--eh-blue);
  margin-bottom: 18px;
}

.eh-mission__title {
  font-family: var(--eh-font-display);
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--eh-night);
  margin: 0 0 22px;
}

.eh-mission__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--eh-stone);
  margin: 0 0 16px;
  max-width: 560px;
}

.eh-mission__text strong { color: var(--eh-night); font-weight: 500; }

/* Visuel : deux images superposées + badge */
.eh-mission__visual {
  position: relative;
  height: 420px;
}

.eh-mission__img {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 30px 70px -30px rgba(10, 22, 40, 0.35);
}

.eh-mission__img--main {
  top: 0; right: 0;
  width: 74%;
  height: 78%;
}

.eh-mission__img--sub {
  bottom: 0; left: 0;
  width: 52%;
  height: 52%;
  border: 4px solid #FAFAF7;
  z-index: 2;
}

.eh-mission__badge {
  position: absolute;
  top: 12%;
  left: 0;
  z-index: 3;
  background: linear-gradient(135deg, var(--eh-gold) 0%, #B8954A 100%);
  color: var(--eh-night);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 40px -12px rgba(200, 169, 81, 0.55);
  animation: ehOrbitFloat 6s var(--eh-ease) infinite;
}

.eh-mission__badge-num {
  font-family: var(--eh-font-display);
  font-size: 38px;
  line-height: 1;
  font-weight: 400;
}

.eh-mission__badge-label {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 3 piliers — cartes claires premium */
.eh-mission__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.eh-mission-pillar {
  background: #FFFFFF;
  border: 1px solid rgba(10, 22, 40, 0.07);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -18px rgba(10, 22, 40, 0.18);
  transition: transform 0.35s var(--eh-ease), border-color 0.35s var(--eh-ease), box-shadow 0.35s var(--eh-ease);
}

.eh-mission-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 91, 255, 0.25);
  box-shadow: 0 28px 60px -30px rgba(46, 91, 255, 0.3);
}

.eh-mission-pillar__media {
  position: relative;
  height: 178px;
  background-size: cover;
  background-position: center;
  background-color: var(--eh-night-soft);
}
.eh-mission-pillar__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 61, 0.05) 40%, rgba(10, 30, 61, 0.42) 100%);
}
.eh-mission-pillar:hover .eh-mission-pillar__media {
  filter: saturate(1.06);
}

.eh-mission-pillar__content {
  padding: 0 26px 28px;
  display: flex;
  flex-direction: column;
}

.eh-mission-pillar__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #FFFFFF;
  color: var(--eh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -27px 0 16px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 22px -8px rgba(10, 22, 40, 0.35);
}

.eh-mission-pillar__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--eh-night);
  margin: 0 0 8px;
}

.eh-mission-pillar__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--eh-stone);
  margin: 0;
}

.eh-mission-pillar__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.eh-mission-pillar__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--eh-night);
  font-weight: 500;
}
.eh-mission-pillar__check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(46, 91, 255, 0.12);
  color: var(--eh-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.eh-mission-pillar__check svg { display: block; }

@media (max-width: 860px) {
  .eh-mission__grid { grid-template-columns: 1fr; gap: 36px; }
  .eh-mission__visual { height: 320px; }
  .eh-mission__pillars { grid-template-columns: 1fr; margin-top: 40px; }
}

/* =========================================================================
   Plateformes (section 03) — tuiles photo Apple/Isometrix
   ========================================================================= */

.eh-plateformes {
  background: var(--eh-bone-2);
  padding: 110px 0;
}

.eh-plateformes__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 24px;
}

.eh-plateformes__kicker,
.eh-manifeste__kicker,
.eh-eyebrow,
.eh-eyebrow__dash {
  display: none !important;
}

.eh-plateformes__title {
  font-family: var(--eh-font-display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--eh-night);
  margin: 0 0 18px;
}

.eh-plateformes__sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--eh-stone);
  margin: 0;
}

/* Grille bento style Apple */
.eh-grid-plateformes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eh-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: var(--eh-bone);
  background: var(--eh-night-soft);
  box-shadow: 0 18px 40px -26px rgba(10, 22, 40, 0.45);
  transition: transform 0.5s var(--eh-ease), box-shadow 0.5s var(--eh-ease);
  isolation: isolate;
}

.eh-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -32px rgba(10, 22, 40, 0.55);
}

/* Image plein cadre */
.eh-tile__media-inner {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 1.1s var(--eh-ease);
}
.eh-tile:hover .eh-tile__media-inner { transform: scale(1.10); }

/* Voile dégradé bas → texte lisible */
.eh-tile__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,16,32,0.0) 30%, rgba(8,16,32,0.55) 68%, rgba(8,16,32,0.92) 100%);
  transition: background 0.5s var(--eh-ease);
}
.eh-tile:hover .eh-tile__scrim {
  background: linear-gradient(180deg, rgba(8,16,32,0.1) 22%, rgba(8,16,32,0.6) 60%, rgba(8,16,32,0.95) 100%);
}

/* Anneau premium au survol */
.eh-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 24px;
  border: 1px solid rgba(250,250,247,0.0);
  transition: border-color 0.5s var(--eh-ease);
  pointer-events: none;
}
.eh-tile:hover::after { border-color: rgba(250,250,247,0.22); }

.eh-tile__index {
  position: absolute;
  top: 18px; left: 20px;
  z-index: 3;
  font-family: var(--eh-font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(250, 250, 247, 0.85);
}

.eh-tile__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
}

.eh-tile__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(250,250,247,0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(250,250,247,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--eh-bone);
  margin-bottom: 16px;
  transition: background 0.4s var(--eh-ease), transform 0.4s var(--eh-ease);
}
.eh-tile__icon svg { width: 22px; height: 22px; }
.eh-tile:hover .eh-tile__icon { background: var(--eh-blue); transform: translateY(-2px); }

.eh-tile__title {
  font-family: var(--eh-font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--eh-bone);
  margin: 0 0 8px;
}

.eh-tile__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(250, 250, 247, 0.78);
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height 0.5s var(--eh-ease), opacity 0.45s var(--eh-ease), transform 0.45s var(--eh-ease), margin 0.45s var(--eh-ease);
}
.eh-tile:hover .eh-tile__desc {
  max-height: 90px;
  opacity: 1;
  transform: translateY(0);
  margin: 0 0 14px;
}

.eh-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--eh-bone);
  opacity: 0.85;
  transition: gap 0.3s var(--eh-ease), opacity 0.3s var(--eh-ease);
}
.eh-tile:hover .eh-tile__cta { gap: 12px; opacity: 1; }

/* Tuile featured (1ère) : large landscape, texte plus grand */
.eh-tile--featured {
  grid-column: span 3;
  aspect-ratio: 21 / 9;
}
.eh-tile--featured .eh-tile__scrim {
  background: linear-gradient(100deg, rgba(8,16,32,0.92) 0%, rgba(8,16,32,0.55) 42%, rgba(8,16,32,0.12) 78%);
}
.eh-tile--featured:hover .eh-tile__scrim {
  background: linear-gradient(100deg, rgba(8,16,32,0.94) 0%, rgba(8,16,32,0.6) 46%, rgba(8,16,32,0.18) 82%);
}
.eh-tile--featured .eh-tile__body {
  top: 0;
  max-width: 56%;
  justify-content: center;
  padding: 0 0 0 48px;
}
.eh-tile--featured .eh-tile__icon { width: 54px; height: 54px; }
.eh-tile--featured .eh-tile__icon svg { width: 26px; height: 26px; }
.eh-tile--featured .eh-tile__title {
  font-family: var(--eh-font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 14px;
}
.eh-tile--featured .eh-tile__desc {
  max-height: 100px;
  opacity: 1;
  transform: none;
  margin: 0 0 18px;
  font-size: 15.5px;
  max-width: 90%;
}
.eh-tile--featured .eh-tile__cta { opacity: 1; font-size: 14px; }

/* =========================================================================
   Pour qui (section 04)
   ========================================================================= */

.eh-pourqui { background: var(--eh-bone-2); padding: 120px 0; }

.eh-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.eh-pillar {
  background: var(--eh-bone);
  border: 0.5px solid var(--eh-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s var(--eh-ease), box-shadow 0.35s var(--eh-ease);
  display: flex;
  flex-direction: column;
}

.eh-pillar:hover {
  transform: translateY(-4px);
}

.eh-pillar__visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.eh-pillar__visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0) 40%, rgba(10, 22, 40, 0.55) 100%);
  pointer-events: none;
}

.eh-pillar__visual-tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--eh-bone);
  font-weight: 500;
}

.eh-pillar__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.eh-pillar__title {
  font-family: var(--eh-font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--eh-night);
}

.eh-pillar__sub {
  font-size: 14px;
  color: var(--eh-stone);
  line-height: 1.5;
  margin: 0 0 20px;
}

.eh-pillar__list-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--eh-stone);
  margin: 0 0 10px;
}

.eh-pillar__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eh-pillar__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--eh-night);
}

.eh-pillar__list svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--eh-stone); }

.eh-pillar__cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.3s var(--eh-ease);
}
.eh-pillar__cta:hover { gap: 12px; }

.eh-pillar--coll .eh-pillar__cta { color: var(--eh-teal-dark); }
.eh-pillar--gov .eh-pillar__cta { color: var(--eh-purple-dark); }
.eh-pillar--ent .eh-pillar__cta { color: var(--eh-coral-dark); }

/* =========================================================================
   Approche (section 05)
   ========================================================================= */

.eh-approche {
  background: linear-gradient(180deg, var(--eh-bone) 0%, #EFEEE7 100%);
  color: var(--eh-night);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

.eh-approche::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 91, 255, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.eh-approche::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 81, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.eh-progress {
  position: relative;
  margin: 0 0 48px;
  padding: 4px 8px 0;
}

.eh-progress__track {
  position: absolute;
  top: 14px; left: 8px; right: 8px;
  height: 1px;
  background: rgba(10, 22, 40, 0.12);
}

.eh-progress__bar {
  position: absolute;
  top: 14px; left: 8px;
  height: 1px;
  background: var(--eh-blue);
  width: 0%;
  transition: width 0.6s var(--eh-ease);
}

.eh-progress__dots {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.eh-progress__dot {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}

.eh-progress__dot-mark {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--eh-bone);
  border: 2px solid rgba(10, 22, 40, 0.2);
  transition: all 0.4s var(--eh-ease);
}

.eh-progress__dot.is-active .eh-progress__dot-mark {
  background: var(--eh-blue);
  border-color: var(--eh-blue);
  box-shadow: 0 0 0 5px rgba(46, 91, 255, 0.15);
}

.eh-progress__dot-label {
  font-family: var(--eh-font-mono);
  font-size: 11px;
  color: rgba(10, 22, 40, 0.4);
}
.eh-progress__dot.is-active .eh-progress__dot-label { color: var(--eh-blue); }

.eh-pillars-approche {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.eh-pillar-card {
  --eh-accent: #2E5BFF;
  --eh-accent-soft: rgba(46, 91, 255, 0.10);
  position: relative;
  background: #FFFFFF;
  color: var(--eh-night);
  border: 1px solid rgba(10, 22, 40, 0.07);
  border-radius: 20px;
  padding: 34px 32px 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(10, 22, 40, 0.18);
  transition: transform 0.4s var(--eh-ease), box-shadow 0.4s var(--eh-ease), border-color 0.4s var(--eh-ease);
}

/* Liseré coloré en haut */
.eh-pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--eh-accent);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.5s var(--eh-ease);
}

/* Halo coloré décoratif */
.eh-pillar-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--eh-accent-soft) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--eh-ease);
  pointer-events: none;
}

.eh-pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 22, 40, 0.04);
  box-shadow: 0 30px 70px -32px var(--eh-accent);
}

.eh-pillar-card:hover::before { transform: scaleX(1); }
.eh-pillar-card:hover::after { opacity: 1; }

.eh-pillar-card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.eh-pillar-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--eh-accent-soft);
  color: var(--eh-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s var(--eh-ease), color 0.4s var(--eh-ease), transform 0.4s var(--eh-ease);
}
.eh-pillar-card__icon svg { width: 26px; height: 26px; }

.eh-pillar-card:hover .eh-pillar-card__icon {
  background: var(--eh-accent);
  color: #FFFFFF;
  transform: scale(1.06) rotate(-4deg);
}

.eh-pillar-card__index {
  font-family: var(--eh-font-display);
  font-size: 34px;
  line-height: 1;
  color: rgba(10, 22, 40, 0.10);
  font-weight: 400;
  transition: color 0.4s var(--eh-ease);
}
.eh-pillar-card:hover .eh-pillar-card__index { color: var(--eh-accent-soft); }

.eh-pillar-card__title {
  font-family: var(--eh-font-body);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--eh-night);
  position: relative;
  z-index: 1;
}

.eh-pillar-card__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--eh-stone);
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}

.eh-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: var(--eh-accent-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--eh-accent);
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}
.eh-badge svg { width: 13px; height: 13px; }

/* Couleurs par pilier */
.eh-pillar-card--blue   { --eh-accent: #2E5BFF; --eh-accent-soft: rgba(46, 91, 255, 0.10); }
.eh-pillar-card--teal   { --eh-accent: #0F8A66; --eh-accent-soft: rgba(15, 138, 102, 0.10); }
.eh-pillar-card--purple { --eh-accent: #5B50C9; --eh-accent-soft: rgba(91, 80, 201, 0.10); }
.eh-pillar-card--gold   { --eh-accent: #B8860B; --eh-accent-soft: rgba(184, 134, 11, 0.10); }

/* =========================================================================
   Cas d'usage (section 06)
   ========================================================================= */

.eh-cas { background: var(--eh-bone); padding: 120px 0; }

.eh-cas__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.eh-cas__nav { display: flex; gap: 8px; }

.eh-nav-btn {
  width: 44px; height: 44px;
  border: 0.5px solid var(--eh-border);
  background: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--eh-ease);
  color: var(--eh-night);
}

.eh-nav-btn:hover { border-color: var(--eh-night); }
.eh-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.eh-cas__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.eh-cas-hero {
  background: var(--eh-bone);
  border: 0.5px solid var(--eh-border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.eh-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}

.eh-chip__dot { width: 5px; height: 5px; border-radius: 50%; }

.eh-chip--coll { background: rgba(29, 158, 117, 0.1); border: 0.5px solid rgba(29, 158, 117, 0.3); color: var(--eh-teal-dark); }
.eh-chip--coll .eh-chip__dot { background: var(--eh-teal); }

.eh-chip--gov { background: rgba(127, 119, 221, 0.12); border: 0.5px solid rgba(127, 119, 221, 0.3); color: var(--eh-purple-dark); }
.eh-chip--gov .eh-chip__dot { background: var(--eh-purple); }

.eh-chip--ent { background: rgba(216, 90, 48, 0.1); border: 0.5px solid rgba(216, 90, 48, 0.3); color: var(--eh-coral-dark); }
.eh-chip--ent .eh-chip__dot { background: var(--eh-coral); }

.eh-cas-hero__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}

.eh-cas-hero__counter {
  font-family: var(--eh-font-mono);
  font-size: 11px;
  color: var(--eh-stone);
  letter-spacing: 1px;
}

.eh-cas-hero__org {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--eh-stone);
  margin: 0 0 8px;
}

.eh-cas-hero__title {
  font-family: var(--eh-font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--eh-night);
  margin: 0 0 20px;
  font-weight: 400;
}
.eh-cas-hero__title-accent { color: var(--eh-gold); }

.eh-cas-hero__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--eh-stone);
  margin: 0 0 24px;
  max-width: 95%;
}

.eh-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px;
  background: rgba(46, 91, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 24px;
}

.eh-kpi__value {
  font-family: var(--eh-font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--eh-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.eh-kpi__label {
  font-size: 11px;
  color: var(--eh-stone);
  line-height: 1.4;
}

.eh-quote {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--eh-bone-2);
  border-left: 2px solid var(--eh-gold);
  border-radius: 0;
}

.eh-quote__text {
  font-family: var(--eh-font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--eh-night);
}

.eh-quote__author {
  font-size: 11px;
  color: var(--eh-stone);
  margin-top: 6px;
}

.eh-cas__side {
  display: flex; flex-direction: column; gap: 14px;
}

.eh-cas-mini {
  flex: 1;
  border-radius: 14px;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.3s var(--eh-ease);
  cursor: pointer;
}

.eh-cas-mini:hover { transform: translateY(-3px); }

.eh-cas-mini--gov { background: rgba(127, 119, 221, 0.06); border: 0.5px solid rgba(127, 119, 221, 0.2); }
.eh-cas-mini--ent { background: rgba(216, 90, 48, 0.06); border: 0.5px solid rgba(216, 90, 48, 0.2); }

.eh-cas-mini__org {
  font-size: 12px;
  font-weight: 500;
  margin: 14px 0 6px;
}

.eh-cas-mini__title {
  font-family: var(--eh-font-display);
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
  font-weight: 400;
}
.eh-cas-mini__title-accent { color: var(--eh-gold); }

.eh-cas-mini__cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px;
  font-weight: 500;
  margin-top: 14px;
}
.eh-cas-mini--gov .eh-cas-mini__cta { color: var(--eh-purple-dark); }
.eh-cas-mini--ent .eh-cas-mini__cta { color: var(--eh-coral-dark); }

/* =========================================================================
   Newsroom (section 07)
   ========================================================================= */

.eh-newsroom { background: var(--eh-bone); padding: 120px 0; }

.eh-newsroom__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 0.5px solid var(--eh-border);
}

.eh-newsroom__all {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--eh-blue);
}
.eh-newsroom__all:hover { color: var(--eh-blue-soft); }

.eh-newsroom__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

.eh-article {
  background: var(--eh-bone);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.35s var(--eh-ease), border-color 0.35s var(--eh-ease), box-shadow 0.35s var(--eh-ease);
  display: flex; flex-direction: column;
}

.eh-article:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 91, 255, 0.25);
  box-shadow: 0 24px 60px -30px rgba(46, 91, 255, 0.3);
}

.eh-article__cover {
  display: block;
  height: 220px;
  background-color: var(--eh-night-soft);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--eh-ease);
}

.eh-article:hover .eh-article__cover {
  transform: scale(1.03);
}

.eh-article__cover svg { width: 40px; height: 40px; opacity: 0.5; }

.eh-article__cover img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.eh-article__body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }

.eh-article__date {
  display: inline-block;
  font-family: var(--eh-font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--eh-stone);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.eh-article__title {
  font-family: var(--eh-font-display);
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--eh-blue);
  margin: 0 0 12px;
}

.eh-article__title a {
  color: inherit;
  transition: color 0.25s var(--eh-ease);
}

.eh-article__title a:hover {
  color: var(--eh-night);
}

.eh-article--featured .eh-article__title { font-size: 26px; }

.eh-article__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--eh-stone);
  margin: 0 0 18px;
}

.eh-article__more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--eh-blue);
  margin-top: auto;
  transition: gap 0.25s var(--eh-ease);
}

.eh-article__more:hover { gap: 12px; }

/* Tag classes (gardés pour compatibilité ailleurs) */
.eh-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
}

.eh-tag--blue { background: rgba(46, 91, 255, 0.1); color: #185FA5; }
.eh-tag--purple { background: rgba(127, 119, 221, 0.12); color: var(--eh-purple-dark); }
.eh-tag--teal { background: rgba(29, 158, 117, 0.12); color: var(--eh-teal-dark); }

.eh-newsroom__side {
  display: flex; flex-direction: column; gap: 14px;
}

.eh-newsroom__side .eh-article { height: 100%; min-height: 160px; }
.eh-newsroom__side .eh-article__body { padding: 20px; }
.eh-newsroom__side .eh-article__title { font-size: 17px; }
.eh-newsroom__side .eh-article__excerpt { font-size: 12px; }

/* =========================================================================
   Bandeau CTA (section 08)
   ========================================================================= */

.eh-cta-band {
  background: linear-gradient(150deg, #1B4F8C 0%, #0F3568 55%, #0B2A50 100%);
  color: var(--eh-bone);
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}

.eh-cta-band::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 212, 255, 0.22) 0%, transparent 60%);
}

.eh-cta-band::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 109, 188, 0.28) 0%, transparent 60%);
}

.eh-cta-band__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.eh-cta-band__title {
  font-family: var(--eh-font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.eh-cta-band__title-accent { color: #7FD4FF; }

.eh-cta-band__desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
  margin: 0 0 24px;
}

.eh-cta-band__trust {
  display: flex; align-items: center; gap: 20px;
  font-size: 12px;
  color: rgba(250, 250, 247, 0.55);
}

.eh-cta-band__trust-item { display: inline-flex; align-items: center; gap: 6px; }
.eh-cta-band__trust-item svg { width: 14px; height: 14px; }

.eh-form {
  background: rgba(250, 250, 247, 0.04);
  border: 0.5px solid rgba(250, 250, 247, 0.15);
  border-radius: 16px;
  padding: 28px;
}

.eh-form__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.7);
  margin: 0 0 16px;
}

.eh-form__field {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(250, 250, 247, 0.06);
  border: 0.5px solid rgba(250, 250, 247, 0.15);
  border-radius: 8px;
  margin-bottom: 10px;
  transition: border-color 0.25s var(--eh-ease);
}

.eh-form__field:focus-within { border-color: var(--eh-blue); }

.eh-form__field svg { width: 16px; height: 16px; color: rgba(250, 250, 247, 0.45); flex-shrink: 0; }

.eh-form__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--eh-bone);
  font-family: var(--eh-font-body);
  font-size: 14px;
}
.eh-form__input::placeholder { color: rgba(250, 250, 247, 0.45); }

.eh-form__submit {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  background: var(--eh-blue);
  color: var(--eh-bone);
  border: 0.5px solid var(--eh-blue);
  border-radius: 8px;
  font-family: var(--eh-font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.25s var(--eh-ease);
}
.eh-form__submit:hover { background: var(--eh-blue-soft); }

/* =========================================================================
   Footer (section 09)
   ========================================================================= */

.eh-footer {
  background: linear-gradient(165deg, #1A4574 0%, #103058 55%, #0C2748 100%);
  color: var(--eh-bone);
  padding: 72px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(120, 180, 255, 0.14);
}

.eh-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.eh-footer__brand-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  color: var(--eh-bone);
  font-weight: 500;
  letter-spacing: 1.5px;
}

.eh-footer__brand-img {
  display: block;
  width: auto !important;
  height: 32px !important;
  max-height: 32px !important;
  object-fit: contain;
  margin-bottom: 6px;
}

.eh-footer__brand-tagline {
  font-size: 13px;
  color: rgba(250, 250, 247, 0.65);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 280px;
}

.eh-socials { display: flex; gap: 8px; }

.eh-social {
  width: 32px; height: 32px;
  border: 0.5px solid rgba(250, 250, 247, 0.22);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(250, 250, 247, 0.7);
  transition: all 0.25s var(--eh-ease);
}

.eh-social:hover { color: var(--eh-bone); border-color: var(--eh-bone); }
.eh-social svg { width: 14px; height: 14px; }

.eh-footer__heading {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.45);
  margin: 0 0 14px;
}

.eh-footer__list { list-style: none; padding: 0; margin: 0 0 24px; }
.eh-footer__list li { margin-bottom: 8px; }
.eh-footer__list a { font-size: 13px; color: rgba(250, 250, 247, 0.85); transition: color 0.2s var(--eh-ease); }
.eh-footer__list a:hover { color: var(--eh-bone); }

.eh-footer__contact { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.eh-footer__contact-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(250, 250, 247, 0.85); line-height: 1.5; }
.eh-footer__contact-item svg { width: 14px; height: 14px; color: var(--eh-gold); margin-top: 3px; flex-shrink: 0; }

.eh-newsletter { display: flex; gap: 6px; }

.eh-newsletter__input {
  flex: 1;
  padding: 8px 10px;
  background: rgba(250, 250, 247, 0.06);
  border: 0.5px solid rgba(250, 250, 247, 0.18);
  border-radius: 6px;
  color: var(--eh-bone);
  font-family: var(--eh-font-body);
  font-size: 12px;
  outline: none;
}
.eh-newsletter__input::placeholder { color: rgba(250, 250, 247, 0.4); }

.eh-newsletter__submit {
  padding: 8px 14px;
  background: var(--eh-blue);
  color: var(--eh-bone);
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s var(--eh-ease);
}
.eh-newsletter__submit:hover { background: var(--eh-blue-soft); }

.eh-footer__watermark {
  position: absolute;
  bottom: -60px;
  right: 4%;
  font-family: var(--eh-font-display);
  font-size: 220px;
  font-weight: 400;
  letter-spacing: -8px;
  color: rgba(250, 250, 247, 0.035);
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}

.eh-footer__legal {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  margin-top: 48px;
  border-top: 0.5px solid var(--eh-border-dark);
  font-size: 11px;
  color: rgba(250, 250, 247, 0.5);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 12px;
}

.eh-footer__legal-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.eh-footer__legal-links a { color: inherit; transition: color 0.2s var(--eh-ease); }
.eh-footer__legal-links a:hover { color: var(--eh-bone); }

.eh-footer__made { display: inline-flex; align-items: center; gap: 6px; }
.eh-footer__made svg { width: 12px; height: 12px; color: var(--eh-gold); }

/* =========================================================================
   Projet — workflow 6 étapes + formulaire
   ========================================================================= */

.eh-projet {
  background: var(--eh-bone-2);
  padding: 110px 0 130px;
  position: relative;
}

.eh-workflow {
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  counter-reset: ehstep;
  position: relative;
}

.eh-workflow::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--eh-blue) 8%, var(--eh-blue) 92%, transparent 100%);
  opacity: 0.35;
  z-index: 1;
}

.eh-workflow__step {
  position: relative;
  z-index: 2;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  animation: ehStepIn 0.6s var(--eh-ease) forwards;
  animation-delay: var(--eh-step-delay, 0s);
}

@keyframes ehStepIn {
  to { opacity: 1; transform: translateY(0); }
}

.eh-workflow__node {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--eh-night);
  color: var(--eh-bone);
  border-radius: 50%;
  border: 4px solid var(--eh-bone-2);
  box-shadow: 0 0 0 1px rgba(10, 22, 40, 0.10);
  transition: transform 0.3s var(--eh-ease), background 0.3s var(--eh-ease);
}

.eh-workflow__step:hover .eh-workflow__node {
  transform: scale(1.08);
  background: var(--eh-blue);
}

.eh-workflow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.eh-workflow__num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--eh-gold);
  color: var(--eh-night);
  font-family: var(--eh-font-mono);
  font-size: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eh-workflow__title {
  font-family: var(--eh-font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--eh-night);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.eh-workflow__sub {
  font-family: var(--eh-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--eh-blue);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.eh-workflow__desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--eh-stone);
  margin: 0;
  padding: 0 6px;
}

/* Formulaire projet */
.eh-projet__form-wrap {
  background: var(--eh-bone);
  border-radius: 24px;
  padding: 56px;
  box-shadow: 0 30px 80px -40px rgba(10, 22, 40, 0.20);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.eh-projet__form-title {
  font-family: var(--eh-font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--eh-night);
  margin: 0 0 16px;
}

.eh-projet__form-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--eh-stone);
  margin: 0 0 28px;
}

.eh-projet__trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 0.5px solid var(--eh-border);
}

.eh-projet__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--eh-stone);
}

.eh-projet__trust svg {
  color: var(--eh-gold);
}

/* Animation orbite IA */
.eh-orbit {
  position: relative;
  width: 100%;
  height: 230px;
  margin: 36px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eh-orbit__core {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eh-blue) 0%, #1A3FCC 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 10px 30px -8px rgba(46, 91, 255, 0.5);
  animation: ehOrbitFloat 5s var(--eh-ease) infinite;
}

@keyframes ehOrbitFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.04); }
}

.eh-orbit__ring {
  position: absolute;
  border: 1px solid rgba(10, 22, 40, 0.10);
  border-radius: 50%;
  top: 50%; left: 50%;
}

.eh-orbit__ring--1 { width: 120px; height: 120px; margin: -60px 0 0 -60px; animation: ehSpin 8s linear infinite; }
.eh-orbit__ring--2 { width: 178px; height: 178px; margin: -89px 0 0 -89px; animation: ehSpin 14s linear infinite reverse; }
.eh-orbit__ring--3 { width: 230px; height: 230px; margin: -115px 0 0 -115px; animation: ehSpin 20s linear infinite; }

@keyframes ehSpin {
  to { transform: rotate(360deg); }
}

.eh-orbit__dot {
  position: absolute;
  top: -5px; left: 50%;
  width: 11px; height: 11px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--eh-blue);
  box-shadow: 0 0 12px rgba(46, 91, 255, 0.6);
}
.eh-orbit__dot--gold { background: var(--eh-gold); box-shadow: 0 0 12px rgba(200, 169, 81, 0.6); }
.eh-orbit__dot--teal { background: #0F8A66; box-shadow: 0 0 12px rgba(15, 138, 102, 0.5); }

.eh-orbit__pulse {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--eh-blue);
  opacity: 0;
  z-index: 2;
  animation: ehOrbitPulse 3s var(--eh-ease) infinite;
}
.eh-orbit__pulse--2 { animation-delay: 1.5s; }

@keyframes ehOrbitPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(3.4); opacity: 0; }
}

.eh-projet__caption {
  border-top: 1px solid rgba(10, 22, 40, 0.08);
  padding-top: 18px;
}

.eh-projet__caption-text {
  font-family: var(--eh-font-display);
  font-size: 17px;
  line-height: 1.45;
  color: var(--eh-night);
  margin: 0;
  font-style: italic;
}

.eh-projet__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eh-projet__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.eh-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eh-field__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--eh-night) !important;
  letter-spacing: 0;
  margin: 0;
}

.eh-projet__form .eh-field__input,
.eh-projet__form select.eh-field__input,
.eh-projet__form textarea.eh-field__input {
  display: block;
  width: 100%;
  padding: 14px 16px;
  margin: 0;
  font-family: var(--eh-font-body) !important;
  font-size: 14.5px !important;
  font-weight: 400;
  line-height: 1.4;
  color: var(--eh-night) !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  border: 1px solid rgba(10, 22, 40, 0.10) !important;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04) inset !important;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.25s var(--eh-ease), box-shadow 0.25s var(--eh-ease), background 0.25s var(--eh-ease);
  text-shadow: none !important;
  box-sizing: border-box;
}

.eh-projet__form .eh-field__input::placeholder {
  color: rgba(107, 111, 118, 0.55) !important;
  opacity: 1;
  font-weight: 400;
}

.eh-projet__form .eh-field__input:hover {
  border-color: rgba(10, 22, 40, 0.20) !important;
}

.eh-projet__form .eh-field__input:focus {
  background: #FFFFFF !important;
  border-color: var(--eh-blue) !important;
  box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.12), 0 1px 2px rgba(10, 22, 40, 0.04) inset !important;
}

.eh-projet__form select.eh-field__input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B6F76' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 14px !important;
  padding-right: 44px;
  cursor: pointer;
}

.eh-projet__form select.eh-field__input::-ms-expand {
  display: none;
}

.eh-projet__form .eh-field__textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--eh-font-body) !important;
  line-height: 1.6;
}

.eh-projet__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--eh-bone-2);
  border-radius: 10px;
  font-size: 13px;
  color: var(--eh-stone);
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.2s var(--eh-ease);
}

.eh-projet__consent:hover {
  background: rgba(10, 22, 40, 0.04);
}

.eh-projet__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF;
  border: 1.5px solid rgba(10, 22, 40, 0.25);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s var(--eh-ease);
}

.eh-projet__consent input[type="checkbox"]:hover {
  border-color: var(--eh-blue);
}

.eh-projet__consent input[type="checkbox"]:checked {
  background: var(--eh-blue);
  border-color: var(--eh-blue);
}

.eh-projet__consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(45deg);
}

.eh-projet__submit {
  align-self: flex-start;
  margin-top: 10px;
  padding: 16px 28px !important;
  background: var(--eh-night) !important;
  color: var(--eh-bone) !important;
  border: 1px solid var(--eh-night) !important;
  border-radius: 12px;
  font-family: var(--eh-font-body) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 6px 18px -8px rgba(10, 22, 40, 0.35) !important;
  text-shadow: none !important;
  transition: transform 0.25s var(--eh-ease), background 0.25s var(--eh-ease), box-shadow 0.25s var(--eh-ease);
}

.eh-projet__submit:hover {
  background: var(--eh-blue) !important;
  border-color: var(--eh-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(46, 91, 255, 0.45) !important;
}

.eh-projet__submit.is-success {
  background: var(--eh-teal-dark) !important;
  border-color: var(--eh-teal-dark) !important;
}

/* =========================================================================
   Page détail plateforme
   ========================================================================= */

.eh-platform-hero {
  position: relative;
  min-height: 480px;
  padding: 150px 0 84px;
  overflow: hidden;
  color: var(--eh-bone);
}

.eh-platform-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.92;
  z-index: 1;
  transform: scale(1.04);
  animation: ehKenBurns 18s ease-in-out infinite alternate;
}

@keyframes ehKenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1.5%); }
}

/* Voile dégradé : sombre à gauche (lisibilité texte), image éclatante à droite */
.eh-platform-hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(8, 16, 32, 0.92) 0%, rgba(8, 16, 32, 0.74) 38%, rgba(8, 16, 32, 0.30) 70%, rgba(8, 16, 32, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 16, 32, 0.0) 55%, rgba(8, 16, 32, 0.55) 100%);
}

/* Teinte d'accent colorée selon la plateforme (mélange multiply léger) */
.eh-platform-hero__tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}

.eh-platform-hero__inner {
  position: relative;
  z-index: 3;
}

.eh-platform-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.7);
  margin-bottom: 40px;
  transition: color 0.2s var(--eh-ease);
}

.eh-platform-hero__back:hover { color: var(--eh-bone); }

.eh-platform-hero__content {
  max-width: 760px;
}

.eh-platform-hero__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 250, 247, 0.08);
  border: 0.5px solid rgba(250, 250, 247, 0.18);
  border-radius: 14px;
  color: var(--eh-gold);
  margin-bottom: 24px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.eh-platform-hero__kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--eh-gold);
  margin: 0 0 12px;
}

/* Lien actif dans la nav */
.eh-nav__item.is-current > .eh-nav__link {
  color: var(--eh-bone) !important;
}
.eh-nav__item.is-current > .eh-nav__link::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1.5px;
  background: var(--eh-gold);
  border-radius: 2px;
}
.eh-nav__link { position: relative; }

.eh-platform-hero__title {
  font-family: var(--eh-font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 14px;
  color: var(--eh-bone);
}

.eh-platform-hero__short {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(250, 250, 247, 0.8);
  margin: 0 0 26px;
  max-width: 560px;
}

.eh-platform-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.eh-platform-section {
  padding: 84px 0;
}

.eh-platform-section--soft {
  background: var(--eh-bone-2);
}

.eh-platform-section--dark {
  background: linear-gradient(160deg, #123D74 0%, #0E2C52 100%);
  color: var(--eh-bone);
}

/* Titres plus raffinés (moins gros) sur les pages plateforme */
.eh-platform-section .eh-plateformes__title,
.eh-platform-overview .eh-plateformes__title {
  font-size: clamp(25px, 2.7vw, 37px);
  line-height: 1.12;
  margin-bottom: 14px;
}
.eh-plateformes__head { margin-bottom: 40px; }

.eh-platform-overview {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}

.eh-platform-overview__lead {
  font-family: var(--eh-font-body);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  letter-spacing: 0;
  color: #3A4560;
  margin: 0;
  font-weight: 400;
}

.eh-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.eh-feature {
  position: relative;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 30px 30px 28px;
  border: 1px solid rgba(10, 22, 40, 0.07);
  overflow: hidden;
  box-shadow: 0 10px 30px -22px rgba(10, 22, 40, 0.2);
  transition: transform 0.35s var(--eh-ease), border-color 0.35s var(--eh-ease), box-shadow 0.35s var(--eh-ease);
}

/* Barre d'accent animée en haut, révélée au survol */
.eh-feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1C6DBC 0%, #22B3E4 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--eh-ease);
}

.eh-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 109, 188, 0.28);
  box-shadow: 0 28px 60px -30px rgba(28, 109, 188, 0.35);
}
.eh-feature:hover::before { transform: scaleX(1); }

.eh-feature__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--eh-font-mono);
  font-size: 13px;
  font-weight: 600;
  color: rgba(28, 109, 188, 0.28);
  transition: color 0.35s var(--eh-ease);
}
.eh-feature:hover .eh-feature__num { color: rgba(28, 109, 188, 0.6); }

.eh-feature__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 109, 188, 0.10);
  color: var(--eh-blue);
  border-radius: 14px;
  margin-bottom: 20px;
  transition: background 0.35s var(--eh-ease), color 0.35s var(--eh-ease), transform 0.35s var(--eh-ease);
}
.eh-feature:hover .eh-feature__icon {
  background: linear-gradient(135deg, #1C6DBC 0%, #22B3E4 100%);
  color: #FFFFFF;
  transform: scale(1.08) rotate(-4deg);
}

.eh-feature__title {
  font-family: var(--eh-font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--eh-night);
  margin: 0 0 9px;
}

.eh-feature__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--eh-stone);
  margin: 0;
}

.eh-platform-usecase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.eh-platform-usecase__metric {
  text-align: center;
  padding: 40px;
  background: rgba(250, 250, 247, 0.04);
  border: 0.5px solid rgba(250, 250, 247, 0.12);
  border-radius: 20px;
}

.eh-platform-usecase__value {
  font-family: var(--eh-font-display);
  font-size: clamp(60px, 7vw, 96px);
  line-height: 1;
  color: var(--eh-gold);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.eh-platform-usecase__subtitle {
  font-size: 14px;
  color: rgba(250, 250, 247, 0.78);
  margin: 0;
  line-height: 1.5;
}

/* =========================================================================
   Page hero (Actualités, etc.) + empty state
   ========================================================================= */

.eh-page-hero {
  position: relative;
  padding: 170px 0 86px;
  background: linear-gradient(135deg, var(--eh-night) 0%, var(--eh-night-soft) 100%);
  color: var(--eh-bone);
  overflow: hidden;
}

.eh-page-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 91, 255, 0.20) 0%, transparent 60%);
  pointer-events: none;
}

/* Hero avec image de fond (Actualités) */
.eh-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transform: scale(1.05);
  animation: ehKenBurns 20s ease-in-out infinite alternate;
}

.eh-page-hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8, 16, 32, 0.92) 0%, rgba(8, 16, 32, 0.72) 42%, rgba(8, 16, 32, 0.32) 78%, rgba(8, 16, 32, 0.14) 100%),
    linear-gradient(180deg, rgba(8, 16, 32, 0.0) 55%, rgba(8, 16, 32, 0.5) 100%);
}

.eh-page-hero--img::after { display: none; }

.eh-page-hero__inner {
  position: relative;
  z-index: 2;
}

.eh-page-hero .eh-plateformes__kicker {
  color: var(--eh-gold);
}

.eh-page-hero__title {
  font-family: var(--eh-font-display);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 14px 0 18px;
  color: var(--eh-bone);
}

.eh-page-hero__sub {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(250, 250, 247, 0.72);
  max-width: 600px;
  margin: 0;
}

.eh-empty-state {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 24px;
}

.eh-empty-state__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(46, 91, 255, 0.08);
  color: var(--eh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eh-empty-state__title {
  font-family: var(--eh-font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--eh-night);
  margin: 0 0 14px;
}

.eh-empty-state__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--eh-stone);
  margin: 0;
}

.eh-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .eh-news-grid { grid-template-columns: 1fr; }
  .eh-page-hero { padding: 130px 0 60px; }
}

/* =========================================================================
   Projet — bandeau "30% offert"
   ========================================================================= */

.eh-projet__pledge {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  margin: 0 0 60px;
  background: linear-gradient(120deg, var(--eh-night) 0%, var(--eh-night-soft) 100%);
  border-radius: 22px;
  color: var(--eh-bone);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -28px rgba(10, 22, 40, 0.4);
}

.eh-projet__pledge::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 81, 0.20) 0%, transparent 60%);
  pointer-events: none;
}

.eh-projet__pledge-badge {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eh-gold) 0%, #B8954A 100%);
  color: var(--eh-night);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px -8px rgba(200, 169, 81, 0.5);
}

.eh-projet__pledge-percent {
  font-family: var(--eh-font-display);
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.eh-projet__pledge-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}

.eh-projet__pledge-body {
  position: relative;
  z-index: 1;
  flex: 1;
}

.eh-projet__pledge-title {
  font-family: var(--eh-font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 8px;
  color: var(--eh-bone);
}

.eh-projet__pledge-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.78);
  margin: 0;
  max-width: 760px;
}

/* =========================================================================
   Chatbot — Assistant EHTIA
   ========================================================================= */

.eh-bot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--eh-font-body);
}

.eh-bot__toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eh-blue) 0%, #1A3FCC 100%) !important;
  background-color: var(--eh-blue) !important;
  color: var(--eh-bone);
  border: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px -10px rgba(46, 91, 255, 0.6) !important;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.25s var(--eh-ease), box-shadow 0.25s var(--eh-ease);
}

.eh-bot__toggle:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 50px -10px rgba(46, 91, 255, 0.75) !important;
}

.eh-bot__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--eh-blue);
  opacity: 0.5;
  animation: ehBotPulse 2.4s var(--eh-ease) infinite;
  z-index: -1;
}

@keyframes ehBotPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.45); opacity: 0; }
}

.eh-bot__icon,
.eh-bot__close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  transition: opacity 0.25s var(--eh-ease), transform 0.25s var(--eh-ease);
}

.eh-bot__close-icon { opacity: 0; transform: rotate(-90deg); }

.eh-bot[data-state="open"] .eh-bot__icon { opacity: 0; transform: rotate(90deg); }
.eh-bot[data-state="open"] .eh-bot__close-icon { opacity: 1; transform: rotate(0); }
.eh-bot[data-state="open"] .eh-bot__pulse { display: none; }

.eh-bot__panel {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 110px);
  background: var(--eh-bone);
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(10, 22, 40, 0.4);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.3s var(--eh-ease), transform 0.3s var(--eh-ease), visibility 0.3s var(--eh-ease);
  overflow: hidden;
}

.eh-bot[data-state="open"] .eh-bot__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.eh-bot__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--eh-night);
  color: var(--eh-bone);
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
}

.eh-bot__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eh-blue) 0%, var(--eh-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eh-bone);
  flex-shrink: 0;
}

.eh-bot__head-text { flex: 1; min-width: 0; }
.eh-bot__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--eh-bone);
  margin: 0;
  line-height: 1.2;
}
.eh-bot__status {
  font-size: 11px;
  color: rgba(250, 250, 247, 0.7);
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.eh-bot__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: ehBotStatus 2s var(--eh-ease) infinite;
}

@keyframes ehBotStatus {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

.eh-bot__close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(250, 250, 247, 0.08) !important;
  background-color: rgba(250, 250, 247, 0.08) !important;
  color: var(--eh-bone);
  border: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s var(--eh-ease);
}

.eh-bot__close:hover {
  background: rgba(250, 250, 247, 0.16) !important;
}

.eh-bot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--eh-bone-2);
}

.eh-bot__msg {
  display: flex;
  gap: 10px;
  max-width: 86%;
  opacity: 0;
  transform: translateY(8px);
  animation: ehBotMsgIn 0.4s var(--eh-ease) forwards;
}

@keyframes ehBotMsgIn {
  to { opacity: 1; transform: translateY(0); }
}

.eh-bot__msg--bot {
  align-self: flex-start;
}

.eh-bot__msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.eh-bot__msg-bubble {
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
}

.eh-bot__msg--bot .eh-bot__msg-bubble {
  background: var(--eh-bone);
  color: var(--eh-night);
  border: 1px solid rgba(10, 22, 40, 0.06);
  border-top-left-radius: 4px;
}

.eh-bot__msg--user .eh-bot__msg-bubble {
  background: var(--eh-blue);
  color: var(--eh-bone);
  border-top-right-radius: 4px;
}

.eh-bot__typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 11px 14px;
}

.eh-bot__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eh-stone);
  opacity: 0.4;
  animation: ehBotTyping 1.2s ease-in-out infinite;
}

.eh-bot__typing span:nth-child(2) { animation-delay: 0.15s; }
.eh-bot__typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ehBotTyping {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-4px); }
}

.eh-bot__quick {
  padding: 0 14px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--eh-bone-2);
}

.eh-bot__chip {
  padding: 7px 12px;
  background: var(--eh-bone) !important;
  background-color: var(--eh-bone) !important;
  color: var(--eh-night);
  border: 1px solid rgba(46, 91, 255, 0.20) !important;
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--eh-font-body);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s var(--eh-ease);
}

.eh-bot__chip:hover {
  background: var(--eh-blue) !important;
  background-color: var(--eh-blue) !important;
  color: var(--eh-bone);
  border-color: var(--eh-blue) !important;
  transform: translateY(-1px);
}

.eh-bot__form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--eh-bone);
  border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.eh-bot__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 14px;
  background: #FFFFFF !important;
  border: 1px solid rgba(10, 22, 40, 0.12) !important;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04) inset;
  transition: border-color 0.2s var(--eh-ease), box-shadow 0.2s var(--eh-ease);
}

.eh-bot__field:focus-within {
  border-color: var(--eh-blue) !important;
  box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.12);
}

.eh-bot__input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  font-family: var(--eh-font-body);
  font-size: 14px;
  color: var(--eh-night) !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.eh-bot__input::placeholder {
  color: rgba(107, 111, 118, 0.6) !important;
  opacity: 1;
}

.eh-bot__send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--eh-blue) !important;
  background-color: var(--eh-blue) !important;
  color: var(--eh-bone);
  border: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  -webkit-appearance: none;
  transition: background 0.2s var(--eh-ease), transform 0.2s var(--eh-ease);
  flex-shrink: 0;
}

.eh-bot__send:hover {
  background: var(--eh-blue-soft) !important;
  transform: scale(1.06);
}

.eh-bot__send:active {
  transform: scale(0.94);
}

.eh-bot__footer {
  padding: 8px 14px 10px;
  background: var(--eh-bone);
  font-size: 10px;
  color: var(--eh-stone);
  text-align: center;
  margin: 0;
  border-top: 1px solid rgba(10, 22, 40, 0.04);
}

@media (max-width: 540px) {
  .eh-bot { bottom: 16px; right: 16px; }
  .eh-bot__panel { width: calc(100vw - 32px); height: calc(100vh - 100px); }
}

/* =========================================================================
   PREMIUM — barre scroll, stats, accents, CTA shimmer, France·Afrique
   ========================================================================= */

/* Barre de progression de scroll */
.eh-scrollbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.eh-scrollbar__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--eh-blue) 0%, #6E8BFF 50%, var(--eh-gold) 100%);
  box-shadow: 0 0 12px rgba(46, 91, 255, 0.5);
  transition: width 0.1s linear;
}

/* Texte en dégradé (accents premium) */
.eh-gradient-text {
  background: linear-gradient(100deg, #6E8BFF 0%, var(--eh-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* CTA primaire : shimmer + glow */
.eh-cta--primary {
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.eh-cta--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--eh-ease);
}
.eh-cta--primary:hover::before { left: 130%; }

/* ---- Bande de statistiques animées (fond clair premium) ---- */
.eh-stats {
  background: transparent;
  color: var(--eh-night);
  padding: 34px 0;
  position: relative;
  overflow: hidden;
}
.eh-stats::before { display: none; }
.eh-stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.eh-stat { text-align: center; position: relative; }
.eh-stat__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 13px;
  background: rgba(28, 109, 188, 0.10);
  color: var(--eh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.eh-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 56px;
  background: linear-gradient(180deg, transparent, rgba(10,22,40,0.12), transparent);
}
.eh-stat__value {
  font-family: var(--eh-font-display);
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #1C6DBC 0%, #22B3E4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 10px;
}
.eh-stat__label {
  font-size: 13px;
  letter-spacing: 0.3px;
  color: var(--eh-stone);
  line-height: 1.4;
}

/* ---- Mission : EHTIA → 3 continents (étoile, bidirectionnel) ---- */
.eh-mission__connect {
  position: relative;
  max-width: 660px;
  margin: 46px auto 0;
}
.eh-orbit-svg { width: 100%; height: auto; display: block; overflow: visible; }

.eh-orbit-ring {
  fill: none;
  stroke: rgba(28, 109, 188, 0.16);
  stroke-width: 1.5;
  stroke-dasharray: 2 8;
}
.eh-orbit-line {
  fill: none;
  stroke: rgba(28, 109, 188, 0.28);
  stroke-width: 1.4;
  stroke-dasharray: 5 6;
  animation: ehDash 1.4s linear infinite;
}
@keyframes ehDash { to { stroke-dashoffset: -22; } }
.eh-orbit-travel {
  fill: #22B3E4;
  filter: drop-shadow(0 0 5px rgba(34, 179, 228, 0.9));
}
.eh-orbit-dot {
  fill: var(--eh-blue);
  stroke: #FFFFFF;
  stroke-width: 2;
  filter: drop-shadow(0 3px 6px rgba(10, 30, 61, 0.25));
}
.eh-orbit-pulse {
  fill: none;
  stroke: var(--eh-blue);
  stroke-width: 1.5;
  opacity: 0;
  animation: ehOrbitPulse 2.8s var(--eh-ease) infinite;
}
@keyframes ehOrbitPulse {
  0% { r: 8; opacity: 0.55; }
  100% { r: 26; opacity: 0; }
}
.eh-orbit-flag {
  filter: drop-shadow(0 2px 5px rgba(10, 30, 61, 0.28));
}
.eh-orbit-label {
  fill: var(--eh-night);
  font-family: var(--eh-font-body);
  font-size: 16px;
  font-weight: 600;
}
.eh-orbit-hub {
  fill: #0E3C70;
  stroke: #22B3E4;
  stroke-width: 2;
  filter: drop-shadow(0 10px 30px rgba(14, 60, 120, 0.45));
}
.eh-orbit-hub-pulse {
  fill: none;
  stroke: rgba(34, 179, 228, 0.6);
  stroke-width: 1.5;
  opacity: 0;
  animation: ehOrbitHubPulse 3.2s var(--eh-ease) infinite;
}
@keyframes ehOrbitHubPulse {
  0% { r: 78; opacity: 0.5; }
  100% { r: 116; opacity: 0; }
}

@media (max-width: 860px) {
  .eh-stats__grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .eh-stat:nth-child(2)::after { display: none; }
  .eh-mission__connect { max-width: 420px; margin-top: 32px; }
  .eh-orbit-label { font-size: 13px; }
}

/* =========================================================================
   Anim entry
   ========================================================================= */

.eh-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: ehReveal 0.9s var(--eh-ease) forwards;
}

.eh-reveal--d1 { animation-delay: 0.10s; }
.eh-reveal--d2 { animation-delay: 0.25s; }
.eh-reveal--d3 { animation-delay: 0.45s; }
.eh-reveal--d4 { animation-delay: 0.65s; }
.eh-reveal--d5 { animation-delay: 0.85s; }

@keyframes ehReveal {
  to { opacity: 1; transform: translateY(0); }
}

.eh-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--eh-ease), transform 0.8s var(--eh-ease);
  animation: ehAutoReveal 0.001s 2.2s linear forwards;
}

.eh-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

@keyframes ehAutoReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1080px) {
  .eh-grid-plateformes { grid-template-columns: repeat(2, 1fr); }
  .eh-tile--featured { grid-column: span 2; aspect-ratio: 16 / 9; }
  .eh-tile--featured .eh-tile__body { max-width: 70%; padding-left: 36px; }
}

@media (max-width: 860px) {
  .eh-mega { width: calc(100vw - 40px); max-width: 580px; }
  .eh-mega--solutions, .eh-mega--wide { width: calc(100vw - 40px); }
  .eh-manifeste__stage { grid-template-columns: 1fr; min-height: auto; }
  .eh-manifeste__visual { height: 280px; }
  .eh-manifeste__body { padding: 32px 28px; }
  .eh-grid-plateformes { grid-template-columns: 1fr; }
  .eh-tile { aspect-ratio: 4 / 3; }
  .eh-tile__desc { max-height: 90px; opacity: 1; transform: none; margin: 0 0 14px; }
  .eh-tile--featured { grid-column: span 1; aspect-ratio: 4 / 3; }
  .eh-tile--featured .eh-tile__body { max-width: 100%; padding: 26px; top: auto; }

  .eh-workflow { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .eh-workflow::before { display: none; }
  .eh-projet__form-wrap { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .eh-projet__row { grid-template-columns: 1fr; }

  .eh-platform-overview, .eh-platform-usecase { grid-template-columns: 1fr; gap: 32px; }
  .eh-features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --eh-gutter: 24px; }

  .eh-nav { padding: 14px 20px; }
  .eh-nav.is-scrolled { padding: 10px 20px; }
  .eh-nav__links { display: none; }
  .eh-nav__cta { padding: 8px 14px; font-size: 12px; }

  .eh-hero { padding: 90px 20px 50px; height: auto; min-height: 540px; max-height: none; }
  .eh-hero__title { font-size: clamp(34px, 9vw, 52px); }
  .eh-hero__lede { font-size: 15px; }
  .eh-hero__scroll-hint { font-size: 9px; }

  .eh-section { padding: 80px 0; }
  .eh-manifeste { padding: 80px 0; }
  .eh-manifeste__container { padding: 0 24px; }

  .eh-pillars,
  .eh-pillars-approche,
  .eh-cas__grid,
  .eh-newsroom__grid,
  .eh-cta-band__inner,
  .eh-footer__grid {
    grid-template-columns: 1fr;
  }

  .eh-footer__watermark { font-size: 120px; bottom: -30px; right: 0; }
}

@media (max-width: 640px) {
  .eh-grid-plateformes { grid-template-columns: 1fr; }
  .eh-kpis { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================================
   PERFORMANCE — différer le rendu & le chargement des images hors écran.
   Les sections sous la ligne de flottaison ne sont peintes (et leurs images
   distantes téléchargées) qu'à l'approche du viewport. Gros gain au 1er rendu.
   ========================================================================= */
.eh-manifeste,
.eh-mission,
.eh-plateformes,
.eh-pourqui,
.eh-approche,
.eh-newsroom,
.eh-projet,
.eh-platform-section,
.eh-cta-band,
.eh-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
