/* Finitions Localyx : mouvement supplémentaire et corrections après contrôle en navigateur. */

/* Avis : trois exemples sur une ligne */
.avis-grille { grid-template-columns: 1fr .72fr .72fr .72fr; }
@media (max-width: 860px) { .avis-grille { grid-template-columns: 1fr; } .avis-grille > div { grid-column: auto; } }

/* Bandeau défilant des prestations, entre le héros et le diagnostic */
.ruban-eau { position: relative; z-index: 2; overflow: clip; background: var(--encre); color: var(--blanc); border-block: 1px solid #ffffff1f; }
.ruban-eau ul { display: flex; width: max-content; gap: 0; margin: 0; padding: 0; list-style: none; will-change: transform; }
.ruban-eau li { display: flex; align-items: center; gap: 22px; padding: clamp(14px, 1.6vw, 22px) 22px; font: 600 clamp(1.15rem, 2.3vw, 2.2rem)/1 var(--titre); letter-spacing: -.02em; white-space: nowrap; }
.ruban-eau li:nth-child(even) { color: var(--eau-claire, #bfe6ee); font-weight: 430; }
.ruban-eau li::after { content: ""; width: .42em; height: .55em; background: var(--cuivre-clair); clip-path: path("M5 0C4 2 0 5 0 8a5 5 0 0 0 10 0c0-3-4-6-5-8Z"); clip-path: polygon(50% 0, 100% 62%, 85% 92%, 50% 100%, 15% 92%, 0 62%); }

/* Onde d'eau au clic, n'importe où sur la page */
.onde-clic { position: fixed; z-index: 60; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 1.5px solid #3fa6c0; border-radius: 50%; pointer-events: none; animation: onde-clic .9s cubic-bezier(.15,.7,.25,1) forwards; }
.onde-clic + .onde-clic { animation-delay: .12s; }
@keyframes onde-clic { from { opacity: .85; transform: scale(1); } to { opacity: 0; transform: scale(9); border-width: .3px; } }

/* Gouttelettes qui suivent le pointeur sur ordinateur */
.trace-goutte { position: fixed; z-index: 59; width: 6px; height: 8px; margin: -4px 0 0 -3px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 35% 35%, #fff, #7cc9da 60%, #2c7d96); pointer-events: none; opacity: .75; animation: trace-goutte .8s ease-in forwards; }
@keyframes trace-goutte { to { opacity: 0; transform: translateY(26px) scale(.4); } }

/* Lignes de prestations : niveau d'eau qui monte au survol */
.services-liste article { position: relative; isolation: isolate; overflow: clip; }
.services-liste article::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 0 8px, #e3f4f7 8px); clip-path: inset(100% 0 0 0); transition: clip-path .55s cubic-bezier(.16,1,.3,1); }
@media (hover: hover) { .services-liste article:hover::before { clip-path: inset(0 0 0 0); } .services-liste article:hover .icone:first-child { animation: remous .7s ease-in-out; } }
@keyframes remous { 30% { transform: rotate(-14deg) translateY(-2px); } 60% { transform: rotate(10deg); } }

/* Pied : logo qui se pose comme une goutte */
.pied .goutte-pied { display: inline-block; }

/* Repli sans mouvement */
@media (prefers-reduced-motion: reduce) {
  .onde-clic, .trace-goutte { display: none; }
  .ruban-eau ul { transform: none !important; flex-wrap: wrap; width: auto; }
}
