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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #f8f8f8;
            color: #2e3333;
        }

        header {
            background: white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .top-bar {
            background: #00ccbc;
            color: white;
            padding: 0.6rem 0;
            font-size: 0.85rem;
            text-align: center;
            font-weight: 500;
        }

        nav {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
        }

        .logo {
            font-size: 1.6rem;
            font-weight: 800;
            color: #00ccbc;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
}

.nav-links {
    margin-left: auto; /* pousse le menu à droite */
    display: flex;
    gap: 0.5rem;
    align-items: center;
}


        .nav-links a {
            text-decoration: none;
            color: #2e3333;
            font-weight: 600;
            padding: 0.7rem 1.2rem;
            border-radius: 8px;
            transition: all 0.3s;
            font-size: 0.95rem;
        }

        .nav-links a:hover {
            background: #f8f8f8;
        }

        .nav-links a.active {
            background: #00ccbc;
            color: white;
        }

       .btn-inscription {
            background: #30D6FF;
            color: #f0fffe;
            border: 2px solid #30D6FF;
        }

        .btn-inscription:hover {
            background: #00ccbc;
        }

        .btn-login {
            background: #30FF3E;
            color: white;
            border: 2px solid #30FF3E;
        }

        .btn-login:hover {
           background: #f0fffe;
        }

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

        .page-header {
            margin-bottom: 2rem;
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #2e3333;
            margin-bottom: 1rem;
        }

        .search-section {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            margin-bottom: 2rem;
        }

        .search-bar {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .search-bar input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            border: 2px solid #e8e8e8;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s;
        }

        .search-bar input:focus {
            outline: none;
            border-color: #00ccbc;
        }

        .search-icon {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
            color: #5e6d6d;
        }

        .filter-section {
            display: flex;
            align-items: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .filter-label {
            font-weight: 600;
            color: #2e3333;
            font-size: 0.95rem;
        }

        .filter-buttons {
            display: flex;
            gap: 0.8rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.6rem 1.2rem;
            border-radius: 20px;
            border: 2px solid #e8e8e8;
            background: white;
            color: #2e3333;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
        }

        .filter-btn:hover {
            border-color: #00ccbc;
            background: #f0fffe;
        }

        .filter-btn.active {
            background: #00ccbc;
            color: white;
            border-color: #00ccbc;
        }

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

        .results-count {
            font-size: 1.1rem;
            color: #5e6d6d;
        }

        .sort-dropdown {
            padding: 0.6rem 1rem;
            border: 2px solid #e8e8e8;
            border-radius: 8px;
            font-size: 0.9rem;
            background: white;
            cursor: pointer;
        }

        .categories-section {
            margin-bottom: 2rem;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .category-card {
            background: white;
            padding: 1.5rem 1rem;
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .category-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
            background: #00ccbc;
            color: white;
        }

        .category-icon {
            font-size: 2.5rem;
            margin-bottom: 0.3rem;
        }

        .category-name {
            font-weight: 700;
            font-size: 1rem;
        }

        .category-count {
            font-size: 0.8rem;
            color: #5e6d6d;
        }

        .category-card:hover .category-count {
            color: rgba(255, 255, 255, 0.9);
        }


        

 footer {
            background: white;
            border-top: 1px solid #e8e8e8;
            color: #5e6d6d;
            padding: 3rem 2rem 2rem;
            margin-top: 3rem;
        }

        .footer-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #2e3333;
        }

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

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

        .footer-section ul li a {
            color: #5e6d6d;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        .footer-section ul li a:hover {
            color: #00ccbc;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 2rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid #e8e8e8;
            text-align: center;
            font-size: 0.85rem;
            text-decoration:none;
        }
        .footer-bottom a, .footer-bottom a:hover{
            text-decoration:none;
            color: black;
        }