/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    /* Couleurs principales */
    --color-primary: #7b2cff;
    --color-primary-light: #3f8cff;
    --color-accent: #05c8ff;
    --color-bg: #f5f5f5;
    --color-bg-section: #f9fafb;
    --color-bg-alt: #ffffff;
    --color-text: #111827;
    --color-text-muted: #4b5563;
    --color-text-light: #6b7280;
    
    /* Couleurs sombres */
    --color-dark: #050816;
    --color-dark-menu: #0b1120;
    --color-dark-footer: #020617;
    --color-text-dark: #e5e7eb;
    --color-text-dark-muted: #9ca3af;
    
    /* Bordures */
    --color-border: #d1d5db;
    --color-border-light: rgba(148, 163, 184, 0.4);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-accent), var(--color-primary-light));
    --gradient-button: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-accent));
    --gradient-border: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-accent));
    
    /* Typographie */
    --font-display: "Bebas Neue", system-ui, sans-serif;
    --font-body: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    /* Espacements */
    --spacing-xs: 6px;
    --spacing-sm: 14px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;
    --spacing-xxl: 100px;
    
    /* Largeurs */
    --container-max: 1100px;
    --container-padding: 10vw;
    --container-padding-mobile: 7vw;
    
    /* Ombres */
    --shadow-sm: 0 14px 35px rgba(15, 23, 42, 0.45);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 22px 55px rgba(59, 130, 246, 0.4);
    --shadow-xl: 0 24px 50px rgba(59, 130, 246, 0.4);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.35s ease;
}

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Masquer toutes les scrollbars */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

*::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* ============================================
   HERO
   ============================================ */
.hero {
    height: 55vh;
    position: relative;
    padding: var(--spacing-xl) var(--container-padding);
    background: var(--gradient-primary);
    background-size: 300% 300%;
    animation: gradientShift 4s ease-in-out infinite;
}

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

/* NAVBAR DANS HERO */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 180px;
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding: 8px 20px;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: 0.25em;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo:hover {
    transform: scale(1.1) translateX(4px);
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(123, 44, 255, 0.4));
    text-shadow: 0 0 20px rgba(123, 44, 255, 0.3);
}

.menu-icon {
    font-size: clamp(20px, 2vw, 24px);
    cursor: pointer;
    color: #ffffff;
    background: none;
    border: none;
    padding: 4px;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    outline: none;
    box-shadow: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    vertical-align: middle;
}

.menu-icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.menu-icon:focus {
    outline: none;
    box-shadow: none;
}

/* CONTENU HERO EN BAS GAUCHE */
.hero-content {
    position: absolute;
    left: var(--container-padding);
    bottom: var(--spacing-xl);
    max-width: 640px;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(36px, 8vw, 64px);
    line-height: 1.02;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    /* curseur pour effet d'écriture */
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    white-space: normal;
    overflow: hidden;
    padding-right: 6px;
    animation: caretBlink 0.9s steps(1) infinite;
    margin: 0;
}

@keyframes caretBlink {
    0%, 60% { border-right-color: rgba(255, 255, 255, 0.8); }
    61%, 100% { border-right-color: transparent; }
}

/* quand le texte est entièrement tapé -> on enlève le curseur */
.hero-tagline.typing-done {
    border-right-color: transparent;
    animation: none;
}

.hero-sub {
    margin-top: 20px;
    font-size: clamp(16px, 2vw, 18px);
    max-width: 420px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-sub:hover {
    transform: translateX(4px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: 26px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: var(--spacing-sm) 32px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(13px, 1.5vw, 15px);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    background: var(--gradient-button);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), 
                box-shadow var(--transition-fast), 
                scale var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.hero-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.6);
}

.hero-btn:active {
    transform: translateY(0) scale(0.98);
}

.hero-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.hero-btn.ghost {
    background: transparent;
    border: 1px solid rgba(209, 213, 219, 0.7);
    box-shadow: none;
    color: var(--color-text-dark);
}

.hero-btn.ghost:hover {
    background: rgba(15, 23, 42, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
}

.hero-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   FLÈCHE ANIMÉE DE CONVERSION
   ============================================ */
.hero-arrow {
    position: absolute;
    left: 55%;
    bottom: 10%;
    width: 40%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    z-index: 5;
    pointer-events: none;
}

.arrow-svg {
    width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Initialisation : la ligne est invisible (stroke-dasharray) */
#arrow-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: opacity 0.3s ease;
}

/* La pointe utilise juste l'opacity */
#arrow-head {
    opacity: 0;
    visibility: visible;
    transition: opacity 0.6s ease;
}

/* Animation de dessin terminée */
.hero-arrow.animated #arrow-line {
    stroke-dashoffset: 0;
}

.hero-arrow.animated #arrow-head {
    opacity: 1;
}


/* Responsive : masquer la flèche sur petits écrans */
@media (max-width: 900px) {
    .hero-arrow {
        display: none;
    }
}

/* ============================================
   MARQUEES
   ============================================ */
.marquee {
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
    color: var(--color-text-dark);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

/* Fade in pour le texte du premier marquee */
/* Délai de base : attendre la fin de l'animation typewriter du hero (~1.6s pour 45 caractères à 35ms/caractère) */
#firstMarquee .marquee-track span {
    opacity: 0;
    animation: marqueeTextFadeIn 1.5s ease-out forwards;
}

#firstMarquee .marquee-track span:nth-child(1) {
    animation-delay: 1.7s; /* 1.6s (typewriter) + 0.1s */
}

#firstMarquee .marquee-track span:nth-child(2) {
    animation-delay: 1.8s; /* 1.6s (typewriter) + 0.2s */
}

#firstMarquee .marquee-track span:nth-child(3) {
    animation-delay: 1.9s; /* 1.6s (typewriter) + 0.3s */
}

#firstMarquee .marquee-track span:nth-child(4) {
    animation-delay: 2.0s; /* 1.6s (typewriter) + 0.4s */
}

#firstMarquee .marquee-track span:nth-child(5) {
    animation-delay: 2.1s; /* 1.6s (typewriter) + 0.5s */
}

/* Pour les spans répétés, utiliser le même délai que les 5 premiers */
#firstMarquee .marquee-track span:nth-child(n+6) {
    animation-delay: 1.7s; /* 1.6s (typewriter) + 0.1s */
}

@keyframes marqueeTextFadeIn {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.marquee--reverse {
    margin-top: calc(var(--spacing-md) * -1);
}

.marquee-track {
    display: inline-flex;
    gap: var(--spacing-lg);
    padding-left: var(--container-padding);
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    will-change: transform;
}

.marquee span {
    font-family: var(--font-display);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: clamp(14px, 1.8vw, 16px);
}

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

/* Marquee inverse (entre projets et contact) */
.marquee--reverse .marquee-track {
    animation: marqueeScrollReverse 30s linear infinite;
}

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

/* ============================================
   SECTIONS GÉNÉRALES
   ============================================ */
.section {
    padding: var(--spacing-xxl) var(--container-padding);
    background: var(--color-bg-section);
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--color-text);
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.section-title:hover {
    transform: translateX(8px) scale(1.02);
    text-shadow: 0 0 20px rgba(123, 44, 255, 0.4),
                 0 0 40px rgba(59, 130, 246, 0.3);
    color: var(--color-primary);
}

/* Effet de soulignement animé sur les titres */
.section-title::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-button);
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.section-title:hover::after {
    width: 100%;
}

.section-subtitle {
    font-size: clamp(15px, 2vw, 17px);
    max-width: 560px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   ANIMATIONS TEXTUELLES
   ============================================ */


/* Animation sur le logo du footer */
.footer-logo {
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.footer-logo:hover {
    transform: scale(1.1) translateX(4px);
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(123, 44, 255, 0.5);
    filter: drop-shadow(0 0 10px rgba(123, 44, 255, 0.3));
}

/* Mots-clés avec effet highlight (gradient animé) */
.text-highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, 
        var(--color-text) 0%,
        var(--color-primary) 50%,
        var(--color-text) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.text-highlight:hover {
    background-position: 100% 0;
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(123, 44, 255, 0.3));
}

/* Effet glow sur les mots-clés */
.text-glow {
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

.text-glow:hover {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(5, 200, 255, 0.6),
                 0 0 20px rgba(5, 200, 255, 0.4),
                 0 0 30px rgba(5, 200, 255, 0.2);
    transform: scale(1.08);
}

/* Animation sur les liens du footer */
.footer-right a {
    position: relative;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-right a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-button);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
}

.footer-right a:hover {
    transform: translateY(-3px) scale(1.05);
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(5, 200, 255, 0.4);
}

.footer-right a:hover::before {
    width: 100%;
}



/* Animation sur les marquees au hover */
.marquee {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.marquee:hover {
    transform: scale(1.015);
}

.marquee span {
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.marquee:hover span {
    color: var(--color-accent);
    text-shadow: 0 0 15px rgba(5, 200, 255, 0.5);
    transform: scale(1.025);
}

/* Animation sur le hero-tagline (après le typewriter) */
.hero-tagline.typing-done {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-tagline.typing-done:hover {
    transform: scale(1.02) translateX(4px);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
                 0 0 60px rgba(123, 44, 255, 0.3);
    filter: drop-shadow(0 0 10px rgba(123, 44, 255, 0.4));
}


/* Animation de vague sur certains textes (optionnel) */
@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.text-wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

.text-wave:nth-child(1) { animation-delay: 0s; }
.text-wave:nth-child(2) { animation-delay: 0.1s; }
.text-wave:nth-child(3) { animation-delay: 0.2s; }
.text-wave:nth-child(4) { animation-delay: 0.3s; }

/* Animation de pulse sur les mots importants */
@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(123, 44, 255, 0.4),
                     0 0 20px rgba(123, 44, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(123, 44, 255, 0.6),
                     0 0 40px rgba(123, 44, 255, 0.4),
                     0 0 60px rgba(123, 44, 255, 0.2);
    }
}

.text-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Animation de gradient qui bouge */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-gradient-animated {
    background: var(--gradient-button);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}


/* Animation sur les labels du formulaire */
.field label {
    transition: all 0.3s ease;
}

.field:focus-within label {
    color: var(--color-primary);
    transform: translateX(4px);
    font-weight: 700;
}

/* Animation sur les éléments du menu latéral */
.carousel-item:hover .menu-item-text {
    text-shadow: 0 0 25px rgba(123, 44, 255, 0.6),
                 0 0 50px rgba(123, 44, 255, 0.4);
    transform: translateX(8px) scale(1.02);
}

.carousel-item.active .menu-item-text {
    text-shadow: 0 0 20px rgba(123, 44, 255, 0.5);
}


/* Animation sur les titres des cartes projets */
.project-footer {
    position: relative;
    transition: all 0.3s ease;
}

.project-card:hover .project-footer {
    color: var(--color-primary);
    transform: translateY(-2px);
    font-weight: 700;
    letter-spacing: 0.05em;
}


/* ============================================
   SECTION PROJETS
   ============================================ */
.projects-section {
    min-height: 100vh;
    padding-top: var(--spacing-xl);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    background: var(--color-bg-section);
    position: relative;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
}

.projects-section .section-inner {
    margin-bottom: var(--spacing-lg);
}

.projects-scroller {
    flex: 1;
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-md);
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.projects-scroller::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.projects-track {
    display: inline-flex;
    gap: var(--spacing-lg);
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    will-change: transform;
}

/* CARTES PROJET */
.project-card {
    width: 320px;
    min-width: 320px;
    height: 460px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 5px;
    text-decoration: none;
    color: inherit;

    border: 4px solid transparent;
    background-image:
        linear-gradient(var(--color-bg-alt), var(--color-bg-alt)),
        var(--gradient-border);
    background-origin: border-box;
    background-clip: padding-box, border-box;

    box-shadow: var(--shadow-lg);
    transform-origin: center bottom;
    transition: transform var(--transition-base), 
                box-shadow var(--transition-base);
}

.project-card:nth-child(8n + 1) { transform: rotate(-10deg); }
.project-card:nth-child(8n + 2) { transform: rotate(-4deg); }
.project-card:nth-child(8n + 3) { transform: rotate(3deg); }
.project-card:nth-child(8n + 4) { transform: rotate(8deg); }
.project-card:nth-child(8n + 5) { transform: rotate(-6deg); }
.project-card:nth-child(8n + 6) { transform: rotate(5deg); }
.project-card:nth-child(8n + 7) { transform: rotate(-3deg); }
.project-card:nth-child(8n + 8) { transform: rotate(4deg); }

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 65px rgba(59, 130, 246, 0.5);
}

.project-card:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

.project-body {
    flex: 1;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb, var(--color-bg-alt));
}

.project-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

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

.project-footer {
    padding: var(--spacing-sm);
    font-size: clamp(14px, 1.8vw, 15px);
    font-weight: 600;
    text-align: center;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.contact-form .field:nth-child(3) {
    grid-column: 1 / -1;
}

.field {
    position: relative;
}

.field label {
    display: block;
    font-size: clamp(12px, 1.5vw, 13px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.field input,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    font: inherit;
    resize: vertical;
    min-height: 44px;
    transition: border-color var(--transition-fast), 
                box-shadow var(--transition-fast);
    background: var(--color-bg-alt);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(123, 44, 255, 0.1);
}

.field input.error,
.field textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    color: #ef4444;
    font-weight: 500;
}

.field-error[style*="block"] {
    display: block;
}

.form-message {
    grid-column: 1 / -1;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    display: none;
}

.form-message--success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message--error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ============================================
   NOTRE APPROCHE - FRISE CHRONOLOGIQUE
   ============================================ */
#approach {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

/* Éléments décoratifs subtils pour la section approche */
#approach::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(123, 44, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(59, 130, 246, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 50%, rgba(123, 44, 255, 0.03) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

#approach::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 44, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: approachGlow 8s ease-in-out infinite;
}

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

/* S'assurer que le contenu reste au-dessus des décorations */
#approach .section-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

#approach .section-title {
    margin-left: auto;
    margin-right: auto;
}

/* Lignes décoratives subtiles */
#approach .section-inner::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(123, 44, 255, 0.1) 20%,
        rgba(123, 44, 255, 0.15) 50%,
        rgba(123, 44, 255, 0.1) 80%,
        transparent 100%);
    z-index: 0;
    pointer-events: none;
    transform: translateY(-50%);
}

/* Formes géométriques subtiles */
#approach .approach-timeline::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(123, 44, 255, 0.08);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    transform: rotate(45deg);
}

#approach .approach-timeline::after {
    content: "";
    position: absolute;
    bottom: -150px;
    right: 15%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    border-radius: 20%;
    z-index: 0;
    pointer-events: none;
    transform: rotate(-30deg);
}

.approach-timeline {
    position: relative;
    max-width: 1200px;
    margin: var(--spacing-xxl) auto 0;
    padding: 0 var(--container-padding);
    z-index: 1;
}

.timeline-line {
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, 
        rgba(123, 44, 255, 1) 0%, 
        rgba(59, 130, 246, 1) 50%, 
        rgba(6, 182, 212, 1) 100%);
    transform-origin: top;
    z-index: 2;
    box-shadow: 
        0 0 20px rgba(123, 44, 255, 0.8),
        0 0 40px rgba(123, 44, 255, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    filter: blur(0.5px);
}

.approach-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xxl);
    z-index: 3;
}

.approach-step {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    padding: var(--spacing-xl);
    border-radius: 20px;
    background: transparent;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    opacity: 0.3;
    transform: translateX(-20px) scale(0.98);
    cursor: pointer;
}

.approach-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: var(--color-bg-alt);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.approach-step.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.approach-step.active::before {
    opacity: 0.3;
}

.approach-step:hover {
    transform: translateX(8px) scale(1.01);
}

.approach-step.active:hover::before {
    opacity: 0.5;
    background: linear-gradient(135deg, 
        rgba(123, 44, 255, 0.08) 0%, 
        rgba(59, 130, 246, 0.08) 100%);
    box-shadow: 
        0 8px 32px rgba(123, 44, 255, 0.15),
        inset 0 0 40px rgba(123, 44, 255, 0.05);
}

/* Bullet points supprimés */
.timeline-dot {
    display: none;
}

.approach-step-number {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 56px);
    font-weight: 700;
    color: var(--color-primary);
    min-width: 70px;
    text-align: center;
    line-height: 1;
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-step.active .approach-step-number {
    opacity: 1;
    color: var(--color-primary);
}

.approach-step:hover .approach-step-number {
    opacity: 1;
    color: var(--color-accent);
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(123, 44, 255, 0.5);
}

.approach-step-content {
    flex: 1;
    opacity: 0.7;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-step.active .approach-step-content {
    opacity: 1;
}

.approach-step:hover .approach-step-content {
    opacity: 1;
}

.approach-step-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-step.active .approach-step-title {
    color: var(--color-primary);
}

.approach-step:hover .approach-step-title {
    color: var(--color-accent);
    transform: translateX(4px);
    text-shadow: 0 0 15px rgba(123, 44, 255, 0.4);
}

.approach-step-text {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.8;
    color: var(--color-text-muted);
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-step.active .approach-step-text {
    color: var(--color-text);
}

.approach-step:hover .approach-step-text {
    color: var(--color-text);
}

/* Styles responsive pour notre approche */
@media (max-width: 900px) {
    .approach-timeline {
        padding: 0 var(--container-padding-mobile);
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-dot {
        left: -50px;
        width: 16px;
        height: 16px;
    }

    .approach-step {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
        transform: translateX(-20px);
    }

    .approach-step-number {
        min-width: auto;
        text-align: left;
    }
}

/* ============================================
   EXPERTISES
   ============================================ */
#expertises {
    min-height: 60vh;
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

#expertises .section-inner {
    position: relative;
    margin-bottom: var(--spacing-xl);
    z-index: 10;
    pointer-events: none;
    text-align: center;
}

#expertises .section-title {
    pointer-events: auto;
    margin-left: auto;
    margin-right: auto;
}

/* Centrer le titre de la section Contact */
#contact .section-inner {
    text-align: center;
}

#contact .section-title {
    margin-left: auto;
    margin-right: auto;
}

.expertises-carousels {
    width: 100vw;
    height: 50vh;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    overflow: hidden;
}

.expertises-carousel {
    width: 100%;
    height: 50%;
    overflow: hidden;
    position: relative;
}

.expertises-carousel--reverse {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.expertises-track {
    display: flex;
    flex-direction: row;
    will-change: transform;
    width: fit-content;
}

.expertise-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    border: none;
    border-right: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    position: relative;
    margin-right: 0;
    background-size: cover;
    background-position: center;
}

.expertise-card:last-child {
    border-right: none;
}

/* Formes géométriques décoratives en arrière-plan (cercles) */
.expertise-card {
    position: relative;
}

.expertise-card::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 44, 255, 0.08) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.5;
}

.expertise-card:nth-child(even)::before {
    left: -300px;
    right: auto;
    background: radial-gradient(circle, rgba(5, 200, 255, 0.08) 0%, transparent 70%);
}

.expertise-card:hover::before {
    transform: scale(1.3);
    opacity: 0.8;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient de fond unique pour chaque carte avec motifs */
/* Gradients pour chaque type de carte - uniquement au hover */
.expertise-card:nth-child(4n+1):hover {
    background: 
        radial-gradient(circle at 20% 50%, rgba(123, 44, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(5, 200, 255, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(123, 44, 255, 0.05) 0%,
            rgba(63, 140, 255, 0.08) 50%,
            rgba(5, 200, 255, 0.05) 100%),
        rgba(123, 44, 255, 0.06);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

.expertise-card:nth-child(4n+2):hover {
    background: 
        radial-gradient(circle at 80% 30%, rgba(5, 200, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(123, 44, 255, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(5, 200, 255, 0.05) 0%,
            rgba(123, 44, 255, 0.08) 50%,
            rgba(63, 140, 255, 0.05) 100%),
        rgba(123, 44, 255, 0.06);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

.expertise-card:nth-child(4n+3):hover {
    background: 
        radial-gradient(circle at 50% 20%, rgba(63, 140, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(5, 200, 255, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(63, 140, 255, 0.05) 0%,
            rgba(5, 200, 255, 0.08) 50%,
            rgba(123, 44, 255, 0.05) 100%),
        rgba(123, 44, 255, 0.06);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

.expertise-card:nth-child(4n+4):hover {
    background: 
        radial-gradient(circle at 30% 60%, rgba(123, 44, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 40%, rgba(63, 140, 255, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(123, 44, 255, 0.08) 0%,
            rgba(5, 200, 255, 0.05) 50%,
            rgba(63, 140, 255, 0.08) 100%),
        rgba(123, 44, 255, 0.06);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

/* Effet shimmer (brillance animée) */
.expertise-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.expertise-card:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(100%, 100%);
}

/* Overlay de gradient animé (utilise un élément supplémentaire via le conteneur) */
.expertise-card-content {
    position: relative;
    z-index: 3;
}

.expertise-card-content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
    background-size: 300% 300%;
    animation: gradientShift 4s ease-in-out infinite;
}

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

.expertise-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.expertise-card:hover {
    border-right-color: rgba(123, 44, 255, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(123, 44, 255, 0.2),
        inset 0 0 60px rgba(123, 44, 255, 0.05);
}

.expertise-card:hover .expertise-card-content {
    border-radius: 12px;
}

.expertise-card:hover .expertise-card-content::before {
    opacity: 0.12;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contenu de la carte */
.expertise-card > * {
    position: relative;
    z-index: 1;
}


.expertise-title {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.5vw, 22px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.expertise-card:hover .expertise-title {
    color: var(--color-primary);
    transform: translateX(4px);
    text-shadow: 0 0 15px rgba(123, 44, 255, 0.4);
}

.expertise-description {
    font-size: clamp(13px, 1.8vw, 14px);
    line-height: 1.6;
    color: var(--color-text-muted);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: relative;
    font-weight: 400;
}

.expertise-card:hover .expertise-description {
    color: var(--color-text);
    transform: translateX(2px);
}

/* Éléments décoratifs supplémentaires */
.expertise-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0;
}


/* Styles responsive pour les expertises */
@media (max-width: 900px) {
    #expertises {
        min-height: 50vh;
        padding: var(--spacing-xl) 0;
    }

    .expertises-carousels {
        height: 40vh;
    }

    .expertises-carousel {
        height: 50%;
    }

    .expertise-card {
        flex: 0 0 240px;
        width: 240px;
        min-width: 240px;
        max-width: 240px;
        height: 180px;
        min-height: 180px;
        max-height: 180px;
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .expertise-title {
        font-size: clamp(16px, 2.2vw, 20px);
        margin-bottom: var(--spacing-xs);
    }

    .expertise-description {
        font-size: clamp(12px, 1.6vw, 14px);
        line-height: 1.5;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(7, 2, 22, 0.98) 0%, 
        rgba(11, 17, 32, 0.98) 25%,
        rgba(7, 2, 22, 0.98) 50%,
        rgba(11, 17, 32, 0.98) 75%,
        rgba(7, 2, 22, 0.98) 100%);
    background-size: 300% 300%;
    animation: gradientShift 4s ease-in-out infinite;
    color: var(--color-text-dark);
    padding: var(--spacing-xxl) var(--container-padding) var(--spacing-lg);
    margin-top: var(--spacing-lg);
    overflow: hidden;
    border-top: 1px solid rgba(123, 44, 255, 0.1);
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(123, 44, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-col--brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 36px);
    letter-spacing: 0.25em;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(123, 44, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    display: inline-block;
}

.footer-logo:hover {
    transform: scale(1.05) translateX(4px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(123, 44, 255, 1) 50%,
        rgba(59, 130, 246, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(123, 44, 255, 0.4));
}

.footer-tagline {
    font-size: clamp(14px, 1.8vw, 16px);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-tagline:hover {
    transform: translateX(4px);
    color: rgba(255, 255, 255, 0.95);
}

.footer-tagline:hover .text-glow {
    text-shadow: 0 0 12px rgba(123, 44, 255, 0.6),
                 0 0 24px rgba(123, 44, 255, 0.4);
    color: rgba(123, 44, 255, 1);
}

.footer-description {
    font-size: clamp(12px, 1.6vw, 14px);
    color: var(--color-text-dark-muted);
    line-height: 1.7;
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-description:hover {
    opacity: 1;
    color: var(--color-text-dark);
    transform: translateX(2px);
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 16px);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--spacing-xs);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.footer-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(123, 44, 255, 0.8) 0%, 
        transparent 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-col-title:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateX(4px);
    text-shadow: 0 0 8px rgba(123, 44, 255, 0.3);
}

.footer-col-title:hover::after {
    width: 100%;
    background: linear-gradient(90deg, 
        rgba(123, 44, 255, 0.9) 0%, 
        rgba(59, 130, 246, 0.6) 50%,
        transparent 100%);
    box-shadow: 0 0 8px rgba(123, 44, 255, 0.4);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link {
    font-size: clamp(13px, 1.8vw, 14px);
    color: var(--color-text-dark-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: var(--spacing-xs);
    opacity: 0.85;
}

.footer-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--gradient-button);
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.footer-link:hover {
    color: var(--color-text-dark);
    opacity: 1;
    transform: translateX(4px);
    padding-left: calc(var(--spacing-xs) + 6px);
}

.footer-link:hover::before {
    height: 60%;
}

.footer-service {
    font-size: clamp(13px, 1.8vw, 14px);
    color: var(--color-text-dark-muted);
    opacity: 0.85;
    line-height: 1.8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.footer-service::before {
    content: "→";
    position: absolute;
    left: -20px;
    opacity: 0;
    color: rgba(123, 44, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-4px);
}

.footer-service:hover {
    color: var(--color-text-dark);
    opacity: 1;
    transform: translateX(8px);
    padding-left: 20px;
}

.footer-service:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: clamp(13px, 1.8vw, 14px);
    color: var(--color-text-dark-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
}

.footer-contact-link:hover {
    color: var(--color-text-dark);
    opacity: 1;
    transform: translateX(4px);
}

.footer-contact-icon {
    font-size: 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-contact-link:hover .footer-contact-icon {
    opacity: 1;
    transform: scale(1.1);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xs);
}

.footer-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-dark-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.footer-social-link:hover {
    background: linear-gradient(135deg, 
        rgba(123, 44, 255, 0.2) 0%, 
        rgba(59, 130, 246, 0.2) 100%);
    border-color: rgba(123, 44, 255, 0.3);
    color: var(--color-text-dark);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 44, 255, 0.2);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(123, 44, 255, 0.2) 20%,
        rgba(123, 44, 255, 0.2) 80%,
        transparent 100%);
    margin: var(--spacing-xl) 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: clamp(11px, 1.5vw, 12px);
    color: var(--color-text-dark-muted);
    opacity: 0.7;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-bottom-left:hover {
    opacity: 1;
    color: var(--color-text-dark);
    transform: translateX(2px);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-legal-link {
    color: var(--color-text-dark-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
    position: relative;
}

.footer-legal-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(123, 44, 255, 0.8) 0%, 
        transparent 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal-link:hover {
    color: var(--color-text-dark);
    opacity: 1;
    transform: translateY(-2px);
    text-decoration: none;
}

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

.footer-separator {
    opacity: 0.5;
}

/* Responsive footer */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    
    .footer-col--contact {
        grid-column: 1 / -1;
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-col--brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .footer-col--contact {
        grid-column: 1 / -1;
        margin-top: 0;
}

.footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-col--brand {
        grid-column: 1;
    }
}

/* ============================================
   SIDE MENU & CAROUSEL VERTICAL
   ============================================ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 2, 22, 0.95), rgba(15, 23, 42, 0.95));
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 35;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.side-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(11, 17, 32, 0.98), rgba(7, 2, 22, 0.98));
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(123, 44, 255, 0.3);
    z-index: 40;
    display: flex;
    flex-direction: column;
    color: var(--color-text-dark);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.side-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    pointer-events: none;
}

.side-menu.open {
    right: 0;
}

.side-menu-content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md) var(--spacing-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.close-btn {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: var(--spacing-xl);
    transition: all var(--transition-base);
    color: var(--color-text-dark);
    font-size: 24px;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(123, 44, 255, 0.5);
}

.close-btn:focus {
    outline: 2px solid rgba(123, 44, 255, 0.5);
    outline-offset: 4px;
}

.close-icon {
    display: block;
    transition: transform var(--transition-base);
}

.carousel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg) 0;
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.carousel-item {
    font-family: var(--font-display);
    text-decoration: none;
    color: var(--color-text-dark);
    padding: var(--spacing-lg) var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    width: 95%;
    max-width: 450px;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
    opacity: 0.3;
    cursor: pointer;
    border: none !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none !important;
    outline: none !important;
    will-change: transform, scale, opacity;
    transform-origin: center;
}

.carousel-item:last-child {
    border-bottom: none;
}

.carousel-item::before {
    display: none;
}

.carousel-item:hover {
    background: transparent;
    z-index: 10;
}

.carousel-item:hover::before {
    display: none;
}

.carousel-item:focus {
    outline: none !important;
    box-shadow: none !important;
}

.carousel-item.active {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 5;
}

.carousel-item.active::before {
    display: none;
}

.carousel-item.active:last-child {
    border-bottom: none;
}

.menu-item-text {
    font-size: clamp(52px, 7vw, 80px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    line-height: 1.1;
}

.carousel-item:not(.active) .menu-item-text {
    color: rgba(255, 255, 255, 0.25);
    opacity: 0.4;
}

.carousel-item:hover .menu-item-text {
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.6;
}

.carousel-item.active .menu-item-text {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    text-shadow: 0 0 20px rgba(123, 44, 255, 0.5);
}

.menu-item-number {
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: 0.1em;
    font-weight: 300;
    position: relative;
    z-index: 1;
    transition: opacity var(--transition-base), color var(--transition-base);
    white-space: nowrap;
}

.carousel-item:not(.active) .menu-item-number {
    opacity: 0.2;
    color: rgba(255, 255, 255, 0.2);
}

.carousel-item:hover .menu-item-number {
    opacity: 0.4;
    color: rgba(255, 255, 255, 0.4);
}

.carousel-item.active .menu-item-number {
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .navbar {
        top: 15px;
        padding: 6px 16px;
        min-width: 150px;
        gap: var(--spacing-sm);
        border-radius: 25px;
    }

    .logo {
        font-size: clamp(16px, 1.8vw, 20px);
        letter-spacing: 0.2em;
    }

    .menu-icon {
        font-size: clamp(18px, 1.8vw, 22px);
        padding: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        margin: 0;
    }

    .logo {
        display: flex;
        align-items: center;
        line-height: 1;
        margin: 0;
    }
    :root {
        --container-padding: var(--container-padding-mobile);
    }

    .hero {
        height: 65vh;
        min-height: 500px;
        padding: 90px var(--container-padding-mobile) var(--spacing-xl);
    }

    .hero-content {
        left: var(--container-padding-mobile);
        bottom: 60px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: var(--spacing-xl) var(--container-padding-mobile);
    }

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

    .projects-section {
        padding-left: 0;
        padding-right: 0;
        overflow-x: visible;
        overflow-y: visible;
    }


    .projects-scroller {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
        overflow-y: visible;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .projects-track {
        padding-left: var(--container-padding-mobile);
        padding-right: var(--container-padding-mobile);
        display: inline-flex;
        gap: var(--spacing-lg);
    }
    
    .project-card {
        scroll-snap-align: start;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Réduire la vitesse des marquees sur mobile */
    .marquee-track {
        animation-duration: 40s;
    }

    .marquee--reverse .marquee-track {
        animation-duration: 40s;
    }
}

@media (max-width: 600px) {
    .project-card {
        width: 280px;
        min-width: 280px;
        height: 420px;
    }

    .side-menu {
        width: 100%;
        right: -100%;
    }
}

/* ============================================
   ACCESSIBILITÉ
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Amélioration du contraste pour l'accessibilité */
.hero-sub,
.footer-text {
    color: rgba(255, 255, 255, 0.95);
}

.section-subtitle {
    color: var(--color-text-muted);
}
