:root {
    --primary-color: #029694;
    --primary-gradient: linear-gradient(135deg, #029694 0%, #02b8b5 100%);
    --secondary-gradient: linear-gradient(135deg, #212529 0%, #2c333a 100%);
    --dark-bg: #212529;
    --darker-bg: #1a1e22;
    --light-text: #ffffff;
    --gray-text: #adb5bd;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-dark: rgba(0, 0, 0, 0.3);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-color: rgba(2, 150, 148, 0.5);
}

/* Mode clair */
.light-mode {
    --primary-color: #029694;
    --dark-bg: #ffffff;
    --darker-bg: #f8fafc;
    --light-text: #212529;
    --gray-text: #4a5568;
    --card-bg: rgba(0, 0, 0, 0.02);
    --card-bg-dark: rgba(0, 0, 0, 0.05);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
    cursor: none;
}

/* ========================================= */
/* Curseur Personnalisé                      */
/* ========================================= */

.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.6s, width 0.3s, height 0.3s;
    opacity: 0.5;
}

/* ========================================= */
/* Loader                                    */
/* ========================================= */
/* ========================================= */
/* LOADER ULTRA-MODERNE (NOUVEAU)            */
/* ========================================= */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #212529;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
    overflow: hidden;
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Particules */
.loader-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loader-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    animation: floatParticle linear infinite;
}

.loader-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(30px);
    animation: floatGlow alternate infinite;
}

@keyframes floatParticle {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    100% { transform: translate(50px, -50px) scale(1.5); opacity: 0.4; }
}

/* Anneaux rotatifs */
.loader-rings {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border-style: solid;
    transform: translate(-50%, -50%);
    opacity: 0.15;
}

.ring-1 {
    width: 400px;
    height: 400px;
    border-width: 2px;
    border-color: #029694;
    animation: ringPulse 3s infinite;
}

.ring-2 {
    width: 500px;
    height: 500px;
    border-width: 1px;
    border-color: #ffffff;
    border-style: dashed;
    animation: ringRotate 20s linear infinite;
}

.ring-3 {
    width: 600px;
    height: 600px;
    border-width: 3px;
    border-color: #029694;
    border-style: dotted;
    opacity: 0.1;
    animation: ringRotateReverse 15s linear infinite;
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringRotateReverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes ringPulse {
    0% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
}

/* Contenu principal */
.loader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 90%;
    padding: 20px;
}

/* Photo de profil glassmorphique */
.loader-profile {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, #029694, #027a78);
    animation: profilePulse 2s infinite;
}

.profile-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(2,150,148,0.5) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
    animation: glowPulse 2s infinite;
}

.loader-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.profile-scanline {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: scanline 3s infinite;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes profilePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glowPulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Titre avec scanline */
.loader-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    overflow: hidden;
}

.title-scanline {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: scanline 4s infinite;
}

/* Message dynamique */
.loader-message-container {
    height: 70px;
    margin: 20px 0;
    overflow: hidden;
}

.loader-message {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    color: white;
}

.loader-message.pulse {
    transform: scale(1.05);
    background: rgba(2, 150, 148, 0.2);
    border-color: #029694;
    box-shadow: 0 0 20px rgba(2, 150, 148, 0.3);
}

.loader-message.final-message {
    background: linear-gradient(135deg, #029694, #027a78);
    border-color: transparent;
    color: white;
}

.message-emoji {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 5px rgba(2,150,148,0.5));
}

/* Barre de progression */
.loader-progress-container {
    width: 350px;
    margin: 30px auto 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.loader-progress {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(5px);
}

.loader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #029694, #03b1ae);
    border-radius: 3px;
    position: relative;
    transition: width 0.1s linear;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.3) 50%, 
        transparent 100%);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.loader-percentage {
    font-size: 1.3rem;
    font-weight: 600;
    color: #029694;
    min-width: 60px;
    text-align: right;
}

/* Responsive Loader */
@media (max-width: 992px) {
    .loader-rings {
        width: 500px;
        height: 500px;
    }
    
    .ring-1 { width: 350px; height: 350px; }
    .ring-2 { width: 400px; height: 400px; }
    .ring-3 { width: 450px; height: 450px; }
}

@media (max-width: 768px) {
    .loader-rings {
        width: 400px;
        height: 400px;
    }
    
    .ring-1 { width: 280px; height: 280px; }
    .ring-2 { width: 320px; height: 320px; }
    .ring-3 { width: 360px; height: 360px; }
    
    .loader-profile {
        width: 140px;
        height: 140px;
    }
    
    .loader-title {
        font-size: 2rem;
    }
    
    .loader-message {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    .loader-progress-container {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .loader-rings {
        width: 300px;
        height: 300px;
    }
    
    .ring-1 { width: 200px; height: 200px; }
    .ring-2 { width: 230px; height: 230px; }
    .ring-3 { width: 260px; height: 260px; }
    
    .loader-profile {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }
    
    .loader-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .loader-message-container {
        height: 80px;
        margin: 15px 0;
    }
    
    .loader-message {
        font-size: 0.9rem;
        padding: 10px 20px;
        gap: 8px;
    }
    
    .message-emoji {
        font-size: 1.2rem;
    }
    
    .loader-progress-container {
        width: 240px;
        margin-top: 20px;
    }
    
    .loader-percentage {
        font-size: 1.1rem;
        min-width: 45px;
    }
}

/* ========================================= */
/* Header                                    */
/* ========================================= */

.mba-header {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mba-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-sphere {
    position: absolute;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    top: -40vw;
    right: -40vw;
    animation: rotate 30s linear infinite;
}

.floating-shapes .shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.floating-shapes .shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 20%;
    left: -150px;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
}

.floating-shapes .shape:nth-child(2) {
    width: 500px;
    height: 500px;
    bottom: -250px;
    right: -250px;
    background: radial-gradient(circle at center, #764ba2 0%, transparent 70%);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 40px;
}

.profile-image-frame {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.profile-image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--primary-color), transparent);
    animation: rotate 4s linear infinite;
}

.mba-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.badge-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.badge:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mba-profile-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.typewriter-container {
    height: 60px;
    margin-bottom: 20px;
}

.typewriter-text {
    font-size: 1.8rem;
    color: var(--gray-text);
    font-weight: 400;
}

.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.social-link {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

.social-link.linkedin:hover { background: #0077b5; }
.social-link.github:hover { background: #333; }
.social-link.twitter:hover { background: #1da1f2; }
.social-link.whatsapp:hover { background: #25d366; }

.social-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--darker-bg);
    color: var(--light-text);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    white-space: nowrap;
}

.social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-text);
    border-radius: 30px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--light-text);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* ========================================= */
/* Navigation                                */
/* ========================================= */

.mba-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    z-index: 1000;
    transition: var(--transition);
}

.mba-nav.scrolled {
    top: 0;
    border-radius: 0;
    background: var(--dark-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mba-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.mba-logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--light-text);
    position: relative;
}

.logo-dot {
    position: absolute;
    bottom: 0;
    right: -5px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mba-nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    padding: 5px 0;
    overflow: hidden;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transition: left 0.3s;
}

.nav-link:hover::after {
    left: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-color);
}

.theme-toggle .fa-sun {
    display: none;
}

.light-mode .theme-toggle .fa-moon {
    display: none;
}

.light-mode .theme-toggle .fa-sun {
    display: inline-block;
}

.mba-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mba-mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light-text);
    transition: var(--transition);
}

.mba-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mba-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mba-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================= */
/* Sections Générales                        */
/* ========================================= */

.mba-section {
    padding: 100px 0;
    position: relative;
}

.mba-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 0 auto;
    border-radius: 4px;
}

/* ========================================= */
/* About Section                             */
/* ========================================= */
/* ========================================= */
/* ABOUT SECTION - DESIGN CINÉMATIQUE        */
/* ========================================= */

.about-section {
    position: relative;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(2, 150, 148, 0.02) 100%);
    overflow: hidden;
}

/* Effet de fond cinématique */
.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(2, 150, 148, 0.03) 0%, transparent 50%);
    animation: rotateBackground 30s linear infinite;
    pointer-events: none;
}

@keyframes rotateBackground {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Wrapper principal */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin: 60px 0;
}

/* Colonne texte */
.about-text-column {
    position: relative;
}

.about-quote {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(2, 150, 148, 0.1);
    border-left: 3px solid #029694;
    border-radius: 8px;
    margin-bottom: 30px;
}

.about-quote i {
    font-size: 1.2rem;
    color: #029694;
}

.about-quote span {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gray-text);
}

.about-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.about-description p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(120deg, rgba(2, 150, 148, 0.1) 0%, rgba(2, 150, 148, 0.05) 100%);
    padding: 20px;
    border-radius: 16px;
    position: relative;
}

.inline-link {
    color: #029694;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.inline-link:hover {
    color: #03b1ae;
    text-decoration: underline;
}

/* Timeline mini */
.about-timeline {
    margin: 35px 0;
}

.about-timeline h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--gray-text);
}

.timeline-mini {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-mini::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #029694, transparent);
}

.timeline-node {
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.timeline-node:hover {
    transform: translateY(-5px);
}

.node-dot {
    width: 12px;
    height: 12px;
    background: #029694;
    border-radius: 50%;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 0 rgba(2, 150, 148, 0.4);
    animation: nodePulse 2s infinite;
}

@keyframes nodePulse {
    0% { box-shadow: 0 0 0 0 rgba(2, 150, 148, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(2, 150, 148, 0); }
    100% { box-shadow: 0 0 0 0 rgba(2, 150, 148, 0); }
}

.node-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.node-year {
    font-size: 0.75rem;
    font-weight: 600;
    color: #029694;
}

.node-title {
    font-size: 0.7rem;
    color: var(--gray-text);
    white-space: nowrap;
}

/* CTA personnels */
.about-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.cta-personal, .cta-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.cta-personal {
    background: linear-gradient(135deg, #029694, #027a78);
    color: white;
    box-shadow: 0 5px 15px rgba(2, 150, 148, 0.3);
}

.cta-personal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(2, 150, 148, 0.4);
}

.cta-download {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
}

.cta-download:hover {
    border-color: #029694;
    transform: translateY(-3px);
}

/* Cartes d'expertise */
.expertise-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.expertise-card {
    perspective: 1000px;
    height: 280px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.expertise-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.card-front {
    background: linear-gradient(135deg, rgba(2, 150, 148, 0.1), rgba(2, 150, 148, 0.05));
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #029694, #027a78);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.card-front h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-level {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.level-dot {
    width: 8px;
    height: 8px;
    background: #029694;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.card-back {
    background: linear-gradient(135deg, #029694, #027a78);
    color: white;
    transform: rotateY(180deg);
}

.card-back ul {
    list-style: none;
    margin-bottom: 20px;
    width: 100%;
}

.card-back li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.card-back li i {
    font-size: 0.8rem;
}

.skill-progress {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-progress .progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skill-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--width, 0);
    height: 100%;
    background: white;
    border-radius: 4px;
}

.skill-progress span {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Statistiques Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #029694;
    box-shadow: 0 10px 30px rgba(2, 150, 148, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(2, 150, 148, 0.2), rgba(2, 150, 148, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #029694;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #029694, #03b1ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    display: block;
    margin: 5px 0;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #029694;
    margin-top: 5px;
}

.stat-trend i {
    font-size: 0.7rem;
}

/* Badges de confiance */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.trust-item i {
    font-size: 1.2rem;
    color: #029694;
}

/* Animation d'entrée */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expertise-card, .stat-card {
    animation: fadeSlideUp 0.5s ease forwards;
    opacity: 0;
}

.expertise-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-card:nth-child(3) { animation-delay: 0.3s; }
.expertise-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(1) { animation-delay: 0.5s; }
.stat-card:nth-child(2) { animation-delay: 0.6s; }
.stat-card:nth-child(3) { animation-delay: 0.7s; }
.stat-card:nth-child(4) { animation-delay: 0.8s; }

/* Responsive */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .expertise-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expertise-cards {
        grid-template-columns: 1fr;
    }
    
    .expertise-card {
        height: 260px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-mini {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .timeline-mini::before {
        display: none;
    }
    
    .timeline-node {
        flex: 0 0 auto;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .trust-badges {
        gap: 20px;
    }
    
    .trust-item {
        flex: 0 0 calc(50% - 20px);
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-quote span {
        font-size: 0.85rem;
    }
    
    .about-name {
        font-size: 1.5rem;
    }
    
    .trust-item {
        flex: 0 0 100%;
    }
}

/* ========================================= */
/* Projects Carousel                         */
/* ========================================= */

.projects-swiper {
    width: 100%;
    padding: 20px 0 60px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.project-media {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-icon {
    font-size: 4rem;
    color: white;
    z-index: 1;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.project-content {
    padding: 25px;
}

.project-category {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.project-tech span {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    gap: 12px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
}

/* ========================================= */
/* Skills 3D                                 */
/* ========================================= */

.skills-3d-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

#skillSphere {
    width: 100%;
    height: 400px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.skill-item {
    position: relative;
    cursor: pointer;
}

.skill-progress-circle {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.skill-progress-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) calc(var(--progress) * 1%), transparent 0);
    mask: radial-gradient(transparent 60%, black 61%);
    -webkit-mask: radial-gradient(transparent 60%, black 61%);
}

.skill-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.skill-info img, .skill-info i {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
}

.skill-percent {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ========================================= */
/* Timeline                                  */
/* ========================================= */

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
}

.timeline-items {
    position: relative;
}

.timeline-item {
    position: relative;
    margin: 60px 0;
}

.timeline-item.left {
    padding-right: calc(50% + 30px);
}

.timeline-item.right {
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--dark-bg);
    z-index: 2;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.card-hover:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.timeline-header img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 10px;
}

.timeline-header h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.company {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 15px 0;
}

.timeline-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.timeline-tags span {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    font-size: 0.8rem;
}

/* ========================================= */
/* Certifications Gallery                    */
/* ========================================= */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-card {
    width: 100%;
    height: 300px;
    perspective: 1000px;
}

.cert-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.cert-card:hover .cert-inner {
    transform: rotateY(180deg);
}

.cert-front, .cert-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.cert-front img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.cert-front i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cert-back {
    background: var(--primary-gradient);
    color: white;
    transform: rotateY(180deg);
}

.cert-back .year {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.cert-link {
    margin-top: 20px;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.cert-link:hover {
    transform: scale(1.2);
}

/* ========================================= */
/* Contact Section                           */
/* ========================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item a, .contact-item span {
    color: var(--gray-text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 0;
    background: none;
    border: none;
    border-bottom: 2px solid var(--border-color);
    color: var(--light-text);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--gray-text);
    pointer-events: none;
    transition: var(--transition);
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.form-group input:focus ~ .focus-border,
.form-group textarea:focus ~ .focus-border {
    width: 100%;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.submit-btn i {
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translateX(5px);
}
/* ========================================= */
/* FOOTER - DESIGN ÉDITORIAL PREMIUM         */
/* ========================================= */

.mba-footer {
    position: relative;
    background: linear-gradient(180deg, var(--darker-bg) 0%, #0a0e12 100%);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(2, 150, 148, 0.2);
    overflow: hidden;
}

/* Vague décorative */
.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave svg path {
    fill: var(--dark-bg);
    opacity: 0.5;
}

/* Section principale */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Branding */
.footer-brand {
    position: relative;
}

.brand-logo-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(2, 150, 148, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 2s infinite alternate;
}

@keyframes logoGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

.brand-logo {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(2, 150, 148, 0.5);
    transition: transform 0.3s;
}

.brand-logo:hover {
    transform: rotate(5deg) scale(1.05);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand-name span {
    color: #029694;
}

.brand-tagline {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: #029694;
}

.badge-icon {
    font-size: 0.9rem;
}

/* Navigation colonnes */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-text);
}

.footer-column h4 i {
    color: #029694;
    font-size: 0.9rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
}

.footer-column a i {
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s;
}

.footer-column a:hover {
    color: #029694;
    transform: translateX(5px);
}

.footer-column a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Newsletter */
.newsletter-column {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.newsletter-desc {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #029694;
    box-shadow: 0 0 0 3px rgba(2, 150, 148, 0.1);
}

.newsletter-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #029694, #027a78);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 150, 148, 0.4);
}

.newsletter-message {
    margin-top: 10px;
    font-size: 0.8rem;
    min-height: 40px;
    animation: fadeInUp 0.3s ease;
}

.newsletter-message.success {
    color: #029694;
}

.newsletter-message.error {
    color: #e74c3c;
}

/* Tech stack */
.footer-tech-stack {
    margin-bottom: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.tech-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tech-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
    opacity: 0.6;
}

.tech-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.tech-item img, .tech-item i {
    width: 35px;
    height: 35px;
    object-fit: contain;
    font-size: 30px;
    filter: grayscale(0.3);
    transition: all 0.3s;
}

.tech-item:hover img, .tech-item:hover i {
    filter: grayscale(0);
}

.tech-item span {
    font-size: 0.7rem;
    color: var(--gray-text);
}

/* Statistiques footer */
.footer-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    padding: 30px 0;
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-3px);
    border-color: #029694;
    box-shadow: 0 10px 20px rgba(2, 150, 148, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #029694;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #029694, #03b1ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-text);
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.copyright-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.copyright-year {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--gray-text);
}

.copyright-year i {
    color: #029694;
}

.copyright-text {
    font-size: 0.8rem;
    color: var(--gray-text);
    opacity: 0.7;
}

.signature {
    color: #029694;
    font-weight: 600;
}

/* Réseaux sociaux */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    position: relative;
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
    border-color: transparent;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.social-icon.github:hover {
    background: #333;
}

.social-icon.twitter:hover {
    background: #1da1f2;
}

.social-icon.whatsapp:hover {
    background: #25d366;
}

.social-icon.email:hover {
    background: #ea4335;
}

.social-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
}

.social-icon:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Back to top button */
.footer-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.footer-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-inner {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #029694, #027a78);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(2, 150, 148, 0.3);
}

.back-to-top-inner i {
    font-size: 1.2rem;
}

.back-to-top-inner span {
    font-size: 0.6rem;
    font-weight: 500;
}

.back-to-top-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(2, 150, 148, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-column {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-column {
        grid-column: span 1;
    }
    
    .footer-stats {
        gap: 20px;
    }
    
    .stat-item {
        flex: 1;
        min-width: 160px;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .tech-icons {
        gap: 20px;
    }
    
    .tech-item img, .tech-item i {
        width: 25px;
        height: 25px;
        font-size: 22px;
    }
    
    .footer-back-to-top {
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top-inner {
        width: 40px;
        height: 40px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .footer-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ========================================= */
/* Responsive Design                         */
/* ========================================= */

@media (max-width: 992px) {
    .mba-profile-title {
        font-size: 3rem;
    }
    
    .mba-about-content,
    .skills-3d-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        padding: 0;
        margin-left: 30px;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mba-nav {
        width: 95%;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .mba-nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .mba-mobile-toggle {
        display: flex;
    }
    
    .mba-profile-title {
        font-size: 2.2rem;
    }
    
    .typewriter-text {
        font-size: 1.4rem;
    }
    
    .badge-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .stats-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ========================================= */
/* Animations                                */
/* ========================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s, transform 0.6s;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}
/* ========================================= */
/* Floating Widgets - BOUTONS VERTICAUX      */
/* ========================================= */

.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.4);
}

.floating-btn .fa-sun {
    display: none;
}

.light-mode .floating-btn .fa-moon {
    display: none;
}

.light-mode .floating-btn .fa-sun {
    display: inline-block;
}

.btn-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9998;
    animation: slideIn 0.3s ease;
}

.chatbot-container.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chatbot Header */
.chatbot-header {
    padding: 20px;
    background: var(--gradient-1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-title h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.chatbot-status {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.chatbot-close:hover {
    opacity: 1;
}

/* Chatbot Messages */
.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.message-content {
    max-width: 250px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message.user .message-content {
    background: var(--gradient-1);
}

.message-content p {
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.quick-questions {
    list-style: none;
    margin: 10px 0;
}

.quick-questions li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
}

.quick-questions li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Chatbot Input */
.chatbot-input-area {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-replies {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.quick-reply {
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-reply:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-2px);
}

.input-wrapper {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px 5px 5px 15px;
}

.input-wrapper input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-wrapper button {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: transform 0.3s;
}

.input-wrapper button:hover {
    transform: scale(1.1);
}

.chatbot-footer {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

/* Loading dots animation */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Light mode adjustments */
.light-mode .chatbot-container {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .message-content {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--dark);
}

.light-mode .input-wrapper {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .input-wrapper input {
    color: var(--dark);
}

.light-mode .quick-reply {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--dark);
}

/* Responsive */
@media (max-width: 480px) {
    .chatbot-container {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 100px;
        height: 500px;
    }
    
    .floating-widgets {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
/* Style pour la section creative */
 .creative-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 30px;
        margin-top: 50px;
    }
    
    .creative-card {
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        overflow: hidden;
        backdrop-filter: blur(10px);
        transition: var(--transition);
        cursor: pointer;
        position: relative;
        height: 400px;
    }
    
    .creative-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary-color);
        box-shadow: 0 20px 40px rgba(212, 163, 115, 0.2);
    }
    
    .creative-preview {
        width: 100%;
        height: 250px;
        background: linear-gradient(135deg, #d4a373 0%, #b5838a 50%, #6d597a 100%);
        position: relative;
        overflow: hidden;
    }
    
    #gradientCanvas {
        position: relative;
    }
    
    #gradientBackground {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 250px;
        pointer-events: none;
    }
    
    .creative-content {
        padding: 25px;
        position: relative;
        z-index: 2;
        background: var(--card-bg);
    }
    
    .creative-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: var(--primary-color);
    }
    
    .creative-content p {
        color: var(--gray-text);
        margin-bottom: 15px;
    }
    
    .creative-tags {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
    
    .creative-tags span {
        padding: 5px 12px;
        background: rgba(212, 163, 115, 0.1);
        border: 1px solid rgba(212, 163, 115, 0.2);
        border-radius: 20px;
        font-size: 0.8rem;
        color: var(--primary-color);
    }
    
    .creative-btn {
        padding: 10px 20px;
        background: transparent;
        border: 2px solid var(--primary-color);
        border-radius: 30px;
        color: var(--primary-color);
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }
    
    .creative-btn:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .fullscreen-mode {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 10001;
        background: var(--dark-bg);
    }
    
    .fullscreen-mode canvas {
        width: 100% !important;
        height: 100% !important;
        opacity: 1 !important;
    }
    
    .close-fullscreen {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--primary-color);
        border: none;
        color: white;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 10002;
        transition: var(--transition);
        display: none;
    }
    
    .close-fullscreen:hover {
        transform: scale(1.1);
    }
    
    .close-fullscreen.visible {
        display: flex;
        align-items: center;
        justify-content: center;
    }
/* ========================================= */
/* Blog Section                               */
/* ========================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #193B41 0%, #2a5f68 100%);
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 15px;
}

.blog-date {
    background: rgba(25, 59, 65, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(25, 59, 65, 0.3) 100%);
    z-index: 1;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light-text);
    line-height: 1.4;
}

.blog-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--gray-text);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.blog-link:hover {
    gap: 12px;
    color: #2a5f68;
}

.blog-footer {
    text-align: center;
    margin-top: 50px;
}

/* Responsive pour le blog */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
}
/* ========================================= */
/* Galerie Netlify avec Filtres              */
/* ========================================= */

.gallery-description {
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-top: 20px;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--light-text);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    color: white;
}

.netlify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
    min-height: 400px;
}

.netlify-item {
    opacity: 1;
    transform: scale(1);
    transition: var(--transition);
}

.netlify-item.hide {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

.netlify-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.netlify-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.netlify-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #027a78 100%);
}

.netlify-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.netlify-card:hover .netlify-media img {
    transform: scale(1.1);
}

.netlify-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #027a78 100%);
}

.netlify-placeholder i {
    font-size: 4rem;
    color: white;
    opacity: 0.5;
}

.netlify-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: var(--transition);
}

.netlify-card:hover .netlify-overlay {
    opacity: 1;
}

.netlify-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.netlify-stats span {
    background: rgba(2, 150, 148, 0.2);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.netlify-stats i {
    color: var(--primary-color);
    margin-right: 5px;
}

.netlify-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.netlify-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.netlify-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.netlify-badge {
    background: var(--primary-gradient);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.netlify-content p {
    color: var(--gray-text);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.netlify-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.netlify-tech span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.netlify-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.netlify-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.netlify-link:hover {
    gap: 12px;
    color: #03b1ae;
}

.netlify-date {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.gallery-more {
    text-align: center;
    margin-top: 50px;
}

.gallery-more .cta-secondary {
    background: rgba(2, 150, 148, 0.1);
    border-color: var(--primary-color);
}

.gallery-more .cta-secondary:hover {
    background: var(--primary-gradient);
    border-color: transparent;
}

/* Animation de chargement */
@keyframes netlifyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.netlify-grid.loading {
    position: relative;
    min-height: 400px;
}

.netlify-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Mode clair (light mode) */
.light-mode {
    --primary-color: #029694;
    --dark-bg: #ffffff;
    --darker-bg: #f8f9fa;
    --light-text: #212529;
    --gray-text: #495057;
    --card-bg: rgba(0, 0, 0, 0.02);
    --card-bg-dark: rgba(0, 0, 0, 0.05);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(2, 150, 148, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .netlify-grid {
        grid-template-columns: 1fr;
    }
    
    .netlify-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* ========================================= */
/* Bouton Flottant Téléchargement CV         */
/* ========================================= */

.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.floating-btn i {
    transition: var(--transition);
}

/* Bouton CV */
.cv-float-btn {
    background: linear-gradient(135deg, #029694 0%, #027a78 100%);
    color: white;
    animation: cvPulseFloat 2s infinite;
}

.cv-float-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(2, 150, 148, 0.4);
    animation: none;
}

.cv-float-btn:hover i {
    transform: scale(1.1);
}

/* Bouton Chatbot */
.chatbot-btn {
    background: rgba(33, 37, 41, 0.8);
    color: var(--light-text);
}

.chatbot-btn:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    color: white;
}

/* Bouton Thème */
.theme-float-btn {
    background: rgba(33, 37, 41, 0.8);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.theme-float-btn:hover {
    background: var(--primary-color);
    transform: translateY(-5px) rotate(180deg);
}

.theme-float-btn .fa-sun {
    display: none;
}

.light-mode .theme-float-btn .fa-moon {
    display: none;
}

.light-mode .theme-float-btn .fa-sun {
    display: inline-block;
}

/* Tooltip */
.btn-tooltip {
    position: absolute;
    right: 70px;
    background: var(--darker-bg);
    color: var(--light-text);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    white-space: nowrap;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    font-weight: normal;
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--darker-bg);
    border-right: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: translateY(-50%) rotate(45deg);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Animation de pulsation */
@keyframes cvPulseFloat {
    0% {
        box-shadow: 0 0 0 0 rgba(2, 150, 148, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(2, 150, 148, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(2, 150, 148, 0);
    }
}

/* Badge de notification pour nouvelle version */
.cv-float-btn.has-update::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid var(--darker-bg);
    z-index: 2;
}

/* État de chargement */
.cv-float-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.cv-float-btn.loading i {
    animation: spin 1s infinite linear;
}

.cv-float-btn.loading i::before {
    content: '\f110';  /* Icône de chargement */
}

/* État de succès */
.cv-float-btn.success {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.cv-float-btn.success i {
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .floating-widgets {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .btn-tooltip {
        display: none; /* Cacher les tooltips sur mobile */
    }
    
    .cv-float-btn {
        animation: cvPulseFloat 2s infinite;
    }
}

/* Mode clair */
.light-mode .cv-float-btn {
    background: linear-gradient(135deg, #029694 0%, #027a78 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.light-mode .chatbot-btn,
.light-mode .theme-float-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.light-mode .chatbot-btn:hover,
.light-mode .theme-float-btn:hover {
    background: #029694;
    color: white;
}
/* ========================================= */
/* Fixed Buttons Container (Back to Top + Chatbot) */
/* ========================================= */

.fixed-buttons-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
    pointer-events: none;
}

.fixed-buttons-container button {
    pointer-events: auto;
}

.mba-back-to-top,
.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.mba-back-to-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, #027a78 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.mba-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-button {
    background: linear-gradient(135deg, #029694 0%, #015b59 100%);
    animation: pulse-chatbot 2s infinite;
}

@keyframes pulse-chatbot {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(2, 150, 148, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(2, 150, 148, 0.8);
    }
}

.mba-back-to-top:hover,
.chatbot-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 150, 148, 0.6);
}

.mba-back-to-top:hover {
    background: linear-gradient(135deg, #03b1ae 0%, #029694 100%);
}

.chatbot-button:hover {
    background: linear-gradient(135deg, #03b1ae 0%, #027a78 100%);
    animation: none;
}

.btn-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark-bg);
    color: var(--light-text);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    pointer-events: none;
    z-index: 10000;
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid var(--dark-bg);
}

.mba-back-to-top:hover .btn-tooltip,
.chatbot-button:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Indicateur de progression circulaire */
.mba-back-to-top::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary-color) 0deg,
        transparent 0deg
    );
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.mba-back-to-top.progress-active::before {
    opacity: 0.5;
}

/* État actif du bouton */
.mba-back-to-top:active {
    transform: scale(0.95);
}

/* Badge de notification pour le chatbot (optionnel) */
.chatbot-button .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ff4444;
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-notification 1.5s infinite;
}

@keyframes pulse-notification {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Version mobile */
@media (max-width: 768px) {
    .fixed-buttons-container {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .mba-back-to-top,
    .chatbot-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .btn-tooltip {
        display: none;
    }
    
    .mba-back-to-top.visible {
        animation: slideInMobile 0.5s ease;
    }
}

@keyframes slideInMobile {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pour très petits écrans */
@media (max-width: 480px) {
    .fixed-buttons-container {
        bottom: 15px;
        right: 15px;
    }
    
    .mba-back-to-top,
    .chatbot-button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Mode clair (light mode) */
.light-mode .btn-tooltip {
    background: white;
    color: var(--dark-bg);
    border-color: var(--border-color);
}

.light-mode .btn-tooltip::after {
    border-left-color: white;
}

/* Animation d'entrée */
@keyframes buttonPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.mba-back-to-top.visible {
    animation: buttonPop 0.5s ease forwards;
}
/* ========================================= */
/* PROJECTS SECTION - DESIGN IMMERSIF PREMIUM */
/* ========================================= */

.projects-section {
    position: relative;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(2, 150, 148, 0.02) 100%);
    overflow: hidden;
}

/* Description */
.section-description {
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

/* Filtres 3D interactifs */
.projects-filter {
    position: relative;
    margin: 40px 0 30px;
}

.filter-scroll {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
}

.filter-scroll::-webkit-scrollbar {
    height: 4px;
}

.filter-scroll::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.filter-scroll::-webkit-scrollbar-thumb {
    background: #029694;
    border-radius: 4px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--light-text);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    margin-right: 12px;
    backdrop-filter: blur(10px);
}

.filter-btn i {
    font-size: 1rem;
    transition: transform 0.3s;
}

.filter-btn:hover {
    border-color: #029694;
    transform: translateY(-2px);
}

.filter-btn:hover i {
    transform: scale(1.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, #029694, #027a78);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 20px rgba(2, 150, 148, 0.3);
}

.filter-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #029694, #03b1ae);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

/* Barre de recherche */
.projects-search {
    margin: 30px 0 40px;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-wrapper i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-text);
    font-size: 1rem;
    pointer-events: none;
}

#projectsSearch {
    width: 100%;
    padding: 14px 50px 14px 45px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--light-text);
    font-size: 1rem;
    transition: all 0.3s;
}

#projectsSearch:focus {
    outline: none;
    border-color: #029694;
    box-shadow: 0 0 0 3px rgba(2, 150, 148, 0.1);
}

.search-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.search-clear.visible {
    opacity: 1;
    visibility: visible;
}

/* Grille de projets immersive */
.projects-immersive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin: 30px 0;
    min-height: 400px;
}

/* Carte projet */
.project-card-immersive {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.project-card-immersive:hover {
    transform: translateY(-10px);
    border-color: #029694;
    box-shadow: 0 25px 45px rgba(2, 150, 148, 0.2);
}

/* Effet de brillance au survol */
.project-card-immersive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 150, 148, 0.1), transparent);
    transition: left 0.6s;
    pointer-events: none;
}

.project-card-immersive:hover::before {
    left: 100%;
}

/* Media de la carte */
.project-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-immersive:hover .project-card-media img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 150, 148, 0.8), rgba(2, 122, 120, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card-immersive:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s;
}

.project-card-immersive:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
}

.overlay-content span {
    display: block;
    color: white;
    font-weight: 500;
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    z-index: 2;
}

/* Contenu de la carte */
.project-card-content {
    padding: 24px;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #029694;
}

.project-date {
    font-size: 0.75rem;
    color: var(--gray-text);
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-card-title a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.project-card-title a:hover {
    color: #029694;
}

.project-description {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    padding: 4px 12px;
    background: rgba(2, 150, 148, 0.1);
    border: 1px solid rgba(2, 150, 148, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #029694;
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.project-stats {
    display: flex;
    gap: 15px;
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--gray-text);
}

.project-stat i {
    color: #029694;
    font-size: 0.8rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #029694;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: gap 0.3s;
}

.project-link:hover {
    gap: 12px;
}

/* Loader */
.projects-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    min-height: 300px;
}

.projects-loader.hidden {
    display: none;
}

.loader-ring {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
}

.loader-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    margin: 6px;
    border: 3px solid #029694;
    border-radius: 50%;
    animation: loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #029694 transparent transparent transparent;
}

.loader-ring div:nth-child(1) { animation-delay: -0.45s; }
.loader-ring div:nth-child(2) { animation-delay: -0.3s; }
.loader-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes loader-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Résultats de recherche */
.projects-search-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--card-bg);
    border-radius: 16px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

.projects-search-results .results-count {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.reset-filters {
    background: none;
    border: none;
    color: #029694;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.reset-filters:hover {
    text-decoration: underline;
}

/* Statistiques globales (avec classes uniques pour éviter conflit) */
.projects-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px 0 40px;
    flex-wrap: wrap;
}

.project-stat-bubble {
    position: relative;
    text-align: center;
    padding: 25px 30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 60px;
    min-width: 140px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.project-stat-bubble:hover {
    transform: translateY(-5px);
    border-color: #029694;
    box-shadow: 0 15px 30px rgba(2, 150, 148, 0.15);
}

.bubble-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 60px;
    background: radial-gradient(circle, rgba(2, 150, 148, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.project-stat-bubble:hover .bubble-ring {
    opacity: 1;
}

.bubble-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #029694, #03b1ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bubble-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-top: 5px;
}

.bubble-suffix {
    font-size: 1.2rem;
    font-weight: 600;
    color: #029694;
    margin-left: 2px;
}

/* Bouton voir plus */
.projects-more {
    text-align: center;
    margin-top: 40px;
}

.projects-more .cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #029694, #027a78);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.projects-more .cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(2, 150, 148, 0.3);
    gap: 15px;
}

/* Message aucun résultat */
.no-projects-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: var(--card-bg);
    border-radius: 28px;
    border: 1px solid var(--border-color);
}

.no-projects-message i {
    font-size: 3rem;
    color: #029694;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-projects-message h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.no-projects-message p {
    color: var(--gray-text);
}

/* Animation d'entrée des cartes */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card-immersive {
    animation: cardAppear 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .projects-immersive-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 25px;
    }
    
    .projects-stats {
        gap: 20px;
    }
    
    .project-stat-bubble {
        min-width: 120px;
        padding: 20px 20px;
    }
    
    .bubble-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .filter-btn i {
        font-size: 0.85rem;
    }
    
    .projects-immersive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .project-stat-bubble {
        min-width: calc(50% - 15px);
        padding: 15px;
    }
    
    .bubble-number {
        font-size: 1.8rem;
    }
    
    .project-card-content {
        padding: 20px;
    }
    
    .project-tech-stack {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .filter-scroll {
        padding-bottom: 10px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
        gap: 6px;
    }
    
    .project-stat-bubble {
        min-width: calc(100% - 15px);
    }
    
    .projects-more .cta-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
/* ========================================= */
/* NETLIFY GALLERY - EXPÉRIENCE CINÉMATIQUE  */
/* ========================================= */

.gallery-immersive {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0f1e 0%, #060b17 100%);
    overflow: hidden;
    padding: 80px 0;
}

/* Canvas WebGL */
.gallery-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Particules intelligentes */
.gallery-ambient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle-system {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Éclairage dynamique */
.dynamic-lighting {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.light-source {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: lightFloat 8s infinite alternate;
}

.light-1 {
    background: radial-gradient(circle, #029694, transparent);
    top: 20%;
    left: -150px;
    animation-delay: 0s;
}

.light-2 {
    background: radial-gradient(circle, #764ba2, transparent);
    bottom: 10%;
    right: -150px;
    animation-delay: 2s;
}

.light-3 {
    background: radial-gradient(circle, #f093fb, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    animation-delay: 4s;
}

@keyframes lightFloat {
    0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    100% { transform: translate(50px, 50px) scale(1.2); opacity: 0.4; }
}

/* Container principal */
.gallery-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    z-index: 10;
}

/* Header */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #029694);
}

.badge-text {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #029694;
    font-weight: 500;
}

.gallery-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.title-word {
    display: inline-block;
    animation: titleReveal 0.8s ease forwards;
}

.title-accent {
    font-size: 1rem;
    color: #029694;
    margin-left: 15px;
    letter-spacing: 2px;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Statistiques circulaires */
.gallery-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-circle {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
}

.stat-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.stat-fill {
    fill: none;
    stroke: #029694;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s ease;
}

.stat-circle .stat-num {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
    color: #029694;
}

.stat-circle .stat-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--gray-text);
    white-space: nowrap;
}

/* Filtres holographiques */
.gallery-filters {
    position: relative;
    margin: 40px 0 50px;
    overflow: hidden;
}

.filter-scroll {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.filter-chip {
    position: relative;
    padding: 12px 28px;
    background: rgba(2, 150, 148, 0.05);
    border: 1px solid rgba(2, 150, 148, 0.2);
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chip-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #029694, #027a78);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.filter-chip.active .chip-bg,
.filter-chip:hover .chip-bg {
    opacity: 1;
}

.chip-text {
    position: relative;
    z-index: 1;
    font-weight: 500;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.chip-count {
    position: relative;
    z-index: 1;
    margin-left: 8px;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.filter-chip.active .chip-count,
.filter-chip:hover .chip-count {
    background: rgba(255, 255, 255, 0.2);
}

.filter-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(2, 150, 148, 0.1) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-filters:hover .filter-glow {
    opacity: 1;
}

/* Grille de projets */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

/* Carte projet */
.project-gallery-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.project-gallery-card:hover {
    transform: translateY(-10px);
    border-color: #029694;
    box-shadow: 0 20px 40px rgba(2, 150, 148, 0.2);
}

.card-media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-gallery-card:hover .card-media img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.project-gallery-card:hover .card-overlay {
    opacity: 1;
}

.card-stats {
    display: flex;
    gap: 15px;
    color: white;
}

.card-stats span {
    font-size: 0.8rem;
    background: rgba(2, 150, 148, 0.8);
    padding: 4px 12px;
    border-radius: 20px;
}

.card-content {
    padding: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #029694;
    font-weight: 600;
}

.card-date {
    font-size: 0.7rem;
    color: var(--gray-text);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-description {
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.card-tech span {
    font-size: 0.7rem;
    padding: 4px 12px;
    background: rgba(2, 150, 148, 0.1);
    border: 1px solid rgba(2, 150, 148, 0.2);
    border-radius: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #029694;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 12px;
}

/* Loader de la grille */
.gallery-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 60px;
    min-height: 400px;
}

.loader-cube {
    position: relative;
    width: 60px;
    height: 60px;
    transform-style: preserve-3d;
    animation: cubeRotate 2s infinite linear;
}

.cube-face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(2, 150, 148, 0.2);
    border: 2px solid #029694;
}

.cube-face:nth-child(1) { transform: translateZ(30px); }
.cube-face:nth-child(2) { transform: translateZ(-30px) rotateY(180deg); }
.cube-face:nth-child(3) { transform: translateX(30px) rotateY(90deg); }
.cube-face:nth-child(4) { transform: translateX(-30px) rotateY(-90deg); }
.cube-face:nth-child(5) { transform: translateY(30px) rotateX(90deg); }
.cube-face:nth-child(6) { transform: translateY(-30px) rotateX(-90deg); }

@keyframes cubeRotate {
    from { transform: rotateX(0) rotateY(0); }
    to { transform: rotateX(360deg) rotateY(360deg); }
}

.gallery-loader span {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.gallery-loader.hidden {
    display: none;
}

/* Footer */
.gallery-footer {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    backdrop-filter: blur(10px);
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-stat {
    text-align: center;
    position: relative;
}

.stat-big {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #029694, #03b1ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-small {
    font-size: 0.85rem;
    color: var(--gray-text);
}

.stat-progress {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(2, 150, 148, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.stat-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #029694;
    animation: progressPulse 2s infinite;
}

@keyframes progressPulse {
    0% { left: -100%; }
    100% { left: 200%; }
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #029694, #027a78);
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    margin: 0 auto;
    width: fit-content;
}

.footer-cta:hover {
    transform: translateY(-3px);
}

.cta-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: ctaShine 3s infinite;
}

@keyframes ctaShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.cta-icon {
    display: flex;
    gap: 8px;
    transition: transform 0.3s;
}

.footer-cta:hover .cta-icon {
    transform: translateX(5px);
}

/* Curseur magnétique */
.magnetic-cursor {
    position: fixed;
    width: 60px;
    height: 60px;
    border: 2px solid #029694;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.magnetic-cursor.active {
    opacity: 0.5;
}

/* Message aucun résultat */
.no-projects-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.no-projects-message i {
    font-size: 3rem;
    color: #029694;
    margin-bottom: 20px;
}

.no-projects-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-projects-message p {
    color: var(--gray-text);
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-container {
        padding: 0 20px;
    }
    
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .footer-stats {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .gallery-immersive {
        padding: 40px 0;
    }
    
    .gallery-title {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .title-accent {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .gallery-stats {
        gap: 40px;
    }
    
    .stat-circle {
        width: 80px;
        height: 80px;
    }
    
    .filter-scroll {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .filter-chip {
        white-space: nowrap;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .footer-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================= */
/* BLOG SECTION - GLASSMORPHIQUE ULTRA       */
/* ========================================= */
/* ========================================= */
/* BLOG SECTION - DESIGN ÉDITORIAL PREMIUM   */
/* ========================================= */

.blog-section {
    position: relative;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(2, 150, 148, 0.02) 100%);
}

/* En-tête amélioré */
.header-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 50px;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #029694;
    border-radius: 50%;
    animation: badgePulse 1.5s infinite;
}

.badge-text {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
    color: var(--gray-text);
}

.badge-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(2, 150, 148, 0.2);
    border-radius: 50px;
    animation: badgeRipple 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes badgeRipple {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.section-subheading {
    color: var(--gray-text);
    font-size: 1rem;
    margin-top: 15px;
    opacity: 0.7;
}

/* Barre de recherche et contrôles */
.blog-controls {
    margin: 40px 0 30px;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-text);
    font-size: 1rem;
    pointer-events: none;
}

.blog-search {
    width: 100%;
    padding: 14px 50px 14px 45px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--light-text);
    font-size: 1rem;
    transition: var(--transition);
}

.blog-search:focus {
    outline: none;
    border-color: #029694;
    box-shadow: 0 0 0 3px rgba(2, 150, 148, 0.1);
}

.search-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-clear.visible {
    opacity: 1;
    visibility: visible;
}

.categories-scroll {
    overflow-x: auto;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.categories-scroll::-webkit-scrollbar {
    height: 4px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: #029694;
    border-radius: 4px;
}

.blog-categories {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
    padding-bottom: 10px;
}

.category-btn {
    padding: 8px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.category-btn:hover {
    border-color: #029694;
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, #029694, #027a78);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(2, 150, 148, 0.3);
}

/* Résultats de recherche info */
.search-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.results-count {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.reset-search {
    background: none;
    border: none;
    color: #029694;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.reset-search:hover {
    text-decoration: underline;
}

/* Grille d'articles améliorée */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin: 30px 0;
    transition: all 0.3s ease;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: #029694;
    box-shadow: 0 20px 40px rgba(2, 150, 148, 0.15);
}

.blog-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.media-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.media-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .media-wrapper img {
    transform: scale(1.05);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-card:hover .media-overlay {
    opacity: 1;
}

.overlay-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 4px 12px;
    background: rgba(2, 150, 148, 0.9);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 500;
    color: #029694;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--gray-text);
}

.blog-title {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-title a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: #029694;
}

.blog-excerpt {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.author span {
    font-size: 0.85rem;
    font-weight: 500;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #029694;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 12px;
}

/* Loader de la grille */
.blog-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    min-height: 200px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: #029694;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.blog-loader.hidden {
    display: none;
}

/* Section archives améliorée */
.blog-archive {
    margin-top: 60px;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    backdrop-filter: blur(10px);
}

.archive-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.stat {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    transition: transform 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(2, 150, 148, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #029694, #03b1ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
    display: block;
    margin-top: 5px;
}

.stat-trend {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 0.75rem;
    color: #029694;
    background: rgba(2, 150, 148, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
}

.archive-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.archive-link, .subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.archive-link {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
}

.archive-link:hover {
    border-color: #029694;
    transform: translateY(-2px);
}

.subscribe-btn {
    background: linear-gradient(135deg, #029694, #027a78);
    border: none;
    color: white;
    cursor: pointer;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 150, 148, 0.3);
}

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--card-bg);
    border: 1px solid #029694;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #029694;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-icon.success::before {
    content: '✓';
    color: white;
    font-size: 14px;
}

.toast-message {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Animation de chargement des cartes */
.blog-card {
    animation: cardFadeIn 0.5s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-controls {
        margin: 30px 0 20px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .archive-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .archive-actions {
        flex-direction: column;
    }
    
    .archive-link, .subscribe-btn {
        justify-content: center;
    }
    
    .toast-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        transform: translateY(100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .archive-stats {
        grid-template-columns: 1fr;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
}
/* ========================================= */
/* EXPERIENCE SECTION - DESIGN CINÉMATIQUE   */
/* ========================================= */

.experience-showcase {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Arrière-plan dynamique */
.experience-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.backdrop-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(2, 150, 148, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 150, 148, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.backdrop-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(2, 150, 148, 0.05) 0%, transparent 70%);
}

.backdrop-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.backdrop-orbs .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbFloat 15s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #029694 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #027a78 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #03b1ae 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.backdrop-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
}

.line-path {
    stroke-dasharray: 10;
    animation: lineFlow 30s linear infinite;
}

@keyframes lineFlow {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 1000; }
}

/* Container principal */
.experience-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* En-tête amélioré */
.experience-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(2, 150, 148, 0.1);
    border: 1px solid rgba(2, 150, 148, 0.3);
    border-radius: 50px;
    margin-bottom: 25px;
    position: relative;
}

.header-badge i {
    color: #029694;
    font-size: 1rem;
}

.badge-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(2, 150, 148, 0.2);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.experience-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-light {
    font-weight: 500;
    color: var(--gray-text);
}

.experience-description {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Statistiques rapides */
.experience-quick-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-pill {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 60px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-pill:hover {
    transform: translateY(-5px);
    border-color: #029694;
    box-shadow: 0 10px 30px rgba(2, 150, 148, 0.2);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #029694;
    line-height: 1;
}

.stat-unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: #029694;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.stat-trend {
    font-size: 0.8rem;
    padding: 2px 8px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 20px;
    margin-left: 5px;
}

/* Timeline 3D Container */
.timeline-3d-container {
    margin: 60px 0;
    position: relative;
}

/* Contrôles timeline */
.timeline-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.timeline-nav-group {
    display: flex;
    gap: 15px;
}

.timeline-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.timeline-nav:hover {
    border-color: #029694;
    transform: translateY(-2px);
}

.timeline-progress-wrapper {
    flex: 1;
    max-width: 400px;
}

.timeline-progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 4px;
    position: relative;
    margin-bottom: 15px;
}

.progress-fill {
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, #029694, #03b1ae);
    border-radius: 4px;
    position: relative;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressGlow 2s infinite;
}

@keyframes progressGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.timeline-years {
    display: flex;
    justify-content: space-between;
}

.year-marker {
    font-size: 0.9rem;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 20px;
}

.year-marker:hover {
    color: #029694;
}

.year-marker.active {
    color: #029694;
    font-weight: 600;
    background: rgba(2, 150, 148, 0.1);
}

.timeline-view-options {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    border-color: #029694;
    color: #029694;
    background: rgba(2, 150, 148, 0.1);
}

/* Carrousel wrapper */
.timeline-carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.timeline-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Cartes d'expérience */
.experience-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.experience-card.active {
    border-color: #029694;
    box-shadow: 0 20px 40px rgba(2, 150, 148, 0.2);
    transform: scale(1.02);
}

.experience-card:hover {
    transform: translateY(-10px);
    border-color: #029694;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(2, 150, 148, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.experience-card:hover .card-glow {
    opacity: 1;
}

.card-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #029694, #027a78);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.card-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.company-logo {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.logo-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 22px;
    border: 2px solid transparent;
    border-top-color: #029694;
    border-right-color: #029694;
    animation: logoSpin 3s linear infinite;
}

@keyframes logoSpin {
    to { transform: rotate(360deg); }
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: radial-gradient(circle, rgba(2,150,148,0.3), transparent);
    animation: logoPulse 2s infinite;
}

@keyframes logoPulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.company-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.company-name {
    font-size: 0.9rem;
    color: #029694;
    font-weight: 500;
}

.company-location {
    font-size: 0.8rem;
    color: var(--gray-text);
    margin-top: 5px;
}

.company-location i {
    margin-right: 5px;
    font-size: 0.7rem;
}

.card-period {
    margin-bottom: 20px;
}

.period-timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-text);
    position: relative;
}

.period-progress {
    position: absolute;
    bottom: -8px;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #029694, #03b1ae);
    border-radius: 2px;
}

.period-tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 20px;
    font-size: 0.7rem;
    color: #029694;
    margin-left: 10px;
}

.card-description p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-achievements {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.achievement-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s;
}

.achievement-item:hover {
    background: rgba(2, 150, 148, 0.05);
    transform: translateX(5px);
}

.achievement-icon {
    width: 40px;
    height: 40px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #029694;
    font-size: 1.2rem;
}

.achievement-content h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.achievement-content p {
    font-size: 0.8rem;
    color: var(--gray-text);
    margin: 0;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tag {
    padding: 4px 12px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--gray-text);
    transition: all 0.3s;
    cursor: pointer;
}

.tag:hover {
    background: #029694;
    color: white;
    transform: scale(1.05);
}

.card-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.card-stats .stat {
    text-align: center;
    position: relative;
}

.card-stats .stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #029694;
}

.card-stats .stat-label {
    font-size: 0.7rem;
}

.stat-trend {
    position: absolute;
    top: -5px;
    right: -15px;
    font-size: 0.7rem;
    color: #029694;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack span {
    padding: 3px 8px;
    background: var(--border-color);
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--gray-text);
}

.project-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #029694;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: gap 0.3s;
}

.project-link a:hover {
    gap: 12px;
}

/* Dots de navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    background: #029694;
    border-radius: 4px;
}

/* Compétences cloud */
.experience-skills {
    margin: 60px 0;
}

.skills-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.skills-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.skills-hint {
    font-size: 0.8rem;
    color: var(--gray-text);
    margin-left: 15px;
}

.skills-hint i {
    margin-right: 5px;
}

.skills-filter {
    display: flex;
    gap: 10px;
}

.filter-skill-btn {
    padding: 6px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-skill-btn.active {
    background: #029694;
    border-color: #029694;
    color: white;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-bubble {
    position: relative;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.skill-bubble:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #029694;
    box-shadow: 0 10px 30px rgba(2, 150, 148, 0.2);
}

.skill-bubble i {
    color: #029694;
    font-size: 1rem;
}

.skill-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-color);
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, #029694, #03b1ae);
    border-radius: 3px;
}

/* Modal skill */
.skill-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.skill-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark-bg);
    border: 1px solid #029694;
    border-radius: 32px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.skill-modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: #029694;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: none;
    border-radius: 50%;
    color: var(--light-text);
    cursor: pointer;
}

.modal-level {
    margin: 20px 0;
}

.modal-level-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.modal-level-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #029694, #03b1ae);
    transition: width 1s ease;
}

/* Call to Action */
.experience-cta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #029694, #027a78);
    color: white;
    box-shadow: 0 5px 20px rgba(2, 150, 148, 0.3);
}

.cta-button.secondary {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary:hover {
    box-shadow: 0 10px 30px rgba(2, 150, 148, 0.4);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover .button-glow {
    left: 100%;
}

/* Effet magnétique */
.magnetic {
    transition: transform 0.2s ease;
}

/* Responsive */
@media (max-width: 1200px) {
    .experience-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 992px) {
    .experience-title {
        font-size: 2.5rem;
    }
    
    .experience-quick-stats {
        gap: 15px;
    }
    
    .stat-pill {
        padding: 8px 16px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .experience-card {
        flex: 0 0 100%;
        min-width: auto;
    }
    
    .timeline-controls {
        flex-direction: column;
    }
    
    .timeline-progress-wrapper {
        max-width: 100%;
        width: 100%;
    }
    
    .skills-header {
        flex-direction: column;
        text-align: center;
    }
    
    .skills-filter {
        justify-content: center;
    }
    
    .experience-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .card-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .experience-title {
        font-size: 1.8rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .company-location {
        justify-content: center;
    }
    
    .card-tags {
        justify-content: center;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .tech-stack {
        justify-content: center;
    }
}


/* ========== TIMELINE 3D ========== */
.timeline-3d-container {
    margin: 60px 0;
    position: relative;
}

.timeline-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.timeline-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-nav:hover {
    background: #029694;
    border-color: #029694;
    transform: scale(1.1);
}

.timeline-progress-wrapper {
    flex: 1;
    max-width: 400px;
}

.timeline-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, #029694, #03b1ae);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.timeline-years {
    display: flex;
    justify-content: space-between;
}

.year-marker {
    font-size: 0.85rem;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.year-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #029694;
    transition: width 0.3s ease;
}

.year-marker.active {
    color: #029694;
    font-weight: 600;
}

.year-marker.active::after {
    width: 100%;
}

/* ========== CARROUSEL DES CARTES ========== */
.timeline-carousel {
    position: relative;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0 40px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.timeline-carousel::-webkit-scrollbar {
    display: none;
}

.experience-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    scroll-snap-align: start;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.experience-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #029694;
    box-shadow: 0 20px 40px rgba(2, 150, 148, 0.2);
}

.experience-card.active {
    border-color: #029694;
    box-shadow: 0 0 30px rgba(2, 150, 148, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(2, 150, 148, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.experience-card:hover .card-glow {
    opacity: 1;
}

.card-inner {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #029694, #027a78);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.card-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.company-logo {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-ring {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 18px;
    background: conic-gradient(from 0deg, #029694, transparent, #029694);
    animation: ringRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.experience-card:hover .logo-ring {
    opacity: 0.5;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.company-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.company-name {
    font-size: 0.9rem;
    color: #029694;
    font-weight: 500;
}

.company-location {
    font-size: 0.8rem;
    color: var(--gray-text);
    margin-top: 4px;
}

.company-location i {
    margin-right: 4px;
    font-size: 0.7rem;
}

.card-period {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.period-tag {
    background: #029694;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    color: white;
}

.card-description {
    margin-bottom: 20px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* ========== ACHIEVEMENTS ========== */
.card-achievements {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.achievement-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.achievement-icon {
    width: 36px;
    height: 36px;
    background: rgba(2, 150, 148, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #029694;
}

.achievement-content h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.achievement-content p {
    font-size: 0.8rem;
    color: var(--gray-text);
}

/* ========== TAGS ========== */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: #029694;
    transform: translateY(-2px);
}

/* ========== STATS CARTE ========== */
.card-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.card-stats .stat {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #029694;
    display: block;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--gray-text);
}

/* ========== DOTS CARROUSEL ========== */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: #029694;
}

/* ========== NUAGE DE COMPÉTENCES INTERACTIF ========== */
.experience-skills {
    margin: 60px 0;
    text-align: center;
}

.experience-skills h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.skills-hint {
    font-size: 0.8rem;
    background: rgba(2, 150, 148, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    color: #029694;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-bubble {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: calc(0.8rem + (var(--size, 1) * 0.1rem));
    backdrop-filter: blur(10px);
}

.skill-bubble:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #029694;
    background: rgba(2, 150, 148, 0.1);
    box-shadow: 0 10px 20px rgba(2, 150, 148, 0.2);
}

.skill-bubble i {
    color: #029694;
    font-size: 1.1rem;
}

/* ========== MODAL COMPÉTENCES ========== */
.skill-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.skill-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.skill-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #029694;
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.skill-level-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.level-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #029694, #03b1ae);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.modal-body {
    color: var(--gray-text);
    line-height: 1.6;
}

/* ========== APPEL À ACTION ========== */
.experience-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #029694, #027a78);
    color: white;
    box-shadow: 0 5px 15px rgba(2, 150, 148, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(2, 150, 148, 0.4);
}

.cta-button.secondary {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
}

.cta-button.secondary:hover {
    border-color: #029694;
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .experience-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .experience-title {
        font-size: 2.5rem;
    }
    
    .experience-card {
        flex: 0 0 calc(100% - 20px);
        min-width: auto;
    }
    
    .timeline-controls {
        flex-wrap: wrap;
    }
    
    .timeline-progress-wrapper {
        order: 3;
        width: 100%;
        max-width: none;
    }
    
    .card-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .experience-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========== COMPÉTENCES ASSOCIÉES ========== */
.experience-skills {
    margin: 60px 0;
    text-align: center;
}

.experience-skills h3 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.skills-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #029694, #027a78);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-icon i {
    color: white;
    font-size: 1.2rem;
}

.skills-count {
    background: rgba(2, 150, 148, 0.2);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-bubble {
    padding: 12px 28px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 60px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: calc(0.9rem * var(--size, 1));
    transform: scale(var(--size, 1));
}

.skill-bubble:hover {
    background: #029694;
    border-color: #029694;
    color: white;
    transform: scale(calc(var(--size, 1) * 1.05));
}

/* ========== APPEL À ACTION ========== */
.experience-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #029694, #027a78);
    color: white;
    box-shadow: 0 5px 15px rgba(2, 150, 148, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 150, 148, 0.4);
}

.cta-button.secondary {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
}

.cta-button.secondary:hover {
    border-color: #029694;
    transform: translateY(-3px);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button.primary:hover .button-glow {
    left: 100%;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .experience-container {
        padding: 0 20px;
    }
    
    .experience-title {
        font-size: 2.5rem;
    }
    
    .experience-quick-stats {
        gap: 15px;
    }
    
    .stat-pill {
        padding: 8px 16px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .experience-card {
        width: 320px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .experience-showcase {
        padding: 60px 0;
    }
    
    .experience-title {
        font-size: 2rem;
    }
    
    .experience-description {
        font-size: 1rem;
    }
    
    .timeline-controls {
        display: none;
    }
    
    .timeline-track {
        padding: 10px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .skill-bubble {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .experience-card {
        width: 280px;
    }
    
    .card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .employment-badge {
        margin-left: 0;
    }
    
    .card-achievements {
        justify-content: center;
    }
}

/* ========== NUAGE DE COMPÉTENCES ========== */
.experience-skills {
    margin: 80px 0;
    text-align: center;
}

.experience-skills h3 {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.skill-bubble {
    padding: 12px 24px;
    background: rgba(2, 150, 148, 0.1);
    border: 1px solid rgba(2, 150, 148, 0.3);
    border-radius: 50px;
    font-size: calc(0.9rem * var(--size, 1));
    transition: all 0.3s;
    cursor: default;
}

.skill-bubble:hover {
    background: #029694;
    color: white;
    transform: scale(1.1);
}

/* ========== APPEL À ACTION ========== */
.experience-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #029694, #027a78);
    color: white;
    box-shadow: 0 10px 20px rgba(2, 150, 148, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(2, 150, 148, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.cta-button.secondary:hover {
    border-color: #029694;
    background: rgba(2, 150, 148, 0.1);
    transform: translateY(-3px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .experience-title {
        font-size: 2.5rem;
    }
    
    .experience-card {
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .experience-title {
        font-size: 2rem;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .title-light, .title-bold {
        margin: 0;
    }
    
    .timeline-markers {
        margin: 0 10px 40px;
    }
    
    .experience-card {
        min-width: 280px;
    }
    
    .card-header {
        flex-wrap: wrap;
    }
    
    .employment-badge {
        position: static;
        margin-top: 10px;
    }
    
    .experience-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .experience-card {
        min-width: 260px;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 5px;
    }
}