/* Landing — aperçu d'étude (hero) et exemple chiffré */
.apercu { position: relative; padding: 18px 10px 30px; }
.apercu::before { content: ""; position: absolute; inset: 6% -4% 2% 8%; border-radius: 40px; background: linear-gradient(150deg, #dcebe5, #c6ddd4); transform: rotate(-3deg); z-index: 0; }
.ap-carte { position: relative; z-index: 1; background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 30px 70px rgba(18,48,44,.18), 0 2px 6px rgba(18,48,44,.06);
  opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.apercu.joue .ap-carte { opacity: 1; transform: none; }
.ap-tete { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--bord); }
.ap-tete small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--doux); font-weight: 600; }
.ap-tete b { font: 700 1.05rem var(--titre); color: var(--vert-900); }
.ap-exemple { font-size: .72rem; font-weight: 700; color: var(--doux); background: var(--lin); border-radius: 99px; padding: 4px 10px; }
.ap-solution { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 16px 0; }
.ap-pac { background: var(--vert-50); border-radius: 16px; padding: 8px; }
.ap-pac svg { width: 100%; height: auto; }
.apercu .pac-helice { animation: helice-ap 3s linear infinite; }
@keyframes helice-ap { to { transform: rotate(360deg); } }
.ap-solution b { display: block; font-size: .98rem; color: var(--vert-900); }
.ap-solution small { display: block; color: var(--doux); font-size: .82rem; margin: 2px 0 8px; }
.ap-badge { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--vert-700); background: var(--vert-100); border-radius: 99px; padding: 4px 10px; }
.ap-fin-l { display: flex; justify-content: space-between; font-size: .78rem; color: var(--doux); margin-bottom: 6px; }
.ap-jauge { position: relative; height: 14px; border-radius: 99px; background: repeating-linear-gradient(135deg, #e3e9e6 0 6px, #eef2f0 6px 12px); overflow: hidden; }
.ap-jauge i { position: absolute; top: 0; bottom: 0; }
.ap-aides { right: 0; width: 0; background: linear-gradient(90deg, #5e9a8f, var(--vert-700)); border-radius: 99px; transition: width 1.6s cubic-bezier(.25,.8,.25,1) .4s; }
.ap-rac { left: 0; width: 0; background: linear-gradient(90deg, #d88a56, var(--cuivre)); border-radius: 99px; }
.apercu.joue .ap-aides { width: var(--p); }
.apercu.joue .ap-rac { width: calc(100% - var(--p, 0%)); }
.ap-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.ap-kpis div { background: var(--lin); border-radius: 14px; padding: 12px; }
.ap-kpis small { display: block; font-size: .72rem; color: var(--doux); }
.ap-kpis b { display: block; font: 800 1.12rem var(--titre); color: var(--vert-900); font-variant-numeric: tabular-nums; white-space: nowrap; margin-top: 2px; }
.ap-kpis .ap-eco { background: linear-gradient(140deg, #2f8a6f, #1f6a57); }
.ap-kpis .ap-eco small { color: #d5f0e6; }
.ap-kpis .ap-eco b { color: #fff; }
.ap-courbe small { font-size: .72rem; color: var(--doux); }
.ap-courbe svg { width: 100%; height: 64px; display: block; margin-top: 4px; }
.ap-courbe-l { display: flex; justify-content: space-between; align-items: baseline; font-size: .78rem; color: var(--doux); }
.ap-courbe-l b { font: 800 1rem var(--titre); color: var(--vert-700); }
.ap-puce { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 9px 14px; font-size: .8rem; font-weight: 600; color: var(--vert-800);
  box-shadow: 0 12px 30px rgba(18,48,44,.16); opacity: 0; transition: opacity .6s ease 1.1s, transform .6s ease 1.1s; transform: translateY(8px); }
.apercu.joue .ap-puce { opacity: 1; transform: none; }
.ap-puce-1 { left: -18px; bottom: 6px; }
.pt { width: 8px; height: 8px; border-radius: 50%; background: #2f9e74; box-shadow: 0 0 0 4px rgba(47,158,116,.18); }
@media (max-width: 960px) { .apercu { max-width: 520px; margin: 0 auto; } .ap-puce-1 { left: 8px; bottom: 0; } }
@media (max-width: 420px) { .ap-kpis { grid-template-columns: 1fr 1fr; } .ap-kpis .ap-eco { grid-column: 1 / -1; } }

/* Exemple chiffré : le gain mis en avant */
.ex-gain { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; background: #e3f4ec; border-radius: 16px; padding: 14px 18px; margin-bottom: 6px; }
.ex-gain span { font-size: .85rem; color: #1f5f50; font-weight: 600; width: 100%; }
.ex-gain b { font: 800 2.4rem/1 var(--titre); color: #1f7a5f; font-variant-numeric: tabular-nums; }
.ex-gain em { font-style: normal; color: #1f5f50; font-weight: 600; }
.barre .piste { position: relative; overflow: visible; }
.barre .rempli { overflow: hidden; white-space: nowrap; }
.ex-ecart { position: absolute; top: 0; bottom: 0; right: 0; border-radius: 0 12px 12px 0; border: 2px dashed rgba(47,138,111,.55); border-left: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity .6s ease 1.2s; font-style: normal; }
.ex-ecart span { font-weight: 800; color: #1f7a5f; font-size: .95rem; }
.graph-comp.vu .ex-ecart { opacity: 1; }
