/* ==================== VARIABLES & BASE ==================== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --success: #10b981;
    --warning: #f59e0b;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-nav-cta):hover {
    color: var(--primary);
}

.nav-links a:not(.btn-nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-nav-cta):hover::after {
    width: 100%;
}

.btn-nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
/* ==================== HERO CENTRALISÉ ==================== */
.hero-premium-centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4.2rem 2rem 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-container-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* BADGE PFE MÉGA-VISIBLE */
.pfe-badge-mega {
    position: relative;
    animation: slideInDown 0.8s ease-out;
}

.badge-glow-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 120%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 100px;
    filter: blur(20px);
    opacity: 0.3;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.5;
    }
}

.badge-content-mega {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: white;
    border: 2px solid var(--primary-light);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.25);
    transition: var(--transition);
}

.badge-content-mega:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.35);
}

.pulse-dot-mega {
    width: 14px;
    height: 14px;
    background: var(--success);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    flex-shrink: 0;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.badge-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.badge-title-mega {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.badge-date-mega {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
}

.badge-arrow {
    font-size: 1.2rem;
    color: var(--primary);
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* NOM CENTRÉ */
.hero-name-centered {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.name-line {
    color: var(--text-primary);
}

.gradient-name {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* TITRE CENTRÉ */
.hero-title-wrapper-centered {
    margin: 0.5rem 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-title-centered {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.title-underline-centered {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
    margin: 0 auto;
    width: 0;
    animation: expandWidthCenter 1s ease-out 0.8s forwards;
}

@keyframes expandWidthCenter {
    to { width: 50%; }
}

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

/* DESCRIPTION CENTRÉE */
.hero-description-centered {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 650px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.highlight-word {
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    opacity: 0.2;
    border-radius: 4px;
    z-index: -1;
}

/* CTA CENTRALISÉ */
.hero-cta-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-primary-mega {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.3rem 2.8rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.btn-primary-mega:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-icon {
    font-size: 1.3rem;
    transition: var(--transition);
}

.btn-primary-mega:hover .btn-icon {
    transform: translateX(5px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary-mega:hover .btn-shine {
    left: 100%;
}

/* SOCIAL BUTTONS */
.social-links-centered {
    display: flex;
    gap: 1rem;
}

.social-btn-centered {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.4rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.social-btn-centered:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: var(--text-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.social-btn-centered:hover .social-tooltip {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* STATS CENTRÉES */
.hero-stats-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease-out 1s both;
}

.stat-centered {
    text-align: center;
}

.stat-number-centered {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-centered {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider-centered {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-text {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollAnimation 2s ease-in-out infinite;
}

@keyframes scrollAnimation {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(10px); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* BACKGROUND SHAPES */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    top: -10%;
    right: 10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    bottom: -5%;
    left: 10%;
    animation-delay: 7s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
    top: 40%;
    right: 5%;
    animation-delay: 14s;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-name-centered {
        font-size: 3rem;
    }
    
    .hero-title-centered {
        font-size: 1.2rem;
    }
    
    .badge-content-mega {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .badge-text-wrapper {
        text-align: center;
    }
    
    .badge-arrow {
        display: none;
    }
    
    .hero-cta-centered {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats-centered {
        gap: 1.5rem;
    }
}
/* ==================== SECTION HEADERS ==================== */
.section-header-modern {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: var(--primary-light)20;
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header-modern h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== SECTION À PROPOS MODERNE ==================== */
.about-section-modern {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.about-section-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* TEXTE */
.about-text-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-story p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.highlight {
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    opacity: 0.3;
}

/* INFO CARDS */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

/* STATS */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number-big {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label-big {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* VISUEL MODERNE */
.about-visual-modern {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.about-main-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.about-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-main-image:hover img {
    transform: scale(1.05);
}

/* GLOW EFFECT */
.image-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 30px;
    filter: blur(30px);
    opacity: 0.3;
    z-index: -1;
}

/* FLOATING BADGES */
.floating-badge {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-badge i {
    font-size: 1.2rem;
    color: var(--primary);
}

.floating-badge span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.badge-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.badge-2 {
    top: 50%;
    right: -15%;
    animation-delay: 2s;
}

.badge-3 {
    bottom: 15%;
    left: -5%;
    animation-delay: 4s;
}

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

/* FORMES DÉCORATIVES */
.decorative-shape {
    position: absolute;
    z-index: 1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    border-radius: 50%;
    top: -50px;
    right: -50px;
    opacity: 0.1;
    filter: blur(40px);
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -30px;
    left: -30px;
    opacity: 0.15;
    filter: blur(30px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-intro h3 {
        font-size: 1.5rem;
    }
    
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .floating-badge {
        display: none;
    }
}
/* ==================== PROJECTS BENTO GRID ==================== */
.projects-section {
    padding: 6rem 0;
}

.projects-bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

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

.project-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #667eea10, #764ba210);
    border: 2px solid var(--primary-light);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--primary-light)20;
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-metrics {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 600;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    gap: 0.8rem;
}

/* ==================== EXPÉRIENCE OPTIMISÉE ==================== */
.experience-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.timeline-modern {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item-enhanced {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-date {
    text-align: right;
    padding-right: 2rem;
}

.timeline-date .month {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.timeline-date .year {
    display: block;
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
}

.timeline-content-with-logo {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-content-with-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

/* ICÔNE TIMELINE */
.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

/* ==================== LOGO ENTREPRISE - UN SEUL LOGO PROPRE ==================== */
.company-logo-box {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 150px;  /* Taille du logo */
    height: 150px;
    background: transparent;  /* Pas de fond */
    border-radius: 0;  /* Pas de cercle */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: none;
    transition: var(--transition);
    z-index: 10;
    padding: 0;
}

.timeline-content-with-logo:hover .company-logo-box {
    transform: scale(1.1);
}

.company-logo-box .company-logo {
    width: 100%;  /* Logo prend toute la place */
    height: 100%;
    object-fit: contain;
}

/* LOGO INLINE CACHÉ */
.inline-logo {
    display: none;  /* On enlève le logo dans le texte */
}

/* CONTENU TEXTE */
.timeline-text-content {
    margin-right: 120px; /* Espace pour le logo en haut à droite */
}

.timeline-text-content h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.timeline-text-content h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.timeline-text-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ACHIEVEMENTS */
.achievements {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.achievements li {
    padding: 0.7rem 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* TECHNOLOGIES BADGES */
.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem 0 2rem;
}

.timeline-tech span {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.timeline-tech span:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* GALERIE AVEC LIGHTBOX */
.experience-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.exp-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.exp-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.exp-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.exp-gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* ICÔNE ZOOM AU HOVER */
.image-zoom-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(99, 102, 241, 0.95);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.exp-gallery-item:hover .image-zoom-hint {
    opacity: 1;
}

/* CAPTION SOUS LES IMAGES */
.exp-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.95), rgba(99, 102, 241, 0.7));
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.exp-gallery-item:hover .exp-image-caption {
    transform: translateY(0);
}

.exp-image-caption i {
    font-size: 1.1rem;
}

.exp-image-caption span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* LIEN GITHUB */
.experience-github {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.exp-github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #24292e, #0366d6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.exp-github-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    gap: 1.2rem;
}

.exp-github-link i.fa-github {
    font-size: 1.5rem;
}

.exp-github-link i.fa-arrow-right {
    font-size: 1rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .experience-gallery {
        grid-template-columns: 1fr;
    }
    
    .exp-gallery-item img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .timeline-item-enhanced {
        grid-template-columns: 1fr;
    }
    
    .timeline-date {
        text-align: left;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 1rem;
    }
    
    .timeline-text-content {
        margin-right: 0;
    }
    
    .company-logo-box {
        position: static;
        margin: 0 auto 1.5rem;
        width: 80px;
        height: 80px;
    }
    
    .experience-gallery {
        grid-template-columns: 1fr;
    }
    
    .exp-gallery-item img {
        height: 250px;
    }
}
/* ==================== SKILLS SECTION ==================== */
.skills-section-modern {
    padding: 6rem 0;
}

.skills-grid-pro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category-modern {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}

.skill-category-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon-modern {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: default;
}

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

.tech-badge.pro {
    background: var(--primary-light)20;
    color: var(--primary);
    font-weight: 600;
}

.skill-category-modern.learning {
    border: 2px dashed var(--primary-light);
    background: var(--primary-light)05;
}

.badge-learning-modern {
    font-size: 0.7rem;
    background: var(--success);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    animation: pulse 2s infinite;
}

/* ==================== CERTIFICATIONS AVEC IMAGES ET LIGHTBOX ==================== */
.certifications-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.certifications-grid-with-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.cert-card-with-image {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
}

.cert-card-with-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Image de certification */
.cert-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.cert-card-with-image:hover .cert-image img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

/* Icône zoom qui apparaît au hover */
.cert-card-with-image::before {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 125px;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    background: rgba(99, 102, 241, 0.95);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 5;
}

.cert-card-with-image:hover::before {
    opacity: 1;
}

/* Badge "Cliquer pour agrandir" */
.cert-card-with-image::after {
    content: 'Cliquer pour agrandir';
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(99, 102, 241, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
    z-index: 5;
}

.cert-card-with-image:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Info sous l'image */
.cert-info {
    padding: 1.5rem;
}

.cert-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.cert-info .cert-org {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}

.cert-info .cert-date {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .certifications-grid-with-images {
        grid-template-columns: 1fr;
    }
    
    .cert-image {
        height: 220px;
    }
    
    .cert-card-with-image::before {
        top: 110px;
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .cert-card-with-image::after {
        top: 170px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
/* Bouton CV avec couleur différente */
.social-btn-centered.cv-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
}

.social-btn-centered.cv-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.social-btn-centered.cv-btn i {
    color: white;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section-modern {
    padding: 6rem 0;
}

.contact-content-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.contact-info-modern h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light)20;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

.method-info h4 {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    margin-bottom: 0.2rem;
}

.method-info p {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-location {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2rem;
    font-size: 0.95rem;
}

.contact-location i {
    color: var(--primary);
}

.contact-cta-box {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== FOOTER ==================== */
.footer-modern {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-main h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-main p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-links-footer a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links-footer a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 0.5rem;
}

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

.footer-bottom i {
    color: var(--secondary);
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-bento .project-card.featured {
        grid-column: span 1;
    }
    
    .contact-content-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .section-header-modern h2 {
        font-size: 2rem;
    }
    
    .projects-bento {
        grid-template-columns: 1fr;
    }
    
    .timeline-modern::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
    }
    
    .timeline-date {
        text-align: left;
        padding-right: 0;
        padding-left: 60px;
    }
    
    .timeline-icon {
        left: -10px;
    }
    
    .skills-grid-pro {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==================== SECTION PARCOURS ACADÉMIQUE AVEC IMAGES ==================== */
.education-section {
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.education-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.education-item {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.education-content {
    display: flex;
    gap: 1.5rem;
}

.education-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.education-text h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.education-date {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.education-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

.education-image {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.education-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.education-item:hover .education-image img {
    transform: scale(1.05);
}

/* ==================== PROJETS AVEC IMAGES ==================== */
.project-image-header {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.project-card.featured .project-image-header {
    height: 300px;
}

/* Galerie de projets */
.projects-gallery {
    margin-top: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ==================== EXPÉRIENCE AVEC IMAGES ==================== */
.timeline-item-with-image {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-content-full {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    gap: 2rem;
    align-items: start;
}

.timeline-content-full:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-text {
    flex: 1;
}

.timeline-image {
    width: 300px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.timeline-content-full:hover .timeline-image img {
    transform: scale(1.05);
}

/* ==================== CERTIFICATIONS AVEC IMAGES ==================== */
.certifications-grid-with-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.cert-card-with-image {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.cert-card-with-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.cert-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.cert-info {
    padding: 1.5rem;
}

.cert-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cert-info .cert-org {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cert-info .cert-date {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ==================== ENGAGEMENT SOCIAL AVEC IMAGES ==================== */
.engagement-section {
    padding: 6rem 0;
}

.engagement-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.engagement-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.engagement-text .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.engagement-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.engagement-list li {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 0.8rem 0;
}

.engagement-list i {
    color: var(--success);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.engagement-list span {
    color: var(--text-secondary);
    line-height: 1.7;
}

.engagement-impact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light)10, var(--accent)10);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.engagement-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.engagement-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.engagement-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.engagement-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.engagement-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.engagement-image:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay span {
    font-weight: 600;
    font-size: 0.95rem;
}
.engagement-image.single {
    grid-column: 1 / -1; /* occuper toute la ligne */
    height: 250px;       /* tu peux ajuster */
}
.engagement-image.single img {
    height: 100%;
    object-fit: cover;
}

/* ==================== GALERIE AVEC HOVER ZOOM HINT ==================== */
.experience-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.exp-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.exp-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.exp-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.exp-gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Icône zoom qui apparaît au hover */
.image-zoom-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(99, 102, 241, 0.95);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.exp-gallery-item:hover .image-zoom-hint {
    opacity: 1;
}

.exp-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.95), rgba(99, 102, 241, 0.7));
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.exp-gallery-item:hover .exp-image-caption {
    transform: translateY(0);
}

/* ==================== LIGHTBOX MODAL ==================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--primary-light);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
}

/* Navigation buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(99, 102, 241, 0.9);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 3rem;
}

.lightbox-nav.next {
    right: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .experience-gallery {
        grid-template-columns: 1fr;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
    }
    
    .lightbox-nav.prev {
        left: 1rem;
    }
    
    .lightbox-nav.next {
        right: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }
}