/**
 * Central de Réclamation - Orange, Black & Gray Premium Design
 * New Modern Premium Design with Updated Color Palette & Fonts
 */

/* ============================================
   GOOGLE FONTS - Modern Premium Typography
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES - ORANGE, BLACK & GRAY PALETTE
============================================ */
:root {
    /* Primary Colors - Orange Theme */
    --color-orange-primary: #FF6B35;
    --color-orange-secondary: #FFA500;
    --color-orange-light: #FFB74D;
    --color-orange-very-light: #FFE4C4;

    /* Black & Gray */
    --color-black: #1A1A1A;
    --color-gray-dark: #4A4A4A;
    --color-gray-medium: #9E9E9E;
    --color-gray-light: #F5F5F5;
    --color-gray-lighter: #F9F9F9;
    --color-white: #FFFFFF;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FFA500 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    --gradient-accent: linear-gradient(135deg, #FFA500 0%, #FFB74D 100%);
    --gradient-success: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    --gradient-warning: linear-gradient(135deg, #FFA500 0%, #FFB74D 100%);
    --gradient-danger: linear-gradient(135deg, #F44336 0%, #EF5350 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #4A4A4A 100%);
    --gradient-hero: linear-gradient(135deg, #FFFFFF 0%, #F9F9F9 100%);

    /* Solid Colors */
    --primary: #FF6B35;
    --primary-light: #FFA500;
    --primary-dark: #E55A25;
    --secondary: #4A4A4A;
    --accent: #FFA500;

    /* Status Colors */
    --status-nouveau: #2196F3;
    --status-encours: #FF9800;
    --status-attente: #9E9E9E;
    --status-resolu: #4CAF50;
    --status-ferme: #F44336;

    /* Light Theme Base - LIGHT MODE */
    --bg-dark: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-glass: rgba(255, 255, 255, 0.95);
    --bg-input: rgba(255, 255, 255, 1);

    /* Light Surfaces */
    --surface-light: #FFFFFF;
    --surface-gray: #F5F5F5;

    /* Text Colors */
    --text-white: #FFFFFF;
    --text-light: #1A1A1A;
    --text-muted: #4A4A4A;
    --text-dark: #1A1A1A;
    --text-gray: #9E9E9E;

    /* Borders */
    --border-glass: rgba(255, 107, 53, 0.1);
    --border-light: rgba(200, 200, 200, 0.3);
    --border-subtle: rgba(200, 200, 200, 0.1);

    /* Shadows */
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.25);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-button: 0 4px 15px rgba(255, 107, 53, 0.35);
    --shadow-hover: 0 8px 25px rgba(255, 107, 53, 0.4);

    /* Glassmorphism */
    --glass-blur: blur(20px);
    --glass-saturate: saturate(180%);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Typography */
    --font-family-title: 'Montserrat', sans-serif;
    --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-accent: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    background: var(--gradient-hero);
    min-height: 100vh;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Animated Background - LIGHT THEME */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(74, 74, 74, 0.02) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-title);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 1.875rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-muted);
    font-family: var(--font-family-body);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   LAYOUT
============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col {
    flex: 1;
    padding: 0 1rem;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 1rem;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 1rem;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 1rem;
}

/* ============================================
   GLASSMORPHISM CARDS
============================================ */
.card {
    background: var(--surface-light);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.card:hover {
    background: var(--surface-light);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.card-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #E8E8E8;
    background: #FAFAFA;
}

.card-header h3,
.card-header h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-family: var(--font-family-title);
    color: var(--text-dark);
}

.card-header i {
    color: var(--primary);
}

.card-body {
    padding: 2rem;
    color: var(--text-dark);
}

.card-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #E8E8E8;
    background: #FAFAFA;
}

/* Glass Card - Light Theme */
.glass-card {
    background: var(--surface-light);
    backdrop-filter: var(--glass-blur) var(--glass-saturate);
    -webkit-backdrop-filter: var(--glass-blur) var(--glass-saturate);
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.glass-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

/* Premium Option Cards */
.option-card {
    background: var(--surface-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid #F0F0F0;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.option-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

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

.option-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 2rem;
    transition: transform var(--transition-bounce);
}

.option-card:hover .option-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.icon-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.icon-info {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.3);
}

.icon-warning {
    background: var(--gradient-warning);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.3);
}

.option-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-family: var(--font-family-title);
    color: var(--text-dark);
}

.option-card p {
    font-size: 0.9375rem;
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-family-body);
}

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: var(--font-family-accent);
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--gradient-primary);
    backdrop-filter: var(--glass-blur);
    color: white;
    border: 2px solid var(--primary);
    font-family: var(--font-family-accent);
    box-shadow: var(--shadow-button);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    font-family: var(--font-family-accent);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn-danger {
    background: var(--gradient-danger);
    color: white;
    font-family: var(--font-family-accent);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-family-accent);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   FORMS - Premium Style
============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-family: var(--font-family-title);
}

.form-label i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-family-body);
    color: var(--text-dark);
    background: var(--surface-light);
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    backdrop-filter: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    background: var(--surface-light);
}

.form-control::placeholder {
    color: var(--text-gray);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-family-body);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF6B35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
}

/* Form Sections */
.form-section {
    background: #FAFAFA;
    backdrop-filter: var(--glass-blur);
    border: 1px solid #E8E8E8;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-family: var(--font-family-title);
}

.form-section-title i {
    color: var(--primary);
}

/* ============================================
   BADGES
============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    white-space: nowrap;
    font-family: var(--font-family-accent);
}

.badge-primary {
    background: rgba(255, 107, 53, 0.15);
    color: var(--primary);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.badge-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-danger {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.badge-warning {
    background: rgba(255, 165, 0, 0.15);
    color: #FFA500;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.badge-info {
    background: rgba(33, 150, 243, 0.15);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.badge-gray {
    background: rgba(158, 158, 158, 0.1);
    color: var(--text-gray);
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.badge-lg {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   ALERTS - Messages de notification
============================================ */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: none;
    font-family: var(--font-family-body);
    font-weight: 500;
    animation: slideInAlert 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

@keyframes slideInAlert {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0.5;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
    min-width: 24px;
    display: flex;
    align-items: center;
}

.alert-message {
    flex: 1;
    word-break: break-word;
}

.alert-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
}

.alert-close:hover {
    opacity: 1;
    transform: scale(1.2) rotate(90deg);
}

.alert-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border-left-color: #4CAF50;
    color: #2D6A2D;
}

.alert-success i {
    color: #4CAF50;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.05) 100%);
    border-left-color: #F44336;
    color: #B71C1C;
}

.alert-danger i {
    color: #F44336;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-left-color: #FFA500;
    color: #C67100;
}

.alert-warning i {
    color: #FFA500;
}

.alert-info {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
    border-left-color: #2196F3;
    color: #0D47A1;
}

.alert-info i {
    color: #2196F3;
}

/* ═════════════════════════════════════════════════════════════════════════
   🎨 NAVIGATION PRINCIPALE - DESIGN PREMIUM MODERNE
   ═════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════
   NAVBAR PRINCIPALE - DESIGN PROFESSIONNEL
═══════════════════════════════════════════════════════════════════ */
.navbar {
    background: #FFFFFF !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 2px solid #E0E0E0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    animation: slideDownNavbar 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0.8rem 0;
}

@keyframes slideDownNavbar {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

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

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    height: auto;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   MARQUE & LOGO - DESIGN NOIR PROFESSIONNEL
═══════════════════════════════════════════════════════════════════ */
.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    color: #1A1A1A;
    text-decoration: none;
    font-weight: 800;
    font-family: var(--font-family-title);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand:hover {
    transform: scale(1.01);
}

.navbar-brand:active {
    transform: scale(0.98);
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover .navbar-brand-logo {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #4A4A4A 0%, #1A1A1A 100%);
}

.navbar-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.1;
    justify-content: center;
}

.navbar-company {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: -0.3px;
}

.navbar-subtitle {
    font-size: 0.7rem;
    font-weight: 600;
    color: #4A4A4A;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════════════
   MENU NAVIGATION (DESKTOP) - NOIR & GRIS
═══════════════════════════════════════════════════════════════════ */
.navbar-menu {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-right: 0;
    margin: 0;
}

.navbar-section {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
}

.navbar-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.12) 50%, rgba(0, 0, 0, 0.08) 100%);
    margin: 0 0.5rem;
    border-radius: 1px;
    flex-shrink: 0;
}

.navbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    color: #000000 !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-family-body);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    height: 40px;
    border: none;
    background-color: transparent;
}

.navbar-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 0, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.navbar-link i {
    font-size: 0.95rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.navbar-link:hover {
    color: #000000 !important;
    background: #F0F0F0;
    border-color: #D0D0D0;
}

.navbar-link:hover i {
    transform: translateY(-2px) scale(1.08);
}

.navbar-link:hover::before {
    opacity: 1;
}

.navbar-link.active {
    color: white;
    background: linear-gradient(135deg, #2A2A2A 0%, #4A4A4A 100%);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    border-color: #4A4A4A;
}

.navbar-link.active i {
    transform: translateY(0);
}

.navbar-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2A2A2A 0%, #4A4A4A 100%);
    border-radius: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Style pour le bouton login */
.navbar-login {
    padding: 0.6rem 1.3rem;
    border: 2px solid #1A1A1A;
    color: #1A1A1A;
    background: transparent;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    height: 40px;
}

.navbar-login:hover {
    background: linear-gradient(135deg, #1A1A1A 0%, #4A4A4A 100%);
    color: white;
    border-color: #4A4A4A;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Style pour le bouton logout */
.navbar-logout {
    color: #DC3545;
    transition: all 0.3s ease;
    height: 40px;
}

.navbar-logout:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #DC3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
    border-color: #DC3545;
}

/* ══════════════════════════════════════════════════════════════════
   MENU MOBILE TOGGLE BUTTON - VISIBLE SUR TOUS APPAREILS
═══════════════════════════════════════════════════════════════════ */
.navbar-toggler {
    display: none;
    background: linear-gradient(135deg, #2A2A2A 0%, #4A4A4A 100%);
    border: 1px solid #4A4A4A;
    color: white;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4A4A4A 0%, #1A1A1A 100%);
}

.navbar-toggler:active {
    transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════
   MENU MOBILE (VERTICAL LAYOUT) - PROFESSIONNEL
   Note: Les styles principaux sont définis plus bas dans le fichier (section 3100+)
   Cette section est désactivée pour éviter les conflits
═══════════════════════════════════════════════════════════════════ */
/* Mobile menu styles moved to line 3100+ for proper slide-in behavior */

@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

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

.mobile-menu-section {
    margin-bottom: 0;
    display: contents;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.mobile-menu-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mobile-menu-title {
    display: none;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #1A1A1A;
    padding: 0.5rem 0.5rem;
    margin-bottom: 0.5rem;
}

.mobile-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1A1A1A;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-family-body);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    height: 40px;
    background-color: transparent;
}

.mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #2A2A2A 0%, #4A4A4A 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-menu-link i {
    font-size: 1rem;
    color: #1A1A1A;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-menu-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1A1A1A;
    padding-left: 1.3rem;
    border-color: #D0D0D0;
}

.mobile-menu-link:hover::before {
    transform: scaleY(1);
}

.mobile-menu-link:hover i {
    transform: scale(1.15) rotateY(8deg);
}

.mobile-menu-link.active {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.12) 0%, rgba(74, 74, 74, 0.08) 100%);
    color: #1A1A1A;
    font-weight: 700;
    border-color: #2A2A2A;
}

.mobile-menu-link.active::before {
    transform: scaleY(1);
}

.mobile-menu-divider {
    display: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    margin: 0;
    border-radius: 1px;
}

.mobile-menu-login {
    color: #1A1A1A;
    border-top: 1px solid #E0E0E0;
    padding-top: 1rem;
}

.mobile-menu-logout {
    color: #DC3545;
}

/* ============================================
   HERO SECTION
============================================ */
.hero-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    position: relative;
}

.hero-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-glow);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-family-title);
}

.hero-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    font-family: var(--font-family-body);
}

/* ============================================
   STATISTICS SECTION
============================================ */
.stats-section {
    background: var(--surface-light);
    backdrop-filter: var(--glass-blur);
    border: 2px solid #E8E8E8;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-soft);
}

.stats-header {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-family-title);
}

.stats-header i {
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    background: #FAFAFA;
    border-radius: var(--radius-md);
    border: 1px solid #E8E8E8;
    transition: all var(--transition-fast);
}

.stat-item:hover {
    background: var(--surface-light);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    font-family: var(--font-family-title);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-family: var(--font-family-body);
}

/* ============================================
   TABLES
============================================ */
.table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-family-body);
}

.table thead {
    background: #FAFAFA;
}

.table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 2px solid #E8E8E8;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-family-title);
}

.table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #E8E8E8;
    color: var(--text-muted);
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: #F5F5F5;
}

/* ============================================
   TIMELINE - Premium Style
============================================ */
.timeline-container {
    background: var(--surface-light);
    backdrop-filter: var(--glass-blur);
    border: 2px solid #E8E8E8;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.timeline-info h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-family: var(--font-family-title);
    color: var(--text-dark);
}

.timeline-info p {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-family-body);
}

/* Timeline Line */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    height: 6px;
    background: #F5F5F5;
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
    border: 1px solid #E8E8E8;
}

.timeline-progress {
    height: 100%;
    background: var(--gradient-success);
    border-radius: var(--radius-full);
    transition: width 1s ease;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-smooth);
    font-weight: 700;
    font-family: var(--font-family-title);
}

.step.completed .icon {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.5);
}

.step.active .icon {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.5);
    animation: pulse-glow 2s infinite;
}

.step.pending .icon {
    background: #F5F5F5;
    color: var(--text-gray);
    border: 2px solid #E8E8E8;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-family-body);
}

.step.pending .step-label {
    color: var(--text-gray);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(255, 107, 53, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.8);
    }
}

/* ============================================
   HISTORY LIST
============================================ */
.history-list {
    position: relative;
    padding-left: 2rem;
}

.history-list::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-light));
}

.history-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #FAFAFA;
    border: 1px solid #E8E8E8;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.history-item:hover {
    border-color: var(--primary);
    background: var(--surface-light);
}

.history-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.history-item-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-family: var(--font-family-title);
}

.history-item-details {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: var(--font-family-body);
}

.history-item-date {
    font-size: 0.75rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* ============================================
   MESSAGE ITEMS
============================================ */
.message-item {
    background: #FAFAFA;
    border: 1px solid #E8E8E8;
    padding: 1.25rem;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.message-author {
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-family-title);
}

.message-date {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.message-content {
    color: var(--text-muted);
    line-height: 1.6;
    font-family: var(--font-family-body);
}

/* ============================================
   ATTACHMENT ITEMS
============================================ */
.attachment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #FAFAFA;
    border: 1px solid #E8E8E8;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    transition: all var(--transition-fast);
}

.attachment-item:hover {
    border-color: var(--primary);
    background: var(--surface-light);
}

.attachment-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin: 0;
    font-family: var(--font-family-body);
}

.attachment-size {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin: 0;
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid #E8E8E8;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-family-title);
}

.footer-section h4 i {
    color: var(--primary);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
    font-family: var(--font-family-body);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.875rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast);
    font-family: var(--font-family-body);
}

.footer-section ul li a:hover {
    color: var(--text-dark);
}

.footer-section ul li a i,
.footer-section ul li i {
    width: 20px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #E8E8E8;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-family: var(--font-family-body);
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F5F5F5;
    border: 2px solid #E0E0E0;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-smooth);
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-button);
}

/* ============================================
   BACK TO TOP BUTTON
============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    box-shadow: var(--shadow-button);
    transition: all var(--transition-smooth);
    z-index: 998;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   MAIN CONTENT
============================================ */
.main-content {
    min-height: calc(100vh - 400px);
    padding: 2rem 0;
}

/* ============================================
   UTILITIES
============================================ */
.text-center {
    text-align: center;
}

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

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

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

.text-muted {
    color: var(--text-muted) !important;
}

.mt-1 {
    margin-top: 0.5rem;
}

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

.mt-3 {
    margin-top: 1.5rem;
}

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

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.p-5 {
    padding: 3rem;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

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

.align-items-start {
    align-items: flex-start;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: var(--shadow-glow);
    }

    50% {
        box-shadow: 0 0 60px rgba(255, 107, 53, 0.5);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.fade-in-visible {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Alert animations */
.alert-dismissible {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1050;
    max-width: 420px;
    animation: slideInRight 0.4s ease-out;
}

/* ============================================
   TRACK CONTAINER (statut_ticket.php)
============================================ */
.track-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.track-header {
    background: var(--surface-light);
    backdrop-filter: var(--glass-blur);
    border: 2px solid #E8E8E8;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.track-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.track-card {
    background: var(--surface-light);
    backdrop-filter: var(--glass-blur);
    border: 2px solid #E8E8E8;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

/* ============================================
   HERO SECTION - NEW LANDING DESIGN
============================================ */
.hero {
    padding: 5rem 0 4rem;
    background: var(--gradient-hero);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 165, 0, 0.1));
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: var(--font-family-accent);
    width: fit-content;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 95%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: var(--surface-light);
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.hero-card-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hero-card-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: var(--font-family-title);
}

.hero-card-subtitle {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-family: var(--font-family-body);
}

/* ============================================
   FEATURES SECTION
============================================ */
.features {
    padding: 5rem 0;
}

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

.text-center h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.text-center p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.mb-3 {
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    background: var(--surface-light);
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    color: white;
    font-size: 2rem;
    transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   HOW IT WORKS SECTION
============================================ */
.how-it-works {
    padding: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    background: var(--surface-light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid #E0E0E0;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-card);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    font-family: var(--font-family-title);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.step-text {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-arrow {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    display: none;
}

.step-card:last-child .step-arrow {
    display: none;
}

/* ============================================
   CTA SECTION
============================================ */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    padding: 4rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.quick-track-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}

.form-input {
    flex: 1;
    min-width: 200px;
    padding: 0.875rem 1.5rem;
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-lg);
    font-family: var(--font-family-body);
    font-size: 0.9375rem;
    background: var(--surface-light);
    color: var(--text-dark);
    transition: all var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input::placeholder {
    color: var(--text-gray);
}

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

.section {
    padding: 4rem 0;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid::before {
        display: none;
    }

    .step-arrow {
        display: none !important;
    }

    .quick-track-form {
        flex-direction: column;
    }

    .form-input {
        min-width: 100%;
    }
}

@media (max-width: 768px) {

    .col-md-4,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* ========== RESPONSIVE NAVBAR - MOBILE ========== */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar .container {
        padding: 0;
        height: auto;
        gap: 1rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .navbar-brand {
        gap: 0.8rem;
        margin-right: auto;
    }

    .navbar-brand-text {
        display: flex;
    }

    .navbar-brand-logo {
        width: 44px;
        height: 44px;
    }

    .navbar-logo-img {
        height: 28px;
    }

    .navbar-company {
        font-size: 0.85rem;
    }

    .navbar-subtitle {
        font-size: 0.65rem;
    }

    .navbar-menu {
        display: none !important;
    }

    .navbar-section {
        display: none;
    }

    .navbar-link {
        display: none;
    }

    .navbar-divider {
        display: none;
    }

    .navbar-toggler {
        display: flex !important;
        width: 40px;
        height: 40px;
        margin-left: auto;
    }

    .mobile-menu {
        display: none;
        position: static;
        background: transparent;
        border-bottom: none;
        padding: 0;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
        margin-top: 0;
        max-height: none;
        overflow-y: visible;
    }

    .mobile-menu.show {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background: #FFFFFF;
        border-bottom: 2px solid #E0E0E0;
        padding: 0;
        z-index: 1000;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        animation: slideDownMobileMenu 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes slideDownMobileMenu {
        from {
            opacity: 0;
            transform: translateY(-15px);
        }

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

    .mobile-menu-section {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-menu-header {
        padding: 1.5rem;
        text-align: center;
        border-bottom: 2px solid #F0F0F0;
        margin-bottom: 0.5rem;
        background: #FAFAFA;
    }

    .mobile-menu-header strong {
        display: block;
        font-size: 1.1rem;
        color: var(--primary);
        margin-bottom: 0.25rem;
        font-family: var(--font-family-title);
    }

    .mobile-menu-subtitle {
        margin: 0;
        font-size: 0.9rem;
        color: var(--text-gray);
        font-family: var(--font-family-body);
    }

    .mobile-menu-title {
        display: none;
    }

    .mobile-menu-link {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        border-radius: 0;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-dark) !important;
        text-decoration: none;
        border: none;
        border-bottom: 1px solid #F0F0F0;
        background: #FFFFFF !important;
        transition: all 0.2s ease;
    }

    .mobile-menu-link i {
        width: 20px;
        text-align: center;
        color: var(--primary);
        font-size: 1.1rem;
    }

    .mobile-menu-link:hover {
        background: #F5F5F5 !important;
    }

    .mobile-menu-divider {
        display: none;
    }

    /* ========== GENERAL RESPONSIVE ========== */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .hero-header h1 {
        font-size: 1.75rem;
    }

    .option-card {
        padding: 2rem 1.5rem;
    }

    .option-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .quick-track-form {
        flex-direction: column;
    }

    .form-input {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .steps {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step {
        text-align: left;
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .step .icon {
        width: 40px;
        height: 40px;
        margin: 0;
        flex-shrink: 0;
    }

    .track-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .alert-dismissible {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar-brand {
        font-size: 1.125rem;
    }

    .navbar-brand i {
        font-size: 1.25rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .track-container {
        padding: 0 1rem;
    }

    .track-card,
    .track-header {
        padding: 1.5rem;
    }
}

/* File Input */
.file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.file-upload:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.file-upload input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.file-upload-text {
    color: var(--text-secondary);
    text-align: center;
}

.file-upload-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR - HEADER PROFESSIONNEL AMÉLIORÉ
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════ CONTENEUR PRINCIPAL NAVBAR ══════════════ */
.navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ══════════════ LOGO & MARQUE ══════════════ */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
    transition: all 0.3s ease;
}

.navbar-brand:hover .navbar-brand-logo {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    transform: scale(1.05);
}

.navbar-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.navbar-company {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.navbar-subtitle {
    font-size: 0.813rem;
    font-weight: 500;
    color: #6c757d;
    letter-spacing: 0.02em;
}

/* ══════════════ MENU NAVIGATION DESKTOP ══════════════ */
/* Menu caché par défaut - utilisera le menu mobile pour tous les appareils */
.navbar-menu {
    display: none;
}

.navbar-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ══════════════ LIENS DE NAVIGATION ══════════════ */
.navbar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    text-decoration: none;
    color: #2d3436;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    min-width: fit-content;
    background: transparent;
}

.navbar-link i {
    font-size: 1.125rem;
    color: #2d3436;
    transition: all 0.3s ease;
}

.navbar-link span {
    font-weight: 600;
    color: #2d3436;
}

/* Effet hover */
.navbar-link:hover {
    background: rgba(45, 52, 54, 0.08);
    color: #2d3436;
    transform: translateY(-1px);
}

.navbar-link:hover i {
    transform: scale(1.1);
    color: #2d3436;
}

/* Lien actif */
.navbar-link.active {
    background: rgba(45, 52, 54, 0.1);
    color: #2d3436;
    box-shadow: 0 2px 8px rgba(45, 52, 54, 0.15);
    border-bottom: 2px solid #2d3436;
}

.navbar-link.active i,
.navbar-link.active span {
    color: #2d3436;
}

.navbar-link.active:hover {
    background: rgba(45, 52, 54, 0.12);
    color: #2d3436;
    transform: translateY(-1px);
}

/* ══════════════ BOUTONS SPÉCIAUX ══════════════ */
/* Bouton Login */
.navbar-link.navbar-login {
    background: rgba(45, 52, 54, 0.08);
    color: #2d3436;
    box-shadow: 0 2px 6px rgba(45, 52, 54, 0.1);
    border: 1px solid rgba(45, 52, 54, 0.15);
}

.navbar-link.navbar-login i,
.navbar-link.navbar-login span {
    color: #2d3436;
}

.navbar-link.navbar-login:hover {
    background: rgba(45, 52, 54, 0.12);
    box-shadow: 0 3px 10px rgba(45, 52, 54, 0.15);
    color: #2d3436;
    border-color: rgba(45, 52, 54, 0.2);
}

/* Bouton Logout */
.navbar-link.navbar-logout {
    background: rgba(45, 52, 54, 0.08);
    color: #2d3436;
    box-shadow: 0 2px 6px rgba(45, 52, 54, 0.1);
    border: 1px solid rgba(45, 52, 54, 0.15);
}

.navbar-link.navbar-logout i,
.navbar-link.navbar-logout span {
    color: #2d3436;
}

.navbar-link.navbar-logout:hover {
    background: rgba(45, 52, 54, 0.12);
    box-shadow: 0 3px 10px rgba(45, 52, 54, 0.15);
    color: #2d3436;
    border-color: rgba(45, 52, 54, 0.2);
}

/* ══════════════ DIVISEUR ══════════════ */
.navbar-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent 0%, #dee2e6 50%, transparent 100%);
    margin: 0 0.5rem;
}

/* ══════════════ BOUTON MENU MOBILE ══════════════ */
/* Visible sur TOUS les appareils (PC et mobile) */
.navbar-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #FF6B35;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.25);
}

.navbar-toggler:hover {
    background: #ff8c5a;
    transform: scale(1.05);
    box-shadow: 0 5px 18px rgba(255, 107, 53, 0.35);
}

.navbar-toggler:active {
    transform: scale(0.98);
}

.navbar-toggler i {
    font-size: 1.375rem;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.navbar-toggler:hover i {
    transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════════
   MENU MOBILE
   ═══════════════════════════════════════════════════════════════ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 2000;
    padding: 2rem 1.75rem;
}

.mobile-menu-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-header i {
    font-size: 2.5rem;
    color: #FF6B35;
    margin-bottom: 1rem;
}

.mobile-menu-header strong {
    display: block;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu.show {
    right: 0;
}

/* ══════════════ SECTIONS MOBILE MENU ══════════════ */
.mobile-menu-section {
    margin-bottom: 2.25rem;
}

.mobile-menu-title {
    display: block;
    font-size: 0.938rem;
    font-weight: 700;
    color: #636e72;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.125rem;
    padding-left: 1.25rem;
    border-left: 3px solid #FF6B35;
}

/* ══════════════ LIENS MOBILE ══════════════ */
.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #2d3436;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 0.625rem;
    background: transparent;
    border-left: 3px solid transparent;
}

.mobile-menu-link i {
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
    color: #2d3436;
    flex-shrink: 0;
}

.mobile-menu-link span {
    color: #2d3436;
    font-weight: 600;
}

.mobile-menu-link:hover {
    background: rgba(45, 52, 54, 0.06);
    color: #2d3436;
    transform: translateX(4px);
    border-left-color: #2d3436;
}

.mobile-menu-link:hover i,
.mobile-menu-link:hover span {
    color: #2d3436;
}

.mobile-menu-link.active {
    background: rgba(45, 52, 54, 0.1);
    color: #2d3436;
    border-left-color: #2d3436;
    box-shadow: 0 2px 8px rgba(45, 52, 54, 0.12);
}

.mobile-menu-link.active i,
.mobile-menu-link.active span {
    color: #2d3436;
}

/* Boutons spéciaux mobile */
.mobile-menu-link.mobile-menu-login {
    background: rgba(45, 52, 54, 0.08);
    color: #2d3436;
    border: 1px solid rgba(45, 52, 54, 0.15);
    border-left: 3px solid #2d3436;
}

.mobile-menu-link.mobile-menu-login i,
.mobile-menu-link.mobile-menu-login span {
    color: #2d3436;
}

.mobile-menu-link.mobile-menu-logout {
    background: rgba(45, 52, 54, 0.08);
    color: #2d3436;
    border: 1px solid rgba(45, 52, 54, 0.15);
    border-left: 3px solid #2d3436;
}

.mobile-menu-link.mobile-menu-logout i,
.mobile-menu-link.mobile-menu-logout span {
    color: #2d3436;
}

/* ══════════════ DIVISEUR MOBILE ══════════════ */
.mobile-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #dee2e6 50%, transparent 100%);
    margin: 1.5rem 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* Tablettes et écrans moyens */
@media (max-width: 992px) {

    /* Le menu hamburger reste visible sur tous les écrans */
    .navbar-menu {
        display: none;
    }

    .navbar-toggler {
        display: flex;
    }

    .navbar .container {
        padding: 0.625rem 1rem;
    }

    .navbar-brand-logo {
        width: 45px;
        height: 45px;
    }

    .navbar-company {
        font-size: 1.125rem;
    }

    .navbar-subtitle {
        font-size: 0.75rem;
    }

    .mobile-menu {
        width: 360px;
    }
}

/* Smartphones */
@media (max-width: 576px) {
    .navbar .container {
        padding: 0.5rem 0.875rem;
    }

    .navbar-brand {
        gap: 0.625rem;
    }

    .navbar-brand-logo {
        width: 40px;
        height: 40px;
    }

    .navbar-company {
        font-size: 1rem;
    }

    .navbar-subtitle {
        font-size: 0.688rem;
    }

    .navbar-toggler {
        width: 40px;
        height: 40px;
    }

    .navbar-toggler i {
        font-size: 1.125rem;
    }

    .mobile-menu {
        width: 300px;
        padding: 1.5rem;
    }

    .mobile-menu-link {
        font-size: 1.25rem;
        padding: 1.125rem 1.25rem;
        margin-bottom: 0.75rem;
    }

    .mobile-menu-link i {
        font-size: 1.5rem;
        width: 32px;
    }

    .mobile-menu-title {
        font-size: 0.938rem;
        margin-bottom: 1.125rem;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .navbar-company {
        font-size: 0.938rem;
    }

    .navbar-subtitle {
        display: none;
    }

    .mobile-menu {
        width: 280px;
    }

    .mobile-menu-link {
        font-size: 1.125rem;
        padding: 1rem 1rem;
    }

    .mobile-menu-link i {
        font-size: 1.375rem;
        width: 28px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS & TRANSITIONS
   ═══════════════════════════════════════════════════════════════ */

/* Animation d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.navbar {
    animation: fadeIn 0.5s ease-out;
}

/* Animation du menu mobile */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-menu.show {
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Overlay pour le menu mobile */
.mobile-menu.show::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 380px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    animation: fadeIn 0.3s ease;
}

@media (max-width: 576px) {
    .mobile-menu.show::before {
        right: 300px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITÉ
   ═══════════════════════════════════════════════════════════════ */

/* Focus visible pour l'accessibilité */
.navbar-link:focus,
.mobile-menu-link:focus,
.navbar-toggler:focus {
    outline: 3px solid #FF6B35;
    outline-offset: 2px;
}

/* Mode sombre (optionnel - peut être activé via JS) */
@media (prefers-color-scheme: dark) {
    .navbar {
        background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
        border-bottom-color: #404040;
    }

    .navbar-company {
        color: #ffffff;
    }

    .navbar-subtitle {
        color: #a0a0a0;
    }

    .navbar-link {
        color: #e0e0e0;
    }

    .navbar-link:hover {
        background: linear-gradient(135deg, #2c2c2c 0%, #404040 100%);
    }
}

/* ═══════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════ */
@media print {
    .navbar {
        box-shadow: none;
        border-bottom: 1px solid #000;
        background: #fff;
    }

    .navbar-toggler,
    .mobile-menu {
        display: none;
    }
}

/* ============================================
   GLOBAL COMPONENTS (Stat Cards & Badges)
   ============================================ */
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    margin: 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.stat-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Navbar Brand Badge */
.navbar-brand-badge {
    margin-left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Perfect Mobile Menu */
.mobile-menu {
    background: white;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: none;
    /* Toggled by JS via .show class */
    flex-direction: column;
    gap: 0.5rem;
    animation: slideDown 0.3s ease-out forwards;
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: var(--surface-light);
    color: var(--primary);
    transform: translateX(5px);
}

.mobile-menu-link i {
    width: 20px;
    text-align: center;
}

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

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

/* ============================================
   GRID SYSTEM (Bootstrap-like)
   ============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-3 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 992px) {
    .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}