.offre-box {
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  .offre-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 300px;
  }

  .offre-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .icon-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
  }

  .icon-wrapper img {
    width: 24px;
    height: 24px;
  }

  .btn-discover {
    border: 1px solid white;
    color: white;
  }

  .btn-discover:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  /* Spécifiques aux blocs */
  .offre-pme {
    background-color: green;
    color: white;
  }

  .offre-particulier {
    background-color: yellow;
    color: white;
  }

  .btn-white-outline {
    border: 1px solid white;
    color: white;
  }

  .btn-white-outline:hover {
    background-color: rgba(255,255,255,0.2);
  }

  @media (max-width: 768px) {
    .offre-box {
      flex-direction: column;
    }
  }

  .card-custom {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .tag {
    position: absolute;
    top: -15px;
    left: 15px;
    background-color: #002e6d;
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
  }
  .btn-custom {
    background-color: #f47c5b;
    border: none;
    font-weight: bold;
  }
  .btn-custom:hover {
    background-color: #e86542;
  }
  .hero {
      background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/slider2.png') center/cover;
      color: white;
      padding: 80px 20px;
      text-align: center;
    }
    .hero h1 {
      font-size: 3rem;
      font-weight: bold;
    }
    .section-title {
      color: green;
      border-left: 5px solid yellow;
      padding-left: 10px;
      font-weight: 600;
      margin-bottom: 20px;
    }
    .card-icon {
      font-size: 40px;
      color: yellow;
    }
     .section-title {
      color: green;
      border-left: 5px solid yellow;
      padding-left: 10px;
      font-weight: 600;
      margin-bottom: 20px;
    }
    .timeline {
      position: relative;
      padding-left: 40px;
    }
    .timeline::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 15px;
      width: 2px;
      background-color: green;
    }
    .timeline-event {
      margin-bottom: 20px;
    }
    .timeline-event::before {
      content: '';
      position: absolute;
      left: 8px;
      width: 14px;
      height: 14px;
      background-color: green;
      border-radius: 50%;
      top: 5px;
    }

    .org-box {
      border: 2px solid #333;
      padding: 10px;
      border-radius: 10px;
      text-align: center;
      color: #000;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .jaune {
      background-color: yellow; /* Jaune pâle */
      border-color: yellow;
    }

    .verte {
      background-color: green; /* Vert pâle */
      border-color: green;
    }

    .line {
      width: 2px;
      background-color: #0d6efd;
      margin: auto;
    }

    .connector {
      height: 20px;
      width: 100%;
      border-bottom: 2px solid #0d6efd;
      margin-top: 10px;
      margin-bottom: 10px;
    }

    .section-title {
      border-left: 5px solid yellow;
      padding-left: 15px;
      margin-bottom: 20px;
      font-weight: bold;
      color: green;
    }

    .card-icon {
      font-size: 40px;
      color: green;
    }

    .highlight {
      background-color: rgb(249, 249, 102);
      padding: 20px;
      border-left: 5px solid green;
      border-radius: 8px;
    }

    .stat-box {
      background-color: white;
      border-left: 5px solid green;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      padding: 40px;
      max-width: 1200px;
      margin: auto;
    }

    .gallery-item {
      background-color: white;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      transition: transform 0.3s ease;
      cursor: pointer;
      opacity: 0;
      transform: translateY(30px);
      animation: fadeIn 0.6s forwards;
    }

    .gallery-item img {
      width: 100%;
      height: 200px;           /* fixe la hauteur */
      object-fit: cover;       /* remplit proprement sans déformation */
      display: block;
      transition: transform 0.3s ease;
    }

    .gallery-item:hover {
      transform: translateY(-5px);
    }

    .caption {
      padding: 10px;
      text-align: center;
      font-size: 14px;
      color: #555;
    }

    @keyframes fadeIn {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* MODAL */
    .modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.8);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .modal img {
      max-width: 90%;
      max-height: 90%;
      box-shadow: 0 0 30px rgba(255,255,255,0.2);
    }

    .modal.active {
      display: flex;
    }

    .modal:after {
      content: '✖';
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 30px;
      color: white;
      cursor: pointer;
    }
.partner-card {
      transition: all 0.3s ease;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .partner-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  .carousel-container {
      scroll-behavior: smooth;
  }
  .gradient-bg {
      background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  }
  
  .banner {
      position: relative;
      background-color: #59f79d;
      border-radius: 15px;
      overflow: hidden;
      display: flex;
      align-items: center;
      padding: 0;
    }

    .image-container {
      position: relative;
      width: 40%;
      min-width: 250px;
    }

    .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .image-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
    }

    .banner-content {
      padding: 2rem;
      flex: 1;
    }

    .banner-content h1 {
      font-weight: 800;
      font-size: 2.5rem;
      color: #1b1b1b;
    }

    .banner-content p {
      font-size: 1.2rem;
      color: #1b1b1b;
    }

    @media (max-width: 768px) {
      .banner {
        flex-direction: column;
      }

      .image-container {
        width: 100%;
        height: 250px;
      }

      .banner-content {
        padding: 1rem;
      }
    }