    body {
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    * {
      box-sizing: border-box;
    }
    
    .nav-link {
      transition: all 0.3s ease;
      position: relative;
    }
    
    .nav-link:hover {
      transform: translateY(-2px);
    }
    
    .nav-link.active::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 100%;
      height: 3px;
      background: rgb(172, 8, 163);
    }
    
    .card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    
    .slider {
      position: relative;
      overflow: hidden;
    }
    
    .slide {
      display: none;
      animation: fadeIn 1s ease-in-out;
    }
    
    .slide.active {
      display: block;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.8);
      z-index: 1000;
    }

    .modal.active {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-content {
      width: 66vw;        /* 2/3 écran */
      max-width: 900px;
      max-height: 90vh;
      display: flex;
      justify-content: center;
    }

    /* Le wrapper devient la référence */
    .image-wrapper {
      position: relative;
      max-width: 100%;
      max-height: 90vh;
    }

    /* Image */
    .image-wrapper img {
      max-width: 100%;
      max-height: 90vh;
      object-fit: contain;
      border-radius: 10px;
      display: block;
    }

    /* Bouton ❌ fixé AU COIN de l’image */
    .close-modal {
      position: absolute;
      top: 8px;
      right: 8px;
      color: white;
      font-size: 28px;
      cursor: pointer;
      background: rgba(0,0,0,0.6);
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .gallery-item {
      transition: transform 0.3s ease;
      cursor: pointer;
    }
    
    .gallery-item:hover {
      transform: scale(1.05);
    }
    
    .page {
      display: none;
    }
    
    .page.active {
      display: block;
    }
    
    .btn-primary {
      transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .toast {
      position: fixed;
      top: 20px;
      right: 20px;
      padding: 16px 24px;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      z-index: 1000;
      animation: slideIn 0.3s ease;
    }
    
    @keyframes slideIn {
      from {
        transform: translateX(400px);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }
    
    .progress-bar {
      height: 8px;
      border-radius: 4px;
      overflow: hidden;
      margin-top: 8px;
    }
    
    .progress-fill {
      height: 100%;
      transition: width 0.3s ease;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .animate-fadeIn {
      animation: fadeIn 1.5s ease-out forwards;
    }