/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Kladriva Professional Theme */
    /* Primary: Soft Blue (Trust, Professionalism) - Adouci */
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --primary-200: #bae6fd;
    --primary-300: #7dd3fc;
    --primary-400: #38bdf8;
    --primary-500: #0ea5e9;
    --primary-600: #0284c7;
    --primary-700: #0369a1;
    --primary-800: #075985;
    --primary-900: #0c4a6e;
    
    /* Secondary: Warm Orange (Energy, Innovation) */
    --secondary-50: #fff7ed;
    --secondary-100: #ffedd5;
    --secondary-200: #fed7aa;
    --secondary-300: #fdba74;
    --secondary-400: #fb923c;
    --secondary-500: #f97316;
    --secondary-600: #ea580c;
    --secondary-700: #c2410c;
    --secondary-800: #9a3412;
    --secondary-900: #7c2d12;
    
    /* Accent: Emerald Green (Success, Growth) */
    --accent-50: #ecfdf5;
    --accent-100: #d1fae5;
    --accent-200: #a7f3d0;
    --accent-300: #6ee7b7;
    --accent-400: #34d399;
    --accent-500: #10b981;
    --accent-600: #059669;
    --accent-700: #047857;
    --accent-800: #065f46;
    --accent-900: #064e3b;
    
    /* Tertiary: Soft Purple (Creativity, Technology) - Adouci */
    --tertiary-50: #fdf4ff;
    --tertiary-100: #fae8ff;
    --tertiary-200: #f5d0fe;
    --tertiary-300: #e9d5ff;
    --tertiary-400: #d8b4fe;
    --tertiary-500: #c084fc;
    --tertiary-600: #a855f7;
    --tertiary-700: #9333ea;
    --tertiary-800: #7c3aed;
    --tertiary-900: #6b21a8;
    
    /* Neutral: Modern Grays */
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    
    /* Semantic Colors */
    --success-50: #f0fdf4;
    --success-100: #dcfce7;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;
    
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;
    
    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #b91c1c;
    
    /* Info Colors */
    --info-50: #eff6ff;
    --info-100: #dbeafe;
    --info-500: #3b82f6;
    --info-600: #2563eb;
    --info-700: #1d4ed8;
    
    /* Soft Alternative Colors - Ultra douces */
    --soft-blue-50: #f8fafc;
    --soft-blue-100: #f1f5f9;
    --soft-blue-200: #e2e8f0;
    --soft-blue-300: #cbd5e1;
    --soft-blue-400: #94a3b8;
    --soft-blue-500: #64748b;
    
    --soft-purple-50: #fafafa;
    --soft-purple-100: #f5f5f5;
    --soft-purple-200: #e5e5e5;
    --soft-purple-300: #d4d4d4;
    --soft-purple-400: #a3a3a3;
    --soft-purple-500: #737373;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--neutral-600);
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== HEADER & NAVIGATION ===== */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.nav-brand .logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-bottom: var(--spacing-xs);
    transition: var(--transition-fast);
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-600);
    line-height: 1;
}

.logo-tagline {
    font-size: var(--font-size-xs);
    color: var(--neutral-500);
    font-weight: 400;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-2xl);
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
}

/* Masquer les boutons d'authentification mobile sur desktop */
.nav-auth-mobile {
    display: none;
}
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    transition: var(--transition-fast);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--neutral-700);
    transition: var(--transition-fast);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-500), var(--secondary-600));
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-600), var(--secondary-700));
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-500), var(--success-600));
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--success-600), var(--success-700));
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-outline:hover::before {
    left: 0;
}

.btn-outline:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-50) 50%, var(--accent-50) 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.highlight {
    color: var(--primary-600);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--secondary-300), var(--accent-300), var(--tertiary-300));
    z-index: -1;
    border-radius: var(--radius-sm);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--neutral-600);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: center;
}

.hero-actions .btn {
    border-radius: 25px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    min-width: 140px;
    text-align: center;
    transition: var(--transition-normal);
    letter-spacing: 0.025em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-100), var(--secondary-100));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.hero-icon {
    font-size: 8rem;
    color: var(--primary-600);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: white;
    padding: var(--spacing-3xl) 0;
    border-bottom: 1px solid var(--neutral-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    animation: fadeInUp 0.6s ease-out;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: var(--neutral-600);
    font-weight: 500;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    color: var(--neutral-900);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

.services-section,
.how-it-works-section,
.testimonials-section {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.how-it-works-section {
    background: var(--neutral-50);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.service-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--neutral-200);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500), var(--accent-500));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.service-icon i {
    font-size: var(--font-size-2xl);
    color: var(--primary-600);
}

.service-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--neutral-900);
}

.service-description {
    color: var(--neutral-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.service-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: var(--transition-fast);
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
}

.service-link:hover {
    color: var(--primary-700);
    background: var(--primary-100);
    border-color: var(--primary-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===== STEPS GRID ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    animation: fadeInUp 0.6s ease-out;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

.step-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-900);
}

.step-description {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    animation: fadeInUp 0.6s ease-out;
}

.testimonial-content {
    margin-bottom: var(--spacing-lg);
}

.testimonial-content p {
    font-style: italic;
    font-size: var(--font-size-lg);
    color: var(--neutral-700);
    line-height: 1.6;
}

.author-name {
    font-size: var(--font-size-lg);
    color: var(--neutral-900);
    margin-bottom: var(--spacing-xs);
}

.author-title {
    color: var(--neutral-500);
    font-size: var(--font-size-sm);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    margin-bottom: var(--spacing-lg);
}

.cta-subtitle {
    color: var(--primary-100);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
}

.cta-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-actions .btn {
    border-radius: 25px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    min-width: 140px;
    text-align: center;
    transition: var(--transition-normal);
    letter-spacing: 0.025em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.cta-actions .btn-outline {
    border-color: white;
    color: white;
}

.cta-actions .btn-outline:hover {
    background: white;
    color: var(--primary-600);
}

/* ===== FOOTER ===== */
.site-footer {
    background: white;
    color: var(--neutral-900);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--neutral-200);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500), var(--accent-500), var(--tertiary-500));
    opacity: 0.8;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand {
    position: relative;
}

.footer-brand::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-100) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--spacing-lg);
    transition: var(--transition-fast);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.footer-logo:hover {
    transform: scale(1.05) translateY(-2px);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.footer-desc {
    color: var(--neutral-800);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    font-size: var(--font-size-lg);
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--neutral-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600);
    text-decoration: none;
    transition: var(--transition-fast);
    border: 2px solid var(--neutral-200);
}

.social-link:hover {
    background: var(--primary-100);
    color: var(--primary-600);
    border-color: var(--primary-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Couleurs spécifiques pour chaque réseau social */
.social-link.linkedin {
    color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.social-link.twitter {
    color: #1da1f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.social-link.facebook {
    color: #1877f2;
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.social-link.instagram {
    color: #e4405f;
}

.social-link.instagram:hover {
    background: #e4405f;
    color: white;
    border-color: #e4405f;
}

.footer-section h4 {
    color: var(--neutral-900);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 700;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-500);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--neutral-800);
    text-decoration: none;
    padding: var(--spacing-xs) 0;
    display: inline-block;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-600);
}

.contact-info p {
    color: var(--neutral-800);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
}

.contact-info p:hover {
    color: var(--primary-600);
}

.contact-info i {
    color: var(--accent-400);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-200);
    padding-top: var(--spacing-lg);
    background: var(--neutral-50);
    margin: 0 calc(-1 * var(--spacing-lg));
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom-content p {
    color: var(--neutral-800);
    margin: 0;
    font-weight: 500;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: var(--neutral-700);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.footer-legal a:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

/* ===== SERVICES DETAILS SECTION ===== */
.services-details-section {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, var(--neutral-50) 0%, var(--white) 100%);
}

.services-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-100);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.service-detail-icon i {
    font-size: var(--font-size-2xl);
    color: var(--white);
}

.service-detail-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.service-detail-description {
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.service-detail-features {
    margin-bottom: var(--spacing-xl);
}

.service-detail-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-features li {
    color: var(--neutral-700);
    padding: var(--spacing-sm) 0;
    position: relative;
    padding-left: var(--spacing-lg);
}

.service-detail-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-500);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

.service-detail-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 20px;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
}

.service-detail-link:hover {
    color: var(--primary-700);
    background: var(--primary-100);
    border-color: var(--primary-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.service-detail-link i {
    transition: transform 0.3s ease;
}

.service-detail-link:hover i {
    transform: translateX(4px);
}

/* ===== AUTHENTIFICATION ===== */
/* Styles unifiés pour login, register et profile */

/* Body pour les pages d'authentification */
body.auth-page {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--tertiary-600) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

body.auth-page.profile {
    background: var(--neutral-100);
    display: block;
    padding: 0;
}

/* Container principal d'authentification */
.auth-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

/* Header d'authentification */
.auth-header {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--tertiary-600) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-header h2 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.auth-header p {
    margin: 0;
    opacity: 0.9;
}

/* Formulaire d'authentification */
.auth-form {
    padding: 2rem;
}

/* Champs de formulaire */
.auth-form .form-control {
    border-radius: 10px;
    border: 2px solid var(--neutral-200);
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: var(--font-size-base);
}

.auth-form .form-control:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.2);
}

.auth-form .form-control.is-valid {
    border-color: var(--success-500);
}

.auth-form .form-control.is-invalid {
    border-color: var(--error-500);
}

/* Boutons d'authentification */
.btn-auth {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.25);
    color: white;
}

/* Séparateur */
.auth-divider {
    position: relative;
    text-align: center;
    margin: var(--spacing-2xl) 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--neutral-200);
}

.divider-text {
    background: white;
    padding: 0 var(--spacing-md);
    color: var(--neutral-500);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Connexion sociale */
.social-auth-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.btn-social {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--neutral-200);
    border-radius: 16px;
    background: white;
    color: var(--neutral-700);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

.btn-social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.btn-social:hover::before {
    left: 100%;
}

.btn-social:hover {
    border-color: var(--primary-300);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-google {
    color: #ea4335;
    border-color: #ea4335;
}

.btn-google:hover {
    background: #ea4335;
    color: white;
    border-color: #ea4335;
}



.social-auth .btn {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
}

/* Alertes */
.auth-form .alert {
    border-radius: 10px;
    border: none;
    margin-bottom: 1rem;
}

/* Liens d'aide */
.auth-form .text-center a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-form .text-center a:hover {
    color: var(--primary-600);
}

/* Force du mot de passe */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Liste des exigences */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.requirements-list li {
    padding: 0.25rem 0;
    font-size: var(--font-size-sm);
}

.requirements-list li.valid {
    color: var(--success-500);
}

.requirements-list li.invalid {
    color: var(--error-500);
}

.requirements-list li i {
    margin-right: 0.5rem;
}

/* Indicateur d'étapes */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--neutral-200);
    color: var(--neutral-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--primary-500);
    color: white;
}

.step.completed {
    background: var(--success-500);
    color: white;
}

/* ===== PROFIL UTILISATEUR MODERNE ===== */
/* Header du profil */
.profile-header {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-bottom: 1px solid var(--neutral-200);
    padding: 3rem 0 2rem;
    margin-bottom: 0;
}

.profile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--accent-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-500);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.avatar-edit-btn:hover {
    background: var(--primary-600);
    transform: scale(1.05);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin: 0;
}

.profile-email {
    color: var(--neutral-600);
    font-size: 1rem;
    margin: 0;
}

.profile-status {
    display: flex;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--success-50);
    color: var(--success-700);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge i {
    font-size: 0.5rem;
    color: var(--success-500);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
}

.profile-actions .btn {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
}

.profile-actions .btn:hover {
    transform: translateY(-2px);
}

/* Contenu principal */
.profile-main {
    padding: 2rem 0;
    background: var(--neutral-50);
    min-height: calc(100vh - 200px);
}

.profile-section {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--neutral-600);
    font-size: 1rem;
}

/* Grille des cartes de profil */
.profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-card-modern {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-200);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-card-modern:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: var(--primary-200);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-size: 1.25rem;
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--neutral-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
}

/* Grille des statistiques */
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card-modern {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--neutral-200);
    transition: all 0.2s ease;
    text-align: center;
}

.stat-card-modern:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-600);
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--neutral-600);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Boutons modernes */
.btn-elevated {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s ease;
}

.btn-elevated:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-avatar-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .profile-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .profile-card-modern,
    .stat-card-modern {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        padding: 2rem 0 1.5rem;
    }
    
    .profile-name {
        font-size: 1.5rem;
    }
}

/* Navigation des onglets */
.nav-pills .nav-link {
    border-radius: 10px;
    margin: 0.25rem;
    color: var(--neutral-600);
    transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-500) 100%);
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    background: var(--neutral-100);
    color: var(--neutral-700);
}

/* Responsive pour l'authentification */
@media (max-width: 768px) {
    .auth-container {
        margin: 1rem;
        border-radius: 15px;
    }
    
    .auth-header,
    .auth-form {
        padding: 1.5rem;
    }
    
    .profile-header {
        padding: 2rem 0;
    }
    
    .profile-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--neutral-200);
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Boutons d'authentification dans le menu mobile */
    .nav-auth-mobile {
        display: block;
        margin-top: var(--spacing-lg);
        padding-top: var(--spacing-lg);
        border-top: 1px solid var(--neutral-200);
    }
    
    .nav-auth-buttons {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .btn-mobile {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-base);
        border-radius: var(--radius-md);
        text-align: center;
        min-height: 48px;
    }
    
    .btn-mobile.btn-outline {
        border-width: 2px;
        font-weight: 500;
    }
    
    .btn-mobile.btn-primary {
        font-weight: 600;
        box-shadow: var(--shadow-sm);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-2xl);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        width: 200px;
        height: 200px;
    }
    
    .hero-icon {
        font-size: 5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .steps-grid,
    .testimonials-grid,
    .services-details-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .logo-image {
        height: 32px;
    }
    
    .footer-logo {
        height: 45px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Optimisation des boutons d'authentification mobile pour très petits écrans */
    .nav-auth-mobile {
        margin-top: var(--spacing-md);
        padding-top: var(--spacing-md);
    }
    
    .btn-mobile {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        min-height: 44px;
    }
    
    .nav-auth-buttons {
        gap: var(--spacing-xs);
    }
    
    .footer-brand::after {
        display: none;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.service-link:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-600: #0000ff;
        --neutral-800: #000000;
        --neutral-600: #333333;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-header,
    .site-footer,
    .hero-actions,
    .cta-actions {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
    
    .service-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ===== SHIELD LAYOUT STYLES ===== */
/* Bootstrap Dropdown Support */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 0.875rem;
    color: var(--neutral-700);
    text-align: left;
    list-style: none;
    background-color: white;
    background-clip: padding-box;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    color: var(--neutral-700);
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: var(--transition-fast);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--neutral-900);
    background-color: var(--neutral-100);
    text-decoration: none;
}

.dropdown-item.active,
.dropdown-item:active {
    color: white;
    text-decoration: none;
    background-color: var(--primary-600);
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid var(--neutral-200);
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* ===== SHIELD LAYOUT STYLES ===== */
/* Navigation avec Shield */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-600) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.nav-actions .btn {
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
    transition: var(--transition-normal);
    letter-spacing: 0.025em;
}

.nav-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-actions .btn-outline {
    border: 2px solid var(--primary-600);
    color: var(--primary-600);
    background: transparent;
}

.nav-actions .btn-outline:hover {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

.nav-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    border: 2px solid var(--primary-600);
}

.nav-actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    border-color: var(--primary-700);
}

.user-dropdown .dropdown-toggle::after {
    display: none;
}

.user-dropdown {
    position: relative;
}

.user-dropdown .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: 15px;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    margin-top: 8px;
    background: white;
    border: 1px solid var(--neutral-200);
}

.user-dropdown .dropdown-toggle {
    cursor: pointer;
    user-select: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
    text-align: center;
    transition: var(--transition-normal);
    letter-spacing: 0.025em;
    border: 2px solid var(--primary-600);
    color: var(--primary-600);
    background: transparent;
}

.user-dropdown .dropdown-toggle:hover {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

.user-dropdown .dropdown-toggle:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

.user-dropdown .dropdown-item {
    padding: 10px 20px;
    transition: var(--transition-normal);
}

.user-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    transform: translateX(5px);
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Footer Shield */
.footer {
    background: linear-gradient(135deg, var(--neutral-800), var(--neutral-900));
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--accent-400);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer a:hover {
    color: var(--accent-400);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-400);
    transform: translateY(-3px);
}

/* Alertes Shield */
.alert {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow-md);
}

/* Boutons Shield */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* User Welcome Section */
.user-welcome-section {
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-2xl);
}

.user-welcome-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

.user-welcome-content h2 {
    color: var(--primary-700);
    margin-bottom: var(--spacing-md);
    font-size: 1.75rem;
    font-weight: 600;
}

.user-welcome-content p {
    color: var(--neutral-600);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.user-welcome-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.user-welcome-actions .btn {
    border-radius: 25px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    min-width: 160px;
    text-align: center;
    transition: var(--transition-normal);
    letter-spacing: 0.025em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary-50), var(--accent-50));
    padding: var(--spacing-2xl) 0;
    margin-bottom: var(--spacing-2xl);
}



/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    margin-bottom: var(--spacing-lg);
}

.dashboard-card-header {
    background: white;
    border-bottom: 1px solid var(--neutral-200);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.dashboard-card-body {
    padding: var(--spacing-lg);
}





/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--neutral-700);
    border: 2px solid var(--neutral-200);
    transition: var(--transition-normal);
    height: 100%;
    min-height: 120px;
    text-align: center;
}

.quick-action-btn:hover {
    transform: translateY(-4px);
    border-color: var(--primary-500);
    color: var(--primary-600);
    text-decoration: none;
}

.quick-action-icon {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary-600);
}

.quick-action-btn span {
    font-weight: 600;
    font-size: var(--font-size-sm);
    line-height: 1.3;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* ===== JOBS STYLES ===== */
.jobs-hero {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--tertiary-600) 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.jobs-hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    color: white;
}

.jobs-hero p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
}

.search-inputs {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.search-field {
    flex: 1;
    position: relative;
}

.search-field i {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
}

.search-field input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) var(--spacing-2xl);
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
}

.search-field input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

.jobs-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.jobs-filters {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filters-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.filter-group {
    margin-bottom: var(--spacing-lg);
}

.filter-group h4 {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
}

.filter-checkbox input[type="radio"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--neutral-300);
    border-radius: 50%;
    margin-right: var(--spacing-sm);
    position: relative;
    transition: var(--transition-normal);
}

.filter-checkbox input[type="radio"]:checked + .checkmark {
    border-color: var(--primary-500);
    background: var(--primary-500);
}

.filter-checkbox input[type="radio"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.filter-actions {
    margin-top: var(--spacing-lg);
}

.filter-actions .btn {
    margin-bottom: var(--spacing-sm);
}

.jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.jobs-sort select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    background: white;
    font-size: var(--font-size-sm);
}

.jobs-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.job-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
    border: 2px solid transparent;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}



.job-header {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-logo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-100);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.job-title a {
    color: var(--neutral-800);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.job-title a:hover {
    color: var(--primary-600);
}

.company-name {
    color: var(--neutral-600);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.job-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--neutral-500);
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.job-tags {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.job-category, .job-salary {
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.job-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.job-actions .btn {
    flex: 1;
    text-align: center;
}

.no-jobs {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--neutral-500);
}

.no-jobs i {
    font-size: var(--font-size-5xl);
    margin-bottom: var(--spacing-md);
    color: var(--neutral-300);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--neutral-100);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--neutral-200);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.breadcrumb-nav a {
    color: var(--neutral-600);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--primary-600);
}

.breadcrumb-nav i {
    color: var(--neutral-400);
    font-size: var(--font-size-xs);
}

/* Job Header Section */
.job-header-section {
    background: white;
    padding: var(--spacing-2xl) 0;
    border-bottom: 1px solid var(--neutral-200);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-xl);
}

.job-header-content {
    display: flex;
    gap: var(--spacing-lg);
    flex: 1;
}

.company-logo-large {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-placeholder-large {
    width: 100%;
    height: 100%;
    background: var(--primary-100);
    color: var(--primary-700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-size-2xl);
}

.job-title-section {
    flex: 1;
}

.job-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
    color: var(--neutral-900);
}

.company-name {
    font-size: var(--font-size-lg);
    color: var(--neutral-600);
    margin-bottom: var(--spacing-md);
}

.job-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--neutral-600);
}

.meta-item i {
    color: var(--primary-500);
    width: 16px;
}

.job-tags-main {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.job-category-main, .job-badge-main {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
}



.job-badge-main.urgent {
    background: var(--error-500);
    color: white;
}

.job-actions-main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

/* Job Content Section */
.job-content-section {
    padding: var(--spacing-2xl) 0;
}

.job-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.job-content-main {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.content-block {
    margin-bottom: var(--spacing-xl);
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-size: var(--font-size-xl);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--neutral-200);
}

.job-description, .job-requirements, .job-benefits {
    line-height: 1.7;
    color: var(--neutral-700);
}

.skills-list, .technologies-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.skill-tag, .tech-tag {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Job Sidebar */
.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sidebar-block {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.sidebar-block h3 {
    font-size: var(--font-size-lg);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--neutral-200);
}

.company-details h4 {
    font-size: var(--font-size-lg);
    color: var(--neutral-800);
    margin-bottom: var(--spacing-sm);
}

.company-industry {
    color: var(--neutral-600);
    margin-bottom: var(--spacing-md);
}

.company-logo-sidebar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.company-logo-sidebar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--neutral-100);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--neutral-600);
    font-size: var(--font-size-sm);
}

.detail-value {
    color: var(--neutral-800);
    font-weight: 500;
    text-align: right;
}

.stats-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-600);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--neutral-600);
}

/* Related Jobs */
.related-jobs-section {
    background: var(--neutral-50);
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    color: var(--neutral-800);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--neutral-600);
}

.related-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.related-job-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.related-job-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.related-job-title a {
    color: var(--neutral-800);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.related-job-title a:hover {
    color: var(--primary-600);
}

.related-company-name {
    color: var(--neutral-600);
    margin-bottom: var(--spacing-sm);
}

.related-job-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--neutral-500);
}

.related-job-meta span {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Pagination */
.pagination-container {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.pagination-container .pagination {
    display: inline-flex;
    gap: var(--spacing-xs);
}

.pagination-container .page-link {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    color: var(--neutral-600);
    text-decoration: none;
    transition: var(--transition-normal);
}

.pagination-container .page-link:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.pagination-container .active .page-link {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
}

/* Responsive Jobs */
@media (max-width: 1024px) {
    .jobs-layout {
        grid-template-columns: 1fr;
    }
    
    .jobs-filters {
        position: static;
        margin-bottom: var(--spacing-lg);
    }
    
    .job-content-layout {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .job-actions-main {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .search-inputs {
        flex-direction: column;
    }
    
    .job-actions {
        flex-direction: column;
    }
    
    .job-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .related-jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .jobs-hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .job-title {
        font-size: var(--font-size-2xl);
    }
    
    .job-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .company-logo-large {
        align-self: center;
    }
}

/* ===== AUTHENTICATION PAGES STYLES MODERNES ===== */
/* Container principal des pages d'authentification */
.auth-page-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--accent-50) 50%, var(--tertiary-50) 100%);
    position: relative;
    overflow: hidden;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
    animation: slideInUp 0.6s ease-out;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
    color: white;
    padding: var(--spacing-3xl) var(--spacing-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.auth-logo {
    margin-bottom: var(--spacing-lg);
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.logo-circle i {
    font-size: 2rem;
    color: white;
}

.auth-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.auth-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin: 0;
}

/* Formulaire d'authentification */
.auth-form-container {
    padding: var(--spacing-3xl);
}

/* Wrapper des champs de saisie */
.input-wrapper {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    font-size: 1.1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.form-control.modern {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--neutral-200);
    border-radius: 16px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-control.modern:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.form-control.modern:focus + .input-icon {
    color: var(--primary-500);
}

.form-control.modern::placeholder {
    color: var(--neutral-400);
    transition: color 0.3s ease;
}

.form-control.modern:focus::placeholder {
    color: var(--neutral-500);
}

.input-focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--accent-500));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.form-control.modern:focus ~ .input-focus-border {
    width: 100%;
}

/* Styles spécifiques pour les champs de mot de passe */
.form-control.modern[type="password"] {
    letter-spacing: 0.1em;
}

/* Animation d'entrée pour les champs */
.form-group {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

/* Amélioration de l'animation fadeInUp */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-label {
    font-weight: 600;
    color: var(--neutral-700);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

/* Options du formulaire */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.form-check.modern-check {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.form-check-input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-600);
    border-radius: 6px;
    border: 2px solid var(--neutral-300);
    transition: all 0.3s ease;
}

.form-check-input:checked {
    border-color: var(--primary-600);
    background: var(--primary-600);
}

.forgot-link {
    color: var(--primary-600);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Bouton de connexion moderne */
.btn-auth-modern {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.btn-auth-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-auth-modern:active {
    transform: translateY(0);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-auth-modern:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Bouton principal d'authentification avec centrage parfait */
.btn-auth-primary {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.4);
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(79, 172, 254, 0.6);
    background: linear-gradient(135deg, #43a3f5 0%, #00e6f2 100%);
}

.btn-auth-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.4);
}

.btn-auth-primary .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.btn-auth-primary .btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-auth-primary:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Messages d'erreur de validation */
.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    border-left: 3px solid #dc3545;
}

.invalid-feedback i {
    color: #dc3545;
}

/* Alertes d'erreur */
.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #721c24;
    border-radius: 12px;
}

.alert-danger .btn-close {
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-600);
}

.form-check-label {
    font-size: var(--font-size-sm);
    color: var(--neutral-600);
}

/* Liens d'aide */
.auth-links {
    text-align: center;
}

.auth-footer-text {
    color: var(--neutral-600);
    font-size: 0.95rem;
    margin: 0;
}

.auth-link.highlight {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link.highlight:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Éléments décoratifs */
.auth-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* Indicateur de force du mot de passe */
.password-strength-indicator {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: var(--neutral-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.strength-fill {
    height: 100%;
    width: 0;
    background: var(--neutral-400);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--neutral-500);
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Checkbox des conditions d'utilisation */
.terms-check {
    margin-bottom: var(--spacing-lg);
}

.terms-check .form-check-label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--neutral-700);
}

.terms-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.terms-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(16, 185, 129, 0.1));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.circle-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

.auth-link {
    color: var(--primary-600);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: var(--transition-normal);
}

.auth-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

.text-link {
    color: var(--primary-600);
    text-decoration: none;
    transition: var(--transition-normal);
}

.text-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Responsive pour les pages d'authentification modernes */
@media (max-width: 768px) {
    .auth-page-container {
        padding: var(--spacing-lg) var(--spacing-md);
        min-height: 100vh;
    }
    
    .auth-form-wrapper {
        max-width: 100%;
        margin: 0 var(--spacing-sm);
        border-radius: 20px;
    }
    
    .auth-header {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    .auth-title {
        font-size: var(--font-size-2xl);
    }
    
    .logo-circle {
        width: 70px;
        height: 70px;
    }
    
    .logo-circle i {
        font-size: 1.75rem;
    }
    
    .auth-form-container {
        padding: var(--spacing-2xl);
    }
    
    .form-options {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-sm);
    }
    
    .social-auth-section {
        gap: var(--spacing-sm);
    }
    
    .decoration-circle {
        display: none;
    }
    
    /* Styles spécifiques pour l'inscription sur mobile */
    .password-strength-indicator {
        margin-top: var(--spacing-xs);
    }
    
    .strength-text {
        font-size: 0.75rem;
    }
    
    .terms-check .form-check-label {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Boutons d'authentification responsifs */
    .btn-auth-primary {
        padding: 16px 24px;
        font-size: 16px;
        border-radius: 16px;
        min-height: 56px; /* Hauteur minimale pour une meilleure accessibilité tactile */
    }
    
    .btn-auth-primary .btn-content {
        gap: 8px;
    }
    
    .btn-social {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 48px;
        border-radius: 12px;
    }
    
    .btn-social i {
        font-size: 16px;
    }
    
    /* Amélioration de l'espacement des formulaires */
    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .input-wrapper {
        margin-bottom: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .auth-page-container {
        padding: var(--spacing-md);
    }
    
    .auth-header {
        padding: var(--spacing-lg);
    }
    
    .auth-title {
        font-size: var(--font-size-xl);
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .auth-form-container {
        padding: var(--spacing-lg);
    }
    
    .form-control {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .form-options {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--spacing-xs);
    }
    
    /* Boutons d'authentification ultra-compacts pour très petits écrans */
    .btn-auth-primary {
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 14px;
        min-height: 52px;
        margin-bottom: var(--spacing-sm);
    }
    
    .btn-auth-primary .btn-content {
        gap: 6px;
    }
    
    .btn-auth-primary .btn-content i {
        font-size: 14px;
    }
    
    .btn-social {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 44px;
        border-radius: 10px;
        margin-bottom: var(--spacing-xs);
    }
    
    .btn-social i {
        font-size: 14px;
    }
    
    /* Optimisation de l'espacement sur très petits écrans */
    .social-auth-section {
        gap: var(--spacing-xs);
        margin-bottom: var(--spacing-lg);
    }
    
    .auth-divider {
        margin: var(--spacing-md) 0;
    }
    
    .divider-text {
        font-size: 14px;
        padding: 0 var(--spacing-sm);
    }
    
    /* Amélioration de la lisibilité des liens d'aide */
    .auth-form .text-center {
        margin-top: var(--spacing-md);
    }
    
    .auth-form .text-center a {
        font-size: 14px;
        padding: var(--spacing-xs) var(--spacing-sm);
        display: inline-block;
    }
}

/* Styles spécifiques pour les écrans très étroits (orientation portrait sur mobile) */
@media (max-width: 360px) {
    .btn-auth-primary {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .btn-social {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 40px;
    }
    
    .auth-form-container {
        padding: var(--spacing-md);
    }
    
    .auth-header {
        padding: var(--spacing-md);
    }
    
    .auth-title {
        font-size: var(--font-size-lg);
    }
}

/* Amélioration de l'accessibilité tactile sur tous les appareils */
@media (hover: none) and (pointer: coarse) {
    .btn-auth-primary,
    .btn-social {
        /* Augmentation de la zone de clic pour les écrans tactiles */
        min-height: 44px;
        /* Suppression des effets hover sur les appareils tactiles */
    }
    
    .btn-auth-primary:active,
    .btn-social:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* ===== PAGE PROFIL - STYLES KLADRIVA ===== */

/* Container principal */
.profile-page-container {
    padding: 60px 0;
    background: var(--neutral-50);
    min-height: 100vh;
}

/* Header du profil */
.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-title {
    font-size: 2.5rem;
    color: var(--neutral-800);
    margin-bottom: 1rem;
    font-weight: 700;
}

.profile-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Contenu du profil */
.profile-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout en colonnes */
.profile-layout {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-left-column {
    /* Colonne principale centrée */
    max-width: 600px;
    width: 100%;
}

.profile-right-column {
    /* Masquer la colonne de droite pour centrer le contenu */
    display: none;
}

/* Cartes de profil */
.profile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.profile-card-header {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-card-header .card-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Espace entre l'icône et le titre */
}

.profile-card-body {
    padding: 2rem;
}

/* Grille d'informations */
.profile-info-grid {
    display: grid;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--neutral-50);
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
}

.info-label {
    font-weight: 600;
    color: var(--neutral-700);
    min-width: 150px;
    margin-right: 1rem;
}

.info-value {
    color: var(--neutral-800);
    font-weight: 500;
    flex: 1;
}

/* Formulaires */
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--neutral-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-control:invalid {
    border-color: var(--error-500);
}

/* Actions de formulaire */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Actions de sécurité */
.security-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.security-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.security-actions .btn:hover {
    transform: translateY(-2px);
}

/* Actions du profil */
.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
}

.profile-actions .btn {
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: center;
}

.profile-actions .btn:hover {
    transform: translateY(-2px);
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-500);
    color: white;
    border: 1px solid var(--primary-500);
}

.btn-primary:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-500);
    border: 1px solid var(--primary-500);
}

.btn-outline-primary:hover {
    background: var(--primary-500);
    color: white;
}

.btn-outline-secondary {
    background: transparent;
    color: var(--neutral-600);
    border: 1px solid var(--neutral-400);
}

.btn-outline-secondary:hover {
    background: var(--neutral-600);
    color: white;
}

.btn-outline-info {
    background: transparent;
    color: var(--info-500);
    border: 1px solid var(--info-500);
}

.btn-outline-info:hover {
    background: var(--info-500);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Alertes */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: var(--success-50);
    border-color: var(--success-200);
    color: var(--success-700);
}

.alert-danger {
    background: var(--error-50);
    border-color: var(--error-200);
    color: var(--error-700);
}

.alert-dismissible {
    position: relative;
    padding-right: 3rem;
}

.btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1rem 1.5rem;
    background: transparent;
    border: 0;
    font-size: 1.25rem;
    line-height: 1;
    color: inherit;
    cursor: pointer;
}

/* Responsive Design pour le profil */
@media (max-width: 768px) {
    .profile-page-container {
        padding: 40px 0;
    }
    
    .profile-title {
        font-size: 2rem;
    }
    
    .profile-card-body {
        padding: 1.5rem;
    }
    
    .profile-card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-label {
        min-width: auto;
        margin-right: 0;
    }
    
    .security-actions,
    .profile-actions,
    .form-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .security-actions .btn,
    .profile-actions .btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }
    
    /* Layout responsive en colonnes */
    .profile-layout {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .profile-left-column,
    .profile-right-column {
        width: 100%;
        max-width: 600px;
    }
    
    /* Actions du profil sur mobile */
    .profile-actions {
        justify-content: center;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .profile-page-container {
        padding: 30px 0;
    }
    
    .profile-title {
        font-size: 1.75rem;
    }
    
    .profile-card-header {
        padding: 1rem 1.5rem;
    }
    
    .profile-card-body {
        padding: 1rem;
    }
    
    .form-actions {
        gap: 0.5rem;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    /* Actions du profil sur très petit écran */
    .profile-actions {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .profile-actions .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===================================
   STYLES POUR LES CANDIDATURES
   =================================== */

/* Hero Section Candidature */
.application-hero {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.application-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.application-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.application-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.job-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-100);
}

.company-name {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-200);
}

.job-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--primary-100);
}

.highlight-item i {
    color: var(--primary-300);
    width: 20px;
}

.application-illustration {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-200);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Formulaire de Candidature */
.application-form-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.application-form-header {
    background: var(--primary-50);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.application-form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.application-form-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin: 0;
}

.application-form {
    padding: 2rem;
}

.job-summary {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.job-summary h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.company-info {
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.job-location {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

.user-info {
    background: var(--blue-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--blue-200);
}

.user-info p {
    margin: 0.5rem 0;
    color: var(--gray-700);
}

.user-info strong {
    color: var(--gray-900);
}

/* Conseils pour une bonne candidature */
.application-tips-section {
    padding: 4rem 0;
    background: white;
}

.tips-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.tips-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 3rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tip-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gray-50);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-300);
}

.tip-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-600);
}

.tip-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.tip-item p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   STYLES POUR "MES CANDIDATURES"
   =================================== */

/* Hero Section Mes Candidatures */
.applications-hero {
    background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-700) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.applications-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.applications-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.applications-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.applications-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-200);
    margin: 0;
}

.applications-illustration {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-200);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Liste des Candidatures */
.applications-list-section {
    padding: 4rem 0;
    background: var(--gray-50);
}

.applications-header {
    text-align: center;
    margin-bottom: 3rem;
}

.applications-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.applications-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin: 0;
}

.applications-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.application-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.application-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.application-card-header {
    background: var(--gray-50);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.application-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: var(--yellow-100);
    color: var(--yellow-700);
}

.status-reviewed {
    background: var(--blue-100);
    color: var(--blue-700);
}

.status-shortlisted {
    background: var(--green-100);
    color: var(--green-700);
}

.status-accepted {
    background: var(--green-100);
    color: var(--green-700);
}

.status-rejected {
    background: var(--red-100);
    color: var(--red-700);
}

.application-date {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.application-card-body {
    padding: 1.5rem;
}

.job-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.job-title a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-title a:hover {
    color: var(--primary-700);
}

.company-name {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.application-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.detail-item i {
    color: var(--primary-500);
    width: 16px;
}

.application-notes {
    background: var(--blue-50);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--blue-500);
    margin-top: 1rem;
}

.application-notes h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue-700);
    margin-bottom: 0.5rem;
}

.application-notes p {
    color: var(--blue-800);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.application-card-footer {
    background: var(--gray-50);
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.application-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.text-success {
    color: var(--success-600) !important;
}

.text-danger {
    color: var(--error-600) !important;
}

/* Aucune candidature */
.no-applications {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.no-applications-icon {
    width: 100px;
    height: 100px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--gray-400);
}

.no-applications h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.no-applications p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* CTA Section */
.applications-cta-section {
    padding: 4rem 0;
    background: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .application-hero-content,
    .applications-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .application-title,
    .applications-title {
        font-size: 2rem;
    }
    
    .job-title {
        font-size: 1.5rem;
    }
    
    .application-form-container {
        margin: 0 1rem;
        border-radius: 12px;
    }
    
    .application-form {
        padding: 1.5rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .application-card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .application-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .application-hero,
    .applications-hero {
        padding: 3rem 0;
    }
    
    .application-form-section,
    .applications-list-section {
        padding: 2rem 0;
    }
    
    .application-form-header,
    .application-form {
        padding: 1rem;
    }
    
    .application-card-header,
    .application-card-body,
    .application-card-footer {
        padding: 1rem;
    }
}

/* ===================================
   STYLES POUR LA MODAL DE CANDIDATURE
   =================================== */

.application-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.application-modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.application-modal-header {
    background: var(--primary-50);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.application-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--gray-100);
    color: var(--gray-700);
}

.application-modal-body {
    padding: 2rem;
}

.job-summary-modal {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.job-summary-modal h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.job-summary-modal .company-name {
    color: var(--primary-600);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.job-summary-modal .job-location {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin: 0;
}

.application-form-modal .form-group {
    margin-bottom: 1.5rem;
}

.application-form-modal .form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.application-form-modal .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.application-form-modal .form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.application-form-modal .form-control.modern {
    border-radius: 12px;
    border-width: 2px;
}

.application-form-modal .form-text {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.user-info-modal {
    background: var(--blue-50);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--blue-200);
}

.user-info-modal p {
    margin: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.user-info-modal strong {
    color: var(--gray-900);
}

.form-check.modern-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
}

.form-check.modern-check .form-check-input {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    cursor: pointer;
}

.form-check.modern-check .form-check-input:checked {
    background-color: var(--primary-600);
    border-color: var(--primary-600);
}

.form-check.modern-check .form-check-label {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.terms-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

.form-actions-modal {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.form-actions-modal .btn {
    flex: 1;
    min-width: 150px;
}

/* Responsive pour la modal */
@media (max-width: 768px) {
    .application-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 95vh;
    }
    
    .application-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .application-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .application-modal-body {
        padding: 1.5rem;
    }
    
    .form-actions-modal {
        flex-direction: column;
    }
    
    .form-actions-modal .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .application-modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 12px;
    }
    
    .application-modal-header {
        padding: 1rem;
        border-radius: 12px 12px 0 0;
    }
    
    .application-modal-body {
        padding: 1rem;
    }
    
    .job-summary-modal {
        padding: 1rem;
    }
    
    .user-info-modal {
        padding: 1rem;
    }
}
