/* ==================== POLICES GOOGLE (GOOGLE FONTS) ==================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==================== VARIABLES - THÈME CLAIR ==================== */
:root {
    /* Colors Light Theme - Couleurs plus vives et professionnelles */
    --primary-color: #0284c7;
    --secondary-color: #7c3aed;
    --accent-color: #db2777;
    --text-color: #0f172a;
    --text-light: #475569;
    --text-muted: #64748b;
    
    /* Backgrounds Light - Arrière-plans plus doux */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #ddd6fe 50%, #fce7f3 100%);
    
    /* Glass Effect Light - Plus de contraste */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(148, 163, 184, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.08);
    
    /* Cards & Surfaces - Meilleur contraste */
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(148, 163, 184, 0.15);
    --surface-elevated: #ffffff;
    
    /* Shadows - Ombres plus marquées */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(2, 132, 199, 0.25);
    
    /* Effects */
    --blur-amount: 12px;
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Poppins', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* Spacing */
    --section-padding: 4.25rem;
    --container-padding: 3rem;
}

/* ==================== VARIABLES - THÈME SOMBRE ==================== */
[data-theme="dark"] {
    /* Colors Dark Theme */
    --primary-color: #06B6D4;
    --secondary-color: #A78BFA;
    --accent-color: #F472B6;
    --text-color: #f5f5f5;
    --text-light: #d1d5db;
    --text-muted: #9ca3af;
    
    /* Backgrounds Dark */
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    
    /* Glass Effect Dark */
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.5);
    
    /* Cards & Surfaces */
    --card-bg: rgba(30, 30, 30, 0.8);
    --card-border: rgba(255, 255, 255, 0.1);
    --surface-elevated: #1a1a1a;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.4);
}

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

*::selection {
    background: var(--primary-color);
    color: white;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background: var(--bg-gradient);
    background-attachment: fixed;
    line-height: 1.6;
    font-size: 15.12px;
    font-weight: var(--font-weight-normal);
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
    margin-bottom: 0;
    padding-bottom: 0;
    -moz-osx-font-smoothing: grayscale;
}

p {
    font-family: var(--font-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-normal);
    font-size: 1rem;
}
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-padding) 40px;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.88rem, 3.76vw, 3.3rem);
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.65rem, 3.3vw, 2.35rem);
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: clamp(1.18rem, 2.35vw, 1.65rem);
    font-weight: var(--font-weight-semibold);
}

h4 {
    font-size: clamp(1.04rem, 1.88vw, 1.41rem);
    font-weight: var(--font-weight-semibold);
}

h5, h6 {
    font-size: clamp(0.94rem, 1.41vw, 1.18rem);
    font-weight: var(--font-weight-medium);
}

.section-title {
    font-size: clamp(1.65rem, 3.3vw, 2.35rem);
    font-weight: var(--font-weight-black);
    text-align: center;
    margin-bottom: 2.35rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ==================== BOUTON DE CHANGEMENT DE THÈME ==================== */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--glass-bg);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: var(--shadow-sm);
}

.theme-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.theme-toggle-slider i {
    font-size: 0.7rem;
    color: white;
}

[data-theme="dark"] .theme-toggle-slider {
    transform: translateX(30px);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--container-padding);
}

.logo {
    font-size: 1.75rem;
    font-weight: var(--font-weight-black);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    transition: transform 0.3s ease;
}

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

/* Logo avec image */
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Logo avec icône et texte */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: var(--font-weight-black);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
    color: var(--secondary-color);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition);
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: var(--font-weight-medium);
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Container pour theme toggle et hamburger */
/* IMPORTANT: Le theme toggle est maintenant visible sur mobile
   à côté du bouton hamburger pour un accès facile */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==================== SÉLECTEUR DE LANGUE ==================== */
.language-selector {
    position: relative;
    z-index: 1002;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition);
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: var(--shadow-sm);
    color: var(--text-color);
    font-weight: var(--font-weight-semibold);
}

.language-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.language-btn i {
    font-size: 1rem;
    color: var(--primary-color);
}

.current-lang {
    font-size: 0.9rem;
    min-width: 25px;
    text-align: center;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 400px;
    overflow-y: auto;
}

.language-dropdown::-webkit-scrollbar {
    width: 6px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 0.7rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--text-color);
    text-align: left;
}

.lang-option:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border-left: 3px solid var(--primary-color);
}

.lang-option .flag {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.lang-option .lang-name {
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
}

/* Animation d'apparition */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-dropdown.active {
    animation: slideDown 0.3s ease;
}

/* Responsive pour le sélecteur de langue */
@media (max-width: 480px) {
    .language-btn {
        padding: 0.4rem 0.6rem;
    }
    
    .language-btn i {
        font-size: 0.9rem;
    }
    
    .current-lang {
        font-size: 0.8rem;
        min-width: 20px;
    }
    
    .language-dropdown {
        min-width: 180px;
        right: -10px;
    }
    
    .lang-option {
        padding: 0.6rem 0.8rem;
    }
    
    .lang-option .flag {
        width: 25px;
        height: 25px;
        font-size: 1.2rem;
    }
    
    .lang-option .lang-name {
        font-size: 0.85rem;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== BOUTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
}

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

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(var(--blur-amount));
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== SECTION HERO (ACCUEIL) ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.82rem;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 100%;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

/* Photo de profil Hero */
.hero-profile-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 3rem;
    padding-top: 250px;
    margin-left: -200px;
    z-index: 10;
}

/* Avatar de fond décoratif - derrière mais visible qui dépasse */
.hero-profile-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50% - 50px);
    width: 500px;
    height: 500px;
    background-image: url('../images/avatar2.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.3));
}

/* Base décorative demi-lune pour cacher la découpe */
.hero-profile-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(50% - 50px);
    width: 500px;
    height: 200px;
    background: 
        linear-gradient(to top, 
            rgba(30, 30, 40, 0.15) 0%,
            rgba(30, 30, 40, 0.08) 40%,
            transparent 100%
        );
    border-radius: 50% 50% 0 0;
    clip-path: ellipse(100% 100% at 50% 0%);
    z-index: 0;
}

[data-theme="light"] .hero-profile-wrapper::before {
    filter: drop-shadow(0 10px 30px rgba(99, 102, 241, 0.2));
}

[data-theme="light"] .hero-profile-wrapper::after {
    background: 
        linear-gradient(to top, 
            rgba(220, 220, 230, 0.12) 0%,
            rgba(220, 220, 230, 0.06) 40%,
            transparent 100%
        );
}

.profile-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.gradient-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.6;
    animation: floatGradient 8s ease-in-out infinite;
    pointer-events: none;
}

.gradient-bubble.gb-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.7), rgba(168, 85, 247, 0.7));
    top: 20%;
    left: -60px;
    animation-delay: 0s;
}

.gradient-bubble.gb-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.7), rgba(236, 72, 153, 0.7));
    top: 15%;
    right: -50px;
    animation-delay: 2s;
}

.gradient-bubble.gb-3 {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7), rgba(99, 102, 241, 0.7));
    bottom: 20%;
    left: -55px;
    animation-delay: 4s;
}

.gradient-bubble.gb-4 {
    width: 95px;
    height: 95px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.7), rgba(239, 68, 68, 0.7));
    bottom: 25%;
    right: -45px;
    animation-delay: 6s;
}

/* Nouvelles petites bulles d'animation */
.gradient-bubble.gb-5 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(236, 72, 153, 0.8));
    top: 8%;
    left: 40%;
    animation-delay: 1s;
}

.gradient-bubble.gb-6 {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(59, 130, 246, 0.8));
    bottom: 12%;
    left: 45%;
    animation-delay: 3s;
}

.gradient-bubble.gb-7 {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.8), rgba(99, 102, 241, 0.8));
    top: 45%;
    left: -65px;
    animation-delay: 5s;
}

.gradient-bubble.gb-8 {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(168, 85, 247, 0.8));
    top: 40%;
    right: -55px;
    animation-delay: 7s;
}

@keyframes floatGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(20px, -20px) scale(1.2);
        opacity: 0.7;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.85);
        opacity: 0.4;
    }
    75% {
        transform: translate(25px, 10px) scale(1.1);
        opacity: 0.6;
    }
}

.animated-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid;
    animation: pulseRing 3s ease-out infinite;
}

.animated-ring.ring-1 {
    width: 320px;
    height: 320px;
    border-color: rgba(99, 102, 241, 0.4);
    animation-delay: 0s;
}

.animated-ring.ring-2 {
    width: 360px;
    height: 360px;
    border-color: rgba(168, 85, 247, 0.3);
    animation-delay: 1s;
}

.animated-ring.ring-3 {
    width: 400px;
    height: 400px;
    border-color: rgba(236, 72, 153, 0.2);
    animation-delay: 2s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.35);
        opacity: 0;
    }
}

.float-particle {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    animation: floatParticle 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.float-particle.fp-1 {
    top: 12%;
    left: 5%;
    animation-delay: 0s;
}

.float-particle.fp-2 {
    top: 22%;
    right: 8%;
    animation-delay: 1s;
}

.float-particle.fp-3 {
    bottom: 18%;
    left: 8%;
    animation-delay: 2s;
}

.float-particle.fp-4 {
    bottom: 12%;
    right: 6%;
    animation-delay: 3s;
}

.float-particle.fp-5 {
    top: 38%;
    left: 3%;
    width: 12px;
    height: 12px;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

.float-particle.fp-6 {
    top: 58%;
    right: 4%;
    width: 14px;
    height: 14px;
    animation-delay: 2.5s;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.float-particle.fp-7 {
    bottom: 32%;
    left: 12%;
    width: 11px;
    height: 11px;
    animation-delay: 3.5s;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.float-particle.fp-8 {
    top: 68%;
    right: 12%;
    width: 13px;
    height: 13px;
    animation-delay: 4.5s;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-30px) scale(1.8);
        opacity: 1;
    }
}

.hero-profile-image {
    position: relative;
    width: 260px;
    height: 260px;
    z-index: 3;
}

.profile-border {
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    animation: rotateBorder 4s linear infinite;
    z-index: 1;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
        filter: hue-rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

.profile-glow {
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%);
    filter: blur(20px);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.hero-profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--bg-color);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease;
    background: radial-gradient(circle, #4a4a4a, #2a2a2a, #1a1a1a);
}

[data-theme="light"] .hero-profile-image img {
    background: radial-gradient(circle, #f5f5f5, #e0e0e0, #d0d0d0);
}

.hero-profile-image:hover img {
    transform: scale(1.05);
}

.profile-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--bg-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 3;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(99, 102, 241, 0.7);
    }
}

.profile-status i {
    color: #10b981;
    font-size: 0.7rem;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

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

.greeting {
    display: block;
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.hero-title {
    font-size: clamp(1.88rem, 3.76vw, 2.82rem);
    font-weight: var(--font-weight-black);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.name {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(1.18rem, 2.35vw, 1.65rem);
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--card-border);
    border-radius: 12px;
    font-size: 1.25rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
}

/* ==================== ANIMATIONS GÉOMÉTRIQUES DE FOND ==================== */
.geometric-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 0;
    overflow: hidden;
    opacity: 0.5;
    pointer-events: none;
}

/* Lignes diagonales animées */
.line {
    position: absolute;
    width: 2px;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
    transform: rotate(45deg);
}

.line-1 {
    left: 10%;
    animation: lineDiagonalDown 5s ease-in-out infinite;
}

.line-2 {
    left: 30%;
    animation: lineDiagonalUp 6s ease-in-out infinite;
    animation-delay: 1s;
    background: linear-gradient(180deg, transparent, var(--secondary-color), transparent);
    transform: rotate(-45deg);
}

.line-3 {
    left: 50%;
    animation: lineDiagonalDown 5.5s ease-in-out infinite;
    animation-delay: 2s;
}

.line-4 {
    left: 70%;
    animation: lineDiagonalUp 6.5s ease-in-out infinite;
    animation-delay: 0.5s;
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
    transform: rotate(-45deg);
}

.line-5 {
    left: 90%;
    animation: lineDiagonalDown 5.8s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Cercles flottants */
.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
}

.circle-1 {
    width: 30px;
    height: 30px;
    top: 15%;
    left: 20%;
    border-color: var(--primary-color);
    animation: floatCircle 6s ease-in-out infinite;
}

.circle-2 {
    width: 20px;
    height: 20px;
    top: 40%;
    left: 80%;
    border-color: var(--secondary-color);
    animation: floatCircle 7s ease-in-out infinite;
    animation-delay: 1s;
}

.circle-3 {
    width: 25px;
    height: 25px;
    top: 70%;
    left: 15%;
    border-color: var(--accent-color);
    animation: floatCircle 5.5s ease-in-out infinite;
    animation-delay: 2s;
}

.circle-4 {
    width: 35px;
    height: 35px;
    top: 25%;
    left: 60%;
    border-color: var(--primary-color);
    animation: floatCircle 6.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.circle-5 {
    width: 18px;
    height: 18px;
    top: 80%;
    left: 70%;
    border-color: var(--secondary-color);
    animation: floatCircle 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Triangles */
.triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid var(--primary-color);
    opacity: 0.3;
}

.triangle-1 {
    top: 10%;
    left: 35%;
    animation: rotateTriangle 8s linear infinite;
}

.triangle-2 {
    top: 50%;
    left: 10%;
    border-bottom-color: var(--secondary-color);
    animation: rotateTriangle 10s linear infinite reverse;
    animation-delay: 1s;
}

.triangle-3 {
    top: 65%;
    left: 85%;
    border-bottom-color: var(--accent-color);
    animation: rotateTriangle 9s linear infinite;
    animation-delay: 2s;
}

.triangle-4 {
    top: 30%;
    left: 90%;
    border-bottom-color: var(--primary-color);
    animation: rotateTriangle 7s linear infinite reverse;
    animation-delay: 0.5s;
}

/* Animations des lignes diagonales */
@keyframes lineDiagonalDown {
    0% {
        top: -150px;
        left: -50px;
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        top: 100%;
        left: 100%;
        opacity: 0;
    }
}

@keyframes lineDiagonalUp {
    0% {
        top: 100%;
        left: 100%;
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        top: -150px;
        left: -50px;
        opacity: 0;
    }
}

/* Animation des cercles */
@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10px, -50px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05);
        opacity: 0.4;
    }
}

/* Animation des triangles */
@keyframes rotateTriangle {
    0% {
        transform: rotate(0deg) translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) translateY(-20px);
        opacity: 0.5;
    }
    100% {
        transform: rotate(360deg) translateY(0);
        opacity: 0.3;
    }
}

/* Floating Cards Container */
.floating-cards {
    position: relative;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 1;
    padding: 2rem 0;
    background: transparent;
    border: none;
    margin-top: -180px;
}

/* Card Row (Série de 4 cartes) */
.card-row {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInRow 0.8s ease-out forwards;
    background: transparent;
    padding: 0;
    border: none;
}

.card-row:nth-child(1) {
    animation-delay: 0.2s;
}

.card-row:nth-child(2) {
    animation-delay: 0.9s;
}

.card-row:nth-child(3) {
    animation-delay: 1.6s;
}

.card-row:nth-child(4) {
    animation-delay: 2.3s;
}

/* Floating Card Base Style */
.floating-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 2px solid var(--card-border);
    border-radius: 25px;
    width: 116px;
    height: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.95rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition);
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

/* Blobs fluorescents derrière les cartes */
.floating-card::before {
    content: '';
    position: absolute;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.15;
    filter: blur(50px);
    animation: blobMove 6s ease-in-out infinite;
}

.card-1::before {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.card-2::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    animation-delay: 1s;
}

.card-3::before {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    animation-delay: 2s;
}

.card-4::before {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    animation-delay: 0.5s;
}

.card-5::before {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    animation-delay: 1.5s;
}

.card-6::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    animation-delay: 2.5s;
}

.card-7::before {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    animation-delay: 0.8s;
}

.card-8::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    animation-delay: 1.8s;
}

.card-9::before {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    animation-delay: 2.8s;
}

.card-10::before {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    animation-delay: 0.3s;
}

.card-11::before {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    animation-delay: 1.3s;
}

.card-12::before {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    animation-delay: 2.3s;
}

.card-13::before {
    background: linear-gradient(135deg, #8b5cf6, var(--primary-color));
    animation-delay: 3.3s;
}

.card-14::before {
    background: linear-gradient(135deg, #31a8ff, var(--secondary-color));
    animation-delay: 3.6s;
}

.card-15::before {
    background: linear-gradient(135deg, #ff9a00, var(--accent-color));
    animation-delay: 3.9s;
}

.card-16::before {
    background: linear-gradient(135deg, #4285f4, var(--primary-color));
    animation-delay: 4.2s;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    border-color: var(--primary-color);
}

.floating-card:hover::before {
    opacity: 0.3;
    filter: blur(40px);
}

.floating-card i {
    transition: all var(--transition);
}

.floating-card:hover i {
    transform: scale(1.2);
}

/* Individual card animations */
.card-1 {
    animation-name: float1;
    animation-delay: 0s;
}

.card-2 {
    animation-name: float2;
    animation-delay: 0.3s;
    color: var(--secondary-color);
}

.card-3 {
    animation-name: float3;
    animation-delay: 0.6s;
    color: var(--accent-color);
}

.card-4 {
    animation-name: float1;
    animation-delay: 0.9s;
}

.card-4 {
    animation-name: float1;
    animation-delay: 0.9s;
}

.card-5 {
    animation-name: float2;
    animation-delay: 1.2s;
    color: var(--accent-color);
}

.card-6 {
    animation-name: float3;
    animation-delay: 1.5s;
    color: var(--secondary-color);
}

.card-7 {
    animation-name: float1;
    animation-delay: 1.8s;
}

.card-8 {
    animation-name: float2;
    animation-delay: 2.1s;
    color: var(--primary-color);
}

.card-9 {
    animation-name: float3;
    animation-delay: 2.4s;
    color: var(--accent-color);
}

.card-10 {
    animation-name: float1;
    animation-delay: 2.7s;
    color: var(--secondary-color);
}

.card-11 {
    animation-name: float2;
    animation-delay: 3.0s;
}

.card-12 {
    animation-name: float3;
    animation-delay: 3.3s;
    color: var(--primary-color);
}

.card-13 {
    animation-name: float1;
    animation-delay: 3.6s;
    color: #8b5cf6;
}

.card-14 {
    animation-name: float2;
    animation-delay: 3.9s;
}

.card-14 .photoshop-icon {
    color: #31a8ff;
}

.card-15 {
    animation-name: float3;
    animation-delay: 4.2s;
}

.card-15 .illustrator-icon {
    color: #ff9a00;
}

.card-16 {
    animation-name: float1;
    animation-delay: 4.5s;
    color: #4285f4;
}

/* Labels pour les cartes */
.floating-card .card-label {
    display: block;
    font-size: 0.58rem;
    margin-top: 0.25rem;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Floating animations */
@keyframes float1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-15px) translateX(10px);
    }
    66% {
        transform: translateY(-10px) translateX(-10px);
    }
}

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

/* Animation d'apparition des rangées */
@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation des blobs fluorescents */
@keyframes blobMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-10px, -10px) scale(1.1);
    }
    50% {
        transform: translate(10px, 10px) scale(0.9);
    }
    75% {
        transform: translate(-5px, 10px) scale(1.05);
    }
}
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(14, 165, 233, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--card-border);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ==================== ANIMATION OTAKU COIN HERO ==================== */
.hero-corner-animation {
    position: absolute;
    top: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
    z-index: 2;
    pointer-events: none;
}

/* Anneaux rotatifs style otaku */
.otaku-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.3;
}

.ring-outer {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-color: var(--primary-color);
    animation: rotateOtaku 15s linear infinite;
    border-style: dashed;
}

.ring-middle {
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border-color: rgba(139, 92, 246, 0.6);
    animation: rotateOtaku 10s linear infinite reverse;
    border-width: 3px;
}

.ring-inner {
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
    border-color: rgba(236, 72, 153, 0.6);
    animation: rotateOtaku 8s linear infinite;
    border-width: 2px;
    border-style: dotted;
}

/* Centre avec icône */
.otaku-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), rgba(139, 92, 246, 0.8));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(14, 165, 233, 0.5),
        0 0 40px rgba(14, 165, 233, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.otaku-center i {
    font-size: 1.75rem;
    color: white;
    animation: iconSpin 4s ease-in-out infinite;
}

/* Particules flottantes style anime */
.otaku-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.7;
    box-shadow: 0 0 10px currentColor;
}

.particle.p1 {
    top: 20%;
    left: 50%;
    animation: particleFloat1 6s ease-in-out infinite;
    background: rgba(14, 165, 233, 0.8);
}

.particle.p2 {
    top: 40%;
    left: 80%;
    animation: particleFloat2 5s ease-in-out infinite 0.5s;
    background: rgba(139, 92, 246, 0.8);
}

.particle.p3 {
    top: 60%;
    left: 20%;
    animation: particleFloat3 7s ease-in-out infinite 1s;
    background: rgba(236, 72, 153, 0.8);
}

.particle.p4 {
    top: 80%;
    left: 60%;
    animation: particleFloat1 5.5s ease-in-out infinite 1.5s;
    background: rgba(14, 165, 233, 0.8);
}

.particle.p5 {
    top: 30%;
    left: 90%;
    animation: particleFloat2 6.5s ease-in-out infinite 2s;
    background: rgba(139, 92, 246, 0.8);
}

.particle.p6 {
    top: 70%;
    left: 40%;
    animation: particleFloat3 5s ease-in-out infinite 2.5s;
    background: rgba(236, 72, 153, 0.8);
}

/* Animations */
@keyframes rotateOtaku {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 20px rgba(14, 165, 233, 0.5),
            0 0 40px rgba(14, 165, 233, 0.3),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 
            0 0 30px rgba(14, 165, 233, 0.7),
            0 0 60px rgba(14, 165, 233, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

@keyframes iconSpin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) scale(1.1);
    }
}

@keyframes particleFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translate(-15px, -15px) scale(1.3);
        opacity: 1;
    }
    50% {
        transform: translate(10px, 20px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translate(-20px, 10px) scale(1.2);
        opacity: 0.9;
    }
}

@keyframes particleFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translate(20px, -10px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translate(-10px, 15px) rotate(240deg);
        opacity: 0.7;
    }
}

@keyframes particleFloat3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-18px, 18px) scale(1.5);
        opacity: 0.4;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-corner-animation {
        width: 200px;
        height: 200px;
        top: -60px;
        left: -60px;
    }
    
    .otaku-center {
        width: 45px;
        height: 45px;
    }
    
    .otaku-center i {
        font-size: 1.3rem;
    }
    
    .particle {
        width: 6px;
        height: 6px;
    }
    
    /* Photo de profil responsive */
    .hero-profile-wrapper {
        padding-top: 150px;
        margin-left: -120px;
    }
    
    .hero-profile-wrapper::before {
        width: 320px;
        height: 320px;
        left: calc(50% - 30px);
    }
    
    .hero-profile-wrapper::after {
        width: 320px;
        height: 130px;
        left: calc(50% - 30px);
    }
    
    .floating-cards {
        margin-top: -140px;
    }
    
    .hero-profile-image {
        width: 180px;
        height: 180px;
    }
    
    .animated-ring.ring-1 {
        width: 240px;
        height: 240px;
    }
    
    .animated-ring.ring-2 {
        width: 270px;
        height: 270px;
    }
    
    .animated-ring.ring-3 {
        width: 300px;
        height: 300px;
    }
    
    .gradient-bubble {
        filter: blur(25px);
    }
    
    .gradient-bubble.gb-1,
    .gradient-bubble.gb-2,
    .gradient-bubble.gb-3,
    .gradient-bubble.gb-4 {
        width: 80px;
        height: 80px;
    }
    
    .gradient-bubble.gb-5,
    .gradient-bubble.gb-6,
    .gradient-bubble.gb-7,
    .gradient-bubble.gb-8 {
        width: 50px;
        height: 50px;
    }
    
    .float-particle {
        width: 12px;
        height: 12px;
    }
    
    .profile-status {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* ==================== SECTION À PROPOS ==================== */
.about {
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .about {
    background: rgba(0, 0, 0, 0.2);
}

/* ==================== ANIMATION OTAKU COIN ABOUT (DROITE) ==================== */
.about-corner-animation {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    z-index: 2;
    pointer-events: none;
}

/* Hexagones rotatifs (différent des cercles du hero) */
.otaku-hexagon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hex-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    transform-origin: center;
    opacity: 0.4;
}

.hex-outer .hex-line {
    width: 100%;
    height: 2px;
    left: 0;
    top: 50%;
    color: rgba(236, 72, 153, 0.7);
}

.hex-outer .hex-line:nth-child(1) { transform: rotate(0deg) translateY(-50%); }
.hex-outer .hex-line:nth-child(2) { transform: rotate(60deg) translateY(-50%); }
.hex-outer .hex-line:nth-child(3) { transform: rotate(120deg) translateY(-50%); }
.hex-outer .hex-line:nth-child(4) { transform: rotate(180deg) translateY(-50%); }
.hex-outer .hex-line:nth-child(5) { transform: rotate(240deg) translateY(-50%); }
.hex-outer .hex-line:nth-child(6) { transform: rotate(300deg) translateY(-50%); }

.hex-outer {
    animation: rotateHexSlow 20s linear infinite;
}

.hex-middle {
    width: 65%;
    height: 65%;
    top: 17.5%;
    left: 17.5%;
    animation: rotateHexMedium 12s linear infinite reverse;
}

.hex-middle .hex-line {
    width: 100%;
    height: 3px;
    left: 0;
    top: 50%;
    color: rgba(139, 92, 246, 0.8);
}

.hex-middle .hex-line:nth-child(1) { transform: rotate(0deg) translateY(-50%); }
.hex-middle .hex-line:nth-child(2) { transform: rotate(60deg) translateY(-50%); }
.hex-middle .hex-line:nth-child(3) { transform: rotate(120deg) translateY(-50%); }
.hex-middle .hex-line:nth-child(4) { transform: rotate(180deg) translateY(-50%); }
.hex-middle .hex-line:nth-child(5) { transform: rotate(240deg) translateY(-50%); }
.hex-middle .hex-line:nth-child(6) { transform: rotate(300deg) translateY(-50%); }

.hex-inner {
    width: 35%;
    height: 35%;
    top: 32.5%;
    left: 32.5%;
    animation: rotateHexFast 8s linear infinite;
}

.hex-inner .hex-line {
    width: 100%;
    height: 2px;
    left: 0;
    top: 50%;
    color: rgba(14, 165, 233, 0.9);
}

.hex-inner .hex-line:nth-child(1) { transform: rotate(0deg) translateY(-50%); }
.hex-inner .hex-line:nth-child(2) { transform: rotate(60deg) translateY(-50%); }
.hex-inner .hex-line:nth-child(3) { transform: rotate(120deg) translateY(-50%); }
.hex-inner .hex-line:nth-child(4) { transform: rotate(180deg) translateY(-50%); }
.hex-inner .hex-line:nth-child(5) { transform: rotate(240deg) translateY(-50%); }
.hex-inner .hex-line:nth-child(6) { transform: rotate(300deg) translateY(-50%); }

/* Core central hexagonal */
.hex-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.9), rgba(139, 92, 246, 0.8));
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hexPulse 4s ease-in-out infinite;
    box-shadow: 
        0 0 25px rgba(236, 72, 153, 0.6),
        0 0 50px rgba(139, 92, 246, 0.4),
        inset 0 0 25px rgba(255, 255, 255, 0.15);
}

.hex-core i {
    font-size: 2rem;
    color: white;
    animation: coreFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Ondes énergétiques (style tech) */
.energy-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.wave {
    position: absolute;
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, transparent, currentColor, transparent);
    opacity: 0;
}

.wave.w1 {
    top: 15%;
    left: 50%;
    color: rgba(236, 72, 153, 0.8);
    animation: energyPulse1 3s ease-in-out infinite;
}

.wave.w2 {
    top: 35%;
    left: 75%;
    color: rgba(139, 92, 246, 0.8);
    animation: energyPulse2 3.5s ease-in-out infinite 0.3s;
    transform: rotate(30deg);
}

.wave.w3 {
    top: 55%;
    left: 85%;
    color: rgba(14, 165, 233, 0.8);
    animation: energyPulse1 3.2s ease-in-out infinite 0.6s;
    transform: rotate(-20deg);
}

.wave.w4 {
    top: 70%;
    left: 60%;
    color: rgba(236, 72, 153, 0.8);
    animation: energyPulse2 3.8s ease-in-out infinite 0.9s;
    transform: rotate(45deg);
}

.wave.w5 {
    top: 25%;
    left: 80%;
    color: rgba(139, 92, 246, 0.8);
    animation: energyPulse1 3.3s ease-in-out infinite 1.2s;
    transform: rotate(-35deg);
}

.wave.w6 {
    top: 45%;
    left: 90%;
    color: rgba(14, 165, 233, 0.8);
    animation: energyPulse2 3.6s ease-in-out infinite 1.5s;
    transform: rotate(60deg);
}

/* Animations hexagones */
@keyframes rotateHexSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateHexMedium {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes rotateHexFast {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hexPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        box-shadow: 
            0 0 25px rgba(236, 72, 153, 0.6),
            0 0 50px rgba(139, 92, 246, 0.4),
            inset 0 0 25px rgba(255, 255, 255, 0.15);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15) rotate(180deg);
        box-shadow: 
            0 0 40px rgba(236, 72, 153, 0.8),
            0 0 80px rgba(139, 92, 246, 0.6),
            inset 0 0 35px rgba(255, 255, 255, 0.25);
    }
}

@keyframes coreFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.1);
    }
}

@keyframes energyPulse1 {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}

@keyframes energyPulse2 {
    0% {
        opacity: 0;
        height: 20px;
    }
    40% {
        opacity: 1;
        height: 50px;
    }
    100% {
        opacity: 0;
        height: 30px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .about-corner-animation {
        width: 220px;
        height: 220px;
        top: -70px;
        right: -70px;
    }
    
    .hex-core {
        width: 50px;
        height: 50px;
    }
    
    .hex-core i {
        font-size: 1.5rem;
    }
    
    .wave {
        height: 30px;
    }
}

/* ==================== ABOUT SECTION - ORIGINAL ==================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.82rem;
    align-items: center;
    margin: 0 auto;
    max-width: 100%;
    padding: 0 20px;
}

/* ==================== ABOUT SECTION - PHOTO GALLERY ==================== */
.about-image {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Formes géométriques décoratives */
.photo-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

/* Bulles (cercles) */
.shape-bubble {
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    opacity: 0.6;
    animation: pulse 4s ease-in-out infinite;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 5%;
    left: 5%;
    border-color: var(--primary-color);
    z-index: 5;
}

.bubble-2 {
    width: 60px;
    height: 60px;
    top: 8%;
    right: 8%;
    border-color: var(--secondary-color);
    animation-delay: 1s;
    z-index: 5;
}

.bubble-3 {
    width: 70px;
    height: 70px;
    bottom: 5%;
    left: 8%;
    border-color: var(--accent-color);
    animation-delay: 2s;
    z-index: 0;
}

/* Carrés */
.shape-square {
    position: absolute;
    border: 3px solid var(--secondary-color);
    opacity: 0.6;
    animation: rotate360 8s linear infinite;
}

.square-1 {
    width: 70px;
    height: 70px;
    top: 10%;
    right: 5%;
    border-color: var(--secondary-color);
    z-index: 5;
}

.square-2 {
    width: 65px;
    height: 65px;
    bottom: 8%;
    right: 5%;
    border-color: var(--accent-color);
    animation-delay: 2s;
    z-index: 5;
}

/* Trapèzes */
.shape-trapeze {
    position: absolute;
    width: 60px;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 75px solid var(--accent-color);
    opacity: 0.5;
    animation: floatShape 6s ease-in-out infinite;
}

.trapeze-1 {
    top: 12%;
    left: 10%;
    border-bottom-color: var(--accent-color);
    z-index: 0;
}

.trapeze-2 {
    bottom: 10%;
    left: 5%;
    border-bottom-color: var(--primary-color);
    animation-delay: 1.5s;
    z-index: 5;
}

/* Traits diagonaux connecteurs */
.diagonal-line {
    position: absolute;
    width: 2px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    opacity: 0.4;
    transform-origin: top left;
}

.line-connect-1 {
    height: 120px;
    top: 8%;
    left: 8%;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--primary-color), transparent);
    z-index: 4;
}

.line-connect-2 {
    height: 130px;
    top: 5%;
    right: 5%;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, var(--secondary-color), transparent);
    z-index: 4;
}

.line-connect-3 {
    height: 110px;
    bottom: 8%;
    left: 5%;
    transform: rotate(135deg);
    background: linear-gradient(135deg, var(--accent-color), transparent);
    z-index: 4;
}

.line-connect-4 {
    height: 125px;
    bottom: 5%;
    right: 8%;
    transform: rotate(-135deg);
    background: linear-gradient(135deg, var(--primary-color), transparent);
    z-index: 4;
}

/* Container des photos */
.photo-gallery {
    position: relative;
    width: 100%;
    max-width: calc(100% - 40px);
    height: 100%;
    z-index: 1;
    margin: 0 auto;
}

/* Sets de photos */
.photo-set {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s ease;
}

/* Premier trio - disposition croisée cool */
.photo-set-1 {
    opacity: 1;
    visibility: visible;
}

.photo-set-1 .photo-card {
    animation: slideUpFade 0.8s ease-out forwards;
    opacity: 0;
    position: absolute;
}

.photo-set-1 .photo-1 {
    transform: translateY(100px) rotate(-8deg);
    animation-delay: 0s;
    left: -50px;
    top: 15%;
    z-index: 1;
}

.photo-set-1 .photo-2 {
    transform: translateY(100px);
    animation-delay: 0.2s;
    left: 50%;
    top: 5%;
    margin-left: -160px;
    z-index: 3;
}

.photo-set-1 .photo-3 {
    transform: translateY(100px) rotate(8deg);
    animation-delay: 0.4s;
    right: -50px;
    top: 35%;
    z-index: 1;
}

/* Deuxième trio - caché par défaut */
.photo-set-2 {
    opacity: 0;
    visibility: hidden;
}

.photo-set-2 .photo-card {
    transform: translateX(-100px);
    position: absolute;
}

.photo-set-2 .photo-4 {
    left: 0px;
    top: 20%;
    z-index: 2;
}

.photo-set-2 .photo-5 {
    left: 40%;
    top: 10%;
    margin-left: -160px;
    z-index: 3;
}

.photo-set-2 .photo-6 {
    right: 0px;
    top: 25%;
    z-index: 2;
}

/* Au hover du container */
.about-image:hover .photo-set-1 {
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
}

.about-image:hover .photo-set-2 {
    opacity: 1;
    visibility: visible;
}

.about-image:hover .photo-set-2 .photo-card {
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.about-image:hover .photo-set-2 .photo-4 {
    animation-delay: 0s;
}

.about-image:hover .photo-set-2 .photo-5 {
    animation-delay: 0.15s;
}

.about-image:hover .photo-set-2 .photo-6 {
    animation-delay: 0.3s;
}

/* Cartes photos individuelles */
.photo-card {
    width: 320px;
    height: 380px;
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 3px solid var(--card-border);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
}

.photo-card:hover {
    transform: translateY(-15px) scale(1.08) !important;
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    z-index: 20 !important;
    rotate: 0deg !important;
}

/* Images dans les cartes */
.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bulles décoratives pour chaque photo */
.photo-card::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), rgba(168, 85, 247, 0.3));
    filter: blur(15px);
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
}

.photo-1::before {
    top: -20px;
    right: -15px;
    width: 100px;
    height: 100px;
}

.photo-2::before {
    bottom: -25px;
    left: -20px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4), rgba(168, 85, 247, 0.3));
}

.photo-3::before {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 85px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4), rgba(99, 102, 241, 0.3));
}

.photo-4::before {
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 95px;
    height: 95px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.3));
}

.photo-5::before {
    bottom: -20px;
    right: -10px;
    width: 105px;
    height: 105px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4), rgba(59, 130, 246, 0.3));
}

.photo-6::before {
    top: -30px;
    left: -15px;
    width: 88px;
    height: 88px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.4), rgba(99, 102, 241, 0.3));
}

.photo-card:hover::before {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Roue dentée style horloge en coin supérieur droit de chaque photo */
.photo-card::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: 
        conic-gradient(from 0deg, 
            white 0deg, white 15deg, 
            transparent 15deg, transparent 30deg,
            white 30deg, white 45deg,
            transparent 45deg, transparent 60deg,
            white 60deg, white 75deg,
            transparent 75deg, transparent 90deg,
            white 90deg, white 105deg,
            transparent 105deg, transparent 120deg,
            white 120deg, white 135deg,
            transparent 135deg, transparent 150deg,
            white 150deg, white 165deg,
            transparent 165deg, transparent 180deg,
            white 180deg, white 195deg,
            transparent 195deg, transparent 210deg,
            white 210deg, white 225deg,
            transparent 225deg, transparent 240deg,
            white 240deg, white 255deg,
            transparent 255deg, transparent 270deg,
            white 270deg, white 285deg,
            transparent 285deg, transparent 300deg,
            white 300deg, white 315deg,
            transparent 315deg, transparent 330deg,
            white 330deg, white 345deg,
            transparent 345deg, transparent 360deg
        );
    border-radius: 50%;
    z-index: 15;
    animation: rotateGear 10s linear infinite;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    opacity: 0.85;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Centre de la roue dentée */
.photo-1::after,
.photo-2::after,
.photo-3::after,
.photo-4::after,
.photo-5::after,
.photo-6::after {
    background-image: 
        radial-gradient(circle at center, transparent 25%, white 25%, white 85%, transparent 85%),
        conic-gradient(from 0deg, 
            white 0deg, white 15deg, 
            transparent 15deg, transparent 30deg,
            white 30deg, white 45deg,
            transparent 45deg, transparent 60deg,
            white 60deg, white 75deg,
            transparent 75deg, transparent 90deg,
            white 90deg, white 105deg,
            transparent 105deg, transparent 120deg,
            white 120deg, white 135deg,
            transparent 135deg, transparent 150deg,
            white 150deg, white 165deg,
            transparent 165deg, transparent 180deg,
            white 180deg, white 195deg,
            transparent 195deg, transparent 210deg,
            white 210deg, white 225deg,
            transparent 225deg, transparent 240deg,
            white 240deg, white 255deg,
            transparent 255deg, transparent 270deg,
            white 270deg, white 285deg,
            transparent 285deg, transparent 300deg,
            white 300deg, white 315deg,
            transparent 315deg, transparent 330deg,
            white 330deg, white 345deg,
            transparent 345deg, transparent 360deg
        );
}

.photo-card:hover::after {
    animation-duration: 4s;
    opacity: 1;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.6),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
}

@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.about-image .image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    max-width: 350px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* About Text Section */
.about-text {
    position: relative;
    background: rgba(14, 165, 233, 0.03);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 20px;
    padding: 2.1rem 1.83rem;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.08);
    overflow: hidden;
}

[data-theme="dark"] .about-text {
    background: rgba(14, 165, 233, 0.05);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.1);
}

.about-text-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(14, 165, 233, 0.08));
    border: 2px solid transparent;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.about-text-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: all 0.6s ease;
}

.about-text-header:hover::before {
    width: 400px;
    height: 400px;
}

.about-text-header:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.about-text-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.about-text-header:hover i {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.4));
}

.about-text h3 {
    margin: 0;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.about-text-header:hover h3 {
    letter-spacing: 0.5px;
}

.about-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.25rem;
}

.about-mission {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(139, 92, 246, 0.05));
    backdrop-filter: blur(var(--blur-amount));
    border: 2px solid transparent;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.info-item:hover::before {
    opacity: 1;
}

.info-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.2);
    border-color: var(--primary-color);
}

.info-item i {
    font-size: 1.75rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.info-item:hover i {
    transform: rotate(10deg) scale(1.15);
}

.info-item span {
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}
}

/* Animation coin bas droit */
.corner-decoration {
    position: absolute;
    bottom: 0;
    right: -45px;
    width: 80px;
    height: 80px;
    pointer-events: none;
    opacity: 0.6;
}

.corner-dot {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: cornerPulse 2s ease-in-out infinite;
}

.corner-line {
    position: absolute;
    animation: cornerExpand 3s ease-in-out infinite;
}

.corner-line-h {
    bottom: 19px;
    right: 23px;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, var(--primary-color), transparent);
    animation-name: cornerExpandH;
}

.corner-line-v {
    bottom: 23px;
    right: 19px;
    width: 2px;
    height: 0;
    background: linear-gradient(to top, var(--primary-color), transparent);
    animation-name: cornerExpandV;
}

@keyframes cornerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes cornerExpandH {
    0%, 100% {
        width: 0;
        opacity: 0.3;
    }
    50% {
        width: 50px;
        opacity: 0.8;
    }
}

@keyframes cornerExpandV {
    0%, 100% {
        height: 0;
        opacity: 0.3;
    }
    50% {
        height: 50px;
        opacity: 0.8;
    }
}

.about-text .btn {
    margin-top: 2rem;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    padding: 1rem 2.5rem;
    transition: all 0.4s ease;
}

.about-text .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: left 0.4s ease;
    z-index: -1;
}

.about-text .btn:hover::before {
    left: 0;
}

.about-text .btn:hover {
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.about-text .btn i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.about-text .btn:hover i {
    transform: translateX(-5px);
}

/* ==================== SECTION COMPÉTENCES ==================== */
.skills {
    position: relative;
    overflow: hidden;
}

/* Décorations géométriques de fond */
.skills-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Cercles gradients */
.gradient-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
    animation: floatGradient 8s ease-in-out infinite;
}

.circle-grad-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.circle-grad-2 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 10%;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    animation-delay: 2s;
}

.circle-grad-3 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    animation-delay: 4s;
}

/* Carrés animés */
.animated-square {
    position: absolute;
    border: 2px solid var(--primary-color);
    opacity: 0.3;
    animation: rotateFloat 10s linear infinite;
}

.square-anim-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    border-color: var(--secondary-color);
}

.square-anim-2 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 10%;
    border-color: var(--accent-color);
    animation-delay: 3s;
}

/* Bonhommes code (icônes) */
.code-icon {
    position: absolute;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    animation: bounce 3s ease-in-out infinite;
}

.icon-1 {
    top: 15%;
    left: 15%;
    color: var(--primary-color);
}

.icon-2 {
    top: 60%;
    right: 20%;
    color: var(--secondary-color);
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: 20%;
    color: var(--accent-color);
    animation-delay: 2s;
}

/* Animations décorations */
@keyframes floatGradient {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -40px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

@keyframes rotateFloat {
    0% {
        transform: rotate(0deg) translateY(0);
    }
    50% {
        transform: rotate(180deg) translateY(-30px);
    }
    100% {
        transform: rotate(360deg) translateY(0);
    }
}

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

/* Badge Autodidacte */
/* Skills badges container */
.skills-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto 1rem;
    max-width: 900px;
}

/* Individual skill badge */
.skill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(14, 165, 233, 0.1));
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 50px;
    padding: 0.65rem 1.3rem;
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    transition: all var(--transition);
    position: relative;
}

.skill-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.skill-badge i {
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

[data-theme="dark"] .skill-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(14, 165, 233, 0.15));
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Skills status text */
.skills-status {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 1rem auto 2.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    max-width: 500px;
}

.skills-status i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Skill level badges */
.skill-level {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: var(--font-weight-bold);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.skill-level.advanced {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.skill-level.intermediate {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.skill-level.beginner {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}


.autodidact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(14, 165, 233, 0.1));
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 1rem auto 2.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
    transition: all var(--transition);
    position: relative;
}

.autodidact-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.autodidact-badge i {
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.autodidact-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

[data-theme="dark"] .autodidact-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(14, 165, 233, 0.15));
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: calc(100% - 80px);
    padding: 0 40px;
}

.skill-category {
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.skill-category h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category h3 i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    position: relative;
}

/* Header avec icône */
.skill-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.skill-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all var(--transition);
}

.skill-item:hover .skill-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-color);
}

.skill-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: var(--font-weight-medium);
    flex: 1;
    color: var(--text-color);
}

.skill-name::after {
    content: attr(data-progress) '%';
    font-size: 0.875rem;
    color: var(--text-light);
}

.skill-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease;
    width: 0;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

/* ==================== SECTION CERTIFICATIONS ==================== */
.certifications {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.02) 0%, rgba(168, 85, 247, 0.02) 100%);
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
    padding-top: 3rem;
}

.certifications .section-title {
    margin-top: 3rem;
}

[data-theme="dark"] .certifications {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, rgba(168, 85, 247, 0.04) 100%);
}

/* Décorations de fond */
.certifications-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-badge {
    position: absolute;
    font-size: 3rem;
    color: rgba(99, 102, 241, 0.1);
    animation: floatBadge 8s ease-in-out infinite;
}

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

.float-badge.badge-2 {
    top: 60%;
    right: 8%;
    animation-delay: 3s;
}

.float-badge.badge-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 6s;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.15;
    }
}

.sparkle-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.cert-star-1 {
    top: 15%;
    right: 15%;
    animation-delay: 0s;
}

.cert-star-2 {
    top: 40%;
    left: 12%;
    animation-delay: 1s;
}

.cert-star-3 {
    bottom: 30%;
    right: 20%;
    animation-delay: 2s;
}

.cert-star-4 {
    bottom: 20%;
    left: 18%;
    animation-delay: 3s;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(2);
        opacity: 0.3;
    }
}

.wave-decoration {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.2) 50%, 
        transparent 100%);
    animation: waveDeco 5s ease-in-out infinite;
}

.wave-cert-1 {
    top: 20%;
    animation-delay: 0s;
}

.wave-cert-2 {
    bottom: 30%;
    animation-delay: 2.5s;
}

@keyframes waveDeco {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.gradient-orb {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbFloat 10s ease-in-out infinite;
}

.gradient-orb.orb-1 {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.3));
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.gradient-orb.orb-2 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(239, 68, 68, 0.3));
    bottom: 15%;
    left: 5%;
    animation-delay: 5s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -50px) scale(1.2);
    }
}

/* Grille des certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Carte de certification */
.certification-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .certification-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(99, 102, 241, 0.2);
}

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

.certification-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.3);
}

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

/* Ruban en coin */
.cert-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    animation: ribbonPulse 2s ease-in-out infinite;
}

@keyframes ribbonPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
}

.cert-ribbon i {
    color: white;
    font-size: 1.5rem;
    animation: starSpin 4s linear infinite;
}

@keyframes starSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Icône de certification */
.cert-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 20px;
    animation: iconRotate 8s linear infinite;
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cert-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.certification-card:hover .cert-icon {
    transform: scale(1.2) rotateY(360deg);
}

/* Contenu de la certification */
.cert-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.cert-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
}

.cert-issuer,
.cert-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cert-issuer i,
.cert-date i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Compétences de la certification */
.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.cert-skill {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

[data-theme="dark"] .cert-skill {
    background: rgba(99, 102, 241, 0.2);
}

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

/* Bouton de vérification */
/* Certification status (replaces verify button) */
.cert-status {
    text-align: center;
    margin-top: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.status-badge.in-progress {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.status-badge.in-progress i {
    font-size: 1rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Old styles for compatibility */
.cert-verify {
    text-align: center;
}

.verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.verify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.verify-btn i {
    font-size: 1rem;
}

/* Statistiques des certifications */
.cert-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .cert-stats {
    background: rgba(30, 41, 59, 0.4);
    border-color: rgba(99, 102, 241, 0.2);
}

.cert-stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.cert-stat-item:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-content h4 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-black);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-content .stat-text {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

/* Responsive */
@media (max-width: 768px) {
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .cert-stat-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-icon i {
        font-size: 1.5rem;
    }
    
    .stat-content h4 {
        font-size: 2rem;
    }
}

/* ==================== SECTION RÉALISATIONS ==================== */
/* Styles pour la section "Mes Réalisations".
   - Ces règles gèrent la grille, les cartes, l'overlay et les boutons de filtre.
   - Le JavaScript utilise les classes `filter-btn` et `project-card` pour filtrer.
*/
.projects-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-color);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

/* ==================== SECTION SERVICES ==================== */
.services {
    position: relative;
    padding: 6rem 0;
    background: var(--bg-color);
    overflow: hidden;
}

.services .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Particules décoratives animées */
.service-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 20s infinite ease-in-out;
}

.particle-1 {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.particle-2 {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    top: 60%;
    left: 80%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.particle-3 {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    top: 40%;
    left: 90%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle-4 {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    top: 80%;
    left: 15%;
    animation-delay: 9s;
    animation-duration: 20s;
}

.particle-5 {
    width: 7px;
    height: 7px;
    background: var(--accent-color);
    top: 30%;
    left: 50%;
    animation-delay: 12s;
    animation-duration: 24s;
}

.particle-6 {
    width: 9px;
    height: 9px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: 70%;
    left: 60%;
    animation-delay: 15s;
    animation-duration: 19s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translate(20px, -20px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-30px, -80px) scale(1.2);
    }
    90% {
        opacity: 0.4;
        transform: translate(50px, -120px) scale(0.8);
    }
}

/* Carousel Wrapper */
/* Services Grid - Simple avec scrollbar */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 1rem;
    max-height:;
    overflow-y: hidden;
    overflow-x: hidden;
}

/* Scrollbar personnalisée */
.services-grid::-webkit-scrollbar {
    width: 10px;
}

.services-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Pour Firefox */
.services-grid {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

.services-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.services-carousel {
    flex: 1;
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
}

/* Décorations de la section services */
#services::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatDecor1 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

#services::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatDecor2 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatDecor1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes floatDecor2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-40px, 20px) scale(1.15);
        opacity: 0.7;
    }
}

.services-track {
    display: flex;
    gap: 2rem;
    padding-right: 30px; /* Espace fixe après la dernière carte */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Plus naturel et smooth */
    will-change: transform;
    scroll-behavior: smooth;
}

/* Service Card */
.service-card {
    min-width: 350px;
    max-width: 350px;
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 2px solid var(--card-border);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Transition plus naturelle et smooth */
    position: relative;
    cursor: grab;
    overflow: hidden;
}

/* Effet de brillance animé sur les cartes */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:active {
    cursor: grabbing;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-color);
}

/* Pinned State */
.service-card.pinned {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
    transform: scale(1.05);
}

.service-card.pinned .service-pin i {
    transform: rotate(45deg);
    color: var(--accent-color);
}

/* Service Icon */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5);
}

/* Service Title */
.service-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Description */
.service-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Pin Button */
.service-pin {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10;
}

.service-pin:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    transform: scale(1.1);
}

.service-pin:hover i {
    color: white;
}

.service-pin i {
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

/* Carousel Buttons */
.carousel-btn {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    backdrop-filter: blur(15px);
    border: 2px solid transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.carousel-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.carousel-btn:hover::before {
    opacity: 1;
}

.carousel-btn:hover {
    transform: scale(1.2) rotate(-5deg);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
    border-color: var(--primary-color);
}

.carousel-btn:hover i {
    color: white;
    transform: scale(1.2);
}

.carousel-btn i {
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
    color: var(--text-color);
    transition: all var(--transition);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: scale(0.95);
}

.carousel-btn:disabled:hover {
    transform: scale(0.95);
    box-shadow: none;
}

/* Carousel Pagination */
.carousel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    margin-top: 2.5rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.08));
    border-radius: 50px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.pagination-dot {
    position: relative;
    width: 14px;
    height: 14px;
    background: rgba(139, 92, 246, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    overflow: visible;
}

.pagination-dot::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.pagination-dot:hover::before {
    opacity: 0.4;
}

.pagination-dot:hover {
    background: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.pagination-dot.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 40px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
    transform: scale(1.15);
}

.pagination-dot.active::before {
    opacity: 0.6;
    inset: -8px;
    border-radius: 12px;
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Progress Ring Animation */
.progress-ring {
    display: none; /* Masquer le cercle de chargement */
}

/* Responsive */
@media (max-width: 768px) {
    .service-card {
        min-width: 280px;
        max-width: 280px;
        padding: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .services-carousel-wrapper {
        gap: 0.5rem;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .services-track {
        gap: 1rem;
    }
}

/* ==================== SECTION RÉALISATIONS ==================== */
.projects {
    position: relative;
    overflow: hidden;
}

/* Décorations géométriques de fond */
.projects-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Triangles animés */
.animated-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 90px solid var(--primary-color);
    opacity: 0.2;
    animation: spinTriangle 12s linear infinite;
}

.triangle-1 {
    top: 15%;
    left: 10%;
    border-bottom-color: var(--primary-color);
}

.triangle-2 {
    top: 55%;
    right: 15%;
    border-bottom-color: var(--secondary-color);
    animation-delay: 4s;
}

.triangle-3 {
    bottom: 20%;
    left: 50%;
    border-bottom-color: var(--accent-color);
    animation-delay: 8s;
}

/* Hexagones */
.hexagon {
    position: absolute;
    width: 80px;
    height: 46px;
    background: var(--primary-color);
    opacity: 0.15;
    animation: pulseHex 6s ease-in-out infinite;
}

.hexagon::before,
.hexagon::after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
}

.hexagon::before {
    bottom: 100%;
    border-bottom: 23px solid var(--primary-color);
}

.hexagon::after {
    top: 100%;
    border-top: 23px solid var(--primary-color);
}

.hex-1 {
    top: 25%;
    right: 20%;
    background: var(--secondary-color);
}

.hex-1::before,
.hex-1::after {
    border-bottom-color: var(--secondary-color);
    border-top-color: var(--secondary-color);
}

.hex-2 {
    bottom: 30%;
    left: 15%;
    background: var(--accent-color);
    animation-delay: 3s;
}

.hex-2::before,
.hex-2::after {
    border-bottom-color: var(--accent-color);
    border-top-color: var(--accent-color);
}

/* Lignes diagonales animées */
.diagonal-stripe {
    position: absolute;
    width: 3px;
    height: 150px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
    transform: rotate(45deg);
    animation: slideStripe 8s ease-in-out infinite;
}

.stripe-1 {
    top: 20%;
    left: 30%;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
}

.stripe-2 {
    top: 60%;
    left: 60%;
    background: linear-gradient(180deg, transparent, var(--secondary-color), transparent);
    animation-delay: 2.5s;
}

.stripe-3 {
    bottom: 25%;
    right: 25%;
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
    animation-delay: 5s;
}

/* Icônes flottantes */
.float-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.15;
    animation: floatSway 5s ease-in-out infinite;
}

.ficon-1 {
    top: 10%;
    right: 10%;
    color: var(--primary-color);
}

.ficon-2 {
    top: 50%;
    left: 10%;
    color: var(--accent-color);
    animation-delay: 1.5s;
}

.ficon-3 {
    bottom: 15%;
    right: 30%;
    color: var(--secondary-color);
    animation-delay: 3s;
}

/* Animations décorations réalisations */
@keyframes spinTriangle {
    0% {
        transform: rotate(0deg) translateY(0);
    }
    50% {
        transform: rotate(180deg) translateY(-20px);
    }
    100% {
        transform: rotate(360deg) translateY(0);
    }
}

@keyframes pulseHex {
    0%, 100% {
        transform: scale(1);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

@keyframes slideStripe {
    0% {
        transform: rotate(45deg) translateY(0) translateX(0);
    }
    50% {
        transform: rotate(45deg) translateY(-50px) translateX(50px);
    }
    100% {
        transform: rotate(45deg) translateY(0) translateX(0);
    }
}

@keyframes floatSway {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(20px) translateY(-20px) rotate(10deg);
    }
    50% {
        transform: translateX(0) translateY(-30px) rotate(0deg);
    }
    75% {
        transform: translateX(-20px) translateY(-20px) rotate(-10deg);
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    max-width: calc(100% - 80px);
    padding: 0 40px;
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 2px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    position: relative;
}

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

.project-image { 
    position: relative; 
    overflow: hidden;
    height: 250px;
}

.project-image img { 
    width: 100%; 
    height: 100%;
    object-fit: cover;
    display: block; 
    transition: transform 0.5s ease; 
}

.project-card:hover .project-image img { 
    transform: scale(1.1) rotate(2deg); 
}

.project-overlay {
    position: absolute; 
    inset: 0; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.85), rgba(139, 92, 246, 0.85));
    opacity: 0; 
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay { 
    opacity: 1; 
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white; 
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.project-link:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.15) rotate(10deg);
}

.project-info { 
    padding: 1.5rem; 
}

.project-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.project-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.2) rotate(-10deg);
    color: var(--secondary-color);
}

.project-info h3 { 
    margin: 0;
    font-size: 1.25rem;
    color: var(--text-color);
}

.project-info p {
    color: var(--text-light);
    margin: 0.5rem 0 1rem;
    line-height: 1.6;
}

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

.project-tags span { 
    background: var(--bg-secondary); 
    border: 1px solid var(--card-border); 
    padding: 0.4rem 0.75rem; 
    border-radius: 8px; 
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.project-tags span:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.project-tags span i {
    font-size: 1rem;
}

/* ==================== SECTION CENTRES D'INTÉRÊT ==================== */
.interests {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(168, 85, 247, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .interests {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: -1rem;
    margin-bottom: 3rem;
}

.interests-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.float-bubble {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    animation: floatBubble 15s infinite ease-in-out;
}

.float-bubble.bubble-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.float-bubble.bubble-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.float-bubble.bubble-3 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.8; }
}

.rotate-square {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(99, 102, 241, 0.2);
    animation: rotateSquare 20s infinite linear;
}

.rotate-square.sq-1 {
    top: 20%;
    right: 15%;
}

.rotate-square.sq-2 {
    bottom: 25%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hobby-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(99, 102, 241, 0.15);
    animation: pulse 3s infinite ease-in-out;
}

.hobby-icon.hicon-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.hobby-icon.hicon-2 {
    top: 50%;
    left: 8%;
    animation-delay: 1s;
}

.hobby-icon.hicon-3 {
    bottom: 20%;
    right: 12%;
    animation-delay: 2s;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.interest-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .interest-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(99, 102, 241, 0.2);
}

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

.interest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

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

.interest-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.interest-card:hover .interest-icon {
    transform: rotateY(360deg);
}

.interest-icon i {
    font-size: 2rem;
    color: white;
}

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

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

.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.interest-tags span {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .interest-tags span {
    background: rgba(99, 102, 241, 0.2);
}

.interest-tags span:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.interest-tags span i {
    font-size: 0.9rem;
}

/* Compétences complémentaires */
.soft-skills-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .soft-skills-section {
    background: rgba(30, 41, 59, 0.4);
    border-color: rgba(99, 102, 241, 0.2);
}

.soft-skills-section h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.soft-skills-section h3 i {
    color: var(--accent-color);
}

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

.soft-skill-item {
    text-align: center;
    transition: all 0.3s ease;
}

.soft-skill-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.soft-skill-item:hover i {
    transform: scale(1.2) rotateY(360deg);
    color: var(--accent-color);
}

.soft-skill-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.soft-skill-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive pour les centres d'intérêt */
@media (max-width: 768px) {
    .interests-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .soft-skills-section {
        padding: 2rem 1.5rem;
    }
    
    .soft-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* ==================== SECTION CONTACT (IMPORTANT) ==================== */
/* IMPORTANT : styles pour la section contact. Ne pas renommer les classes
   et IDs utilisés par le JavaScript (`contact-content`, `contact-form`, etc.).
*/
.contact {
    background: rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .contact {
    background: rgba(0, 0, 0, 0.06);
}

/* Décorations géométriques de fond */
.contact-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Étoiles scintillantes */
.sparkle-star {
    position: absolute;
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
}

.star-1 {
    top: 15%;
    left: 10%;
    color: var(--primary-color);
    animation-delay: 0s;
}

.star-2 {
    top: 25%;
    right: 15%;
    color: var(--secondary-color);
    animation-delay: 1s;
}

.star-3 {
    bottom: 30%;
    left: 20%;
    color: var(--accent-color);
    animation-delay: 2s;
}

.star-4 {
    bottom: 20%;
    right: 25%;
    color: var(--primary-color);
    animation-delay: 1.5s;
}

/* Vagues ondulantes */
.wave-line {
    position: absolute;
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.2;
    animation: waveMove 6s ease-in-out infinite;
}

.wave-1 {
    top: 40%;
    left: -50px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.wave-2 {
    top: 65%;
    right: -50px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation-delay: 3s;
}

/* Points connectés */
.dot-network {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: dotPulse 4s ease-in-out infinite;
}

.dot-1 {
    top: 20%;
    left: 15%;
    background: var(--primary-color);
}

.dot-2 {
    top: 35%;
    right: 20%;
    background: var(--secondary-color);
    animation-delay: 1s;
}

.dot-3 {
    bottom: 35%;
    left: 25%;
    background: var(--accent-color);
    animation-delay: 2s;
}

.dot-4 {
    bottom: 25%;
    right: 30%;
    background: var(--primary-color);
    animation-delay: 1.5s;
}

/* Icônes communication */
.comm-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.15;
    animation: iconFloat 4s ease-in-out infinite;
}

.cicon-1 {
    top: 10%;
    right: 10%;
    color: var(--primary-color);
}

.cicon-2 {
    top: 50%;
    left: 5%;
    color: var(--secondary-color);
    animation-delay: 1.3s;
}

.cicon-3 {
    bottom: 15%;
    right: 20%;
    color: var(--accent-color);
    animation-delay: 2.6s;
}

/* Animations décorations contact */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes waveMove {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(100px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(2);
        opacity: 0.8;
    }
}

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

.contact-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr; /* info plus petit | form plus grand */
    gap: 3rem;
    align-items: start;
    position: relative;
    margin: 0 auto;
    max-width: calc(100% - 80px);
    padding: 0 40px;
}
    z-index: 1;
}

.contact-info { 
    padding: 1.75rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(14, 165, 233, 0.08));
    backdrop-filter: blur(var(--blur-amount));
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}

.contact-main-icon {
    font-size: 2.25rem;
    color: var(--secondary-color);
    animation: pulse 2s ease-in-out infinite;
}

.contact-info h3 {
    margin: 0;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: var(--text-light);
    margin: 0.75rem 0 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.contact-details { 
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
    margin-bottom: 1.75rem;
}

.contact-item { 
    display: flex; 
    gap: 1rem; 
    align-items: center;
    padding: 0.875rem;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.contact-icon-wrapper {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-wrapper {
    background: white;
    color: var(--secondary-color);
    transform: rotate(10deg) scale(1.1);
}

.contact-item h4 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.875rem;
}

.contact-item:hover p,
.contact-item:hover h4 {
    color: white;
}

.contact-social {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(139, 92, 246, 0.3);
}

.contact-social h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 0.875rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--card-border);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--card-border);
}

.form-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.form-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

/* Champs de formulaire : labels flottants */
.form-group { 
    position: relative; 
    margin-bottom: 1.75rem;
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.form-group textarea + .form-icon {
    top: 1.25rem;
    transform: none;
}

.form-group:focus-within .form-icon {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
}

.form-group textarea:focus + .form-icon {
    transform: scale(1.2);
}

.form-group input, 
.form-group textarea { 
    width: 100%; 
    padding: 1rem 1rem 1rem 3rem; 
    border-radius: 12px; 
    border: 2px solid var(--card-border); 
    background: var(--bg-secondary); 
    color: var(--text-color); 
    outline: none; 
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group textarea { 
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus, 
.form-group textarea:focus { 
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    background: var(--card-bg);
}

.form-group label { 
    position: absolute; 
    left: 3rem; 
    top: 50%; 
    transform: translateY(-50%); 
    pointer-events: none; 
    color: var(--text-light); 
    font-size: 0.95rem; 
    transition: all 0.3s ease;
    padding: 0 6px;
    background: var(--bg-secondary);
    border-radius: 4px;
}

.form-group input.filled + label, 
.form-group textarea.filled + label, 
.form-group:focus-within label { 
    top: -10px; 
    left: 2.5rem;
    transform: none; 
    font-size: 0.8rem; 
    color: var(--primary-color);
    font-weight: var(--font-weight-medium);
}

.btn-submit {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-submit i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-submit:hover i {
    transform: translateX(5px);
}

@media (max-width: 968px) { 
    .contact-content { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    } 
    .contact-form { 
        order: 2; 
    } 
}

/* ==================== FOOTER ==================== */
/* Styles pour le pied de page (footer) */
.footer { 
    padding: 3rem 40px 1rem; 
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

[data-theme="dark"] .footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Décorations géométriques de fond - subtiles */
.footer-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.4;
}

/* Losanges - très subtils */
.diamond {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    opacity: 0.05;
    transform: rotate(45deg);
    animation: diamondRotate 15s ease-in-out infinite;
}

.diamond-1 {
    top: 20%;
    left: 15%;
}

.diamond-2 {
    bottom: 30%;
    right: 20%;
    animation-delay: 5s;
}

.diamond-3 {
    top: 60%;
    left: 50%;
    animation-delay: 10s;
}

/* Lignes ondulées - discrètes */
.wavy-line {
    position: absolute;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.08;
    animation: wavyFloat 12s ease-in-out infinite;
}

.wavy-1 {
    top: 40%;
    left: -50px;
}

.wavy-2 {
    bottom: 40%;
    right: -50px;
    animation-delay: 6s;
}

/* Particules - minimalistes */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.15;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 {
    top: 25%;
    left: 20%;
}

.particle-2 {
    top: 50%;
    left: 45%;
    animation-delay: 2s;
}

.particle-3 {
    top: 75%;
    right: 30%;
    animation-delay: 4s;
}

.particle-4,
.particle-5 {
    display: none;
}

/* Icônes code - très discrètes */
.code-symbol {
    position: absolute;
    font-size: 1.25rem;
    color: var(--primary-color);
    opacity: 0.04;
    animation: symbolPulse 6s ease-in-out infinite;
}

.symbol-1 {
    top: 15%;
    right: 25%;
}

.symbol-2 {
    bottom: 30%;
    left: 25%;
    animation-delay: 2s;
}

.symbol-3 {
    top: 55%;
    right: 10%;
    animation-delay: 4s;
}

/* Animations décorations footer - plus lentes */
@keyframes diamondRotate {
    0%, 100% {
        transform: rotate(45deg) scale(1);
    }
    50% {
        transform: rotate(135deg) scale(1.1);
    }
}

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

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-25px);
        opacity: 0.25;
    }
}

@keyframes symbolPulse {
    0%, 100% {
        opacity: 0.04;
    }
    50% {
        opacity: 0.08;
    }
}

.footer-content { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    max-width: calc(100% - 80px);
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}
    z-index: 1;
}

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

.footer-section h3 { 
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-weight-semibold);
}

[data-theme="light"] .footer-section h3 {
    color: var(--text-color);
}

.footer-section h3 i {
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-section p { 
    color: rgba(255, 255, 255, 0.75); 
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

[data-theme="light"] .footer-section p {
    color: var(--text-light);
}

.footer-section ul { 
    padding: 0; 
    margin: 0; 
    list-style: none; 
}

.footer-section ul li { 
    margin-bottom: 0.625rem;
}

.footer-section a { 
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

[data-theme="light"] .footer-section a {
    color: var(--text-light);
}

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

/* Footer About Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.footer-brand i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-brand h3 {
    margin: 0;
    font-size: 1.25rem;
}

.footer-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.4rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    border: 1px solid var(--card-border);
    font-size: 0.65rem;
    max-width: fit-content;
}

.footer-stats .stat-item i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.footer-stats .stat-item span {
    color: rgba(255, 255, 255, 0.75);
}

[data-theme="light"] .footer-stats .stat-item span {
    color: var(--text-light);
}

.footer-stats .stat-item strong {
    color: rgba(255, 255, 255, 0.95);
    margin-right: 0.25rem;
}

[data-theme="light"] .footer-stats .stat-item strong {
    color: var(--text-color);
}

/* Footer Links Section */
.footer-links ul li a i {
    font-size: 0.85rem;
    width: 16px;
}

/* Footer Contact Section */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.contact-list li:hover {
    border-color: var(--primary-color);
}

.contact-list li i {
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

.contact-list li a,
.contact-list li span {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .contact-list li a,
[data-theme="light"] .contact-list li span {
    color: var(--text-light);
}

/* Footer Social Section */
.footer-social-section p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-social-link:hover {
    border-color: var(--primary-color);
    background: var(--card-bg);
}

.footer-social-link i {
    font-size: 1.125rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.footer-social-link span {
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

[data-theme="light"] .footer-social-link span {
    color: var(--text-light);
}

.footer-social-link:hover span {
    color: rgba(255, 255, 255, 1);
}

[data-theme="light"] .footer-social-link:hover span {
    color: var(--text-color);
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 1.5rem 0;
}

[data-theme="light"] .footer-divider {
    background: var(--card-border);
}

/* Footer Bottom */
.footer-bottom { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom-left p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.875rem;
}

[data-theme="light"] .footer-bottom-left p {
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.825rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

[data-theme="light"] .footer-bottom-links a {
    color: var(--text-light);
}

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

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .footer-bottom-links span {
    color: var(--text-muted);
}

.footer-bottom-right p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.875rem;
}

[data-theme="light"] .footer-bottom-right p {
    color: var(--text-muted);
}

.footer-bottom-right i {
    color: #e74c3c;
    margin: 0 0.25rem;
}

.footer-bottom-right .fa-coffee {
    color: #8b4513;
}

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-stats {
        flex-wrap: wrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-left {
        align-items: center;
    }
}


/* ==================== BACK TO TOP ==================== */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    backdrop-filter: blur(var(--blur-amount));
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-color);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    :root {
        --section-padding: 4rem;
    }
    
    .hero-container,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .about-image,
    .about-text {
        margin: 0 auto;
        justify-self: center;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .about-image {
        height: auto;
        min-height: 400px;
    }
    
    .about-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .about-text-header {
        justify-content: center;
        text-align: center;
    }
    
    .about-intro,
    .about-mission {
        text-align: center;
    }
    
    .about-info {
        justify-content: center;
        width: 100%;
    }
    
    .info-item {
        justify-content: center;
        text-align: center;
    }
    
    .about-text .btn {
        margin: 0 auto;
        display: inline-flex;
    }
    
    .corner-decoration {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .floating-cards {
        width: auto;
        max-width: none;
        gap: 2rem;
        padding: 1.5rem 0;
    }
    
    .card-row {
        gap: 2rem;
    }
    
    .floating-card {
        width: 90px;
        height: 90px;
        font-size: 2.3rem;
    }
    
    .floating-card::before {
        width: 130px;
        height: 130px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-gallery {
        width: 500px;
        height: 550px;
    }
    
    .photo-card {
        width: 240px;
        height: 300px;
    }
    
    .about-image {
        max-width: 600px;
        height: 600px;
        margin: 0 auto;
    }
    
    .about-text {
        margin: 0 auto;
        max-width: 650px;
    }
    
    .photo-set-1 .photo-1 {
        left: -20px;
        top: 20%;
    }
    
    .photo-set-1 .photo-2 {
        margin-left: -120px;
        top: 10%;
    }
    
    .photo-set-1 .photo-3 {
        right: -20px;
        top: 40%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
        --container-padding: 1.25rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Theme toggle visible sur mobile */
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        z-index: 1001;
    }
    
    .theme-toggle {
        display: flex;
        position: relative;
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    }
    
    .theme-toggle:hover {
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    }
    
    .language-selector {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        transition: right var(--transition);
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.125rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-cards {
        width: auto;
        max-width: none;
        gap: 1.2rem;
        padding: 1rem 0;
    }
    
    .card-row {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .floating-card {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        border-radius: 18px;
    }
    
    .floating-card .card-label {
        font-size: 0.45rem;
        margin-top: 0.2rem;
    }
    
    .floating-card::before {
        width: 95px;
        height: 95px;
        filter: blur(40px);
    }
    
    /* Avatar de fond - réduit sur mobile */
    .hero-profile-wrapper {
        padding-top: 100px;
        margin-left: 0;
    }
    
    .hero-profile-wrapper::before {
        width: 346px;
        height: 346px;
        left: calc(50% - 90px);
    }
    
    .hero-profile-wrapper::after {
        width: 346px;
        height: 100px;
        left: calc(50% - 90px);
    }
    
    .floating-cards {
        margin-top: 0;
    }
    
    .hero-profile-image {
        margin-bottom: 0;
    }
    
    .photo-gallery {
        width: 380px;
        height: 480px;
    }
    
    .photo-card {
        width: 180px;
        height: 240px;
    }
    
    .photo-placeholder {
        font-size: 3rem;
    }
    
    .about-image {
        max-width: 450px;
        height: 520px;
        margin: 0 auto;
    }
    
    .about-text {
        margin: 0 auto;
        max-width: 550px;
    }
    
    .photo-set-1 .photo-1 {
        left: -10px;
        top: 25%;
    }
    
    .photo-set-1 .photo-2 {
        left: 50%;
        margin-left: -90px;
        top: 15%;
    }
    
    .photo-set-1 .photo-3 {
        right: -10px;
        top: 45%;
    }
    
    .photo-set-2 .photo-4,
    .photo-set-2 .photo-6 {
        top: 35%;
    }
    
    .photo-set-2 .photo-5 {
        margin-left: -90px;
        top: 15%;
    }
    
    .shape-bubble, .shape-square {
        transform: scale(0.8);
    }
    
    .about-image .image-placeholder {
        max-width: 250px;
    }
}
/* Service Level Badge */
.service-level {
    margin-top: 1.5rem;
    text-align: center;
}

.level-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.level-badge.advanced {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.level-badge.intermediate {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.level-badge.beginner {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.service-card:hover .level-badge {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Service Card Special - Solutions Personnalisées */
.service-card-special {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.service-card-special::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.service-card-special:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
}

.service-card-special .service-icon {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(236, 72, 153, 0.5);
    }
}

/* ========================================
   DAILY PRACTICE SECTION
   ======================================== */

.daily-practice {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a1f 100%);
    position: relative;
    overflow: hidden;
}

.daily-practice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.daily-practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

/* Practice Card */
.practice-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

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

/* Practice Icon */
.practice-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.practice-card:hover .practice-icon {
    transform: rotate(5deg) scale(1.1);
}

/* Practice Title */
.practice-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

/* Practice Description */
.practice-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Practice Tags */
.practice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.practice-tags span {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tag-beginner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2)) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.tag-intermediate {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2)) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.tag-continuous {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2)) !important;
    color: #c084fc !important;
    border: 1px solid rgba(139, 92, 246, 0.3);
    font-weight: 600;
}

/* Practice Stats */
.practice-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.5);
}

.stat-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

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

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .daily-practice {
        padding: 4rem 1rem;
    }

    .daily-practice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .practice-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tablet margins for daily practice */
@media (min-width: 769px) and (max-width: 1024px) {
    .daily-practice {
        padding: 5rem 1.5rem;
    }
}

/* Large screens - max content width */
@media (min-width: 1400px) {
    .daily-practice .container {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0 2rem;
    }
}
