/* ============= VARIABLES ============= */
:root {
    --primary-red: #dc2626;
    --secondary-red: #ef4444;
    --dark-red: #991b1b;
    --accent-red: #fca5a5;
    --black: #000000;
    --dark-gray: #111111;
    --gray: #333333;
    --light-gray: #666666;
    --white: #ffffff;
    --gold: #fbbf24;
    
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Exo 2', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* ============= PARTICLES & EFFECTS ============= */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#particles-js canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
}

#trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

/* ============= NAVIGATION ============= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 35px 40px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar:hover {
    background: rgba(0, 0, 0, 0.3);
}

.nav-links {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    position: relative;
    transition: var(--transition);
    font-family: var(--font-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: var(--transition);
}

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

.logo {
    position: absolute;
    left: 0;
    right: 0;
    width: fit-content;
    height: fit-content;
    margin: auto;
    top: 55%;
    transform: translateY(-50%);
    cursor: pointer;
}

.logo-img {
    height: 50px;
    transition: var(--transition);
}

.logo-navbar {
    filter: brightness(0) invert(1);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Menu Burger */
.menu-burger {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
}

.menu-burger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    transition: all 0.3s ease;
}

.menu-burger span:nth-child(1) {
    top: 0;
}

.menu-burger span:nth-child(2) {
    top: 11px;
}

.menu-burger span:nth-child(3) {
    bottom: 0;
}

.menu-burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.menu-burger.active span:nth-child(2) {
    opacity: 0;
}

.menu-burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 12px;
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Auth Navigation Section */
.auth-nav-section {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.auth-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Exo 2', sans-serif;
}

.auth-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Exo 2', sans-serif;
}

.user-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.member-badge {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.member-badge.vip {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    color: white;
}

.member-badge.premium {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: white;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding-left: 20px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

.dropdown-item.logout {
    color: #ef4444;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

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

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-enclosure,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-play-button,
.hero-video::-moz-media-controls {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.3) 50%, 
        rgba(220, 38, 38, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 40px;
    z-index: 10;
    max-width: 600px;
    text-align: left;
    pointer-events: auto;
}

.hero-title {
    margin-bottom: 30px;
}

.hero-pretitle {
    display: block;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.car-name {
    display: block;
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 0.9;
}

.hero-subtitle {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 2px;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.cta-button {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 25px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: var(--font-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-slow);
}

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

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.cta-button:active {
    animation: clickPulse 0.3s ease;
}

@keyframes clickPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.button-arrow {
    margin-left: 10px;
    transition: var(--transition);
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.6);
    position: relative;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.6);
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ============= SECTIONS ============= */
section {
    position: relative;
    z-index: 5;
    padding: 100px 0;
    background: var(--black);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, var(--white), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============= MODELS SECTION ============= */
.models-section {
    background: #000000;
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 90px;
}

.section-title-minimal {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.title-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
}

/* Showcase Modern */
.showcase-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Véhicule Principal */
.main-vehicle {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

/* Slideshow Container */
.image-slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: #0a0a0a;
    cursor: pointer;
}

.slide-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease, transform 8s ease;
    transform: scale(1);
}

.slide-image.active {
    opacity: 1;
}

.image-slideshow:hover .slide-image.active {
    transform: scale(1.1);
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ade80;
    letter-spacing: 1px;
    z-index: 10;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Slide Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.slide-arrow-left {
    left: 20px;
}

.slide-arrow-right {
    right: 20px;
}

.slide-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slide-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator.active {
    background: #d4af37;
    transform: scaleX(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scaleX(1.3);
}

/* Vehicle Info Compact */
.vehicle-info-compact {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vehicle-model {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: -1px;
}

.vehicle-price-display {
    display: flex;
    align-items: baseline;
    gap: 13px;
    margin-top: 0;
    margin-bottom: 0;
}

.price-from {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    font-style: italic;
}

.price-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: #d4af37;
    font-weight: 700;
    letter-spacing: -1px;
}

.price-period {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-left: 10px;
}

/* Vehicle Specs Inline */
.vehicle-specs-inline {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.spec-icon {
    font-size: 1rem;
    opacity: 0.6;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-reserve {
    flex: 1;
    background: #d4af37;
    color: #000000;
    border: none;
    padding: 14px 30px;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
}

.btn-reserve:hover {
    background: #ffffff;
    transform: translateX(5px);
}

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

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

.btn-details {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-details:hover {
    border-color: #d4af37;
    color: #d4af37;
}

/* Upcoming Compact Section */
.upcoming-compact {
    margin-top: 80px;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.upcoming-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.upcoming-image {
    position: relative;
    height: 180px;
    background: #0a0a0a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.upcoming-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(212, 175, 55, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upcoming-date {
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.upcoming-info h5 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: 400;
    filter: blur(5px);
}

.upcoming-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    filter: blur(5px);
}

/* Details Panel */
.details-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.details-panel.active {
    right: 0;
}

.details-content {
    padding: 40px 30px;
}

.close-details {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-details:hover {
    color: #ffffff;
    transform: rotate(90deg);
}

.details-content h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.details-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
}

.details-features p {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============= FORMATION SECTION ============= */
.formation-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    padding: 80px 0;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.formation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.formation-left {
    padding-right: 40px;
}

.formation-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.formation-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-bottom: 25px;
    font-weight: 300;
}

.formation-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.formation-points {
    margin-bottom: 40px;
}

.point-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.point-icon {
    color: #4ade80;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.1rem;
}

.formation-cta {
    display: flex;
    align-items: center;
    gap: 30px;
}

.price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 600;
}

.price-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.formation-btn {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.formation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Formation Right - Book 3D */
.formation-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.book-3d-container {
    position: relative;
    width: 300px;
    height: 400px;
    perspective: 1200px;
    margin-bottom: 30px;
}

.book-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(-25deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.book-3d-container:hover .book-3d {
    transform: rotateY(-10deg) rotateX(2deg) scale(1.05);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.book-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 15px 15px 0;
    transform: translateZ(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.book-logo {
    width: 80px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-logo-img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.book-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-align: center;
}

.book-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.book-badge {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.book-author {
    position: absolute;
    bottom: 30px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.book-spine {
    position: absolute;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    transform: rotateY(-90deg) translateZ(20px) translateX(-20px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 0 0 5px;
}

.book-spine span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
}

.book-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    transform: translateZ(-20px) rotateY(180deg);
    border-radius: 15px 0 0 15px;
}

.book-pages {
    position: absolute;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    right: 5px;
    top: 5px;
    transform-style: preserve-3d;
}

.page-edge-top {
    position: absolute;
    width: calc(100% - 10px);
    height: 35px;
    background: linear-gradient(90deg, #f5f5f5 0%, #e0e0e0 100%);
    transform: rotateX(-90deg) translateZ(17.5px) translateY(-17.5px);
    right: 0;
    border-radius: 0 2px 2px 0;
}

.page-edge-right {
    position: absolute;
    width: 35px;
    height: calc(100% - 10px);
    background: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 100%);
    transform: rotateY(90deg) translateZ(17.5px) translateX(17.5px);
    right: 0;
    top: 5px;
    border-radius: 0 2px 2px 0;
}

.page-edge-bottom {
    position: absolute;
    width: calc(100% - 10px);
    height: 35px;
    background: linear-gradient(90deg, #e0e0e0 0%, #d0d0d0 100%);
    transform: rotateX(90deg) translateZ(17.5px) translateY(17.5px);
    bottom: 0;
    right: 0;
    border-radius: 0 2px 2px 0;
}

.book-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, transparent 70%);
    filter: blur(15px);
    transform: rotateX(90deg);
}

/* ============= CONTACT SECTION ============= */
.contact-section {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.section-title-contact {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-subtitle-contact {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    font-style: italic;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form Modern */
.contact-form-modern {
    background: rgba(26, 26, 26, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group-modern {
    position: relative;
}

.form-group-modern.full-width {
    grid-column: 1 / -1;
}

.form-input-modern,
.form-textarea-modern {
    width: 100%;
    padding: 20px 0 8px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Exo 2', sans-serif;
}

.form-input-modern:focus,
.form-textarea-modern:focus {
    outline: none;
    border-bottom-color: #ffffff;
}

.form-label-modern {
    position: absolute;
    left: 0;
    top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: left center;
}

.form-input-modern:focus ~ .form-label-modern,
.form-input-modern:not(:placeholder-shown) ~ .form-label-modern,
.form-textarea-modern:focus ~ .form-label-modern,
.form-textarea-modern:not(:placeholder-shown) ~ .form-label-modern,
.form-label-modern.active {
    transform: translateY(-25px) scale(0.85);
    color: rgba(255, 255, 255, 0.8);
}

.input-line-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

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

.form-textarea-modern {
    resize: none;
    min-height: 100px;
    padding-top: 25px !important;
}

select.form-input-modern {
    cursor: pointer;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url(...);
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 20px;
    padding-right: 30px;
}

select.form-input-modern option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

select.form-input-modern option:hover {
    background: #2a2a2a;
}

.submit-btn-modern {
    width: 100%;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn-modern:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

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

.btn-icon {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.submit-btn-modern:hover .btn-icon {
    transform: translateX(5px);
}

/* Contact Right - Info Cards */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: rgba(26, 26, 26, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.info-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    color: rgba(255, 255, 255, 0.6);
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

a.info-value:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.availability-card {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1) 0%, rgba(74, 222, 128, 0.05) 100%);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 15px;
    padding: 25px;
}

.availability-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #4ade80;
}

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

.availability-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    color: #ffffff;
}

/* ============= FOOTER ============= */
.footer {
    background: var(--dark-gray);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(220, 38, 38, 0.1);
}

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

.footer-brand p {
    color: var(--light-gray);
    font-style: italic;
}

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

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(220, 38, 38, 0.1);
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* ============= AUTH MODAL ============= */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
}

.auth-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: rotate(90deg);
}

.auth-container {
    padding: 50px 40px 40px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 4px;
    margin-bottom: 30px;
    position: relative;
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 22px;
    position: relative;
    z-index: 1;
    font-family: 'Exo 2', sans-serif;
}

.auth-tab.active {
    color: #000;
}

.tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: white;
    border-radius: 22px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-indicator.signup {
    transform: translateX(calc(100% + 4px));
}

/* Auth Form */
.auth-form {
    margin-top: 30px;
}

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

.auth-input {
    width: 100%;
    padding: 15px 15px 15px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Exo 2', sans-serif;
}

.auth-input:focus {
    outline: none;
    border-bottom-color: #d4af37;
}

.auth-label {
    position: absolute;
    left: 0;
    top: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.auth-input:focus ~ .auth-label,
.auth-input:not(:placeholder-shown) ~ .auth-label {
    top: -5px;
    font-size: 0.75rem;
    color: #d4af37;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 15px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.password-toggle:hover {
    color: white;
}

.password-strength {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.password-strength::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #fbbf24, #4ade80);
    transition: width 0.3s ease;
    width: var(--strength, 0%);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background: #d4af37;
    border-color: #d4af37;
}

.checkbox-container input:checked ~ .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 3px;
    color: #000;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4bc 100%);
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', monospace;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider span {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.google-btn {
    display: flex;
    width: 100%;
    background: white;
    color: #333;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Exo 2', sans-serif;
}

.google-btn:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.auth-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
}

.auth-message.success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    display: block;
}

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

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-red);
}

/* ============= LOADING STATES ============= */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============= RESPONSIVE - TABLET ============= */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }
    
    .nav-links {
        left: 30px;
        gap: 25px;
    }
    
    .hero-content {
        left: 30px;
        bottom: 80px;
        max-width: calc(100% - 60px);
    }
    
    .car-name {
        font-size: 3rem;
    }
    
    .scroll-indicator {
        right: 30px;
        bottom: 30px;
    }
    
    .formation-wrapper,
    .contact-wrapper {
        gap: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* ============= RESPONSIVE - MOBILE LARGE ============= */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        padding: 25px;
        background: transparent;
        backdrop-filter: none;
        margin-top: 15px; /* ← DÉCOLLE LA NAVBAR DU HAUT */
    }
    
    .logo {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        right: auto;
        margin: 0;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .logo-navbar {
        filter: none;
    }
    
    .menu-burger {
        display: block;
        display: none;
        position: absolute;
        left: 90%;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        gap: 25px;
        transition: left 0.3s ease;
        z-index: 1000;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 18px;
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .auth-nav-section {
        position: fixed;
        bottom: 20px;
        right: 20px;
        top: auto;
        transform: none;
        z-index: 1001;
    }
    
    .auth-btn,
    .user-menu-toggle {
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    
    .auth-btn-text {
        display: none;
    }
    
    .auth-btn svg {
        margin: 0;
    }
    
    .user-menu {
        position: fixed;
        bottom: 20px;
        right: 20px;
        top: auto;
        transform: none;
    }
    
    .user-menu-toggle {
        padding: 10px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    
    .user-avatar {
        width: 30px;
        height: 30px;
        margin: 0;
    }
    
    .user-name {
        display: none;
    }
    
    .user-menu-toggle svg {
        display: none;
    }
    
    .user-dropdown {
        bottom: 60px;
        right: 0;
        top: auto;
        transform: none;
    }
    
    .user-dropdown.active {
        transform: translateY(0);
    }
    
    /* Hero Section Mobile */
    .hero-section {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }
    
    .hero-background-image {
        animation: none;
    }
    
    .hero-image-container {
        height: 100vh;
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, 
            rgba(0, 0, 0, 0.4) 0%, 
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.4) 100%);
    }
    
    .hero-content {
        position: relative;
        left: 0;
        bottom: 0;
        transform: none;
        text-align: center;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }
    
    .hero-title {
        margin-bottom: 40px;
        text-align: center;
        animation: fadeInUp 0.8s ease both;
    }
    
    .hero-pretitle {
        font-size: 0.9rem;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .car-name {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 15px;
        text-align: center;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8),
                     0 4px 20px rgba(0, 0, 0, 0.6);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0;
        text-align: center;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8),
                     0 4px 20px rgba(0, 0, 0, 0.6);
    }
    
    .cta-button {
        padding: 16px 40px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
        position: relative;
        z-index: 10;
        animation: fadeInScale 0.6s ease 0.3s both;
    }
    
    .cta-button:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(1.05);
    }
    
    .hero-stats,
    .scroll-indicator {
        display: none;
    }
    
    /* Sections Mobile */
    section {
        padding: 60px 0;
    }
    
    .section-title-minimal {
        font-size: 1rem;
        letter-spacing: 6px;
    }
    
    .models-section {
        padding-top: 40px;
    }
    
    .main-vehicle {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-slideshow {
        height: 350px;
    }
    
    .slide-arrow {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .slide-arrow-left {
        left: 10px;
    }
    
    .slide-arrow-right {
        right: 10px;
    }
    
    .slide-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .image-slideshow::after {
        content: '';
        position: absolute;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
        animation: swipeHint 2s ease-in-out infinite;
    }
    
    @keyframes swipeHint {
        0%, 100% { transform: translateX(-50%); }
        50% { transform: translateX(-50%) scaleX(1.5); }
    }
    
    .vehicle-model {
        font-size: 1.5rem;
    }
    
    .price-value {
        font-size: 1.8rem;
    }
    
    .vehicle-specs-inline {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .upcoming-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .details-panel {
        width: 100%;
        right: -100%;
    }
    
    /* Formation Mobile */
    .formation-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .formation-left {
        padding-right: 0;
    }
    
    .formation-cta {
        justify-content: center;
    }
    
    .formation-title {
        font-size: 2rem;
    }
    
    .book-3d-container {
        transform: scale(0.8);
    }
    
    /* Contact Mobile */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-modern {
        padding: 35px;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .submit-btn-modern {
        font-size: 0.95rem;
        padding: 18px;
    }
    
    /* Auth Modal Mobile */
    .auth-modal {
        width: 95%;
        margin: 10px;
    }
    
    .auth-container {
        padding: 40px 25px 30px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* ============= RESPONSIVE - MOBILE LANDSCAPE ============= */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .car-name {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
    
    .auth-nav-section {
        bottom: 10px;
        right: 10px;
    }
}

/* ============= RESPONSIVE - MOBILE SMALL ============= */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
    }
    
    .logo {
        left: 15px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .menu-burger {
        right: 60px;
        width: 25px;
        height: 20px;
    }
    
    .auth-nav-section {
        bottom: 15px;
        right: 15px;
    }
    
    .auth-btn {
        padding: 10px;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .car-name {
        font-size: 2rem;
    }
    
    .hero-pretitle {
        font-size: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 0.9rem;
    }
    
    .image-slideshow {
        height: 250px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-details {
        width: 100%;
    }
    
    .contact-form-modern {
        padding: 25px;
    }
    
    .book-3d-container {
        transform: scale(0.6);
        height: 300px;
    }
}

/* ============= RESPONSIVE - TRÈS PETIT ÉCRAN ============= */
@media (max-width: 360px) {
    .car-name {
        font-size: 1.8rem;
    }
    
    .hero-pretitle {
        font-size: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
}

/* ============= RESPONSIVE - DESKTOP LARGE ============= */
@media (min-width: 1200px) {
    .showcase-modern {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* ============= AMÉLIORATIONS HOVER - DESKTOP ONLY ============= */
@media (hover: hover) {
    .slide-arrow:hover {
        background: rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.3);
        color: #ffffff;
        transform: translateY(-50%) scale(1.1);
    }
}

/* ============= AMÉLIORATIONS TOUCH - MOBILE ONLY ============= */
@media (hover: none) {
    .slide-arrow {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .slide-arrow:active {
        background: rgba(0, 0, 0, 0.6);
    }
}


/* 1. Badge INDISPONIBLE - style rouge */
.status-badge.unavailable {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* 2. Point rouge sans animation */
.status-badge.unavailable .status-dot {
    background: #ef4444;
    animation: none;
}

/* 3. Container image indisponible */
.image-slideshow.unavailable {
    position: relative;
}

/* 4. Overlay sombre sur l'image */
.image-slideshow.unavailable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: saturate(0.3);
    z-index: 5;
    pointer-events: none;
}

/* 5. Effet noir & blanc + assombri sur les images */
.image-slideshow.unavailable .slide-image {
    filter: grayscale(50%) brightness(0.7);
}

/* 6. Bouton réserver désactivé - style grisé */
.btn-reserve.unavailable {
    background: rgba(239, 68, 68, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* 7. Pas d'effet hover sur bouton désactivé */
.btn-reserve.unavailable:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: none;
}


/* ============= NOUVEAU FORMULAIRE ENRICHI ============= */

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-container-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checkbox-container-modern:hover {
    background: rgba(255, 255, 255, 0.05);
}

.checkbox-container-modern input[type="checkbox"] {
    display: none;
}

.checkmark-modern {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-container-modern input:checked ~ .checkmark-modern {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    border-color: #4ade80;
}

.checkbox-container-modern input:checked ~ .checkmark-modern::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 14px;
    font-weight: bold;
}

/* Styles pour les bénéfices */
.info-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.info-benefit:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 10px;
}

.info-benefit strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.info-benefit p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Highlight du prix */
.price-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin: 20px 0;
}

.price-tag {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 5px;
}

.price-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Mobile responsiveness pour le nouveau formulaire */
@media (max-width: 768px) {
    .form-section-title {
        font-size: 1rem;
    }
    
    .checkbox-container-modern {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    .info-benefit {
        padding: 12px;
    }
    
    .benefit-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .price-tag {
        font-size: 2rem;
    }
}

/* Fix pour le textarea - Message complémentaire */
.form-textarea-modern {
    resize: none;
    min-height: 100px;
    padding-top: 25px !important; /* Espace pour le label */
}

/* Label du textarea - position fixe en haut */
.form-group-modern:has(.form-textarea-modern) .form-label-modern {
    top: 5px !important;
    transform: translateY(0) scale(0.85) !important;
    color: rgba(255, 255, 255, 0.6);
}

/* Quand le textarea est focus, le label reste en haut */
.form-textarea-modern:focus ~ .form-label-modern {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(0) scale(0.85) !important;
    top: 5px !important;
}