/* ========================================
   K CLIENTS PAGE STYLES
   ======================================== */

/* Variables */
:root {
    --night-blue: #0A1128;
    --cyber-cyan: #00D9FF;
    --neon-pink: #FF006B;
    --electric-green: #00FF9F;
    --white: #FFFFFF;
}

/* ========================================
   HERO SECTION
   ======================================== */

.k-clients-hero {
    background: var(--night-blue);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.k-clients-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 107, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.k-clients-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.k-clients-hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.k-logo-hero {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.6));
}

.k-clients-hero-title h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.k-clients-hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   CLIENTS GRID SECTION
   ======================================== */

.k-clients-section {
    background: var(--white);
    padding: 120px 0;
}

.k-clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   CLIENT CARD
   ======================================== */

.k-client-card {
    background: #ffffff;
    border: 1px solid var(--cyber-cyan);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.k-client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 217, 255, 0.05) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.k-client-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(0, 217, 255, 0.3),
        0 0 0 2px var(--cyber-cyan);
}

.k-client-card:hover::before {
    opacity: 1;
}

/* ========================================
   CLIENT LOGO
   ======================================== */

.k-client-logo-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
}

.k-client-logo {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.k-client-card:hover .k-client-logo {
    transform: scale(1.05);
}

/* Logo Hectar - fond noir pour préserver le texte blanc */
.k-client-logo[alt="Hectar"] {
    background: #000000;
    padding: 10px;
}

/* ========================================
   CLIENT INFO
   ======================================== */

.k-client-info {
    position: relative;
    z-index: 2;
}

.k-client-name {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--night-blue);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.k-client-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: rgba(10, 17, 40, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */

.k-clients-cta {
    background: var(--night-blue);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.k-clients-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 0, 107, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

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

.k-clients-cta h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.k-clients-cta p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px 0;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
    .k-clients-hero {
        padding: 140px 0 80px;
    }

    .k-clients-hero-title h1 {
        font-size: 3.5rem;
    }

    .k-logo-hero {
        width: 60px;
    }

    .k-clients-hero-subtitle {
        font-size: 1.2rem;
    }

    .k-clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .k-clients-cta h2 {
        font-size: 2.5rem;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 768px) {
    .k-clients-hero {
        padding: 120px 0 60px;
    }

    .k-clients-hero-title {
        flex-direction: column;
        gap: 15px;
    }

    .k-clients-hero-title h1 {
        font-size: 2.5rem;
    }

    .k-logo-hero {
        width: 50px;
    }

    .k-clients-hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .k-clients-section {
        padding: 80px 0;
    }

    .k-clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .k-client-card {
        padding: 30px 20px;
    }

    .k-client-logo-wrapper {
        height: 140px;
        padding: 15px;
    }

    .k-client-logo {
        max-height: 100px;
    }

    .k-client-name {
        font-size: 1.2rem;
    }

    .k-client-description {
        font-size: 0.9rem;
    }

    .k-clients-cta {
        padding: 80px 20px;
    }

    .k-clients-cta h2 {
        font-size: 2rem;
    }

    .k-clients-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .k-clients-hero-title h1 {
        font-size: 2rem;
    }

    .k-logo-hero {
        width: 40px;
    }

    .k-clients-hero-subtitle {
        font-size: 1rem;
    }

    .k-clients-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .k-client-card {
        padding: 25px 15px;
    }

    .k-clients-cta h2 {
        font-size: 1.8rem;
    }

    .k-clients-cta p {
        font-size: 1rem;
    }
}