/* LVD - Jauge brique par brique (shortcode [lvd_briques]). Mêmes valeurs que la maquette. */
.murs, .mini-briques { --vert-nuit: #0d2717; --vert-charte: #8dc549; --vert-brume: #f1f6e8; --gris: #556051; --ease: cubic-bezier(.16, 1, .3, 1); font-family: "Poppins", system-ui, sans-serif; }
.murs .icone { width: 15px; height: 15px; flex: none; }
.murs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); align-items: end; }
.mur { display: grid; gap: 18px; }
.mur-briques { display: flex; flex-direction: column-reverse; gap: 5px; padding-bottom: 10px; border-bottom: 3px solid var(--vert-nuit); }
.rang { display: flex; gap: 5px; justify-content: center; }
.brique { position: relative; flex: 0 0 calc((100% - 4 * 5px) / 5); aspect-ratio: 2.35; border-radius: 4px; border: 1.5px dashed #b8c6a3; background: transparent; overflow: hidden; }
.brique::after { content: ""; position: absolute; inset: 0; width: var(--r, 0%); background: var(--vert-charte); }
.brique.pleine { border: 0; background: var(--vert-charte); box-shadow: inset 0 -3px 0 rgba(13, 39, 23, .16); animation: poser .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
.brique.partielle { border-style: solid; border-color: var(--vert-charte); }
.brique.partielle::after { animation: remplir 1.2s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 400ms); background: repeating-linear-gradient(-45deg, var(--vert-charte) 0 6px, #a6d36d 6px 12px); }
@keyframes poser { from { transform: translateY(-14px); opacity: 0; } }
@keyframes remplir { from { width: 0; } }
.mur-legende { display: grid; gap: 3px; }
.mur-phase { font-size: .82rem; font-weight: 600; color: var(--gris); }
.mur-nom { font-size: 1.08rem; font-weight: 700; line-height: 1.25; color: var(--vert-nuit); }
.mur-montant { font-size: .92rem; color: var(--gris); }
.statut { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.statut .icone { width: 15px; height: 15px; }
.statut-encours { background: var(--vert-charte); color: var(--vert-nuit); }
.statut-avenir { background: var(--vert-brume); color: var(--gris); }

/* Mini jauge (accueil) */
.mini-briques { display: grid; grid-template-columns: repeat(25, 1fr); gap: 4px; }
.mini-briques span { aspect-ratio: 2.2; border-radius: 3px; border: 1.5px dashed rgba(250, 246, 236, .32); position: relative; overflow: hidden; }
.mini-briques span.pleine { border: 0; background: var(--vert-charte); animation: poser .6s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 300ms); }
.mini-briques span.partielle { border: 1.5px solid var(--vert-charte); }
.mini-briques span.partielle::after { content: ""; position: absolute; inset: 0; width: var(--r); background: var(--vert-charte); }

@media (prefers-reduced-motion: reduce) { .brique, .brique::after, .mini-briques span { animation: none !important; } }
@media (max-width: 767px) {
  .murs { grid-template-columns: 1fr; gap: 28px; }
  .mur { grid-template-columns: 46% 1fr; align-items: end; gap: 16px; }
  .mur-briques { gap: 4px; }
  .rang { gap: 4px; }
  .brique { flex-basis: calc((100% - 4 * 4px) / 5); border-radius: 3px; }
  .mini-briques { grid-template-columns: repeat(10, 1fr); gap: 4px; }
}
