/* Consty & K — Styles partagés pages */

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

.group:hover .card-image {
    transform: scale(1.08);
}

.section-label {
    display: inline-block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #00C9A7;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background: rgba(0, 201, 167, 0.08);
    color: #00A88B;
    border: 1px solid rgba(0, 201, 167, 0.15);
}

.dark .feature-chip {
    background: rgba(0, 201, 167, 0.12);
    color: #00C9A7;
    border-color: rgba(0, 201, 167, 0.25);
}

.service-detail-card {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-card:hover {
    transform: translateY(-4px);
}

.process-step {
    position: relative;
}

.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: calc(50% + 1.75rem);
    width: calc(100% - 3.5rem);
    height: 2px;
    background: linear-gradient(90deg, #00C9A7 0%, rgba(0, 201, 167, 0.15) 100%);
}

@media (max-width: 767px) {
    .process-step:not(:last-child)::after {
        display: none;
    }
}

.stat-mini {
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.06) 0%, rgba(0, 201, 167, 0.02) 100%);
    border: 1px solid rgba(0, 201, 167, 0.12);
}

.dark .stat-mini {
    background: linear-gradient(135deg, rgba(0, 201, 167, 0.1) 0%, rgba(15, 23, 42, 0.5) 100%);
    border-color: rgba(0, 201, 167, 0.2);
}

.page-hero-badge {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.splide {
    height: 60vh;
}

@media (min-width: 768px) {
    .splide {
        height: 75vh;
    }
}

.splide__track,
.splide__list,
.splide__slide,
.splide__slide > div {
    height: 100%;
}

.splide__arrow {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.dark .splide__arrow {
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.splide__arrow:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.dark .splide__arrow:hover {
    background: rgba(15, 23, 42, 0.3);
}

.splide__arrow svg {
    fill: #1E293B;
    width: 1.2rem;
    height: 1.2rem;
}

.dark .splide__arrow svg {
    fill: #FFFFFF;
}

.splide__pagination {
    bottom: 2rem;
}

.splide__pagination__page {
    background: rgba(255, 255, 255, 0.5);
    width: 0.75rem;
    height: 0.75rem;
    transition: all 0.3s ease;
}

.splide__pagination__page.is-active {
    background: #00c9a7;
    transform: scale(1.3);
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .glassmorphism {
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }
}
