.hero-stats { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin-top: 34px; }
.hero-stats li { min-width: 130px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.hero-stats li[hidden] { display: none; }
.hero-stats strong { display: block; font-size: 24px; letter-spacing: -0.03em; font-weight: 650; color: var(--text); }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Section « En chiffres »
   ========================================================================== */
[data-stats-section][hidden], .kpi[hidden], .stat-panel[hidden], .bot-bars li[hidden] { display: none; }

.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.kpi { position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); overflow: hidden; transition: border-color .25s ease, transform .35s var(--ease); }
.kpi::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, var(--g, var(--text)), transparent); opacity: .55; transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease); }
.kpi:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.kpi:hover::after { transform: scaleX(1); }
.kpi-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--g-soft, var(--bg-soft)); color: var(--g, var(--text)); margin-bottom: 16px; }
.kpi-ico svg { width: 20px; height: 20px; }
.kpi strong { display: block; font-size: clamp(24px, 3vw, 31px); font-weight: 680; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--text); }
.kpi-label { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

.stats-split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; margin-top: 14px; }
.stats-split > .stat-panel[hidden]:only-child { grid-column: 1 / -1; }
.stat-panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); min-width: 0; }
.stat-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.stat-panel h3 { font-size: 16px; font-weight: 640; letter-spacing: -0.02em; }
.stat-foot { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

.legend { display: flex; gap: 14px; list-style: none; font-size: 12.5px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.lg-bar { width: 10px; height: 10px; border-radius: 3px; background: var(--g, var(--text)); opacity: .35; }
.lg-line { width: 14px; height: 0; border-top: 2.5px solid var(--g, var(--text)); border-radius: 2px; }

.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.ch-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.ch-bar { fill: var(--g, var(--text)); opacity: .3; transition: opacity .2s ease; }
.ch-bar:hover { opacity: .6; }
.ch-line { fill: none; stroke: var(--g, var(--text)); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ch-dot { fill: var(--card); stroke: var(--g, var(--text)); stroke-width: 2; }
.ch-label { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.is-visible .ch-bar { animation: ch-grow .7s var(--ease) both; }
.is-visible .ch-line { animation: ch-draw 1.2s var(--ease) .2s both; }
@keyframes ch-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ch-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.bot-bars { list-style: none; display: grid; gap: 20px; }
.bb-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14px; }
.bb-top b { font-weight: 640; color: var(--text); }
.bb-top span { font-size: 12.5px; color: var(--muted); }
.bb-top em { font-style: normal; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.bb-track { height: 8px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.bb-track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--g-dark, var(--text)), var(--g, var(--text))); transition: width 1s var(--ease) .15s; }
.is-visible .bb-track i { width: var(--w, 0); }

/* ==========================================================================
   Engagements (refonte)
   ========================================================================== */
.eng { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.eng-intro { position: sticky; top: calc(var(--header-h, 74px) + 24px); }
.eng-intro h2 { margin-top: 14px; font-size: clamp(28px, 4vw, 40px); font-weight: 680; letter-spacing: -0.035em; line-height: 1.12; }
.eng-intro p { margin: 16px 0 26px; color: var(--muted); max-width: 40ch; }

.eng-list { list-style: none; display: grid; gap: 16px; counter-reset: eng; }
.eng-item { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); transition: border-color .3s ease, transform .35s var(--ease), box-shadow .3s ease; }
.eng-item:hover { border-color: var(--g-line, var(--line-strong)); transform: translateX(6px); box-shadow: 0 10px 30px rgba(34, 34, 34, .06); }
.eng-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--g-soft, var(--bg-soft)); color: var(--g, var(--text)); transition: background .3s ease, color .3s ease; }
.eng-ico svg { width: 22px; height: 22px; }
.eng-item:hover .eng-ico { background: var(--g, var(--text)); color: var(--on-g, #ffffff); }
.eng-num { font-size: 12px; letter-spacing: .18em; color: var(--muted-soft); }
.eng-body h3 { margin-top: 4px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.eng-body p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.eng-body a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.eng-body a:hover { text-decoration-color: var(--g, var(--text)); }
.eng-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.eng-points li { padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 12.5px; color: var(--muted); background: var(--bg-soft); }
.eng-points li::before { content: "✓"; margin-right: 6px; color: var(--g, var(--text)); font-weight: 700; }
.eng-proof { text-align: right; min-width: 112px; padding-left: 20px; border-left: 1px solid var(--line); }
.eng-proof strong { display: block; font-size: 22px; font-weight: 680; letter-spacing: -0.03em; color: var(--text); white-space: nowrap; }
.eng-proof span { font-size: 12.5px; color: var(--muted); }
.eng-list .reveal:nth-child(2) { transition-delay: .1s; }
.eng-list .reveal:nth-child(3) { transition-delay: .2s; }

@media (max-width: 1000px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-split { grid-template-columns: 1fr; }
  .eng { grid-template-columns: 1fr; }
  .eng-intro { position: static; }
}
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .eng-item { grid-template-columns: auto 1fr; padding: 20px; }
  .eng-proof { grid-column: 1 / -1; text-align: left; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; }
  .eng-item:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .is-visible .ch-bar, .is-visible .ch-line { animation: none; }
  .bb-track i, .kpi, .eng-item { transition: none; }
}

/* Petits smileys texte (:) <3 …) */
.emo { display: inline-block; white-space: nowrap; font-weight: 600; letter-spacing: 0; color: var(--g, var(--muted)); transition: transform .3s var(--ease); }
.emo:hover { transform: rotate(-8deg) scale(1.15); }
h2 .emo { font-weight: 650; }
@media (prefers-reduced-motion: reduce) { .emo { transition: none; } }
