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

:root {
    /* Light Theme */
    --bg-primary: #F5F5F7;
    --bg-secondary: #FFFFFF;
    --text-primary: #1D1D1F;
    --text-secondary: #6E6E73;
    --accent-gold: #C9A961;
    --accent-champagne: #D4B483;
    --accent-bronze: #8B7355;

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: rgba(0, 0, 0, 0.1);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #C9A961 0%, #D4B483 50%, #8B7355 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(139, 115, 85, 0.1) 100%);

    /* Shadows */
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2), 0 8px 32px rgba(0, 0, 0, 0.16);
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1D1D1F;
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1A6;
    --glass-bg: rgba(29, 29, 31, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    transition: background 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== CURSOR PERSONNALISÉ ===== */
.cursor,
.cursor-follower {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor {
    background: #fff;
    transition: transform 0.15s cubic-bezier(0.2, 0, 0, 1);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

body:hover .cursor {
    transform: translate(-50%, -50%) scale(1.2);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-small);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.menu-active {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.nav.scrolled.menu-active {
    padding: 20px 0;
}

.nav.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-medium);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-small);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    stroke-width: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
}

.theme-toggle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .sun-icon {
    opacity: 0.3;
}

[data-theme="light"] .moon-icon {
    opacity: 0.3;
}

/* Nav Right Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 9999;
}

.menu-line {
    width: 100%;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 100px 40px 40px;
    overflow-y: auto;
}

[data-theme="dark"] .mobile-menu {
    background: rgba(29, 29, 31, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mobile-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 32px;
    font-weight: 700;
    padding: 16px 0;
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -1px;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }

.mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-link:active::before {
    width: 80px;
}

.mobile-theme {
    width: 100%;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 18px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active .mobile-theme {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.mobile-theme span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
}

.desktop-theme {
    display: flex;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #C9A961 0%, #D4B483 100%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #D4B483 0%, #8B7355 100%);
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #8B7355 0%, #C9A961 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}

.hero-title {
    font-size: 96px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: lineReveal 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-title .line:nth-child(1) {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: lineReveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero-title .line:nth-child(2) {
    animation: lineReveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.hero-title .line:nth-child(3) {
    animation: lineReveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

@keyframes lineReveal {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

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

/* ===== BUTTONS ===== */
.btn {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.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 0.6s, height 0.6s;
}

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

.btn-primary {
    background: var(--gradient-gold);
    color: #fff;
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-small);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-gold);
}

.btn-small {
    padding: 12px 30px;
    font-size: 14px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: var(--gradient-gold);
    position: relative;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 20px var(--accent-gold);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

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

/* ===== SECTIONS ===== */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--accent-gold);
}

/* ===== GLASS CARDS ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--shadow-large);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.glass-card:hover::before {
    opacity: 0;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent;
    border-radius: 30px;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

/* ===== ABOUT SECTION ===== */
.about-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    width: 280px;
    height: 280px;
}

.image-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 0 0 15px var(--bg-secondary),
        0 0 0 16px rgba(201, 169, 97, 0.1),
        0 20px 60px rgba(201, 169, 97, 0.2),
        0 40px 80px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0.1;
    mix-blend-mode: overlay;
}

/* Anneaux orbitaux animés */
.about-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border: 2px solid var(--accent-champagne);
    border-radius: 50%;
    border-style: dashed;
    transform: translate(-50%, -50%) rotate(-30deg);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: orbit 20s linear infinite;
}

/* Animation déclenchée au scroll */
.about-image.active::before {
    opacity: 0.3;
    width: 110%;
    height: 110%;
    animation: orbit 15s linear infinite reverse;
}

.about-image.active::after {
    opacity: 0.2;
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Effet lumineux pulsant */
.image-placeholder.active {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow:
            0 0 0 15px var(--bg-secondary),
            0 0 0 16px rgba(201, 169, 97, 0.1),
            0 20px 60px rgba(201, 169, 97, 0.2),
            0 40px 80px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow:
            0 0 0 15px var(--bg-secondary),
            0 0 0 16px rgba(201, 169, 97, 0.3),
            0 20px 80px rgba(201, 169, 97, 0.4),
            0 40px 100px rgba(201, 169, 97, 0.2),
            0 0 60px rgba(201, 169, 97, 0.3);
    }
}

/* Points d'énergie qui gravitent */
.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-gold);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-image.active .orbit-dot {
    opacity: 1;
    animation: orbit-dot 8s linear infinite;
}

.orbit-dot:nth-child(2) {
    animation-delay: -2s;
    background: var(--accent-champagne);
    box-shadow: 0 0 20px var(--accent-champagne);
}

.orbit-dot:nth-child(3) {
    animation-delay: -4s;
    background: var(--accent-bronze);
    box-shadow: 0 0 20px var(--accent-bronze);
}

.orbit-dot:nth-child(4) {
    animation-delay: -6s;
    width: 6px;
    height: 6px;
}

@keyframes orbit-dot {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(0deg) translateX(140px) rotate(0deg);
    }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

/* Hover effect */
.image-placeholder:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow:
        0 0 0 15px var(--bg-secondary),
        0 0 0 16px rgba(201, 169, 97, 0.4),
        0 30px 90px rgba(201, 169, 97, 0.5),
        0 50px 120px rgba(201, 169, 97, 0.3);
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 17px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--gradient-subtle);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* ===== EXPERIENCE SECTION ===== */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.experience-card {
    position: relative;
}

.experience-header {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
}

.experience-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-small);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-gold);
    stroke-width: 2;
}

.experience-card:hover .experience-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-medium);
}

.experience-title-group h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.experience-company {
    font-size: 16px;
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experience-date {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--gradient-subtle);
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid var(--glass-border);
}

.experience-list {
    list-style: none;
    padding-left: 0;
}

.experience-list li {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.experience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gradient-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
}

.experience-list li:last-child {
    margin-bottom: 0;
}

/* ===== SKILLS SECTION - BENTO BOX ===== */
.skills-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 200px);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 0;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 10;
}

/* Layout Bento - Vrai Asymétrique */
.bento-ia-dev {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.bento-chart {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
}

.bento-dev {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
}

.bento-dev .bento-header {
    margin-bottom: 12px;
}

.bento-dev .bento-visual {
    margin-top: 0;
}

.bento-design {
    grid-column: 5 / 7;
    grid-row: 2 / 4;
}

.bento-automation {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.bento-tools {
    grid-column: 3 / 4;
    grid-row: 3 / 5;
}

.bento-performance {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
}

.bento-years {
    grid-column: 4 / 5;
    grid-row: 4 / 5;
}

.bento-skills {
    grid-column: 5 / 7;
    grid-row: 4 / 5;
}

/* Header */
.bento-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.bento-header svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-gold);
    stroke-width: 2;
    animation: iconPulse 3s ease-in-out infinite;
}

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

.bento-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Tags */
.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.skill-tag {
    padding: 8px 16px;
    background: var(--gradient-subtle);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.skill-tag:hover {
    background: var(--gradient-gold);
    color: #fff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-small);
}

/* Chart Designer/Coder */
.chart-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
}

.pie-chart {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 10px 30px rgba(201, 169, 97, 0.3));
}

.pie-segment {
    fill: none;
    stroke-width: 40;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-linecap: round;
}

.pie-segment.designer {
    stroke: url(#gradientDesigner);
    animation: drawDesigner 1.5s ease-out forwards;
}

.pie-segment.coder {
    stroke: url(#gradientCoder);
    animation: drawCoder 1.5s ease-out 0.2s forwards;
}

.pie-segment:hover {
    stroke-width: 45;
    filter: brightness(1.2);
}

@keyframes drawDesigner {
    from {
        stroke-dasharray: 0 502;
    }
    to {
        stroke-dasharray: 314 502;
    }
}

@keyframes drawCoder {
    from {
        stroke-dasharray: 0 502;
    }
    to {
        stroke-dasharray: 188 502;
    }
}

.chart-labels {
    display: flex;
    gap: 40px;
}

.chart-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.chart-label:hover {
    transform: scale(1.1);
}

.label-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

.label-dot.designer {
    background: linear-gradient(135deg, #C9A961 0%, #D4B483 100%);
}

.label-dot.coder {
    background: linear-gradient(135deg, #6B8DD6 0%, #8E44AD 100%);
}

[data-theme="dark"] .label-dot.designer {
    background: linear-gradient(135deg, #D4B483 0%, #C9A961 100%);
}

[data-theme="dark"] .label-dot.coder {
    background: linear-gradient(135deg, #8E44AD 0%, #6B8DD6 100%);
}

/* Bento Visual Elements */
.bento-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    min-height: 0;
    overflow: hidden;
}

/* IA Dev - Code Animation */
.ai-code-animation {
    width: 100%;
    height: 200px;
    position: relative;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, rgba(139, 115, 85, 0.05) 100%);
    border-radius: 16px;
    padding: 20px;
    overflow: hidden;
}

.code-line {
    height: 12px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-champagne) 100%);
    border-radius: 6px;
    margin-bottom: 16px;
    opacity: 0;
    animation: codeLine 3s ease-in-out infinite;
    position: relative;
}

.code-line:nth-child(1) {
    width: 70%;
    animation-delay: 0s;
}

.code-line:nth-child(2) {
    width: 85%;
    animation-delay: 0.5s;
}

.code-line.short {
    width: 50%;
    animation-delay: 1s;
}

@keyframes codeLine {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    20%, 80% {
        opacity: 0.7;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.ai-cursor {
    position: absolute;
    width: 2px;
    height: 12px;
    background: var(--accent-gold);
    left: 20px;
    top: 56px;
    animation: cursorBlink 1s step-end infinite, cursorMove 3s ease-in-out infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes cursorMove {
    0% { transform: translateY(0); }
    33% { transform: translateY(28px); }
    66% { transform: translateY(56px); }
    100% { transform: translateY(0); }
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    height: 100%;
    align-content: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    background: var(--gradient-subtle);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 70px;
    justify-content: center;
}

.tech-item:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15) 0%, rgba(139, 115, 85, 0.15) 100%);
}

.tech-item svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-gold);
    stroke-width: 2;
    flex-shrink: 0;
}

.tech-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.2;
}

/* Design Mockup */
.design-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.mockup-frame {
    width: 100%;
    max-width: 280px;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-large);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-design:hover .mockup-frame {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.mockup-header {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) {
    background: #FF5F57;
}

.mockup-dot:nth-child(2) {
    background: #FEBC2E;
}

.mockup-dot:nth-child(3) {
    background: #28C840;
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-block {
    height: 40px;
    background: var(--gradient-subtle);
    border-radius: 8px;
}

.mockup-block:first-child {
    height: 60px;
    background: var(--gradient-gold);
    opacity: 0.3;
}

.mockup-block:nth-child(2) {
    width: 80%;
}

.mockup-block:last-child {
    width: 60%;
    height: 30px;
}

/* Automation Workflow */
.automation-visual {
    width: 100%;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px 0;
}

.workflow-node {
    width: 80px;
    height: 80px;
    background: var(--gradient-subtle);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-node svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent-gold);
    stroke-width: 2;
}

.workflow-node:hover {
    transform: scale(1.15);
    background: var(--gradient-gold);
    box-shadow: var(--shadow-medium);
}

.workflow-node:hover svg {
    stroke: #fff;
}

.workflow-line {
    position: absolute;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
    z-index: 1;
    opacity: 0.4;
}

.workflow-line:nth-child(2) {
    width: 120px;
    left: 22%;
    top: 50%;
    transform: translateY(-50%);
    animation: flowLine 2s ease-in-out infinite;
}

.workflow-line:nth-child(4) {
    width: 120px;
    right: 22%;
    top: 50%;
    transform: translateY(-50%);
    animation: flowLine 2s ease-in-out 1s infinite;
}

@keyframes flowLine {
    0% {
        opacity: 0.2;
        transform: translateY(-50%) scaleX(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-50%) scaleX(1);
    }
    100% {
        opacity: 0.2;
        transform: translateY(-50%) scaleX(0.8);
    }
}

/* Tools Stack */
.tools-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: -20px;
    height: 100%;
    position: relative;
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-subtle);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tool-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--accent-gold);
    stroke-width: 2;
}

.tool-icon:nth-child(1) {
    transform: translateY(20px);
    z-index: 3;
}

.tool-icon:nth-child(2) {
    transform: translateY(0);
    z-index: 2;
}

.tool-icon:nth-child(3) {
    transform: translateY(-20px);
    z-index: 1;
}

.bento-tools:hover .tool-icon:nth-child(1) {
    transform: translateY(30px) scale(1.1);
}

.bento-tools:hover .tool-icon:nth-child(2) {
    transform: translateY(0) scale(1.15);
}

.bento-tools:hover .tool-icon:nth-child(3) {
    transform: translateY(-30px) scale(1.1);
}

/* Performance Metric */
.perf-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
}

.metric-value {
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-bar {
    width: 100%;
    height: 12px;
    background: var(--gradient-subtle);
    border-radius: 6px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 6px;
    width: 100%;
    animation: metricFill 2s ease-out forwards;
}

@keyframes metricFill {
    0% {
        width: 0;
    }
    70% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

/* Years Experience */
.years-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 8px;
}

.years-number {
    font-size: 72px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.years-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    overflow: visible;
}

.projects .container {
    max-width: 1200px;
    padding: 0 40px;
    margin: 0 auto;
}

.projects .section-header {
    padding: 0;
    margin-bottom: 60px;
}

.projects-carousel-container {
    position: relative;
    width: 100vw;
    margin-left: calc((100vw - 100%) / -2);
    padding-left: max(40px, calc((100vw - 1115px) / 2));
    padding-right: 0;
}

.projects-carousel {
    width: 100%;
    overflow: visible;
    position: relative;
}

.projects-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 0 80px 0;
}

.project-card {
    min-width: 380px;
    max-width: 380px;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.05);
}

/* Navigation Controls Container */
.projects-carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 0;
}

/* Navigation Buttons */
.carousel-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-bronze);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
}

.carousel-nav:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
}

.carousel-nav:hover i {
    color: #fff;
}

.carousel-nav i {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    transition: color 0.3s ease;
}

.carousel-nav:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Carousel Dots */
.projects-carousel-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.carousel-dot:hover {
    background: var(--accent-champagne);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--accent-gold);
    width: 40px;
    border-radius: 6px;
    border-color: var(--accent-gold);
}

/* Navigation arrows container */
.carousel-nav-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 1;
}

.project-card:hover::after {
    opacity: 0.1;
}

.project-image {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.95), rgba(139, 115, 85, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

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

.project-info {
    padding: 40px;
}

.project-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.project-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 20px;
    background: var(--gradient-subtle);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag:hover {
    background: var(--gradient-gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-card {
    padding: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

.btn-submit {
    position: relative;
    margin-top: 20px;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-submit:hover .btn-glow {
    opacity: 0.7;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: 50%;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-gold);
    stroke-width: 2;
}

.info-text h4 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    color: var(--accent-gold);
}

.social-link:hover::after {
    width: 100%;
}

/* ===== ANIMATIONS DE SCROLL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MODAL PROJET ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9) translateY(50px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: auto;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.modal-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    stroke-width: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover {
    background: var(--gradient-gold);
    transform: rotate(90deg);
}

.modal-close:hover svg {
    stroke: #fff;
}

.modal-content {
    padding: 50px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Personnaliser la scrollbar pour la modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    margin: 30px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

.modal-header {
    margin-bottom: 30px;
}

.modal-title {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-carousel {
    position: relative;
    margin-bottom: 30px;
}

.carousel-images {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.carousel-btn svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-primary);
    stroke-width: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn:hover {
    background: var(--gradient-gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:hover svg {
    stroke: #fff;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.active {
    background: var(--gradient-gold);
    width: 40px;
    border-radius: 6px;
}

.modal-description {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
}

.modal-description h3 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-description ul {
    list-style: none;
    padding-left: 0;
}

.modal-description li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
}

.modal-description li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gradient-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-gold);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 72px;
    }

    .section-title {
        font-size: 48px;
    }

    .about-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-placeholder {
        margin: 0 auto;
    }

    .experience-header {
        grid-template-columns: 60px 1fr;
        gap: 15px;
    }

    .experience-date {
        grid-column: 2;
        justify-self: start;
        margin-top: 5px;
    }

    .skills-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 16px;
    }

    .bento-ia-dev,
    .bento-chart,
    .bento-dev,
    .bento-design,
    .bento-automation,
    .bento-tools,
    .bento-performance,
    .bento-years,
    .bento-skills {
        grid-column: span 2 !important;
        grid-row: auto !important;
        min-height: 200px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .desktop-theme {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-title {
        font-size: 36px;
    }

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

    .skills-bento {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bento-ia-dev,
    .bento-chart,
    .bento-dev,
    .bento-design,
    .bento-automation,
    .bento-tools,
    .bento-performance,
    .bento-years,
    .bento-skills {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }

    .projects .container {
        padding: 0 20px;
    }

    .projects .section-header {
        padding: 0;
    }

    .projects-carousel-container {
        width: 100vw;
        margin-left: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .projects-carousel-track {
        gap: 16px;
        padding: 20px 0 60px 0;
    }

    .project-card {
        min-width: calc(100vw - 80px);
        max-width: calc(100vw - 80px);
    }

    .project-image {
        height: 240px;
    }

    .project-info {
        padding: 24px;
    }

    .project-info h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .project-info p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .projects-carousel-controls {
        padding: 0 20px;
        margin-top: 20px;
    }

    .carousel-nav {
        width: 44px;
        height: 44px;
    }

    .carousel-nav i {
        width: 20px;
        height: 20px;
    }

    .carousel-nav-group {
        gap: 12px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    .carousel-dot.active {
        width: 32px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-champagne);
}