/* ===================================
   CLIENTS PAGE - clients-page.css
   Couleurs site : #2563eb / #06b6d4
   =================================== */

/* ── Hero ── */
.clients-hero {
    padding: 9rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.clients-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.clients-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%,
        rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.clients-glow-left {
    position: absolute; left: -200px; top: 50%;
    transform: translateY(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.clients-glow-right {
    position: absolute; right: -200px; top: 50%;
    transform: translateY(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.clients-hero-inner { position: relative; z-index: 2; }

/* Section tag */
.clients-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #06b6d4;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.tag-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #06b6d4;
    animation: tagBlink 2s infinite;
    flex-shrink: 0;
}

@keyframes tagBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(1.8); }
}

.clients-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--light-text);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.clients-title em {
    font-style: normal;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.clients-subtitle {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Marquee Section ── */
.clients-marquee-section {
    padding: 1rem 0 3rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Fade edges - adaptés au dark background du site */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 160px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #0f172a 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, #0f172a 0%, transparent 100%);
}

/* Track */
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-track.reverse {
    animation: marqueeReverse 38s linear infinite;
}

.marquee-track.reverse:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

/* ── Logo Card ── */
.logo-card {
    display: flex;
    align-items: center;
    gap: 14px;
    /* Fond dégradé bleu du site */
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.12) 0%,
        rgba(6, 182, 212, 0.08) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    padding: 16px 24px;
    margin: 0 10px;
    flex-shrink: 0;
    cursor: default;
    transition: background 0.35s, border-color 0.35s, transform 0.35s, box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}

.logo-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.15) 0%,
        rgba(6, 182, 212, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.35s;
}

.logo-card:hover {
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.25) 0%,
        rgba(6, 182, 212, 0.15) 100%);
    border-color: #2563eb;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.25),
                0 0 0 1px rgba(6, 182, 212, 0.15);
}

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

/* ── Logo Image (remplace l'avatar texte) ── */
.logo-img-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: white;
    padding: 5px;
    flex-shrink: 0;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.logo-card:hover .logo-img-avatar {
    transform: rotate(-4deg) scale(1.1);
}

/* Logo info */
.logo-info { display: flex; flex-direction: column; gap: 3px; }

.logo-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #2563eb;
    white-space: nowrap;
    transition: color 0.3s;
}

.logo-card:hover .logo-name { color: #06b6d4; }

.logo-sector {
    font-size: 0.72rem;
    color: #06b6d4;
    white-space: nowrap;
    font-weight: 500;
    transition: color 0.3s;
}

.logo-card:hover .logo-sector { color: #2563eb; }

/* ── Stats Bar ── */
.clients-stats-bar {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.04) 0%,
        rgba(6, 182, 212, 0.04) 100%);
}

.clients-stats-row {
     display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.clients-stat-item { text-align: center;
    min-width: 150px;
}

.clients-stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.clients-stat-label {
    font-size: 0.85rem;           /* ← Légèrement plus grand */
    color: #94a3b8 !important;     /* ← Gris clair visible */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 1 !important;         /* ← Force l'opacité */
    display: block !important;     /* ← Force l'affichage */
}

.clients-stat-divider {
    width: 1px;
    background: rgba(37, 99, 235, 0.25);
    height: 48px;
    align-self: center;
}

/* ── CTA Section ── */
.clients-cta {
    padding: 4rem 0 5rem;
    position: relative;
    z-index: 2;
}

.clients-cta-box {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 16px 48px rgba(37, 99, 235, 0.3);
}

.clients-cta-box .cta-title {
    color: white;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.clients-cta-box .cta-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.clients-cta-box .cta-btn {
    background: white !important;
    color: #2563eb !important;
    border-color: white !important;
    font-weight: 700;
    padding: 0.85rem 2.5rem;
    border-radius: 10px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.clients-cta-box .cta-btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .clients-hero { padding: 8rem 0 3rem; }
    .clients-stats-row { gap: 1.5rem; }
    .clients-stat-divider { display: none; }
    .clients-cta-box { padding: 2rem 1.5rem; }
    .marquee-wrapper::before,
    .marquee-wrapper::after { width: 60px; }
}

@media (max-width: 480px) {
    .clients-stat-num { font-size: 2rem; }
    .logo-card { padding: 12px 16px; gap: 10px; }
    .logo-img-avatar { width: 40px; height: 40px; }
}