/**
 * OpRews - Premium Design System
 * Style ultra-moderne inspiré de 73-strings
 */

/* ============================================
   VARIABLES PREMIUM
   ============================================ */
:root {
    /* Palette sombre premium */
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-surface: #1a1a1a;
    --color-surface-hover: #222222;
    
    /* Accents lumineux */
    --color-accent: #3b82f6;
    --color-accent-hover: #60a5fa;
    --color-accent-glow: rgba(59, 130, 246, 0.2);
    
    /* Texte */
    --color-text-primary: #ffffff;
    --color-text-secondary: #a3a3a3;
    --color-text-tertiary: #737373;
    
    /* Bordures */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.12);
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Espacements généreux */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 10rem;
    
    /* Transitions premium */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 80px;
    scroll-snap-type: y mandatory;
    scroll-snap-stop: always;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

html::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

html::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

html::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

body {
    scroll-snap-type: y mandatory;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

body::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

body::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

body::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

/* Curseur personnalisé - Masqué */
.custom-cursor {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Curseur pour les zones de texte */
input[type="text"], input[type="email"], input[type="tel"], 
textarea {
    cursor: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Désactiver la sélection sur les images */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
    -webkit-touch-callout: none;
}

/* Réactiver pointer-events pour les images cliquables */
a img, .portfolio-image, .portfolio-image-wrapper img {
    pointer-events: auto;
}

/* Masquage des scrollbars pour tous les éléments */
* {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

*::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

*::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

*::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

/* ============================================
   SIGNATURE GRAPHIQUE OPREWS
   ============================================ */
.oprews-signature {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Pattern géométrique animé */
.signature-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.03) 50%, transparent 70%);
    background-size: 200% 200%, 200% 200%, 100% 100%;
    animation: pattern-move 20s ease-in-out infinite;
    opacity: 0.6;
}

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

/* Forme géométrique signature */
.signature-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: signature-float 15s ease-in-out infinite;
    opacity: 0.4;
}

.signature-shape::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: signature-float 20s ease-in-out infinite reverse;
}

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

/* Points lumineux (particules) */
.signature-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-accent);
    opacity: 0;
    animation: particle-float 8s ease-in-out infinite;
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-100px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0);
    }
}

/* ============================================
   CONTAINER
   ============================================ */
.section-container,
.nav-container,
.hero-container,
.footer-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

/* ============================================
   CARTE GLASSMORPHISM GÉNÉRIQUE
   ============================================ */
.glass-card {
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 50%, 
        rgba(59, 130, 246, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        transparent 100%);
    border-radius: 16px;
    transition: left 0.6s ease;
    pointer-events: none;
}

.glass-card:hover {
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.glass-card:hover::after {
    left: 100%;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .section-container,
    .nav-container,
    .hero-container,
    .footer-container {
        padding: 0 var(--spacing-lg);
    }
}

/* ============================================
   NAVIGATION PREMIUM
   ============================================ */
.nav-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Effet au scroll - header légèrement opaque pour la lisibilité */
.nav-premium.scrolled {
    background: rgba(10, 10, 10, 0.2);
}

/* Ligne lumineuse en haut du header */
.nav-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.3) 20%, 
        rgba(59, 130, 246, 0.5) 50%, 
        rgba(59, 130, 246, 0.3) 80%, 
        transparent 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.nav-premium.scrolled::before {
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem var(--spacing-md);
    height: 80px;
    gap: var(--spacing-md);
}

.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.logo-signature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    color: var(--color-accent);
    transition: var(--transition-normal);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.8));
    }
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    animation: logo-ring 2s ease-out infinite;
}

@keyframes logo-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.nav-logo:hover .logo-icon {
    transform: rotate(90deg);
    color: var(--color-accent-hover);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    transition: var(--transition-fast);
}

.logo-accent {
    background: linear-gradient(135deg, var(--color-accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.nav-logo:hover .logo-text {
    color: var(--color-accent);
}

.nav-bar-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex: 1;
    justify-content: center;
}

/* Barre de navigation glassmorphism */
.nav-bar-glass {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-premium.scrolled .nav-bar-glass {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-link-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
}

.nav-link-item:hover svg {
    opacity: 1;
}

.nav-link-item.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-accent);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-link-item.active svg {
    opacity: 1;
    color: var(--color-accent);
}

.nav-link-item.active::before {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    border-radius: 2px;
}

/* Bouton Contact avec gradient */
.nav-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-premium.scrolled .nav-contact-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-contact-btn::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 50%, 
        rgba(59, 130, 246, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nav-contact-btn:hover::before {
    opacity: 1;
}

.nav-contact-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(59, 130, 246, 0.3),
        0 0 50px rgba(59, 130, 246, 0.2),
        0 0 70px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-contact-btn span {
    position: relative;
    z-index: 1;
}

.nav-contact-btn svg {
    width: 16px;
    height: 16px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-contact-btn:hover svg {
    transform: translateX(4px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 0.625rem;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ============================================
   HERO PREMIUM
   ============================================ */
.hero-premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    overflow: hidden;
    z-index: 1;
    background: var(--color-bg);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Watermark OpRews discret avec animation */
.hero-premium::before {
    content: 'OPREWS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 900;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.05) 0%, 
        rgba(139, 92, 246, 0.03) 50%, 
        rgba(59, 130, 246, 0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.2em;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    animation: watermark-pulse 8s ease-in-out infinite;
}

@keyframes watermark-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) rotate(-45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) rotate(-45deg) scale(1.05);
    }
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    background: var(--color-surface);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: var(--spacing-md);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.title-line.animate {
    opacity: 1;
    transform: translateY(0);
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--color-accent), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.hero-description.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.hero-actions.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-hint {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-tertiary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-text-tertiary), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ============================================
   BOUTONS PREMIUM
   ============================================ */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary {
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--color-accent);
    border-color: rgba(59, 130, 246, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 0 30px rgba(59, 130, 246, 0.3),
        0 0 50px rgba(59, 130, 246, 0.2),
        0 0 70px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    border-radius: 20px;
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    border-radius: 20px;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(59, 130, 246, 0.2),
        0 0 50px rgba(59, 130, 246, 0.1);
}

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

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

.btn-premium svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   SECTION HEADER PREMIUM
   ============================================ */
.section-header-premium {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-label.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title-premium {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.section-title-premium.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TITRE GLASSMORPHISM - Effet verre dépoli
   ============================================ */
.title-3d-glass {
    position: relative;
    display: inline-block;
    padding: 2rem 3rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-text-primary);
    z-index: 1;
}

/* Effet de brillance sur la bordure */
.title-3d-glass::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Effet de lumière interne */
.title-3d-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    border-radius: 20px;
    transition: left 0.6s ease;
    pointer-events: none;
}

/* Hover effect */
.title-3d-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 40px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.title-3d-glass:hover::before {
    opacity: 1;
}

.title-3d-glass:hover::after {
    left: 100%;
}

/* ============================================
   VALUE SECTION
   ============================================ */
.value-section {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-secondary);
    position: relative;
}

/* Élément décoratif signature */
.value-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: signature-float 12s ease-in-out infinite;
    opacity: 0.5;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.value-item {
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.value-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de brillance sur la bordure */
.value-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 50%, 
        rgba(59, 130, 246, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Effet de lumière interne */
.value-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        transparent 100%);
    border-radius: 16px;
    transition: left 0.6s ease;
    pointer-events: none;
}

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

.value-item:hover::after {
    left: 100%;
}

.value-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.value-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

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

/* ============================================
   SERVICES PREMIUM
   ============================================ */
.services-premium {
    padding: var(--spacing-2xl) 0;
    position: relative;
    background: var(--color-bg);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Marqueur de signature pour les sections */
.services-premium::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    width: 3px;
    height: 200px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--color-accent) 20%, 
        var(--color-accent) 80%, 
        transparent 100%);
    opacity: 0.2;
    filter: blur(2px);
    animation: signature-line 4s ease-in-out infinite;
}

@keyframes signature-line {
    0%, 100% {
        opacity: 0.2;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.4;
        transform: scaleY(1.2);
    }
}

.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.service-card-premium {
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card-premium.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de brillance sur la bordure */
.service-card-premium::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 50%, 
        rgba(59, 130, 246, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Effet de lumière interne */
.service-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.08) 50%, 
        transparent 100%);
    border-radius: 16px;
    transition: left 0.6s ease;
    pointer-events: none;
}

.service-card-premium:hover::before {
    opacity: 1;
}

.service-card-premium:hover::after {
    left: 100%;
}

.service-card-premium:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-number {
    font-family: var(--font-display);
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.service-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

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

.service-tags span {
    padding: 0.25rem 0.75rem;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* ============================================
   PORTFOLIO PREMIUM
   ============================================ */
.portfolio-premium {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-secondary);
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-premium::after {
    content: '';
    position: absolute;
    right: 0;
    top: 30%;
    width: 3px;
    height: 200px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.5) 20%, 
        rgba(139, 92, 246, 0.5) 80%, 
        transparent 100%);
    opacity: 0.2;
    filter: blur(2px);
    animation: signature-line 5s ease-in-out infinite 1s;
}

.portfolio-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.portfolio-item-premium {
    text-decoration: none;
    color: inherit;
    display: block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
}

.portfolio-item-premium.animate {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 50%, 
        rgba(59, 130, 246, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.portfolio-item-premium:hover .portfolio-image-wrapper {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.portfolio-item-premium:hover .portfolio-image-wrapper::before {
    opacity: 1;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item-premium:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item-premium:hover .portfolio-image {
    transform: none;
}

.portfolio-link-text {
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 500;
}

.portfolio-content {
    padding: 0 var(--spacing-sm);
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.portfolio-description {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

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

.portfolio-tags span {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.portfolio-item-premium:hover .portfolio-tags span {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--color-accent);
}

/* ============================================
   ABOUT PREMIUM
   ============================================ */
.about-premium {
    padding: var(--spacing-2xl) 0;
    position: relative;
    background: var(--color-bg);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-premium::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 5%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: signature-float 10s ease-in-out infinite reverse;
    opacity: 0.4;
}

.about-content-premium {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-premium {
    margin-bottom: var(--spacing-xl);
}

.about-description-premium {
    margin-top: var(--spacing-lg);
}

.about-description-premium p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.about-description-premium strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.about-timeline {
    position: relative;
    padding-left: var(--spacing-lg);
}

.timeline-line {
    position: absolute;
    left: calc(-1 * var(--spacing-lg));
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--color-accent) 10%, 
        var(--color-accent) 90%, 
        transparent 100%);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1s ease 0.5s;
    opacity: 0.3;
}

.timeline-line.animate {
    transform: scaleY(1);
}

.timeline-item {
    position: relative;
    padding: var(--spacing-lg);
    padding-left: calc(var(--spacing-lg) + var(--spacing-md));
    margin-bottom: var(--spacing-md);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border-left: 3px solid var(--color-accent);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    transform: translateX(4px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--spacing-lg) - 6px);
    top: calc(0.5rem + var(--spacing-lg));
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent-glow);
    border: 2px solid var(--color-bg);
    z-index: 2;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

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

/* ============================================
   CONTACT PREMIUM
   ============================================ */
.contact-premium {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: var(--color-bg-secondary);
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-premium::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: signature-float 18s ease-in-out infinite;
    opacity: 0.3;
}

.contact-header-premium {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-top: var(--spacing-sm);
    line-height: 1.6;
}

.contact-content-premium {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-main-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 1024px) {
    .contact-main-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--spacing-lg);
        align-items: start;
    }
}

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

.contact-info-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

/* Cartes de contact */
.contact-cards-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

.contact-card-premium {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card-premium::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 50%, 
        rgba(59, 130, 246, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-card-premium:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.3),
        0 0 60px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-card-premium:hover::before {
    opacity: 1;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 12px;
    color: var(--color-accent);
    transition: var(--transition-normal);
}

.contact-card-premium:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    margin: 0;
}

.contact-card-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0;
}

.contact-card-action {
    font-size: 0.875rem;
    color: var(--color-accent);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.contact-card-action.unavailable {
    opacity: 1;
    transform: translateX(0);
    color: #ef4444;
    font-weight: 500;
}

.contact-card-premium:hover .contact-card-action {
    opacity: 1;
    transform: translateX(0);
}

/* Formulaire de contact */
.contact-form-side {
    position: relative;
}

.contact-form-premium {
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: fit-content;
    position: relative;
    top: 0;
}

@media (max-width: 1023px) {
    .contact-form-premium {
        position: relative;
        top: 0;
    }
}

.form-header-premium {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.form-grid-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .form-grid-premium {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group-premium {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.form-group-premium label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group-premium .required {
    color: var(--color-accent);
}

.form-group-premium input,
.form-group-premium textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.form-group-premium input::placeholder,
.form-group-premium textarea::placeholder {
    color: var(--color-text-tertiary);
    opacity: 0.6;
}

.form-group-premium input:focus,
.form-group-premium textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-group-premium input:focus ~ .form-line,
.form-group-premium textarea:focus ~ .form-line {
    transform: scaleX(1);
}

.form-group-premium textarea {
    resize: vertical;
    min-height: 150px;
    font-family: var(--font-primary);
}

.btn-submit-premium {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    margin-top: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-accent), rgba(139, 92, 246, 0.8));
    border: none;
    border-radius: 12px;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-submit-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-submit-premium span,
.btn-submit-premium svg {
    position: relative;
    z-index: 1;
}

.btn-submit-premium svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-submit-premium:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.4),
        0 0 40px rgba(59, 130, 246, 0.2);
}

.btn-submit-premium:hover::before {
    opacity: 1;
}

.btn-submit-premium:hover svg {
    transform: translateX(4px);
}

.btn-submit-premium:active {
    transform: translateY(0);
}

.form-message-premium {
    margin-top: var(--spacing-md);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.875rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-message-premium.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.form-message-premium.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Réseaux sociaux */
.contact-social-premium {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--spacing-md);
}

.social-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.social-links-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-link-premium {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-premium svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-link-premium:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.social-link-premium:hover svg {
    transform: scale(1.1);
}

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

/* ============================================
   FOOTER PREMIUM
   ============================================ */
.footer-premium {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--color-border);
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(59, 130, 246, 0.03) 50%,
        rgba(59, 130, 246, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 -4px 20px rgba(0, 0, 0, 0.2),
        0 -10px 40px rgba(59, 130, 246, 0.1);
}

/* Signature OpRews dans le footer */
.footer-premium::before {
    content: 'OPREWS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    color: rgba(59, 130, 246, 0.02);
    letter-spacing: 0.3em;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.footer-content-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.footer-brand:hover .footer-logo {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-top: 0.25rem;
}

.footer-links-premium {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links-premium a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.footer-links-premium a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links-premium a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-links-premium a:hover::before {
    opacity: 1;
}

.footer-links-premium a:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.footer-bottom-premium {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(59, 130, 246, 0.5) 50%,
        transparent 100%);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: var(--color-text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--color-accent);
}

.footer-separator {
    color: var(--color-text-tertiary);
    opacity: 0.5;
    font-size: 0.875rem;
}

.footer-bottom-premium p {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   RESPONSIVE MOBILE
   ============================================ */
@media (max-width: 1024px) {
    /* Navigation mobile */
    .nav-container {
        justify-content: space-between;
        padding: 1rem var(--spacing-md);
        height: 70px;
    }
    
    .nav-bar-wrapper {
        display: none;
    }
    
    .nav-bar-wrapper.active {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: var(--spacing-lg);
        gap: var(--spacing-md);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-bar-glass {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.05);
        padding: var(--spacing-md);
    }
    
    .nav-link-item {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .nav-contact-btn {
        width: 100%;
        justify-content: center;
        margin-top: var(--spacing-sm);
        padding: 1rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero mobile */
    .hero-premium {
        padding: calc(70px + var(--spacing-lg)) 0 var(--spacing-lg);
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 9vw, 3rem);
        line-height: 1.3;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-subtitle {
        font-size: clamp(1.125rem, 4.5vw, 1.375rem);
        line-height: 1.7;
    }
    
    .hero-description {
        font-size: 1.125rem;
        line-height: 1.8;
    }
    
    /* Sections mobile */
    .section-container {
        padding: 0 var(--spacing-lg);
        max-width: 100%;
        width: 100%;
    }
    
    /* Assurer que toutes les sections prennent toute la largeur */
    section {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
    
    .section-title-premium {
        font-size: clamp(2rem, 7vw, 2.5rem);
        line-height: 1.3;
        margin-bottom: var(--spacing-md);
    }
    
    .section-label {
        font-size: 0.8rem;
        margin-bottom: var(--spacing-sm);
    }
    
    /* Grilles mobile */
    .services-grid-premium,
    .portfolio-grid-premium {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-cards-premium {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Cartes mobile */
    .service-card-premium,
    .value-item,
    .contact-card-premium {
        padding: var(--spacing-lg);
    }
    
    .service-title {
        font-size: 1.75rem;
        line-height: 1.4;
        margin-bottom: var(--spacing-sm);
    }
    
    .service-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .value-title {
        font-size: 1.375rem;
        line-height: 1.4;
    }
    
    .value-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Portfolio mobile */
    .portfolio-image-wrapper {
        aspect-ratio: 16 / 9;
        margin-bottom: var(--spacing-md);
    }
    
    .portfolio-title {
        font-size: 1.75rem;
        line-height: 1.4;
        margin-bottom: var(--spacing-sm);
    }
    
    .portfolio-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* About mobile */
    .about-content-premium {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
    
    .about-text-premium {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .about-description-premium {
        text-align: center;
    }
    
    .about-description-premium p {
        font-size: 1.125rem;
        line-height: 1.8;
        margin-bottom: var(--spacing-md);
        text-align: center;
    }
    
    .about-timeline {
        padding-left: 0;
        margin-top: var(--spacing-lg);
        text-align: center;
    }
    
    .timeline-line {
        display: none;
    }
    
    .timeline-item {
        padding: var(--spacing-md);
        padding-left: var(--spacing-md);
        margin-bottom: var(--spacing-md);
        text-align: center;
        width: 100%;
        max-width: 100%;
        opacity: 1 !important;
        transform: translateX(0) !important;
        border-left: 3px solid var(--color-accent);
    }
    
    .timeline-marker {
        display: none;
    }
    
    .timeline-content {
        text-align: center;
    }
    
    .timeline-date,
    .timeline-title,
    .timeline-text {
        text-align: center;
    }
    
    .timeline-date {
        font-size: 0.875rem;
        color: var(--color-text-tertiary);
        margin-bottom: 0.5rem;
    }
    
    .timeline-title {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--color-text-primary);
    }
    
    .timeline-text {
        font-size: 0.9375rem;
        line-height: 1.6;
        color: var(--color-text-secondary);
    }
    
    /* Section Valeurs mobile */
    .value-section {
        text-align: center;
    }
    
    .value-item {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .value-icon {
        margin: 0 auto var(--spacing-sm);
    }
    
    .value-title,
    .value-description {
        text-align: center;
    }
    
    /* Contact mobile */
    .contact-form-premium {
        padding: var(--spacing-lg);
    }
    
    .form-title {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .form-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .form-group-premium label {
        font-size: 0.9375rem;
        margin-bottom: 0.875rem;
    }
    
    .form-group-premium input,
    .form-group-premium textarea {
        font-size: 1.0625rem;
        padding: 1rem;
    }
    
    .form-grid-premium {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .btn-submit-premium {
        width: 100%;
        padding: 1.125rem 2rem;
        font-size: 1.0625rem;
    }
    
    .contact-card-title {
        font-size: 0.9375rem;
    }
    
    .contact-card-value {
        font-size: 1.125rem;
    }
    
    /* Footer mobile */
    .footer-content-premium {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-links-premium {
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
    
    .footer-links-premium a {
        font-size: 0.9375rem;
    }
    
    /* Espacements mobile */
    .services-premium,
    .portfolio-premium,
    .about-premium,
    .contact-premium,
    .value-section {
        padding: var(--spacing-2xl) 0;
    }
}

/* Mobile très petit */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.875rem var(--spacing-md);
        height: 65px;
    }
    
    .nav-bar-wrapper.active {
        top: 65px;
    }
    
    .hero-premium {
        padding: calc(65px + var(--spacing-md)) 0 var(--spacing-md);
    }
    
    .section-container {
        padding: 0 var(--spacing-md);
        max-width: 100%;
        width: 100%;
    }
    
    section {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 8vw, 2.75rem);
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: clamp(1.0625rem, 4vw, 1.25rem);
    }
    
    .section-title-premium {
        font-size: clamp(1.875rem, 6.5vw, 2.25rem);
        line-height: 1.3;
    }
    
    .service-card-premium,
    .value-item,
    .contact-card-premium {
        padding: var(--spacing-md);
    }
    
    .service-title {
        font-size: 1.625rem;
    }
    
    .value-title {
        font-size: 1.25rem;
    }
    
    .portfolio-title {
        font-size: 1.625rem;
    }
    
    .contact-form-premium {
        padding: var(--spacing-md);
    }
    
    .form-title {
        font-size: 1.625rem;
    }
    
    .services-premium,
    .portfolio-premium,
    .about-premium,
    .contact-premium,
    .value-section {
        padding: var(--spacing-xl) 0;
    }
    
    /* About très petit mobile */
    .about-timeline {
        padding-left: 0;
    }
    
    .timeline-item {
        padding: var(--spacing-sm);
        padding-left: var(--spacing-sm);
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    .timeline-title {
        font-size: 1rem;
    }
    
    .timeline-text {
        font-size: 0.875rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
[data-animate] {
    opacity: 0;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate].animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   PAGES LÉGALES
   ============================================ */
.legal-page {
    min-height: 100vh;
    background: var(--color-bg);
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-header {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    transition: color var(--transition-fast);
}

.legal-back:hover {
    color: var(--color-accent-hover);
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.legal-date {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
}

.legal-content {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.legal-content section {
    margin-bottom: var(--spacing-lg);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.legal-content p {
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.legal-content ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.legal-content li {
    margin-bottom: 0.5rem;
    padding-left: var(--spacing-xs);
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.legal-content a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-page {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .legal-content {
        font-size: 0.9375rem;
    }
}

/* ============================================
   BANDEAU DE CONSENTEMENT AUX COOKIES
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    flex: 1;
    min-width: 300px;
}

.cookie-consent-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    margin-top: 2px;
}

.cookie-consent-icon svg {
    width: 100%;
    height: 100%;
}

.cookie-consent-text h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.cookie-consent-text p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.cookie-consent-links {
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

.cookie-consent-links a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.cookie-consent-links a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
    white-space: nowrap;
}

.cookie-btn-primary {
    background: rgba(59, 130, 246, 0.2);
    color: var(--color-accent);
    border-color: rgba(59, 130, 246, 0.4);
}

.cookie-btn-primary:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   MODAL DE PRÉFÉRENCES DE COOKIES
   ============================================ */
.cookie-preferences {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.cookie-preferences.show {
    opacity: 1;
    pointer-events: all;
}

.cookie-preferences-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: hidden;
    touch-action: none;
}

.cookie-preferences-modal {
    position: relative;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-preferences.show .cookie-preferences-modal {
    transform: scale(1);
}

.cookie-preferences-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.cookie-preferences-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.cookie-preferences-close {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.cookie-preferences-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

.cookie-preferences-close svg {
    width: 20px;
    height: 20px;
}

.cookie-preferences-content {
    padding: var(--spacing-md);
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: calc(90vh - 200px);
    -webkit-overflow-scrolling: touch;
}

.cookie-preferences-content::-webkit-scrollbar {
    width: 8px;
}

.cookie-preferences-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.cookie-preferences-content::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 4px;
}

.cookie-preferences-content::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

.cookie-preferences-intro {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.cookie-category-header h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.cookie-category-header p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-category-list {
    list-style: none;
    padding-left: 0;
    margin: var(--spacing-sm) 0 0 0;
}

.cookie-category-list li {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.cookie-category-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: var(--color-accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle.disabled .cookie-toggle-slider {
    background-color: var(--color-accent);
    cursor: not-allowed;
}

.cookie-preferences-info {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.cookie-preferences-info p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.cookie-preferences-info ul {
    list-style: none;
    padding-left: 0;
}

.cookie-preferences-info li {
    margin-bottom: 0.25rem;
}

.cookie-preferences-info a {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.875rem;
}

.cookie-preferences-info a:hover {
    text-decoration: underline;
}

.cookie-preferences-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-preferences-modal {
        max-height: 95vh;
    }

    .cookie-category-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}
