/*
 * Design system EDICOM — CSS pur (tokens du dossier design).
 * Aucun build requis : déployable tel quel. Préfixe de classes : « ed- ».
 */

:root {
  /* Marque */
  --ed-primary: #1b3a8f;
  --ed-deep: #0b1428;
  --ed-deep-2: #10245e;
  --ed-tech: #2f6be0;
  --ed-blue-surface: #e7eefb;
  --ed-blue-pale: #7fb0ff;
  --ed-blue-pale-2: #6fa0ff;
  --ed-accent: #e01f26;
  --ed-accent-hover: #b8151b;
  --ed-red-surface: #fde7e8;
  --ed-impact: #0e9a6c;
  --ed-impact-vivid: #22d18a;
  --ed-green-surface: #e3f6ef;
  --ed-innov: #f08a24;
  --ed-orange-text: #b96a0c;
  --ed-orange-surface: #fef1e3;
  /* Texte */
  --ed-ink: #0e1420;
  --ed-muted: #5b6779;
  --ed-faint: #8d99ac;
  --ed-dark-muted: #9dacc6;
  --ed-dark-muted-2: #b7c4da;
  --ed-dark-muted-3: #dce4f2;
  /* Lignes & surfaces */
  --ed-line: #e6eaf2;
  --ed-line-field: #dee4ee;
  --ed-line-soft: #eef1f7;
  --ed-surface: #f7f9fc;
  --ed-chip: #f1f4fa;
  /* Typo */
  --ed-font-display: "Space Grotesk", system-ui, sans-serif;
  --ed-font-sans: "Inter", system-ui, sans-serif;
  --ed-font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* Ombres */
  --ed-shadow-card: 0 18px 36px rgba(16, 36, 94, 0.12);
  --ed-shadow-raised: 0 20px 42px rgba(16, 36, 94, 0.13);
  --ed-shadow-page: 0 24px 60px rgba(11, 20, 40, 0.14);
  --ed-shadow-cta: 0 12px 26px rgba(224, 31, 38, 0.3);
  --ed-shadow-mega: 0 24px 48px rgba(16, 36, 94, 0.12);
  /* Rayons */
  --ed-r-btn: 9px;
  --ed-r-card: 14px;
  --ed-r-panel: 16px;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

body.edicom {
  margin: 0;
  font-family: var(--ed-font-sans);
  color: var(--ed-ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* filet de sécurité contre tout léger débordement latéral */
}
.edicom img { max-width: 100%; height: auto; display: block; }
.edicom a { color: inherit; text-decoration: none; }
.edicom h1, .edicom h2, .edicom h3, .edicom h4 { font-family: var(--ed-font-display); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(27, 58, 143, 0.16), 0 0 0 1.5px var(--ed-primary);
  border-radius: 6px;
}
.ed-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ed-primary); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.ed-skip:focus { left: 16px; top: 16px; }

/* ------------------------------------------------------------------ */
/* Layout                                                              */
/* ------------------------------------------------------------------ */
.ed-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .ed-container { padding: 0 40px; } }
.ed-section { padding: 56px 0; }
@media (min-width: 768px) { .ed-section { padding: 76px 0; } }
.ed-section--surface { background: var(--ed-surface); }
.ed-section--deep { background: var(--ed-deep); color: #fff; }

.ed-overline {
  font-family: var(--ed-font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ed-accent); margin: 0 0 12px;
}
.ed-overline--blue { color: var(--ed-primary); }
.ed-overline--green { color: var(--ed-impact); }
.ed-overline--neutral { color: var(--ed-faint); }
.ed-overline--ondark { color: var(--ed-blue-pale-2); }

.ed-h2 { font-size: 30px; font-weight: 700; }
@media (min-width: 768px) { .ed-h2 { font-size: 40px; } }
.ed-lead { font-size: 16px; line-height: 1.65; color: var(--ed-muted); max-width: 640px; }

.ed-grid { display: grid; gap: 24px; }
.ed-grid > * { min-width: 0; } /* autorise les colonnes à se réduire (évite le débordement) */
.ed-grid--2 { grid-template-columns: minmax(0, 1fr); }
.ed-grid--3 { grid-template-columns: minmax(0, 1fr); }
.ed-grid--4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (min-width: 768px) {
  .ed-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .ed-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ------------------------------------------------------------------ */
/* Fonds décoratifs                                                    */
/* ------------------------------------------------------------------ */
.ed-hero-gradient { background: linear-gradient(160deg, #0b1428, #12245c 55%, #1b3a8f); }
.ed-dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.085) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Boutons                                                             */
/* ------------------------------------------------------------------ */
.ed-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--ed-r-btn); padding: 13px 24px; font-size: 14px; font-weight: 600;
  font-family: var(--ed-font-sans); cursor: pointer; border: 0; transition: all 0.2s; text-align: center;
}
.ed-btn--primary { background: var(--ed-accent); color: #fff; box-shadow: var(--ed-shadow-cta); }
.ed-btn--primary:hover { background: var(--ed-accent-hover); }
.ed-btn--institutional { background: var(--ed-primary); color: #fff; }
.ed-btn--institutional:hover { background: var(--ed-deep-2); }
.ed-btn--secondary { background: transparent; color: var(--ed-primary); border: 1.5px solid var(--ed-primary); }
.ed-btn--secondary:hover { background: var(--ed-blue-surface); }
.ed-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.34); }
.ed-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.ed-btn--text { padding: 0; background: none; color: var(--ed-primary); }
.ed-btn--text:hover { opacity: 0.7; }
.ed-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------------ */
/* Badges                                                              */
/* ------------------------------------------------------------------ */
.ed-badge {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 12px;
  font-size: 11px; font-weight: 600;
}
.ed-badge--new { background: var(--ed-accent); color: #fff; }
.ed-badge--success { background: var(--ed-green-surface); color: var(--ed-impact); }
.ed-badge--warning { background: var(--ed-orange-surface); color: var(--ed-orange-text); }
.ed-badge--info { background: var(--ed-blue-surface); color: var(--ed-primary); }
.ed-badge--neutral { border: 1px solid var(--ed-line-field); color: var(--ed-muted); }

/* ------------------------------------------------------------------ */
/* Cartes                                                              */
/* ------------------------------------------------------------------ */
.ed-card {
  background: #fff; border: 1px solid var(--ed-line); border-radius: var(--ed-r-card);
  padding: 24px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; height: 100%;
  display: flex; flex-direction: column; gap: 14px;
}
.ed-card:hover { transform: translateY(-4px); box-shadow: var(--ed-shadow-card); border-color: #c9d6ee; }
.ed-card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--ed-blue-surface);
  color: var(--ed-primary); display: flex; align-items: center; justify-content: center;
}
.ed-card__icon svg { width: 22px; height: 22px; }
.ed-card__title { font-size: 18px; font-weight: 700; color: var(--ed-ink); }
.ed-card__text { font-size: 13.5px; line-height: 1.6; color: var(--ed-muted); }
.ed-card__link { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--ed-primary); }

/* Carte solution */
.ed-solution {
  display: flex; flex-direction: column; border: 1px solid var(--ed-line); border-radius: var(--ed-r-panel);
  overflow: hidden; background: #fff; transition: transform 0.25s, box-shadow 0.25s; height: 100%;
}
.ed-solution:hover { transform: translateY(-4px); box-shadow: var(--ed-shadow-card); }
.ed-solution--dark { background: #101b33; border-color: rgba(255, 255, 255, 0.1); }
.ed-solution__banner {
  position: relative; height: 130px; display: flex; align-items: flex-end; padding: 20px;
  overflow: hidden; color: #fff;
}
.ed-solution__banner-name { font-family: var(--ed-font-display); font-size: 24px; font-weight: 700; }
.ed-solution__sweep {
  position: absolute; top: 0; bottom: 0; width: 33%; background: rgba(255, 255, 255, 0.14);
  animation: ed-sweep 4.5s ease-in-out infinite;
}
.ed-solution__body { display: flex; flex-direction: column; gap: 16px; padding: 24px; flex: 1; }
.ed-solution__excerpt { font-size: 13.5px; line-height: 1.6; color: var(--ed-muted); }
.ed-solution--dark .ed-solution__excerpt { color: var(--ed-dark-muted); }
.ed-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-chip {
  border-radius: 999px; padding: 4px 10px; font-family: var(--ed-font-mono); font-size: 10.5px;
  letter-spacing: 0.06em; background: var(--ed-chip); color: var(--ed-muted);
}
.ed-solution--dark .ed-chip { background: rgba(255, 255, 255, 0.08); color: var(--ed-dark-muted-2); }
.ed-solution__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* Carte réalisation / article */
.ed-tile {
  display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--ed-line);
  border-radius: var(--ed-r-panel); padding: 24px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; height: 100%;
}
.ed-tile:hover { transform: translateY(-4px); box-shadow: var(--ed-shadow-card); border-color: #c9d6ee; }
.ed-tile__sector { font-family: var(--ed-font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ed-impact); }
.ed-tile__title { font-size: 19px; font-weight: 700; color: var(--ed-ink); line-height: 1.3; }
.ed-tile__text { font-size: 13.5px; line-height: 1.6; color: var(--ed-muted); }
.ed-tile__meta { margin-top: auto; font-family: var(--ed-font-mono); font-size: 11px; color: var(--ed-faint); }

/* Emplacement d'image */
.ed-imgslot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 1px dashed var(--ed-line-field); background: var(--ed-surface); color: var(--ed-faint);
  border-radius: var(--ed-r-card); text-align: center; padding: 16px; min-height: 120px;
}
.ed-imgslot--dark { border-color: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); color: var(--ed-dark-muted); }
.ed-imgslot span { font-family: var(--ed-font-mono); font-size: 10.5px; }
.ed-media { border-radius: var(--ed-r-card); overflow: hidden; }
.ed-media img { width: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ */
/* Compteurs / chiffres clés                                          */
/* ------------------------------------------------------------------ */
.ed-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (min-width: 1024px) { .ed-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ed-stat { border-left: 3px solid var(--ed-accent); padding-left: 20px; }
.ed-stat__value { font-family: var(--ed-font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--ed-ink); }
@media (min-width: 768px) { .ed-stat__value { font-size: 52px; line-height: 1; } }
.ed-stat__label { margin-top: 8px; font-size: 13.5px; line-height: 1.35; color: var(--ed-muted); }

/* ------------------------------------------------------------------ */
/* Animations                                                          */
/* ------------------------------------------------------------------ */
@keyframes ed-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ed-sweep { 0% { transform: translateX(-140%) skewX(-18deg); } 55%, 100% { transform: translateX(360%) skewX(-18deg); } }
@keyframes ed-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
@keyframes ed-bar { from { transform: scaleY(0.08); } to { transform: scaleY(1); } }
.ed-float { animation: ed-float 7s ease-in-out infinite; }
.ed-pulse { animation: ed-pulse 2.2s ease-in-out infinite; }
.ed-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ed-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ed-float, .ed-pulse, .ed-solution__sweep { animation: none; }
  .ed-reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------------ */
/* Header + méga-menu                                                  */
/* ------------------------------------------------------------------ */
.ed-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e3e8f1; }
.ed-header__bar { display: flex; align-items: center; gap: 40px; height: 76px; }
.ed-header__logo img { height: 44px; width: auto; }
.ed-nav { display: none; flex: 1; align-items: center; gap: 28px; }
@media (min-width: 1024px) { .ed-nav { display: flex; } }
.ed-nav__item { position: relative; }
.ed-nav__link {
  display: flex; align-items: center; gap: 6px; padding: 28px 0; font-size: 15px; font-weight: 500;
  color: #1b2434; cursor: pointer; background: none; border: 0; font-family: inherit;
}
.ed-nav__link:hover { color: var(--ed-primary); }
.ed-nav__caret { font-size: 9px; color: var(--ed-faint); }
.ed-header__actions { display: none; align-items: center; gap: 16px; }
@media (min-width: 1024px) { .ed-header__actions { display: flex; } }
.ed-lang { font-family: var(--ed-font-mono); font-size: 12px; color: var(--ed-muted); }
.ed-header__cta { background: var(--ed-accent); color: #fff; font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: var(--ed-r-btn); }
.ed-header__cta:hover { background: var(--ed-accent-hover); }
.ed-burger { display: flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1.5px solid var(--ed-line-field); border-radius: var(--ed-r-btn); background: #fff; cursor: pointer; }
@media (min-width: 1024px) { .ed-burger { display: none; } }
.ed-burger svg { width: 20px; height: 20px; }

.ed-mega {
  position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid #e3e8f1;
  box-shadow: var(--ed-shadow-mega); z-index: 40; display: none;
}
.ed-mega.is-open { display: block; }
.ed-mega__inner { display: grid; grid-template-columns: 1fr 1fr 1fr 300px; gap: 40px; padding: 36px 40px 40px; }
.ed-mega__col-title { font-family: var(--ed-font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ed-faint); margin-bottom: 14px; }
.ed-mega__link { display: block; margin-bottom: 14px; }
.ed-mega__link-name { font-size: 15px; font-weight: 600; color: #101a2c; }
.ed-mega__link-desc { font-size: 13px; color: var(--ed-muted); line-height: 1.4; }
.ed-mega__link:hover { opacity: 0.75; }
.ed-mega__promo { background: #0e1a3a; border-radius: var(--ed-r-card); padding: 26px; color: #fff; }
.ed-mega__promo-title { font-family: var(--ed-font-display); font-size: 20px; font-weight: 700; line-height: 1.25; margin: 12px 0; }
.ed-mega__promo-text { font-size: 13px; color: #a9b6cc; line-height: 1.55; }

/* Menu mobile */
.ed-mobile { position: fixed; inset: 79px 0 0; background: var(--ed-deep); z-index: 40; overflow-y: auto; display: none; flex-direction: column; padding: 32px 24px; }
.ed-mobile.is-open { display: flex; }
.ed-mobile__link { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; font-size: 20px; font-weight: 500; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ed-mobile__num { font-family: var(--ed-font-mono); font-size: 11px; color: var(--ed-blue-pale-2); margin-right: 16px; }
.ed-mobile__cta { margin-top: 24px; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.ed-footer { background: var(--ed-deep); color: #fff; }
.ed-footer__top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
@media (min-width: 768px) { .ed-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ed-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding-top: 72px; } }
.ed-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.ed-footer__logo { display: flex; align-items: center; gap: 12px; }
.ed-footer__logo-badge { width: 40px; height: 40px; border-radius: 9px; background: #fff; color: var(--ed-primary); display: flex; align-items: center; justify-content: center; font-family: var(--ed-font-display); font-weight: 700; font-size: 17px; }
.ed-footer__tagline { font-size: 14px; line-height: 1.65; color: var(--ed-dark-muted); max-width: 320px; }
.ed-footer__contact { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #c6d1e4; font-style: normal; }
.ed-footer__socials { display: flex; gap: 10px; margin-top: 4px; }
.ed-footer__social { width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.16); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: #c6d1e4; }
.ed-footer__social:hover { background: rgba(255, 255, 255, 0.1); }
.ed-footer__col-title { font-family: var(--ed-font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ed-blue-pale-2); margin-bottom: 14px; }
.ed-footer__col a { display: block; font-size: 14px; color: var(--ed-dark-muted-2); margin-bottom: 14px; }
.ed-footer__col a:hover { color: #fff; }
.ed-footer__news { padding: 44px 0; }
.ed-footer__news-box { background: #12203f; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--ed-r-card); padding: 26px 30px; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 768px) { .ed-footer__news-box { flex-direction: row; align-items: center; } }
.ed-footer__news-title { font-family: var(--ed-font-display); font-size: 19px; font-weight: 700; }
.ed-footer__news-sub { font-size: 13px; color: var(--ed-dark-muted); margin-top: 4px; }
.ed-footer__news-form { display: flex; gap: 10px; flex: none; flex-wrap: wrap; }
.ed-footer__news-input { width: 260px; max-width: 100%; background: var(--ed-deep); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--ed-r-btn); padding: 13px 16px; font-size: 14px; color: #fff; }
.ed-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.ed-footer__legal-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 22px 0; font-size: 13px; color: #7f8faa; }
.ed-footer__legal-inner a:hover { color: #fff; }

/* ------------------------------------------------------------------ */
/* Hero accueil + dashboard                                            */
/* ------------------------------------------------------------------ */
.ed-hero { position: relative; overflow: hidden; color: #fff; }
.ed-hero__inner { position: relative; display: grid; gap: 56px; padding: 64px 0; align-items: center; }
@media (min-width: 1024px) { .ed-hero__inner { grid-template-columns: 1.02fr 1fr; padding: 84px 0; } }
.ed-hero__pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 8px 16px; font-family: var(--ed-font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ed-dark-muted-3); max-width: 100%; flex-wrap: wrap; }
@media (max-width: 420px) { .ed-hero__pill { font-size: 10px; letter-spacing: 0.06em; } }
.ed-hero__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ed-impact-vivid); }
.ed-hero h1 { font-size: 38px; font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 24px 0; }
@media (min-width: 768px) { .ed-hero h1 { font-size: 60px; line-height: 1.03; } }
.ed-hero h1 .hl { color: var(--ed-blue-pale); }
.ed-hero__sub { font-size: 16px; line-height: 1.65; color: var(--ed-dark-muted-3); max-width: 520px; }
@media (min-width: 768px) { .ed-hero__sub { font-size: 17.5px; } }
.ed-hero__note { font-size: 13.5px; color: var(--ed-dark-muted); margin-top: 24px; }
.ed-hero__halo { position: absolute; top: -160px; right: -160px; width: 560px; height: 560px; border-radius: 999px; background: rgba(47, 107, 224, 0.25); filter: blur(120px); }
.ed-hero__visual { display: none; justify-content: flex-end; }
@media (min-width: 768px) { .ed-hero__visual { display: flex; } }

.ed-dash { width: 100%; max-width: 460px; background: #fff; border-radius: var(--ed-r-panel); box-shadow: var(--ed-shadow-page); color: var(--ed-ink); }
.ed-dash__bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--ed-surface); border-bottom: 1px solid var(--ed-line-soft); border-radius: var(--ed-r-panel) var(--ed-r-panel) 0 0; }
.ed-dash__dot { width: 10px; height: 10px; border-radius: 999px; }
.ed-dash__url { margin-left: 12px; flex: 1; background: #fff; border-radius: 6px; padding: 4px 12px; font-family: var(--ed-font-mono); font-size: 10px; color: var(--ed-faint); }
.ed-dash__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.ed-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ed-dash__kpi { border: 1px solid var(--ed-line); border-radius: 10px; padding: 12px; }
.ed-dash__kpi-label { font-family: var(--ed-font-mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--ed-faint); }
.ed-dash__kpi-value { font-family: var(--ed-font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.ed-dash__kpi-delta { font-size: 9.5px; margin-top: 2px; color: var(--ed-faint); }
.ed-dash__kpi-delta.up { color: var(--ed-impact); }
.ed-dash__panel { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: var(--ed-deep); border-radius: 10px; padding: 16px; }
.ed-dash__panel-title { font-family: var(--ed-font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--ed-dark-muted); margin-bottom: 8px; }
.ed-dash__bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; }
.ed-dash__bars span { flex: 1; background: var(--ed-tech); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: ed-bar 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.ed-dash__gauge { text-align: center; }
.ed-dash__gauge-label { font-family: var(--ed-font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--ed-dark-muted); }
.ed-dash__members { display: flex; flex-direction: column; }
.ed-dash__member { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--ed-line-soft); }
.ed-dash__member:first-child { border-top: 0; }
.ed-dash__avatar { width: 28px; height: 28px; border-radius: 999px; background: var(--ed-blue-surface); color: var(--ed-primary); display: flex; align-items: center; justify-content: center; font-family: var(--ed-font-display); font-size: 11px; font-weight: 700; }
.ed-dash__member-name { flex: 1; font-size: 12px; font-weight: 500; }
.ed-dash__member-id { font-family: var(--ed-font-mono); font-size: 10px; color: var(--ed-faint); }
.ed-dash__pill { border-radius: 999px; padding: 2px 8px; font-size: 10px; font-weight: 600; }

/* Bandeau de confiance */
.ed-trust { border-bottom: 1px solid var(--ed-line-soft); }
.ed-trust__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 0; }
@media (min-width: 1024px) { .ed-trust__inner { flex-direction: row; gap: 40px; } }
.ed-trust__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; opacity: 0.62; list-style: none; margin: 0; padding: 0; }
.ed-trust__list li { font-family: var(--ed-font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ed-primary); }

/* Section head */
.ed-section__head { margin-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .ed-section__head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.ed-section__intro { font-size: 14.5px; line-height: 1.65; color: var(--ed-muted); max-width: 340px; }

/* Secteurs grille */
.ed-sectors { display: grid; grid-template-columns: 1fr; border: 1px solid var(--ed-line); border-radius: var(--ed-r-panel); overflow: hidden; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .ed-sectors { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ed-sectors { grid-template-columns: repeat(4, 1fr); } }
.ed-sectors li { border-bottom: 1px solid var(--ed-line); border-right: 1px solid var(--ed-line); }
.ed-sectors a { display: flex; flex-direction: column; gap: 10px; padding: 24px; height: 100%; }
.ed-sectors a:hover { background: var(--ed-surface); }
.ed-sectors__icon { color: var(--ed-primary); }
.ed-sectors__icon svg { width: 24px; height: 24px; }
.ed-sectors__name { font-family: var(--ed-font-display); font-size: 16px; font-weight: 700; color: var(--ed-ink); }
.ed-sectors__text { font-size: 13px; line-height: 1.55; color: var(--ed-muted); }

/* Méthode */
.ed-method { position: relative; display: grid; gap: 40px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .ed-method { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.ed-method__line { display: none; }
@media (min-width: 768px) { .ed-method__line { display: block; position: absolute; top: 27px; left: 0; width: 100%; height: 1px; background: var(--ed-line-field); } }
.ed-method__item { position: relative; display: flex; gap: 20px; }
@media (min-width: 768px) { .ed-method__item { flex-direction: column; gap: 16px; } }
.ed-method__num { position: relative; z-index: 1; width: 54px; height: 54px; flex: none; border-radius: 999px; border: 1.5px solid var(--ed-primary); background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--ed-font-mono); font-size: 13px; color: var(--ed-primary); }
.ed-method__name { font-family: var(--ed-font-display); font-size: 17px; font-weight: 700; color: var(--ed-ink); }
.ed-method__detail { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--ed-muted); }

/* CTA final */
.ed-cta { position: relative; overflow: hidden; color: #fff; }
.ed-cta__inner { position: relative; display: flex; flex-direction: column; gap: 32px; padding: 64px 0; }
@media (min-width: 1024px) { .ed-cta__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.ed-cta h2 { font-size: 30px; font-weight: 700; line-height: 1.15; max-width: 640px; }
@media (min-width: 768px) { .ed-cta h2 { font-size: 42px; } }
.ed-cta__sub { margin-top: 16px; font-size: 15.5px; line-height: 1.65; color: var(--ed-dark-muted-3); }

/* ------------------------------------------------------------------ */
/* Page hero (intérieur) + breadcrumb                                 */
/* ------------------------------------------------------------------ */
.ed-pagehero { position: relative; overflow: hidden; }
.ed-pagehero--dark { color: #fff; }
.ed-pagehero--light { background: var(--ed-surface); }
.ed-pagehero__inner { position: relative; display: flex; flex-direction: column; gap: 24px; padding: 64px 0; }
.ed-pagehero h1 { font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; max-width: 820px; }
@media (min-width: 768px) { .ed-pagehero h1 { font-size: 48px; } }
.ed-pagehero--dark h1 { color: #fff; }
.ed-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--ed-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ed-faint); list-style: none; margin: 0; padding: 0; }
.ed-pagehero--dark .ed-breadcrumb { color: var(--ed-dark-muted); }

/* ------------------------------------------------------------------ */
/* Onglets fonctionnalités (solution)                                 */
/* ------------------------------------------------------------------ */
.ed-tabs { display: grid; gap: 24px; }
@media (min-width: 1024px) { .ed-tabs { grid-template-columns: 320px 1fr; } }
.ed-tabs__list { display: flex; flex-direction: column; gap: 8px; }
.ed-tabs__tab { border: 1px solid var(--ed-line); background: #fff; border-radius: var(--ed-r-card); padding: 16px 20px; text-align: left; font-family: var(--ed-font-display); font-size: 15px; font-weight: 700; color: var(--ed-ink); cursor: pointer; }
.ed-tabs__tab:hover { border-color: #c9d6ee; }
.ed-tabs__tab.is-active { background: var(--ed-primary); color: #fff; border-color: var(--ed-primary); }
.ed-tabs__panel { border: 1px solid var(--ed-line); background: #fff; border-radius: var(--ed-r-panel); padding: 28px; }
.ed-tabs__panel[hidden] { display: none; }
.ed-tabs__points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .ed-tabs__points { grid-template-columns: 1fr 1fr; } }
.ed-tabs__points li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.6; }
.ed-tabs__points li::before { content: ""; width: 6px; height: 6px; margin-top: 7px; border-radius: 999px; background: var(--ed-impact); flex: none; }

/* ------------------------------------------------------------------ */
/* Accordéon FAQ                                                       */
/* ------------------------------------------------------------------ */
.ed-accordion { border: 1px solid var(--ed-line); border-radius: var(--ed-r-panel); background: #fff; overflow: hidden; }
.ed-accordion__item + .ed-accordion__item { border-top: 1px solid var(--ed-line-soft); }
.ed-accordion__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; background: none; border: 0; cursor: pointer; }
.ed-accordion__q { font-family: var(--ed-font-display); font-size: 16px; font-weight: 700; color: var(--ed-ink); }
.ed-accordion__sign { width: 28px; height: 28px; flex: none; border: 1px solid var(--ed-line-field); border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--ed-primary); }
.ed-accordion__a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.ed-accordion__item.is-open .ed-accordion__a { padding: 0 24px 24px; max-height: 400px; }
.ed-accordion__a p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ed-muted); }

/* ------------------------------------------------------------------ */
/* Catalogue (filtres)                                                */
/* ------------------------------------------------------------------ */
.ed-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.ed-filter { border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; border: 1px solid var(--ed-line-field); background: #fff; color: var(--ed-muted); cursor: pointer; }
.ed-filter:hover { border-color: var(--ed-primary); color: var(--ed-primary); }
.ed-filter.is-active { background: var(--ed-primary); color: #fff; border-color: var(--ed-primary); }
.ed-solution.is-hidden { display: none; }

/* ------------------------------------------------------------------ */
/* Formulaire de contact                                              */
/* ------------------------------------------------------------------ */
.ed-contact { display: grid; gap: 32px; }
@media (min-width: 1024px) { .ed-contact { grid-template-columns: 1fr 380px; } }
.ed-form { background: #fff; border: 1px solid var(--ed-line); border-radius: var(--ed-r-panel); padding: 28px; }
@media (min-width: 768px) { .ed-form { padding: 32px; } }
.ed-form__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .ed-form__grid { grid-template-columns: 1fr 1fr; } }
.ed-field { display: flex; flex-direction: column; gap: 6px; }
.ed-field--full { grid-column: 1 / -1; }
.ed-field label { font-size: 13px; font-weight: 600; color: var(--ed-ink); }
.ed-input, .ed-select, .ed-textarea {
  width: 100%; border: 1.5px solid var(--ed-line-field); border-radius: var(--ed-r-btn); padding: 13px 15px;
  font-size: 14.5px; font-family: inherit; color: var(--ed-ink); background: #fff;
}
.ed-input:focus, .ed-select:focus, .ed-textarea:focus { outline: none; border-color: var(--ed-primary); box-shadow: 0 0 0 3px rgba(27, 58, 143, 0.16); }
.ed-textarea { min-height: 104px; resize: vertical; }
.ed-field.has-error .ed-input, .ed-field.has-error .ed-select, .ed-field.has-error .ed-textarea { border-color: var(--ed-accent); }
.ed-field__error { font-size: 12.5px; color: var(--ed-accent); }
.ed-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--ed-muted); }
.ed-consent a { color: var(--ed-primary); text-decoration: underline; }
.ed-form__note { margin-top: 12px; font-family: var(--ed-font-mono); font-size: 11px; color: var(--ed-faint); }
.ed-form__alert { margin-top: 20px; border-radius: var(--ed-r-card); background: var(--ed-red-surface); color: var(--ed-accent); padding: 12px 16px; font-size: 13.5px; }
.ed-form__success { border: 1px solid var(--ed-line); border-radius: var(--ed-r-panel); background: #fff; padding: 40px; text-align: center; }
.ed-form__success-icon { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 999px; background: var(--ed-green-surface); color: var(--ed-impact); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ed-hp { position: absolute; left: -9999px; }
.ed-aside { display: flex; flex-direction: column; gap: 24px; }
.ed-aside__box { border-radius: var(--ed-r-panel); padding: 28px; }
.ed-aside__box--dark { background: var(--ed-deep); color: #fff; }
.ed-aside__box--light { border: 1px solid var(--ed-line); background: #fff; }

/* ------------------------------------------------------------------ */
/* Étude de cas / prose                                               */
/* ------------------------------------------------------------------ */
.ed-case { display: grid; gap: 48px; }
@media (min-width: 1024px) { .ed-case { grid-template-columns: 250px 1fr; } }
.ed-toc { display: none; }
@media (min-width: 1024px) { .ed-toc { display: block; position: sticky; top: 100px; align-self: start; border-left: 1px solid var(--ed-line); padding-left: 20px; } }
.ed-toc a { display: block; padding: 4px 0; font-size: 14px; color: var(--ed-muted); }
.ed-toc a:hover { color: var(--ed-primary); }
.ed-prose { max-width: 800px; }
.ed-prose h2 { font-size: 26px; font-weight: 700; margin: 0 0 20px; color: var(--ed-ink); }
@media (min-width: 768px) { .ed-prose h2 { font-size: 30px; } }
.ed-prose p { font-size: 16.5px; line-height: 1.75; color: var(--ed-muted); margin: 0 0 16px; }
.ed-results { border-radius: var(--ed-r-panel); background: var(--ed-surface); padding: 32px; }
.ed-results__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (min-width: 768px) { .ed-results__grid { grid-template-columns: repeat(3, 1fr); } }
.ed-results__value { font-family: var(--ed-font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--ed-primary); }
@media (min-width: 768px) { .ed-results__value { font-size: 34px; } }
.ed-results__label { margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--ed-muted); }

/* Timeline (entreprise) */
.ed-timeline { list-style: none; margin: 0; padding: 0 0 0 32px; border-left: 2px solid var(--ed-line-field); display: flex; flex-direction: column; gap: 36px; }
.ed-timeline__item { position: relative; }
.ed-timeline__dot { position: absolute; left: -39px; top: 4px; width: 13px; height: 13px; border-radius: 999px; background: var(--ed-primary); border: 2px solid #fff; }
.ed-timeline__year { font-family: var(--ed-font-mono); font-size: 12px; color: var(--ed-accent); }
.ed-timeline__title { font-family: var(--ed-font-display); font-size: 18px; font-weight: 700; color: var(--ed-ink); margin-top: 4px; }
.ed-timeline__detail { margin-top: 6px; font-size: 14px; line-height: 1.65; color: var(--ed-muted); max-width: 460px; }

/* ------------------------------------------------------------------ */
/* Actions mobiles flottantes                                          */
/* ------------------------------------------------------------------ */
.ed-whatsapp { position: fixed; bottom: 84px; right: 16px; z-index: 40; width: 54px; height: 54px; border-radius: 999px; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--ed-shadow-raised); }
.ed-mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--ed-line); padding: 12px; }
.ed-mobile-cta .ed-btn { width: 100%; }
@media (min-width: 1024px) { .ed-whatsapp, .ed-mobile-cta { display: none; } }
.edicom { padding-bottom: 76px; }
@media (min-width: 1024px) { .edicom { padding-bottom: 0; } }

/* Liste à puces vertes */
.ed-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ed-checklist li { display: flex; gap: 12px; font-size: 15px; line-height: 1.65; color: var(--ed-ink); }
.ed-checklist li::before { content: ""; width: 8px; height: 8px; margin-top: 7px; border-radius: 999px; background: var(--ed-impact); flex: none; }

/* Utilitaires */
.ed-mt-24 { margin-top: 24px; }
.ed-center { text-align: center; }
.ed-tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ed-tag { border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; background: var(--ed-blue-surface); color: var(--ed-primary); }
.ed-tag--mono { font-family: var(--ed-font-mono); font-size: 11px; letter-spacing: 0.04em; background: var(--ed-chip); color: var(--ed-muted); }

/* Grille de logos (partenaires) */
.ed-logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .ed-logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ed-logo-grid { grid-template-columns: repeat(6, 1fr); } }
.ed-logo-grid li { display: flex; align-items: center; justify-content: center; height: 84px; border: 1px solid var(--ed-line); border-radius: var(--ed-r-card); background: #fff; font-family: var(--ed-font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ed-muted); text-align: center; padding: 8px; }

/* Grille d'engagements (4 cellules) */
.ed-commit-grid { display: grid; grid-template-columns: 1fr; overflow: hidden; border: 1px solid var(--ed-line); border-radius: var(--ed-r-panel); list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .ed-commit-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ed-commit-grid { grid-template-columns: repeat(4, 1fr); } }
.ed-commit-grid li { border-bottom: 1px solid var(--ed-line); border-right: 1px solid var(--ed-line); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.ed-commit-grid .ed-sectors__icon { color: var(--ed-impact); }
