/* ==========================================================================
    DRANOX - MASTER STYLESHEET V2.6 (ULTIMATE - ALL CINEMATIC FEATURES)
    ========================================================================== */

/* ==========================================================================
    1. VARIABLES CSS & THÈMES
    ========================================================================== */

@font-face {
    font-family: 'Roboto Mono Fallback';
    src: local('Courier New'), local('monospace');
    size-adjust: 95%; 
    ascent-override: 100%;
    descent-override: 30%;
}

:root {
    /* --- COULEURS --- */
    --road-bg: #f0f2f5;
    --road-panel: #ffffff;
    --road-text: #111111;
    --road-accent: #cc0000;
    
    --x-bg: #050505;
    --x-panel: #141414;
    --x-text: #e0e0e0;
    --x-accent: #ff4444;
    
    --road-accent-rgb: 204, 0, 0;
    --x-accent-rgb: 255, 68, 68;
    
    --pro-border: #444444; 
    --pro-shadow: 0 5px 15px rgba(0,0,0,0.15); 
    
    --border-thin: 1px solid var(--border);
    --border-thick: 2px solid var(--border);
    --border-accent: 3px solid var(--accent);
    
    /* --- COULEURS D'ÉTAT --- */
    --focus-ring: rgba(0, 123, 255, 0.5);
    --error-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;

    /* --- POLICES --- */
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-mono: 'Roboto Mono', 'Roboto Mono Fallback', monospace;
    --font-script: 'Dancing Script', cursive;
    
    /* --- VARIABLES DYNAMIQUES (Défaut: Road) --- */
    --bg: var(--road-bg);
    --panel: var(--road-panel);
    --text: var(--road-text);
    --accent: var(--road-accent);
    --accent-rgb: var(--road-accent-rgb);
    --border: #dddddd;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);

    /* --- TRANSITIONS --- */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    --hover-lift-sm: translateY(-2px);
    --hover-lift: translateY(-5px);
    --hover-scale-sm: scale(1.02);
    --hover-scale: scale(1.05);
    
    /* --- Z-INDEX HIÉRARCHIE --- */
    --z-negative: -1;
    --z-base: 1;
    --z-content: 10;
    --z-overlay: 100;
    --z-sticky: 200;
    --z-header: 2000;
    --z-progress: 2001;
    --z-dropdown: 2002;
    --z-sidebar: 1500;
    --z-modal-overlay: 99998;
    --z-modal: 99999;
    --z-tooltip: 100000;
}

/* [THEME-AWARE] Thème Division X */
body.theme-x {
    --bg: var(--x-bg);
    --panel: var(--x-panel);
    --text: var(--x-text);
    --accent: var(--x-accent);
    --accent-rgb: var(--x-accent-rgb);
    --border: var(--pro-border); 
    --shadow: 0 0 30px rgba(255, 42, 42, 0.08); 
}

@media (prefers-color-scheme: dark) {
    :root:not(.theme-x) {
        --road-bg: #0a0a0a;
        --road-panel: #1a1a1a;
        --road-text: #f0f0f0;
        --border: #333333;
    }
}


/* ==========================================================================
    2. RÉINITIALISATION, BASE & ACCESSIBILITÉ
    ========================================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

html, body { min-height: 100vh; min-height: 100dvh; }

body { 
    font-family: var(--font-body); 
    background-color: var(--bg); 
    color: var(--text); 
    overflow-x: hidden; 
    width: 100%;
    max-width: 100vw;
    padding-top: 70px;
    cursor: none; 
}

a, button, .car-card, .cinematic-choice-card, .quick-thumb, .opt-item, .car-card-info, input, textarea, select {
    cursor: none; 
}

img, video, picture, source { display: block; max-width: 100%; height: auto; object-fit: cover; }

@supports not (aspect-ratio: 1/1) {
    .car-card-img, .quick-thumb, .gallery-thumb { height: 0; padding-bottom: 75%; position: relative; }
    .nav-car-thumb { height: 0; padding-bottom: 56.25%; position: relative; }
    .car-card-img img, .nav-car-thumb img, .quick-thumb img, .gallery-thumb img {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    }
}

.img-ratio-preserve { object-fit: contain; }

*:focus { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
*:focus:not(:focus-visible) { outline: none; }
*:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.header-nav-link:focus-visible, .opt-item:focus-within {
     outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 5px var(--accent);
}

input, button, textarea, select { font: inherit; color: inherit; min-height: 44px; }


/* ==========================================================================
    3. TRANSITIONS & PERFORMANCES
    ========================================================================== */

.no-transition, .no-transition * { transition: none !important; }
.top-red-bar, #quick-nav, .config-options-panel {
    position: fixed; z-index: var(--z-header); transform: translateZ(0); will-change: transform;
}


/* ==========================================================================
    4. SYSTÈME DE CURSEUR DRAGON
    ========================================================================== */

html, body, * { cursor: none !important; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea { cursor: text !important; }

#custom-cursor-dot {
    width: 32px; height: 32px; background-color: transparent; border-radius: 50%;
    position: fixed; top: 0; left: 0; z-index: 999999; pointer-events: none;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translate(-50%, -50%); filter: drop-shadow(0 0 8px rgba(185, 0, 0, 0.7));
    opacity: 1; will-change: transform, left, top; contain: layout style paint;
}

#custom-cursor-dot::before {
    content: ''; position: absolute; width: 8px; height: 8px; background: var(--accent);
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent), inset 0 0 5px #FFFFFF; z-index: 3;
}

#custom-cursor-dot::after {
    content: ''; position: absolute; width: 100%; height: 100%;
    background: linear-gradient(45deg, transparent 45%, var(--accent) 45%, var(--accent) 55%, transparent 55%);
    transform: rotate(45deg); border-radius: 4px;
    box-shadow: 0 0 15px rgba(185, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1); z-index: 2;
}

#custom-cursor-outline {
    width: 24px; height: 24px; border: none; border-radius: 50%;
    position: fixed; top: 0; left: 0; z-index: 999998; pointer-events: none;
    transform: translate(-50%, -50%); opacity: 0.8; filter: blur(2px);
    will-change: transform, left, top, width, height; contain: layout style paint;
}

#custom-cursor-outline::before {
    content: ''; position: absolute; width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 30%, var(--accent) 0%, transparent 70%);
    border-radius: 50%; animation: dragonPulse 2s infinite alternate;
}

#custom-cursor-outline::after {
    content: ''; position: absolute; width: 40px; height: 40px;
    background: radial-gradient(circle, rgba(255, 68, 0, 0.3) 0%, rgba(185, 0, 0, 0.2) 40%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%;
}

#custom-cursor-outline.cursor-hover {
    width: 50px; height: 50px; border-color: var(--accent);
    background-color: rgba(255, 42, 42, 0.1); box-shadow: 0 0 20px rgba(255, 42, 42, 0.5);
}

#custom-cursor-dot:hover::before, #custom-cursor-outline.cursor-hover ~ #custom-cursor-dot::before {
    background: #FF0000; box-shadow: 0 0 15px #FF0000, 0 0 30px #FF0000, inset 0 0 8px #FFFFFF;
    animation: eyeGlow 0.5s infinite alternate;
}

#custom-cursor-dot:hover::after, #custom-cursor-outline.cursor-hover ~ #custom-cursor-dot::after {
    background: linear-gradient(45deg, transparent 42%, #FF0000 42%, #FF0000 58%, transparent 58%);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.2);
}

#custom-cursor-dot.cursor-click { transform: translate(-50%, -50%) scale(0.9); animation: dragonAttack 0.3s ease-out; }
#custom-cursor-outline.cursor-click { transform: translate(-50%, -50%) scale(1.5); opacity: 1; animation: trailExplosion 0.3s ease-out; }
#custom-cursor-dot.dragging { transform: translate(-50%, -50%) scale(0.85); }
#custom-cursor-dot.dragging::before { animation: eyePulse 0.2s infinite; }

body.theme-x #custom-cursor-dot::before { background: var(--x-accent); box-shadow: 0 0 10px var(--x-accent), 0 0 20px var(--x-accent); }
body.theme-x #custom-cursor-dot::after {
    background: linear-gradient(45deg, transparent 45%, var(--x-accent) 45%, var(--x-accent) 55%, transparent 55%);
}

@keyframes dragonPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.1); opacity: 0.8; } }
@keyframes eyeGlow { 0% { box-shadow: 0 0 10px #FF0000, 0 0 20px #FF0000; } 100% { box-shadow: 0 0 15px #FF0000, 0 0 30px #FF0000, 0 0 45px #FF0000; } }
@keyframes dragonAttack { 0% { transform: translate(-50%, -50%) scale(1.3); } 50% { transform: translate(-50%, -50%) scale(0.7); } 100% { transform: translate(-50%, -50%) scale(0.9); } }
@keyframes trailExplosion { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; filter: blur(2px); } 50% { transform: translate(-50%, -50%) scale(2); opacity: 1; filter: blur(4px); } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; filter: blur(8px); } }
@keyframes eyePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }


/* ==========================================================================
    5. CORRECTION SCROLLBAR ET PROGRESS BAR
    ========================================================================== */

html::-webkit-scrollbar, body::-webkit-scrollbar, .config-options-panel::-webkit-scrollbar, .car-grid::-webkit-scrollbar {
    width: 0px !important; height: 0px !important; background: transparent;
}
html, body, .config-options-panel, .car-grid { scrollbar-width: none; -ms-overflow-style: none; }

.options-content-wrapper { overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.options-content-wrapper::-webkit-scrollbar { width: 6px !important; height: 6px !important; background-color: var(--panel); transition: all 0.3s; }
.options-content-wrapper::-webkit-scrollbar-thumb { background-color: var(--accent); border-radius: 3px; border: 1px solid var(--panel); transition: all 0.3s; }
.options-content-wrapper:hover::-webkit-scrollbar-thumb { background-color: var(--accent); box-shadow: 0 0 5px var(--accent); }
body.theme-x .options-content-wrapper::-webkit-scrollbar-thumb { background-color: var(--x-accent); }
body.theme-x .options-content-wrapper:hover::-webkit-scrollbar-thumb { background-color: var(--x-accent); box-shadow: 0 0 5px var(--x-accent); }

.pdf-preview-box { overflow-y: scroll !important; }
.pdf-preview-box::-webkit-scrollbar { width: 8px; background-color: var(--bg); }
.pdf-preview-box::-webkit-scrollbar-thumb { background-color: var(--accent); border-radius: 4px; border: 1px solid var(--bg); }

#scroll-progress-bar {
    position: fixed; top: 70px; left: 0; width: 0%; height: 5px; 
    background-color: var(--accent); z-index: var(--z-progress);
    transition: all 0.5s ease; box-shadow: 0 0 10px var(--accent); 
}


/* ==========================================================================
    6. COMPOSANTS RÉUTILISABLES
    ========================================================================== */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border: 2px solid transparent; border-radius: 4px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer; text-decoration: none; user-select: none; -webkit-user-select: none;
    transition: all var(--transition-base); 
}

.btn-cta { padding: 15px 30px; border: none; border-radius: 4px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transition: all var(--transition-base); }
.btn-cta.solid { background: var(--accent); color: white; box-shadow: none; }
.btn-cta.solid:hover { transform: var(--hover-lift-sm); filter: brightness(1.1); }
.btn-cta.outline { border: var(--border-thick); border-color: var(--text); background: transparent; color: var(--text); box-shadow: none; }
.btn-cta.outline:hover { border-color: var(--accent); color: var(--accent); }

.car-card { 
    background: var(--panel); border: var(--border-thin); border-radius: 12px; 
    overflow: hidden; cursor: default; display: flex; flex-direction: column; 
    transition: all var(--transition-bounce); 
}
.car-card:hover { transform: var(--hover-lift); border-color: var(--accent); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }

.badge {
    display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 4px;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5); 
}
.badge-highlight { background: var(--accent); color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }


/* ==========================================================================
   7. HEADER & NAVIGATION (CINEMATIC UPDATE)
   ========================================================================== */

.top-red-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px;
    background: linear-gradient(90deg, #0A0A0A 0%, #151515 50%, #0A0A0A 100%); 
    z-index: var(--z-header); box-shadow: 0 2px 10px rgba(0,0,0,0.8);
    border-bottom: var(--border-accent); border-bottom-color: var(--road-accent);
    display: flex; align-items: center; transform: translateZ(0); will-change: transform;
}
body.theme-x .top-red-bar { border-bottom-color: var(--x-accent); }

.nav-container { width: 95%; max-width: 1800px; margin: 0 auto; height: 100%; display: flex; align-items: center; }

.logo-dranox { display: flex; align-items: center; gap: 15px; text-decoration: none; z-index: var(--z-content); flex: 1; min-width: 300px; }
.header-logo-img { height: 52px; width: auto; object-fit: contain; filter: drop-shadow(0 0 3px rgba(0,0,0,0.8)); transition: transform 0.3s ease; }
.logo-dranox:hover .header-logo-img { transform: scale(1.05); }
.logo-dranox i { display: none; } 
#dynamic-logo-title {
    font-family: var(--font-title); font-weight: 900; font-size: 1.4rem; 
    background-image: linear-gradient(90deg, #FFFFFF 0%, var(--accent) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}

#dynamic-info-bar {
    display: flex; align-items: center; justify-content: flex-end; gap: 20px; height: 100%;
    flex: 1; min-width: 300px; font-family: var(--font-mono); font-size: 0.85rem; color: #888; white-space: nowrap;
}
#dynamic-info-bar span i { color: var(--accent); margin-right: 5px; }
#dynamic-info-bar .univers-tag { font-weight: bold; color: var(--accent); text-transform: uppercase; }

.header-nav-links { display: flex; align-items: center; justify-content: center; height: 100%; flex: 0 0 auto; }
.header-nav-link {
    display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 35px;
    font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; color: #ccc;
    text-decoration: none; background: transparent; border: none; position: relative; transition: all 0.3s ease;
}
.header-nav-link::after { content: ''; position: absolute; right: 0; top: 20px; bottom: 20px; width: 1px; background: rgba(255, 255, 255, 0.1); }
.header-nav-link:last-child::after { display: none; }
.header-nav-link i { margin-right: 12px; font-size: 1rem; color: #666; transition: all 0.3s; }
.header-nav-link:hover { color: white; background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.05) 100%); }
.header-nav-link:hover i { color: var(--accent); transform: scale(1.1); }
.header-nav-link.active { color: white; box-shadow: inset 0 -4px 0 var(--accent); }

.menu-toggle-btn {
    background: none; border: 1px solid rgba(255,255,255,0.2); color: white; padding: 10px 14px;
    border-radius: 4px; font-size: 1.2rem; transition: 0.3s; margin-left: 15px; cursor: pointer; z-index: var(--z-progress);
}
.menu-toggle-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,255,255,0.05); }
#mobile-menu-toggle { display: none; justify-content: center; align-items: center; }

@media (min-width: 1201px) {
    #mobile-menu-toggle { display: none !important; }
    #menu-voiture-toggle { display: flex !important; }
    .header-nav-links { display: flex !important; }
}
@media (max-width: 1200px) {
    #mobile-menu-toggle { display: flex !important; visibility: visible !important; opacity: 1 !important; margin-left: auto; }
    .header-nav-links { display: none !important; }
    #menu-voiture-toggle { display: none !important; }
    .logo-dranox { flex: 1; min-width: 0; }
    #dynamic-info-bar { display: none; }
}

.menu-voiture-wrapper { position: relative; height: 100%; display: flex; }
.menu-voiture-wrapper .header-nav-link { height: 100%; }

.main-nav-dropdown {
    position: fixed; top: 70px; left: 50%; transform: translateX(-50%) translateY(-20px);
    width: 80vw; max-width: 1400px; max-height: 80vh; padding: 30px;
    background: #0f0f0f; border: 1px solid #333; border-top: 3px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9); z-index: var(--z-dropdown);
    display: flex; flex-direction: column; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; scrollbar-width: none;
    /* Pour la barre du bas */
    padding-bottom: 60px !important; 
    overflow: hidden;
}
.main-nav-dropdown.visible-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.main-nav-dropdown::-webkit-scrollbar, .main-nav-content::-webkit-scrollbar { width: 0px; height: 0px; }
.main-nav-content { text-align: center; width: 100%; margin: 0 auto; padding: 20px; overflow-y: auto; flex-grow: 1; }

/* --- BANNIÈRE NOUVEAUTÉ (Cinematic Featured) --- */
#nouveaute-banner {
    position: relative;
    display: flex; justify-content: flex-end; align-items: center;
    width: 100%; height: 300px; margin: 0 auto 40px auto; padding: 50px;
    background-size: cover; background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.1); border-right: 3px solid var(--accent);
    text-decoration: none; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
#nouveaute-banner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, #050505 0%, rgba(5,5,5,0.8) 40%, rgba(5,5,5,0.4) 100%);
    z-index: 1; transition: opacity 0.5s ease;
}
#nouveaute-banner::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.3) 3px);
    pointer-events: none; z-index: 1; opacity: 0.6;
}
#nouveaute-banner:hover { border-color: var(--accent); transform: scale(1.01); box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
#nouveaute-banner:hover::before { opacity: 0.8; background: linear-gradient(to right, #050505 0%, rgba(5,5,5,0.6) 50%, rgba(5,5,5,0.1) 100%); }
#nouveaute-banner .text-group { position: relative; z-index: 2; text-align: right; max-width: 60%; transform: translateX(0); transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
#nouveaute-banner:hover .text-group { transform: translateX(-15px); }
#nouveaute-banner p { font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent); letter-spacing: 4px; text-transform: uppercase; margin-bottom: 10px; font-weight: bold; text-shadow: 0 0 10px rgba(0,0,0,0.8); }
#nouveaute-banner h3 { font-family: var(--font-title); font-size: 3.5rem; line-height: 0.9; color: white; margin: 0 0 25px 0; text-transform: uppercase; text-shadow: 0 5px 20px rgba(0,0,0,0.8); background: linear-gradient(180deg, #fff, #aaa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#nouveaute-banner .cta-btn { display: inline-flex; align-items: center; padding: 12px 30px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.3); color: white; font-family: var(--font-title); font-size: 0.9rem; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; backdrop-filter: blur(5px); transition: all 0.3s ease; }
#nouveaute-banner .cta-btn i { margin-left: 10px; transition: transform 0.3s ease; }
#nouveaute-banner:hover .cta-btn { background: var(--accent); border-color: var(--accent); color: var(--bg); box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.5); }
#nouveaute-banner:hover .cta-btn i { transform: translateX(5px); }

#nav-car-list { display: flex; justify-content: space-between; gap: 40px; width: 100%; }

/* --- MENU VOITURES CINÉMATIQUE (Style "Strips") --- */
.nav-car-column { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.nav-car-column h2 { font-family: var(--font-title); font-size: 1rem; color: var(--accent); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; margin-bottom: 15px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; }
.nav-car-item { position: relative; display: flex; align-items: center; justify-content: space-between; height: 80px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); padding: 0; text-decoration: none; overflow: hidden; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); opacity: 0; transform: translateX(-20px); animation: menuSlideIn 1.4s forwards; }
@keyframes menuSlideIn { to { opacity: 1; transform: translateX(0); } }
.nav-car-item:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--accent); transform: translateX(5px); box-shadow: 0 0 15px rgba(0,0,0,0.5); }
.nav-car-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform 0.3s ease; }
.nav-car-item:hover::before { transform: scaleY(1); }
.nav-car-info { padding-left: 20px; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.nav-car-info strong { font-family: var(--font-title); font-size: 1.1rem; color: white; letter-spacing: 1px; text-transform: uppercase; }
.nav-car-price { font-family: var(--font-mono); font-size: 0.8rem; color: #888; margin-top: 4px; }
.nav-car-item:hover .nav-car-price { color: var(--accent); }
.nav-car-thumb { position: relative; width: 140px; height: 100%; clip-path: polygon(20px 0, 100% 0, 100% 100%, 0% 100%); margin-left: auto; }
.nav-car-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) brightness(0.7); transition: all 0.4s ease; }
.nav-car-item:hover .nav-car-thumb img { filter: none; transform: scale(1.1); }
.nav-car-item.x { border-color: rgba(255, 0, 0, 0.1); }
.nav-car-item.x:hover { border-color: var(--x-accent); box-shadow: 0 0 15px rgba(255, 0, 0, 0.2); }

/* --- BARRE DU BAS (QUICK LINKS) : DISCRÈTE & COLLÉE --- */
#menu-quick-links-fixed-wrapper { position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 0; z-index: 100; display: flex; align-items: center; }
#menu-quick-links-dynamic { display: flex; width: 100%; height: 100%; gap: 0; }
.nav-quick-link { flex: 1; display: flex; align-items: center; justify-content: center; height: 100%; background: transparent; color: #555; text-decoration: none; font-family: var(--font-title); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; border: none; position: relative; transition: all 0.3s ease; }
.nav-quick-link:first-child { border-right: 1px solid rgba(255, 255, 255, 0.05); }
.nav-quick-link:hover { background: rgba(255, 255, 255, 0.02); color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.nav-quick-link[href*="#x"]:hover { color: var(--x-accent); text-shadow: 0 0 10px var(--x-accent); }
.nav-quick-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.nav-quick-link:hover::after { transform: scaleX(1); }
.nav-quick-link[href*="#x"]::after { background: var(--x-accent); }


/* ==========================================================================
    8. PAGES SPÉCIFIQUES: ACCUEIL (INDEX)
    ========================================================================== */

#page-home .cinematic-header {
    height: 100vh; width: 100%; position: relative; display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: black;
}
.hero-video-bg {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%; width: auto; height: auto; object-fit: cover; z-index: 0; opacity: 0.6;
}
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 90%); z-index: 1; }
.hero-text-box {
    position: relative; z-index: 2; text-align: center; color: white; max-width: 900px; padding: 40px;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-text-box h1 {
    font-family: var(--font-title); font-size: 4rem; margin-bottom: 10px; text-shadow: 0 10px 30px rgba(0,0,0,0.8); text-transform: uppercase;
}
.hero-text-box .hero-actions { display: flex; gap: 20px; justify-content: center; align-items: center; margin-top: 40px; }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

.reveal-hidden { opacity: 0; transform: translateY(50px) scale(0.98); filter: blur(5px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.manifesto-section {
    position: relative; background-image: url('images/genese-dranox.png'); 
    background-attachment: fixed; background-position: center; background-size: cover; background-repeat: no-repeat;
    padding: 140px 20px; color: white; text-align: center; border-top: 5px solid var(--accent); background-color: #1a1a1a;
}
.manifesto-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.75); z-index: 1; }
.manifesto-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.manifesto-title { font-family: 'Orbitron', sans-serif; font-size: 3rem; line-height: 1.2; margin-bottom: 30px; text-transform: uppercase; font-weight: 900; }
.text-accent { color: var(--accent); text-shadow: 0 0 30px rgba(185, 0, 0, 0.4); }
.manifesto-text { font-size: 1.2rem; line-height: 1.8; color: #e0e0e0; font-family: 'Montserrat', sans-serif; margin-bottom: 50px; font-weight: 400; }
.manifesto-text em { display: block; margin-top: 20px; color: var(--accent); font-style: normal; font-family: 'Dancing Script'; font-size: 1.8rem; letter-spacing: 1px; }
.signature-block { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; }
.signature-img { height: 160px; filter: invert(1); opacity: 0.8; }

.legacy-section { background-color: #0e0e0e; padding: 120px 5%; border-bottom: 1px solid #222; }
.legacy-container { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 80px; flex-wrap: wrap; }
.legacy-image { flex: 1; min-width: 300px; position: relative; }
.img-legacy-main { width: 100%; border-radius: 2px; box-shadow: 20px 20px 0px #1a1a1a, 20px 20px 0px 2px var(--accent); filter: grayscale(20%) contrast(1.1); transition: 0.5s; }
.legacy-image:hover .img-legacy-main { filter: grayscale(0%); transform: scale(1.02); }
.legacy-badge { position: absolute; bottom: -20px; left: -20px; background: var(--accent); color: white; padding: 20px 30px; font-family: var(--font-title); font-weight: bold; display: flex; flex-direction: column; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.legacy-badge i { font-size: 1.8rem; margin-top: 8px; }
.legacy-text { flex: 1; min-width: 300px; }
.section-subtitle { color: var(--accent); font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 3px; margin-bottom: 15px; display: block; text-transform: uppercase; }
.section-heading { font-family: var(--font-title); font-size: 2.8rem; color: white; margin-bottom: 30px; text-transform: uppercase; }
.separator-left { width: 80px; height: 4px; background: var(--accent); margin-bottom: 40px; }
.legacy-text p { font-size: 1.1rem; line-height: 1.8; color: #999; margin-bottom: 25px; }
.verse-block { margin-top: 40px; padding: 20px 25px; border-left: 3px solid var(--accent); font-family: var(--font-script); font-size: 1.6rem; color: #ddd; line-height: 1.5; background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent); }

.pillars-section { display: flex; flex-wrap: wrap; background: #080808; padding: 0; }
.pillar-card { flex: 1; min-width: 280px; background: #0a0a0a; padding: 90px 40px; text-align: center; border-right: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; transition: all 0.4s ease; cursor: default; position: relative; }
.pillar-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform 0.4s ease; }
.pillar-card:hover { background: #111; transform: translateY(-5px); z-index: 2; box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-icon { font-size: 3rem; color: #333; margin-bottom: 30px; transition: 0.4s; }
.pillar-card:hover .pillar-icon { color: var(--accent); transform: scale(1.2) rotate(10deg); text-shadow: 0 0 20px rgba(185, 0, 0, 0.5); }
.pillar-card h3 { font-family: var(--font-title); color: white; margin-bottom: 15px; font-size: 1.4rem; letter-spacing: 2px; }
.pillar-card p { color: #777; font-size: 1rem; line-height: 1.6; max-width: 300px; margin: 0 auto; }

.cinematic-section { position: relative; padding: 100px 0; overflow: hidden; }
.road-editorial { background: #f8f8f8; color: #1a1a1a; }
.elegant-bg-flow { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, #f0f0f0 0%, #ffffff 60%); pointer-events: none; z-index: 0; }
.section-header-luxe { text-align: center; margin-bottom: 80px; position: relative; z-index: 2; }
.luxe-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 3.5rem; letter-spacing: -1px; text-transform: uppercase; }
.serif-italic { font-family: 'Dancing Script', serif; font-weight: 400; color: var(--accent); text-transform: none; font-size: 4rem; margin-left: 10px; }
.luxe-separator { width: 60px; height: 3px; background: var(--accent); margin: 30px auto; }
.editorial-row { display: flex; align-items: stretch; min-height: 60vh; margin-bottom: 0; position: relative; z-index: 2; }
.editorial-row:nth-child(even) { flex-direction: row-reverse; }
.ed-image-col { flex: 1.2; position: relative; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.ed-image-col img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1); }
.editorial-row:hover .ed-image-col img { transform: scale(1.05); }
.ed-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); opacity: 0; transition: 0.5s; display: flex; align-items: center; justify-content: center; }
.editorial-row:hover .ed-overlay { opacity: 1; }
.btn-discover-circle { width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,0.9); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transform: scale(0.8); transition: 0.5s; cursor: pointer; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.editorial-row:hover .btn-discover-circle { transform: scale(1); }
.ed-content-col { flex: 0.8; background: white; padding: 60px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; z-index: 2; box-shadow: 0 0 50px rgba(0,0,0,0.05); }
.editorial-row:nth-child(odd) .ed-content-col { margin-left: -50px; }
.editorial-row:nth-child(even) .ed-content-col { margin-right: -50px; }
.ed-car-type { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 3px; color: var(--accent); text-transform: uppercase; margin-bottom: 5px; opacity: 0.8; }
.ed-model-name { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; margin-bottom: 15px; color: #000; }
.ed-tagline { font-family: 'Dancing Script', cursive; font-size: 1.8rem; color: var(--accent); margin-bottom: 30px; }
.ed-awards-container { display: flex; gap: 20px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.ed-award-item { display: flex; align-items: center; gap: 8px; color: #b8860b; font-size: 0.9rem; font-family: 'Montserrat', sans-serif; }
.ed-award-item i { font-size: 1.2rem; }
.ed-specs-mini { display: flex; gap: 30px; margin-bottom: 40px; padding-top: 20px; border-top: 1px solid #eee; width: 100%; }
.ed-spec-item b { display: block; font-size: 1.2rem; }
.ed-spec-item span { font-size: 0.8rem; text-transform: uppercase; color: #888; }
.ed-price { font-size: 1.5rem; font-weight: bold; color: #333; margin-bottom: 30px; }

.x-vault { background: #050505; color: #fff; border-top: 5px solid var(--accent); }
.vault-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, #000 90%); pointer-events: none; z-index: 1; }
.vault-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 68, 68, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 68, 68, 0.05) 1px, transparent 1px); background-size: 40px 40px; z-index: 0; pointer-events: none; }
.section-header-tech { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }
.tech-title { font-family: 'Orbitron', sans-serif; font-size: 3rem; letter-spacing: 10px; color: #fff; text-shadow: 0 0 15px rgba(255, 68, 68, 0.5); }
.tech-subtitle { font-family: 'Courier New', monospace; color: var(--accent); margin-top: 10px; }
.vault-grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 2; }
.vault-card { clip-path: polygon(30px 0, 100% 0, 100% 85%, calc(100% - 30px) 100%, 0 100%, 0 30px); background: #111; margin-bottom: 30px; position: relative; height: 450px; filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5)); transition: all 0.3s ease; cursor: pointer; }
.vault-card:hover { filter: drop-shadow(0 0 2px var(--accent)) drop-shadow(0 0 10px var(--accent)); transform: translateY(-5px); z-index: 10; }
.vault-img-wrapper { height: 100%; width: 100%; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.vault-card:hover .vault-img-wrapper { transform: scale(1.05); }
.vault-scanline { position: absolute; top: -20%; left: 0; width: 100%; height: 50%; background: linear-gradient(to bottom, transparent, var(--accent), transparent); opacity: 0; pointer-events: none; z-index: 5; }
.vault-card:hover .vault-scanline { opacity: 0.3; animation: scanMove 2s infinite linear; }
@keyframes scanMove { 0% {top: -50%;} 100% {top: 150%;} }
.vault-tech-badge { position: absolute; top: 0; right: 0; background: rgba(10, 10, 10, 0.9); border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent); padding: 8px 15px; display: flex; flex-direction: column; align-items: flex-end; z-index: 5; clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.v-spec-line { font-family: 'Orbitron', monospace; font-size: 0.75rem; color: #fff; letter-spacing: 1px; }
.v-spec-line b { color: var(--accent); margin-right: 5px; }
.highlight-type { color: var(--accent) !important; font-weight: bold; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: right; width: 100%; letter-spacing: 2px; }
.vault-floating-awards { position: absolute; bottom: 90px; right: 10px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; z-index: 20; }

/* --- AWARDS INTERACTIFS --- */
.v-award-pill { 
    background: linear-gradient(90deg, rgba(0,0,0,0.8), rgba(20,20,20,0.9)); 
    padding: 6px 12px; border-right: 3px solid #FFD700; 
    display: flex; align-items: center; gap: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.8); 
    transform: translateX(0); 
    transition: 0.3s; 
}
.v-award-pill:hover { transform: translateX(-5px); border-color: white; }
.v-award-pill i { color: #FFD700; font-size: 1.4rem; filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.8)); }

/* Texte des awards masqué par défaut */
.v-award-pill span { 
    font-size: 0.75rem; 
    color: #eee; 
    font-family: 'Montserrat'; 
    font-weight: bold; 
    text-transform: uppercase;
    
    max-width: 0;         /* Caché */
    opacity: 0;           /* Invisible */
    overflow: hidden; 
    white-space: nowrap; 
    margin-left: 0;
    transition: all 0.4s ease; 
}

/* Texte des awards visible au survol */
.v-award-pill:hover span {
    max-width: 150px;     /* Dévoilé */
    opacity: 1;           /* Visible */
    margin-left: 10px; 
}

/* --- VOITURES DIVISION X (ACCUEIL) : GRISES -> COULEUR AU SCAN --- */
.x-vault .vault-card img {
    filter: grayscale(100%);  /* Gris par défaut */
    opacity: 0.6;             /* Un peu sombre */
    transition: all 0.5s ease;
}

.x-vault .vault-card:hover img {
    filter: none;             /* Couleur au survol */
    opacity: 1;               /* Pleine lumière */
}

.vault-info-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 20px 35px 20px; background: linear-gradient(to top, #080808 30%, transparent 100%); z-index: 10; }
.vault-title { font-family: 'Orbitron'; font-size: 1.8rem; color: white; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; text-shadow: 0 2px 10px black; pointer-events: none; }
.vault-price-accent { color: var(--accent); font-family: 'Courier New'; font-weight: bold; font-size: 1.2rem; margin-bottom: 0; display: block; opacity: 0; transition: 0.3s; height: 0; }
.vault-card:hover .vault-price-accent { opacity: 1; height: auto; margin-bottom: 15px; }
.vault-actions-hidden { height: 0; opacity: 0; overflow: hidden; transition: all 0.4s ease; transform: translateY(20px); }
.vault-card:hover .vault-actions-hidden { height: 50px; opacity: 1; transform: translateY(0); }
.btn-vault-wide { display: flex; align-items: center; justify-content: center; width: 100%; height: 45px; background: var(--accent); color: white; text-decoration: none; font-family: 'Orbitron'; font-weight: bold; font-size: 1rem; letter-spacing: 2px; clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px); transition: 0.2s; }
.btn-vault-wide:hover { background: white; color: black; box-shadow: 0 0 20px white; }
.btn-vault-wide i { margin-left: 10px; }

.services-panel { background-color: #0f0f0f; color: white; position: relative; border-top: 1px solid #222; }
.services-bg-pattern { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 25%), radial-gradient(circle at 85% 30%, rgba(185, 0, 0, 0.05) 0%, transparent 25%); }
.services-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.5rem; letter-spacing: -1px; margin-bottom: 10px; }
.services-subtitle { font-family: 'Dancing Script', cursive; color: #888; font-size: 1.5rem; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1400px; margin: 0 auto; }
.service-item { background: rgba(255, 255, 255, 0.02); padding: 40px 20px; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s; }
.service-item:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--accent); transform: translateY(-5px); }
.service-icon-box { width: 60px; height: 60px; margin: 0 auto 25px auto; background: linear-gradient(135deg, #222, #111); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.3); border: 1px solid #333; transition: 0.3s; }
.service-item:hover .service-icon-box { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 20px rgba(185, 0, 0, 0.4); }
.service-icon-box i { font-size: 1.5rem; color: #fff; }
.service-item h3 { font-family: 'Orbitron'; font-size: 1.1rem; margin-bottom: 15px; color: #fff; }
.service-item p { font-size: 0.9rem; color: #aaa; line-height: 1.6; }
.btn-service-cta { display: inline-block; padding: 15px 40px; background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); font-family: 'Montserrat', sans-serif; font-weight: bold; letter-spacing: 2px; text-decoration: none; transition: 0.3s; }
.btn-service-cta:hover { background: white; color: black; border-color: white; box-shadow: 0 0 30px rgba(255,255,255,0.1); }

@media (max-width: 900px) {
    .legacy-container { flex-direction: column; text-align: center; }
    .separator-left { margin: 0 auto 30px auto; }
    .editorial-row { flex-direction: column !important; min-height: auto; margin-bottom: 50px; }
    .editorial-row:nth-child(even) { flex-direction: column !important; }
    .ed-image-col { height: 300px; clip-path: none; }
    .ed-content-col { width: 90%; margin: -50px auto 0 auto !important; padding: 30px; }
    .luxe-title { font-size: 2rem; }
    .manifesto-title { font-size: 2rem; }
    .manifesto-section { background-attachment: scroll; }
}


/* ==========================================================================
    9. PAGES SPÉCIFIQUES: DÉTAIL (DETAIL)
    ========================================================================== */
#page-detail { padding-top: 70px; }
#page-detail #d-name { background-image: linear-gradient(90deg, var(--accent) 0%, #FFFFFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 5px 15px rgba(0,0,0,1); letter-spacing: 5px; }

.detail-hero { height: calc(100vh - 70px); position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden; margin-bottom: 80px; border-bottom: 3px solid var(--accent); }
.hero-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-bg-container video, .hero-bg-container img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.5s; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: radial-gradient(circle at center, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%); }
#d-name { font-family: 'Orbitron', sans-serif; font-size: 5rem; text-transform: uppercase; text-shadow: 0 10px 30px rgba(0,0,0,1); letter-spacing: 5px; color: var(--text); transition: color 0.5s; }
#d-tagline { font-size: 1.8rem; letter-spacing: 5px; font-weight: 300; text-transform: uppercase; text-shadow: 0 5px 15px rgba(0,0,0,1); color: var(--accent); }
.scroll-down-arrow { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: white; font-size: 2rem; z-index: 2; animation: bounce 2s infinite; text-shadow: 0 0 10px rgba(0,0,0,0.8); }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);} 40% {transform: translateY(-20px) translateX(-50%);} 60% {transform: translateY(-10px) translateX(-50%);} }

.detail-container { max-width: 1400px; margin: 0 auto; padding: 0 5% 80px 5%; }
.section-title { font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 25px; border-left: 5px solid var(--accent); padding-left: 20px; text-transform: uppercase; }
.car-description { font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; opacity: 0.9; }
.verse-display { text-align: center; font-family: 'Dancing Script', cursive; font-size: 2.5rem; color: var(--accent); margin: 0 10% 80px 10%; padding: 20px 0; line-height: 1.4; border-bottom: 1px solid var(--border); border-top: 1px solid var(--border); }

.info-grid { display: flex; gap: 80px; margin-bottom: 80px; flex-wrap: wrap; align-items: flex-start; }
.info-left { flex: 1.5; min-width: 400px; }
.info-right { flex: 1; min-width: 300px; display: flex; flex-direction: column; align-self: flex-start; }
.detail-features-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.feature-tag { background: rgba(128,128,128,0.1); padding: 10px 20px; border-radius: 30px; font-weight: bold; border: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.feature-tag i { color: var(--accent); }

.kinetic-container{padding:60px 5%;perspective:2500px;background:radial-gradient(circle at top right,rgba(197,160,89,0.05),transparent)}
.gallery-label{font-family:'Orbitron';color:var(--accent);letter-spacing:6px;font-size:.7rem;margin-bottom:30px;text-transform:uppercase;display:flex;align-items:center;gap:15px}
.gallery-label::after{content:'';height:1px;flex:1;background:linear-gradient(90deg,var(--accent),transparent);opacity:.3}
.kinetic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:30px;transform:rotateX(12deg) rotateY(-15deg);transform-style:preserve-3d;transition:transform .8s cubic-bezier(.2,1,.3,1)}
.kinetic-grid:hover{transform:rotateX(5deg) rotateY(-5deg)}
.kinetic-item{position:relative;aspect-ratio:16/9;background:#080808;overflow:hidden;cursor:pointer;border:1px solid rgba(255,255,255,0.08);filter:blur(1px) grayscale(.8);transition:all .6s cubic-bezier(.2,1,.3,1);transform-style:preserve-3d}
.kinetic-item::before{content:'';position:absolute;inset:0;background:linear-gradient(45deg,transparent 45%,rgba(255,255,255,0.1) 50%,transparent 55%);transform:translateX(-100%);transition:transform .6s}
.kinetic-item:hover::before{transform:translateX(100%)}
.kinetic-item::after{content:'SCANNING...';position:absolute;top:10px;left:10px;font:9px 'Roboto Mono';color:var(--accent);opacity:0;transition:.3s}
.kinetic-item:hover{filter:blur(0) grayscale(0);transform:scale(1.15) translateZ(100px);z-index:100;border-color:var(--accent);box-shadow:0 20px 50px rgba(0,0,0,0.5),var(--glow)}
.kinetic-item:hover::after{opacity:1}
.kinetic-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1s ease}
.kinetic-item:hover img{transform:scale(1.1)}
.theater-overlay{position:fixed;inset:0;background:radial-gradient(circle,rgba(15,15,15,0.99) 0%,#000 100%);z-index:99999;display:none;align-items:center;justify-content:center;backdrop-filter:blur(25px)}
.theater-overlay.active{display:flex;animation:theatreIn .5s forwards}
.theater-content{position:relative;width:90%;max-width:1400px;transform-style:preserve-3d}
#t-img{width:100%;max-height:85vh;object-fit:contain;filter:drop-shadow(0 0 30px rgba(0,0,0,0.8));border:1px solid rgba(255,255,255,0.05)}
.theater-nav{position:absolute;top:50%;width:106%;left:-3%;display:flex;justify-content:space-between;transform:translateZ(50px);pointer-events:none}
.t-btn{background:rgba(0,0,0,0.8);border:1px solid var(--accent);color:var(--accent);width:60px;height:60px;cursor:pointer;font-family:'Orbitron';display:flex;align-items:center;justify-content:center;transition:.3s;pointer-events:all;clip-path:polygon(15% 0,100% 0,85% 100%,0 100%)}
.t-btn:hover{background:var(--accent);color:#000;box-shadow:var(--glow)}
.t-close{position:absolute;top:-60px;right:0;color:var(--accent);font-size:1.5rem;cursor:pointer;font-family:'Orbitron';display:flex;align-items:center;gap:10px;opacity:.6;transition:.3s}
.t-close:hover{opacity:1;letter-spacing:2px}
#t-counter{color:var(--accent);margin-top:25px;font:11px 'Roboto Mono';letter-spacing:3px;text-transform:uppercase;opacity:.5}
@keyframes theatreIn{from{opacity:0;transform:scale(1.1)}to{opacity:1;transform:scale(1)}}
@media (max-width:768px){.kinetic-grid{transform:none!important;grid-template-columns:1fr}.kinetic-item:hover{transform:scale(1.05) translateZ(0)}}

.buy-card { background: var(--panel); border: var(--border-thin); border-color: var(--pro-border); padding: 40px; border-radius: 15px; box-shadow: var(--pro-shadow); text-align: center; top: 100px; margin-bottom: 40px; overflow: hidden; transition: all 0.5s ease; align-self: flex-start; }
body.theme-x .buy-card { border-color: var(--pro-border); box-shadow: var(--pro-shadow); }
body.theme-x .full-btn { box-shadow: none; } 
.full-btn { width: 100%; padding: 20px; font-size: 1.2rem; font-weight: 900; transition: all 0.1s; transform: translateY(0); position: relative; box-shadow: none; }
.full-btn:active { transform: translateY(1px); box-shadow: none; }
.cta-note { font-size: 0.8rem; color: #999; margin-top: 15px; }
.awards-title { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 20px; border-bottom: 3px solid var(--accent); display: inline-block; padding-bottom: 5px; color: var(--text); }
.awards-list { display: flex; flex-direction: column; gap: 15px; margin-bottom: 50px; padding-left: 0; list-style: none; }
.award-item { display: flex; align-items: center; gap: 20px; padding: 15px 25px; border-radius: 8px; background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.05) 5%, transparent 100%); border: 1px solid rgba(255, 215, 0, 0.3); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s; }
.award-item:hover { transform: var(--hover-lift-sm); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); }
.award-icon { font-size: 2.2rem; color: #FFD700; text-shadow: 0 0 5px rgba(255, 215, 0, 0.7); }

.full-width-specs { width: 100vw; margin-left: calc(50% - 50vw); padding: 100px 0; background: var(--x-panel); border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent); box-shadow: 0 0 50px rgba(0, 0, 0, 0.6); }
.specs-content-wrapper { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.specs-main-title { text-align: center; font-family: var(--font-title); font-size: 3.8rem; margin-bottom: 50px; color: var(--accent); text-transform: uppercase; letter-spacing: 8px; padding-bottom: 25px; border-bottom: 4px double var(--accent); display: table; margin-left: auto; margin-right: auto; }
.specs-grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 70px; margin-top: 50px; }
.spec-category-column { background: var(--x-bg); padding: 35px; border-radius: 4px; border: 1px solid var(--pro-border); box-shadow: 0 0 10px rgba(255, 42, 42, 0.1); transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.spec-category-column:hover { border-color: var(--accent); box-shadow: 0 0 20px var(--accent); transform: var(--hover-lift-sm); } 
.spec-category-column:before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--accent); transform: translateX(-100%); transition: transform 0.4s ease-out; }
.spec-category-column:hover:before { transform: translateX(0); }
.spec-cat-title { font-family: var(--font-title); color: var(--accent); font-size: 1.6rem; margin-bottom: 25px; border-bottom: 3px solid var(--accent); padding-bottom: 12px; display: block; text-transform: uppercase; letter-spacing: 2px; }
.spec-line { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 1.05rem; line-height: 1.4; word-break: normal; color: var(--x-text); }
.spec-line span:first-child { color: #999; font-weight: 500; margin-right: 15px; width: 70%; }
.spec-line b { font-family: var(--font-mono); color: var(--x-accent); font-weight: 700; text-align: right; width: 25%; flex-shrink: 0; }

.distinctions-vault { margin: 60px 0; padding: 40px; background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.03) 0%, transparent 100%); border-left: 3px solid var(--accent); position: relative; overflow: hidden; border-radius: 0 8px 8px 0; }
.awards-header { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.awards-title { font-family: var(--font-title); font-size: 0.9rem; letter-spacing: 5px; color: var(--accent); margin: 0; font-weight: 700; }
.header-decor { height: 1px; flex: 1; background: linear-gradient(90deg, var(--accent), transparent); opacity: 0.2; }
.awards-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.award-card { position: relative; padding: 30px 20px; background: var(--panel); border: 1px solid var(--border); transition: all var(--transition-bounce); display: flex; flex-direction: column; align-items: center; text-align: center; border-radius: 4px; box-shadow: var(--shadow); }
.award-card:hover { background: var(--panel); border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.award-icon-wrapper { font-size: 2.5rem; color: var(--accent); margin-bottom: 15px; filter: drop-shadow(0 4px 10px rgba(var(--accent-rgb), 0.2)); transition: transform 0.3s ease; }
.award-card:hover .award-icon-wrapper { transform: scale(1.1); }
.award-info b { display: block; font-family: var(--font-title); font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 8px; text-transform: uppercase; color: var(--text); }
.award-info small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text); opacity: 0.6; letter-spacing: 1px; text-transform: uppercase; }
.vault-footer-info { margin-top: 30px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--text); opacity: 0.3; letter-spacing: 2px; }

.kinetic-container { padding: 40px 20px; perspective: 2000px; }
.kinetic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; transform: rotateX(8deg) rotateY(-12deg); transform-style: preserve-3d; }
.kinetic-item { position: relative; aspect-ratio: 16/9; background: var(--panel); overflow: hidden; cursor: pointer; border: 1px solid var(--border); filter: grayscale(0.5); transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1); }
.kinetic-item:hover { filter: grayscale(0); transform: scale(1.1) translateZ(50px); z-index: 50; border-color: var(--accent); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.theater-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: var(--z-modal); display: none; align-items: center; justify-content: center; backdrop-filter: blur(15px); }
.theater-overlay.active { display: flex; }
.t-btn { background: rgba(0,0,0,0.5); border: 1px solid var(--accent); color: var(--accent); padding: 15px 25px; cursor: pointer; font-family: var(--font-title); transition: 0.3s; }
.t-btn:hover { background: var(--accent); color: white; }
#t-counter { color: var(--accent); margin-top: 15px; font-family: var(--font-mono); font-size: 0.8rem; }


/* ==========================================================================
    10. PAGES SPÉCIFIQUES: CONFIGURATEUR
    ========================================================================== */

body#page-configurator { padding-left: 0px; padding-right: 0px; padding-top: 70px; min-height: 100vh; background-color: var(--bg); } 

#quick-nav {
    position: fixed; top: 70px; left: 0; bottom: 0; width: 130px; background: var(--panel); color: var(--text);
    border-right: 3px solid var(--accent); box-shadow: 5px 0 15px rgba(0,0,0,0.5); z-index: var(--z-sidebar); 
    display: none; flex-direction: column; align-items: center; padding: 10px 0; gap: 20px; overflow-y: auto; will-change: transform;
}
body#page-configurator #quick-nav { display: flex; }

.quick-nav-header { display: flex; justify-content: center; gap: 0; width: 100%; padding: 10px 0 20px 0; border-bottom: none; margin-bottom: 20px; position: relative; z-index: 20; }
.quick-nav-header:after { content: ''; position: absolute; width: 10px; height: 100%; left: 50%; top: 0; transform: translateX(-50%) skewX(-10deg); background: linear-gradient(to top, var(--road-accent) 0%, var(--x-accent) 100%); z-index: 21; box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }
.univ-switch-btn { flex-grow: 1; padding: 20px 5px; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; border: none; border-radius: 0; opacity: 0.8; transition: all 0.3s; font-family: var(--font-title); letter-spacing: 1px; position: relative; z-index: 15; }
.univ-switch-btn[data-universe='road'] { background-color: var(--road-panel); color: var(--road-text); }
.univ-switch-btn[data-universe='x'] { background-color: var(--x-panel); color: var(--x-text); }
.univ-switch-btn.active { opacity: 1; color: white !important; background: var(--accent) !important; box-shadow: 0 0 8px var(--accent); font-weight: 900; }
.univ-switch-btn[data-universe='x'].active { background: var(--x-accent) !important; color: var(--x-panel) !important; }

.quick-thumb { width: 100px; height: auto; border-radius: 4px; overflow: hidden; cursor: pointer; border: 1px solid var(--pro-border); opacity: 0.7; transition: all 0.3s; background: #000; position: relative; box-shadow: 0 2px 5px rgba(0,0,0,0.3); aspect-ratio: 4/3; }
.quick-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; background: linear-gradient(45deg, #222, #444); }
.quick-thumb:hover { opacity: 0.9; border-color: var(--accent); transform: var(--hover-scale-sm); box-shadow: 0 0 10px rgba(255, 42, 42, 0.3); }
.quick-thumb.active { opacity: 1; border: 2px solid white; transform: scale(1.08) translateY(-2px); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent); z-index: 10; }
.quick-thumb.active:hover { transform: scale(1.08) translateY(-2px); border-color: white; }

.config-container { max-width: none; padding: 10px 5% 20px 5%; }
.config-container #step-2 { margin-left: -5%; margin-right: -5%; }
#step-1, #step-3, #step-4 { max-width: 1200px; margin-left: auto; margin-right: auto; }
.final-layout-form { max-width: 800px; }

.universe-selector { display: flex; justify-content: center; gap: 0; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; border: 2px solid var(--pro-border); border-radius: 6px; overflow: hidden; position: relative; box-shadow: var(--pro-shadow); }
.universe-selector:before { content: ''; position: absolute; width: 16px; height: 100%; left: 50%; top: 0; transform: skewX(-10deg) translateX(-8px); background: linear-gradient(to bottom, var(--road-accent) 0%, var(--x-accent) 100%); z-index: 10; }
.universe-selector .univ-btn { flex: 1; padding: 18px 30px; font-size: 1.4rem; font-family: var(--font-title); letter-spacing: 3px; border: none; border-radius: 0; opacity: 0.8; transition: all 0.3s; position: relative; z-index: 5; }
.universe-selector .univ-btn:hover { opacity: 1; }
.universe-selector .univ-btn[onclick*='road'] { background-color: var(--road-panel); color: var(--road-text); }
.universe-selector .univ-btn[onclick*='road'].active { background-color: var(--road-accent); color: white; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); }
.universe-selector .univ-btn[onclick*='x'] { background-color: var(--x-panel); color: var(--x-text); }
.universe-selector .univ-btn[onclick*='x'].active { background-color: var(--x-accent); color: var(--x-panel); box-shadow: inset 0 0 20px rgba(0,0,0,0.5); }

.car-card { cursor: pointer; }
.car-card:hover { transform: var(--hover-lift); border-color: var(--accent); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); }
.car-card-img { cursor: pointer; }

.config-split { display: block; padding: 0; }
.config-preview { position: relative; top: auto; width: 100%; height: calc(100vh - 70px - 30px); min-height: 500px; padding: 20px; background: var(--panel); border-radius: 0; border: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: -30px; }
body.theme-x .config-preview { border-color: var(--pro-border); box-shadow: 0 0 15px rgba(255, 42, 42, 0.2); }
.preview-layer-container { position: relative; width: 95%; max-width: 1400px; height: 80%; overflow: hidden; border-radius: 8px; background-color: #000; display: flex; justify-content: center; align-items: center; }
.preview-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: 0.5s; }
.preview-car-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; z-index: 10; transition: 0.3s ease-in-out; }

.config-options-panel { position: fixed; top: 70px; right: 0; width: 400px; height: calc(100vh - 70px); background: var(--panel); border-left: 1px solid var(--pro-border); z-index: var(--z-sidebar); padding: 30px; border-radius: 0; box-shadow: var(--pro-shadow); overflow-y: auto; }
.options-content-wrapper { overflow-y: auto; max-height: calc(100vh - 350px); padding-right: 15px; margin-bottom: 20px; }
.tabs-nav-full { display: none; }
.config-options-panel .category-title-header { background-color: var(--accent); color: white; padding: 15px 20px; margin-top: 25px; margin-bottom: 5px; font-size: 1.1rem; font-weight: bold; border-radius: 4px; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.config-options-panel .category-title-header:first-child { margin-top: 0; }
.config-options-panel .tab-content { display: block !important; padding: 10px 0; }

.opt-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 15px; background: var(--bg); border-radius: 8px; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 15px; cursor: pointer; transition: all 0.2s ease-in-out; flex-wrap: wrap; position: relative; min-height: 44px; }
.opt-item:hover { border: 1px solid var(--accent); background: var(--panel); transform: var(--hover-lift-sm); box-shadow: 0 5px 10px rgba(0,0,0,0.15); }
.opt-item input[type="checkbox"], .opt-item input[type="radio"] { position: absolute; opacity: 0; cursor: pointer; z-index: 2; width: 44px; height: 44px; top: 0; left: 0; min-height: auto; }
.opt-item > div:first-child { pointer-events: none; }
.color-circle { display: inline-block; width: 30px; height: 30px; border-radius: 50%; margin-right: 15px; flex-shrink: 0; border: 3px solid var(--pro-border); box-shadow: none; transition: all 0.2s; position: relative; overflow: hidden; }
.opt-item:has(input:checked) { border: 2px solid var(--accent); background: var(--panel); box-shadow: 0 0 10px rgba(185, 0, 0, 0.4); transform: none; }
.opt-item input:checked + .color-circle { border-color: var(--accent); box-shadow: 0 0 5px var(--accent), inset 0 0 5px var(--accent); transform: scale(1.0); }
.opt-item input:checked:after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 5px; right: 5px; font-size: 1.2rem; color: var(--accent); z-index: 20; text-shadow: 0 0 1px var(--panel); }
.opt-item input:checked + .color-circle:after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.2rem; color: var(--road-panel); text-shadow: 0 0 3px var(--accent); }
body.theme-x .opt-item input:checked:after { text-shadow: 0 0 1px var(--x-panel); }
.opt-title-group { display: flex; flex-direction: column; flex: 1; max-width: 70%; }
.opt-detail-text { font-size: 0.85rem; color: #888; margin-top: 5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: normal; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; height: auto; }
.opt-item:hover .opt-detail-text { color: var(--text); white-space: normal; max-width: none; -webkit-line-clamp: unset; }
.opt-item span:last-child { flex-shrink: 0; text-align: right; min-width: 100px; margin-left: auto; }

.final-layout-form { max-width: 800px; margin: 0 auto; padding: 40px; background: var(--panel); border-radius: 10px; border: 1px solid var(--pro-border); box-shadow: var(--pro-shadow); }
.form-group { display: flex; gap: 10px; margin-bottom: 10px; }
.final-layout-form input, .final-layout-form textarea { width: 100%; padding: 15px; margin-bottom: 10px; border: 1px solid var(--pro-border); background: var(--panel); color: var(--text); font-family: var(--font-mono); font-size: 0.95rem; box-sizing: border-box; transition: all 0.3s; }
.final-layout-form input:focus, .final-layout-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 8px var(--accent); outline: none; }
.final-layout-form input:invalid, .final-layout-form textarea:invalid { border-color: var(--error-color); box-shadow: 0 0 5px var(--error-color); }
.final-layout-form input:valid:not(:placeholder-shown), .final-layout-form textarea:valid:not(:placeholder-shown) { border-color: var(--success-color); }
.final-layout-form textarea { resize: vertical; min-height: 100px; }

.final-container { display: flex; gap: 30px; padding: 20px 5%; max-width: 1800px; margin: 0 auto; }
.pdf-viewer-section { flex: 2; padding: 0; }
.pdf-viewer-section h3 { font-family: var(--font-title); font-size: 1.5rem; color: var(--accent); }
.pdf-preview-box { height: calc(100vh - 200px); overflow-y: scroll; border: 1px solid var(--pro-border); background: var(--panel); margin-top: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.final-actions-section { flex: 1; padding: 0 20px; }
.discord-tuto { margin: 20px 0; padding: 15px; border: 1px dashed #5865F2; border-radius: 5px; background: var(--panel); transition: background-color 0.5s; box-shadow: none; }
.discord-tuto h4, .discord-tuto ol, .discord-tuto li { color: var(--text); }
.discord-tuto h4 { color: #5865F2 !important; }
.action-buttons-group { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.btn-main { padding: 15px 25px; border: none; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.2s ease-in-out; box-shadow: none; position: relative; cursor: pointer; }
.btn-main.primary { --glow-color: var(--accent); box-shadow: 0 0 5px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.btn-main.primary:hover { box-shadow: 0 0 10px var(--glow-color), 0 0 20px rgba(255, 42, 42, 0.4); transform: var(--hover-lift-sm); filter: brightness(1.15); }
.btn-main:active { transform: translateY(1px); filter: brightness(0.9); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2); }
.btn-main.primary { background: var(--accent); color: white; border: 1px solid var(--accent); }
.btn-main.secondary { background: var(--panel); color: var(--text); border: 1px solid var(--pro-border); }
.btn-main.secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-discord { background-color: #5865F2 !important; border-color: #5865F2 !important; box-shadow: none; }
.btn-download-link { background: var(--accent); color: white; text-align: center; padding: 15px 20px; border-radius: 5px; font-weight: bold; text-transform: uppercase; display: flex; justify-content: center; align-items: center; gap: 10px; }
.poem-intro { font-family: var(--font-script); font-size: 1.2rem; line-height: 1.5; text-align: center; margin-top: 25px; color: #888; }


/* ==========================================================================
    11. MODALES & COMPOSANTS MODAUX (MIS À JOUR)
    ========================================================================== */

/* Structure de base Overlay */
.modal-overlay, .rp-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); display: none; justify-content: center; align-items: center;
    z-index: var(--z-modal-overlay);
}

/* Modale Galerie Images */
.modal-box {
    background: var(--panel); color: var(--text); padding: 30px; border-radius: 10px;
    width: 90%; max-width: 90vw; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); position: relative;
    animation: fadeInScale 0.3s ease-out; border: 3px solid var(--accent); box-sizing: border-box;
    z-index: var(--z-modal);
}
.modal-gallery { background: #000; padding: 20px; border-color: white; }
.modal-gallery img { max-height: 80vh; width: auto; max-width: 100%; display: block; margin: 0 auto; }
.modal-close { position: absolute; top: 5px; right: 15px; color: white; font-size: 30px; font-weight: bold; cursor: pointer; text-shadow: 0 0 5px rgba(0,0,0,0.8); z-index: var(--z-tooltip); }

/* Modale RP Notification */
.rp-modal-content {
    background: #FFF; padding: 30px; border-radius: 10px; width: 90%; max-width: 450px;
    box-shadow: 0 0 20px rgba(185, 0, 0, 0.5); border: 3px solid #B90000;
    animation: fadeInScale 0.3s ease-out; z-index: var(--z-modal);
}
.modal-header { display: flex; align-items: center; border-bottom: 1px solid #ddd; padding-bottom: 15px; margin-bottom: 15px; }
.modal-header h2 { color: #1A1A1A; font-size: 1.5rem; margin: 0 0 0 10px; font-family: var(--font-title); }
.modal-status-icon i { color: #B90000; font-size: 2rem; }
.modal-message { font-size: 1.1rem; color: #555; margin-bottom: 20px; }
.modal-countdown { color: #B90000; font-weight: bold; margin-bottom: 10px; }
@keyframes fadeInScale { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

/* --- STYLE DES POP-UPS D'INFORMATION (CGU, SUPPORT...) --- */
.info-modal-box {
    background: var(--panel);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    width: 600px; max-width: 90vw; border-radius: 8px;
    position: relative; animation: slideUpFade 0.3s ease-out;
    display: flex; flex-direction: column;
}
.info-modal-header {
    padding: 20px 30px; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.02), transparent);
}
.info-modal-header h3 { margin: 0; font-family: var(--font-title); color: var(--accent); text-transform: uppercase; font-size: 1.2rem; }
.info-modal-close { background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; transition: 0.3s; opacity: 0.5; padding: 0; line-height: 1; }
.info-modal-close:hover { opacity: 1; color: var(--accent); transform: rotate(90deg); }
.info-modal-body { padding: 30px; color: var(--text); font-size: 0.95rem; line-height: 1.6; max-height: 60vh; overflow-y: auto; }
.info-modal-body h4 { color: var(--text); margin-top: 20px; margin-bottom: 10px; font-family: var(--font-title); border-bottom: 1px solid var(--border); padding-bottom: 5px; opacity: 0.9; }
.info-modal-body p { margin-bottom: 15px; color: var(--text); opacity: 0.8; }
.info-modal-body ul { margin-left: 20px; margin-bottom: 15px; color: var(--text); opacity: 0.8; }
.info-modal-body::-webkit-scrollbar { width: 6px; }
.info-modal-body::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.info-modal-body::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); }
@keyframes slideUpFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }


/* ==========================================================================
    12. FOOTER & ÉLÉMENTS GLOBAUX (MIS À JOUR - NO INTERFERENCE)
    ========================================================================== */

footer {
    background-color: #050505; color: #888; padding: 60px 0 30px 0;
    border-top: 5px solid var(--accent); position: relative; z-index: var(--z-content);
}

.footer-content {
    max-width: 1400px; margin: 0 auto; padding: 0 30px;
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 30px;
}

.footer-brand h2 { font-family: var(--font-title); color: white; font-size: 2rem; margin-bottom: 10px; }

/* BOUTON DISCORD PULSANT (Sécurisé) */
.discord-pulse-btn {
    background-color: #5865F2; color: white; font-family: var(--font-title); font-weight: bold; font-size: 1.1rem;
    padding: 15px 40px; border-radius: 50px; display: flex; align-items: center; gap: 15px;
    text-transform: uppercase; box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7);
    animation: discordPulse 2s infinite; transition: 0.3s; min-width: 44px; min-height: 44px;
    position: relative; z-index: 10; margin-right: 20px; 
}
.discord-pulse-btn:hover { transform: var(--hover-scale-sm); background-color: #4752c4; }
.discord-pulse-btn i { font-size: 1.5rem; }
@keyframes discordPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(88, 101, 242, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(88, 101, 242, 0); }
}

.copyright { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid #222; font-size: 0.8rem; opacity: 0.5; }

/* --- NOUVEAUX BOUTONS LEGAUX (Access Card Style) --- */
.footer-legal-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; }

.footer-legal-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 2px;
    color: #888; font-family: var(--font-title); font-size: 0.8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px; text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); overflow: hidden;
}
.footer-legal-btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
    background: var(--accent); transform: scaleY(0); transition: transform 0.3s ease; transform-origin: bottom;
}
.footer-legal-btn i { color: var(--accent); margin-right: 10px; opacity: 0.7; transition: 0.3s; }
.footer-legal-btn:hover {
    background: rgba(255, 255, 255, 0.07); color: #fff; border-color: rgba(255, 255, 255, 0.2);
    padding-left: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.footer-legal-btn:hover::before { transform: scaleY(1); }
.footer-legal-btn:hover i { opacity: 1; transform: scale(1.1); }

/* --- LIENS CONCURRENTS (Minimaliste) --- */
.footer-competitor-group {
    display: flex; align-items: center; gap: 20px; margin-top: 5px; padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05); width: 100%;
}
.footer-competitor-link {
    font-family: var(--font-body); font-size: 0.85rem; color: #555; text-decoration: none !important;
    display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px;
    border-bottom: 1px solid transparent; transition: all 0.3s;
}
.footer-competitor-link:hover { color: #ccc; border-bottom-color: var(--accent); transform: translateX(3px); }
.footer-competitor-link i { font-size: 0.75rem; color: #444; transition: 0.3s; }
.footer-competitor-link:hover i { color: var(--accent); }


/* ==========================================================================
    13. RESPONSIVE DESIGN (CORRIGÉ & OPTIMISÉ MOBILE)
    ========================================================================== */

@media (max-width: 767px) {
    /* --- Ajustements Globaux --- */
    body { padding-top: 60px; }
    .top-red-bar { height: 60px; }
    #scroll-progress-bar { top: 60px; }
    
    /* --- Header Mobile (Logo & Menu) --- */
    .logo-dranox i { font-size: 1.5rem; }
    #dynamic-logo-title { font-size: 0.9rem !important; max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #dynamic-info-bar { display: none !important; }
    #mobile-menu-toggle { display: flex !important; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; z-index: 100000; }
    .header-nav-links { display: none !important; }
    
    /* --- CORRECTION HÉROS (Le bloc qui posait problème) --- */
    #page-home .cinematic-header {
        align-items: center; /* Centre verticalement */
        padding: 0 15px; /* Marge de sécurité sur les côtés */
    }

    .hero-text-box {
        width: 95%; /* Prend presque toute la largeur */
        max-width: 100%;
        padding: 25px 20px; /* Padding réduit */
        margin-top: 20px; /* Petit décalage pour éviter la barre du haut */
        background: rgba(0,0,0,0.6); /* Fond un peu plus sombre pour lisibilité */
        backdrop-filter: blur(5px); /* Petit flou pour aider la lecture */
    }
    
    .hero-text-box h1 { 
        font-size: 2.2rem; /* Titre plus petit */
        line-height: 1.1;
        margin-bottom: 15px;
    }
    
    .subtitle {
        font-size: 0.8rem !important;
        letter-spacing: 2px !important;
        margin-bottom: 15px !important;
    }

    /* Le texte descriptif */
    .hero-text-box p:not(.subtitle) { 
        font-size: 0.95rem !important; 
        line-height: 1.5;
        margin-bottom: 25px;
        display: block; /* S'assurer qu'il ne se cache pas */
    }

    /* Les Boutons (Actions) */
    .hero-text-box .hero-actions {
        flex-direction: column; /* Empile les boutons verticalement */
        gap: 15px;
        width: 100%;
        margin-top: 10px;
    }

    .btn-cta {
        width: 100%; /* Boutons pleine largeur */
        text-align: center;
        padding: 12px 0; /* Hauteur confortable au doigt */
        font-size: 0.9rem;
    }

    /* --- Autres ajustements (Grilles & Cartes) --- */
    .car-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .car-card { width: 100%; margin: 0 auto; }
    .car-card-img { height: auto !important; aspect-ratio: 16/9; }

    /* --- Ajustements Page Détail --- */
    #page-detail #d-name { font-size: 2.2rem !important; letter-spacing: 2px; line-height: 1.2; margin-top: 20px; word-wrap: break-word; }
    #d-tagline { font-size: 1rem !important; letter-spacing: 2px; }
    .specs-main-title { font-size: 1.8rem !important; letter-spacing: 3px; word-break: break-word; padding: 0 10px; }
    .full-width-specs { padding: 50px 0; }
    .info-left, .info-right { min-width: 100%; flex: auto; }

    /* --- Ajustements Configurateur --- */
    body#page-configurator { padding-left: 0; padding-right: 0 !important; }
    #quick-nav { display: none !important; }
    .universe-selector { width: 100%; max-width: 100%; margin-bottom: 30px; }
    .universe-selector .univ-btn { padding: 15px 10px; font-size: 1rem; letter-spacing: 1px; }
    .universe-selector:before { display: none; }
    
    .config-preview { min-height: auto; padding: 0; margin-top: 0; background: transparent; height: auto; }
    .preview-layer-container { height: 250px !important; width: 100%; margin-bottom: 20px; background-color: #1a1a1a; }
    .preview-bg-img, .preview-car-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
    .preview-bg-img { object-fit: cover; }
    
    #conf-title { font-size: 1.5rem !important; text-align: center; }
    #total-display { font-size: 1.5rem !important; margin-bottom: 20px; }
    .config-options-panel { position: relative; width: 100%; height: auto; padding: 20px; border-left: none; border-top: 1px solid var(--pro-border); box-shadow: none; }

    /* --- Ajustements Footer --- */
    .footer-content { flex-direction: column; text-align: center; align-items: center; }
    .discord-pulse-btn { width: 100%; justify-content: center; margin-right: 0; margin-bottom: 20px; }
    .footer-legal-group { justify-content: center; }
    .footer-competitor-group { justify-content: center; flex-wrap: wrap; }
    
    /* --- Ajustements Modales --- */
    .modal-box, .rp-modal-content { width: 95vw; max-width: 95vw; margin: 1rem; padding: 15px; }
    
    /* --- Désactivation du curseur custom sur mobile --- */
    html, body, * { cursor: auto !important; }
    #custom-cursor-dot, #custom-cursor-outline { display: none !important; }
    
    /* --- Correction Menu Mobile & Cartes --- */
    .cinematic-choice-card { height: 300px; }
    .choice-cta { opacity: 1; transform: translateY(0); }
    /* Rappel : Filtre gris par défaut même sur mobile */
    .choice-card-bg img { filter: grayscale(100%); opacity: 1; }
}

@media (max-width: 1200px) {
    #mobile-menu-toggle { display: block !important; visibility: visible !important; opacity: 1 !important; order: 3; margin-left: auto; }
    .header-nav-links { display: none !important; }
    .nav-container { padding: 0 15px !important; }
    .main-nav-dropdown { width: 90vw; left: 50%; transform: translateX(-50%) translateY(-20px); }
    .main-nav-dropdown.visible-dropdown { transform: translateX(-50%) translateY(0); }
    #nav-car-list { flex-direction: column; gap: 30px; }
    .main-nav-dropdown #nouveaute-banner { height: 250px; }
}

@media (min-width: 768px) {
    body#page-configurator { padding-left: 130px; padding-right: 0px; padding-top: 70px; } 
    body#page-configurator.step-2-active { padding-right: 400px; }
}

@media (min-width: 1920px) {
    .nav-container { max-width: 2000px; }
    .config-preview { max-width: 1600px; }
}


/* ==========================================================================
    14. PRINT & ACCESSIBILITÉ SYSTÈME
    ========================================================================== */

@media print {
    .top-red-bar, #quick-nav, .discord-pulse-btn, footer, .modal-overlay, #scroll-progress-bar, #custom-cursor-dot, #custom-cursor-outline { display: none !important; }
    body { background: white !important; color: black !important; padding: 0 !important; min-height: auto; }
    a { color: black !important; text-decoration: underline; }
    .pdf-viewer-section, .pdf-preview-box { display: block !important; overflow: visible !important; height: auto !important; }
    .specs-main-title, .specs-grid-container { color: black !important; border-color: black !important; }
    .spec-line { border-bottom: 1px solid #ccc !important; color: black !important; }
    .spec-line span:first-child { color: #555 !important; }
    .spec-line b { color: black !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.mobile-nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: 99999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.mobile-nav-overlay.visible { opacity: 1; visibility: visible; }
.mobile-nav-content { display: flex; flex-direction: column; gap: 30px; text-align: center; }
.mobile-nav-content a { font-family: var(--font-title); font-size: 2rem; color: white; text-decoration: none; transition: color 0.3s; }
.mobile-nav-content a:hover { color: var(--accent); }
.mobile-menu-close { position: absolute; top: 25px; right: 25px; font-size: 2rem; background: none; border: none; color: white; cursor: pointer; }


/* ==========================================================================
   15. MODULE SPECS CINÉMATIQUE (HOLOGRAPHIC BLUEPRINT)
   ========================================================================== */

.cinematic-specs-section {
    position: relative; width: 100vw; margin-left: calc(50% - 50vw); padding: 120px 0; background-color: #020202;
    overflow: hidden; border-top: 1px solid var(--pro-border); border-bottom: 1px solid var(--pro-border); perspective: 1000px;
}
.tech-grid-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; z-index: 0; mask-image: radial-gradient(circle at center, black 0%, transparent 85%); -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 85%); pointer-events: none;
}
.tech-overlay-gradient {
    position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.06) 0%, #020202 90%); z-index: 1; pointer-events: none;
}
.specs-interface-container { position: relative; z-index: 2; max-width: 1400px; margin: 0 auto; padding: 0 5%; }

.specs-header-block {
    text-align: center; margin-bottom: 70px; position: relative; display: flex; flex-direction: column; align-items: center;
    min-height: 160px; justify-content: flex-end; padding-bottom: 10px;
}
.specs-holo-title {
    font-family: var(--font-title); font-size: 3.5rem; color: white; text-transform: uppercase; letter-spacing: 8px; margin: 0;
    position: relative; display: inline-block; z-index: 2; text-shadow: 0 0 20px rgba(0,0,0,0.8);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; line-height: 1.2;
}
.specs-holo-title::before, .specs-holo-title::after {
    content: attr(data-text); position: absolute; top: 0; color: white; overflow: hidden; clip: rect(0, 900px, 0, 0); opacity: 0.7;
}
.specs-holo-title::before { left: 2px; text-shadow: -1px 0 var(--accent); animation: glitch-anim 4s infinite linear alternate-reverse; }
.specs-holo-title::after { left: -2px; text-shadow: 1px 0 blue; animation: glitch-anim 2s infinite linear alternate-reverse; opacity: 0.5; }
.specs-subtitle { font-family: var(--font-mono); color: var(--accent); font-size: 0.9rem; letter-spacing: 4px; margin-top: 15px; opacity: 0.8; text-shadow: 0 0 5px var(--accent); }
.specs-scanner-line-wrapper { width: 200px; height: 4px; background: rgba(255,255,255,0.1); margin: 20px auto 10px auto; border-radius: 2px; overflow: hidden; position: relative; }
.specs-scanner-line { width: 100%; height: 100%; background: var(--accent); box-shadow: 0 0 15px var(--accent); transform: translateX(-100%); animation: scan-line-move 3s cubic-bezier(0.4, 0.0, 0.2, 1) infinite; }
.header-decoration { width: 100px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); position: absolute; top: 50%; }
.header-decoration.left { left: 10%; transform: translateX(-50%); }
.header-decoration.right { right: 10%; transform: translateX(50%); }

.blueprint-dashboard { display: flex; gap: 60px; min-height: 550px; align-items: stretch; }
.blueprint-nav { flex: 1; min-width: 300px; position: relative; display: flex; }
.nav-rail-decoration { width: 1px; background: linear-gradient(to bottom, transparent, var(--accent), transparent); height: 100%; position: absolute; left: 0; top: 0; opacity: 0.5; }
.nav-buttons-wrapper { display: flex; flex-direction: column; gap: 15px; width: 100%; padding-left: 30px; padding-top: 20px; }
.spec-nav-btn {
    appearance: none; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.1); color: #888; padding: 0 30px; text-align: left;
    font-family: var(--font-title); font-size: 1.1rem; letter-spacing: 2px; cursor: pointer; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative; overflow: hidden; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    width: 100%; min-height: 65px; display: flex; align-items: center; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box;
}
.spec-nav-btn:hover { background: rgba(255, 255, 255, 0.08); color: white; padding-left: 40px; border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 0 15px rgba(255, 255, 255, 0.05); }
.spec-nav-btn.active { background: var(--accent); color: var(--bg) !important; border-color: var(--accent); padding-left: 45px; font-weight: 900; box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4); z-index: 10; width: 100%; }
.spec-nav-btn.active::before { content: '►'; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 0.9rem; animation: blink-arrow 1s infinite; }

.blueprint-display-zone { flex: 2; background: rgba(10, 10, 10, 0.6); border: 1px solid rgba(255, 255, 255, 0.05); position: relative; padding: 50px; backdrop-filter: blur(15px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); overflow: hidden; }
.screen-scanlines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0px, rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px); pointer-events: none; z-index: 0; opacity: 0.5; }
.display-content-wrapper { position: relative; z-index: 2; }
.corner-bracket { position: absolute; width: 25px; height: 25px; border: 2px solid var(--accent); transition: all 0.5s ease; box-shadow: 0 0 10px var(--accent); z-index: 5; }
.top-left { top: 0; left: 0; border-right: none; border-bottom: none; }
.top-right { top: 0; right: 0; border-left: none; border-bottom: none; }
.bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; }
.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; }
.blueprint-display-zone:hover .corner-bracket { width: 60px; height: 60px; opacity: 1; }

.display-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid rgba(255, 255, 255, 0.1); padding-bottom: 20px; margin-bottom: 40px; min-height: 80px; box-sizing: border-box; overflow: hidden; }
.display-header h3 { font-family: var(--font-title); color: white; font-size: 2.5rem; margin: 0; text-transform: uppercase; letter-spacing: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 75%; line-height: 1.2; flex-shrink: 1; }
.live-status-indicator { display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.3); padding: 5px 15px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; white-space: nowrap; }
.status-text { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent); font-weight: bold; }
.status-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); animation: pulse-dot 1s infinite; }

.data-lines-container { display: flex; flex-direction: column; gap: 5px; }
.holo-spec-row { display: flex; justify-content: space-between; align-items: center; padding: 0 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); background: linear-gradient(90deg, transparent, transparent); transition: all 0.3s; min-height: 70px; box-sizing: border-box; opacity: 0; transform: translateY(20px); animation: fadeSlideIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.holo-spec-row:hover { background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent); padding-left: 25px; border-left: 3px solid var(--accent); }
.holo-label { font-family: var(--font-mono); color: #999; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; flex-shrink: 0; max-width: 60%; }
.holo-value { font-family: var(--font-title); color: white; font-size: 1.4rem; font-weight: bold; text-align: right; text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); position: relative; white-space: nowrap; flex-shrink: 0; }
.holo-value span.unit { font-size: 0.8rem; color: var(--accent); margin-left: 8px; vertical-align: middle; opacity: 0.8; }

@keyframes scan-line-move { 0% { transform: translateX(-100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(200%); opacity: 0; } }
@keyframes glitch-anim { 0% { clip: rect(44px, 9999px, 56px, 0); transform: translate(0); } 10% { clip: rect(12px, 9999px, 88px, 0); transform: translate(-2px, 2px); } 20% { clip: rect(66px, 9999px, 2px, 0); transform: translate(2px, -2px); } 30% { clip: rect(90px, 9999px, 10px, 0); transform: translate(-2px, 0); } 40% { clip: rect(0, 9999px, 0, 0); transform: translate(0); } 100% { clip: rect(0, 9999px, 0, 0); transform: translate(0); } }
@keyframes pulse-dot { 0% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); } 70% { opacity: 0.7; transform: scale(1); box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
@keyframes blink-arrow { 0%, 100% { opacity: 1; transform: translateY(-50%) translateX(0); } 50% { opacity: 0.4; transform: translateY(-50%) translateX(-3px); } }
@keyframes fadeSlideIn { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
    .blueprint-dashboard { flex-direction: column; gap: 30px; }
    .blueprint-nav { min-width: 100%; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-buttons-wrapper { flex-direction: row; padding-left: 0; padding-top: 0; gap: 10px; width: max-content; }
    .nav-rail-decoration { display: none; }
    .spec-nav-btn { min-width: 160px; width: auto; padding: 0 20px; font-size: 0.9rem; clip-path: none; border-radius: 4px; background: rgba(255,255,255,0.05); }
    .spec-nav-btn.active { padding-left: 20px; width: auto; }
    .spec-nav-btn.active::before { display: none; }
    .specs-holo-title { font-size: 2.2rem; letter-spacing: 4px; }
    .blueprint-display-zone { padding: 20px; }
    .display-header h3 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
    .specs-holo-title { font-size: 1.6rem; letter-spacing: 2px; }
    .holo-spec-row { padding: 15px 10px; flex-direction: column; align-items: flex-start; gap: 5px; height: auto; min-height: auto; }
    .holo-value { text-align: left; font-size: 1.2rem; }
}

/* Adaptation Thème Road (Light Mode) */
body:not(.theme-x) .cinematic-specs-section { background-color: #e8eaed; border-top: 1px solid #bbb; border-bottom: 1px solid #bbb; color: #050505; }
body:not(.theme-x) .tech-grid-bg { background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px); opacity: 1; mask-image: radial-gradient(circle at center, black 40%, transparent 100%); -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%); }
body:not(.theme-x) .tech-overlay-gradient { background: radial-gradient(circle at 50% 50%, rgba(204, 0, 0, 0.06) 0%, transparent 70%); }
body:not(.theme-x) .specs-holo-title { color: #000; font-weight: 900; text-shadow: 2px 2px 0px rgba(0,0,0,0.1); }
body:not(.theme-x) .specs-holo-title::before { text-shadow: -2px 0 var(--accent); color: #000; background: #e8eaed; }
body:not(.theme-x) .specs-holo-title::after { text-shadow: 2px 0 blue; color: #000; background: #e8eaed; }
body:not(.theme-x) .specs-subtitle { color: var(--accent); text-shadow: 0 0 10px rgba(204, 0, 0, 0.3); font-weight: 800; }
body:not(.theme-x) .spec-nav-btn { background: rgba(0, 0, 0, 0.03); border: 1px solid rgba(0, 0, 0, 0.1); color: #444; box-shadow: none; }
body:not(.theme-x) .spec-nav-btn:hover { background: rgba(0, 0, 0, 0.08); color: var(--accent); border-color: rgba(204, 0, 0, 0.3); box-shadow: 0 0 15px rgba(0, 0, 0, 0.05); }
body:not(.theme-x) .spec-nav-btn.active { background: var(--accent); color: white !important; border-color: var(--accent); box-shadow: 0 5px 20px rgba(204, 0, 0, 0.4); }
body:not(.theme-x) .nav-rail-decoration { background: linear-gradient(to bottom, transparent, #888, transparent); }
body:not(.theme-x) .blueprint-display-zone { background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(0, 0, 0, 0.15); box-shadow: 0 20px 60px rgba(0,0,0,0.1); backdrop-filter: blur(10px); }
body:not(.theme-x) .screen-scanlines { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.04) 0px, rgba(0, 0, 0, 0.04) 1px, transparent 1px, transparent 2px); opacity: 1; }
body:not(.theme-x) .display-header { border-bottom: 2px solid rgba(0, 0, 0, 0.1); }
body:not(.theme-x) .display-header h3 { color: #000; }
body:not(.theme-x) .live-status-indicator { background: rgba(0, 0, 0, 0.05); border: 1px solid #888; }
body:not(.theme-x) .holo-spec-row { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
body:not(.theme-x) .holo-spec-row:hover { background: linear-gradient(90deg, rgba(204, 0, 0, 0.06), transparent); border-left-color: var(--accent); }
body:not(.theme-x) .holo-label { color: #555; font-weight: 700; }
body:not(.theme-x) .holo-value { color: #000; font-weight: 900; }
body:not(.theme-x) .corner-bracket { border-color: var(--accent); box-shadow: 0 0 5px rgba(204, 0, 0, 0.3); opacity: 0.7; }
body:not(.theme-x) .blueprint-display-zone:hover .corner-bracket { box-shadow: 0 0 15px var(--accent); }


/* ==========================================================================
   16. NOUVEAU DESIGN: CARTES DE SÉLECTION (ADAPTATIF ROAD / X)
   ========================================================================== */

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.cinematic-choice-card {
    position: relative;
    height: 380px;
    background: var(--panel); 
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--pro-border);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cinematic-choice-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 15px rgba(var(--accent-rgb), 0.3);
}

.choice-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
}

/* 1. ÉTAT PAR DÉFAUT : GRIS ET SOMBRE (POUR TOUS) */
.choice-card-bg img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    
    /* 100% Opaque pour éviter le voile blanc */
    opacity: 1;
    
    /* Effet gris + Luminosité réduite pour l'effet "éteint" */
    filter: grayscale(100%) brightness(0.7); 
    
    transform: scale(1.05);
    transition: transform 0.8s ease, filter 0.5s ease;
}

/* 2. ÉTAT SURVOLÉ (SCAN) : RETOUR COULEUR ET LUMIÈRE */
.cinematic-choice-card:hover .choice-card-bg img {
    transform: scale(1.15);
    
    /* On retire tous les filtres : couleur + luminosité normale */
    filter: none; 
    opacity: 1;
}

.choice-scan-line {
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 10px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    opacity: 0.6;
    z-index: 2;
    transition: none;
}

.cinematic-choice-card:hover .choice-scan-line {
    animation: scanPass 1.5s ease-in-out infinite;
}

@keyframes scanPass {
    0% { top: -20%; opacity: 0; }
    50% { opacity: 0.8; }
    100% { top: 120%; opacity: 0; }
}

.choice-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 40%, transparent 100%);
}

body.theme-x .choice-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
}

.choice-header {
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

.choice-brand { 
    font-family: var(--font-title); font-size: 0.8rem; letter-spacing: 2px; 
    color: #555;
}
body.theme-x .choice-brand { color: #888; }

.choice-universe { 
    font-family: var(--font-mono); font-size: 0.7rem; 
    border: 1px solid var(--accent); padding: 2px 6px; 
    color: var(--accent); text-transform: uppercase; 
}

.choice-info {
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.cinematic-choice-card:hover .choice-info {
    transform: translateY(0);
}

.choice-name {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--text);
    text-transform: uppercase;
    margin: 0 0 10px 0;
    line-height: 1;
}
body.theme-x .choice-name { text-shadow: 0 0 20px rgba(0,0,0,0.8); }

.choice-price-tag {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
body.theme-x .choice-price-tag { border-bottom: 1px solid rgba(255,255,255,0.1); }

.choice-price-tag .lbl { font-size: 0.8rem; color: #666; font-family: var(--font-mono); }
body.theme-x .choice-price-tag .lbl { color: #888; }

.choice-price-tag .val { font-size: 1.2rem; color: var(--accent); font-weight: bold; font-family: var(--font-mono); }

.choice-cta {
    background: var(--text);
    color: var(--panel);
    text-align: center;
    padding: 12px 0;
    font-family: var(--font-title);
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 0.9rem;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.cinematic-choice-card:hover .choice-cta {
    opacity: 1;
    transform: translateY(0);
}

.choice-cta:hover {
    background: var(--accent);
    color: white;
}

@media (max-width: 768px) {
    .cinematic-choice-card { height: 300px; }
    .choice-cta { opacity: 1; transform: translateY(0); }
    .choice-card-bg img { filter: grayscale(0%); opacity: 1; }
}

/* --- BARRE DE NOUVEAUTÉ DYNAMIQUE (DROP BAR AVEC IMAGE) --- */
.featured-drop-bar {
    width: 100%;
    height: 100px;
    background: #050505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent);
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Image de fond avec fondu cinématique */
.drop-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%; /* Prend un peu plus de la moitié */
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Dégradé pour fondre l'image dans le noir à gauche */
    mask-image: linear-gradient(to left, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 40%, transparent 100%);
    opacity: 0.6;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-drop-bar:hover .drop-bg-image {
    opacity: 1;
    transform: scale(1.05);
}

/* Conteneur de contenu */
.drop-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Badge clignotant : DERNIER ARRIVAGE */
.drop-label {
    background: var(--accent);
    color: #ffffff; /* Texte blanc */
    font-family: var(--font-title);
    font-weight: 900;
    padding: 6px 18px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
    animation: pulse-red-glow 2s infinite;
    flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

@keyframes pulse-red-glow {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

/* Informations véhicule */
.drop-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: 25px;
}

.drop-name {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.drop-specs {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: bold;
}

/* --- LE BOUTON HOLOGRAPHIQUE (INNOVATION DESIGN) --- */
.drop-btn {
    position: relative;
    z-index: 5;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    
    padding: 12px 45px;
    margin-left: 20px;
    background: transparent;
    
    /* On crée les coins via des bordures tronquées */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent); /* La barre d'activation à gauche */
    
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}

/* Le "Glitch" ou reflet qui passe derrière le texte */
.drop-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.2), transparent);
    transition: left 0.6s ease;
}

/* Les petits brackets (crochets) aux angles pour le look tech */
.drop-btn::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 10px; height: 10px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transition: all 0.3s ease;
}

/* --- INTERACTION INNOVANTE --- */
.drop-btn:hover {
    color: #fff;
    letter-spacing: 6px; /* Le texte s'étire (effet respiration) */
    border-color: rgba(var(--accent-rgb), 0.5);
    background: rgba(var(--accent-rgb), 0.05);
    box-shadow: -10px 0 20px rgba(var(--accent-rgb), 0.2);
}

.drop-btn:hover::before {
    left: 100%; /* Le reflet balaye le bouton */
}

.drop-btn:hover::after {
    width: 25px;
    height: 25px;
    opacity: 1;
}

/* L'icône qui devient un viseur */
.drop-btn i {
    font-size: 0.7rem;
    color: var(--accent);
    transition: all 0.4s ease;
}

.drop-btn:hover i {
    transform: rotate(90deg) scale(1.5);
    filter: drop-shadow(0 0 5px var(--accent));
}

