/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #8c52ff;
    --primary-dark: #6a3ac2;
    --primary-light: #a774ff;
    --secondary-color: #ff4fc3;
    --dark-color: #121026;
    --dark-light: #1e1a3c;
    --light-color: #ffffff;
    --grey-color: #f5f5f7;
    --grey-dark: #dedee6;
    
    --gradient-bg: linear-gradient(135deg, var(--dark-color) 0%, var(--dark-light) 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 15px 35px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
    
    --container-width-lg: 1200px;
    --container-width-md: 960px;
    --container-width-sm: 720px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-color);
    background: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.container {
    width: 90%;
    max-width: var(--container-width-lg);
    margin: 0 auto;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    display: inline-block;
    position: relative;
    z-index: 1;
}

.section-header h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.section-header p {
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 18px;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn i {
    margin-right: 10px;
    font-size: 18px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--light-color);
    box-shadow: 0 7px 20px rgba(140, 82, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(140, 82, 255, 0.5);
    transform: translateY(-3px);
    color: var(--light-color);
}

.btn-outline {
    background: transparent;
    color: var(--light-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-cta {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 18px 36px;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(140, 82, 255, 0.4);
}

.btn-cta:hover {
    background: var(--primary-light);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(140, 82, 255, 0.5);
}

.btn-block {
    display: block;
    width: 100%;
}

/*--------------------------------------------------------------
# Background Particles
--------------------------------------------------------------*/
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/*--------------------------------------------------------------
# Header (Corrigé pour conserver la forme arrondie + glassmorphism)
--------------------------------------------------------------*/
#header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 0;
}

#header .container {
    background: rgba(30, 26, 60, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 60px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

#header.sticky {
    top: 0;
}

#header.sticky .container {
    border-radius: 60px; /* Gardé arrondi même en sticky */
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--light-color);
}

.logo-icon {
    font-size: 24px;
    margin-right: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

.logo-text span {
    color: var(--primary-color);
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav ul li a {
    color: var(--light-color);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: var(--primary-color);
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 5px;
}

.desktop-nav ul li a:hover::after,
.desktop-nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--light-color);
    transition: var(--transition);
    border-radius: 5px;
}

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

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark-light);
    z-index: 999;
    transition: var(--transition);
    box-shadow: var(--shadow-strong);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
    color: var(--light-color);
}

.mobile-menu ul {
    padding: 30px 20px;
    flex-grow: 1;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-menu ul li a {
    color: var(--light-color);
    font-weight: 500;
    font-size: 18px;
    transition: var(--transition);
    display: block;
    padding: 10px 0;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
    color: var(--primary-color);
    transform: translateX(10px);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact {
    display: flex;
    align-items: center;
    color: var(--light-color);
    font-size: 14px;
}

.mobile-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(140, 82, 255, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    opacity: 0.6;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.dashboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-title {
    font-weight: 600;
    color: var(--light-color);
}

.dashboard-controls {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.dashboard-body {
    padding: 20px;
}

.stats-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light-color);
}

.stat-trend {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.stat-trend.up {
    color: #4cd137;
}

.stat-trend.down {
    color: #e84118;
}

.stat-trend.up::before,
.stat-trend.down::before {
    content: '';
    display: inline-block;
    margin-right: 5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.stat-trend.up::before {
    border-bottom: 5px solid #4cd137;
}

.stat-trend.down::before {
    border-top: 5px solid #e84118;
}

.chart {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200'%3E%3Cpath fill='none' stroke='rgba(140, 82, 255, 0.8)' stroke-width='4' d='M0,150 C50,120 100,140 150,100 C200,60 250,80 300,60 C350,40 400,20 450,30 C500,40 550,100 600,90 C650,80 700,20 750,30 C800,40 850,100 900,110 C950,120 1000,90 1050,80 C1100,70 1150,90 1200,70' /%3E%3C/svg%3E") center/cover no-repeat;
}

.hero-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero-scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-color);
    font-size: 14px;
    opacity: 0.7;
    transition: var(--transition);
}

.hero-scroll-down a:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.hero-scroll-down i {
    margin-top: 8px;
    font-size: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
    background: var(--dark-light);
    position: relative;
    padding-bottom: 120px;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

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

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--light-color);
    position: relative;
    z-index: 1;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover .service-icon::before {
    transform: scale(1.2);
    opacity: 0;
}

.meta-icon {
    color: #4267B2;
}

.tiktok-icon {
    color: #ff0050;
}

.google-icon {
    color: #4285F4;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--light-color);
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.service-image {
    margin: 20px 0;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius-sm);
}

.service-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: var(--border-radius-sm);
    opacity: 0.8;
}

.service-card:hover .service-illustration {
    transform: scale(1.05);
    opacity: 1;
}

.service-features {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 16px;
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Methodology Section (Corrigé la timeline et son responsive)
--------------------------------------------------------------*/
.methodology {
    position: relative;
    padding-bottom: 120px;
}

.methodology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%23a774ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    opacity: 0.5;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--light-color);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 30px;
    width: calc(50% - 50px);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: rgba(140, 82, 255, 0.3);
}

.timeline-item:nth-child(even) .timeline-icon {
    right: auto;
    left: 20px;
}

/*--------------------------------------------------------------
# Case Studies Section (Corrections pour images et chiffres)
--------------------------------------------------------------*/
.case-studies {
    background: var(--dark-light);
    position: relative;
    padding-bottom: 120px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 40px;
}

.case-study {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.case-study:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.1);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.case-header h3 {
    margin-bottom: 0;
    color: var(--light-color);
}

.case-platform {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.case-platform span {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.case-platform span i {
    margin-right: 5px;
    font-size: 14px;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    text-align: center;
}

.result-value {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.result-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

.case-visual {
    margin-top: 30px;
}

.case-image {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.case-illustration {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.case-study:hover .case-illustration {
    transform: scale(1.05);
    opacity: 1;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
}

.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonials-swiper {
    padding: 30px 10px;
    overflow: visible;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-weight: 600;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--light-color);
}

.author-info p {
    margin-bottom: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    opacity: 0.7;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gradient-primary) !important;
}

/*--------------------------------------------------------------
# Trust Features Section
--------------------------------------------------------------*/
.trust-features {
    background: var(--dark-light);
    position: relative;
    padding-bottom: 120px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    transition: var(--transition);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--light-color);
    font-size: 20px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 15px;
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(140, 82, 255, 0.2), rgba(255, 79, 195, 0.2));
    z-index: -1;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    background: var(--dark-light);
    position: relative;
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 5px;
    font-size: 18px;
    color: var(--light-color);
}

.info-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.info-content a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--primary-color);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
    font-size: 16px;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-5px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--light-color);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 40px;
}

.contact-form select option {
    background: var(--dark-color);
    color: var(--light-color);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: var(--dark-color);
    padding: 80px 0 30px;
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 20px;
}

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

.footer-col h4 {
    color: var(--light-color);
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links, 
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    font-size: 14px;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--light-color);
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(140, 82, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(140, 82, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(140, 82, 255, 0);
    }
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media screen and (max-width: 1200px) {
    h1 {
        font-size: 50px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 992px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .dashboard-container {
        max-width: 400px;
    }
    
    .case-results {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    #header .container {
        border-radius: 30px;
        padding: 15px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    /* Correction pour le dashboard sur mobile */
    .dashboard {
        transform: none !important;
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    /* Correction pour la timeline */
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 40px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
        margin-right: 0;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .dashboard-container {
        max-width: 280px;
    }
    
    .timeline-content {
        padding: 20px;
        width: calc(100% - 80px);
        margin-left: 20px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .case-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .case-platform {
        flex-direction: row;
        gap: 15px;
    }
}

/* Specific responsive adjustments for testimonials */
@media screen and (max-width: 576px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-content p {
        font-size: 14px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 12px;
    }
}
