

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    background-color: var(--surface-color);
    text-align: center;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    padding: 80px 20px;
    transition: all ease-in-out 0.3s;
    height: 100%;
  }
  
  .services .service-item .icon {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    background: var(--accent-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
    transform-style: preserve-3d;
  }
  
  .services .service-item .icon i {
    color: var(--contrast-color);
    font-size: 28px;
    transition: ease-in-out 0.3s;
  }
  
  .services .service-item .icon::before {
    position: absolute;
    content: "";
    left: -8px;
    top: -8px;
    height: 100%;
    width: 100%;
    background: color-mix(in srgb, var(--accent-color), transparent 80%);
    border-radius: 5px;
    transition: all 0.3s ease-out 0s;
    transform: translateZ(-1px);
  }
  
  .services .service-item h3 {
    font-weight: 700;
    margin: 10px 0 15px 0;
    font-size: 22px;
  }
  
  .services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
  }
  
  .services .service-item:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
  }
  
  .services .service-item:hover .icon {
    background: var(--surface-color);
  }
  
  .services .service-item:hover .icon i {
    color: var(--accent-color);
  }
  
  .services .service-item:hover .icon::before {
    background: color-mix(in srgb, var(--background-color), transparent 70%);
  }
  
  .services .service-item:hover h3,
  .services .service-item:hover p {
    color: var(--contrast-color);
  }
  














  /* Style du bloc */
.service-item-plus {
    position: relative;
    width: 100%;
    height: 100%; /* Ajuste la hauteur selon tes besoins */
    background: url('../img/service-bg.jpg') center/cover no-repeat; /* Image en fond */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Superposition sombre pour améliorer la lisibilité du texte */
.service-item-plus .service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Opacité de l'overlay */
}

/* Contenu centré */
.service-item-plus .content {
  padding: 20px;
    position: relative;
    z-index: 2;
    color: #fff;
}


/* Titre */
.service-item-plus .content h2 {
  color: #fff !important;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Lien (flèche) */
.service-item-plus .content a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    margin-top: 10px;
    transition: 0.3s ease;
}

.service-item-plus .content a:hover {
    transform: scale(1.1);
    color: #00BFFF;
}

