/* VVhite (thème enfant) 1.29.0 — Texte déroulant (.vv-tw) : styles et effets.
   Sorti de vvhite.css : chargé sur l'accueil, et par VVhite Tool Kit sur la page de connexion. */
/* =========================================================
   v1.26 — TEXTE DÉROULANT DU HERO (.vv-tw)
   Variables posées par vv_tw_attrs() : --vv-tw-font, -size, -weight, -style, -case, -spacing,
   -c, -c2, -blend, -ts, -stroke, -stroke-c, -plate, -blur, -radius, -pad, -speed
   ========================================================= */
.vv-tw { position: relative; display: inline-flex; max-width: 100%; vertical-align: middle; }
.vv-tw { isolation: isolate; }
.vv-tw.has-plate { padding: calc(var(--vv-tw-pad, 0px) * .6) var(--vv-tw-pad, 0px); border-radius: var(--vv-tw-radius, 8px); }
/* Plaque sur un calque à part : le flou d'arrière-plan ne touche jamais les lettres animées */
.vv-tw-plate {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--vv-tw-plate, transparent);
  border-radius: var(--vv-tw-radius, 8px);
  backdrop-filter: blur(var(--vv-tw-blur, 0px));
  -webkit-backdrop-filter: blur(var(--vv-tw-blur, 0px));
}
.vv-tw .typewriter-text {
  position: relative; z-index: 1;
  display: inline-block;
  font-family: var(--vv-tw-font, var(--font-ui));
  font-size: calc(17px * var(--vv-tw-size, 1));
  font-weight: var(--vv-tw-weight, 600);
  font-style: var(--vv-tw-style, normal);
  text-transform: var(--vv-tw-case, none);
  letter-spacing: var(--vv-tw-spacing, .2px);
  color: var(--vv-tw-c, var(--accent2));
  mix-blend-mode: var(--vv-tw-blend, screen);
  text-shadow: var(--vv-tw-ts, none);
  -webkit-text-stroke: var(--vv-tw-stroke, 0px) var(--vv-tw-stroke-c, #08090d);
  paint-order: stroke fill;
  white-space: pre-wrap;
  min-height: 1.3em;
}
.vv-tw .typewriter-cursor { position: relative; z-index: 1; background: var(--vv-tw-c2, var(--accent)); height: calc(18px * var(--vv-tw-size, 1)); mix-blend-mode: var(--vv-tw-blend, screen); }
.vv-tw.no-cursor .typewriter-cursor { display: none; }
.vv-tw .vv-tw-u { display: inline-block; white-space: pre; }
.vv-tw .vv-tw-canvas { position: absolute; left: -48px; top: -48px; width: calc(100% + 96px); height: calc(100% + 96px); pointer-events: none; z-index: 0; }

/* Effets de texte (désactivés pendant une transition lettre par lettre : .is-split) */
.vv-tw--glow .typewriter-text { text-shadow: 0 0 6px var(--vv-tw-c2), 0 0 18px var(--vv-tw-c2), var(--vv-tw-ts, 0 0 0 transparent); }
.vv-tw--pulse .typewriter-text { animation: vvTwPulse var(--vv-tw-speed, 2.8s) ease-in-out infinite; }
.vv-tw--breathe .typewriter-text { animation: vvTwBreathe calc(var(--vv-tw-speed, 2.8s) * 1.3) ease-in-out infinite; }
.vv-tw--aurora .typewriter-text { animation: vvTwAurora calc(var(--vv-tw-speed, 2.8s) * 2) linear infinite; }
.vv-tw--float .typewriter-text { animation: vvTwFloat calc(var(--vv-tw-speed, 2.8s) * 1.4) ease-in-out infinite; }
.vv-tw--neon .typewriter-text { color: #fff; text-shadow: 0 0 3px #fff, 0 0 8px var(--vv-tw-c), 0 0 18px var(--vv-tw-c), 0 0 32px var(--vv-tw-c2); }
.vv-tw--flicker .typewriter-text { text-shadow: 0 0 6px var(--vv-tw-c), 0 0 14px var(--vv-tw-c2); animation: vvTwFlicker calc(var(--vv-tw-speed, 2.8s) * 1.6) linear infinite; }
.vv-tw--glitch .typewriter-text { animation: vvTwGlitch calc(var(--vv-tw-speed, 2.8s) * .9) steps(1) infinite; }
.vv-tw--relief .typewriter-text { text-shadow: 1px 1px 0 var(--vv-tw-c2), 2px 2px 0 color-mix(in srgb, var(--vv-tw-c2) 75%, #000), 3px 3px 0 color-mix(in srgb, var(--vv-tw-c2) 50%, #000), 4px 5px 8px rgba(0,0,0,.6); }
.vv-tw--hollow .typewriter-text { color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: max(1px, var(--vv-tw-stroke, 1px)) var(--vv-tw-c); }
.vv-tw--gradient .typewriter-text, .vv-tw--rainbow .typewriter-text, .vv-tw--shine .typewriter-text,
.vv-tw--chrome .typewriter-text, .vv-tw--hologram .typewriter-text {
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.vv-tw--gradient .typewriter-text { background-image: linear-gradient(90deg, var(--vv-tw-c), var(--vv-tw-c2)); }
.vv-tw--rainbow .typewriter-text { background-image: linear-gradient(90deg, #ff5f6d, #ffc371, #7ef29d, #3a9fd5, #b58cff, #ff5f6d); background-size: 200% 100%; animation: vvTwSlide calc(var(--vv-tw-speed, 2.8s) * 1.5) linear infinite; }
.vv-tw--shine .typewriter-text { background-image: linear-gradient(110deg, var(--vv-tw-c) 35%, #fff 50%, var(--vv-tw-c) 65%); background-size: 250% 100%; animation: vvTwSlide var(--vv-tw-speed, 2.8s) linear infinite; }
.vv-tw--chrome .typewriter-text { background-image: linear-gradient(180deg, #fff 0%, #cfd6e4 38%, #6b7486 52%, #e8edf5 62%, #9aa3b5 100%); }
.vv-tw--hologram .typewriter-text { background-image: linear-gradient(100deg, var(--vv-tw-c) 0%, #ff7ad9 25%, #7efcff 50%, var(--vv-tw-c2) 75%, var(--vv-tw-c) 100%); background-size: 300% 100%; animation: vvTwSlide calc(var(--vv-tw-speed, 2.8s) * 2) linear infinite; opacity: .92; }
.vv-tw .typewriter-text.is-split { animation: none !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
.vv-tw--hollow .typewriter-text.is-split { -webkit-text-fill-color: transparent !important; }
@keyframes vvTwPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes vvTwBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes vvTwAurora { 0% { color: var(--vv-tw-c); } 33% { color: var(--vv-tw-c2); } 66% { color: #b58cff; } 100% { color: var(--vv-tw-c); } }
@keyframes vvTwFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes vvTwSlide { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes vvTwFlicker { 0%,19%,22%,62%,64%,70%,100% { opacity: 1; } 20%,21%,63%,69% { opacity: .35; } }
@keyframes vvTwGlitch { 0%,86%,100% { transform: none; text-shadow: var(--vv-tw-ts, none); } 88% { transform: translate(-2px,1px); text-shadow: 2px 0 #ff2a6d, -2px 0 #05d9e8; } 91% { transform: translate(2px,-1px); text-shadow: -2px 0 #ff2a6d, 2px 0 #05d9e8; } 94% { transform: translate(-1px,0); } }
@media (prefers-reduced-motion: reduce) {
  .vv-tw .typewriter-text { animation: none !important; }
  .vv-tw .vv-tw-canvas { display: none; }
}
