/* KORIUM · V5 · schémas des guides animés (24/11). Va avec /assets/js/schema-anime.js */
.sa .gd-fx__line::after { display: none; } /* l'ancien reflet est remplacé par l'eau */
.sa__svg { position: absolute; inset: 0; z-index: 0; overflow: visible; pointer-events: none; }
.sa__eau { fill: none; stroke-width: 3; stroke-linecap: round; }
.sa__goutte { fill: #3FA5EE; opacity: 0; filter: drop-shadow(0 0 6px rgba(63, 165, 238, 0.7)); transition: opacity 0.6s; }
.sa.is-plein .sa__goutte { opacity: 0.95; }

/* chaque étape s'allume quand l'eau l'atteint */
.sa .gd-fx__dot { position: relative; transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s, box-shadow 0.6s; }
.sa .gd-fx__n:not(.is-on) .gd-fx__dot { transform: scale(0.72); opacity: 0.35; }
.sa .gd-fx__n:not(.is-on) .gd-fx__t, .sa .gd-fx__n:not(.is-on) .gd-fx__s, .sa .gd-fx__n:not(.is-on) .gd-fx__out { opacity: 0.25; transform: translateY(6px); }
.sa .gd-fx__t, .sa .gd-fx__s, .sa .gd-fx__out { transition: opacity 0.6s 0.1s, transform 0.6s 0.1s; }
.sa .gd-fx__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px #3FA5EE; opacity: 0; pointer-events: none; }
.sa .gd-fx__n.is-on .gd-fx__dot::after { animation: saOnde 1.1s ease-out; }
@keyframes saOnde { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }

/* étape mise en avant (la membrane) : elle respire */
.sa.is-plein .gd-fx__n--hl .gd-fx__dot { animation: saRespire 2.4s ease-in-out infinite; }
@keyframes saRespire {
  0%, 100% { box-shadow: 0 0 0 6px rgba(31, 127, 209, 0.14), 0 0 34px rgba(91, 184, 245, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(31, 127, 209, 0.08), 0 0 54px rgba(91, 184, 245, 0.7); }
}
/* icônes : petit mouvement une fois l'eau passée */
.sa.is-plein .gd-fx__dot svg { animation: saFlotte 3.2s ease-in-out infinite; }
.sa.is-plein .gd-fx__n:nth-child(odd) .gd-fx__dot svg { animation-delay: -1.6s; }
@keyframes saFlotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }

/* rejet : une goutte ambrée tombe vers l'égout */
.sa .gd-fx__out { position: relative; }
.sa__rejet { position: absolute; left: 50%; top: -12px; width: 7px; height: 9px; margin-left: -3.5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #D99A3A; opacity: 0; }
.sa.is-plein .sa__rejet { animation: saTombe 2.1s ease-in infinite; }
@keyframes saTombe { 0% { transform: translateY(-26px); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(14px); opacity: 1; } 100% { transform: translateY(20px) scale(0.4); opacity: 0; } }
.sa.is-plein .gd-fx__out svg { animation: saEgout 2.1s ease-in-out infinite; }
@keyframes saEgout { 0%, 60% { transform: translateY(0); } 75% { transform: translateY(2px); } 100% { transform: translateY(0); } }

/* vertical (tablette, téléphone, même seuil que p-guides.css) : pas de goutte, elle passerait sur le texte */
@media (max-width: 1023px) { .gd-fx:not(.gd-fx--v).sa .sa__rejet { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .sa *, .sa *::after { animation: none !important; transition: none !important; }
  .sa__goutte, .sa__rejet { display: none; }
}
