/* --- Variables & Reset (Style Obsidian & Ice Blue - Premium eSport) --- */
:root {
    --bg-main: #050505; 
    --bg-secondary: #0a0a0a;
    --bg-card: #121212;
    --primary: #FF2A2A; 
    --primary-hover: #CC0000;
    --secondary-accent: #FFFFFF;
    --border-color: rgba(255, 42, 42, 0.15);
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    color-scheme: dark;
}

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

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
    scrollbar-width: thin; 
    scrollbar-color: var(--primary) var(--bg-main); 
}

body { 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    font-family: var(--font-family); 
    line-height: 1.6; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, button, select, input { 
    cursor: pointer; 
}

/* --- Scroll to top --- */
#scrollTopBtn {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: rgba(18, 18, 18, 0.8); 
    color: var(--primary);
    border: 1px solid var(--border-color); 
    width: 45px; 
    height: 45px; 
    border-radius: 8px;
    font-size: 1.2rem; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    visibility: hidden; 
    transition: var(--transition); 
    z-index: 900;
    backdrop-filter: blur(5px);
}

#scrollTopBtn.visible { 
    opacity: 1; 
    visibility: visible; 
}

#scrollTopBtn:hover { 
    background: var(--primary); 
    color: #000; 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(255, 42, 42, 0.5); 
    border-color: var(--primary);
}

/* --- Typography & Utils --- */
h1, h2, h3, h4 { 
    font-weight: 700; 
    line-height: 1.2; 
    letter-spacing: -0.02em; 
}

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

.section { 
    padding: 7rem 0; 
    border-bottom: 1px solid var(--border-color); 
}

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

.text-center { 
    text-align: center; 
}

.mt-2 { 
    margin-top: 2rem; 
}

/* --- Boutons Ultra-Visibles --- */
.btn-primary, .btn-secondary {
    display: inline-block; 
    padding: 0.9rem 2.2rem; 
    font-weight: 700; 
    font-size: 0.95rem;
    text-decoration: none; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    border: 1px solid transparent;
    font-family: var(--font-family); 
    text-align: center; 
    text-transform: uppercase; 
    letter-spacing: 0.1em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #AA0000 100%); 
    color: #000 !important;
    border-radius: 50px; 
    box-shadow: 0 6px 20px rgba(255, 42, 42, 0.3); 
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF4D4D 0%, var(--primary-hover) 100%); 
    transform: translateY(-4px) scale(1.03); 
    box-shadow: 0 10px 30px rgba(255, 42, 42, 0.6);
}

.btn-secondary { 
    background: rgba(255, 42, 42, 0.05); 
    color: var(--primary); 
    border: 1px solid var(--primary); 
    border-radius: 50px; 
    backdrop-filter: blur(5px);
}

.btn-secondary:hover { 
    background: rgba(255, 42, 42, 0.15); 
    transform: translateY(-4px); 
    box-shadow: 0 8px 25px rgba(255, 42, 42, 0.4); 
}

/* --- Navbar --- */
header#navbar { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease; 
    background: transparent; 
    border-bottom: 1px solid transparent; 
    transform: translateZ(0); 
    -webkit-transform: translateZ(0); 
    will-change: background-color, backdrop-filter, border-color;
}

header#navbar.scrolled { 
    background: rgba(5, 5, 5, 0.85); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); 
    border-bottom: 1px solid rgba(255, 42, 42, 0.25); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container { 
    width: 100%; 
    max-width: 100%; 
    margin: 0 auto; 
    padding: 1.25rem 4rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative; 
    gap: 1.5rem; 
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    color: var(--text-main); 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 1.2rem; 
    letter-spacing: 0.05em; 
    z-index: 10; 
    text-transform: uppercase; 
}

.logo-img { 
    width: 36px; 
    height: auto; 
    object-fit: contain; 
}

.logo-highlight { 
    color: var(--primary); 
    text-shadow: 0 0 12px rgba(255, 42, 42, 0.6); 
}

.nav-menu { 
    display: flex; 
    align-items: center; 
}

.nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    margin-left: auto; 
    z-index: 10; 
}

.nav-menu ul { 
    display: flex; 
    list-style: none; 
    gap: 2.5rem; 
}

@media (min-width: 1101px) { 
    .nav-menu ul { 
        position: absolute; 
        left: 50%; 
        top: 50%; 
        transform: translate(-50%, -50%); 
    } 
}

@media (min-width: 769px) and (max-width: 1100px) {
    .nav-menu { 
        flex: 1; 
        justify-content: center; 
        margin: 0 2rem; 
    }
    .nav-menu ul { 
        position: static; 
        transform: none; 
        display: flex; 
        justify-content: center; 
    }
}

.nav-menu a:not(.btn-primary) { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 0.85rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    transition: var(--transition); 
    position: relative;
}

.nav-menu a:not(.btn-primary):hover,
.nav-menu a:not(.btn-primary)[style*="color: var(--primary)"] { 
    color: var(--text-main) !important; 
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4); 
}

.nav-menu a:not(.btn-primary):after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--primary);
}
.nav-menu a:not(.btn-primary):hover::after {
    width: 100%;
}

.hamburger { 
    display: none; 
    background: none; 
    border: none; 
    flex-direction: column; 
    gap: 6px; 
    z-index: 1001; 
}

.hamburger span { 
    width: 28px; 
    height: 2px; 
    background: var(--text-main); 
    transition: var(--transition); 
    border-radius: 2px;
}

/* --- CYBERPUNK DA --- */
.cyber-badge {
    display: inline-flex; 
    align-items: center; 
    gap: 12px;
    background: rgba(255, 42, 42, 0.08); 
    border: 1px solid rgba(255, 42, 42, 0.4);
    padding: 8px 24px; 
    border-radius: 50px; 
    color: var(--primary);
    font-size: 0.85rem; 
    font-weight: 800; 
    letter-spacing: 0.2em; 
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(255, 42, 42, 0.15), inset 0 0 12px rgba(255, 42, 42, 0.1);
    margin-bottom: 2rem; 
    backdrop-filter: blur(8px);
}

.cyber-dot {
    width: 8px; 
    height: 8px; 
    background: var(--primary); 
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary); 
    animation: cyberPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes cyberPulse { 
    0%, 100% { opacity: 0.4; transform: scale(0.8); } 
    50% { opacity: 1; transform: scale(1.5); box-shadow: 0 0 20px var(--primary); } 
}

.neon-glitch-title {
    font-size: clamp(2.5rem, 6vw, 5.5rem) !important;
    line-height: 1.05; 
    font-weight: 900;
    text-transform: uppercase; 
    letter-spacing: -0.04em;
    text-shadow: 0 0 45px rgba(255, 42, 42, 0.3);
    margin-bottom: 1.5rem;
}

.neon-glitch-title span { 
    color: transparent; 
    -webkit-text-stroke: 2px var(--primary); 
    text-shadow: 0 0 25px rgba(255, 42, 42, 0.6); 
}

.holo-card {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.9) 0%, rgba(5, 5, 5, 0.95) 100%);
    border: 1px solid rgba(255, 42, 42, 0.15); 
    border-radius: 12px; 
    padding: 3rem 2.5rem;
    position: relative; 
    overflow: hidden; 
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1; 
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.holo-card::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 50%; 
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 42, 42, 0.08), transparent);
    transform: skewX(-25deg); 
    transition: 0.7s ease; 
    z-index: -1;
}

.holo-card:hover {
    transform: translateY(-12px) scale(1.02); 
    border-color: rgba(255, 42, 42, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 42, 42, 0.15);
}

.holo-card:hover::before { 
    left: 200%; 
}

.holo-icon-wrapper {
    width: 65px; 
    height: 65px; 
    border-radius: 12px; 
    background: rgba(255, 42, 42, 0.08);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 42, 42, 0.3); 
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.2);
    transition: var(--transition);
}

.holo-card:hover .holo-icon-wrapper {
    background: rgba(255, 42, 42, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 42, 42, 0.4);
    transform: scale(1.1);
}

.holo-icon-wrapper svg { 
    width: 32px; 
    height: 32px; 
    color: var(--primary); 
}

/* --- Formulaires Cyber --- */
.cyber-form-container {
    position: relative; 
    padding: 2px; 
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 42, 42, 0.1), var(--primary), rgba(255, 42, 42, 0.1));
    background-size: 200% 100%; 
    animation: borderFlow 4s ease infinite;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 42, 42, 0.2); 
    margin: 0 auto; 
    width: 100%;
}

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

.cyber-form-inner {
    background: #080808; 
    border-radius: 6px; 
    padding: 4rem 3.5rem;
    position: relative; 
    z-index: 2; 
    overflow: hidden; 
    height: 100%;
}

.cyber-form-inner::after {
    content: 'NAX'; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    font-size: 18rem; 
    font-weight: 900; 
    color: rgba(255, 255, 255, 0.015); 
    pointer-events: none; 
    z-index: 0;
}

.multi-step-form { 
    position: relative; 
    z-index: 10; 
    border: none; 
    padding: 0; 
    background: transparent; 
}

/* --- Hero Section --- */
.hero {
    height: 100vh; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    overflow: hidden;
    background-color: var(--bg-main); 
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(255, 42, 42, 0.05) 0%, transparent 60%),
        linear-gradient(rgba(255, 42, 42, 0.03) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(255, 42, 42, 0.03) 1px, transparent 1px); 
    background-size: 100% 100%, 50px 50px, 50px 50px;
}

#particles-canvas { display: none !important; }

.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 900px; 
    padding: 0 2rem; 
}

.hero p { 
    font-size: 1.35rem; 
    color: var(--text-muted); 
    margin-bottom: 3rem; 
    font-weight: 400; 
    letter-spacing: 0.02em;
}

.hero-actions { 
    display: flex; 
    gap: 1.5rem; 
    justify-content: center; 
}

/* Aura background animation */
.aura-bg {
    position: absolute; 
    top: 15%; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 70vw; 
    height: 600px;
    background: radial-gradient(ellipse, rgba(255, 42, 42, 0.12) 0%, transparent 70%);
    z-index: 0; 
    pointer-events: none; 
    animation: pulseGlowBg 6s ease-in-out infinite alternate;
}

@keyframes pulseGlowBg { 
    0% { opacity: 0.6; transform: translateX(-50%) scale(0.95); } 
    100% { opacity: 1; transform: translateX(-50%) scale(1.05); } 
}

.scroll-indicator { 
    position: absolute; 
    bottom: 40px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 2; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 12px; 
    color: var(--text-muted); 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    font-weight: 600;
}

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

.wheel { 
    width: 4px; 
    height: 8px; 
    background: var(--primary); 
    border-radius: 2px; 
    position: absolute; 
    top: 6px; 
    left: 50%; 
    transform: translateX(-50%); 
    animation: scrollWheel 2s ease infinite; 
    box-shadow: 0 0 8px var(--primary);
}

@keyframes scrollWheel { 
    0% { top: 6px; opacity: 1; height: 8px; } 
    50% { top: 16px; opacity: 0; height: 4px; }
    100% { top: 6px; opacity: 0; height: 8px; }
}

/* --- Grids & Layouts --- */
.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2.5rem; 
}

.section-header { 
    text-align: center; 
    margin-bottom: 5rem; 
    position: relative; 
    z-index: 2; 
}

.section-header p { 
    color: var(--text-muted); 
    max-width: 750px; 
    margin: 0 auto; 
    font-size: 1.15rem; 
    line-height: 1.8;
}

/* --- Accordion (FAQ) --- */
.accordion { 
    max-width: 900px; 
    margin: 0 auto; 
    position: relative; 
    z-index: 2; 
}

.accordion-item { 
    margin-bottom: 1.25rem; 
    background: rgba(15, 15, 15, 0.8); 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
    overflow: hidden; 
    transition: var(--transition); 
    backdrop-filter: blur(5px);
}

.accordion-item:hover { 
    border-color: rgba(255, 42, 42, 0.4); 
    box-shadow: 0 5px 20px rgba(255, 42, 42, 0.15); 
    transform: translateX(5px);
}

.accordion-header { 
    width: 100%; 
    padding: 1.75rem 2rem; 
    background: none; 
    border: none; 
    color: var(--text-main); 
    font-family: inherit; 
    font-size: 1.15rem; 
    font-weight: 600; 
    text-align: left; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.accordion-header .icon { 
    font-size: 1.5rem; 
    font-weight: 400; 
    color: var(--primary); 
    transition: transform 0.4s ease; 
}

.accordion-item.active { 
    border-color: var(--primary); 
    background: rgba(255, 42, 42, 0.05); 
    box-shadow: 0 0 25px rgba(255, 42, 42, 0.1);
}

.accordion-item.active .accordion-header .icon { 
    transform: rotate(45deg); 
    text-shadow: 0 0 15px var(--primary); 
}

.accordion-content { 
    max-height: 0; 
    padding: 0 2rem; 
    color: var(--text-muted); 
    font-size: 1rem; 
    line-height: 1.7;
    transition: max-height 0.4s ease, padding 0.4s ease; 
}

.accordion-item.active .accordion-content { 
    padding: 0 2rem 1.75rem 2rem; 
}

/* --- Rules (Règlement) --- */
.rule-num {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    width: 50px; 
    height: 50px; 
    background: rgba(255, 42, 42, 0.1);
    border: 1px solid var(--primary); 
    border-radius: 12px; 
    color: var(--primary); 
    font-weight: 900; 
    font-size: 1.2rem; 
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.2);
}

/* --- About Page Unique DA --- */
.nax-about-section { 
    padding-bottom: 7rem; 
    position: relative; 
}

.nax-about-grid { 
    display: grid; 
    grid-template-columns: 380px 1fr; 
    gap: 5rem; 
    align-items: stretch; 
    position: relative; 
    z-index: 2; 
}

.nax-profile-wrapper { 
    display: flex; 
    flex-direction: column; 
}

.nax-profile-glow { 
    position: absolute; 
    top: -60px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 180px; 
    height: 180px; 
    background: radial-gradient(circle, rgba(255, 42, 42, 0.25) 0%, transparent 70%); 
    z-index: 0; 
}

.nax-avatar-container { 
    position: relative; 
    z-index: 1; 
    margin-bottom: 2rem; 
    display: inline-block; 
    text-align: center; 
    width: 100%; 
}

.nax-avatar { 
    width: 130px; 
    height: 130px; 
    border-radius: 50%; 
    object-fit: contain; 
    background: var(--bg-secondary); 
    border: 2px solid var(--primary); 
    padding: 8px; 
    box-shadow: 0 0 25px rgba(255, 42, 42, 0.35); 
    transition: transform var(--transition);
}

.cyber-form-container:hover .nax-avatar {
    transform: scale(1.05);
}

.nax-profile-info { 
    position: relative; 
    z-index: 1; 
    text-align: center; 
}

.nax-profile-info h2 { 
    color: var(--text-main); 
    font-size: 1.8rem; 
    font-weight: 900; 
    text-transform: uppercase; 
    margin-bottom: 0.3rem; 
    letter-spacing: 0.05em;
}

.nax-role { 
    color: var(--primary); 
    font-size: 0.95rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
}

.nax-divider { 
    width: 50px; 
    height: 2px; 
    background: rgba(255, 42, 42, 0.3); 
    margin: 1.75rem auto; 
}

.nax-profile-info p { 
    color: var(--text-muted); 
    font-size: 1rem; 
    line-height: 1.7; 
    margin-bottom: 2.5rem; 
}

.nax-stats { 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
}

.nax-stat-item { 
    display: flex; 
    align-items: center; 
    gap: 1.25rem; 
    background: rgba(255, 255, 255, 0.03); 
    padding: 1rem 1.25rem; 
    border-radius: 8px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    transition: background 0.3s ease;
}

.nax-stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 42, 42, 0.2);
}

.nax-stat-item svg { 
    width: 22px; 
    height: 22px; 
    color: var(--primary); 
}

.nax-stat-item span { 
    font-size: 0.9rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.08em; 
    color: var(--text-main); 
}

.nax-about-content { 
    padding-top: 1rem; 
}

.nax-section-label { 
    color: var(--primary); 
    font-size: 0.9rem; 
    font-weight: 800; 
    letter-spacing: 0.25em; 
    text-transform: uppercase; 
    margin-bottom: 1.5rem; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.nax-section-label::before { 
    content: ''; 
    width: 40px; 
    height: 2px; 
    background: var(--primary); 
    box-shadow: 0 0 10px var(--primary);
}

.nax-lead { 
    font-size: 1.25rem; 
    color: var(--text-main); 
    font-weight: 500; 
    margin-bottom: 2rem; 
    line-height: 1.7; 
}

.nax-about-content p:not(.nax-lead) { 
    color: var(--text-muted); 
    line-height: 1.8; 
    font-size: 1.05rem;
    margin-bottom: 1.75rem; 
}

.nax-vision-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem; 
    margin-top: 3rem; 
}

/* --- Formulaire Inputs --- */
.form-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem; 
}

.input-group { 
    position: relative; 
}

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

.input-group input, 
.input-group select, 
.input-group textarea { 
    width: 100%; 
    padding: 1rem 1.2rem; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid var(--border-color); 
    border-radius: 6px; 
    color: var(--text-main); 
    font-family: inherit; 
    font-size: 1rem; 
    transition: var(--transition); 
}

.input-group select { 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none; 
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 1.2rem top 50%; 
    background-size: 0.65rem auto; 
    padding-right: 3rem; 
}

.input-group select option { 
    background-color: var(--bg-secondary); 
    color: var(--text-main); 
}

.input-group textarea { 
    resize: vertical; 
    min-height: 120px;
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus { 
    outline: none; 
    border-color: var(--primary); 
    background: rgba(255, 42, 42, 0.05);
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.15); 
}

.input-group label { 
    position: absolute; 
    left: 1.2rem; 
    top: 1.1rem; 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    transition: var(--transition); 
    pointer-events: none; 
}

.input-group input:focus ~ label, 
.input-group input:not(:placeholder-shown) ~ label, 
.input-group textarea:focus ~ label, 
.input-group textarea:not(:placeholder-shown) ~ label, 
.input-group select:focus ~ label, 
.input-group select:not(:placeholder-shown) ~ label, 
.input-group label.active { 
    top: -0.75rem; 
    left: 0.8rem; 
    font-size: 0.8rem; 
    background: #080808; 
    padding: 0 0.5rem; 
    color: var(--primary); 
    font-weight: 600; 
    letter-spacing: 0.05em;
}

.form-footer { 
    margin-top: 3rem; 
    text-align: center; 
}

.form-message { 
    margin-top: 1.5rem; 
    font-size: 0.95rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
}

.form-message.success { 
    color: var(--primary); 
    text-shadow: 0 0 15px rgba(255, 42, 42, 0.4); 
}

.form-message.error { 
    color: #ff4444; 
}

/* --- Footer Officiel --- */
footer#footer { 
    padding: 3rem 0; 
    background-color: var(--bg-main); 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    text-align: center; 
    position: relative; 
    z-index: 10; 
}

.footer-content p { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    font-weight: 400; 
    margin-bottom: 0.5rem; 
}

.footer-content p:first-child { 
    color: var(--text-main); 
    font-weight: 600; 
    letter-spacing: 0.05em;
}

/* --- Reveal Animations --- */
.reveal { 
    opacity: 0; 
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); 
}
.reveal.fade-up { transform: translateY(40px); }
.reveal.fade-left { transform: translateX(-40px); }
.reveal.fade-right { transform: translateX(40px); }
.reveal.zoom-in { transform: scale(0.9); }
.reveal.active { opacity: 1; transform: translate(0) scale(1); }

.delay-1 { transition-delay: 150ms; }
.delay-2 { transition-delay: 300ms; }
.delay-3 { transition-delay: 450ms; }

/* --- Custom UI --- */
.custom-select-display { 
    width: 100%; 
    padding: 1rem 1.2rem; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid var(--border-color); 
    border-radius: 6px; 
    color: var(--text-main); 
    font-family: inherit; 
    font-size: 1rem; 
    cursor: pointer; 
    transition: var(--transition); 
    min-height: 52px; 
    display: flex; 
    align-items: center; 
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 1.2rem top 50%; 
    background-size: 0.65rem auto; 
}

.custom-select-display.open { 
    border-color: var(--primary); 
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.15); 
    background: rgba(255, 42, 42, 0.05);
}

.custom-select-options { 
    position: absolute; 
    top: calc(100% + 5px); 
    left: 0; 
    right: 0; 
    background: #0d0d0d; 
    border: 1px solid var(--primary); 
    border-radius: 6px; 
    z-index: 999; 
    max-height: 250px; 
    overflow-y: auto; 
    display: none; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9); 
}

.custom-select-options.open { 
    display: block; 
    animation: fadeInStep 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
}

.custom-select-option { 
    padding: 1rem 1.2rem; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    color: var(--text-main); 
    font-size: 0.95rem; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover { 
    background-color: var(--primary); 
    color: #000; 
    font-weight: 700; 
    padding-left: 1.5rem; 
}

/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(255, 42, 42, 0.5); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.btn-tiktok { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    background: transparent; 
    border: none; 
    padding: 0.5rem; 
    color: var(--primary); 
    text-decoration: none; 
    transition: var(--transition); 
}

.btn-tiktok svg { 
    width: 26px; 
    height: 26px; 
    transition: var(--transition); 
}

.btn-tiktok:hover { 
    color: var(--primary-hover); 
    transform: translateY(-4px) scale(1.15); 
    filter: drop-shadow(0 5px 15px rgba(255, 42, 42, 0.6)); 
}

::selection { background-color: var(--primary); color: #000; }
::-moz-selection { background-color: var(--primary); color: #000; }

/* ==========================================================================
   RESPONSIVE DESIGN (Tablettes & Mobiles) - Version PC INTUCTÉE
   ========================================================================== */

@media (max-width: 992px) {
    .nax-about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .nax-profile-wrapper { max-width: 500px; margin: 0 auto; width: 100%; }
    .grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } 
}

@media (max-width: 768px) {
    /* --- Corrections Globales Mobile --- */
    .container { padding: 0 1.5rem; }
    .section { padding: 4rem 0; }
    main { padding-top: 100px !important; }

    /* --- Navbar Mobile Parfaite --- */
    .nav-container { padding: 1rem 1.5rem; gap: 0.5rem; justify-content: space-between; }
    .logo span { display: none; } 
    .logo-img { width: 32px; }
    .nav-actions { gap: 0.5rem; }
    .nav-actions .btn-primary { padding: 0.5rem 1rem; font-size: 0.7rem; } 
    .nav-actions .btn-tiktok svg { width: 22px; height: 22px; }

    /* --- Menu Burger --- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        font-size: 1.3rem;
        position: static;
        transform: none;
        gap: 2.5rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        margin-left: 10px;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--primary); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--primary); }

    /* --- Ajustements du contenu (Accueil, Formulaires, Cartes) --- */
    .hero h1 { font-size: 2.5rem !important; }
    .hero p { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; gap: 1rem; width: 100%; }
    .hero-actions a { width: 100%; }

    .neon-glitch-title { font-size: 2rem !important; margin-bottom: 1rem; }
    .section-header { margin-bottom: 3rem; }

    .grid-3 { grid-template-columns: 1fr; gap: 1.5rem; } 
    .holo-card { padding: 2rem 1.5rem; }
    .nax-vision-grid { grid-template-columns: 1fr; gap: 1.5rem; }

    .cyber-form-inner { padding: 2rem 1.2rem; }
    .form-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .navigation-buttons { flex-direction: column; gap: 1rem; }
    #nextBtn, #submitBtn { margin-left: 0; width: 100%; }
    #prevBtn { width: 100%; }
}

/* --- BANDEAU DÉFILANT STATISTIQUES (Page d'accueil) --- */
.ticker-wrap {
    width: 100%;
    background-color: var(--bg-secondary); 
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 42px; 
}

.ticker {
    display: flex;
    width: max-content;
    flex-shrink: 0; 
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    font-family: var(--font-family);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ticker-item span.highlight-red {
    color: #FF2A2A; 
    text-shadow: 0 0 12px rgba(255, 42, 42, 0.6);
    font-weight: 900;
    font-size: 1rem;
    margin-right: 10px;
    margin-left: 2.5rem; 
}

.ticker-item span.separator {
    color: rgba(255, 42, 42, 0.4); 
    margin-left: 2.5rem;
    font-weight: 400;
}

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

/* Recrutement forms specifics */
.form-stepper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 3.5rem; 
    padding: 0 1.5rem; 
}

.step { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.75rem; 
    position: relative; 
    z-index: 2; 
}

.step-number { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    background: var(--bg-main); 
    border: 2px solid var(--border-color); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800; 
    color: var(--text-muted); 
    transition: all 0.4s ease; 
}

.step.active .step-number { 
    background: var(--primary); 
    border-color: var(--primary); 
    color: #000; 
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.5); 
    transform: scale(1.1);
}

.step.completed .step-number { 
    background: rgba(255, 42, 42, 0.1); 
    border-color: var(--primary); 
    color: var(--primary); 
}

.step-label { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    font-weight: 600; 
    transition: var(--transition); 
}

.step.active .step-label, 
.step.completed .step-label { 
    color: var(--primary); 
}

.step-line { 
    flex: 1; 
    height: 2px; 
    background: var(--border-color); 
    margin: 0 1rem; 
    position: relative; 
    top: -14px; 
    z-index: 1; 
    transition: var(--transition); 
}

.step-line.active { 
    background: var(--primary); 
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.5); 
}

.form-step { 
    display: none; 
    animation: fadeInStep 0.5s cubic-bezier(0.16, 1, 0.3, 1); 
}

.form-step.active { 
    display: block; 
}

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

.navigation-buttons { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 2.5rem; 
    width: 100%; 
}

#nextBtn, #submitBtn { 
    margin-left: auto; 
}