/* ==================== VARIABLES CSS ==================== */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ==================== NAVIGATION ==================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    height: 70px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Système de traduction intégré - Version agrandie */
.translation-controls {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.lang-btn {
    padding: 9px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    color: #333;
}

.lang-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-1px);
}

.lang-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 3px 5px rgba(102, 126, 234, 0.3);
}

.flag-icon {
    font-size: 0.9em;
}
	/* Version réduite du logo */
	.logo {
	    font-size: 1.2rem;
	    font-weight: bold;
	    background: var(--gradient);
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	    z-index: 1001;
	}

	.logo a {
	    text-decoration: none;
	    color: inherit;
	    display: inline-block;
	    transition: var(--transition);
	}

	.logo a:hover {
	    transform: scale(1.03);
	}

	/* Version encore plus compacte pour mobile */
	@media (max-width: 768px) {
	    .logo {
		font-size: 1rem;
	    }
	    
	    .logo a:hover {
		transform: scale(1.02);
	    }
	}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: var(--transition);
    z-index: -1;
    border-radius: var(--border-radius);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    left: 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.nav-links a i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover i {
    transform: scale(1.1);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-toggle:hover {
    background: var(--hover-bg);
    color: var(--primary-color);
    transform: scale(1.1);
}

.mobile-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Notification de traduction */
.translation-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 1001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.translation-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Animation de chargement pour la traduction */
.translating {
    position: relative;
    opacity: 0.7;
}

.translating::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

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

/* ==================== RESPONSIVE NAVIGATION ==================== */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0;
        justify-content: flex-start;
        font-size: 1rem;
        position: relative;
    }
    
    .nav-links a::before {
        border-radius: 0;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        transform: none;
        box-shadow: none;
        background: var(--gradient);
    }
    
    .nav-links a i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
    }

	/* Version ultra-compacte pour mobile */
	.translation-controls {
	    position: static;
	    opacity: 1;
	    visibility: visible;
	    transform: none;
	    padding: 5px;
	    border-radius: 6px;
	    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
	    margin-right: 8px;
	}

	.lang-btn {
	    padding: 3px 5px;
	    font-size: 0.65rem;
	    min-width: auto;
	}

	.flag-icon {
	    font-size: 0.9em;
	}
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-links a {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .translation-controls {
        padding: 4px;
        gap: 3px;
    }

    .lang-btn {
        padding: 3px 5px;
        font-size: 0.65rem;
    }
    
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-links.active {
    animation: slideDown 0.3s ease;
}

/* ==================== NAVIGATION SCROLL EFFECTS ==================== */
nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

nav.scrolled .logo {
    transform: scale(0.9);
}

/* ==================== ACCESSIBILITY ==================== */
.nav-links a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.nav-links a:focus:not(:focus-visible) {
    outline: none;
}

/* ==================== HOVER STATES FOR BETTER UX ==================== */
@media (hover: hover) {
    .nav-links a:hover {
        background: var(--gradient);
    }
}

/* Pour les écrans tactiles */
@media (hover: none) {
    .nav-links a:active {
        background: var(--gradient);
        color: var(--white);
    }
}

/* ==================== HEADER SECTION ==================== */

	.header {
            background: linear-gradient(135deg, #ff6b35 70%, #2D99F3 0%, #f7931e 80% , #2196F3 100%);
            padding: 80px 0;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            background-size: 400px 400px, 250px 250px, 200px 200px;
            animation: dataFlow 25s linear infinite;
        }

        @keyframes dataFlow {
            0% { transform: translateX(0px) translateY(0px); }
            33% { transform: translateX(-40px) translateY(-30px); }
            66% { transform: translateX(30px) translateY(-20px); }
            100% { transform: translateX(0px) translateY(0px); }
        }

        .analytics-hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: titlePulse 3s ease-in-out infinite alternate;
        }

        @keyframes titlePulse {
            0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.2); }
            100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 40px rgba(255,255,255,0.4); }
        }

	.header-content {
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    gap: 30px;
	    position: relative;
	    z-index: 2;
	    flex-wrap: wrap;
	}


	.header-logo {
	    width: 100px;
	    height: 100px;
	    border-radius: 50%;
	    border: 3px solid rgba(255, 255, 255, 0.3);
	    box-shadow: 
	    0 10px 20px rgba(0, 0, 0, 0.3),
	    0 0 0 5px rgba(255, 255, 255, 0.1);
	    transition: transform 0.3s ease, box-shadow 0.3s ease;
	    object-fit: cover;
	    background: white;
	    padding: 3px;
	}

	.header-logo:hover {
	    transform: scale(1.1) rotate(5deg);
	    box-shadow: 
	    0 15px 30px rgba(0, 0, 0, 0.4),
	    0 0 0 8px rgba(255, 255, 255, 0.2);
	}

	.header-text {
	    display: flex;
	    flex-direction: column;
	    align-items: center;
	    text-align: center;
	}

	.header-text h1 {
	    font-size: 5.5em;
	    margin-bottom: 10px;
	    text-shadow: 
	    3px 3px 6px rgba(0,0,0,0.4),
	    0 0 20px rgba(255,255,255,0.2);
	    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	    animation: titleGlow 3s ease-in-out infinite;
	    font-weight: 800;
	    letter-spacing: 2px;
	}

	@keyframes titleGlow {
	    0%, 100% { 
	    text-shadow: 
		3px 3px 6px rgba(0,0,0,0.4),
		0 0 20px rgba(255,255,255,0.2);
	    }
	    50% { 
	    text-shadow: 
		3px 3px 6px rgba(0,0,0,0.4),
		0 0 30px rgba(255,255,255,0.4),
		0 0 40px rgba(255,255,255,0.2);
	    }
	}

	.header-text p {
	    font-size: 1.4em;
	    opacity: 0.95;
	    font-weight: 300;
	    letter-spacing: 1px;
	    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	    margin: 0;
	}

	/* Éléments décoratifs */
	.header-decoration {
	    position: absolute;
	    z-index: 1;
	    border-radius: 50%;
	}

	.decoration-1 {
	    top: 10%;
	    left: 10%;
	    width: 60px;
	    height: 60px;
	    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
	    animation: float1 6s ease-in-out infinite;
	}

	.decoration-2 {
	    top: 20%;
	    right: 15%;
	    width: 40px;
	    height: 40px;
	    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
	    animation: float2 8s ease-in-out infinite;
	}

	.decoration-3 {
	    bottom: 15%;
	    left: 20%;
	    width: 50px;
	    height: 50px;
	    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
	    animation: float3 7s ease-in-out infinite;
	}

	@keyframes float1 {
	    0%, 100% { transform: translateY(0px) rotate(0deg); }
	    50% { transform: translateY(-20px) rotate(180deg); }
	}

	@keyframes float2 {
	    0%, 100% { transform: translateY(0px) rotate(0deg); }
	    50% { transform: translateY(-15px) rotate(-180deg); }
	}

	@keyframes float3 {
	    0%, 100% { transform: translateY(0px) rotate(0deg); }
	    50% { transform: translateY(-25px) rotate(180deg); }
	}

	.header-badge {
	    position: absolute;
	    top: 20px;
	    right: 20px;
	    background: rgba(255, 255, 255, 0.2);
	    color: white;
	    padding: 8px 16px;
	    border-radius: 20px;
	    font-size: 0.9em;
	    font-weight: 600;
	    backdrop-filter: blur(10px);
	    border: 1px solid rgba(255, 255, 255, 0.3);
	    z-index: 3;
	    animation: badgePulse 2s ease-in-out infinite;
	}

	@keyframes badgePulse {
	    0%, 100% { transform: scale(1); }
	    50% { transform: scale(1.05); }
	}

	/* ==================== SECTIONS PRINCIPALES ==================== */

	.section-title {
	    text-align: center;
	    font-size: 2.5rem;
	    margin-bottom: 3rem;
	    background: var(--gradient);
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    gap: 1rem;
	}

	/* ==================== PAGE D'ACCUEIL ==================== *//*
	#accueil {
	    padding: 6rem 1rem 2rem;
	    background: var(--white);
	    color: var(--text-dark);
	    text-align: center;
	    margin-bottom: 1rem;
	}
	*/
	#accueil {
            background: linear-gradient(135deg, #fD6b35 0%, #2196F3 10%, #f7931e 50% , #2196F3 100%);
            padding: 80px 0;
            text-align: center;
            color: var(--text-dark);
            position: relative;
            overflow: hidden;
        }

	
	.hero-content {
	    max-width: 800px;
	    margin: 0 auto;
	}

	.profile-photo {
	    width: 350px;
	    height: 350px;
	    border-radius: 50%;
	    margin: 0 auto 2rem;
	    overflow: hidden;
	    border: 5px solid var(--primary-color);
	    transition: var(--transition);
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    background: rgba(102, 126, 234, 0.1);
	}

	.profile-photo img {
	    width: 100%;
	    height: 100%;
	    object-fit: cover;
	}

	.hero-content h2 {
	    font-size: 3rem;
	    margin-bottom: 1rem;
	    font-weight: 300;
	    color: var(--text-dark);
	}

	.description {
	    font-size: 1.1rem;
	    margin-bottom: 3rem;
	    color: var(--text-with);
	    max-width: 600px;
	    margin-left: auto;
	    margin-right: auto;
	}

	.hero-stats {
	    display: flex;
	    justify-content: center;
	    gap: 3rem;
	    margin-bottom: 3rem;
	}

	.stat {
	    text-align: center;
	}

	.stat i {
	    font-size: 2rem;
	    margin-bottom: 0.5rem;
	    display: block;
	    color: var(--primary-color);
	}

	.stat span {
	    color: var(--text-light);
	    font-weight: 500;
	}

	/* ==================== LIENS RAPIDES - VERSION UNIQUE ==================== */
	.quick-links {
	    display: grid;
	    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	    gap: 2rem;
	    padding: 0;
	}

	.quick-link {
	    position: relative;
	    background: var(--white);
	    padding: 2.5rem 2rem;
	    border-radius: var(--border-radius);
	    text-decoration: none;
	    color: var(--text-dark);
	    text-align: center;
	    transition: var(--transition);
	    box-shadow: var(--shadow);
	    overflow: hidden;
	    border: none;
	    display: block;
	    opacity: 0;
	    animation: slideInUp 0.6s ease forwards;
	}

	.quick-link::before {
	    content: '';
	    position: absolute;
	    top: 0;
	    left: -100%;
	    width: 100%;
	    height: 100%;
	    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	    transition: left 0.6s;
	}

	.quick-link:hover::before {
	    left: 100%;
	}

	.quick-link::after {
	    content: '';
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 4px;
	    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
	    transform: scaleX(0);
	    transition: transform 0.3s ease;
	}

	.quick-link:hover::after {
	    transform: scaleX(1);
	}

	.quick-link:hover {
	    transform: translateY(-10px) scale(1.02);
	    box-shadow: var(--shadow-hover);
	}

	.icon-container {
	    position: relative;
	    display: inline-block;
	    margin-bottom: 1.5rem;
	}

	.quick-link i {
	    font-size: 3rem;
	    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	    transition: var(--transition);
	}

	.quick-link:hover i {
	    transform: scale(1.1) rotate(5deg);
	    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	}

	.quick-link span {
	    font-size: 1.1rem;
	    font-weight: 600;
	    line-height: 1.4;
	    display: block;
	    transition: var(--transition);
	}

	.quick-link:hover span {
	    color: var(--primary-color);
	    transform: translateY(-2px);
	}

	/* Couleurs spécifiques pour chaque lien */
	.quick-link:nth-child(1):hover i {
	    background: linear-gradient(45deg, #10b981, #059669);
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	}

	.quick-link:nth-child(2):hover i {
	    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	}

	.quick-link:nth-child(3):hover i {
	    background: linear-gradient(45deg, #8b5cf6, #7c3aed);
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	}

	.quick-link:nth-child(4):hover i {
	    background: linear-gradient(45deg, #f59e0b, #d97706);
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	}

	/* Animations pour les liens rapides */
	.quick-link:nth-child(1) { animation-delay: 0.1s; }
	.quick-link:nth-child(2) { animation-delay: 0.2s; }
	.quick-link:nth-child(3) { animation-delay: 0.3s; }
	.quick-link:nth-child(4) { animation-delay: 0.4s; }

	@keyframes slideInUp {
	    from {
		opacity: 0;
		transform: translateY(30px);
	    }
	    to {
		opacity: 1;
		transform: translateY(0);
	    }
	}

	/* ==================== TIMELINE INTERACTIVE ==================== */
	.biography-section {
	    margin: 4rem 0;
	    padding: 3rem;
	    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	    border-radius: 25px;
	    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
	    position: relative;
	    overflow: hidden;
	}

	.biography-section::before {
	    content: '';
	    position: absolute;
	    top: 0;
	    right: 0;
	    width: 200px;
	    height: 200px;
	    background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 70%);
	    border-radius: 50%;
	}

	.biography-section h3 {
	    text-align: center;
	    font-size: 2.2rem;
	    margin-bottom: 3rem;
	    color: var(--text-dark);
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    gap: 1rem;
	}

	.biography-section h3 i {
	    color: var(--primary-color);
	}

	/* Timeline Container */
	.timeline-container {
	    position: relative;
	    max-width: 1000px;
	    margin: 0 auto;
	    padding: 2rem 0;
	}

	.timeline-track {
	    position: absolute;
	    left: 50%;
	    transform: translateX(-50%);
	    width: 4px;
	    height: 100%;
	    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
	    border-radius: 2px;
	    opacity: 0.3;
	}

	/* Timeline Blocks */
	.timeline-block {
	    display: flex;
	    align-items: center;
	    margin-bottom: 3rem;
	    opacity: 0;
	    transform: translateY(50px);
	    animation: slideUpTimeline 0.8s ease forwards;
	    position: relative;
	}

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

	/* Animation delays */
	.timeline-block:nth-child(1) { animation-delay: 0.2s; }
	.timeline-block:nth-child(2) { animation-delay: 0.4s; }
	.timeline-block:nth-child(3) { animation-delay: 0.6s; }
	.timeline-block:nth-child(4) { animation-delay: 0.8s; }
	.timeline-block:nth-child(5) { animation-delay: 1.0s; }
	.timeline-block:nth-child(6) { animation-delay: 1.2s; }
	.timeline-block:nth-child(7) { animation-delay: 1.4s; }
	.timeline-block:nth-child(8) { animation-delay: 1.6s; }
	.timeline-block:nth-child(9) { animation-delay: 1.8s; }

	@keyframes slideUpTimeline {
	    to {
		opacity: 1;
		transform: translateY(0);
	    }
	}

	/* Timeline Markers */
	.timeline-marker {
	    width: 80px;
	    height: 80px;
	    border-radius: 50%;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    position: relative;
	    z-index: 3;
	    box-shadow: 0 0 0 8px rgba(255,255,255,0.9);
	    transition: all 0.3s ease;
	}

	.timeline-marker:hover {
	    transform: scale(1.1);
	    box-shadow: 0 0 0 12px rgba(255,255,255,0.9);
	}

	.timeline-marker i {
	    font-size: 2rem;
	    color: white;
	}

	/* Couleurs des markers */
	.timeline-marker.birth { background: linear-gradient(135deg, #ff6b6b, #ee5a52); }
	.timeline-marker.education { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
	.timeline-marker.sport { background: linear-gradient(135deg, #45b7d1, #96c93d); }
	.timeline-marker.university { background: linear-gradient(135deg, #667eea, #764ba2); }
	.timeline-marker.future { background: linear-gradient(135deg, #f093fb, #f5576c); }

	/* Timeline Content */
	.timeline-content {
	    background: white;
	    padding: 2.5rem;
	    border-radius: 20px;
	    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	    width: 45%;
	    position: relative;
	    transition: all 0.3s ease;
	    border-left: 5px solid var(--primary-color);
	}

	.timeline-content:hover {
	    transform: translateY(-5px);
	    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
	}

	.timeline-content::before {
	    content: '';
	    position: absolute;
	    top: 2.5rem;
	    width: 0;
	    height: 0;
	    border: 15px solid transparent;
	}

	.timeline-block:nth-child(odd) .timeline-content::before {
	    right: -30px;
	    border-left-color: white;
	}

	.timeline-block:nth-child(even) .timeline-content::before {
	    left: -30px;
	    border-right-color: white;
	}

	.timeline-date {
	    background: var(--primary-color);
	    color: white;
	    padding: 0.5rem 1rem;
	    border-radius: 20px;
	    font-size: 0.9rem;
	    font-weight: 600;
	    display: inline-block;
	    margin-bottom: 1rem;
	}

	.timeline-content h4 {
	    color: var(--text-dark);
	    margin-bottom: 0.8rem;
	    font-size: 1.3rem;
	    font-weight: 700;
	}

	.timeline-content p {
	    color: var(--text-light);
	    line-height: 1.6;
	    margin-bottom: 1rem;
	}

	/* Tags */
	.timeline-tag {
	    display: inline-block;
	    padding: 0.4rem 1rem;
	    border-radius: 15px;
	    font-size: 0.8rem;
	    font-weight: 600;
	    color: white;
	}

	.birth-tag { background: #ff6b6b; }
	.education-tag { background: #4ecdc4; }
	.sport-tag { background: #45b7d1; }
	.university-tag { background: #667eea; }
	.future-tag { background: #f093fb; }

	/* Quick Stats */
	.quick-stats {
	    display: grid;
	    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	    gap: 2rem;
	    margin-top: 4rem;
	    padding: 2rem 0;
	}

	.stat-card {
	    background: white;
	    padding: 2rem;
	    border-radius: 20px;
	    text-align: center;
	    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
	    transition: all 0.3s ease;
	    border-top: 4px solid var(--primary-color);
	}

	.stat-card:hover {
	    transform: translateY(-10px);
	    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
	}

	.stat-number {
	    font-size: 3rem;
	    font-weight: 800;
	    color: var(--primary-color);
	    margin-bottom: 0.5rem;
	    background: var(--gradient);
	    -webkit-background-clip: text;
	    -webkit-text-fill-color: transparent;
	    background-clip: text;
	}

	.stat-label {
	    color: var(--text-light);
	    font-weight: 600;
	    text-transform: uppercase;
	    font-size: 0.9rem;
	    letter-spacing: 1px;
	}

	/* Section sociale */

	.social-section {
	    margin: 3rem 0;
	    text-align: center;
	}
	.social-section h3 {
	    color: var(--text-dark);
	    margin-bottom: 1.5rem;
	    font-size: 1.3rem;
	}
	.social-links {
	    display: flex;
	    justify-content: center;
	    gap: 1.5rem;
	    margin: 2rem 0;
	    flex-wrap: wrap;
	}
	.social-link {
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    width: 60px;
	    height: 60px;
	    border-radius: 50%;
	    color: var(--white);
	    text-decoration: none;
	    transition: var(--transition);
	    position: relative;
	    overflow: hidden;
	    animation: fadeInUp 0.6s ease forwards;
	}
	.social-link::before {
	    content: '';
	    position: absolute;
	    top: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	    border-radius: 50%;
	    transition: var(--transition);
	    z-index: 1;
	}
	.social-link i {
	    font-size: 1.5rem;
	    z-index: 2;
	    position: relative;
	}
	.social-link:hover {
	    transform: translateY(-5px) scale(1.1);
	    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	}
	/* Couleurs spécifiques des réseaux sociaux */
	.social-link.linkedin { background: linear-gradient(135deg, #0077b5, #005885); }
	.social-link.github { background: linear-gradient(135deg, #333, #24292e); }
	.social-link.facebook { background: linear-gradient(135deg, #1877f2, #166fe5); }
	.social-link.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
	.social-link.arduino { background: linear-gradient(135deg, #00979d, #007b7f); }
	/* Nouveaux liens avec dégradés */
.social-link.messenger { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.social-link.gmail { background: linear-gradient(135deg, #DB4437, #C23321); }
.social-link.telegram { background: linear-gradient(135deg, #0088CC, #0077B5); }

	.social-link.tinkercad { 
	    background: linear-gradient(135deg, #ff6900, #ff8533); 
	}
	.social-link svg {
	    width: 1.5rem;
	    height: 1.5rem;
	    z-index: 2;
	    position: relative;
	}
	.social-link.worwi { background: linear-gradient(135deg, #4a90e2, #357abd); }
	.social-link.matomo { background: linear-gradient(135deg, #3450a3, #2c4089); }

	/* Animations avec délais */
	.social-link:nth-child(1) { animation-delay: 0.1s; }
	.social-link:nth-child(2) { animation-delay: 0.2s; }
	.social-link:nth-child(3) { animation-delay: 0.3s; }
	.social-link:nth-child(4) { animation-delay: 0.4s; }
	.social-link:nth-child(5) { animation-delay: 0.5s; }
	.social-link:nth-child(6) { animation-delay: 0.6s; }
	.social-link:nth-child(7) { animation-delay: 0.7s; }
	.social-link:nth-child(8) { animation-delay: 0.8s; }

	/* Contact rapide */
	.contact-quick {
	    margin: 1rem 0;
	    padding: 1rem;
	    background: var(--white);
	    border-radius: var(--border-radius);
	    box-shadow: var(--shadow);
	    border: 2px solid rgba(102, 126, 234, 0.1);
	}

	.contact-info {
	    display: flex;
	    justify-content: center;
	    gap: 2rem;
	    margin-bottom: 1.5rem;
	    flex-wrap: wrap;
	}

	.contact-item {
	    display: flex;
	    align-items: center;
	    gap: 0.5rem;
	    padding: 0.8rem 1.2rem;
	    background: rgba(102, 126, 234, 0.1);
	    border-radius: 25px;
	    transition: var(--transition);
	}

	.contact-item:hover {
	    background: rgba(102, 126, 234, 0.2);
	    transform: translateY(-2px);
	}

	.contact-item i {
	    color: var(--primary-color);
	    font-size: 1.1rem;
	}

	.contact-item a {
	    color: var(--text-dark);
	    text-decoration: none;
	    font-weight: 500;
	    transition: var(--transition);
	}

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

	/* Bouton WhatsApp CTA */
	.whatsapp-cta {
	    display: inline-flex;
	    align-items: center;
	    gap: 0.8rem;
	    background: linear-gradient(135deg, #25D366, #128C7E);
	    color: var(--white);
	    padding: 1rem 2rem;
	    border-radius: 30px;
	    text-decoration: none;
	    font-weight: 600;
	    font-size: 1.1rem;
	    transition: var(--transition);
	    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
	    border: none;
	}

	.whatsapp-cta:hover {
	    transform: translateY(-3px);
	    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
	    background: linear-gradient(135deg, #128C7E, #25D366);
	}

	.whatsapp-cta i {
	    font-size: 1.3rem;
	}

	/* Animations supplémentaires */
	@keyframes slideInFromLeft {
	    from {
		opacity: 0;
		transform: translateX(-30px);
	    }
	    to {
		opacity: 1;
		transform: translateX(0);
	    }
	}

	.story-item {
	    animation: slideInFromLeft 0.6s ease forwards;
	}

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

	/* ==================== ANIMATIONS GÉNÉRALES ==================== */
	@keyframes fadeInUp {
	    from {
		opacity: 0;
		transform: translateY(30px);
	    }
	    to {
		opacity: 1;
		transform: translateY(0);
	    }
	}

	.fade-in {
	    animation: fadeInUp 0.6s ease forwards;
	}

	/* Bloc CSS */
/* En-tête Portfolio */
.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    color: white;
}

.header-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.header-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title {
    font-size: 1.3rem;
    opacity: 0.9;
    margin: 0 0 1rem 0;
    font-weight: 300;
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Section Activités */
.activities-section {
    margin: 4rem 0;
}

.activities-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.activities-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.activity-card h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.activity-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .header-text h1 {
        font-size: 2rem;
    }
    
    .activity-tags {
        justify-content: center;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .activities-section h2 {
        font-size: 2rem;
    }
}

	/* ==================== FOOTER ==================== */
	footer {
	    background: var(--dark-color);
	    color: var(--white);
	    text-align: center;
	    padding: 2rem;
	    margin-top: 4rem;
	}

	.footer-content p {
	    margin-bottom: 0.5rem;
	}

	/* ==================== RESPONSIVE ==================== */
	@media (max-width: 768px) {
	    .nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(10px);
		flex-direction: column;
		padding: 2rem;
		box-shadow: var(--shadow);
		gap: 1rem;
	    }

	    .nav-links.active {
		display: flex;
	    }

	    .mobile-toggle {
		display: block;
	    }

	    .nav-container {
		padding: 1rem;
	    }

	    .header {
		padding: 100px 20px 40px;
	    }

	    .header-content {
		flex-direction: column;
		gap: 20px;
	    }

	    .header-logo {
		width: 70px;
		height: 70px;
	    }

	    .header-text h1 {
		font-size: 2.5em;
	    }

	    .header-text p {
		font-size: 1.1em;
	    }

	    .header-badge {
		top: 10px;
		right: 10px;
		font-size: 0.8em;
		padding: 6px 12px;
	    }

	    .decoration-1, .decoration-2, .decoration-3 {
		display: none;
	    }

	    .hero-content h2 {
		font-size: 2rem;
	    }

	    .hero-stats {
		flex-direction: column;
		gap: 1rem;
	    }

	    .profile-photo {
		width: 150px;
		height: 150px;
	    }

	    /* Responsive pour les sections */
	    section {
		padding: 3rem 1rem 2rem;
	    }

	    .section-title {
		font-size: 2rem;
		margin-bottom: 2rem;
	    }

	    /* Liens rapides responsive */
	    .quick-links {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	    }
	    
	    .quick-link {
		padding: 2rem 1.5rem;
	    }

	    /* Timeline mobile */
	    .biography-section {
		margin: 2rem 0;
		padding: 2rem 1rem;
	    }

	    .biography-section h3 {
		font-size: 1.8rem;
		flex-direction: column;
		gap: 0.5rem;
	    }

	    .timeline-track {
		left: 30px;
		transform: none;
	    }

	    .timeline-block {
		flex-direction: row !important;
		margin-bottom: 2rem;
	    }

	    .timeline-marker {
		width: 60px;
		height: 60px;
		position: absolute;
		left: 0;
	    }

	    .timeline-marker i {
		font-size: 1.5rem;
	    }

	    .timeline-content {
		width: calc(100% - 80px);
		margin-left: 80px;
		padding: 1.5rem;
	    }

	    .timeline-content::before {
		left: -15px !important;
		border-right-color: white !important;
		border-left-color: transparent !important;
		border-width: 10px;
	    }

	    .timeline-date {
		font-size: 0.8rem;
		padding: 0.4rem 0.8rem;
	    }

	    .timeline-content h4 {
		font-size: 1.1rem;
	    }

	    .timeline-content p {
		font-size: 0.9rem;
	    }

	    .quick-stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
		margin-top: 2rem;
	    }

	    .stat-card {
		padding: 1.5rem 1rem;
	    }

	    .stat-number {
		font-size: 2rem;
	    }

	    .stat-label {
		font-size: 0.8rem;
	    }

	    .social-links {
		gap: 1rem;
	    }

	    .social-link {
		width: 50px;
		height: 50px;
	    }

	    .contact-info {
		flex-direction: column;
		gap: 1rem;
	    }

	    .contact-quick {
		margin: 2rem 0;
		padding: 1.5rem;
	    }

	    .whatsapp-cta {
		padding: 0.8rem 1.5rem;
		font-size: 1rem;
	    }
	}

	@media (max-width: 480px) {
	    .header-logo {
		width: 60px;
		height: 60px;
	    }

	    .header-text h1 {
		font-size: 2em;
	    }

	    .header-text p {
		font-size: 1em;
	    }

	    .hero-content h2 {
		font-size: 1.8rem;
	    }

	    .profession {
		font-size: 1.1rem;
	    }

	    /* Timeline très petit écran */
	    .biography-section {
		padding: 1.5rem 0.5rem;
	    }

	    .timeline-marker {
		width: 50px;
		height: 50px;
	    }

	    .timeline-marker i {
		font-size: 1.2rem;
	    }

	    .timeline-content {
		width: calc(100% - 70px);
		margin-left: 70px;
		padding: 1rem;
	    }

	    .timeline-content h4 {
		font-size: 1rem;
	    }

	    .quick-stats {
		grid-template-columns: 1fr;
	    }

	    .social-links {
		justify-content: center;
	    }

	    .contact-info {
		flex-direction: column;
	    }
	}
		

	.profession {
	    font-size: 1.5rem;
	    margin-bottom: 15px;
	    opacity: 0.9;
	    position: relative;
	    z-index: 2;
	}

	.description {
	    font-size: 1.2rem;
	    opacity: 0.8;
	    max-width: 600px;
	    margin: 0 auto;
	    position: relative;
	    z-index: 2;
	}

@keyframes titleGlow {
    0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.2); }
    100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.4); }
}


.app-gallery {
    padding: 80px 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="20" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="15" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="25" r="1.2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.6;
    animation: floatPattern 20s linear infinite;
}

@keyframes floatPattern {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(10px) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(-15px); }
    100% { transform: translateX(0) translateY(0); }
}

.gallery-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.gallery-title {
    font-size: 3rem;
    color: #2c3e50; /* Changé de white à bleu foncé */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Corrigé la syntaxe */
    animation: titlePulse 3s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.02); }
}

.gallery-subtitle {
    font-size: 1.3rem;
    color: #34495e; /* Changé de blanc à gris foncé */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.screenshots-container {
    display: flex;
    flex-direction: row; /* Force l'alignement horizontal */
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 2500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap; /* Empêche le retour à la ligne */
}

.screenshot-item {
    flex: 0 1 300px; /* Changé pour une largeur fixe */
    max-width: 300px; /* Réduit la taille pour qu'ils tiennent sur une ligne */
    min-width: 250px; /* Largeur minimum */
    position: relative;
    transform: translateY(0);
    transition: all 0.4s ease;
}

/* Supprimé le décalage vertical du 2ème élément */
.screenshot-item:nth-child(2) {
    transform: translateY(0); /* Aligné horizontalement */
}

.screenshot-item:hover {
    transform: translateY(-15px) scale(1.05);
}

.screenshot-item:nth-child(2):hover {
    transform: translateY(-15px) scale(1.05); /* Même effet hover pour tous */
}

.screenshot-frame {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 20px;
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    height: 100%; /* Pour que tous les cadres aient la même hauteur */
}

.screenshot-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-label {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
}

.screenshot-item:hover .screenshot-label {
    opacity: 1;
    bottom: 10px;
}

@media (max-width: 768px) {
    .screenshots-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .screenshot-item {
        max-width: 300px;
    }
    
    .screenshot-item:nth-child(2) {
        transform: translateY(0);
    }
    
    .screenshot-item:hover {
        transform: translateY(-10px) scale(1.03);
    }
    
    .screenshot-item:nth-child(2):hover {
        transform: translateY(-10px) scale(1.03);
    }
    
    .gallery-title {
        font-size: 2.2rem;
    }
}

/* CSS Responsive pour la galerie d'images */

/* Pour écrans larges (desktop) */
@media (min-width: 1024px) {
    .screenshots-container {
        gap: 30px !important;
        max-width: 1200px !important;
    }
    .screenshot-item {
        flex: 0 0 300px !important;
        width: 300px !important;
        max-width: 300px !important;
    }
}

/* Pour tablettes (768px à 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .screenshots-container {
        gap: 20px !important;
        max-width: 800px !important;
        padding: 0 20px !important;
    }
    .screenshot-item {
        flex: 0 0 220px !important;
        width: 220px !important;
        max-width: 220px !important;
    }
    .gallery-title {
        font-size: 2.5rem !important;
    }
    .gallery-subtitle {
        font-size: 1.1rem !important;
    }
}

/* Pour mobiles en paysage (576px à 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .screenshots-container {
        flex-direction: column !important;
        gap: 30px !important;
        align-items: center !important;
        padding: 0 20px !important;
    }
    .screenshot-item {
        flex: none !important;
        width: 280px !important;
        max-width: 280px !important;
    }
    .gallery-title {
        font-size: 2.2rem !important;
    }
    .gallery-subtitle {
        font-size: 1rem !important;
    }
}

/* Pour petits mobiles (moins de 576px) */
@media (max-width: 575px) {
    .screenshots-container {
        flex-direction: column !important;
        gap: 25px !important;
        align-items: center !important;
        padding: 0 15px !important;
    }
    .screenshot-item {
        flex: none !important;
        width: 250px !important;
        max-width: 90vw !important; /* 90% de la largeur de l'écran */
    }
    .gallery-title {
        font-size: 1.8rem !important;
        text-align: center !important;
    }
    .gallery-subtitle {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    .screenshot-frame {
        padding: 15px !important;
    }
}

/* Styles communs pour tous les écrans */
.screenshot-item {
    transition: all 0.3s ease !important;
}

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.02) !important;
}

/* Amélioration des images pour tous les écrans */
.screenshot-frame img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}
.electronics-hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            padding: 100px 0;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .electronics-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.15) 0%, transparent 50%);
            background-size: 300px 300px, 200px 200px, 150px 150px;
            animation: circuitFloat 20s linear infinite;
        }

        .electronics-hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.2)"/><circle cx="50" cy="30" r="1.5" fill="rgba(255,255,255,0.3)"/><circle cx="80" cy="40" r="2.5" fill="rgba(255,255,255,0.15)"/><circle cx="30" cy="60" r="1" fill="rgba(255,255,255,0.4)"/><circle cx="70" cy="70" r="2" fill="rgba(255,255,255,0.2)"/><line x1="20" y1="20" x2="30" y2="60" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><line x1="50" y1="30" x2="70" y2="70" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><line x1="80" y1="40" x2="30" y2="60" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
            opacity: 0.4;
        }

        @keyframes circuitFloat {
            0% { transform: translateX(0px) translateY(0px); }
            33% { transform: translateX(-30px) translateY(-30px); }
            66% { transform: translateX(20px) translateY(-10px); }
            100% { transform: translateX(0px) translateY(0px); }
        }

        .electronics-hero-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .electronics-hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: titleGlow 3s ease-in-out infinite alternate;
        }

        @keyframes titleGlow {
            0% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.2); }
            100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.4); }
        }

/* ===== STYLES POUR LE SÉLECTEUR DE LANGUE ===== */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 10px;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    gap: 5px;
}

.block-header.chatanonym {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.block-header.chatanonym:hover {
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
    transform: translateY(-2px);
}

