:root {
    --slider-navy-blue: #1e3a8a;
    --slider-dark-blue: #1d4ed8;
    --slider-medium-blue: #3b82f6;
    --slider-light-blue: #60a5fa;
    --slider-sky-blue: #93c5fd;
    --slider-text-light: #ffffff;
    --slider-text-muted: #dbeafe;
    --slider-shadow: 0 8px 30px rgba(30, 58, 138, 0.2);
    --slider-transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* ===== STYLES DU SLIDER ===== */
    /* Variables CSS uniques pour le slider */
      /* Reset et base */
      .slider-container {
        position: relative;
        width: 100%;
        height: 95vh;
        min-height: 600px;
        overflow: hidden;
        margin-bottom: 30px;
        box-shadow: var(--slider-shadow);
      }

      .swiper {
        width: 100%;
        height: 100%;
      }

      .swiper-slide {
        position: relative;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        display: flex !important;
        align-items: center;
        overflow: hidden;
      }

      /* Overlay de dégradé triangulaire bleu foncé à gauche - Desktop */
      .swiper-slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 45%;
        height: 100%;
        background: linear-gradient(90deg,
            rgba(30, 58, 138, 0.85) 0%,
            rgba(30, 58, 138, 0.75) 25%,
            rgba(29, 78, 216, 0.65) 50%,
            rgba(29, 78, 216, 0.4) 75%,
            transparent 100%);
        z-index: 1;
        clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
      }

      /* Pour les écrans moyens */
      @media (max-width: 1200px) {
        .swiper-slide::before {
          width: 35%;
          clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
        }
      }

      /* Pour les tablettes */
      @media (max-width: 992px) {
        .swiper-slide::before {
          width: 45%;
          clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
        }
      }

      /* Pour les mobiles - forme triangulaire maintenue */
      @media (max-width: 768px) {
        .slider-container {
          height: 70vh;
          min-height: 500px;
        }

        .swiper-slide::before {
          width: 80%;
          clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
          background: linear-gradient(90deg,
              rgba(30, 58, 138, 0.9) 0%,
              rgba(29, 78, 216, 0.8) 40%,
              rgba(59, 130, 246, 0.5) 80%,
              transparent 100%);
        }
      }

      /* Pour très petits mobiles */
      @media (max-width: 480px) {
        .slider-container {
          height: 65vh;
          min-height: 450px;
        }

        .swiper-slide::before {
          width: 90%;
          clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
        }
      }

      /* Conteneur pour le contenu */
      .slide-content-wrapper {
        position: relative;
        z-index: 2;
        width: 45%;
        height: 10%;
        display: flex;
        align-items: center;
        padding-left: 80px;
        font-size: 12px;
      }

      @media (max-width: 1200px) {
        .slide-content-wrapper {
          width: 50%;
          padding-left: 60px;
        }
      }

      @media (max-width: 992px) {
        .slide-content-wrapper {
          width: 60%;
          padding-left: 40px;
        }
      }

      @media (max-width: 768px) {
        .slide-content-wrapper {
          width: 80%;
          padding-left: 30px;
          padding-right: 20px;
        }
      }

      @media (max-width: 480px) {
        .slide-content-wrapper {
          width: 90%;
          padding-left: 20px;
          padding-right: 15px;
        }
      }

      .slide-content {
        max-width: 600px;
        padding: 40px;
        background: rgba(30, 58, 138, 0.15);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        animation: contentFadeIn 0.8s ease-out forwards;
      }

      @keyframes contentFadeIn {
        from {
          opacity: 0;
          transform: translateY(20px);
        }

        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .slide-content h1 {
        font-size: 25px;
        font-weight: 800;
        margin-bottom: 25px;
        line-height: 1.1;
        color: var(--slider-text-light);
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
      }

      @media (max-width: 1200px) {
        .slide-content h1 {
          font-size: 3rem;
        }
      }

      @media (max-width: 992px) {
        .slide-content h1 {
          font-size: 2.5rem;
        }
      }

      @media (max-width: 768px) {
        .slide-content h1 {
          font-size: 2rem;
        }

        .slide-content {
          padding: 30px;
        }
      }

      @media (max-width: 480px) {
        .slide-content h1 {
          font-size: 1.8rem;
        }

        .slide-content {
          padding: 20px;
        }
      }

      .slide-content p {
        font-size: 1.25rem;
        margin-bottom: 35px;
        line-height: 1.7;
        color: var(--slider-text-muted);
        max-width: 500px;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
      }

      @media (max-width: 768px) {
        .slide-content p {
          font-size: 1.1rem;
          margin-bottom: 25px;
        }
      }

      @media (max-width: 480px) {
        .slide-content p {
          font-size: 1rem;
        }
      }

      .slide-content .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--slider-dark-blue), var(--slider-medium-blue));
        color: var(--slider-text-light);
        padding: 16px 40px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.1rem;
        text-decoration: none;
        transition: var(--slider-transition);
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
        position: relative;
        overflow: hidden;
      }

      .slide-content .btn:hover {
        background: linear-gradient(135deg, var(--slider-medium-blue), var(--slider-light-blue));
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(29, 78, 216, 0.6);
        border-color: rgba(255, 255, 255, 0.5);
      }

      .slide-content .btn:active {
        transform: translateY(-1px);
      }

      @media (max-width: 768px) {
        .slide-content .btn {
          padding: 14px 30px;
          font-size: 1rem;
        }
      }

      /* Bouton play vidéo - Animation réactivée */
      .btn-play {
        position: absolute;
        right: 40px;
        bottom: 40px;
        z-index: 10;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: rgba(30, 58, 138, 0.7);
        backdrop-filter: blur(5px);
        border: 2px solid rgba(255, 255, 255, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--slider-transition);
        animation: playButtonPulse 2s infinite;
      }

      @keyframes playButtonPulse {
        0% {
          box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
        }

        70% {
          box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
        }

        100% {
          box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        }
      }

      .btn-play:hover {
        background: var(--slider-dark-blue);
        transform: scale(1.1);
        border-color: var(--slider-text-light);
        animation: none;
      }

      .btn-play span {
        display: block;
        width: 0;
        height: 0;
        border-top: 14px solid transparent;
        border-bottom: 14px solid transparent;
        border-left: 22px solid var(--slider-text-light);
        margin-left: 5px;
        transition: var(--slider-transition);
      }

      .btn-play:hover span {
        border-left-color: var(--slider-light-blue);
      }

      @media (max-width: 768px) {
        .btn-play {
          right: 20px;
          bottom: 20px;
          width: 60px;
          height: 60px;
        }

        .btn-play span {
          border-top-width: 12px;
          border-bottom-width: 12px;
          border-left-width: 18px;
        }
      }

      /*pagination*/

      /* Keywords bar - Bleu de nuit fort */
     
      .keywords-bar {
        background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
        color: var(--slider-text-light);
        padding: 18px 0;
        overflow: hidden;
        margin-bottom: 40px;
        box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4);
        position: relative;  width: 100%;
      }

      .keywords-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
      }

      .marquee {
        display: flex;
        animation: marquee 40s linear infinite;
        white-space: nowrap;
        font-size: 1.4rem;
        font-weight: 700;
      }

      .marquee:hover {
        animation-play-state: paused;
      }

      .marquee span {
        display: flex;
        align-items: center;
        padding: 0 40px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      }

      .marquee img {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border: 3px solid rgba(255, 255, 255, 0.6) !important;
      }

      @keyframes marquee {
        0% {
          transform: translateX(0);
        }

        100% {
          transform: translateX(-50%);
        }
      }

      /* Modal */
      .modal-content {
        background: transparent;
        border: none;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
      }

      .modal-header {
        background: linear-gradient(135deg, var(--slider-navy-blue) 0%, var(--slider-dark-blue) 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
      }

      .modal-header .modal-title {
        font-weight: 600;
      }

      .btn-close {
        filter: invert(1);
        opacity: 0.8;
      }

      .btn-close:hover {
        opacity: 1;
      }

      /* Correction des problèmes de transition */
      .swiper-slide {
        opacity: 0 !important;
        transition: opacity 0.5s ease !important;
      }

      .swiper-slide-active,
      .swiper-slide-duplicate-active {
        opacity: 1 !important;
      }

      /* Masquer les slides inactifs pour éviter les conflits */
      .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-duplicate-active) .slide-content {
        opacity: 0;
        visibility: hidden;
      }
    /* ===== FIN SLIDER ===== */

    /*about description*/

    /* ===== Variables CDS Kisantu - Thème bleu ===== */
    :root {
      --cds-primary: #1e3a8a; /* Bleu marine */
      --cds-secondary: #3b82f6; /* Bleu vif */
      --cds-accent: #60a5fa; /* Bleu ciel */
      --cds-light: #93c5fd; /* Bleu clair */
      --cds-dark: #1e40af; /* Bleu foncé */
      --cds-success: #10b981; /* Vert pour développement */
      --cds-text: #1f2937; /* Gris foncé */
      --cds-white: #ffffff;
      --cds-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
      --cds-shadow: 0 8px 30px rgba(30, 58, 138, 0.15);
    }

    /* ===== Section About CDS ===== */
    .section-about-cds {
      position: relative;
      padding: 100px 0;
      background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
      overflow: hidden;
    }

    /* Fond animé */
    .cds-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    .cds-bubble {
      position: absolute;
      border-radius: 50%;
      background: rgba(96, 165, 250, 0.1);
      animation: floatBubble 15s infinite ease-in-out;
    }

    .cds-bubble.bubble-1 {
      width: 300px;
      height: 300px;
      top: -150px;
      right: -100px;
      background: rgba(30, 58, 138, 0.05);
      animation-delay: 0s;
    }

    .cds-bubble.bubble-2 {
      width: 200px;
      height: 200px;
      bottom: -100px;
      left: -50px;
      background: rgba(59, 130, 246, 0.08);
      animation-delay: 3s;
    }

    .cds-bubble.bubble-3 {
      width: 150px;
      height: 150px;
      top: 30%;
      left: 10%;
      background: rgba(96, 165, 250, 0.06);
      animation-delay: 6s;
    }

    .cds-bubble.bubble-4 {
      width: 120px;
      height: 120px;
      bottom: 20%;
      right: 15%;
      background: rgba(30, 64, 175, 0.07);
      animation-delay: 9s;
    }

    .cds-bubble.bubble-5 {
      width: 180px;
      height: 180px;
      top: 60%;
      left: 80%;
      background: rgba(147, 197, 253, 0.09);
      animation-delay: 12s;
    }

    @keyframes floatBubble {
      0%, 100% { transform: translateY(0) scale(1); }
      50% { transform: translateY(-20px) scale(1.05); }
    }

    /* Container */
    .container-cds {
      position: relative;
      z-index: 2;
    }

    /* Section titre */
    .cds-section {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      padding: 40px;
      box-shadow: var(--cds-shadow);
      border: 1px solid rgba(255, 255, 255, 0.8);
    }

    .section-tag-cds {
      display: inline-block;
      background: var(--cds-gradient);
      color: white;
      padding: 8px 20px;
      border-radius: 30px;
      font-size: 0.9rem;
      font-weight: 600;
      letter-spacing: 1px;
      margin-bottom: 20px;
      text-transform: uppercase;
    }

    .cds-section h1 {
      font-size: 1.8rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--cds-primary), var(--cds-accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1.2;
      margin-bottom: 30px;
    }

    /* Onglets */
    .nav-tabs-cds {
      border-bottom: 2px solid rgba(96, 165, 250, 0.2);
      margin-bottom: 30px;
      gap: 10px;
    }

    .nav-tabs-cds .nav-item {
      margin-bottom: -2px;
    }

    .nav-tabs-cds .nav-link {
      border: none;
      background: transparent;
      color: var(--cds-text);
      font-weight: 600;
      padding: 12px 25px;
      border-radius: 10px 10px 0 0;
      transition: all 0.3s ease;
      border-bottom: 3px solid transparent;
    }

    .nav-tabs-cds .nav-link:hover {
      color: var(--cds-secondary);
      background: rgba(96, 165, 250, 0.1);
    }

    .nav-tabs-cds .nav-link.active {
      color: var(--cds-primary);
      background: rgba(96, 165, 250, 0.15);
      border-bottom: 3px solid var(--cds-secondary);
    }

    .nav-tabs-cds .nav-link i {
      color: var(--cds-accent);
    }

    /* Contenu des onglets */
    .tab-content-cds {
      margin-bottom: 30px;
    }

    .tab-pane-cds p {
      color: var(--cds-text);
      line-height: 1.8;
      margin-bottom: 15px;
      font-size: 1.05rem;
    }

    .tab-pane-cds p strong {
      color: var(--cds-primary);
    }

    .list-unstyled-cds {
      margin-top: 20px;
    }

    .list-unstyled-cds li {
      padding: 10px 0;
      border-bottom: 1px solid rgba(96, 165, 250, 0.1);
      display: flex;
      align-items: flex-start;
      gap: 15px;
    }

    .list-unstyled-cds li:last-child {
      border-bottom: none;
    }

    .list-unstyled-cds li i {
      color: var(--cds-secondary);
      margin-top: 4px;
      font-size: 1.1rem;
      min-width: 20px;
    }

    /* Bouton */
    .btn-cds {
      display: inline-flex;
      align-items: center;
      gap: 15px;
      background: var(--cds-gradient);
      color: white;
      padding: 15px 30px;
      border-radius: 15px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
      border: none;
    }

    .btn-cds:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
      color: white;
      gap: 20px;
    }

    .btn-cds i {
      transition: transform 0.3s ease;
    }

    .btn-cds:hover i {
      transform: translateX(5px);
    }

    /* Galerie */
    .cds-gallery {
      position: relative;
    }

    .gallery-main-cds {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--cds-shadow);
      margin-bottom: 20px;
    }

    .gallery-main-cds img {
      width: 100%;
      height: 350px;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .gallery-main-cds:hover img {
      transform: scale(1.05);
    }

    .image-badge-cds {
      position: absolute;
      top: 20px;
      right: 20px;
      background: var(--cds-gradient);
      color: white;
      padding: 8px 15px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 1.2rem;
      z-index: 2;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    /* Galerie latérale */
    .gallery-side-cds {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
    }

    .side-image-cds {
      position: relative;
      border-radius: 15px;
      overflow: hidden;
      height: 120px;
      cursor: pointer;
    }

    .side-image-cds img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.3s ease;
    }

    .side-image-cds:hover img {
      transform: scale(1.1);
    }

    .image-label-cds {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(30, 58, 138, 0.8);
      color: white;
      padding: 8px;
      text-align: center;
      font-size: 0.85rem;
      font-weight: 600;
      transform: translateY(100%);
      transition: transform 0.3s ease;
    }

    .side-image-cds:hover .image-label-cds {
      transform: translateY(0);
    }

    /* Responsive */
    @media (max-width: 992px) {
      .section-about-cds {
        padding: 60px 0;
      }
      
      .cds-section h1 {
        font-size: 2.2rem;
      }
      
      .nav-tabs-cds .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
      }
      
      .gallery-main-cds img {
        height: 300px;
      }
    }

    @media (max-width: 768px) {
      .section-about-cds {
        padding: 40px 0;
      }
      
      .cds-section {
        padding: 25px;
      }
      
      .cds-section h1 {
        font-size: 1.8rem;
      }
      
      .gallery-side-cds {
        grid-template-columns: repeat(2, 1fr);
      }
      
      .btn-cds {
        width: 100%;
        justify-content: center;
      }
    }

    @media (max-width: 576px) {
      .nav-tabs-cds {
        flex-wrap: wrap;
      }
      
      .nav-tabs-cds .nav-link {
        flex: 1 0 calc(50% - 10px);
        text-align: center;
        margin-bottom: 10px;
      }
      
      .gallery-side-cds {
        grid-template-columns: 1fr;
      }
      
      .side-image-cds {
        height: 100px;
      }
    }

    /* Particules */
    .particles {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      pointer-events: none;
    }

        /* ===== DOMAINE D INTERVENTION ===== */
    /* ===== HEADER SECTION ===== */
.cds-domaines-header {
  position: relative;
  padding: 40px 20px;
}

.cds-domaines-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cds-gradient);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.cds-subtitle-icon {
  font-size: 1.2rem;
}

.cds-domaines-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cds-primary), var(--cds-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 15px;
}

.cds-title-highlight {
  position: relative;
  color: var(--cds-primary);
  -webkit-text-fill-color: var(--cds-primary);
}

.cds-title-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(96, 165, 250, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.cds-domaines-intro {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== SECTION PRINCIPALE ===== */
.cds-domaines-section {
  position: relative;
  padding: 60px 0 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
  overflow: hidden;
}

/* Fond décoratif */
.cds-domaines-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cds-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.05);
  filter: blur(60px);
}

.cds-bg-circle.circle-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: rgba(30, 58, 138, 0.08);
}

.cds-bg-circle.circle-2 {
  width: 300px;
  height: 300px;
  bottom: 100px;
  left: -50px;
  background: rgba(59, 130, 246, 0.06);
}

.cds-bg-circle.circle-3 {
  width: 250px;
  height: 250px;
  top: 50%;
  left: 60%;
  background: rgba(147, 197, 253, 0.07);
}

.cds-bg-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cds-accent), transparent);
  opacity: 0.1;
}

.cds-bg-line.line-1 {
  top: 30%;
  left: 0;
  right: 0;
  width: 100%;
}

.cds-bg-line.line-2 {
  top: 70%;
  left: 0;
  right: 0;
  width: 100%;
}

/* ===== CONTAINER DES CARTES ===== */
.cds-domaines-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  z-index: 2;
}

/* ===== CARTES INDIVIDUELLES ===== */
.cds-domaine-card {
  position: relative;
  height: 380px;
  perspective: 1000px;
}

.cds-card-outer {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.cds-domaine-card:hover .cds-card-outer {
  transform: translateY(-10px) rotateX(5deg);
}

.cds-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--cds-shadow);
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.cds-domaine-card:hover .cds-card-inner {
  box-shadow: var(--cds-shadow-hover);
  transform: scale(1.02);
}

/* Couleurs dynamiques */
.cds-domaine-card.cds-color-1 .cds-card-inner {
  border-top: 4px solid #1e3a8a;
}

.cds-domaine-card.cds-color-2 .cds-card-inner {
  border-top: 4px solid #3b82f6;
}

.cds-domaine-card.cds-color-3 .cds-card-inner {
  border-top: 4px solid #60a5fa;
}

.cds-domaine-card.cds-color-4 .cds-card-inner {
  border-top: 4px solid #10b981;
}

.cds-domaine-card.cds-color-5 .cds-card-inner {
  border-top: 4px solid #8b5cf6;
}

/* Header de la carte */
.cds-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}

.cds-card-icon-wrapper {
  position: relative;
}

.cds-icon-circle {
  width: 70px;
  height: 70px;
  background: var(--cds-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
}

.cds-domaine-card:hover .cds-icon-circle {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 25px rgba(30, 58, 138, 0.3);
}

.cds-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: var(--cds-accent);
  border-radius: 50%;
  opacity: 0;
  filter: blur(15px);
  transition: all 0.4s ease;
  z-index: 1;
}

.cds-domaine-card:hover .cds-icon-glow {
  opacity: 0.5;
  width: 110px;
  height: 110px;
}

.cds-card-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cds-primary), var(--cds-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.2;
  line-height: 1;
}

/* Contenu de la carte */
.cds-card-content {
  flex: 1;
  margin-bottom: 20px;
}

.cds-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cds-primary);
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cds-title-text {
  position: relative;
  z-index: 2;
}

.cds-title-line {
  width: 60px;
  height: 3px;
  background: var(--cds-accent);
  border-radius: 2px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.cds-domaine-card:hover .cds-title-line {
  width: 100px;
  opacity: 1;
}

.cds-card-desc {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer de la carte */
.cds-card-footer {
  margin-top: auto;
}

.cds-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--cds-secondary);
  border: none;
  padding: 10px 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.cds-card-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cds-accent);
  transition: width 0.3s ease;
}

.cds-card-btn:hover {
  gap: 15px;
  color: var(--cds-primary);
}

.cds-card-btn:hover::after {
  width: 100%;
}

.cds-btn-icon {
  transition: transform 0.3s ease;
}

.cds-card-btn:hover .cds-btn-icon {
  transform: translateX(5px);
}

/* Effets visuels */
.cds-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s ease;
  pointer-events: none;
}

.cds-domaine-card:hover .cds-card-shine {
  left: 100%;
}

.cds-card-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--cds-accent);
  opacity: 0;
  transition: all 0.3s ease;
}

.cds-card-corner.corner-tl {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
  border-radius: 10px 0 0 0;
}

.cds-card-corner.corner-tr {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 10px 0 0;
}

.cds-card-corner.corner-bl {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 10px;
}

.cds-card-corner.corner-br {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 10px 0;
}

.cds-domaine-card:hover .cds-card-corner {
  opacity: 1;
}

/* Points décoratifs */
.cds-card-dots {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 5px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.cds-domaine-card:hover .cds-card-dots {
  opacity: 0.2;
  transform: translateX(0);
}

.cds-card-dots span {
  width: 4px;
  height: 4px;
  background: var(--cds-primary);
  border-radius: 50%;
}

/* ===== CALL TO ACTION ===== */
.cds-domaines-cta {
  max-width: 800px;
  margin: 60px auto 0;
  padding: 40px;
  background: var(--cds-gradient);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.cds-domaines-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.1;
  animation: floatPattern 20s linear infinite;
}

@keyframes floatPattern {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, 30px) rotate(360deg); }
}

.cds-cta-content {
  position: relative;
  z-index: 2;
}

.cds-cta-content h3 {
  font-size: 2rem;
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
}

.cds-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cds-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: white;
  color: var(--cds-primary);
  padding: 15px 35px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.cds-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  gap: 20px;
  color: var(--cds-primary);
}

.cds-cta-btn i {
  transition: transform 0.3s ease;
}

.cds-cta-btn:hover i {
  transform: translateX(5px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .cds-domaines-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .cds-domaines-title {
    font-size: 2.2rem;
  }
  
  .cds-domaines-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .cds-domaine-card {
    height: 350px;
  }
  
  .cds-domaines-cta {
    margin: 40px 20px 0;
    padding: 30px 20px;
  }
  
  .cds-cta-content h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .cds-domaines-title {
    font-size: 1.8rem;
  }
  
  .cds-card-inner {
    padding: 25px;
  }
  
  .cds-icon-circle {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .cds-card-title {
    font-size: 1.2rem;
  }
}

/* Animation d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cds-domaine-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.cds-domaine-card:nth-child(1) { animation-delay: 0.1s; }
.cds-domaine-card:nth-child(2) { animation-delay: 0.2s; }
.cds-domaine-card:nth-child(3) { animation-delay: 0.3s; }
.cds-domaine-card:nth-child(4) { animation-delay: 0.4s; }
.cds-domaine-card:nth-child(5) { animation-delay: 0.5s; }
.cds-domaine-card:nth-child(6) { animation-delay: 0.6s; }
.cds-domaine-card:nth-child(7) { animation-delay: 0.7s; }
.cds-domaine-card:nth-child(8) { animation-delay: 0.8s; }
.cds-domaine-card:nth-child(9) { animation-delay: 0.9s; }


/* ===== SECTION ACTUALITÉS ===== */
.cds-news-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.cds-news-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cds-gradient);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.cds-news-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--cds-primary);
  margin-bottom: 15px;
}

.cds-news-highlight {
  color: var(--cds-secondary);
}

.cds-news-description {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
}

.cds-news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--cds-shadow);
  transition: 0.3s;
}

.cds-news-card:hover {
  transform: translateY(-8px);
}

.cds-news-image-wrapper {
  height: 220px;
  overflow: hidden;
}

.cds-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cds-news-content {
  padding: 20px;
}

.cds-news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 10px;
}

.cds-news-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cds-news-excerpt {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.cds-news-link {
  font-weight: 600;
  color: var(--cds-secondary);
  text-decoration: none;
}

.cds-news-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cds-gradient);
  color: white;
  padding: 14px 30px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
}

/* ===== SECTION ALBUMS ===== */
.cds-albums-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.cds-albums-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cds-albums-shape {
  position: absolute;
  background: rgba(96, 165, 250, 0.05);
  border-radius: 50%;
  filter: blur(60px);
}

.cds-albums-shape.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.cds-albums-shape.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

.cds-albums-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.cds-albums-header {
  text-align: center;
  margin-bottom: 60px;
}

.cds-albums-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cds-gradient);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.cds-albums-icon {
  font-size: 1.2rem;
}

.cds-albums-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cds-primary);
  line-height: 1.2;
  margin-bottom: 15px;
}

.cds-albums-highlight {
  position: relative;
  color: var(--cds-secondary);
}

.cds-albums-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(96, 165, 250, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.cds-albums-description {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grille albums */
.cds-albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.cds-album-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--cds-shadow);
  transition: all 0.4s ease;
}

.cds-album-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--cds-shadow-hover);
}

.cds-album-figure {
  position: relative;
  height: 250px;
  overflow: hidden;
  margin: 0;
}

.cds-album-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cds-album-card:hover .cds-album-image {
  transform: scale(1.1);
}

.cds-album-caption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(30, 58, 138, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cds-album-card:hover .cds-album-caption {
  opacity: 1;
}

.cds-album-content {
  transform: translateY(20px);
  transition: transform 0.4s ease;
  width: 100%;
}

.cds-album-card:hover .cds-album-content {
  transform: translateY(0);
}

.cds-album-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cds-album-count {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cds-album-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--cds-primary);
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cds-album-link:hover {
  background: var(--cds-accent);
  color: white;
  gap: 15px;
}

.cds-album-link i {
  transition: transform 0.3s ease;
}

.cds-album-link:hover i {
  transform: translateX(5px);
}

.cds-album-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: var(--cds-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cds-album-info {
  padding: 20px;
  background: white;
}

.cds-album-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cds-album-date {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 600;
}

.cds-albums-actions {
  text-align: center;
}

.cds-albums-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: transparent;
  color: var(--cds-primary);
  padding: 15px 35px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--cds-accent);
}

.cds-albums-btn:hover {
  background: var(--cds-gradient);
  color: white;
  border-color: var(--cds-secondary);
  transform: translateY(-3px);
}

/* ===== SECTION PARTENAIRES ===== */
.cds-partners-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

.cds-partners-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.1;
}

.cds-partners-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--cds-accent) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cds-partners-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.cds-partners-header {
  text-align: center;
  margin-bottom: 60px;
}

.cds-partners-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cds-gradient);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.2);
}

.cds-partners-icon {
  font-size: 1.2rem;
}

.cds-partners-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--cds-primary);
  line-height: 1.2;
  margin-bottom: 15px;
}

.cds-partners-highlight {
  position: relative;
  color: var(--cds-secondary);
}

.cds-partners-highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(96, 165, 250, 0.3);
  z-index: -1;
  border-radius: 4px;
}

.cds-partners-description {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grille partenaires */
.cds-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.cds-partner-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--cds-shadow);
  transition: all 0.4s ease;
  border: var(--cds-border);
}

.cds-partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cds-shadow-hover);
}

.cds-partner-logo-wrapper {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cds-partner-logo {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.cds-partner-card:hover .cds-partner-logo {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

.cds-partner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 138, 0.9);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 15px;
  text-align: center;
}

.cds-partner-card:hover .cds-partner-overlay {
  opacity: 1;
}

.cds-partner-name {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.cds-partner-type {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

.cds-partners-cta {
  text-align: center;
  padding-top: 40px;
  border-top: 2px solid rgba(96, 165, 250, 0.1);
}

.cds-partners-cta-text {
  font-size: 1.2rem;
  color: var(--cds-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.cds-partners-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--cds-gradient);
  color: white;
  padding: 15px 35px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(30, 58, 138, 0.2);
}

.cds-partners-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

/*diocese */
