/* ==========================================================================
   AESTHETIC & PREMIUM STYLE SHEET FOR SERVICES PAGE
   ========================================================================== */

.services-page-wrapper {
    background-color: #f8fafc; /* premium slate gray bg */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Grille CSS standard si Tailwind n'est pas actif pour le layout */
.services-page-wrapper .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

@media (max-width: 1024px) {
    .services-page-wrapper .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .services-page-wrapper .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Service Card link and container */
.service-card-link {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-link:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* Card Image container */
.service-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: #f1f5f9;
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-link:hover .service-card-image {
    transform: scale(1.06);
}

/* Card Body spacing */
.service-card-body {
    padding: 30px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    box-sizing: border-box;
}

/* Card Title */
.service-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.service-card-link:hover .service-card-title {
    color: var(--couleur-principale, #6366f1);
}

/* Card Text */
.service-card-text {
    font-size: 0.875rem;
    font-weight: 350;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Card Footer */
.service-card-footer {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    padding-top: 16px;
    border-top: 1px solid #f8fafc;
    transition: color 0.3s ease;
}

.service-card-link:hover .service-card-footer {
    color: var(--couleur-principale, #6366f1);
}

.service-card-footer i {
    font-size: 0.65rem;
    margin-left: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-link:hover .service-card-footer i {
    transform: translateX(6px);
}