/* Page de connexion : mise en page à deux colonnes + illustration animée (_login_art.svg).
   CSP stricte : aucun style en ligne. État par défaut = image finale immobile ; les animations ne sont
   déclarées que si l'utilisateur n'a pas demandé moins de mouvement. Durée totale < 5 s, jouée une fois
   (WCAG 2.2.2 : rien ne bouge plus de 5 s sans moyen de l'arrêter). */

.auth-art { display: none; margin: 0; }
.auth-foot { text-align: center; }
.auth-foot--spaced { margin-top: 20px; }

@media (min-width: 960px) {
  .auth-split {
    display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 500px); gap: 64px;
    align-items: center; justify-content: center; max-width: 1040px; margin: 48px auto; padding: 0 24px;
  }
  .auth-split > .auth { margin: 0; width: 100%; }
  .auth-art { display: block; }
}

.la {
  /* jetons : vert = vert du logo V3 (définir --logo-green dans style.css), violet = marque */
  --la-violet: var(--brand, #6d28d9); --la-violet-2: var(--brand-2, #8b5cf6);
  --la-green: var(--logo-green, #16a34a); --la-green-text: var(--green, #047857);
  --la-ink: var(--ink, #16141f); --la-muted: var(--muted, #625e70);
  --la-line: var(--line, #e7e5ef); --la-soft: var(--soft, #f3f2f8);
  display: block; width: 100%; height: auto; overflow: visible; font-family: inherit;
  direction: ltr; unicode-bidi: isolate;   /* axe du temps gauche → droite, même dans une page RTL */
}
.auth-art-caption { margin: 18px 0 0; text-align: center; color: var(--muted, #625e70); font-size: 14px; }

.la-orb { opacity: .16; }
.la-orb-green { opacity: .22; }
.la-orb-violet { fill: var(--la-violet); }
.la-orb-green { fill: var(--la-green); }
.la-panel { fill: #fff; stroke: var(--la-line); }
.la-skel { fill: var(--la-soft); }
.la-skel-2 { opacity: .7; }
.la-tag rect { fill: var(--la-soft); }
.la-tag text { fill: var(--la-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.la-grid line { stroke: var(--la-line); stroke-dasharray: 3 5; }
.la-grid .la-axis { stroke-dasharray: none; }
.la-stop-top { stop-color: var(--la-violet-2); stop-opacity: .22; }
.la-stop-bottom { stop-color: var(--la-violet-2); stop-opacity: 0; }
.la-line { fill: none; stroke: var(--la-violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.la-guide { stroke: var(--la-green); stroke-width: 1.5; stroke-dasharray: 2 4; opacity: .6; }
.la-dot { fill: var(--la-green); stroke: #fff; stroke-width: 3; }
.la-ring { fill: none; stroke: var(--la-green); stroke-width: 2; opacity: 0; }
.la-dot, .la-ring { transform-box: fill-box; transform-origin: center; }
.la-bubble { fill: #fff; stroke: var(--la-line); }
.la-tail { stroke: none; }
.la-bubble-dot { fill: var(--la-green); }
.la-title { fill: var(--la-ink); font-size: 13px; font-weight: 650; }
.la-time circle, .la-time path { fill: none; stroke: var(--la-muted); stroke-width: 1.4; stroke-linecap: round; }
.la-time text { fill: var(--la-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.la-delta { fill: var(--la-green-text); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  .la-card    { animation: la-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .la-orbs    { animation: la-fade 1.2s ease-out both; }
  .la-line    { stroke-dasharray: 1; animation: la-draw 2s .35s cubic-bezier(.45, 0, .25, 1) both; }
  .la-area    { animation: la-fade 1.1s 1.3s ease-out both; }
  .la-guide   { animation: la-fade .5s 2.4s ease-out both; }
  .la-dot     { animation: la-pop .5s 2.2s cubic-bezier(.3, 1.6, .5, 1) both; }
  .la-ring    { animation: la-ring 1s 2.45s ease-out 1 forwards; } /* pas « both » : invisible pendant le délai */
  .la-ring-2  { animation-delay: 2.85s; }
  .la-callout { animation: la-rise .55s 2.6s cubic-bezier(.2, .7, .2, 1) both; }
  .la-time    { animation: la-fade .45s 3.05s ease-out both; }
  .la-delta   { animation: la-fade .45s 3.05s ease-out both; }
}

@keyframes la-fade { from { opacity: 0; } }
@keyframes la-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes la-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes la-pop  { from { transform: scale(0); } }
@keyframes la-ring { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }

@media print { .auth-art { display: none; } }
