/* Extrait de ../index.html par generer.py : ne pas modifier à la main */

    * { box-sizing: border-box; }
    body {
      font-family: 'Inter', sans-serif;
      -webkit-font-smoothing: antialiased;
      background: #000;
      margin: 0;
    }
    html, body {
      overflow-x: hidden;
      overscroll-behavior-x: none;
    }
    html { scroll-behavior: smooth; }

    /* Screen Reader Only (Accessibility) */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border-width: 0;
    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.85; }
    }

    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px) scale(0.95);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .animate-on-scroll.visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    /* Animation stagger (cascade) */
    .animate-on-scroll.visible:nth-child(1) { animation-delay: 0s; }
    .animate-on-scroll.visible:nth-child(2) { animation-delay: 0.1s; }
    .animate-on-scroll.visible:nth-child(3) { animation-delay: 0.2s; }
    .animate-on-scroll.visible:nth-child(4) { animation-delay: 0.3s; }
    .animate-on-scroll.visible:nth-child(5) { animation-delay: 0.4s; }
    .animate-on-scroll.visible:nth-child(6) { animation-delay: 0.5s; }

    /* Gradient text */
    .gradient-text {
      background: linear-gradient(135deg, #fff 0%, #999 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* FAQ toggle */
    .faq-item input[type="checkbox"]:checked + .faq-question + .faq-answer {
      max-height: 500px;
      opacity: 1;
    }

    .faq-answer {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    /* Carousel horizontal pour les cartes d'intégration */
    .integration-carousel {
      display: flex;
      gap: 1rem;
      animation: scroll-left 30s linear infinite;
      width: fit-content;
    }

    /* Animation de défilement horizontal */
    @keyframes scroll-left {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    /* Cartes d'intégration */
    .integration-card {
      flex-shrink: 0;
      width: 100px;
      transition: transform 0.3s ease;
    }

    @media (min-width: 640px) {
      .integration-card {
        width: 120px;
      }
    }

    @media (min-width: 1024px) {
      .integration-card {
        width: 140px;
      }
    }

    /* Hover effect sur les cartes */
    .integration-card:hover {
      transform: translateY(-8px) scale(1.05);
      z-index: 10;
    }

    /* Pause l'animation au hover du conteneur */
    .integration-carousel:hover {
      animation-play-state: paused;
    }

    /* Testimonial cards glassmorphism effect */
    .testimonial-card {
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      background: rgba(255, 255, 255, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }

    .testimonial-card.active {
      opacity: 1;
      pointer-events: auto;
      z-index: 10;
    }

    .testimonial-dot.active {
      background: #3b82f6;
      transform: scale(1.2);
    }

    /* ========================================
       PROCESS SECTION ENHANCEMENTS
       ======================================== */

    .process-item-wrapper {
      position: relative;
    }

    /* Connecting line between items */
    .process-item-wrapper:not(:last-child)::before {
      content: '';
      position: absolute;
      left: 28px;
      top: 56px;
      height: calc(100% + 0px);
      width: 2px;
      background: linear-gradient(180deg,
        rgba(82, 82, 82, 0.4) 0%,
        rgba(115, 115, 115, 0.3) 100%);
      z-index: 0;
    }

    /* Icon container glow effect */
    .process-icon-container {
      box-shadow: 0 0 20px rgba(82, 82, 82, 0.15);
      border: 1px solid rgba(115, 115, 115, 0.2);
      transition: all 0.3s ease;
    }

    .process-item:hover .process-icon-container {
      box-shadow: 0 0 30px rgba(115, 115, 115, 0.3);
      transform: scale(1.05);
    }

    /* Staggered animation for process items */
    .animate-item {
      opacity: 0;
      transform: translateX(-30px);
      transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                  transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .animate-item.visible {
      opacity: 1;
      transform: translateX(0);
    }

    .animate-item[data-index="0"].visible { transition-delay: 0.1s; }
    .animate-item[data-index="1"].visible { transition-delay: 0.2s; }
    .animate-item[data-index="2"].visible { transition-delay: 0.3s; }
    .animate-item[data-index="3"].visible { transition-delay: 0.4s; }

    /* ========================================
       POURQUOI GALLICUS SHADER-LIKE CARDS
       ======================================== */

    /* Shader-like background - Carte 1 (Noir/Gris) */
    .shader-bg-1 {
      background: linear-gradient(135deg,
        #000000,
        #3D3D3D,
        #525252,
        #f5f3f1
      );
      background-size: 400% 400%;
      animation: shaderMove 15s ease infinite;
    }

    /* Shader-like background - Carte 2 (Gris/Beige) */
    .shader-bg-2 {
      background: linear-gradient(135deg,
        #525252,
        #1C1C1C,
        #f5f3f1,
        #3D3D3D
      );
      background-size: 400% 400%;
      animation: shaderMove 18s ease infinite;
    }

    /* Shader-like background - Carte 3 (Beige/Noir) */
    .shader-bg-3 {
      background: linear-gradient(135deg,
        #f5f3f1,
        #767676,
        #464646,
        #000000
      );
      background-size: 400% 400%;
      animation: shaderMove 20s ease infinite;
    }

    /* Animation fluide qui simule le mouvement shader */
    @keyframes shaderMove {
      0%, 100% {
        background-position: 0% 50%;
      }
      25% {
        background-position: 50% 100%;
      }
      50% {
        background-position: 100% 50%;
      }
      75% {
        background-position: 50% 0%;
      }
    }

    /* Styles pour l'overlay de contenu */
    .shader-card-content {
      position: relative;
      z-index: 10;
      padding: 2rem;
      border-radius: 1.5rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      background: rgba(0, 0, 0, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .shader-card-content:hover {
      background: rgba(0, 0, 0, 0.85);
      border-color: rgba(255, 255, 255, 0.3);
      transform: translateY(-4px);
    }

    /* Support reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .shader-bg-1,
      .shader-bg-2,
      .shader-bg-3 {
        animation: none;
      }
    }

    /* ========================================
       GALLICUS TABS - INTERACTIVE LAYOUT
       ======================================== */

    /* Container onglet */
    .gallicus-tab {
      position: relative;
      cursor: pointer;
      padding: 1.25rem 1.5rem;
      border-radius: 1.5rem;
      background: rgba(28, 28, 28, 0.3);
      backdrop-filter: blur(10px) saturate(100%);
      -webkit-backdrop-filter: blur(10px) saturate(100%);
      border: 1px solid rgba(70, 70, 70, 0.2);
      transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
      overflow: hidden;
    }

    .gallicus-tab::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .gallicus-tab:hover {
      background: rgba(40, 40, 40, 0.4);
      border-color: rgba(100, 100, 100, 0.3);
      transform: scale(1.01);
      backdrop-filter: blur(12px) saturate(120%);
      -webkit-backdrop-filter: blur(12px) saturate(120%);
    }

    .gallicus-tab.active {
      background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.12) 0%,
        rgba(255, 140, 0, 0.08) 50%,
        rgba(255, 107, 53, 0.12) 100%);
      backdrop-filter: blur(40px) saturate(180%);
      -webkit-backdrop-filter: blur(40px) saturate(180%);
      border-color: rgba(255, 107, 53, 0.3);
      box-shadow: 0 8px 32px rgba(255, 107, 53, 0.12),
                  0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                  0 1px 2px rgba(255, 255, 255, 0.1) inset;
    }

    .gallicus-tab.active::before {
      opacity: 1;
      background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    }

    /* Indicateur bordure gauche (état actif) */
    .gallicus-tab-indicator {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 4px;
      height: 60%;
      background: linear-gradient(180deg, #FF6B35 0%, #FF8C42 100%);
      opacity: 0;
      transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      border-radius: 0 4px 4px 0;
    }

    .gallicus-tab.active .gallicus-tab-indicator {
      opacity: 1;
    }

    /* Wrapper contenu onglet */
    .gallicus-tab-content {
      position: relative;
      z-index: 1;
    }

    /* Icône */
    .gallicus-tab-icon {
      position: relative;
      flex-shrink: 0;
      width: 52px;
      height: 52px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(8px) saturate(100%);
      -webkit-backdrop-filter: blur(8px) saturate(100%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
      overflow: hidden;
    }

    .gallicus-tab-icon::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .gallicus-tab:hover .gallicus-tab-icon {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.12);
      transform: scale(1.05);
      backdrop-filter: blur(10px) saturate(120%);
      -webkit-backdrop-filter: blur(10px) saturate(120%);
    }

    .gallicus-tab.active .gallicus-tab-icon {
      background: linear-gradient(135deg,
        rgba(255, 107, 53, 0.2) 0%,
        rgba(255, 140, 0, 0.15) 50%,
        rgba(255, 107, 53, 0.2) 100%);
      border-color: rgba(255, 107, 53, 0.4);
      box-shadow: 0 4px 16px rgba(255, 107, 53, 0.2),
                  0 0 0 1px rgba(255, 255, 255, 0.1) inset;
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
    }

    .gallicus-tab.active .gallicus-tab-icon::before {
      opacity: 1;
    }

    /* Container image */
    .gallicus-image-container {
      position: relative;
      width: 100%;
      height: 100%;
      z-index: 2;
    }

    .gallicus-feature-image {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .gallicus-feature-image.active {
      opacity: 1;
    }

    /* Overlay glassmorphism sur image */
    .gallicus-image-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
      );
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 1.5rem;
      pointer-events: none;
      z-index: 3;
    }

    /* Responsive mobile */
    @media (max-width: 1023px) {
      .gallicus-tab {
        padding: 1.25rem;
      }

      .gallicus-tab:hover,
      .gallicus-tab.active {
        transform: translateX(0);
      }

      .gallicus-image-container {
        height: 400px;
      }
    }

    /* Support reduced motion pour Gallicus tabs */
    @media (prefers-reduced-motion: reduce) {
      .gallicus-tab,
      .gallicus-tab-indicator,
      .gallicus-feature-image,
      .gallicus-tab-icon {
        transition: none;
      }
    }

    /* ========================================
       SERVICE CARDS ENHANCEMENT
       ======================================== */

    .service-card-wrapper {
      position: relative;
      perspective: 1200px;
      transform-style: preserve-3d;
      padding: 20px;
      margin: -20px;
    }

    /* Glow effect layer */
    .service-card-glow {
      position: absolute;
      inset: -30px;
      background: radial-gradient(
        circle at 50% 0%,
        rgba(139, 92, 246, 0.25) 0%,
        rgba(59, 130, 246, 0.15) 40%,
        transparent 70%
      );
      filter: blur(50px);
      opacity: 0;
      transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: none;
      z-index: -1;
    }

    .service-card-wrapper:hover .service-card-glow {
      opacity: 1;
    }

    /* Main card container */
    .service-card {
      position: relative;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(139, 92, 246, 0.15);
      border-radius: 20px;
      padding: 40px;
      overflow: hidden;
      min-height: 420px;
      transform-style: preserve-3d;
      transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: pointer;
    }

    .service-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.05) 0%,
        transparent 50%,
        rgba(59, 130, 246, 0.05) 100%
      );
      opacity: 0;
      transition: opacity 0.5s ease;
    }

    .service-card-wrapper:hover .service-card {
      transform: translateY(-12px) rotateX(3deg) scale(1.02);
      border-color: rgba(139, 92, 246, 0.3);
      box-shadow:
        0 20px 60px rgba(139, 92, 246, 0.15),
        0 0 80px rgba(59, 130, 246, 0.1),
        inset 0 0 60px rgba(139, 92, 246, 0.03);
    }

    .service-card-wrapper:hover .service-card::before {
      opacity: 1;
    }

    /* Canvas background */
    .service-card-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
    }

    /* Circuit pattern */
    .circuit-pattern {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 2;
      opacity: 0.08;
      transition: opacity 0.5s ease;
    }

    .service-card-wrapper:hover .circuit-pattern {
      opacity: 0.12;
    }

    /* Content layer */
    .service-card-content {
      position: relative;
      z-index: 10;
    }

    /* Enhanced icon container */
    .service-icon-container {
      width: 80px;
      height: 80px;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(
        circle at 30% 30%,
        rgba(139, 92, 246, 0.35) 0%,
        rgba(59, 130, 246, 0.15) 100%
      );
      box-shadow:
        0 0 25px rgba(139, 92, 246, 0.25),
        0 0 50px rgba(139, 92, 246, 0.1),
        inset 0 2px 20px rgba(255, 255, 255, 0.05),
        inset 0 -2px 20px rgba(0, 0, 0, 0.2);
      border: 1px solid rgba(139, 92, 246, 0.2);
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      position: relative;
      overflow: hidden;
      pointer-events: none;
    }

    /* Icon glow pulse animation */
    @keyframes iconGlowPulse {
      0%, 100% {
        box-shadow:
          0 0 25px rgba(139, 92, 246, 0.25),
          0 0 50px rgba(139, 92, 246, 0.1);
      }
      50% {
        box-shadow:
          0 0 35px rgba(139, 92, 246, 0.4),
          0 0 70px rgba(139, 92, 246, 0.2);
      }
    }

    .service-card-wrapper:hover .service-icon-container {
      box-shadow:
        0 0 35px rgba(139, 92, 246, 0.5),
        0 0 70px rgba(139, 92, 246, 0.25),
        0 0 100px rgba(59, 130, 246, 0.15),
        inset 0 2px 30px rgba(255, 255, 255, 0.08),
        inset 0 -2px 20px rgba(0, 0, 0, 0.2);
      transform: scale(1.05);
      animation: iconGlowPulse 2s ease-in-out infinite;
    }

    .service-icon-container svg {
      width: 40px;
      height: 40px;
      stroke: white;
      stroke-width: 2.5;
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
      transition: all 0.3s ease;
      pointer-events: none;
    }

    .service-card-wrapper:hover .service-icon-container svg {
      stroke-width: 3;
      filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
    }

    /* Typography enhancements */
    .service-card h3 {
      font-weight: 600;
      letter-spacing: -0.02em;
      color: rgba(255, 255, 255, 0.95);
      transition: all 0.3s ease;
    }

    .service-card-wrapper:hover h3 {
      color: rgb(255, 255, 255);
      text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }

    /* Mobile responsive adjustments */
    @media (max-width: 768px) {
      .process-icon-container {
        width: 48px !important;
        height: 48px !important;
      }

      .process-icon-container svg {
        width: 24px !important;
        height: 24px !important;
      }

      .process-item-wrapper:not(:last-child)::before {
        left: 24px;
      }

      .service-card {
        padding: 32px;
        min-height: 360px;
      }

      .service-icon-container {
        width: 64px;
        height: 64px;
      }

      .service-icon-container svg {
        width: 32px;
        height: 32px;
      }

      /* Reduce 3D effects on mobile for performance */
      .service-card-wrapper:hover .service-card {
        transform: translateY(-8px) scale(1.01);
      }

      .service-card-wrapper {
        perspective: 800px;
      }
    }

    /* Tablet adjustments */
    @media (min-width: 769px) and (max-width: 1024px) {
      .service-card {
        padding: 36px;
      }
    }

    /* Performance optimization: reduce animations on low-end devices */
    @media (prefers-reduced-motion: reduce) {
      .service-card,
      .service-icon-container,
      .service-card-glow,
      .circuit-pattern,
      .animate-item {
        transition: none !important;
        animation: none !important;
      }

      .service-card-wrapper:hover .service-card {
        transform: none;
      }

      .animate-item {
        opacity: 1;
        transform: translateX(0);
      }
    }
  