/* ─── Cube animé — bloc « Nos expertises » ─── */
.srv-has-cube { position: relative; overflow: clip; }
.srv-head-cube { position: relative; }
.srv-head-cube > :not(.srv-cube) { position: relative; z-index: 1; }
.srv-has-cube > .container { position: relative; }
.srv-has-cube .services-grid, .srv-has-cube .benefits-grid { position: relative; z-index: 1; }  /* les cartes passent devant le cube */
.srv-cube {
  position: absolute; z-index: 0; pointer-events: none;
  --w: min(760px, 48vw);   /* le cube occupe ~84 % de la largeur du SVG, centré */
  right: calc((100% - 100vw) / 2 - var(--w) * .27); top: -110px; width: var(--w); aspect-ratio: 1 / 1;
  opacity: .28;
}
.srv-cube svg { position: relative; width: 100%; height: 100%; display: block; overflow: visible;
  animation: srvCubeFloat 8s ease-in-out infinite; }
.srv-cube .cube-l { opacity: 0; transition: transform .2s linear, opacity .2s linear; }
@keyframes srvCubeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 980px) { .srv-cube { --w: 60vw; } }
@media (max-width: 720px) { .srv-cube { display: none; } }
@media (prefers-reduced-motion: reduce) { .srv-cube svg { animation: none; } .srv-cube .cube-l { opacity: 1; } }

/* Variante à gauche (pages Chape & Isolation) */
.srv-cube.srv-cube--left { right: auto; left: calc((100% - 100vw) / 2 - var(--w) * .27); }
