:root{
    --primary:#6366F1;
    --primary-dark:#4F46E5;
    --primary-light:#818CF8;
    --accent:#EC4899;
    --dark:#0F172A;
    --gray:#64748B;
    --light:#F8FAFC;
    --white:#FFFFFF;
    --gradient-1:linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-2:linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    --gradient-3:linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    --bg-color: #FFFFFF;
    --text-color: #0F172A;
    --card-bg: #FFFFFF;
    --header-bg: rgba(255,255,255,0.95);
}

/* Mode sombre */
body.dark-mode {
    --bg-color: #0F172A;
    --text-color: #F8FAFC;
    --card-bg: #1E293B;
    --header-bg: rgba(15,23,42,0.95);
    --gray: #94A3B8;
    --light: #1E293B;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
    font-family:'Inter',sans-serif;
    color:var(--text-color);
    background:var(--bg-color);
    line-height:1.6;
    scroll-behavior:smooth;
    overflow-x:hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Loader au démarrage */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(99,102,241,0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
to { transform: rotate(360deg); }
}

/* Barre de progression scroll */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-1);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Layout */
.container{
    width:90%;
    max-width:1400px;   /* Cool ici */
    margin:auto;
}

/* Header avec animation scroll */
header{
    background:var(--header-bg);
    padding:20px 0;
    border-bottom:1px solid rgba(99,102,241,0.1);
    position:sticky;
    top:0;
    z-index:1000;
    backdrop-filter:blur(20px);
    box-shadow:0 4px 30px rgba(0,0,0,0.05);
    transition: padding 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

header.scrolled .logo svg {
    width: 280px;
    transition: width 0.3s ease;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo svg {
    transition: width 0.3s ease;
}

/* Menu burger mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul{
    list-style:none;
    display:flex;
    gap:35px;
    align-items: center;
}

nav a{
    text-decoration:none;
    color:var(--text-color);
    font-weight:600;
    transition:all 0.3s ease;
    position:relative;
    font-size:15px;
}

nav a::after{
    content:'';
    position:absolute;
    bottom:-5px;
    left:0;
    width:0;
    height:3px;
    background:var(--gradient-1);
    transition:width 0.3s ease;
    border-radius:2px;
}

nav a:hover::after{width:100%;}
nav a:hover{color:var(--primary);}

/* Toggle mode sombre/clair */
.theme-toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    background: rgba(99,102,241,0.1);
    transition: all 0.3s ease;
    font-size: 20px;
}

.theme-toggle:hover {
    background: rgba(99,102,241,0.2);
    transform: scale(1.1);
}

/* HERO */
.hero{
    padding:180px 0 160px 0;
    background:
    linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2000&auto=format&fit=crop"); 
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    text-align:center;
    position:relative;
    overflow:hidden;
}

.hero::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:linear-gradient(135deg, rgba(255,255,255,0.88) 0%, rgba(248,250,252,0.85) 100%);
    z-index:1;
}

body.dark-mode .hero::before {
    background:linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,41,59,0.8) 100%);
}

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

.hero h1{
    font-size:58px;
    font-weight:900;
    margin-bottom:25px;
    animation:fadeInUp 1s ease forwards;
    background:var(--gradient-1);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    line-height:1.2;
    letter-spacing:-1px;
    filter:drop-shadow(0 2px 10px rgba(99,102,241,0.3));
}

.hero p{
    font-size:22px;
    color:#0F172A;
    margin-bottom:40px;
    max-width:750px;
    margin-left:auto;
    margin-right:auto;
    animation:fadeInUp 1.2s ease forwards;
    font-weight:600;
    text-shadow:0 2px 8px rgba(255,255,255,0.8);
}

body.dark-mode .hero p {
    color: #E2E8F0;
    text-shadow:0 2px 8px rgba(0,0,0,0.5);
}

.btn{
    padding:16px 36px;
    border-radius:50px;
    font-weight:700;
    text-decoration:none;
    display:inline-block;
    margin:10px;
    transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size:16px;
    position:relative;
    overflow:hidden;
}

.btn::before{
    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.5s;
}

.btn:hover::before{left:100%;}

.btn-primary{
    background:var(--gradient-1);
    color:white;
    box-shadow:0 20px 40px rgba(99,102,241,0.3);
}

.btn-primary:hover{
    transform:translateY(-5px) scale(1.02);
    box-shadow:0 25px 50px rgba(99,102,241,0.4);
}

.btn-outline{
    border:2px solid var(--primary);
    color:var(--primary);
    background:white;
}

body.dark-mode .btn-outline {
    background: var(--card-bg);
}

.btn-outline:hover{
    background:var(--primary);
    color:white;
    transform:translateY(-5px);
    box-shadow:0 20px 40px rgba(99,102,241,0.2);
}

/* Sections */
.section{
    padding:120px 0;
    position:relative;
    overflow:hidden;
}

.section.cases-section{overflow:visible;}

.section.about{
    background: #f8fafc;
    padding-top:120px;
}

body.dark-mode .section.about {
    background: var(--light);
}

.section.cases-section{
    padding-top:120px;
    overflow:visible;
}

.section h2 {
    text-align:center;
    font-size:42px;
    margin-bottom:70px;
    font-weight:900;
    letter-spacing:-1px;
    position:relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.section h2::after{
    content:'';
    position:absolute;
    bottom:-15px;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:5px;
    background:var(--gradient-1);
    border-radius:3px;
}

.section:nth-child(even){
    background:linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
}

body.dark-mode .section:nth-child(even) {
    background:linear-gradient(135deg, #1E293B 0%, #1E293B 100%);
}

/* Cards avec effet glassmorphism */
.cards{
    display:grid;
    /* AVANT */
    /* grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap:40px;
    perspective:1000px; */
    /* APRÈS */
    grid-template-columns: repeat(4, 1fr);
    gap:45;
    perspective:1000px;
}

.card{
    background:var(--card-bg);
    padding:45px;
    border-radius:25px;
    box-shadow:0 25px 60px rgba(0,0,0,0.08);
    transition:all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity:0;
    transform:translateY(50px) rotateX(10deg);
    border:1px solid rgba(99,102,241,0.1);
    position:relative;
    overflow:hidden;
}

.card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:var(--gradient-1);
    transform:scaleX(0);
    transition:transform 0.5s ease;
}

.card:hover::before{transform:scaleX(1);}

.card:hover {
    transform:translateY(-15px) scale(1.02);
    box-shadow:0 35px 80px rgba(99,102,241,0.15);
    backdrop-filter: blur(10px);
}

.card-img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:18px;
    margin-bottom:25px;
    transition:transform 0.5s ease;
}

.card:hover .card-img{transform:scale(1.05);}

.card h3{
    font-size:22px;
    margin-bottom:15px;
    font-weight:800;
    color:var(--text-color);
}

.card p{
    color:var(--gray);
    font-size:16px;
    line-height:1.7;
}

.card.show{
    opacity:1;
    transform:translateY(0) rotateX(0);
}

.price{
    font-size:15px;
    color:var(--primary);
    margin-top:20px;
    font-weight:700;
    padding:10px 20px;
    background:rgba(99,102,241,0.1);
    border-radius:20px;
    display:inline-block;
}

/* About avec icônes SVG modernes */
.about .container{position:relative;z-index:2;}

.about h2{color:var(--text-color);}
.about h2::after{background:var(--gradient-1);}

.about p{
    max-width:800px;
    margin:auto;
    color:var(--gray);
    font-size:19px;
    line-height:1.8;
    font-weight:500;
}

.about-images{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:30px;
    margin:60px auto;
    max-width:1000px;
}

.about-img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,0.1);
    transition:transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img:hover{
    transform:scale(1.05) translateY(-10px);
    box-shadow:0 30px 70px rgba(0,0,0,0.15);
}

.about-features{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:40px;
    margin-top:60px;
}

.feature-item{
    padding:30px;
    background:linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(236,72,153,0.05) 100%);
    border-radius:20px;
    transition:transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 10px;
    opacity: 0.1;
}

.feature-item:hover{transform:translateY(-5px);}

.feature-item h4{
    font-size:20px;
    margin-bottom:10px;
    color:var(--primary);
    font-weight:800;
}

.feature-item p{
    font-size:15px;
    color:var(--gray);
    line-height:1.6;
    margin:0;
}

/* Case Studies */
.case-slider{
    position:relative;
    max-width:1000px;
    margin:0 auto;
    overflow:hidden;
    padding:0 60px;
}

.case-track{
    display:flex;
    transition:transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-slide{
    min-width:100%;
    background:var(--card-bg);
    color:var(--text-color);
    padding:50px;
    border-radius:25px;
    text-align:left;
    opacity:0.4;
    transition:all 0.6s ease;
    position:relative;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,0.06);
    border:1px solid rgba(99,102,241,0.08);
}

.case-slide.active{
    opacity:1;
    box-shadow:0 20px 60px rgba(99,102,241,0.12);
}

.case-header{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:30px;
    padding-bottom:20px;
    border-bottom:1px solid rgba(99,102,241,0.1);
}

.case-number{
    font-size:48px;
    font-weight:900;
    background:var(--gradient-1);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    line-height:1;
    min-width:60px;
}

.case-title-block h3{
    font-size:22px;
    font-weight:800;
    color:var(--text-color);
    margin:0;
    line-height:1.3;
}

.case-category{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1.5px;
    color:var(--primary);
    font-weight:700;
    margin-top:5px;
}

.case-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:35px;
    margin-bottom:30px;
}

.case-info p{
    font-size:14px;
    line-height:1.8;
    margin-bottom:18px;
    color:var(--gray);
}

.case-info strong{
    font-weight:700;
    color:var(--text-color);
    display:block;
    margin-bottom:5px;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:0.5px;
}

.case-metrics{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.metric-box{
    background:linear-gradient(135deg, rgba(99,102,241,0.05) 0%, rgba(236,72,153,0.05) 100%);
    padding:20px;
    border-radius:15px;
    border-left:3px solid var(--primary);
}

.metric-label{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:1px;
    color:var(--gray);
    margin-bottom:8px;
    font-weight:600;
}

.metric-value{
    font-size:24px;
    font-weight:900;
    background:var(--gradient-1);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    line-height:1.2;
}

/* Compteur animé */
.metric-value.counter {
    opacity: 0;
}

.case-tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:25px;
}

.tag{
    padding:6px 14px;
    background:rgba(99,102,241,0.08);
    border-radius:20px;
    font-size:11px;
    font-weight:600;
    color:var(--primary);
    letter-spacing:0.3px;
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:white;
    border:none;
    font-size:28px;
    cursor:pointer;
    padding:15px 20px;
    border-radius:50%;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
    transition:all 0.3s ease;
    color:var(--primary);
    font-weight:bold;
    z-index:10;
}

body.dark-mode .slider-btn {
    background: var(--card-bg);
}

.prev{left:20px;}
.next{right:20px;}

.slider-btn:hover{
    background:var(--primary);
    color:white;
    transform:translateY(-50%) scale(1.1);
    box-shadow:0 15px 40px rgba(0,0,0,0.3);
}

/* Formulaire avec validation */
form{
    max-width:650px;
    margin:50px auto 0 auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-group {
    position: relative;
}

input, textarea{
    padding:18px 24px;
    border-radius:15px;
    border:2px solid #E2E8F0;
    font-size:16px;
    transition:all 0.3s ease;
    background:var(--card-bg);
    font-family:'Inter',sans-serif;
    color: var(--text-color);
    width: 100%;
}

input:focus, textarea:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 5px rgba(99,102,241,0.1);
    transform:translateY(-2px);
}

input.invalid {
    border-color: #EF4444;
}

input.valid {
    border-color: #10B981;
}

.error-message {
    color: #EF4444;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

input.invalid ~ .error-message {
    display: block;
}

textarea{min-height:150px;}

/* Footer */
footer{
    background:linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color:white;
    padding:80px 0 30px 0;
    margin-top:60px;
    position:relative;
    overflow:hidden;
}

footer::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:var(--gradient-1);
}

.footer-content{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:50px;
    margin-bottom:50px;
}

.footer-section h3{
    font-size:18px;
    font-weight:800;
    margin-bottom:20px;
    background:var(--gradient-1);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.footer-about p{
    color:rgba(255,255,255,0.7);
    line-height:1.8;
    font-size:14px;
    margin-bottom:20px;
}

.footer-contact-item{
    display:flex;
    align-items:start;
    gap:12px;
    margin-bottom:15px;
    color:rgba(255,255,255,0.8);
    font-size:14px;
    transition:color 0.3s ease;
}

.footer-contact-item:hover{color:white;}

.footer-contact-item i{
    font-size:18px;
    color:var(--primary-light);
    margin-top:2px;
    min-width:20px;
}

.footer-links{list-style:none;}

.footer-links li{margin-bottom:12px;}

.footer-links a{
    color:rgba(255,255,255,0.7);
    text-decoration:none;
    font-size:14px;
    transition:all 0.3s ease;
    display:inline-block;
}

.footer-links a:hover{
    color:white;
    transform:translateX(5px);
}

.footer-social{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.social-icon{
    width:40px;
    height:40px;
    background:rgba(255,255,255,0.1);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    text-decoration:none;
    font-size:18px;
    transition:all 0.3s ease;
    border:1px solid rgba(255,255,255,0.1);
}

.social-icon:hover{
    background:var(--gradient-1);
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(99,102,241,0.3);
    border-color:transparent;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.1);
    padding-top:30px;
    text-align:center;
    color:rgba(255,255,255,0.6);
    font-size:14px;
}

.footer-bottom p{margin:5px 0;}

/* Bouton retour en haut */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99,102,241,0.3);
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99,102,241,0.4);
}

/* Animations */
@keyframes fadeInUp{
    from{opacity:0;transform:translateY(40px);}
    to{opacity:1;transform:translateY(0);}
}

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

.floating{animation:float 6s ease-in-out infinite;}

/* Indicateurs de slide */
.slide-indicators{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:30px;
}

.indicator{
    width:12px;
    height:12px;
    border-radius:50%;
    background:rgba(99,102,241,0.3);
    cursor:pointer;
    transition:all 0.3s ease;
}

.indicator.active{
    background:var(--primary);
    width:30px;
    border-radius:6px;
}

/* Responsive Mobile */
@media(max-width:768px){
    .hero h1{font-size:38px;}
    .hero p{font-size:18px;}
    .section h2{font-size:32px;}
    nav ul{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    nav ul.active {
    display: flex;
    }

    .mobile-menu-toggle {
    display: flex;
    }

    .slider-btn{padding:10px 15px; font-size:20px;}
    .prev{left:10px;}
    .next{right:10px;}
    .cards{grid-template-columns:1fr;}
    .footer-content{grid-template-columns:1fr;gap:40px;}
    .case-content{grid-template-columns:1fr;gap:25px;}
    .case-metrics{grid-template-columns:1fr;}
}

/* Section Équipe */

.team-section {
    background: var(--bg-color);
    padding: 120px 0;
}

.team-intro {
    text-align: center;
    font-size: 20px;
    color: var(--gray);
    max-width: 600px;
    margin: -40px auto 80px;
    font-weight: 300;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

.member-photo {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary);
    box-shadow: 0 15px 40px rgba(99,102,241,0.2);
    transition: all 0.4s ease;
}

.member-photo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 60px rgba(99,102,241,0.3);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.member-photo:hover img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99,102,241,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-photo:hover .member-overlay {
    opacity: 1;
}

.member-social {
    display: flex;
    gap: 15px;
}

.member-social a {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.member-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-color);
}

.member-role {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* Section Logos Clients avec défilement */
.clients-section {
    background: var(--light);
    padding: 100px 0;
    overflow: hidden;
}

body.dark-mode .clients-section {
    background: var(--card-bg);
}

.clients-section h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 70px;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-color);
}

.clients-slider {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.clients-slider::before,
.clients-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--light), transparent);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--light), transparent);
}

body.dark-mode .clients-slider::before {
    background: linear-gradient(to right, var(--card-bg), transparent);
}

body.dark-mode .clients-slider::after {
    background: linear-gradient(to left, var(--card-bg), transparent);
}

.clients-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

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

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

.client-logo {
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    min-height: 120px;
    min-width: 200px;
    flex-shrink: 0;
}

body.dark-mode .client-logo {
    background: rgba(30,41,59,0.5);
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(99,102,241,0.15);
}

.client-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
}

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

/* Responsive */
@media(max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        order: 3;
    }
    
    .clients-track {
        gap: 20px;
        animation: scroll 20s linear infinite;
    }
    
    .client-logo {
        min-width: 160px;
        padding: 20px;
    }
}

/* Boutons langue */
.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;  /* Positionne les boutons tout à droite */
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

