/* VVhite (thème enfant) 1.29.0 — Visuel du hero (.hero-art) et ses effets.
   Sorti de vvhite.css : chargé sur l'accueil, et par VVhite Tool Kit sur la page de connexion. */
/* =========================================================
   v1.5 — VISUEL DU HERO (PNG détouré) ET SES EFFETS
   Variables posées par le gabarit :
   --vv-art (image), --vv-art-w, --vv-art-x, --vv-art-y,
   --vv-art-op, --vv-amp (1-5), --vv-speed, --vv-fx-color
   ========================================================= */
.hero-art {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-art-wrap {
  position: relative;
  width: min(calc(var(--vv-art-w, 420px) * var(--vv-zoom, 1)), calc(74vw * var(--vv-zoom, 1)));
  transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%));
  will-change: transform, filter;
}
.hero-art-inner { position: relative; display: block; will-change: filter, transform; }
.hero-art-img { display: block; width: 100%; height: auto; opacity: var(--vv-art-op, 1); }
.hero-art-fx {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  -webkit-mask-image: var(--vv-art); mask-image: var(--vv-art);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.hero-art-fxlayer { position: absolute; pointer-events: none; opacity: var(--vv-fx-op, 1); }
.hero-art-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── 1. Flottement ── */
.hero-art--float .hero-art-wrap { animation: vvFloat var(--vv-speed-move, 6s) ease-in-out infinite; }
@keyframes vvFloat {
  0%, 100% { transform: translate(var(--vv-art-x, 0%), calc(var(--vv-art-y, 0%) - var(--vv-amp-move, 3) * 1px)); }
  50%      { transform: translate(var(--vv-art-x, 0%), calc(var(--vv-art-y, 0%) + var(--vv-amp-move, 3) * 3px)); }
}

/* ── 2. Respiration ── */
.hero-art--breathe .hero-art-wrap { animation: vvBreathe var(--vv-speed-move, 6s) ease-in-out infinite; }
@keyframes vvBreathe {
  0%, 100% { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) scale(1); }
  50%      { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) scale(calc(1 + var(--vv-amp-move, 3) * 0.008)); }
}

/* ── 3. Halo lumineux ── */
.hero-art--glow .hero-art-inner { animation: vvGlow var(--vv-speed-filter, 6s) ease-in-out infinite; }
@keyframes vvGlow {
  0%, 100% { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 3px) var(--vv-fx-color)); }
  50%      { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 9px) var(--vv-fx-color2)) brightness(1.06); }
}

/* ── 4. Scintillement ── */
.hero-art--shimmer .hero-art-fx {
  opacity: var(--vv-fx-op, 1);
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.75) 50%, transparent 58%);
  background-size: 300% 100%;
  animation: vvSweep var(--vv-speed-sweep, 6s) linear infinite;
}
@keyframes vvSweep {
  0%   { background-position: 160% 0; }
  60%, 100% { background-position: -60% 0; }
}

/* ── 5. Reflet métallique ── */
.hero-art--sheen .hero-art-fx {
  opacity: calc(.9 * var(--vv-fx-op, 1));
  background: linear-gradient(115deg, transparent 45%, var(--vv-fx-color) 50%, transparent 55%);
  background-size: 300% 100%;
  mix-blend-mode: plus-lighter;
  animation: vvSweep calc(var(--vv-speed-sweep, 6s) * 1.4) ease-in-out infinite;
}

/* ── 6. Balayage holographique ── */
.hero-art--holo .hero-art-fx {
  opacity: calc(.55 * var(--vv-fx-op, 1));
  background: linear-gradient(100deg, transparent 35%, #7ecef4 45%, #b58cff 52%, #6fe8c4 60%, transparent 70%);
  background-size: 300% 100%;
  mix-blend-mode: plus-lighter;
  animation: vvSweep var(--vv-speed-sweep, 6s) linear infinite;
}

/* ── 7. Aurore ── */
.hero-art--aurora .hero-art-inner { animation: vvAurora calc(var(--vv-speed-filter, 6s) * 2) linear infinite; }
@keyframes vvAurora {
  0%   { filter: hue-rotate(0deg) saturate(1); }
  50%  { filter: hue-rotate(calc(var(--vv-amp-filter, 3) * 14deg)) saturate(1.25); }
  100% { filter: hue-rotate(0deg) saturate(1); }
}

/* ── 8. Ondes d'énergie ── */
.hero-art--rings .hero-art-wrap::before,
.hero-art--rings .hero-art-wrap::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 60%; aspect-ratio: 1;
  margin: -30% 0 0 -30%;
  border: 1px solid var(--vv-fx-color);
  border-radius: 50%;
  opacity: 0;
  animation: vvRing calc(var(--vv-speed-ring, 6s) * .9) ease-out infinite;
}
.hero-art--rings .hero-art-wrap::after { animation-delay: calc(var(--vv-speed-ring, 6s) * .45); }
@keyframes vvRing {
  0%   { transform: scale(.5); opacity: calc(var(--vv-amp-ring, 3) * .12 * var(--vv-fx-op, 1)); }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ── 9. Glitch ── */
.hero-art--glitch .hero-art-fx {
  opacity: calc(.8 * var(--vv-fx-op, 1));
  background: var(--vv-fx-color);
  mix-blend-mode: plus-lighter;
  animation: vvGlitch calc(var(--vv-speed-sweep, 6s) * .8) steps(1) infinite;
}
@keyframes vvGlitch {
  0%, 86%, 100% { opacity: 0; transform: none; }
  87% { opacity: .5; transform: translate(calc(var(--vv-amp-sweep, 3) * -1px), 1px); }
  89% { opacity: .35; transform: translate(calc(var(--vv-amp-sweep, 3) * 1px), -1px); }
  91% { opacity: 0; }
  93% { opacity: .4; transform: translate(calc(var(--vv-amp-sweep, 3) * 1.5px), 0); }
  95% { opacity: 0; }
}

/* ── 10. Élévation au survol ── */
.hero-art--pulseup { pointer-events: auto; }
.hero-art--pulseup .hero-art-inner { transition: transform .5s ease, filter .5s ease; }
.hero-art--pulseup:hover .hero-art-inner {
  transform: translateY(calc(var(--vv-amp-pointer, 3) * -4px)) scale(1.03);
  filter: drop-shadow(0 calc(var(--vv-amp-pointer, 3) * 3px) calc(var(--vv-amp-pointer, 3) * 6px) rgba(0,0,0,.55));
}

.hero-art--tilt { transition: transform .25s ease-out; }

@media (max-width: 760px) {
  .hero-art-wrap { width: min(calc(var(--vv-art-w, 420px) * var(--vv-zoom, 1)), 62vw); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art .hero-art-wrap,
  .hero-art .hero-art-inner,
  .hero-art .hero-art-fx,
  .hero-art .hero-art-wrap::before,
  .hero-art .hero-art-wrap::after { animation: none !important; }
  .hero-art-canvas { display: none; }
}

/* =========================================================
   v1.6 — EFFETS SUPPLÉMENTAIRES DU VISUEL DU HERO
   ========================================================= */
.hero-art-inner { transition: filter .8s ease; }

/* ── Mouvement ── */
.hero-art--sway .hero-art-wrap {
  transform-origin: 50% 90%;
  animation: vvSway var(--vv-speed-move, 6s) ease-in-out infinite;
}
@keyframes vvSway {
  0%, 100% { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) rotate(calc(var(--vv-amp-move, 3) * -0.4deg)); }
  50%      { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) rotate(calc(var(--vv-amp-move, 3) * 0.4deg)); }
}

.hero-art--pendulum .hero-art-wrap {
  transform-origin: 50% 0%;
  animation: vvPendulum var(--vv-speed-move, 6s) cubic-bezier(.45,0,.55,1) infinite;
}
@keyframes vvPendulum {
  0%, 100% { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) rotate(calc(var(--vv-amp-move, 3) * -0.8deg)); }
  50%      { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) rotate(calc(var(--vv-amp-move, 3) * 0.8deg)); }
}

.hero-art--drift .hero-art-wrap { animation: vvDrift calc(var(--vv-speed-move, 6s) * 2.6) ease-in-out infinite; }
@keyframes vvDrift {
  0%, 100% { transform: translate(calc(var(--vv-art-x, 0%) - var(--vv-amp-move, 3) * 2px), calc(var(--vv-art-y, 0%) - var(--vv-amp-move, 3) * 1px)); }
  33%      { transform: translate(calc(var(--vv-art-x, 0%) + var(--vv-amp-move, 3) * 2px), calc(var(--vv-art-y, 0%) + var(--vv-amp-move, 3) * 2px)); }
  66%      { transform: translate(calc(var(--vv-art-x, 0%) + var(--vv-amp-move, 3) * 1px), calc(var(--vv-art-y, 0%) - var(--vv-amp-move, 3) * 2px)); }
}

.hero-art--bounce .hero-art-wrap { animation: vvBounce calc(var(--vv-speed-move, 6s) * .5) cubic-bezier(.3,.9,.4,1) infinite; }
@keyframes vvBounce {
  0%, 100% { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)); }
  45%      { transform: translate(var(--vv-art-x, 0%), calc(var(--vv-art-y, 0%) - var(--vv-amp-move, 3) * 4px)); }
}

.hero-art--kenburns .hero-art-wrap { animation: vvKen calc(var(--vv-speed-move, 6s) * 4) ease-in-out infinite; }
@keyframes vvKen {
  0%, 100% { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) scale(1); }
  50%      { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) scale(calc(1 + var(--vv-amp-move, 3) * 0.02)); }
}

.hero-art--spin .hero-art-wrap { animation: vvSpin calc(var(--vv-speed-move, 6s) * 6) linear infinite; }
@keyframes vvSpin {
  from { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) rotate(0deg); }
  to   { transform: translate(var(--vv-art-x, 0%), var(--vv-art-y, 0%)) rotate(360deg); }
}

/* ── Lumière ── */
.hero-art--neon .hero-art-inner { animation: vvNeon var(--vv-speed-filter, 6s) ease-in-out infinite; }
@keyframes vvNeon {
  0%, 100% { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 2px) var(--vv-fx-color)); }
  50%      { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 6px) var(--vv-fx-color2)) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 12px) var(--vv-fx-color2)); }
}

.hero-art--flicker .hero-art-inner { animation: vvFlicker calc(var(--vv-speed-filter, 6s) * .7) steps(1) infinite; }
@keyframes vvFlicker {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 3px) var(--vv-fx-color)); }
  41% { opacity: .55; filter: none; }
  43% { opacity: 1; }
  44% { opacity: .35; filter: none; }
  46% { opacity: 1; }
  77% { opacity: .7; filter: none; }
  79% { opacity: 1; }
}

.hero-art--scan .hero-art-fx {
  opacity: var(--vv-fx-op, 1);
  background: linear-gradient(to bottom, transparent 44%, var(--vv-fx-color) 50%, transparent 56%);
  background-size: 100% 300%;
  mix-blend-mode: plus-lighter;
  animation: vvScan var(--vv-speed-sweep, 6s) linear infinite;
}
@keyframes vvScan {
  0%   { background-position: 0 -60%; }
  70%, 100% { background-position: 0 160%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art .hero-art-wrap,
  .hero-art .hero-art-inner { filter: none !important; opacity: 1 !important; }
}

/* =========================================================
   v1.11 — VISUEL DU HERO : LUMIÈRES ET ONDES SUPPLÉMENTAIRES
   ========================================================= */

/* ── Lumière ── */
.hero-art--pulsar .hero-art-inner { animation: vvPulsar calc(var(--vv-speed-filter, 6s) * .35) ease-in-out infinite; }
@keyframes vvPulsar {
  0%, 100% { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 1px) var(--vv-fx-color)); }
  20%      { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 8px) var(--vv-fx-color)) brightness(1.12); }
  45%      { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 3px) var(--vv-fx-color)); }
}

.hero-art--backlight .hero-art-inner { animation: vvBacklight calc(var(--vv-speed-filter, 6s) * 1.5) ease-in-out infinite; }
@keyframes vvBacklight {
  0%, 100% { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 10px) var(--vv-fx-color)) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 22px) var(--vv-fx-color)); }
  50%      { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 14px) var(--vv-fx-color2)) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 34px) var(--vv-fx-color2)) brightness(1.05); }
}

.hero-art--rimlight .hero-art-inner { animation: vvRim calc(var(--vv-speed-filter, 6s) * 1.2) linear infinite; }
@keyframes vvRim {
  0%    { filter: drop-shadow(calc(var(--vv-amp-filter, 3) * 2px) 0 calc(var(--vv-amp-filter, 3) * 2px) var(--vv-fx-color)); }
  25%   { filter: drop-shadow(0 calc(var(--vv-amp-filter, 3) * 2px) calc(var(--vv-amp-filter, 3) * 2px) var(--vv-fx-color)); }
  50%   { filter: drop-shadow(calc(var(--vv-amp-filter, 3) * -2px) 0 calc(var(--vv-amp-filter, 3) * 2px) var(--vv-fx-color)); }
  75%   { filter: drop-shadow(0 calc(var(--vv-amp-filter, 3) * -2px) calc(var(--vv-amp-filter, 3) * 2px) var(--vv-fx-color)); }
  100%  { filter: drop-shadow(calc(var(--vv-amp-filter, 3) * 2px) 0 calc(var(--vv-amp-filter, 3) * 2px) var(--vv-fx-color)); }
}

.hero-art--sunlight .hero-art-inner { animation: vvSun calc(var(--vv-speed-filter, 6s) * 1.6) ease-in-out infinite; }
@keyframes vvSun {
  0%, 100% { filter: sepia(.15) saturate(1.1) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 4px) #ffcf6e); }
  50%      { filter: sepia(.3) saturate(1.3) brightness(1.08) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 10px) #ffb347); }
}

.hero-art--duotone .hero-art-inner { animation: vvDuo var(--vv-speed-filter, 6s) ease-in-out infinite; }
@keyframes vvDuo {
  0%, 100% { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 5px) var(--vv-fx-color)); }
  50%      { filter: drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 5px) #ffffff) brightness(1.06); }
}

.hero-art--rainbow .hero-art-inner { animation: vvRainbow calc(var(--vv-speed-filter, 6s) * 2) linear infinite; }
@keyframes vvRainbow {
  from { filter: hue-rotate(0deg) saturate(1.3) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 3px) var(--vv-fx-color)); }
  to   { filter: hue-rotate(360deg) saturate(1.3) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 3px) var(--vv-fx-color)); }
}

.hero-art--eclipse .hero-art-inner { animation: vvEclipse calc(var(--vv-speed-filter, 6s) * 1.4) ease-in-out infinite; }
@keyframes vvEclipse {
  0%, 100% { filter: brightness(.55) drop-shadow(0 0 1px var(--vv-fx-color)) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 4px) var(--vv-fx-color)); }
  50%      { filter: brightness(.8) drop-shadow(0 0 2px #fff) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 9px) var(--vv-fx-color)); }
}

/* ── Ondes ── (pseudo-éléments du conteneur, une seule onde à la fois) */
.hero-art--ripple .hero-art-wrap::before,
.hero-art--ripple .hero-art-wrap::after,
.hero-art--heartbeat .hero-art-wrap::before,
.hero-art--heartbeat .hero-art-wrap::after,
.hero-art--sonar .hero-art-wrap::before,
.hero-art--sonar .hero-art-wrap::after,
.hero-art--halo .hero-art-wrap::before,
.hero-art--halo .hero-art-wrap::after,
.hero-art--rays .hero-art-wrap::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 60%; aspect-ratio: 1;
  margin: -30% 0 0 -30%;
  border-radius: 50%;
  pointer-events: none;
}
.hero-art--ripple .hero-art-wrap::before,
.hero-art--ripple .hero-art-wrap::after {
  border: 1px solid var(--vv-fx-color);
  box-shadow: 0 0 0 calc(var(--vv-amp-ring, 3) * 3px) transparent, 0 0 0 calc(var(--vv-amp-ring, 3) * 3px + 1px) var(--vv-fx-color);
  opacity: 0;
  animation: vvRing calc(var(--vv-speed-ring, 6s) * .45) ease-out infinite;
}
.hero-art--ripple .hero-art-wrap::after { animation-delay: calc(var(--vv-speed-ring, 6s) * .22); }

.hero-art--heartbeat .hero-art-wrap::before,
.hero-art--heartbeat .hero-art-wrap::after {
  border: 2px solid var(--vv-fx-color);
  opacity: 0;
  animation: vvHeart calc(var(--vv-speed-ring, 6s) * .3) ease-out infinite;
}
.hero-art--heartbeat .hero-art-wrap::after { animation-delay: calc(var(--vv-speed-ring, 6s) * .06); }
@keyframes vvHeart {
  0%   { transform: scale(.7); opacity: calc(var(--vv-amp-ring, 3) * .15 * var(--vv-fx-op, 1)); }
  45%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.hero-art--sonar .hero-art-wrap::before {
  background: radial-gradient(circle, transparent 55%, color-mix(in srgb, var(--vv-fx-color) 40%, transparent) 70%, transparent 71%);
  opacity: 0;
  animation: vvRing calc(var(--vv-speed-ring, 6s) * 1.1) ease-out infinite;
}
.hero-art--sonar .hero-art-wrap::after {
  background: conic-gradient(from 0deg, color-mix(in srgb, var(--vv-fx-color) 45%, transparent), transparent 22%);
  transform: scale(1.6);
  opacity: calc(var(--vv-amp-ring, 3) * .08 * var(--vv-fx-op, 1));
  -webkit-mask: radial-gradient(circle, #000 0 69%, transparent 70%); mask: radial-gradient(circle, #000 0 69%, transparent 70%);
  animation: vvSweepRot calc(var(--vv-speed-ring, 6s) * .8) linear infinite;
}
@keyframes vvSweepRot { from { rotate: 0deg; } to { rotate: 360deg; } }

.hero-art--shockwave .hero-art-wrap::before,
.hero-art--shockwave .hero-art-wrap::after {
  content: '';
  position: absolute; left: 10%; right: 10%; bottom: 4%;
  height: 14%;
  border: 2px solid var(--vv-fx-color);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: vvShock calc(var(--vv-speed-ring, 6s) * .7) ease-out infinite;
}
.hero-art--shockwave .hero-art-wrap::after { animation-delay: calc(var(--vv-speed-ring, 6s) * .35); }
@keyframes vvShock {
  0%   { transform: scale(.3, .3); opacity: calc(var(--vv-amp-ring, 3) * .16 * var(--vv-fx-op, 1)); }
  100% { transform: scale(1.7, 1.2); opacity: 0; }
}

.hero-art--halo .hero-art-wrap::before {
  width: 92%; margin: -46% 0 0 -46%;
  border: 2px dashed var(--vv-fx-color);
  opacity: calc(var(--vv-amp-ring, 3) * .14 * var(--vv-fx-op, 1));
  animation: vvSweepRot calc(var(--vv-speed-ring, 6s) * 3) linear infinite;
}
.hero-art--halo .hero-art-wrap::after {
  width: 104%; margin: -52% 0 0 -52%;
  border: 1px dotted var(--vv-fx-color);
  opacity: calc(var(--vv-amp-ring, 3) * .1 * var(--vv-fx-op, 1));
  animation: vvSweepRot calc(var(--vv-speed-ring, 6s) * 4) linear infinite reverse;
}

.hero-art--echo .hero-art-wrap::before,
.hero-art--echo .hero-art-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--vv-fx-color);
  -webkit-mask-image: var(--vv-art); mask-image: var(--vv-art);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  animation: vvEcho calc(var(--vv-speed-ring, 6s) * .8) ease-out infinite;
}
.hero-art--echo .hero-art-wrap::after { animation-delay: calc(var(--vv-speed-ring, 6s) * .4); }
@keyframes vvEcho {
  0%   { transform: scale(1); opacity: calc(var(--vv-amp-ring, 3) * .12 * var(--vv-fx-op, 1)); }
  100% { transform: scale(1.35); opacity: 0; }
}

.hero-art--rays .hero-art-wrap::before {
  width: 140%; margin: -70% 0 0 -70%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--vv-fx-color) 55%, transparent) 0deg 6deg, transparent 6deg 24deg, color-mix(in srgb, var(--vv-fx-color2) 55%, transparent) 24deg 30deg, transparent 30deg 48deg);
  -webkit-mask: radial-gradient(circle, #000 10%, transparent 68%); mask: radial-gradient(circle, #000 10%, transparent 68%);
  opacity: calc(var(--vv-amp-ring, 3) * .09 * var(--vv-fx-op, 1));
  z-index: -1;
  animation: vvSweepRot calc(var(--vv-speed-ring, 6s) * 5) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art .hero-art-wrap::before,
  .hero-art .hero-art-wrap::after { animation: none !important; }
}

/* =========================================================
   v1.12 — VISUEL DU HERO : NOUVEAUX EFFETS
   Arrière : rayons épiques, anneau d'énergie, réacteur, aura, brume, ombre au sol
   Reflet : balayage lumineux rare — Lumière : flash, relief, contraste
   Dessus (HUD) : grille, hexagones, marques de ciblage (calque .hero-art-hud)
   ========================================================= */
.hero-art--godrays .hero-art-wrap::before,
.hero-art--energyring .hero-art-wrap::before,
.hero-art--energyring .hero-art-wrap::after,
.hero-art--reactor .hero-art-wrap::before,
.hero-art--aura .hero-art-wrap::before,
.hero-art--aura .hero-art-wrap::after,
.hero-art--mist .hero-art-wrap::before,
.hero-art--mist .hero-art-wrap::after,
.hero-art--groundshadow .hero-art-wrap::after {
  content: ''; position: absolute; pointer-events: none; z-index: -1;
}

/* Rayons épiques : partent de l'arrière, respirent */
.hero-art--godrays .hero-art-wrap::before {
  left: 50%; top: 50%; width: 170%; aspect-ratio: 1; margin: -85% 0 0 -85%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--vv-fx-color) 70%, transparent) 0deg 4deg, transparent 4deg 15deg, color-mix(in srgb, var(--vv-fx-color2) 70%, transparent) 15deg 19deg, transparent 19deg 30deg);
  -webkit-mask: radial-gradient(circle, #000 6%, transparent 62%); mask: radial-gradient(circle, #000 6%, transparent 62%);
  opacity: calc(var(--vv-amp-ring, 3) * .1 * var(--vv-fx-op, 1));
  animation: vvGodrays calc(var(--vv-speed-ring, 6s) * 1.4) ease-in-out infinite;
}
@keyframes vvGodrays {
  0%, 100% { transform: rotate(0deg) scale(.92); opacity: calc(var(--vv-amp-ring, 3) * .07 * var(--vv-fx-op, 1)); }
  50%      { transform: rotate(8deg) scale(1.06); opacity: calc(var(--vv-amp-ring, 3) * .14 * var(--vv-fx-op, 1)); }
}

/* Anneau d'énergie : anneau en dégradé conique qui tourne + halo qui bat */
.hero-art--energyring .hero-art-wrap::before {
  left: 50%; top: 50%; width: 92%; aspect-ratio: 1; margin: -46% 0 0 -46%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--vv-fx-color), transparent 40%, color-mix(in srgb, var(--vv-fx-color2) 75%, #fff), transparent 75%, var(--vv-fx-color));
  -webkit-mask: radial-gradient(circle, transparent 64%, #000 66%, #000 70%, transparent 72%); mask: radial-gradient(circle, transparent 64%, #000 66%, #000 70%, transparent 72%);
  opacity: calc(var(--vv-amp-ring, 3) * .2 * var(--vv-fx-op, 1));
  filter: drop-shadow(0 0 6px var(--vv-fx-color));
  animation: vvSweepRot calc(var(--vv-speed-ring, 6s) * 1.2) linear infinite;
}
.hero-art--energyring .hero-art-wrap::after {
  left: 50%; top: 50%; width: 80%; aspect-ratio: 1; margin: -40% 0 0 -40%; border-radius: 50%;
  box-shadow: 0 0 calc(var(--vv-amp-ring, 3) * 8px) var(--vv-fx-color), inset 0 0 calc(var(--vv-amp-ring, 3) * 6px) var(--vv-fx-color);
  opacity: calc(.35 * var(--vv-fx-op, 1));
  animation: vvPulseRing calc(var(--vv-speed-ring, 6s) * .5) ease-in-out infinite;
}
@keyframes vvPulseRing { 0%, 100% { transform: scale(.96); opacity: calc(.2 * var(--vv-fx-op, 1)); } 50% { transform: scale(1.02); opacity: calc(.5 * var(--vv-fx-op, 1)); } }

/* Disque réacteur */
.hero-art--reactor .hero-art-wrap::before {
  left: 50%; top: 50%; width: 80%; aspect-ratio: 1; margin: -40% 0 0 -40%; border-radius: 50%;
  background: conic-gradient(var(--vv-fx-color), var(--vv-fx-color2b, #b58cff), var(--vv-fx-color), #6fe8c4, var(--vv-fx-color));
  filter: blur(calc(var(--vv-amp-ring, 3) * 4px));
  opacity: calc(var(--vv-amp-ring, 3) * .1 * var(--vv-fx-op, 1));
  animation: vvSweepRot calc(var(--vv-speed-ring, 6s) * 2) linear infinite;
}

/* Aura dégradée : deux nappes douces qui respirent */
.hero-art--aura .hero-art-wrap::before,
.hero-art--aura .hero-art-wrap::after {
  inset: 5%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--vv-fx-color) 80%, transparent), transparent 70%);
  filter: blur(calc(var(--vv-amp-ring, 3) * 6px));
  opacity: calc(var(--vv-amp-ring, 3) * .14 * var(--vv-fx-op, 1));
  animation: vvAura calc(var(--vv-speed-ring, 6s) * 1.5) ease-in-out infinite;
}
.hero-art--aura .hero-art-wrap::after {
  background: radial-gradient(circle, rgba(181,140,255,.7), transparent 70%);
  animation-delay: calc(var(--vv-speed-ring, 6s) * -.75);
}
@keyframes vvAura {
  0%, 100% { transform: translate(-4%, 2%) scale(.95); }
  50%      { transform: translate(4%, -3%) scale(1.08); }
}

/* Brume : nappes floues qui dérivent */
.hero-art--mist .hero-art-wrap::before,
.hero-art--mist .hero-art-wrap::after {
  left: -20%; right: -20%; top: 30%; height: 50%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(230,240,255,.55), transparent 70%);
  filter: blur(calc(var(--vv-amp-ring, 3) * 7px));
  opacity: calc(var(--vv-amp-ring, 3) * .12 * var(--vv-fx-op, 1));
  animation: vvMist calc(var(--vv-speed-ring, 6s) * 3) ease-in-out infinite;
}
.hero-art--mist .hero-art-wrap::after { top: 55%; animation-duration: calc(var(--vv-speed-ring, 6s) * 4); animation-direction: reverse; }
@keyframes vvMist { 0%, 100% { transform: translateX(-8%); } 50% { transform: translateX(8%); } }

/* Ombre au sol : l'image semble léviter */
.hero-art--groundshadow .hero-art-wrap::after {
  left: 18%; right: 18%; bottom: -6%; height: 9%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,0,0,.75), transparent 70%);
  filter: blur(6px);
  animation: vvGround calc(var(--vv-speed-ring, 6s) * 1) ease-in-out infinite;
}
@keyframes vvGround { 0%, 100% { transform: scaleX(1); opacity: .8; } 50% { transform: scaleX(.82); opacity: .5; } }

/* Balayage lumineux rare */
.hero-art--lightsweep .hero-art-fx {
  opacity: var(--vv-fx-op, 1);
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.9) 50%, transparent 60%);
  background-size: 300% 100%;
  mix-blend-mode: plus-lighter;
  animation: vvRareSweep calc(var(--vv-speed-sweep, 6s) * 2) ease-in-out infinite;
}
@keyframes vvRareSweep {
  0%   { background-position: 160% 0; }
  14%  { background-position: -60% 0; }
  100% { background-position: -60% 0; }
}

/* Lumière */
.hero-art--flash .hero-art-inner { animation: vvFlash calc(var(--vv-speed-filter, 6s) * 1.5) linear infinite; }
@keyframes vvFlash {
  0%, 88%, 100% { filter: brightness(1) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 2px) var(--vv-fx-color)); }
  90% { filter: brightness(1.8) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 10px) #fff); }
  93% { filter: brightness(1.15) drop-shadow(0 0 calc(var(--vv-amp-filter, 3) * 5px) var(--vv-fx-color)); }
}
.hero-art--relief .hero-art-inner {
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.6)) drop-shadow(0 calc(var(--vv-amp-filter, 3) * 3px) calc(var(--vv-amp-filter, 3) * 4px) rgba(0,0,0,.55)) drop-shadow(0 calc(var(--vv-amp-filter, 3) * 8px) calc(var(--vv-amp-filter, 3) * 10px) rgba(0,0,0,.35));
}
.hero-art--dramatic .hero-art-inner { animation: vvDramatic calc(var(--vv-speed-filter, 6s) * 2) ease-in-out infinite; }
@keyframes vvDramatic {
  0%, 100% { filter: contrast(1.15) saturate(1.2) brightness(1.02); }
  50%      { filter: contrast(1.3) saturate(1.4) brightness(1.06); }
}

/* Dessus : HUD */
.hero-art-hud { position: absolute; inset: -6%; pointer-events: none; display: none; opacity: var(--vv-fx-op, 1); }
.hero-art--hudgrid .hero-art-hud,
.hero-art--hudhex .hero-art-hud,
.hero-art--hudtarget .hero-art-hud { display: block; }

.hero-art--hudgrid .hero-art-hud {
  background:
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--vv-fx-color) 45%, transparent) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--vv-fx-color) 45%, transparent) 0 1px, transparent 1px 22px);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 70%); mask: radial-gradient(circle, #000 25%, transparent 70%);
  opacity: calc(var(--vv-amp-hud, 3) * .14 * var(--vv-fx-op, 1));
  animation: vvHudDraw calc(var(--vv-speed-hud, 6s) * 1.4) ease-in-out infinite;
}
.hero-art--hudhex .hero-art-hud {
  background: var(--vv-fx-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 1 27 8.5v15L14 31 1 23.5v-15zM14 31v17M0 0' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 28px 48px, radial-gradient(circle, #000 20%, transparent 68%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cpath d='M14 1 27 8.5v15L14 31 1 23.5v-15zM14 31v17M0 0' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 28px 48px, radial-gradient(circle, #000 20%, transparent 68%);
  opacity: calc(var(--vv-amp-hud, 3) * .16 * var(--vv-fx-op, 1));
  animation: vvHudDraw calc(var(--vv-speed-hud, 6s) * 1.6) ease-in-out infinite;
}
@keyframes vvHudDraw {
  0%   { clip-path: inset(0 0 100% 0); }
  35%  { clip-path: inset(0 0 0 0); }
  80%  { clip-path: inset(0 0 0 0); opacity: calc(var(--vv-amp-hud, 3) * .14 * var(--vv-fx-op, 1)); }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}
.hero-art--hudtarget .hero-art-hud {
  inset: -4%;
  --c: var(--vv-fx-color); --l: 14%; --w: 2px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) center / 6% 1px no-repeat,
    linear-gradient(var(--c), var(--c)) center / 1px 6% no-repeat;
  filter: drop-shadow(0 0 4px var(--vv-fx-color));
  animation: vvHudTarget calc(var(--vv-speed-hud, 6s) * .8) ease-in-out infinite;
}
@keyframes vvHudTarget {
  0%, 100% { transform: scale(1.06); opacity: calc(.5 * var(--vv-fx-op, 1)); }
  50%      { transform: scale(.98); opacity: var(--vv-fx-op, 1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art-hud { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   v1.14 — réglages par couche, deuxième couleur, souris, pause
   ══════════════════════════════════════════════════════════════ */
/* Chaque couche reprend l'intensité / la vitesse communes, sauf réglage propre (style en ligne) */
.hero-art {
  --vv-fx-color2: var(--vv-fx-color);
  --vv-amp-move: var(--vv-amp, 3);       --vv-speed-move: var(--vv-speed, 6s);
  --vv-amp-filter: var(--vv-amp, 3);     --vv-speed-filter: var(--vv-speed, 6s);
  --vv-amp-sweep: var(--vv-amp, 3);      --vv-speed-sweep: var(--vv-speed, 6s);
  --vv-amp-ring: var(--vv-amp, 3);       --vv-speed-ring: var(--vv-speed, 6s);
  --vv-amp-hud: var(--vv-amp, 3);        --vv-speed-hud: var(--vv-speed, 6s);
  --vv-amp-particle: var(--vv-amp, 3);   --vv-speed-particle: var(--vv-speed, 6s);
  --vv-amp-pointer: var(--vv-amp, 3);    --vv-speed-pointer: var(--vv-speed, 6s);
}
/* Deuxième couleur : le second anneau / la seconde nappe la prennent */
.hero-art.has-color2 { --vv-fx-color2b: var(--vv-fx-color2); }
.hero-art--rings .hero-art-wrap::after,
.hero-art--ripple .hero-art-wrap::after,
.hero-art--heartbeat .hero-art-wrap::after,
.hero-art--shockwave .hero-art-wrap::after,
.hero-art--halo .hero-art-wrap::after { border-color: var(--vv-fx-color2); }
.hero-art--ripple .hero-art-wrap::after { box-shadow: 0 0 0 calc(var(--vv-amp-ring, 3) * 3px) transparent, 0 0 0 calc(var(--vv-amp-ring, 3) * 3px + 1px) var(--vv-fx-color2); }
.hero-art--echo .hero-art-wrap::after { background: var(--vv-fx-color2); }
.hero-art--aura .hero-art-wrap::after { background: radial-gradient(circle, color-mix(in srgb, var(--vv-fx-color2) 80%, transparent), transparent 70%); }
.hero-art--sonar .hero-art-wrap::after { background: conic-gradient(from 0deg, color-mix(in srgb, var(--vv-fx-color2) 45%, transparent), transparent 22%); }
.hero-art--energyring .hero-art-wrap::after { box-shadow: 0 0 calc(var(--vv-amp-ring, 3) * 8px) var(--vv-fx-color), inset 0 0 calc(var(--vv-amp-ring, 3) * 6px) var(--vv-fx-color2); }
.hero-art--hudgrid .hero-art-hud, .hero-art--hudhex .hero-art-hud { filter: drop-shadow(0 0 2px var(--vv-fx-color2)); }

/* Projecteur : une lumière suit la souris sur l'image */
.hero-art-spot {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  -webkit-mask-image: var(--vv-art); mask-image: var(--vv-art);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: radial-gradient(circle at var(--vv-mx, 50%) var(--vv-my, 40%),
    color-mix(in srgb, #fff 70%, var(--vv-fx-color)) 0,
    color-mix(in srgb, var(--vv-fx-color2) 55%, transparent) calc(var(--vv-amp-pointer, 3) * 4%),
    transparent calc(var(--vv-amp-pointer, 3) * 9%));
  mix-blend-mode: plus-lighter;
  transition: opacity .4s ease;
}
.hero-art--spotlight .hero-art-spot { opacity: calc(.25 * var(--vv-fx-op, 1)); }
.hero-art--spotlight.is-near .hero-art-spot { opacity: calc(.85 * var(--vv-fx-op, 1)); }
/* Aimant : l'image glisse vers la souris (réglé par le script) */
.hero-art--magnet { transition: transform .35s cubic-bezier(.2,.8,.3,1); }

/* Onde au clic */
.hero-art-clickring {
  position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  border: 2px solid var(--vv-fx-color); box-shadow: 0 0 12px var(--vv-fx-color2);
  pointer-events: none; animation: vvClickRing .7s ease-out forwards;
}
@keyframes vvClickRing { from { transform: scale(.3); opacity: 1; } to { transform: scale(calc(var(--vv-amp-pointer, 3) * 3)); opacity: 0; } }

/* Pause : page inactive, onglet caché, hero hors écran */
.hero-art.is-paused, .hero-art.is-paused *, .hero-art.is-paused *::before, .hero-art.is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .hero-art-spot, .hero-art-clickring { display: none; } }
