/* Extrait de templates/includes/_splash_app.html (servi par core/ressources.py, gardé en cache par le navigateur). */
    #innovx-app-splash {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: radial-gradient(circle at center, var(--ixc-surface-2,#1e222b) 0%, var(--ixc-fond,#0b0c0e) 100%);
      z-index: 9999999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transition: opacity 0.5s ease, visibility 0.5s ease;
      font-family: 'Poppins', sans-serif;
    }

    #innovx-app-splash.innovx-splash-dismissed {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }

    /* Mobile : le splash couvre tout l'écran (navbar + zone encoche comprises) */
    @media (max-width: 1023px) {
      #innovx-app-splash {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        margin: 0 !important;
        z-index: 2147483647 !important;
      }
      body:has(#innovx-app-splash:not(.innovx-splash-dismissed)) header,
      body:has(#innovx-app-splash:not(.innovx-splash-dismissed)) nav {
        visibility: hidden !important;
      }
    }

    .innovx-splash-stage {
      position: relative;
      width: 300px;
      height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .innovx-splash-center-circle {
      position: relative;
      width: 145px;
      height: 145px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 35%, var(--ixc-surface-2,#2a2e38) 0%, var(--ixc-surface,#121419) 100%);
      border: 3.5px solid #FFD73A;
      box-shadow: 0 0 35px rgba(255, 215, 58, 0.45), inset 0 0 15px rgba(255, 215, 58, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 5;
      animation: innovxCenterPulse 3s ease-in-out infinite;
      padding: 12px;
    }

    .innovx-splash-center-logo {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 50%;
      filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    }

    .innovx-splash-orbit-ring {
      position: absolute;
      width: 260px;
      height: 260px;
      border-radius: 50%;
      border: 1.5px dashed rgba(255, 215, 58, 0.4);
      top: 50%;
      left: 50%;
      margin-top: -130px;
      margin-left: -130px;
      z-index: 4;
      animation: innovxOrbitSpin 18s linear infinite;
    }

    .innovx-splash-orbit-node {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 44px;
      height: 44px;
      margin-top: -22px;
      margin-left: -22px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .innovx-splash-orbit-node:nth-child(1) { transform: rotate(0deg) translate(130px); }
    .innovx-splash-orbit-node:nth-child(2) { transform: rotate(45deg) translate(130px); }
    .innovx-splash-orbit-node:nth-child(3) { transform: rotate(90deg) translate(130px); }
    .innovx-splash-orbit-node:nth-child(4) { transform: rotate(135deg) translate(130px); }
    .innovx-splash-orbit-node:nth-child(5) { transform: rotate(180deg) translate(130px); }
    .innovx-splash-orbit-node:nth-child(6) { transform: rotate(225deg) translate(130px); }
    .innovx-splash-orbit-node:nth-child(7) { transform: rotate(270deg) translate(130px); }
    .innovx-splash-orbit-node:nth-child(8) { transform: rotate(315deg) translate(130px); }

    .innovx-splash-icon-badge {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--ixc-surface,#16181d);
      border: 2px solid #FFD73A;
      box-shadow: 0 0 14px rgba(255, 215, 58, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--ixc-accent-texte,#FFD73A);
      font-size: 18px;
    }

    .innovx-splash-info {
      margin-top: 28px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 20px;
    }

    .innovx-splash-title {
      color: var(--ixc-texte,#ffffff);
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: 0.5px;
      margin-bottom: 3px;
    }

    .innovx-splash-subtitle {
      color: var(--ixc-accent-texte,#FFD73A);
      font-size: 0.85rem;
      font-weight: 500;
      opacity: 0.9;
      margin-bottom: 22px;
    }

    .innovx-splash-track {
      width: 220px;
      height: 5px;
      background: rgba(var(--ixc-encre-rgb,255,255,255),0.12);
      border-radius: 999px;
      overflow: hidden;
      position: relative;
      box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
    }

    .innovx-splash-fill {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 45%;
      background: linear-gradient(90deg, #FFD73A, #FFD73A, #FFD73A);
      border-radius: 999px;
      box-shadow: 0 0 10px rgba(255, 215, 58, 0.8);
      animation: innovxFillMove 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }

    .innovx-splash-status {
      margin-top: 12px;
      color: rgba(var(--ixc-encre-rgb,255,255,255),0.65);
      font-size: 0.78rem;
      font-weight: 400;
      letter-spacing: 0.3px;
      animation: innovxPulseText 1.8s ease-in-out infinite;
    }

    @keyframes innovxOrbitSpin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    .innovx-splash-orbit-node:nth-child(1) .innovx-splash-icon-badge { animation: innovxCounter0 18s linear infinite; }
    .innovx-splash-orbit-node:nth-child(2) .innovx-splash-icon-badge { animation: innovxCounter45 18s linear infinite; }
    .innovx-splash-orbit-node:nth-child(3) .innovx-splash-icon-badge { animation: innovxCounter90 18s linear infinite; }
    .innovx-splash-orbit-node:nth-child(4) .innovx-splash-icon-badge { animation: innovxCounter135 18s linear infinite; }
    .innovx-splash-orbit-node:nth-child(5) .innovx-splash-icon-badge { animation: innovxCounter180 18s linear infinite; }
    .innovx-splash-orbit-node:nth-child(6) .innovx-splash-icon-badge { animation: innovxCounter225 18s linear infinite; }
    .innovx-splash-orbit-node:nth-child(7) .innovx-splash-icon-badge { animation: innovxCounter270 18s linear infinite; }
    .innovx-splash-orbit-node:nth-child(8) .innovx-splash-icon-badge { animation: innovxCounter315 18s linear infinite; }

    @keyframes innovxCounter0   { 0% { transform: rotate(0deg); }   100% { transform: rotate(-360deg); } }
    @keyframes innovxCounter45  { 0% { transform: rotate(-45deg); }  100% { transform: rotate(-405deg); } }
    @keyframes innovxCounter90  { 0% { transform: rotate(-90deg); }  100% { transform: rotate(-450deg); } }
    @keyframes innovxCounter135 { 0% { transform: rotate(-135deg); } 100% { transform: rotate(-495deg); } }
    @keyframes innovxCounter180 { 0% { transform: rotate(-180deg); } 100% { transform: rotate(-540deg); } }
    @keyframes innovxCounter225 { 0% { transform: rotate(-225deg); } 100% { transform: rotate(-585deg); } }
    @keyframes innovxCounter270 { 0% { transform: rotate(-270deg); } 100% { transform: rotate(-630deg); } }
    @keyframes innovxCounter315 { 0% { transform: rotate(-315deg); } 100% { transform: rotate(-675deg); } }

    @keyframes innovxCenterPulse {
      0%, 100% { transform: scale(1); box-shadow: 0 0 35px rgba(255, 215, 58, 0.45); }
      50% { transform: scale(1.03); box-shadow: 0 0 50px rgba(255, 215, 58, 0.65); }
    }

    @keyframes innovxFillMove {
      0% { left: -40%; width: 35%; }
      50% { left: 35%; width: 50%; }
      100% { left: 105%; width: 35%; }
    }

    @keyframes innovxPulseText {
      0%, 100% { opacity: 0.5; }
      50% { opacity: 0.95; }
    }

    /* Adaptabilité parfaite sur écrans mobiles (smartphones) */
    @media (max-width: 640px) {
      .innovx-splash-stage {
        width: 250px;
        height: 250px;
      }
      .innovx-splash-center-circle {
        width: 120px;
        height: 120px;
        border-width: 3px;
        padding: 8px;
      }
      .innovx-splash-orbit-ring {
        width: 215px;
        height: 215px;
        margin-top: -107.5px;
        margin-left: -107.5px;
      }
      .innovx-splash-orbit-node {
        width: 38px;
        height: 38px;
        margin-top: -19px;
        margin-left: -19px;
      }
      .innovx-splash-orbit-node:nth-child(1) { transform: rotate(0deg) translate(107.5px); }
      .innovx-splash-orbit-node:nth-child(2) { transform: rotate(45deg) translate(107.5px); }
      .innovx-splash-orbit-node:nth-child(3) { transform: rotate(90deg) translate(107.5px); }
      .innovx-splash-orbit-node:nth-child(4) { transform: rotate(135deg) translate(107.5px); }
      .innovx-splash-orbit-node:nth-child(5) { transform: rotate(180deg) translate(107.5px); }
      .innovx-splash-orbit-node:nth-child(6) { transform: rotate(225deg) translate(107.5px); }
      .innovx-splash-orbit-node:nth-child(7) { transform: rotate(270deg) translate(107.5px); }
      .innovx-splash-orbit-node:nth-child(8) { transform: rotate(315deg) translate(107.5px); }
      
      .innovx-splash-icon-badge {
        width: 38px;
        height: 38px;
        font-size: 15px;
      }
      .innovx-splash-info {
        margin-top: 18px;
      }
      .innovx-splash-title {
        font-size: 1.05rem;
      }
      .innovx-splash-subtitle {
        font-size: 0.8rem;
        margin-bottom: 16px;
      }
      .innovx-splash-track {
        width: 180px;
        height: 4px;
      }
    }
  
