/**
 * Bundle Public Marketing — Pages orphelines (annuaire, etudes, libraires, innovation)
 * Sources : marketplace + navigation
 * Sprint 4 — Consolidation CSS
 */

/* ============================================================
 * SOURCE: components/marketplace.css
 * ============================================================ */
/*
===============================================================================
MARKETPLACE PAGE STYLES
===============================================================================
Styles pour la page marketplace des services - BookConnect
Sections : Hero, Fonctionnement, Catégories, Prestataires, Services Premium, Plumes
===============================================================================
*/

/* ===== VARIABLES CSS ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --marketplace-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --primary-blue: #3b82f6;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-gray: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== SECTION HERO MARKETPLACE ===== */
.marketplace-hero {
    background: var(--marketplace-gradient);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.marketplace-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.marketplace-hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Statistiques Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

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

.stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== SECTION FONCTIONNEMENT MARKETPLACE ===== */
.marketplace-overview {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.marketplace-overview p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.marketplace-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    gap: 1rem;
}

.marketplace-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--bg-gray);
    z-index: 1;
}

.timeline-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
    background: white;
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    max-width: 220px;
    margin: 0 auto;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gray);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.timeline-step.active .step-number {
    background: var(--marketplace-gradient);
    color: white;
}

.timeline-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.timeline-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* ===== SECTION CATÉGORIES MARKETPLACE ===== */
.marketplace-categories {
    padding: 5rem 0;
    background: white;
}

.marketplace-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2.5rem;
}

.category-detail {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.category-detail.visible {
    opacity: 1;
    transform: translateY(0);
}

/* En-tête des catégories */
.category-header {
    background: linear-gradient(135deg, #f1f5f9 0%, var(--bg-gray) 100%);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-badge {
    background: var(--marketplace-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.category-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.coverage {
    background: var(--success-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contenu des catégories */
.category-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.category-services h4,
.category-providers h4,
.category-pricing h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-services ul,
.category-providers ul {
    list-style: none;
    padding: 0;
}

.category-services li,
.category-providers li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.category-services li::before,
.category-providers li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.pricing-ranges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.service-name {
    font-weight: 500;
    color: var(--text-primary);
}

.price-from {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* ===== SECTION PRESTATAIRES VEDETTES ===== */
.featured-providers {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.featured-providers p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.provider-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--marketplace-gradient);
}

.provider-avatar {
    position: relative;
    margin-bottom: 1.5rem;
}

.provider-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-light);
}

.provider-badge {
    position: absolute;
    top: -5px;
    right: 10px;
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.provider-info h4 {
    margin: 0 0 0.25rem;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.provider-specialty {
    color: var(--marketplace-gradient);
    font-weight: 600;
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}

.provider-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 1rem;
}

.provider-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.provider-stats span {
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.provider-price {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.provider-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-contact,
.btn-portfolio {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-contact {
    background: var(--marketplace-gradient);
    color: white;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-1px);
}

.btn-portfolio {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--bg-gray);
}

.btn-portfolio:hover {
    background: var(--bg-light);
    border-color: var(--marketplace-gradient);
    color: var(--marketplace-gradient);
}

/* ===== SECTION SERVICES BOOKCONNECT ===== */
.bookconnect-services {
    padding: 5rem 0;
    background: white;
}

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

.bookconnect-services p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.premium-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.premium-service {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.premium-service:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--marketplace-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.premium-service h4 {
    margin: 0 0 1rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.premium-service p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.premium-service ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.premium-service li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.premium-service li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* ===== SECTION PLUMES MARKETPLACE ===== */
.marketplace-plumes {
    padding: 5rem 0;
    background: var(--bg-light);
}

.marketplace-plumes h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2.5rem;
}

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

.plumes-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.plumes-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.earn-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.earn-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

.earn-action {
    font-weight: 500;
    color: var(--text-primary);
}

.earn-points {
    font-weight: 700;
    color: var(--success-color);
    font-size: 0.9rem;
}

.spend-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spend-category h4 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.spend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 0.5rem;
}

.spend-service {
    font-weight: 500;
    color: var(--text-primary);
}

.spend-cost {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* ===== SECTION CTA ===== */
.cta-section {
    background: var(--secondary-gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Hero responsive */
    .marketplace-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Timeline responsive */
    .marketplace-timeline {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .marketplace-timeline::before {
        display: none;
    }
    
    .timeline-step {
        max-width: 300px;
        width: 100%;
    }
    
    /* Catégories responsive */
    .category-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Prestataires responsive */
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .provider-actions {
        flex-direction: column;
    }
    
    /* Services premium responsive */
    .premium-services {
        grid-template-columns: 1fr;
    }
    
    /* Plumes responsive */
    .plumes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* CTA responsive */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .marketplace-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item strong {
        font-size: 1.5rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
    }
    
    .provider-card {
        padding: 1.5rem;
    }
    
    .provider-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .premium-service {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* ===== ANIMATIONS SPÉCIALES MARKETPLACE ===== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.provider-badge {
    animation: pulse 2s ease-in-out infinite;
}

.category-badge:hover {
    transform: scale(1.1) rotate(5deg);
}

.earn-item:hover,
.spend-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

/*
===============================================================================
FIN DU FICHIER MARKETPLACE.CSS
===============================================================================
*/

/* ============================================================
 * SOURCE: components/navigation.css
 * ============================================================ */
/* Header et Navigation */
:root {
    /* Fixed heights per bar (adjust to your real pixels) */
    --navbar-h: 140px;   /* logo + menus - ajusté pour un bon équilibre */
    --roles-h: 120px;    /* roles-band height when present - réduit aussi */
    --quick-gap: 8px;    /* spacing between roles-band and quick-nav */

    /* Total reserved height for fixed top area */
    --nav-height: calc(var(--navbar-h) + var(--roles-h));
}

/* If roles-band not shown, collapse its height */
body:not(.has-roles-band) {
    --roles-h: 0px;
    --nav-height: var(--navbar-h);
}
.site-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.header-top {
    padding: var(--spacing-xl) 0;
}

.header-top h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.header-top h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.header-top p {
    font-size: 1.2rem;
}

/* Styles génériques pour compatibilité */
.btn-login, .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.1);
    color: white;
    text-align: center;
    min-width: 120px;
    justify-content: center;
    white-space: nowrap;
}

.btn-login:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, rgba(44, 62, 80, 0.4) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3), inset 0 1px 3px rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-color: rgba(255,255,255,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3), inset 0 1px 3px rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.8);
}

/* Styles spécifiques navbar - priorité élevée */
.navbar-btn-login, .navbar-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    text-align: center !important;
    min-width: 120px !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.navbar-btn-login:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.3) 0%, rgba(44, 62, 80, 0.4) 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3), inset 0 1px 3px rgba(255,255,255,0.25) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.navbar-btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

.navbar-btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3), inset 0 1px 3px rgba(255,255,255,0.25) !important;
    border-color: rgba(255,255,255,0.8) !important;
}

/* Navigation principale - Spécificité augmentée pour override Bootstrap */
nav.navbar {
    /* Keep in sync with --nav-height */
    background: var(--primary-color) !important;
    position: fixed !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1050 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    height: var(--navbar-h) !important;    /* Utilise directement la variable navbar-h */
    padding: 8px 0 !important;             /* Padding réduit pour plus de compacité */
    box-sizing: border-box !important;
}

.navbar .container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
    gap: 40px;
}

.navbar .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.navbar .logo img {
    height: 120px;   /* Ajusté à 120px pour s'adapter à la navbar de 140px */
    width: auto;
    margin: 0;
    transition: transform 0.3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

.navbar .menu {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0;
}

.navbar .menu .menu-colonne {
    flex: 1;
    display: flex;
    flex-direction: column;

}

.navbar .menu .menu-colonne ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar .menu .menu-colonne ul li {
    width: 100%;
    text-align: left;
}

.navbar .menu .menu-colonne ul li a {
    display: block;
    width: 100%;
    padding: 4px 8px;
    font-size: 0.75rem;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar .menu .menu-colonne ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.navbar .menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.navbar .menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.navbar .menu ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.navbar .auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 0;
    list-style: none;
    height: 100%;
}

.navbar .auth .nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.navbar .auth .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.navbar .auth .nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.main-nav { 
    position: fixed;
    top: 60px;
    height: 800px;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-sm);
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        height: auto;
        min-height: 120px;    /* Réduit de 260px à 120px */
        padding: 10px 0;      /* Réduit le padding */
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 15px;           /* Réduit de 25px à 15px */
        padding: 10px 1rem;  /* Réduit de 15px à 10px */
        align-items: center;
    }
    
    .navbar .logo {
        order: 1;
        width: 100%;
        text-align: center;
    }
    
    .navbar .menu {
        order: 2;
        width: 100%;
        margin-bottom: 20px;
        gap: 15px;
        max-width: 600px;
    }
    
    .navbar .menu .menu-colonne ul li a {
        padding: 6px 8px;
        font-size: 0.8rem;
        border-radius: 4px;
    }
    
    .navbar .auth {
        order: 3;
        width: 100%;
    }
    
    .navbar .auth .nav-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .btn-login, .btn-primary {
        flex: 1;
        max-width: 180px;
        justify-content: center;
        margin: 0 5px;
        font-size: 1.1rem;
        padding: 15px 25px;
    }
    
    .header-top h1 {
        font-size: 2rem;
    }
    
    .header-top h2 {
        font-size: 1.5rem;
    }
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.burger-bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.burger-menu.active .burger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menu mobile responsive */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .navbar .menu {
        display: none;
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        max-height: calc(100vh - var(--navbar-h));
        overflow-y: auto;
    }
    
    .navbar .menu.active {
        display: flex;
    }
    
    .navbar .menu .menu-colonne {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .navbar .menu .menu-colonne ul {
        width: 100%;
    }
    
    .navbar .menu .menu-colonne ul li {
        width: 100%;
    }
    
    .navbar .menu .menu-colonne ul li a {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .navbar .auth {
        width: 100%;
        margin-left: 0;
    }
    
    .navbar .auth .nav-links {
        width: 100%;
        flex-direction: column;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}
