/* =========================================
   AMSTRAD.WORLD — IMMERSIVE 3D THEME
   Version 1.0
   Couleurs basées sur le logo Amstrad:
   - Rouge: #e63329
   - Vert: #39b54a
   - Cyan: #00a8e8
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs Amstrad */
    --red: #e63329;
    --green: #39b54a;
    --cyan: #00a8e8;
    --violet: #8b5cf6;
    --violet-dark: #7c3aed;
    
    /* Couleurs UI */
    --bg-dark: #0f1114;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --text: #ffffff;
    --text-muted: #888888;
    --text-dark: #666666;
    
    /* Gradients - Violet uniquement */
    --gradient-amstrad: linear-gradient(135deg, var(--violet-dark), var(--violet));
    --gradient-glow: linear-gradient(135deg, rgba(139,92,246,0.4), rgba(124,58,237,0.3));
    
    /* Fonts */
    --font-display: 'Exo 2', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --header-height: 130px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* =========================================
   AMBIENT BACKGROUND
   ========================================= */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 20% 0%, rgba(230,51,41,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0,168,232,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(57,181,74,0.05) 0%, transparent 70%);
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15,17,20,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.header.scrolled {
    background: rgba(15,17,20,0.95);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 120px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text span {
    background: var(--gradient-amstrad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    border-color: var(--cyan);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: all 0.3s;
    position: relative;
}

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

.main-nav a:hover {
    color: var(--text);
}

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

/* Header Actions (recherche + langue) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-nav a.active {
    color: var(--text);
}

/* =========================================
   HERO / BANNER
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}

/* Hero Banner Image */
.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-banner.no-image {
    display: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,17,20,0.9) 0%, rgba(15,17,20,0.7) 50%, rgba(15,17,20,0.9) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--gradient-glow);
    filter: blur(120px);
    opacity: 0.5;
    animation: float 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(10deg); }
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-title span {
    background: var(--gradient-amstrad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 500px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: var(--gradient-amstrad);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(230,51,41,0.3), 0 20px 40px rgba(0,168,232,0.2);
}

.hero-cta svg {
    transition: transform 0.3s;
}

.hero-cta:hover svg {
    transform: translateX(5px);
}

/* =========================================
   BANNER (Category pages)
   ========================================= */
.banner {
    padding: 140px 60px 60px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

/* Category Banner Image */
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-image.no-image {
    display: none;
}

.banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15,17,20,0.3) 0%, rgba(15,17,20,0.95) 100%);
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    overflow: visible;
}

.banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 25px;
    text-transform: uppercase;
    animation: bannerFadeSlide 0.6s ease-out forwards;
    opacity: 0;
}

.banner-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gradient-amstrad);
    animation: bannerLineExpand 0.8s ease-out 0.3s forwards;
    transform-origin: left;
    transform: scaleX(0);
}

.banner-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.3;
    margin-bottom: 20px;
    background: var(--gradient-amstrad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bannerFadeSlide 0.7s ease-out 0.15s forwards;
    opacity: 0;
}

/* Titre violet quand une série est sélectionnée */
.banner-title-serie {
    background: linear-gradient(180deg, var(--violet) 0%, #6b4caf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    animation: bannerFadeSlide 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

/* Animations de bannière */
@keyframes bannerFadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bannerLineExpand {
    to {
        transform: scaleX(1);
    }
}

/* Series Filters */
.series-filters {
    display: flex;
    gap: 10px;
    padding: 20px 60px;
    background: rgba(15,17,20,0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.series-filters::-webkit-scrollbar {
    display: none;
}

.series-filters.hidden {
    display: none;
}

.series-btn {
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.series-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    color: var(--text);
}

.series-btn.active {
    background: var(--gradient-amstrad);
    border-color: transparent;
    color: var(--text);
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: 100px 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 20px;
}

.section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.section-link {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.section-link:hover {
    color: var(--cyan);
}

.section-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   PRODUCTS GRID
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 20px;
}

.product-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-image {
    aspect-ratio: 1;
    background: transparent;
    border-radius: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-image-placeholder {
    font-size: 4rem;
    opacity: 0.3;
}

/* Badge LED animé */
.led-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9) 0%, rgba(6, 182, 212, 0.9) 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    animation: ledPulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.led-icon {
    font-size: 0.8rem;
    animation: ledGlow 1.5s ease-in-out infinite alternate;
}

@keyframes ledPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.7), 0 0 30px rgba(6, 182, 212, 0.4);
    }
}

@keyframes ledGlow {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.5);
    }
}

.product-serie {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gradient-amstrad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-align: center;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.3;
    text-align: center;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.product-ean {
    font-size: 0.75rem;
    color: var(--violet);
    text-align: center;
}

.product-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
}

.stock-in {
    background: rgba(57,181,74,0.15);
    color: var(--green);
}

.stock-out {
    background: rgba(230,51,41,0.15);
    color: var(--red);
}

.product-stock::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* =========================================
   CATEGORY CARDS (Homepage)
   ========================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-amstrad);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

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

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
}

.category-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    padding: 50px 40px;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: all 0.3s;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: var(--bg-card);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-amstrad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* =========================================
   PRODUCT PAGE
   ========================================= */
.product-page {
    padding-top: var(--header-height);
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-gallery {
    padding: 40px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(230,51,41,0.03), rgba(0,168,232,0.03));
    border-radius: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 20px;
}

.main-image img {
    max-width: 100%;
    max-height: 700px;
    object-fit: contain;
    border-radius: 16px;
}

.main-image-placeholder {
    font-size: 10rem;
    opacity: 0.2;
}

.thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0,168,232,0.3);
}

.gallery-video {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
}

.product-info {
    padding: 60px;
    display: flex;
    flex-direction: column;
}

.product-breadcrumb {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-breadcrumb a:hover {
    color: var(--cyan);
}

.product-breadcrumb span {
    opacity: 0.5;
}

.product-detail-serie {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--gradient-amstrad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.product-detail-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-brand {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.meta-label {
    color: var(--text-muted);
}

.meta-value {
    font-weight: 600;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 12px;
    margin-bottom: 30px;
}

.availability.in-stock {
    background: rgba(57,181,74,0.15);
    color: var(--green);
}

.availability.out-stock {
    background: rgba(230,51,41,0.15);
    color: var(--red);
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

.block-section {
    margin-bottom: 30px;
}

.block-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.description-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-muted);
}

.description-text b,
.description-text strong {
    color: var(--text);
    font-weight: 600;
}

/* =========================================
   VIDEO SECTION
   ========================================= */
.video-section {
    padding: 80px 60px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =========================================
   INFO BLOCKS
   ========================================= */
.info-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.info-block {
    padding: 60px;
}

.info-block:first-child {
    border-right: 1px solid var(--border);
}

.logistics-table {
    width: 100%;
}

.logistics-table tr {
    border-bottom: 1px solid var(--border);
}

.logistics-table tr:last-child {
    border-bottom: none;
}

.logistics-table td {
    padding: 18px 0;
    font-size: 0.9rem;
}

.logistics-table td:first-child {
    color: var(--text-muted);
}

.logistics-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    margin-right: 10px;
}

.download-btn:hover {
    background: var(--gradient-amstrad);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230,51,41,0.2);
}

.download-btn svg {
    width: 20px;
    height: 20px;
}

/* =========================================
   PAGES STATIQUES
   ========================================= */
.page-hero {
    padding: 180px 60px 100px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.page-hero .banner-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.page-hero .banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .banner-image.no-image {
    display: none;
}

.page-hero .banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15,17,20,0.5) 0%, rgba(15,17,20,0.95) 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    letter-spacing: -3px;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
}

.page-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.page-content ul {
    margin-bottom: 25px;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--text-muted);
}

.page-content strong {
    color: var(--text);
}

/* =========================================
   CONTACT
   ========================================= */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-form-container {
    padding: 80px 60px;
    border-right: 1px solid var(--border);
}

.contact-info {
    padding: 80px 60px;
    background: var(--bg-card);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 18px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,168,232,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-dark);
}

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

.form-select {
    cursor: pointer;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.captcha-question {
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

.captcha-input {
    width: 100px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: var(--gradient-amstrad);
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230,51,41,0.3);
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--cyan);
}

.contact-item strong {
    display: block;
    color: var(--text);
    margin-bottom: 5px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #080808;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 80px 60px;
    gap: 80px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand img {
    height: 25px;
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    background: var(--gradient-amstrad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

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

/* =========================================
   EMPTY STATE
   ========================================= */
.empty-state {
    grid-column: 1 / -1;
    padding: 100px 40px;
    text-align: center;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 15px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--gradient-amstrad);
    color: var(--text);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(230,51,41,0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

/* =========================================
   LOADING
   ========================================= */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.loading::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--cyan);
    border-radius: 50%;
    margin-right: 15px;
    animation: spin 1s linear infinite;
}

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

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-content {
    padding: 40px 60px;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.cta-visual {
    background: var(--gradient-amstrad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    opacity: 0.8;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .header-inner {
        padding: 0 30px;
    }
    
    .banner-title {
        font-size: clamp(1.2rem, 3.5vw, 2rem);
        white-space: normal;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-main,
    .info-blocks,
    .contact-section,
    .cta-section {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .info-block:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .contact-form-container {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 90px;
    }
    
    .header-inner {
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 70px;
    }
    
    .header-inner {
        padding: 0 20px;
        height: 90px;
    }
    
    .main-nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(15,17,20,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        z-index: 1000;
    }
    
    .main-nav a {
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .hero {
        padding: 110px 20px 40px;
    }
    
    /* BANNIÈRE MOBILE - BEAUCOUP PLUS PETITE */
    .banner {
        padding: 100px 20px 30px;
        min-height: 150px;
    }
    
    .banner-title {
        font-size: 2rem;
        letter-spacing: 1px;
        white-space: normal;
    }
    
    .banner-subtitle {
        font-size: 0.85rem;
    }
    
    .banner-eyebrow {
        font-size: 0.65rem;
        margin-bottom: 10px;
    }
    
    /* Masquer certains effets géométriques sur mobile uniquement */
    .banner-geometric .geo-circle,
    .banner-geometric .geo-line {
        display: none;
    }
    
    .banner-geometric .geo-glow-1 {
        width: 200px;
        height: 200px;
        opacity: 0.4;
    }
    
    .banner-geometric .geo-glow-2 {
        width: 150px;
        height: 150px;
        opacity: 0.3;
    }
    
    .banner-geometric .geo-glow-3 {
        display: none;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .series-filters {
        padding: 10px 15px;
        gap: 8px;
    }
    
    .series-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }
    
    /* GRILLE PRODUITS MOBILE - IMAGES PLUS GRANDES */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        padding: 8px;
    }
    
    .product-image {
        margin-bottom: 10px;
    }
    
    .product-image img {
        padding: 0;
    }
    
    .product-name {
        font-size: 0.85rem;
        margin-bottom: 0;
    }
    
    .product-serie {
        font-size: 0.55rem;
        margin-bottom: 5px;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin-top: 8px;
    }
    
    .product-ean {
        font-size: 0.65rem;
    }
    
    .product-stock {
        font-size: 0.5rem;
        padding: 4px 8px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    /* PAGE PRODUIT MOBILE */
    .product-page {
        padding-top: 90px;
    }
    
    .product-main {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        padding: 20px 15px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    
    .product-info {
        padding: 25px 15px;
    }
    
    .info-block {
        padding: 25px 15px;
    }
    
    .main-image {
        padding: 10px;
        border-radius: 16px;
    }
    
    .main-image img {
        max-height: 300px;
        border-radius: 12px;
    }
    
    .thumbnails {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .thumbnail {
        width: 55px;
        height: 55px;
    }
    
    .gallery-video {
        margin-top: 20px;
    }
    
    .gallery-video iframe {
        border-radius: 12px;
    }
    
    .product-breadcrumb {
        font-size: 0.7rem;
        margin-bottom: 20px;
        gap: 6px;
    }
    
    .product-detail-serie {
        font-size: 0.6rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .product-detail-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .product-brand {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    
    .product-meta {
        padding: 20px 0;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .meta-row {
        font-size: 0.8rem;
    }
    
    .availability {
        padding: 12px 20px;
        font-size: 0.7rem;
        margin-bottom: 20px;
        width: 100%;
        justify-content: center;
    }
    
    .block-section {
        margin-bottom: 25px;
    }
    
    .block-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .description-text {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* Info blocks mobile */
    .info-blocks {
        grid-template-columns: 1fr;
    }
    
    .logistics-table td {
        font-size: 0.8rem;
        padding: 10px 0;
    }
    
    .download-btn {
        font-size: 0.8rem;
        padding: 12px 15px;
    }
    
    .video-section {
        padding: 30px 15px;
    }
    
    .page-hero {
        padding: 110px 20px 40px;
    }
    
    .page-content {
        padding: 40px 20px;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 40px 20px;
    }
    
    .footer-main {
        padding: 40px 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 25px 20px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .cta-visual {
        display: none;
    }
    
    .cta-section {
        padding: 50px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* =========================================
   BANNER GÉOMÉTRIQUE LED
   ========================================= */
.banner-geometric {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0f 0%, #12121a 50%, #0a0a0f 100%);
}

.banner-geo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

/* Grille de fond */
.geo-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(139,92,246,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,92,246,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Lueurs diffuses */
.geo-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.geo-glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.4) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation: glowPulse 8s ease-in-out infinite;
}

.geo-glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,168,232,0.3) 0%, transparent 70%);
    bottom: -50px;
    right: 30%;
    animation: glowPulse 6s ease-in-out infinite 2s;
}

.geo-glow-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(230,51,41,0.2) 0%, transparent 70%);
    top: 50%;
    right: 5%;
    animation: glowPulse 10s ease-in-out infinite 4s;
}

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

/* Lignes LED animées */
.geo-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--violet), transparent);
    height: 2px;
    opacity: 0.6;
}

.geo-line-1 {
    width: 200px;
    top: 30%;
    right: 15%;
    animation: lineScan 4s ease-in-out infinite;
}

.geo-line-2 {
    width: 150px;
    top: 50%;
    right: 25%;
    animation: lineScan 5s ease-in-out infinite 1s;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.geo-line-3 {
    width: 180px;
    top: 70%;
    right: 10%;
    animation: lineScan 6s ease-in-out infinite 2s;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}

@keyframes lineScan {
    0%, 100% { opacity: 0; transform: translateX(-50px); }
    50% { opacity: 0.8; transform: translateX(50px); }
}

/* Cercles géométriques */
.geo-circle {
    position: absolute;
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 50%;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 15%;
    animation: circleRotate 30s linear infinite, circlePulse 4s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 25%;
    border-color: rgba(0,168,232,0.15);
    animation: circleRotate 20s linear infinite reverse, circlePulse 5s ease-in-out infinite 1s;
}

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

@keyframes circlePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Points LED */
.geo-circle::before,
.geo-circle::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--violet);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--violet), 0 0 20px var(--violet);
}

.geo-circle-1::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.geo-circle-1::after {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.geo-circle-2::before {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
}

.geo-circle-2::after {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .geo-glow-1, .geo-glow-3 {
        display: none;
    }
    
    .geo-circle-1 {
        width: 200px;
        height: 200px;
        right: 5%;
    }
    
    .geo-circle-2 {
        display: none;
    }
}

/* =========================================
   HERO SPECTACULAIRE - EFFETS VISUELS
   ========================================= */

.hero-spectacular {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0f1a 50%, #0a0a0f 100%);
}

.hero-fx {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Grille 3D perspective */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Lignes de lumière */
.light-beam {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--violet), var(--cyan), transparent);
    filter: blur(1px);
    opacity: 0;
    animation: beamShoot 8s ease-in-out infinite;
}

.beam-1 {
    width: 60%;
    top: 20%;
    left: -60%;
    animation-delay: 0s;
}

.beam-2 {
    width: 40%;
    top: 50%;
    left: -40%;
    animation-delay: 3s;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
}

.beam-3 {
    width: 50%;
    top: 75%;
    left: -50%;
    animation-delay: 5s;
    background: linear-gradient(90deg, transparent, var(--red), var(--violet), transparent);
}

@keyframes beamShoot {
    0% { left: -60%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}

/* Orbes de lumière */
.light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 10s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: 20%;
    animation-delay: 3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(57, 181, 74, 0.25) 0%, transparent 70%);
    top: 40%;
    right: 30%;
    animation-delay: 6s;
}

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

/* Cercles rotatifs */
.rotating-circle {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    animation: circleRotate 20s linear infinite;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    border-width: 2px;
    border-color: rgba(139, 92, 246, 0.15);
    border-style: dashed;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation-direction: reverse;
    animation-duration: 15s;
    border-color: rgba(0, 168, 232, 0.15);
}

.circle-1::before,
.circle-2::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--violet);
    border-radius: 50%;
    top: 50%;
    left: -5px;
    box-shadow: 0 0 20px var(--violet), 0 0 40px var(--violet);
}

.circle-2::before {
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan);
}

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

/* Hero Content amélioré */
.hero-spectacular .hero-content {
    position: relative;
    z-index: 10;
    padding: 0 60px;
    max-width: 900px;
}

.hero-spectacular .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--violet);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

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

.hero-spectacular .hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.05;
    margin-bottom: 30px;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: titleReveal 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-highlight {
    background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 50%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: titleReveal 0.8s ease-out forwards, gradientShift 5s ease-in-out infinite;
    animation-delay: 0.4s, 1s;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-spectacular .hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-spectacular .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--violet) 0%, #6d28d9 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
    position: relative;
    overflow: hidden;
}

.hero-spectacular .hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.hero-spectacular .hero-cta:hover::before {
    left: 100%;
}

.hero-spectacular .hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--violet);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

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

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-spectacular .hero-content {
        padding: 0 20px;
        padding-top: 100px;
    }
    
    .hero-spectacular .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .hero-spectacular .hero-desc {
        font-size: 1rem;
    }
    
    .hero-grid {
        display: none;
    }
    
    .light-beam {
        display: none;
    }
    
    .rotating-circle {
        display: none;
    }
    
    .orb-1 {
        width: 300px;
        height: 300px;
    }
    
    .orb-2, .orb-3 {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* =========================================
   HERO CYBERPUNK - STYLE NÉON FUTURISTE
   ========================================= */

.hero-cyberpunk {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0a0a0f;
}

/* Matrix Canvas */
#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

/* Scanlines CRT Effect */
.scanlines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.3) 2px,
        rgba(0, 0, 0, 0.3) 4px
    );
}

/* Hexagon Grid */
.hex-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='86.6'%3E%3Cpolygon points='50,0 100,28.8 100,76.8 50,105.6 0,76.8 0,28.8' fill='none' stroke='%238b5cf6' stroke-width='0.5'/%3E%3C/svg%3E");
    background-size: 100px 86.6px;
}

/* Glitch Lines */
.glitch-lines {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.glitch-line {
    position: absolute;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, #00f0ff, transparent);
    opacity: 0;
    animation: glitchLine 8s infinite;
}

.glitch-line:nth-child(1) { top: 20%; animation-delay: 0s; }
.glitch-line:nth-child(2) { top: 50%; animation-delay: 2.5s; }
.glitch-line:nth-child(3) { top: 75%; animation-delay: 5s; }

@keyframes glitchLine {
    0%, 100% { opacity: 0; transform: translateX(-100%) scaleX(0.5); }
    5% { opacity: 1; }
    50% { opacity: 1; transform: translateX(100vw) scaleX(1.5); }
    51% { opacity: 0; }
}

/* Neon Frame */
.neon-frame {
    position: absolute;
    inset: 16px;
    z-index: 4;
    pointer-events: none;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
}

.corner {
    position: absolute;
    width: 60px;
    height: 60px;
}

.corner-tl {
    top: 0; left: 0;
    border-top: 2px solid var(--violet);
    border-left: 2px solid var(--violet);
    border-radius: 8px 0 0 0;
    box-shadow: -5px -5px 20px rgba(139, 92, 246, 0.3);
}

.corner-tr {
    top: 0; right: 0;
    border-top: 2px solid var(--cyan);
    border-right: 2px solid var(--cyan);
    border-radius: 0 8px 0 0;
    box-shadow: 5px -5px 20px rgba(0, 168, 232, 0.3);
}

.corner-bl {
    bottom: 0; left: 0;
    border-bottom: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    border-radius: 0 0 0 8px;
    box-shadow: -5px 5px 20px rgba(0, 168, 232, 0.3);
}

.corner-br {
    bottom: 0; right: 0;
    border-bottom: 2px solid var(--violet);
    border-right: 2px solid var(--violet);
    border-radius: 0 0 8px 0;
    box-shadow: 5px 5px 20px rgba(139, 92, 246, 0.3);
}

/* Animated Neon Lines */
.neon-line {
    position: absolute;
    height: 2px;
    z-index: 5;
}

.neon-line-1 {
    top: 25%;
    left: 0;
    right: 0;
}

.neon-line-1::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: neonSlide1 6s linear infinite;
    box-shadow: 0 0 20px var(--cyan);
}

.neon-line-2 {
    top: 75%;
    left: 0;
    right: 0;
}

.neon-line-2::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--violet), transparent);
    right: 0;
    animation: neonSlide2 7s linear infinite;
    box-shadow: 0 0 20px var(--violet);
}

@keyframes neonSlide1 {
    0% { transform: translateX(-150px); }
    100% { transform: translateX(calc(100vw + 150px)); }
}

@keyframes neonSlide2 {
    0% { transform: translateX(calc(100vw + 150px)); }
    100% { transform: translateX(-150px); }
}

/* Hero Content */
.hero-cyberpunk .hero-content {
    position: relative;
    z-index: 10;
    padding: 120px 60px 40px;
    max-width: 900px;
}

/* Cyber Badge */
.cyber-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 10px 20px;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: dotBlink 2s infinite;
    box-shadow: 0 0 10px var(--green);
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.badge-text {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--violet);
}

.badge-line {
    display: inline-block;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, rgba(139,92,246,0.5), transparent);
    margin-left: 15px;
    vertical-align: middle;
}

/* Cyber Title */
.cyber-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 20px 0;
}

.cyber-title .title-line {
    display: block;
    color: white;
    text-shadow: 0 0 40px rgba(255,255,255,0.1);
}

.cyber-title .title-line:last-child {
    color: rgba(255,255,255,0.7);
}

.title-glitch {
    background: linear-gradient(90deg, var(--violet), var(--cyan), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-glitch.glitching {
    animation: glitchText 0.15s linear;
}

@keyframes glitchText {
    0% { text-shadow: 2px 0 #ff0080, -2px 0 #00f0ff; filter: hue-rotate(0deg); }
    25% { text-shadow: -2px 0 #ff0080, 2px 0 #00f0ff; filter: hue-rotate(90deg); }
    50% { text-shadow: 2px 2px #ff0080, -2px -2px #00f0ff; filter: hue-rotate(180deg); }
    75% { text-shadow: -2px 2px #ff0080, 2px -2px #00f0ff; filter: hue-rotate(270deg); }
    100% { text-shadow: 0 0 #ff0080, 0 0 #00f0ff; filter: hue-rotate(360deg); }
}

/* Cyber Description */
.cyber-desc {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.prompt {
    color: var(--cyan);
    margin-right: 5px;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: var(--violet);
    margin-left: 5px;
    animation: cursorBlink 1s step-end infinite;
}

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

/* Cyber Button */
.cyber-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: transparent;
    border: 2px solid var(--violet);
    color: var(--violet);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--violet), var(--cyan));
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.cyber-btn:hover {
    color: white;
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 60px rgba(0, 168, 232, 0.3);
}

.cyber-btn:hover::before {
    transform: translateY(0);
}

.cyber-btn svg {
    transition: transform 0.3s;
}

.cyber-btn:hover svg {
    transform: translateX(5px);
}

/* Data Panel */
.data-panel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 60px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
}

.panel-header {
    color: var(--violet);
    margin-bottom: 15px;
}

.panel-row {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.status-online { color: var(--green); }
.status-synced { color: var(--cyan); }
.status-version { color: white; }

/* Cyber Scroll - masqué car bannière réduite */
.cyber-scroll {
    display: none;
}

.scroll-box {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--violet);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-cyberpunk .hero-content {
        padding: 100px 15px 40px;
    }
    
    .cyber-badge {
        padding: 8px 12px;
    }
    
    .badge-text {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
    
    .badge-line {
        display: none;
    }
    
    .cyber-title {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
        word-break: break-word;
    }
    
    .cyber-desc {
        font-size: 0.85rem;
        word-break: break-word;
    }
    
    .cyber-btn {
        padding: 14px 25px;
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .data-panel {
        display: none;
    }
    
    .neon-frame {
        inset: 8px;
    }
    
    .corner {
        width: 30px;
        height: 30px;
    }
    
    .hex-grid {
        display: none;
    }
    
    .cyber-scroll {
        display: none;
    }
    
    .neon-line {
        display: none;
    }
}

/* =========================================
   SÉLECTEUR DE LANGUE
   ========================================= */

.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
    color: var(--text);
}

.lang-current:hover {
    border-color: var(--violet);
    background: rgba(139, 92, 246, 0.2);
}

.lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-code {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #0f1114;
    border: 1px solid var(--violet);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lang-selector:hover .lang-dropdown,
.lang-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.lang-option:hover {
    background: rgba(139, 92, 246, 0.1);
}

.lang-option.active {
    background: rgba(139, 92, 246, 0.2);
    color: var(--violet);
}

.lang-option .lang-name {
    flex: 1;
}

.lang-option .lang-check {
    opacity: 0;
    color: var(--green);
}

.lang-option.active .lang-check {
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    /* Cacher le sélecteur de langue du header sur mobile */
    .header-actions .lang-selector {
        display: none !important;
    }
    
    /* Afficher le sélecteur flottant */
    .lang-mobile-float {
        display: flex !important;
    }
}

/* Sélecteur de langue flottant pour mobile - caché sur desktop */
.lang-mobile-float {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 900;
}

.lang-mobile-float .lang-current {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
    background: var(--bg-card);
    border: 1px solid var(--violet);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.lang-mobile-float .lang-current .lang-arrow {
    display: none;
}

.lang-mobile-float .lang-dropdown {
    bottom: 60px;
    top: auto;
    right: 0;
}

/* =========================================
   BARRE DE RECHERCHE HEADER
   ========================================= */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s;
}

.search-toggle:hover {
    color: var(--violet);
}

/* PC : Search box inline à côté de la loupe */
.search-box {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    background: #0f1114;
    border: 1px solid var(--violet);
    border-radius: 8px;
    padding: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-box.active {
    width: 350px;
    opacity: 1;
    padding: 10px 15px;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.9rem;
    padding: 5px 0;
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    color: var(--text);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f1114;
    border: 1px solid var(--violet);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border);
}

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

.search-result-item:hover {
    background: rgba(139, 92, 246, 0.1);
}

.search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: var(--bg);
    border-radius: 6px;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.search-result-cat {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   SECTION PARTENAIRES
   ========================================= */
.partners-section {
    padding: 50px 0;
    background: rgba(15, 17, 20, 0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: 30px;
}

.partners-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.partners-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.partners-slide {
    display: flex;
    gap: 80px;
    animation: partnersScroll 20s linear infinite;
    width: max-content;
}

.partners-slide img {
    height: 50px;
    width: auto;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: all 0.3s;
}

.partners-slide img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

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

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--violet);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox-nav:hover {
    background: var(--violet);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS AU SCROLL
   ========================================= */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile search */
@media (max-width: 768px) {
    /* Réorganiser le header mobile : loupe à gauche, logo centre, burger à droite */
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header-actions {
        order: -1; /* Mettre à gauche */
    }
    
    .header-actions .lang-selector {
        display: none !important;
    }
    
    .logo {
        order: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .menu-toggle {
        order: 1;
    }
    
    .header-search {
        position: static;
    }
    
    /* Barre de recherche : pleine largeur en haut */
    .search-box {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        height: 90px;
        border-radius: 0;
        transform: none;
        background: #0f1114;
        border: none;
        border-bottom: 1px solid var(--violet);
        z-index: 1100;
    }
    
    .search-box.active {
        width: 100% !important;
        padding: 25px 20px;
    }
    
    .search-box input {
        font-size: 1rem;
    }
    
    .search-results {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        border-radius: 0;
        max-height: calc(100vh - 90px);
        background: #0f1114;
        border: none;
        border-bottom: 1px solid var(--violet);
    }
    
    .partners-slide {
        gap: 40px;
    }
    
    .partners-slide img {
        height: 35px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
}
