/* ===== ANIMATION D'INTRODUCTION ===== */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    text-align: center;
    transform-origin: center;
    animation: logoReveal 3s ease-in-out forwards;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 5.5rem;
    color: var(--text);
    position: relative;
    display: inline-block;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.logo-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

@keyframes logoReveal {
    0% {
        transform: scale(0.1) rotate(-10deg);
        opacity: 0;
    }
    30% {
        transform: scale(1.1) rotate(2deg);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    70% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(40);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive pour l'animation */
@media (max-width: 768px) {
    .logo-text {
        font-size: 3.5rem;
    }
    
    .logo-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 2.8rem;
    }
    
    .logo-subtitle {
        font-size: 1rem;
    }
}



:root {
            --primary: #651087f8;
            --primary-light: #8509ab;
            --primary-dark: #550d85;
            --secondary: #06d6a0;
            --secondary-light: #34d399;
            --dark: black;
            --dark-light: #1a1a2e;
            --dark-lighter: #252542;
            --text: #f8fafc;
            --text-light: #cbd5e1;
            --text-lighter: #e2e8f0;
            --accent: #f59e0b;
            --accent-light: #fbbf24;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--dark);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
            cursor: auto !important;
            margin-top: 1.5rem ;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
        }

      


        /* ===== SERVICES SECTION AMÉLIORÉE ===== */
.services {
    padding: 120px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

/* Section Title amélioré */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.title-badge {
    display: inline-block;
    background: rgba(101, 16, 135, 0.15);
    color: var(--text);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(101, 16, 135, 0.3);
    
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Service Cards améliorées */
.service-card {
    background: transparent;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(20%, 20%);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(101, 16, 135, 0.3),
        0 0 0 1px rgba(101, 16, 135, 0.2);
    border-color: rgba(101, 16, 135, 0.4);
}

/* Service Icon amélioré */
.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(101, 16, 135, 0.15), rgba(6, 214, 160, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(101, 16, 135, 0.2);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(101, 16, 135, 0.4);
}

/* Service Content */
.service-card h4 {
    margin-bottom: 1.5rem;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* Badge de catégorie */
.service-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(101, 16, 135, 0.2);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Indicateur d'action */
.service-action {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.service-card:hover .service-action {
    bottom: -20px;
    opacity: 1;
}

/* Stats des services */
.services-stats {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.service-stat {
    padding: 1.5rem;
}

.service-stat i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.service-stat h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.service-stat p {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .services-stats {
        padding: 2rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .service-stat {
        padding: 1rem;
    }
}


/* about home section */

/* ===== ELEGANT ABOUT SECTION ===== */
/* ============================================
   PERFORMANCE SECTION - DESIGN MODERNE TRANSPARENT
   Variables CSS
   ============================================ */
:root {
    --primary: #8B5CF6;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    --secondary: #F59E0B;
    --accent: #10B981;
    --accent-blue: #3B82F6;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-lighter: #9CA3AF;
    --white: #FFFFFF;
    --transparent: transparent;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ============================================
   Performance Section - Design Principal Sans Background
   ============================================ */
.performance-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.performance-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(245, 158, 11, 0.02) 0%, transparent 50%);
    z-index: -1;
}

.performance-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Section Header - Élégant Transparent
   ============================================ */
.section-header-elegant {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 20px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 12px 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.section-badge:hover {
    transform: translateY(-3px);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.badge-icon {
    color: var(--primary);
    font-size: 14px;
}

.badge-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title-elegant {
    font-size: 2.9rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.1;
}

.section-title-elegant .title-gradient {
    background: linear-gradient(135deg, 
        var(--white) 0%,
        var(--primary-light) 30%,
        var(--secondary) 70%,
        var(--white) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.section-subtitle-elegant {
    color: var(--text-lighter);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* ============================================
   Stats Grid - Design Glassmorphism
   ============================================ */
.stats-grid-glass {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.stat-card-glass {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.01) 100%
    );
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px 28px;
    text-align: center;
    transition: var(--transition-slow);
    overflow: hidden;
    cursor: pointer;
}

/* Effet de bordure animée */
.stat-card-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(45deg, 
        transparent 0%,
        var(--primary) 25%,
        var(--secondary) 50%,
        var(--primary) 75%,
        transparent 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

/* Arrière-plan de carte coloré au hover */
.stat-card-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.05) 0%,
        rgba(245, 158, 11, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

/* Effets Hover améliorés */
.stat-card-glass:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 100px rgba(139, 92, 246, 0.1);
}

.stat-card-glass:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

.stat-card-glass:hover::after {
    opacity: 1;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Couleurs spécifiques pour chaque carte au hover */
.stat-card-glass:nth-child(1):hover {
    background: linear-gradient(
        145deg,
        rgba(139, 92, 246, 0.1) 0%,
        rgba(139, 92, 246, 0.05) 100%
    );
}

.stat-card-glass:nth-child(2):hover {
    background: linear-gradient(
        145deg,
        rgba(245, 158, 11, 0.1) 0%,
        rgba(245, 158, 11, 0.05) 100%
    );
}

.stat-card-glass:nth-child(3):hover {
    background: linear-gradient(
        145deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(16, 185, 129, 0.05) 100%
    );
}

.stat-card-glass:nth-child(4):hover {
    background: linear-gradient(
        145deg,
        rgba(59, 130, 246, 0.1) 0%,
        rgba(59, 130, 246, 0.05) 100%
    );
}

/* Icon Container */
.stat-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.stat-icon-container {
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.stat-card-glass:hover .stat-icon-container {
    transform: rotateY(180deg) scale(1.1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: var(--primary);
}

/* Effet de particules au hover */
.icon-particles {
    position: absolute;
    inset: -10px;
    opacity: 0;
    transition: var(--transition);
}

.stat-card-glass:hover .icon-particles {
    opacity: 1;
}

.icon-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: particleFloat 2s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(var(--tx, 20px), var(--ty, -20px)) scale(1.5); opacity: 1; }
}

/* Stat Number */
.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    transition: var(--transition);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-card-glass:hover .stat-number {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-left: 4px;
    transition: var(--transition);
}

.stat-card-glass:hover .stat-suffix {
    color: var(--secondary);
    transform: scale(1.2);
}

/* Stat Title */
.stat-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-lighter);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
    transition: var(--transition);
}

.stat-card-glass:hover .stat-title {
    color: var(--white);
    letter-spacing: 2px;
}

/* Stat Tag */
.stat-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        var(--primary) 0%,
        var(--secondary) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.stat-card-glass:hover .stat-tag {
    transform: translateY(-5px);
    border-color: transparent;
    color: var(--white);
}

.stat-card-glass:hover .stat-tag::before {
    opacity: 1;
}

.stat-tag i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.stat-card-glass:hover .stat-tag i {
    transform: rotate(360deg);
}

/* ============================================
   Stats Footer - Design Minimaliste
   ============================================ */
.stats-footer-minimal {
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
    position: relative;
}

.stats-quote-minimal {
    padding-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-lighter);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
    transition: var(--transition);
}

.stats-quote-minimal:hover {
    color: var(--white);
    transform: scale(1.02);
}

.quote-mark {
    position: absolute;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
    transition: var(--transition);
}

.quote-left {
    top: 0;
    left: 0;
}

.quote-right {
    bottom: 0;
    right: 0;
}

.stats-quote-minimal:hover .quote-mark {
    opacity: 0.3;
    transform: scale(1.2);
}

/* ============================================
   RESPONSIVE DESIGN - TABLETTES
   ============================================ */
@media (max-width: 1024px) {
    .performance-section {
        padding: 80px 20px;
    }
    
    .section-title-elegant {
        font-size: 3rem;
    }
    
    .stats-grid-glass {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-card-glass {
        padding: 32px 24px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-suffix {
        font-size: 1.75rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TÉLÉPHONES (CRITIQUE)
   ============================================ */
@media (max-width: 768px) {
    .performance-section {
        padding: 60px 16px 80px 16px !important; /* IMPORTANT: Padding augmenté en bas */
        margin-bottom: 60px !important; /* IMPORTANT: Marge augmentée */
    }
    
    .section-header-elegant {
        margin-bottom: 40px;
        padding: 0 10px;
    }
    
    .section-title-elegant {
        font-size: 2rem !important; /* Taille réduite */
        margin-bottom: 15px;
    }
    
    .section-subtitle-elegant {
        font-size: 1rem !important;
        padding: 0 10px;
        margin-bottom: 30px;
    }
    
    .stats-grid-glass {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 10px;
        margin-bottom: 40px !important; /* Espace après la grille */
    }
    
    .stat-card-glass {
        padding: 25px 18px !important; /* Padding réduit */
        backdrop-filter: blur(10px);
        margin-bottom: 0 !important;
    }
    
    .stat-card-glass:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .stat-icon-wrapper {
        width: 65px !important;
        height: 65px !important;
        margin-bottom: 15px !important;
    }
    
    .stat-icon-container {
        font-size: 24px !important;
    }
    
    .stat-number {
        font-size: 2.2rem !important; /* Taille réduite */
    }
    
    .stat-suffix {
        font-size: 1.4rem !important; /* Taille réduite */
    }
    
    .stat-title {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
        letter-spacing: 1px;
    }
    
    .stat-tag {
        font-size: 0.75rem !important;
        padding: 6px 14px !important;
    }
    
    /* Désactiver les animations complexes sur mobile */
    .title-gradient {
        animation-duration: 12s;
    }
    
    .stat-card-glass:hover::before {
        animation: none !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TRÈS PETITS TÉLÉPHONES
   ============================================ */
@media (max-width: 480px) {
    .performance-section {
        padding: 50px 12px 70px 12px !important; /* Encore plus d'espace en bas */
        margin-bottom: 50px !important;
    }
    
    .section-title-elegant {
        font-size: 1.8rem !important;
    }
    
    .section-badge {
        padding: 8px 16px;
        margin-bottom: 15px;
    }
    
    .badge-text {
        font-size: 0.75rem;
    }
    
    .stats-grid-glass {
        padding: 0;
        gap: 16px;
    }
    
    .stat-card-glass {
        padding: 22px 15px !important;
    }
    
    .stat-icon-wrapper {
        width: 55px !important;
        height: 55px !important;
        margin-bottom: 12px !important;
    }
    
    .stat-icon-container {
        font-size: 20px !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-suffix {
        font-size: 1.2rem !important;
    }
    
    .stat-title {
        font-size: 0.8rem !important;
        letter-spacing: 0.8px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TÉLÉPHONES EN PAYSAGE
   ============================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .performance-section {
        padding: 40px 16px 60px 16px !important;
        margin-bottom: 50px !important;
    }
    
    .stats-grid-glass {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    
    .stat-card-glass {
        padding: 20px 15px !important;
    }
    
    .stat-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 10px !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
}


/* ============================================
   ANIMATIONS D'APPEARANCE
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.stat-card-glass:nth-child(1) { transition-delay: 0.1s; }
.stat-card-glass:nth-child(2) { transition-delay: 0.2s; }
.stat-card-glass:nth-child(3) { transition-delay: 0.3s; }
.stat-card-glass:nth-child(4) { transition-delay: 0.4s; }

/* ============================================
   SUPPORT POUR PRÉFÉRENCE DE MOUVEMENT RÉDUIT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .title-gradient,
    .stat-card-glass,
    .stat-icon-container,
    .stat-number,
    .stat-tag,
    .section-badge,
    .fade-in-up {
        animation: none !important;
        transition: none !important;
    }
    
    .stat-card-glass:hover {
        transform: none !important;
    }
}

/* ============================================
   EFFETS SPÉCIAUX
   ============================================ */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Stat Footer */
.stat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-trend.success {
    color: var(--secondary);
}

.stat-detail {
    font-size: 0.9rem;
    color: var(--text-light);
}

  /* Temoignages Section */
        .testimonials-section {
            padding: 80px 0;
            background: transparent;
            position: relative;
            overflow: hidden;
        }

        .testimonials-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(101, 16, 135, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 214, 160, 0.08) 0%, transparent 50%);
        }

        .testimonials-header {
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            z-index: 2;
        }

        .testimonials-badge {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 1rem;
            box-shadow: 0 5px 15px rgba(101, 16, 135, 0.3);
        }

        .testimonials-header h2 {
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            margin-bottom: 0.5rem;
            color: var(--text);
            font-weight: 800;
        }

        .testimonials-header p {
            color: var(--text-light);
            max-width: 500px;
            margin: 0 auto;
            font-size: 1rem;
            line-height: 1.5;
        }

        /* Testimonials Container */
        .testimonials-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            overflow: hidden;
        }

        .testimonials-track {
            display: flex;
            gap: 1.5rem;
            padding: 1rem 0;
            transition: transform 0.5s ease;
            will-change: transform;
        }

        /* Testimonial Cards */
        .testimonial-card {
            flex: 0 0 320px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.03) 0%, 
                rgba(101, 16, 135, 0.06) 100%);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }

        .testimonial-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.05), 
                transparent);
            transition: left 0.6s ease;
        }

        .testimonial-card:hover::before {
            left: 100%;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 
                0 15px 30px rgba(101, 16, 135, 0.25),
                0 0 0 1px rgba(101, 16, 135, 0.15);
            border-color: rgba(101, 16, 135, 0.3);
        }

        .testimonial-content {
            position: relative;
            z-index: 2;
        }

        .testimonial-text {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-style: italic;
            position: relative;
        }

        .testimonial-text::before {
            content: '"';
            font-size: 3rem;
            color: var(--primary);
            position: absolute;
            top: -1rem;
            left: -0.5rem;
            opacity: 0.3;
            font-family: serif;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .author-info h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.2rem;
        }

        .author-info p {
            font-size: 0.8rem;
            color: var(--text-light);
            margin: 0;
        }

        .testimonial-rating {
            display: flex;
            gap: 0.2rem;
            margin-top: 0.5rem;
        }

        .testimonial-rating i {
            color: var(--accent);
            font-size: 0.8rem;
        }

        /* Navigation Controls */
        .testimonials-controls {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
            position: relative;
            z-index: 2;
        }

        .testimonial-nav-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(101, 16, 135, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .testimonial-nav-btn:hover:not(:disabled) {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(101, 16, 135, 0.3);
        }

        .testimonial-nav-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .testimonials-section {
                padding: 60px 0;
            }
            
            .testimonial-card {
                flex: 0 0 280px;
                padding: 1.5rem;
            }
            
            .testimonials-track {
                gap: 1rem;
            }
            
            .testimonial-text {
                font-size: 0.9rem;
            }
            
            .author-avatar {
                width: 45px;
                height: 45px;
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .testimonial-card {
                flex: 0 0 260px;
                padding: 1.2rem;
            }
            
            .testimonials-header h2 {
                font-size: 1.6rem;
            }
            
            .testimonial-nav-btn {
                width: 40px;
                height: 40px;
            }
        }



/* Progress Section */
.progress-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
}

.progress-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-title {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.progress-percent {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 1.5s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-elegant {
        padding: 80px 0;
    }
    
    .elegant-title {
        font-size: 2.2rem;
    }
    
    .elegant-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .elegant-stat-card {
        padding: 2rem;
    }
    
    .stat-main {
        gap: 1rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .progress-section {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .elegant-stat-card {
        padding: 1.5rem;
    }
    
    .stat-main {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stat-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .progress-section {
        padding: 1.5rem;
    }
    
    .progress-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}
        /* Hero Section */
      .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(6, 214, 160, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}



.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    display: block;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    margin: 0.5rem 0;
}

.hero-txt {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    cursor: default;
}

.hero-txt .text.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 10px 25px rgba(101, 16, 135, 0.4);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(101, 16, 135, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(101, 16, 135, 0.6);
    }
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btns .btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-btns .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.6s ease;
}

.hero-btns .btn:hover::before {
    left: 100%;
}

.hero-btns .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 10px 25px rgba(101, 16, 135, 0.4);
}

.hero-btns .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(101, 16, 135, 0.6);
}

.hero-btns .btn-outline-light {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text-light);
}

.hero-btns .btn-outline-light:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(101, 16, 135, 0.3);
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding-top: 70px;
        padding-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    /* Réduire l'espace dans le contenu hero */
    .hero-content {
        padding: 15px 0;
    }
    
    /* Ajuster le padding des sections suivantes si nécessaire */
    .services-slogan,
    .services-section {
        padding-top: 40px !important;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 50vh;
        padding-top: 60px;
        padding-bottom: 20px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-btns .btn {
        max-width: 250px;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 10px 0;
    }
    
    /* Réduire encore plus l'espace sur mobile */
    section {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
   
}

/* Réduire l'espace entre les sections sur mobile */
@media (max-width: 768px) {
    .services-slogan {
        padding: 40px 0 !important;
    }
    
    .services-section {
        padding: 40px 0 !important;
    }
    
    .packages-section {
        padding: 60px 0 !important;
    }
    
    /* Ajuster les marges internes des sections */
    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}

@media (max-width: 576px) {
    .services-slogan {
        padding: 30px 0 !important;
    }
    
    .services-section {
        padding: 30px 0 !important;
    }
    
    .packages-section {
        padding: 50px 0 !important;
    }
    
    section {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}
@media (max-width: 375px) {
    .hero {
        min-height: 45vh;
        padding-top: 50px;
        padding-bottom: 15px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-btns .btn {
        max-width: 220px;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

        

        .btn-outline-light {
            border: 2px solid rgba(255, 255, 255, 0.2);
            color: var(--text);
            padding: 0.8rem 1.8rem;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-outline-light:hover {
            border-color: var(--primary);
            background: rgba(124, 58, 237, 0.1);
            color: var(--primary);
        }

        .hero-stats {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .stat {
            text-align: center;
        }

       .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    transition: all 0.3s ease;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Animation subtile pendant le comptage */
.stat-number.animating {
    transform: scale(1.1);
}

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero-visual {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-shape {
            position: absolute;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            opacity: 0.1;
            filter: blur(40px);
            z-index: -1;
        }

        .shape-1 {
            width: 300px;
            height: 300px;
            top: 10%;
            left: 10%;
            animation: float 8s ease-in-out infinite;
        }

        .shape-2 {
            width: 200px;
            height: 200px;
            bottom: 20%;
            right: 10%;
            animation: float 6s ease-in-out infinite reverse;
        }

        .shape-3 {
            width: 150px;
            height: 150px;
            top: 50%;
            left: 5%;
            animation: float 10s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(10deg); }
        }


        .logo-hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.logo-hero {
    max-width: 300px; /* Ajustez selon la taille souhaitée */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* Animation flottante pour le logo */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Version responsive */
@media (max-width: 768px) {
    .logo-hero {
        max-width: 200px;
    }
    
    .logo-hero-container {
        padding: 1rem;
    }
}

        /* Services Section */
      

/* ===== HERO SECTION ===== */
.services-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.service-hero-shape.shape-1 {
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.service-hero-shape.shape-2 {
    width: 200px;
    height: 200px;
    animation-delay: 2s;
}

.service-hero-shape.shape-3 {
    width: 150px;
    height: 150px;
    animation-delay: 4s;
}

.service-hero-icon {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.3;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== PRODUCTS GRID ===== */
.products-grid-section {
    padding: 100px 0;
    background: var(--dark-light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.title-badge {
    display: inline-block;
    background: rgba(101, 16, 135, 0.1);
    color: var(--text);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}


.btn-whatsapp {
    position: relative;
    z-index: 1000;
    pointer-events: auto !important;
}

.product-card {
    position: relative;
    z-index: 1;
}
/* Product Cards */
.product-card {
    background: var(--dark-lighter);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(101, 16, 135, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(101, 16, 135, 0.3);
    border-color: var(--primary);
}

.product-card.featured {
    border: 2px solid var(--primary);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.bestseller {
    background: var(--secondary);
}

.product-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.product-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(101, 16, 135, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    background: rgba(101, 16, 135, 0.2);
    transform: rotate(10deg) scale(1.1);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.product-features li i {
    color: var(--secondary);
    margin-right: 0.8rem;
    font-size: 0.8rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(101, 16, 135, 0.3);
}

.product-price .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}
.product-price .price span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E49BA6;
}

/* projects home */
.project-overlay .project-tech span{
    color: white;
}

/* WhatsApp Buttons */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

.btn-whatsapp i {
    font-size: 1.3rem;
}

/* ===== WHATSAPP CTA ===== */
.whatsapp-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 4rem;
    color: #25D366;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.cta-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
    color: white;
}

.btn-cta-whatsapp i {
    font-size: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 300px;
        margin-top: 3rem;
    }
    
    .service-hero-shape.shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .service-hero-shape.shape-2 {
        width: 200px;
        height: 200px;
    }
    
    .service-hero-shape.shape-3 {
        width: 150px;
        height: 150px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .products-grid-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-cta-whatsapp {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}



/************************************************* Services Page ************************************************/

/* Services Slogan Section */
.services-slogan {
    padding: 60px 0;
    background: transparent;
    position: relative;
    text-align: center;
}

.slogan-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.slogan-text {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.4;
    background: linear-gradient(135deg, var(--text), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-slogan {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(101, 16, 135, 0.4);
}

.btn-slogan::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.6s ease;
}

.btn-slogan:hover::before {
    left: 100%;
}

.btn-slogan:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(101, 16, 135, 0.6);
}

.btn-slogan-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text-light);
}

.btn-slogan-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Services Grid */
.services-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(101, 16, 135, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 214, 160, 0.08) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(101, 16, 135, 0.3);
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 800;
}

.section-header p {
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
}

/* Compact Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

/* Pour les grands écrans uniquement */
@media (min-width: 1600px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Cibler les 2 dernières cartes (les 5ème et 6ème) */
    .services-grid .service-card:nth-child(5),
    .services-grid .service-card:nth-child(6) {
        grid-column: span 2; /* Prendre 2 colonnes chacune */
        max-width: calc(50% - 0.75rem); /* Moins la moitié du gap */
    }
}

/* Pour les très grands écrans */
@media (min-width: 1600px) {
    .services-grid .service-card:nth-child(5),
    .services-grid .service-card:nth-child(6) {
        justify-self: center; /* Centrer horizontalement */
        width: 70%; /* Réduire la largeur pour un meilleur effet visuel */
    }
}

.service-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(101, 16, 135, 0.06) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.05), 
        transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(101, 16, 135, 0.25),
        0 0 0 1px rgba(101, 16, 135, 0.15);
    border-color: rgba(101, 16, 135, 0.3);
}

.service-card:hover::after {
    opacity: 0.02;
}

.service-card-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon-wrapper {
    position: relative;
    margin-bottom: 1.2rem;
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 
        0 8px 20px rgba(101, 16, 135, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 25px rgba(101, 16, 135, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
}

.service-subtitle {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: center;
    flex: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.service-features span {
    background: rgba(101, 16, 135, 0.1);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(101, 16, 135, 0.2);
    transition: all 0.2s ease;
}

.service-card:hover .service-features span {
    background: rgba(101, 16, 135, 0.15);
    transform: translateY(-1px);
}

.service-stats {
    display: flex;
    justify-content: space-around;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(101, 16, 135, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(101, 16, 135, 0.1);
}

.service-stat {
    text-align: center;
    flex: 1;
}

.service-stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
}

.service-stat-label {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 600;
}

/* Service Card Variations - Compact */
.service-card.creative {
    border-left: 3px solid var(--primary);
}

.service-card.branding {
    border-left: 3px solid var(--secondary);
}

.service-card.development {
    border-left: 3px solid var(--accent);
}

.service-card.marketing {
    border-left: 3px solid #06d6a0;
}

.service-card.social {
    border-left: 3px solid #f59e0b;
}

.service-card.media {
    border-left: 3px solid #ef4444;
}

/* Packages Section - Version Compacte */
.packages-section {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.packages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(101, 16, 135, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(6, 214, 160, 0.08) 0%, transparent 50%);
}

.packages-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.packages-scroll {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    align-items: stretch;
}

.packages-scroll::-webkit-scrollbar {
    display: none;
}

/* Carte de pack compacte */
.package-card {
    flex: 0 0 320px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        rgba(101, 16, 135, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

/* Contenu compact */
.package-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(101, 16, 135, 0.25);
    border-color: var(--primary);
}

.package-card:hover::before {
    opacity: 0.05;
}

.package-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(101, 16, 135, 0.12) 100%);
}

.package-card.featured:hover {
    transform: translateY(-8px) scale(1.03);
}

/* PACK SURPRISE SPÉCIAL - Version Cadeau */
.package-card.surprise {
    border: 2px solid #FFA500;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(239, 68, 68, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-card.surprise .package-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 480px;
}

.package-card.surprise .package-header {
    margin-bottom: 2rem;
}

.package-card.surprise .package-body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.package-card.surprise .package-features,
.package-card.surprise .package-price,
.package-card.surprise .package-duration {
    display: none;
}

/* Icône cadeau pour le pack surprise */
.surprise-gift {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    text-align: center;
}

.gift-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: giftFloat 3s ease-in-out infinite;
    box-shadow: 
        0 15px 30px rgba(239, 68, 68, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.gift-text {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 250px;
}

.gift-text strong {
    color: #ef4444;
    font-size: 1.2rem;
    display: block;
    margin-top: 0.5rem;
}

/* Animation de l'icône cadeau */
@keyframes giftFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.package-card.surprise:hover {
    border-color:#FFA500;
    transform: translateY(-8px);
}

/* BADGES CORRIGÉS - Au-dessus du titre */
.package-badge {
    position: relative;
    margin-bottom: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    align-self: center;
    display: inline-block;
    max-width: fit-content;
    box-shadow: 0 4px 12px rgba(101, 16, 135, 0.3);
}

.package-badge.premium {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    color: var(--dark);
}

.package-badge.elite {
    background: var(--primary);
    color: white;
}

.package-badge.surprise {
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    color: white;
    animation: surprisePulse 2s infinite;
}

/* Animation pour badge surprise */
@keyframes surprisePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

/* En-tête compact */
.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.package-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.package-price {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.package-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #E49BA6;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.package-price .currency {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

.package-price .period {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 5px;
}

.savings {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    background: rgba(6, 214, 160, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
}

.package-duration {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 5px;
}

.package-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Caractéristiques compactes */
.package-features {
    margin-bottom: 1.5rem;
    flex: 1;
}

.package-features h5 {
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.package-features li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.package-features li i {
    color: var(--secondary);
    margin-top: 0.1rem;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.package-features li span strong {
    color: var(--text);
}

/* Footer compact */
.package-footer-container {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.package-footer {
    width: 100%;
}

.btn-package {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem;
    background: rgba(101, 16, 135, 0.1);
    color: white;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    min-height: 50px;
}

.btn-package.primary {
    background: var(--primary);
    color: white;
}

.btn-package.surprise {
    background:#FFA500;
    border: 2px solid #FFA500;
    color: white;
}

.btn-package.surprise:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.btn-package:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(101, 16, 135, 0.25);
    background: rgba(101, 16, 135, 0.2);
}

.btn-package.primary:hover {
    background: var(--primary-light);
    box-shadow: 0 8px 20px rgba(101, 16, 135, 0.3);
}

/* WhatsApp Icon */
.btn-package i.fab.fa-whatsapp {
    font-size: 1rem;
}

.btn-package.primary i.fab.fa-whatsapp {
    color: white;
}

/* Buttons de navigation */
.package-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(101, 16, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex-shrink: 0;
}

.package-nav-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(101, 16, 255, 0.3);
}

/* Animation pour les badges premium */
@keyframes badgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(101, 16, 135, 0.7);
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 8px rgba(101, 16, 135, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(101, 16, 135, 0);
    }
}

.package-badge.premium {
    animation: badgePulse 2s infinite;
}

/* Style pour les longs textes de caractéristiques */
.package-features li span {
    flex: 1;
    word-wrap: break-word;
}

/* Style pour le prix en DH */
.package-price .currency {
    font-family: 'Poppins', sans-serif;
    color: #E49BA6;
    font-weight: 700;
}

/* ============ RESPONSIVE COMPLET ============ */

/* Écrans très grands (1600px et plus) */
@media (min-width: 1600px) {
    .packages-container {
        max-width: 1500px;
    }
    
    .package-card {
        flex: 0 0 340px;
    }
    
    .package-card-content {
        min-height: 500px;
    }
    
    .package-price .price {
        font-size: 2.8rem;
    }
    
    .package-header h3 {
        font-size: 1.5rem;
    }
    
    .package-badge {
        padding: 0.6rem 1.4rem;
        font-size: 0.8rem;
        margin-bottom: 1.8rem;
    }
    
    .gift-icon {
        width: 120px;
        height: 120px;
        font-size: 3.5rem;
    }
    
    .gift-text {
        font-size: 1.3rem;
    }
    
    .gift-text strong {
        font-size: 1.4rem;
    }
}

/* Desktop standard (1200px à 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .packages-container {
        max-width: 1200px;
    }
    
    .package-card {
        flex: 0 0 320px;
    }
    
    .package-card-content {
        min-height: 480px;
    }
    
    .package-badge {
        margin-bottom: 1.5rem;
    }
}

/* Tablettes paysage (992px à 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .packages-section {
        padding: 70px 0;
    }
    
    .packages-container {
        max-width: 100%;
        padding: 0 30px;
        gap: 1rem;
    }
    
    .package-card {
        flex: 0 0 300px;
    }
    
    .package-card-content {
        min-height: 470px;
    }
    
    .package-price .price {
        font-size: 2.3rem;
    }
    
    .package-header h3 {
        font-size: 1.3rem;
    }
    
    .package-badge {
        padding: 0.45rem 1rem;
        font-size: 0.7rem;
        margin-bottom: 1.3rem;
    }
    
    .package-features li {
        font-size: 0.82rem;
    }
    
    .gift-icon {
        width: 90px;
        height: 90px;
        font-size: 2.8rem;
    }
    
    .gift-text {
        font-size: 1rem;
    }
}

/* Tablettes portrait (768px à 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .packages-section {
        padding: 60px 0;
    }
    
    .packages-container {
        padding: 0 25px;
        gap: 0.8rem;
    }
    
    .packages-scroll {
        gap: 1.2rem;
        padding: 1.2rem 0.8rem;
    }
    
    .package-card {
        flex: 0 0 280px;
        padding: 1.8rem 1.2rem;
    }
    
    .package-card-content {
        min-height: 460px;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .package-card.featured:hover {
        transform: translateY(-8px) scale(1);
    }
    
    .package-price .price {
        font-size: 2.2rem;
    }
    
    .package-header h3 {
        font-size: 1.25rem;
    }
    
    .package-badge {
        padding: 0.4rem 0.9rem;
        font-size: 0.7rem;
        margin-bottom: 1.2rem;
    }
    
    .package-features h5 {
        font-size: 0.95rem;
    }
    
    .package-features li {
        font-size: 0.8rem;
        margin-bottom: 0.7rem;
        gap: 0.7rem;
    }
    
    .package-features li i {
        font-size: 0.75rem;
    }
    
    .btn-package {
        padding: 0.9rem;
        font-size: 0.85rem;
        min-height: 48px;
    }
    
    .gift-icon {
        width: 85px;
        height: 85px;
        font-size: 2.5rem;
    }
    
    .gift-text {
        font-size: 0.95rem;
        max-width: 220px;
    }
    
    .package-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }
}

/* Mobiles paysage (576px à 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .packages-section {
        padding: 50px 0;
    }
    
    .packages-container {
        padding: 0 20px;
        gap: 0.5rem;
    }
    
    .packages-scroll {
        gap: 1rem;
        padding: 1rem 0.5rem;
    }
    
    .package-card {
        flex: 0 0 260px;
        padding: 1.5rem 1rem;
    }
    
    .package-card-content {
        min-height: 440px;
    }
    
    .package-price .price {
        font-size: 2rem;
    }
    
    .package-header h3 {
        font-size: 1.2rem;
    }
    
    .package-badge {
        padding: 0.35rem 0.8rem;
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }
    
    .package-features h5 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .package-features li {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        gap: 0.6rem;
    }
    
    .package-features li i {
        font-size: 0.7rem;
    }
    
    .btn-package {
        padding: 0.8rem;
        font-size: 0.8rem;
        min-height: 46px;
    }
    
    .package-footer-container {
        padding-top: 1.2rem;
    }
    
    .gift-icon {
        width: 80px;
        height: 80px;
        font-size: 2.3rem;
    }
    
    .gift-text {
        font-size: 0.9rem;
        max-width: 200px;
    }
    
    .gift-text strong {
        font-size: 1rem;
    }
    
    .package-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
}

/* Mobiles portrait (375px à 575px) */
@media (min-width: 375px) and (max-width: 575px) {
    .packages-section {
        padding: 40px 0;
    }
    
    .packages-container {
        padding: 0 15px;
        gap: 0.3rem;
    }
    
    .packages-scroll {
        gap: 0.8rem;
        padding: 0.8rem 0.3rem;
    }
    
    .package-card {
        flex: 0 0 240px;
        padding: 1.2rem 0.8rem;
    }
    
    .package-card-content {
        min-height: 420px;
    }
    
    .package-price .price {
        font-size: 1.8rem;
    }
    
    .package-header h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .package-badge {
        padding: 0.3rem 0.7rem;
        font-size: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .package-duration {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .package-features h5 {
        font-size: 0.85rem;
        margin-bottom: 0.7rem;
    }
    
    .package-features li {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .package-features li i {
        font-size: 0.65rem;
    }
    
    .btn-package {
        padding: 0.7rem;
        font-size: 0.75rem;
        min-height: 44px;
    }
    
    .package-footer-container {
        padding-top: 1rem;
    }
    
    .gift-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .gift-text {
        font-size: 0.85rem;
        max-width: 180px;
    }
    
    .gift-text strong {
        font-size: 0.9rem;
    }
    
    .package-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* Très petits mobiles (moins de 374px) */
@media (max-width: 374px) {
    .packages-section {
        padding: 30px 0;
    }
    
    .packages-container {
        padding: 0 10px;
        flex-direction: column;
        gap: 1rem;
    }
    
    .packages-scroll {
        width: 100%;
        gap: 0.7rem;
        padding: 0.7rem 0.2rem;
    }
    
    .package-card {
        flex: 0 0 220px;
        padding: 1rem 0.6rem;
    }
    
    .package-card-content {
        min-height: 400px;
    }
    
    .package-price .price {
        font-size: 1.6rem;
    }
    
    .package-header h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .package-badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.55rem;
        margin-bottom: 0.7rem;
    }
    
    .package-duration {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .package-features h5 {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .package-features li {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
        gap: 0.4rem;
    }
    
    .package-features li i {
        font-size: 0.6rem;
    }
    
    .btn-package {
        padding: 0.6rem;
        font-size: 0.7rem;
        min-height: 42px;
        gap: 0.4rem;
    }
    
    .btn-package i.fab.fa-whatsapp {
        font-size: 0.9rem;
    }
    
    .package-footer-container {
        padding-top: 0.8rem;
    }
    
    .gift-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .gift-text {
        font-size: 0.8rem;
        max-width: 160px;
    }
    
    .gift-text strong {
        font-size: 0.85rem;
    }
    
    .package-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Optimisation tactile */
@media (hover: none) and (pointer: coarse) {
    .package-card:hover {
        transform: none;
    }
    
    .package-card.featured:hover {
        transform: none;
    }
    
    .package-card.surprise:hover {
        transform: none;
    }
    
    .package-nav-btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    .btn-package {
        min-height: 48px;
    }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    .package-card,
    .btn-package,
    .package-nav-btn {
        transition: none;
    }
    
    .gift-icon {
        animation: none;
    }
    
    .package-badge.premium,
    .package-badge.surprise {
        animation: none;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .package-card {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.2) 0%, 
            rgba(101, 16, 135, 0.1) 100%);
    }
    
    .package-card.featured {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.25) 0%, 
            rgba(101, 16, 135, 0.15) 100%);
    }
    
    .package-card.surprise {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.25) 0%, 
            rgba(239, 68, 68, 0.1) 100%);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Accessibilité */
.btn:focus,
.btn-slogan:focus,
.btn-package:focus,
.btn-custom:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(101, 16, 135, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(101, 16, 135, 0.3);
    color: white;
}


/* About Page Styles ****************************************************************/
.about-container {
    min-height: 100vh;
    background-color: var(--dark);
}

/* Hero Section */
.about-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
    padding: 0 40px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-title span {
    color: var(--primary-light);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.8s;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.shape-1 { width: 120px; height: 120px; top: 20%; left: 30%; animation-delay: 0s; }
.shape-2 { width: 80px; height: 80px; top: 50%; left: 50%; animation-delay: 2s; }
.shape-3 { width: 100px; height: 100px; top: 30%; left: 70%; animation-delay: 4s; }

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header h2 span {
    color: var(--primary-light);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Locals Section */
.locals-section {
    padding: 80px 0;
    background-color: var(--dark-light);
}

.locals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.local-card {
    background: var(--dark-lighter);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.local-card:nth-child(1) { animation-delay: 0.2s; }
.local-card:nth-child(2) { animation-delay: 0.4s; }
.local-card:nth-child(3) { animation-delay: 0.6s; }

.local-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(101, 16, 135, 0.3);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text);
    background-size: cover;
    background-position: center;
}

/* Local Card Background Images */
.local-card:nth-child(1) .image-placeholder { background-image: url('../imgs/Manager.jpg'); }
.local-card:nth-child(2) .image-placeholder { background-image: url('../imgs/Manager.jpg'); }
.local-card:nth-child(3) .image-placeholder { background-image: url('../imgs/Manager.jpg'); }

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, var(--primary-dark));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.local-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    color: var(--text);
    font-size: 1.3rem;
}
/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--dark);
}

/* Team Hierarchy */
.team-hierarchy {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

/* CEO Level */
.ceo-level {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.team-member.ceo {
    text-align: center;
    position: relative;
    z-index: 10;
}

.team-member.ceo .member-photo {
    width: 180px;
    height: 180px;
    border: 4px solid var(--primary-light);
    box-shadow: 0 0 30px rgba(133, 9, 171, 0.5);
}

.team-member.ceo .photo-placeholder {
    background-image: url('../imgs/oussama.webp');
}

.team-member.ceo .member-info h3 {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-top: 15px;
}

.team-member.ceo .member-info p {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Management Level */
.management-level {
    display: flex;
    justify-content: space-around;
    margin: 60px 0 80px;
    position: relative;
    z-index: 8;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.6s;
}

.team-member.director {
    text-align: center;
}

.team-member.director .member-photo {
    width: 150px;
    height: 150px;
    border: 3px solid var(--primary);
}

/* Director Background Images - FIXED SELECTORS */
.management-level .team-member.director:nth-child(1) .photo-placeholder { 
    background-image: url('../imgs/oumaima.png');
}

/* Developer image */
.management-level .team-member.director.developer .photo-placeholder {
    background-image: url('../imgs/oumaima.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.management-level .team-member.director:nth-child(3) .photo-placeholder { 
    background-image: url('../imgs/oumaima.png');
}


/* Specialist Level */
.specialist-level {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 5;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.9s;
}

.team-member.specialist {
    text-align: center;
}

.team-member.specialist .member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border: 2px solid var(--dark-lighter);
    transition: all 0.3s ease;
}

.team-member.specialist:hover .member-photo {
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Specialist Background Images - FIXED SELECTORS */
.specialist-level .team-member.specialist:nth-child(1) .photo-placeholder { 
    background-image: url('../imgs/Comerciale.png');
}

.specialist-level .team-member.specialist:nth-child(2) .photo-placeholder { 
    background-image: url('../imgs/Comerciale.png');
}

.specialist-level .team-member.specialist:nth-child(3) .photo-placeholder { 
    background-image: url('../imgs/Comerciale.png');
}

.specialist-level .team-member.specialist:nth-child(4) .photo-placeholder { 
    background-image: url('../imgs/Comerciale.png');
}

/* Team Member Common Styles */
.team-member {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s forwards;
    position: relative;
}

.member-photo {
    position: relative;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    cursor: pointer;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--dark-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-light);
    background-size: cover;
    background-position: center;
}

/* Hide icons when images are loaded */
.photo-placeholder i {
    display: none;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(101, 16, 135, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-photo:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.member-info {
    position: relative;
    display: inline-block;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.member-info p {
    color: var(--text-light);
}

/* Team Member Bio Styles - Alternance gauche/droite */
.member-bio {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 15px;
    background: var(--dark-lighter);
    border: 1px solid var(--primary);
    border-radius: 8px;
    max-width: 250px;
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Algorithme d'alternance : 1er gauche, 2ème droite, 3ème gauche, etc. */

/* Position par défaut à GAUCHE (pour les impairs) */
.team-member .member-bio {
    right: 100%;
    margin-right: 15px;
}

/* Position à DROITE pour les éléments pairs */
.team-member:nth-child(even) .member-bio {
    left: 100%;
    right: auto;
    margin-left: 15px;
    margin-right: 0;
}

/* CEO - Toujours centré en bas */
.ceo-level .team-member .member-bio {
    left: 50%;
    right: auto;
    top: 100%;
    transform: translateX(-50%);
    margin: 10px 0 0 0;
    text-align: center;
}

/* Management Level - Alternance */
.management-level .team-member:nth-child(odd) .member-bio {
    right: 100%;
    left: auto;
    margin-right: 15px;
    margin-left: 0;
}

.management-level .team-member:nth-child(even) .member-bio {
    left: 100%;
    right: auto;
    margin-left: 15px;
    margin-right: 0;
}

/* Specialist Level - Alternance */
.specialist-level .team-member:nth-child(odd) .member-bio {
    right: 100%;
    left: auto;
    margin-right: 15px;
    margin-left: 0;
}

.specialist-level .team-member:nth-child(even) .member-bio {
    left: 100%;
    right: auto;
    margin-left: 15px;
    margin-right: 0;
}

.member-bio p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Animation au survol */
.team-member:hover .member-bio {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
}

/* Animation spéciale pour le CEO */
.ceo-level .team-member:hover .member-bio {
    transform: translateX(-50%) translateY(5px);
}

/* Ajustements spécifiques pour chaque niveau */
.team-member.ceo .member-bio {
    max-width: 280px;
}

.team-member.director .member-bio {
    max-width: 250px;
}

.team-member.specialist .member-bio {
    max-width: 200px;
}

/* S'assurer que la bio reste visible au survol */
.member-bio:hover {
    opacity: 1;
    visibility: visible;
}

/* Connection Lines */
.connection-line {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

.connection-lines-secondary {
    position: absolute;
    top: 55%;
    left: 0;
    right: 0;
    height: 40px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s forwards 1.2s;
}

.line-left, .line-right {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.line-left { margin-left: 25%; }
.line-right { margin-right: 25%; }

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--dark-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--dark-lighter);
    border-radius: 15px;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.value-card:nth-child(1) { animation-delay: 0.2s; }
.value-card:nth-child(2) { animation-delay: 0.4s; }
.value-card:nth-child(3) { animation-delay: 0.6s; }

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.value-card p {
    color: var(--text-light);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .locals-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .management-level {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin: 40px 0 60px;
    }
    
    .connection-lines-secondary {
        display: none;
    }
    
    .connection-line {
        height: 40px;
        top: 25%;
    }
    
    .team-member.ceo .member-photo {
        width: 140px;
        height: 140px;
    }
    
    .team-member.director .member-photo {
        width: 120px;
        height: 120px;
    }
    
    .specialist-level {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Ajustements responsive pour les bios - Toujours en bas sur mobile */
    .member-bio {
        position: absolute;
        top: 100%;
        left: 50%;
        right: auto !important;
        transform: translateX(-50%);
        margin: 10px 0 0 0 !important;
        width: 90%;
        max-width: 250px;
        z-index: 100;
        text-align: center;
    }
    
    .team-member:hover .member-bio {
        transform: translateX(-50%) translateY(5px);
    }
}

@media (max-width: 480px) {
    .specialist-level {
        grid-template-columns: 1fr;
    }
    
    .team-hierarchy {
        padding: 20px 0;
    }
    
    .ceo-level {
        margin-bottom: 20px;
    }
    
    .management-level {
        margin: 30px 0 40px;
    }
    
    .member-bio {
        max-width: 200px;
    }
}








   /* Footer Styles */
 /* ===== FOOTER - BASE STYLES ===== */
.footer {
    padding: 70px 0 25px;
    background: transparent;
    border-top: 1px solid rgba(138, 43, 226, 0.25);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    opacity: 0.7;
}

.footer-content {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
    align-items: start;
     background: transparent;

}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* ===== BRAND SECTION ===== */
.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand .logo-wrapper {
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
}

.footer-brand .logo-wrapper img {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(1.15) contrast(1.1);
    max-width: 100%;
    height: auto;
}

.footer-brand .logo-wrapper img:hover {
    transform: scale(1.08) rotate(-2deg);
}

.brand-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.75;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 350;
    max-width: 100%;
    letter-spacing: 0.35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== QR CODE SECTION ===== */
.qr-code-section {
    margin: 2rem 0;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.qr-code-title {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.qr-code-image {
    width: 140px;
    height: 140px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.qr-code-section:hover .qr-code-image {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.25);
    border-color: rgba(138, 43, 226, 0.4);
}

.qr-code-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== SOCIAL MEDIA ===== */
.social-media-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.social-title {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.social-platforms {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.social-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-platform::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.social-platform:hover::before {
    transform: translateX(100%);
}

.social-platform:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.4);
}

.platform-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    transition: all 0.3s ease;
}

.platform-icon i {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Effets spécifiques par plateforme */
.social-platform:hover .platform-icon {
    background: linear-gradient(145deg, rgba(138, 43, 226, 0.3), rgba(138, 43, 226, 0.15));
}

.social-platform:nth-child(1):hover .platform-icon i { color: #1877F2; filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.5)); }
.social-platform:nth-child(2):hover .platform-icon i { color: #000000; filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5)); }
.social-platform:nth-child(3):hover .platform-icon i { color: #0A66C2; filter: drop-shadow(0 0 8px rgba(10, 102, 194, 0.5)); }
.social-platform:nth-child(4):hover .platform-icon i { color: #E4405F; filter: drop-shadow(0 0 8px rgba(228, 64, 95, 0.5)); }
.social-platform:nth-child(5):hover .platform-icon i { color: #69C9D0; filter: drop-shadow(0 0 8px rgba(105, 201, 208, 0.5)); }

/* ===== FOOTER LINKS ===== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(8px);
}

.footer-link {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.4rem 0;
    font-size: clamp(0.88rem, 2vw, 1.02rem);
    font-weight: 400;
    letter-spacing: 0.25px;
    position: relative;
    padding-left: 24px;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    color: var(--primary);
    font-weight: bold;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.footer-link:hover {
    color: white;
    padding-left: 30px;
}

.footer-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ===== CONTACT SECTION ===== */
.quick-contact {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.3rem;
    padding: 0;
    background: transparent;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 26px;
    height: 26px;
    background: linear-gradient(45deg, var(--primary), #b12bef);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
    box-shadow: 0 4px 8px rgba(138, 43, 226, 0.2);
}

.contact-item:hover .contact-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.4);
}

.contact-info {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.85rem, 2vw, 0.98rem);
    line-height: 1.6;
    font-weight: 350;
    letter-spacing: 0.25px;
    padding-top: 2px;
    word-break: break-word;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.8rem 0;
    width: 100%;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.copyright p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: clamp(0.8rem, 2vw, 0.92rem);
    font-weight: 350;
    letter-spacing: 0.6px;
    text-align: center;
    padding: 0 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Très grands écrans (1920px+) */
@media (min-width: 1920px) {
    .footer-content {
        max-width: 1600px;
        margin: 0 auto 3rem;
        padding: 0 2rem;
    }
    
    .social-platform {
        width: 46px;
        height: 46px;
    }
    
    .qr-code-image {
        width: 160px;
        height: 160px;
    }
}

/* Grands écrans (1600px - 1919px) */
@media (min-width: 1600px) and (max-width: 1919px) {
    .footer-content {
        max-width: 1400px;
        margin: 0 auto 3rem;
        padding: 0 2rem;
    }
}

/* Desktop standard (1200px - 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .footer {
        padding: 60px 0 25px;
    }
    
    .footer-content {
        grid-template-columns: 2.2fr 1fr 1fr 1.5fr;
        gap: 2.5rem;
        padding: 0 2rem;
    }
}

/* Petit desktop / Grande tablette (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .footer {
        padding: 50px 1.5rem 20px;
    }
    
    .footer-content {
        grid-template-columns: 1.8fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        margin-top: 1.5rem;
        max-width: 100%;
    }
    
    .qr-code-image {
        width: 130px;
        height: 130px;
    }
}

/* Tablette (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .footer {
        padding: 45px 1.5rem 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-brand .logo-wrapper {
        justify-content: center;
    }
    
    .footer-section:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-platforms {
        justify-content: center;
    }
    
    .qr-code-image {
        width: 120px;
        height: 120px;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-link {
        padding-left: 0;
    }
    
    .footer-link::before {
        display: none;
    }
}

/* Grand mobile / Petite tablette (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .footer {
        padding: 40px 1.5rem 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-brand .logo-wrapper {
        justify-content: center;
    }
    
    .footer-brand .logo-wrapper img {
        height: 36px;
    }
    
    .brand-description {
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0;
    }
    
    .footer-link {
        padding: 0.5rem 0.8rem;
        padding-left: 0.8rem !important;
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-link:hover {
        padding-left: 0.8rem !important;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-platforms {
        justify-content: center;
    }
    
    .social-platform {
        width: 42px;
        height: 42px;
    }
    
    .qr-code-section {
        max-width: 180px;
        margin: 1.5rem auto;
    }
}

/* Mobile standard (425px - 575px) */
@media (min-width: 425px) and (max-width: 575px) {
    .footer {
        padding: 35px 1rem 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand .logo-wrapper {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand .logo-wrapper img {
        height: 34px;
    }
    
    .brand-description {
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.2rem;
    }
    
    .footer-links li {
        margin-bottom: 0;
        transform: none !important;
    }
    
    .footer-link {
        padding: 0.4rem 0.6rem;
        padding-left: 0.6rem !important;
        font-size: 0.9rem;
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-link:hover {
        padding-left: 0.6rem !important;
        transform: none;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 1.2rem;
    }
    
    .contact-icon {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        margin-right: 10px;
    }
    
    .social-platforms {
        justify-content: center;
        gap: 0.7rem;
    }
    
    .social-platform {
        width: 40px;
        height: 40px;
    }
    
    .qr-code-section {
        max-width: 160px;
        margin: 1.5rem auto;
        padding: 1.2rem;
    }
    
    .qr-code-image {
        width: 110px;
        height: 110px;
    }
}

/* Petit mobile (375px - 424px) */
@media (min-width: 375px) and (max-width: 424px) {
    .footer {
        padding: 30px 1rem 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }
    
    .footer-brand .logo-wrapper {
        justify-content: center;
        margin-bottom: 1.2rem;
    }
    
    .footer-brand .logo-wrapper img {
        height: 32px;
    }
    
    .brand-description {
        font-size: 0.88rem;
        text-align: center;
        padding: 0;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0;
        transform: none !important;
    }
    
    .footer-link {
        padding: 0.4rem 0.5rem;
        padding-left: 0.5rem !important;
        font-size: 0.88rem;
    }
    
    .footer-link::before,
    .footer-link:hover::before {
        display: none;
    }
    
    .footer-link:hover {
        padding-left: 0.5rem !important;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
        margin-right: 8px;
    }
    
    .contact-info {
        font-size: 0.88rem;
    }
    
    .social-platforms {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .social-platform {
        width: 38px;
        height: 38px;
    }
    
    .qr-code-section {
        max-width: 140px;
        margin: 1.2rem auto;
        padding: 1rem;
    }
    
    .qr-code-image {
        width: 100px;
        height: 100px;
    }
}

/* Très petit mobile (< 375px) */
@media (max-width: 374px) {
    .footer {
        padding: 25px 0.8rem 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand .logo-wrapper {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-brand .logo-wrapper img {
        height: 30px;
    }
    
    .brand-description {
        font-size: 0.85rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-links li {
        margin-bottom: 0;
        width: 100%;
        transform: none !important;
    }
    
    .footer-link {
        padding: 0.5rem 0;
        padding-left: 0 !important;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-link:hover {
        padding-left: 0 !important;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .contact-icon {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
        margin-right: 0;
        margin-bottom: 0.4rem;
    }
    
    .contact-info {
        font-size: 0.85rem;
    }
    
    .social-platforms {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .social-platform {
        width: 36px;
        height: 36px;
    }
    
    .platform-icon i {
        font-size: 1rem;
    }
    
    .qr-code-section {
        max-width: 130px;
        margin: 1rem auto;
        padding: 0.8rem;
    }
    
    .qr-code-image {
        width: 90px;
        height: 90px;
    }
    
    .copyright p {
        font-size: 0.78rem;
    }
}

/* Mode paysage mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .footer {
        padding: 20px 2rem 15px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .qr-code-section {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .qr-code-image {
        width: 100px;
        height: 100px;
    }
    
    .social-media-section {
        padding-top: 1rem;
    }
}

/* Accessibilité - Réduction des mouvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .footer-link:hover,
    .contact-item:hover,
    .social-platform:hover,
    .footer-links li:hover {
        transform: none !important;
    }
}

/* Contraste élevé */
@media (prefers-contrast: high) {
    .footer {
        background: #000;
        border-top: 2px solid var(--primary);
    }
    
    .brand-description,
    .footer-link,
    .contact-info,
    .social-title,
    .qr-code-title {
        color: #fff !important;
    }
    
    .social-platform {
        border: 2px solid #fff;
        background: #000;
    }
    
    .contact-icon {
        border: 2px solid #fff;
    }
    
    .qr-code-section,
    .qr-code-image {
        border: 2px solid #fff;
    }
}

/* Mode sombre (préférence système) */
@media (prefers-color-scheme: dark) {
    .footer {
        background: rgba(0, 0, 0, 0.5);
    }
}




   
/* =======================================
   CONTACT PAGE STYLE (Full Page)
   ======================================= */


/* Hero Contact Section */
.contact-hero {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 120px 0 60px; /* smaller default padding */
}
.hero-background-contact,
.hero-gradient-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-gradient-contact {
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.3), rgba(177, 43, 239, 0.2));
}

.hero-content-contact {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero-title-contact {
    font-size: clamp(1.5rem, 6vw, 3.5rem); /* responsive size */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    padding: 0 1rem;
    background: linear-gradient(45deg, #fff 30%, #e2e2e2 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: font-size 0.3s ease;
}
.hero-title-contact .highlight-contact {
    background: linear-gradient(45deg, #8a2be2, #b12bef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.6rem, 6vw, 3rem);
    line-height: 1.2;
    margin: 0.3rem 0;
}


.hero-subtitle-contact {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #ccc;
    margin: 0 auto 1.5rem auto;
    max-width: 500px;
}

.hero-btns-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-primary-contact {
  background: linear-gradient(45deg, #8a2be2, #b12bef);
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}

.btn-primary-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
  color: white;
}

.btn-whatsapp-hero {
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 2.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}

.btn-whatsapp-hero:hover {
  background: #1ebe57;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  color: white;
}

/* Contact Main Section */
.contact-main-section {
  padding: 100px 0;
  background: #111;
}

.contact-main-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Info Card */
.contact-info-card {
  background: transparent;
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 43, 226, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-info-header {
  margin-bottom: 40px;
}

.contact-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(177, 43, 239, 0.2));
  color: #b12bef;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.contact-info-card h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #fff, #e2e2e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-description {
  color: #bbb;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-info-details {
  margin: 40px 0;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: rgba(138, 43, 226, 0.1);
  transform: translateX(5px);
  border-color: rgba(138, 43, 226, 0.3);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(45deg, #8a2be2, #b12bef);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon i {
  font-size: 1.2rem;
  color: white;
}

.contact-info-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
}

.contact-info-content p {
  color: #bbb;
  margin: 0;
  font-size: 0.95rem;
}

.contact-social-links {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social-links h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.social-icons-container {
  display: flex;
  gap: 15px;
}

.social-icon-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-icon-link:hover {
  background: linear-gradient(45deg, #8a2be2, #b12bef);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

/* Contact Form Card */
.contact-form-card {
  background: transparent;
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(138, 43, 226, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-form-header {
  margin-bottom: 30px;
}

.contact-form-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form-header h3 i {
  color: #8a2be2;
}

.contact-form-header p {
  color: #bbb;
  font-size: 1rem;
}

.contact-form-modern .form-group-modern {
  margin-bottom: 25px;
}

.input-with-icon, .textarea-with-icon {
  position: relative;
}

.input-with-icon i, .textarea-with-icon i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a2be2;
  font-size: 1.1rem;
}

.textarea-with-icon i {
  top: 22px;
  transform: none;
}

.contact-form-modern input,
.contact-form-modern textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px 16px 50px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.contact-form-modern textarea {
  padding-top: 18px;
  min-height: 120px;
  resize: vertical;
}

.contact-form-modern input::placeholder,
.contact-form-modern textarea::placeholder {
  color: #aaa;
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #8a2be2;
  outline: none;
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.2);
}

.form-features {
  margin: 30px 0;
  padding: 20px;
  background: rgba(138, 43, 226, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.form-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #ddd;
  font-size: 0.95rem;
}

.form-feature-item:last-child {
  margin-bottom: 0;
}

.form-feature-item i {
  color: #8a2be2;
  font-size: 1rem;
}

.btn-submit-modern {
  width: 100%;
  padding: 16px;
  background: linear-gradient(45deg, #8a2be2, #b12bef);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(138, 43, 226, 0.4);
}

/* Map Section */
.contact-map-section {
  padding: 80px 0;
  background: #0a0a0a;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge-centered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, rgba(138, 43, 226, 0.2), rgba(177, 43, 239, 0.2));
  color: #b12bef;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.section-header-centered h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(45deg, #fff, #e2e2e2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: #bbb;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.map-card-modern {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(138, 43, 226, 0.2);
}

.map-wrapper {
  height: 350px;
  position: relative;
}

.modern-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(1.1);
}

.map-actions-modern {
  padding: 25px 30px;
  background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-direction-modern, .btn-call-modern, .btn-email-modern {
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
}

.btn-direction-modern {
  background: linear-gradient(45deg, #8a2be2, #b12bef);
  color: white;
  border: none;
}

.btn-direction-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-call-modern {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-call-modern:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-email-modern {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-email-modern:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* CTA Section */
.contact-cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a0b2e 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path fill="%238a2be2" fill-opacity="0.05" d="M0,100 C150,200 350,0 500,100 C650,200 850,0 1000,100 L1000,0 L0,0 Z"/></svg>');
  background-size: cover;
  opacity: 0.3;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #fff 30%, #e2e2e2 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  color: #bbb;
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: linear-gradient(45deg, #8a2be2, #b12bef);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .contact-main-container {
    grid-template-columns: 1fr;
    max-width: 800px;
  }
  
  .contact-info-card, .contact-form-card {
    padding: 35px;
  }
}

@media (max-width: 992px) {
  .contact-hero {
        padding: 100px 0 50px;
    }
    .hero-title-contact {
        font-size: clamp(1.3rem, 5vw, 2.5rem);
    }
    .hero-title-contact .highlight-contact {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
    }
  .contact-main-section {
    padding: 80px 0;
  }
  
  .map-card-modern {
    max-width: 100%;
    margin: 0 20px;
  }
}

@media (max-width: 768px) {
   .contact-hero {
        padding: 80px 0 40px;
    }
    .hero-title-contact {
        font-size: clamp(1.2rem, 4.5vw, 2rem);
    }
    .hero-title-contact .highlight-contact {
        font-size: clamp(1.3rem, 4.5vw, 1.8rem);
    }
    .hero-subtitle-contact {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
  
  .hero-btns-contact {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary-contact, .btn-whatsapp-hero {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .contact-info-card, .contact-form-card {
    padding: 30px 25px;
  }
  
  .contact-info-card h2 {
    font-size: 1.9rem;
  }
  
  .section-header-centered h2 {
    font-size: 2rem;
  }
  
  .map-wrapper {
    height: 300px;
  }
  
  .map-actions-modern {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-direction-modern, .btn-call-modern, .btn-email-modern {
    width: 100%;
    max-width: 250px;
  }
  
  .cta-content h2 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-cta-primary, .btn-cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
     .contact-hero {
        padding: 60px 0 30px;
    }
    .hero-title-contact {
        font-size: clamp(1rem, 4vw, 1.6rem);
        margin-bottom: 0.8rem;
    }
    .hero-title-contact .highlight-contact {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    .hero-subtitle-contact {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }
    .hero-btns-contact {
        flex-direction: column;
        gap: 0.8rem;
    }
  .contact-info-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .contact-info-icon {
    margin: 0 auto;
  }
  
  .social-icons-container {
    justify-content: center;
  }
  
  .map-wrapper {
    height: 250px;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
}


/* language-popup  stylee */


/* Ensure intro animation is always on top */

/* INTRO MUST BE ABOVE POPUP */
.intro-overlay {
    position: fixed;
    z-index: 99999; /* highest */
}

/* POPUP BELOW INTRO */
.language-popup { 
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    backdrop-filter: blur(10px);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999; /* LOWER than intro-overlay */
    
    opacity: 1;
    visibility: visible;
}

.language-popup.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.language-box {
    background: rgba(51, 49, 51, 0.247);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    width: 350px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.language-box h4 {
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.5rem;
}

.language-box p {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.language-box button {
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.language-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-english {
    background: transparent;
    color: white;
}

.btn-arabic {
    background: transparent;
    color: white;
}

.btn-italian {
    background:transparent;
    color:white;
}

/* Masquer le contenu du site quand le popup est affiché */
body.has-language-popup {
    overflow: hidden;
}

body.has-language-popup .site-content {
    display: none;
}