
        :root {
            --blanc-casse: #fffaf6;
            --bordeaux: #7b1426;
            --dore: #d4a017;
            --gris-fonce: #333333;
            --gris-clair: #f8f9fa;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            color: var(--gris-fonce);
            background-color: var(--blanc-casse);
            padding-top: 80px;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
        }

        /* Navbar */
        .navbar-custom {
            background: rgba(255, 250, 246, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            padding: 1rem 0;
        }

        .navbar-brand {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--bordeaux) !important;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .navbar-brand i {
            color: var(--dore);
            font-size: 2rem;
        }

        .nav-link {
            color: var(--gris-fonce) !important;
            font-weight: 500;
            margin: 0 0.5rem;
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            width: 0;
            height: 2px;
            background: var(--dore);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .btn-inscrire {
            background: linear-gradient(135deg, var(--bordeaux), #a01836);
            color: white !important;
            padding: 0.6rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(123, 20, 38, 0.3);
        }

        .btn-inscrire:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(123, 20, 38, 0.4);
        }

        /* Page Header */
        .page-header {
            background: linear-gradient(135deg, rgba(123, 20, 38, 0.95), rgba(160, 24, 54, 0.9)),
                        url('https://images.unsplash.com/photo-1455390582262-044cdead277a?w=1920') center/cover;
            padding: 8rem 0 4rem;
            color: white;
            position: relative;
        }

        .page-title {
            font-size: 4rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
        }

        /* Search Bar */
        .search-bar {
            background: white;
            border-radius: 50px;
            padding: 1rem 2rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            display: flex;
            gap: 1rem;
            margin-bottom: 3rem;
        }

        .search-input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 1rem;
            padding: 0.5rem;
        }

        .search-btn {
            background: var(--bordeaux);
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .search-btn:hover {
            background: var(--dore);
            transform: scale(1.05);
        }

        /* Categories */
        .categories {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 3rem;
        }

        .category-tag {
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            background: white;
            border: 2px solid var(--gris-clair);
            color: var(--gris-fonce);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .category-tag:hover,
        .category-tag.active {
            background: var(--bordeaux);
            color: white;
            border-color: var(--bordeaux);
            transform: translateY(-3px);
        }

        /* Blog Card */
        .blog-card {
            background: white;
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.4s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .blog-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .blog-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .blog-card:hover .blog-image {
            transform: scale(1.1);
        }

        .blog-content {
            padding: 2rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-meta {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1rem;
            color: var(--gris-fonce);
            opacity: 0.7;
            font-size: 0.9rem;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .blog-category {
            background: var(--dore);
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .blog-title {
            font-size: 1.5rem;
            color: var(--bordeaux);
            margin-bottom: 1rem;
            line-height: 1.4;
        }

        .blog-excerpt {
            color: var(--gris-fonce);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .blog-author {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-top: 1.5rem;
            border-top: 2px solid var(--gris-clair);
        }

        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
        }

        .author-info h5 {
            margin: 0;
            color: var(--bordeaux);
            font-size: 1rem;
        }

        .author-info p {
            margin: 0;
            font-size: 0.85rem;
            opacity: 0.7;
        }

        .btn-read-more {
            color: var(--bordeaux);
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .btn-read-more:hover {
            color: var(--dore);
            gap: 1rem;
        }

        /* Sidebar */
        .sidebar {
            position: sticky;
            top: 100px;
        }

        .sidebar-widget {
            background: white;
            border-radius: 25px;
            padding: 2rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            margin-bottom: 2rem;
        }

        .widget-title {
            font-size: 1.5rem;
            color: var(--bordeaux);
            margin-bottom: 1.5rem;
        }

        .popular-post {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--gris-clair);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .popular-post:last-child {
            border-bottom: none;
        }

        .popular-post:hover {
            transform: translateX(5px);
        }

        .popular-post-img {
            width: 80px;
            height: 80px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .popular-post-title {
            font-weight: 600;
            color: var(--bordeaux);
            margin-bottom: 0.5rem;
            font-size: 0.95rem;
        }

        .popular-post-date {
            font-size: 0.85rem;
            opacity: 0.7;
        }

        .tag-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag {
            padding: 0.5rem 1rem;
            background: var(--gris-clair);
            border-radius: 50px;
            font-size: 0.9rem;
            color: var(--gris-fonce);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tag:hover {
            background: var(--bordeaux);
            color: white;
        }

        /* Pagination */
        .pagination-custom {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 3rem;
        }

        .page-btn {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: white;
            border: 2px solid var(--gris-clair);
            color: var(--gris-fonce);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        .page-btn:hover,
        .page-btn.active {
            background: var(--bordeaux);
            color: white;
            border-color: var(--bordeaux);
            transform: translateY(-3px);
        }

        /* Loading Skeleton */
        .skeleton {
            background: linear-gradient(90deg, var(--gris-clair) 25%, #e0e0e0 50%, var(--gris-clair) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 10px;
        }

        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        /* Footer */
        .footer-modern {
            background: linear-gradient(180deg, var(--gris-fonce), #1a1a1a);
            color: white;
            padding: 4rem 0 2rem;
            margin-top: 6rem;
        }

        .footer-title {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            color: var(--dore);
        }

        .footer-link {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            display: block;
            padding: 0.5rem 0;
            transition: all 0.3s ease;
        }

        .footer-link:hover {
            color: var(--dore);
            padding-left: 10px;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: white;
            margin: 0 0.5rem;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            background: var(--dore);
            color: var(--gris-fonce);
            transform: translateY(-5px);
        }

        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--bordeaux);
            color: white;
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(123, 20, 38, 0.4);
        }

        .scroll-top:hover {
            background: var(--dore);
            transform: translateY(-5px);
        }

        .scroll-top.show {
            display: flex;
        }

        @media (max-width: 992px) {
            .sidebar {
                position: static;
                margin-top: 3rem;
            }
        }

        @media (max-width: 768px) {
            .page-title {
                font-size: 2.5rem;
            }

            .blog-title {
                font-size: 1.3rem;
            }

            .search-bar {
                flex-direction: column;
            }
        }
    .logo {
  height: 100px; /* taille sur ordinateur */
  width: auto;
}

/* Taille sur mobile (moins de 768px) */
@media (max-width: 768px) {
  .logo {
    height: 50px; /* taille sur téléphone */
  }
}
