/* ===== SERVICES PREMIUM - DESIGN ULTRA-MODERNE ===== */

/* Container */
.services-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding-left: var(--container-padding, 1.5rem);
    padding-right: var(--container-padding, 1.5rem);
    position: relative;
    z-index: 1;
}

/* ===== HERO SECTION ===== */
.services-hero {
    text-align: center;
    margin-bottom: 36px;
    animation: hero-appear 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes hero-appear {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Badge Hero */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    margin-bottom: 20px;
    color: #a5b4fc;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

/* Titre Hero */
.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}

.hero-title .line {
    display: block;
    position: relative;
    color: #eaf0ff;
    animation: line-appear 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.hero-title .line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title .line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes line-appear {
    from {
        opacity: 0;
        transform: translateX(-50px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

.gradient-line {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #14b8a6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: line-appear 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards, gradient-flow 8s ease infinite;
}

@keyframes gradient-flow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 16px;
    color: rgba(234, 240, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    animation: fade-in 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s backwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== SERVICES SHOWCASE ===== */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    position: relative;
}

/* Service Card */
.service-card {
    position: relative;
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: card-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.service-card[data-service="1"] {
    animation-delay: 0.1s;
}

.service-card[data-service="2"] {
    animation-delay: 0.2s;
}

.service-card[data-service="3"] {
    animation-delay: 0.3s;
}

.service-card[data-service="4"] {
    animation-delay: 0.4s;
}

@keyframes card-reveal {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

/* Background animé */
.card-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
    animation-delay: 0s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: -30px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent);
    animation-delay: 4s;
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 30px);
    }
}

/* Numéro de carte */
.card-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.08);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
    transition: all 0.6s ease;
}

.service-card:hover .card-number {
    color: rgba(99, 102, 241, 0.15);
    transform: scale(1.1);
}

/* Icône SVG animée */
.card-visual {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 40px rgba(99, 102, 241, 0.3));
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations SVG */
.animated-icon circle {
    animation: circle-pulse 3s ease-in-out infinite;
}

.animated-icon circle:nth-child(1) {
    animation-delay: 0s;
}

.animated-icon circle:nth-child(2) {
    animation-delay: 0.5s;
}

.animated-icon circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes circle-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.animated-icon line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: line-draw 3s ease-in-out infinite;
}

@keyframes line-draw {
    0%, 100% {
        stroke-dashoffset: 100;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.animated-icon path {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: path-draw 4s ease-in-out infinite;
}

@keyframes path-draw {
    0%, 100% {
        stroke-dashoffset: 150;
        opacity: 0.5;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 20px 60px rgba(99, 102, 241, 0.5));
}

/* Contenu de la carte */
.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #eaf0ff;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.service-card:hover .card-title {
    color: #ffffff;
}

.card-description {
    font-size: 14px;
    color: rgba(234, 240, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Features list */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    color: rgba(234, 240, 255, 0.8);
    font-size: 13px;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.card-features li:last-child {
    border-bottom: none;
}

.service-card:hover .card-features li {
    padding-left: 8px;
}

.feature-icon {
    color: #6366f1;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-card:hover .feature-icon {
    transform: translateX(4px);
}

/* Métriques */
.card-metrics {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 18px;
}

.metric {
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
}

.metric-label {
    display: block;
    font-size: 11px;
    color: rgba(234, 240, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Button */
.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    color: #a5b4fc;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-cta:hover {
    transform: translateX(8px);
    border-color: rgba(99, 102, 241, 0.6);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.card-cta:hover::before {
    opacity: 1;
}

.card-cta span,
.card-cta svg {
    position: relative;
    z-index: 1;
}

.card-cta svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-cta:hover svg {
    transform: translateX(4px);
}

/* ===== CARTES SERVICES UNIFORMES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card-uniform {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 420px;
    padding: 28px;
    background: rgba(18, 18, 26, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.service-card-uniform .card-visual {
    width: 56px;
    height: 56px;
    margin: 0 0 20px 0;
    color: #6366f1;
}

.service-card-uniform .service-icon-simple {
    width: 100%;
    height: 100%;
}

.service-card-uniform .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #eaf0ff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.service-card-uniform .card-description {
    font-size: 14px;
    color: rgba(234, 240, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 100%;
}

.service-card-uniform .card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-card-uniform .card-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(234, 240, 255, 0.85);
    border: none;
}

.service-card-uniform .feature-icon {
    color: #6366f1;
    font-size: 12px;
}

.service-card-uniform .card-metric-single {
    margin-top: auto;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card-uniform .metric-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
}

.service-card-uniform .metric-label {
    display: block;
    font-size: 12px;
    color: rgba(234, 240, 255, 0.5);
}

.service-card-uniform .card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 10px;
    color: #a5b4fc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card-uniform .card-cta:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(139, 92, 246, 0.35));
    color: #fff;
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateX(4px);
}

.service-card-uniform .card-cta svg {
    transition: transform 0.3s ease;
}

.service-card-uniform .card-cta:hover svg {
    transform: translateX(2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-showcase {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-uniform {
        min-height: 380px;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .hero-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .services-premium {
        padding: 80px 0;
    }
    
    .services-container {
        padding: 0 20px;
    }
    
    .services-hero {
        margin-bottom: 32px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .services-showcase {
        gap: 16px;
    }

    .services-grid {
        gap: 16px;
    }
    
    .service-card {
        padding: 20px;
    }

    .service-card-uniform {
        padding: 24px;
        min-height: 360px;
    }

    .service-card-uniform .card-visual {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .service-card-uniform .card-title {
        font-size: 16px;
    }

    .service-card-uniform .card-description {
        font-size: 13px;
    }

    .service-card-uniform .metric-value {
        font-size: 18px;
    }
    
    .card-visual {
        width: 100px;
        height: 100px;
        margin-bottom: 16px;
    }
    
    .card-number {
        font-size: 40px;
        top: 20px;
        right: 20px;
    }
    
    .card-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .card-description {
        font-size: 13px;
        margin-bottom: 14px;
    }
    
    .card-features {
        margin-bottom: 14px;
    }
    
    .card-features li {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .card-metrics {
        flex-direction: column;
        gap: 12px;
        padding: 14px 0;
        margin-bottom: 14px;
    }
    
    .metric-value {
        font-size: 20px;
    }
    
    .metric-label {
        font-size: 10px;
    }
    
    .card-cta {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* Désactiver certaines animations sur mobile */
    .bg-grid {
        animation: none;
    }
    
    .animated-icon circle,
    .animated-icon line,
    .animated-icon path {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* ===== WORKFLOWS LINK SECTION ===== */

.workflows-link-section {
    padding: 80px 0;
    position: relative;
}

.workflows-link-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.workflows-link-card {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 42, 0.8), rgba(18, 18, 26, 0.8));
    backdrop-filter: blur(30px);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.workflows-link-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
    border-radius: 32px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.workflows-link-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 30px 80px rgba(99, 102, 241, 0.3),
        0 0 100px rgba(139, 92, 246, 0.2);
}

.workflows-link-card:hover::before {
    opacity: 1;
}

.workflows-link-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    color: #6366f1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflows-link-card:hover .workflows-link-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(99, 102, 241, 0.4);
}

.workflows-link-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #eaf0ff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.workflows-link-card p {
    font-size: 18px;
    color: rgba(234, 240, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.6;
}

.workflows-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.workflows-link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.workflows-link-btn:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.5),
        0 0 80px rgba(139, 92, 246, 0.3);
}

.workflows-link-btn:hover::before {
    opacity: 1;
}

.workflows-link-btn span,
.workflows-link-btn svg {
    position: relative;
    z-index: 1;
}

.workflows-link-btn svg {
    transition: transform 0.4s ease;
}

.workflows-link-btn:hover svg {
    transform: translateX(6px);
}

/* ===== AI TOOLS SECTION ===== */

.ai-tools-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #0a0a0f 0%, #0f0f17 100%);
    position: relative;
    overflow: hidden;
}

.ai-tools-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.tools-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.tools-header {
    text-align: center;
    margin-bottom: 30px;
}

.tools-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.tools-title {
    font-size: 32px;
    font-weight: 700;
    color: #eaf0ff;
    margin-bottom: 12px;
}

.tools-subtitle {
    font-size: 15px;
    color: rgba(234, 240, 255, 0.6);
    max-width: 500px;
    margin: 0 auto;
}

.tools-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.tools-carousel {
    display: flex;
    gap: 40px;
    animation: scroll-infinite 30s linear infinite;
    width: fit-content;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tools-carousel:hover {
    animation-play-state: paused;
}

.tool-logo-item {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tool-logo-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.tool-logo-item:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.tool-logo-item:hover::before {
    opacity: 1;
}

.tool-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.tool-logo-item:hover img {
    transform: scale(1.1) rotate(3deg);
}

/* ===== CLIENTS TRUST SECTION ===== */
.clients-trust {
    padding: 80px 0;
    background: rgba(15, 15, 25, 0.5);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.clients-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.clients-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: rgba(234, 240, 255, 0.9);
    margin-bottom: 60px;
}

.clients-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.clients-carousel {
    display: flex;
    gap: 80px;
    animation: scroll-infinite 40s linear infinite;
    width: fit-content;
}

.clients-carousel:hover {
    animation-play-state: paused;
}

.client-logo-item, .client-placeholder {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: all 0.3s ease;
}

.client-logo-item:hover, .client-placeholder:hover {
    background: rgba(28, 28, 38, 0.8);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.client-logo-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) grayscale(0.3);
    transition: filter 0.3s ease;
}

.client-logo-item:hover img {
    filter: brightness(1) grayscale(0);
}

.client-icon {
    font-size: 48px;
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.client-placeholder:hover .client-icon {
    opacity: 0.8;
    transform: scale(1.1);
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .tool-logo-item {
        width: 120px;
        height: 120px;
        padding: 24px;
    }
    
    .tools-carousel {
        gap: 50px;
    }

    .client-logo-item, .client-placeholder {
        width: 150px;
        height: 100px;
        padding: 24px;
    }
    
    .clients-carousel {
        gap: 60px;
    }
    
    .client-icon {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .workflows-link-section,
    .ai-tools-section,
    .clients-trust {
        padding: 60px 0;
    }
    
    .workflows-link-container,
    .tools-container {
        padding: 0 20px;
    }
    
    .workflows-link-card {
        padding: 40px 32px;
    }
    
    .workflows-link-card h3 {
        font-size: 24px;
    }
    
    .workflows-link-card p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .workflows-link-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 24px;
    }
    
    .workflows-link-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .tools-title {
        font-size: 36px;
    }
    
    .tool-logo-item {
        width: 100px;
        height: 100px;
        padding: 20px;
    }
    
    .tools-carousel {
        gap: 40px;
    }

    .client-logo-item, .client-placeholder {
        width: 120px;
        height: 80px;
        padding: 20px;
    }
    
    .clients-carousel {
        gap: 40px;
    }
    
    .client-icon {
        font-size: 32px;
    }
    
    .clients-title {
        font-size: 24px;
        margin-bottom: 40px;
    }
}

/* ===== NOS AUTOMATISATIONS (DESIGN SORA) ===== */
.services-premium.services-automations {
    background: #000000;
    font-family: 'Sora', sans-serif;
}

.services-premium.services-automations .services-container {
    padding: clamp(3rem, 8vw, 5rem) var(--container-padding, 1.5rem);
}

.services-automations-wrap {
    position: relative;
}

.automations-content {
    flex: 1;
    min-width: 0;
}

/* Header */
.automations-header {
    margin-bottom: 60px;
    opacity: 0;
    animation: automations-fadeInUp 0.8s ease forwards;
}

.automations-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    line-height: 1.35;
}

/* Seul "transforme" en accent violet */
.automations-title .title-highlight {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Bouton En savoir plus sur chaque carte : blanc avec animation */
.automations-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 12px 24px;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
    animation: automations-btn-glow 3s ease-in-out infinite;
}

.automations-card-btn:hover {
    background: #6b7280;
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(107, 114, 128, 0.4);
    animation: automations-btn-hover-pulse 0.6s ease-out;
}

.automations-card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.automations-card-btn::after {
    content: '';
    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.6s ease;
}

.automations-card:hover .automations-card-btn {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35);
}

.automations-card:hover .automations-card-btn::before {
    opacity: 1;
}

.automations-card:hover .automations-card-btn::after {
    left: 100%;
}

@keyframes automations-btn-hover-pulse {
    0% { transform: translateY(-3px) scale(1.05); }
    50% { transform: translateY(-4px) scale(1.08); }
    100% { transform: translateY(-3px) scale(1.05); }
}

/* Grid */
.automations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.automations-card {
    background: #000000;
    border: 1px solid #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    position: relative;
}

.automations-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.automations-card:hover {
    transform: translateY(-8px);
    border-color: #333;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.automations-card:hover::after {
    opacity: 1;
}

.automations-card:hover .card-image::before {
    animation-play-state: paused;
}

/* Card image area */
.services-premium.services-automations .card-image {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.services-premium.services-automations .card-image::before {
    content: '';
    position: absolute;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: automations-rotate 20s linear infinite;
}

.services-premium.services-automations .card-image.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.services-premium.services-automations .card-image.gradient-2 {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.services-premium.services-automations .card-image.gradient-3 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.services-premium.services-automations .card-image.gradient-4 {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
}

.services-premium.services-automations .card-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.automations-card:hover .card-icon {
    transform: scale(1.1) rotateZ(5deg);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.services-premium.services-automations .card-icon svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Shapes */
.services-premium.services-automations .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: automations-float 6s ease-in-out infinite;
}

.services-premium.services-automations .shape-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.services-premium.services-automations .shape-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.services-premium.services-automations .shape-3 {
    width: 30px;
    height: 30px;
    bottom: 30%;
    left: 70%;
    animation-delay: 4s;
}

/* Card content */
.services-premium.services-automations .card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.services-premium.services-automations .card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.services-premium.services-automations .card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999999;
}

.services-premium.services-automations .card-category {
    font-weight: 500;
}

.services-premium.services-automations .card-date {
    position: relative;
    padding-left: 12px;
}

.services-premium.services-automations .card-date::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    background: #999999;
    border-radius: 50%;
}

/* Ligne En savoir plus (gauche) + stat-badge (droite) */
.services-premium.services-automations .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 20px;
}

.services-premium.services-automations .card-footer .stat-badge {
    margin-top: 0;
    margin-left: auto;
}

.services-premium.services-automations .stat-badge {
    display: inline-block;
    margin-top: 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

/* Animations automatisations */
.automations-card {
    animation: automations-fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.automations-card:nth-child(1) { animation-delay: 0.1s; }
.automations-card:nth-child(2) { animation-delay: 0.2s; }
.automations-card:nth-child(3) { animation-delay: 0.3s; }
.automations-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes automations-btn-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 6px 28px rgba(255, 255, 255, 0.35);
    }
}

@keyframes automations-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes automations-float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-15px) translateX(5px); }
}

@keyframes automations-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive automatisations */
@media (max-width: 768px) {
    .services-premium.services-automations .services-container {
        padding: clamp(2.5rem, 6vw, 4rem) var(--container-padding, 1rem);
    }
    
    .automations-title {
        font-size: 24px;
    }
    
    .automations-header {
        margin-bottom: 40px;
    }
    
    .automations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-premium.services-automations .card-content {
        padding: 24px;
    }
    
    .services-premium.services-automations .card-title {
        font-size: 18px;
    }
}

/* Préférence mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    .services-premium *,
    .services-premium *::before,
    .services-premium *::after,
    .workflows-link-section *,
    .ai-tools-section * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .tools-carousel,
    .clients-carousel {
        animation: none !important;
    }
}
