
        :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-1434030216411-0b793f4b4173?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);
        }

        /* Sidebar */
        .sidebar {
            background: white;
            border-radius: 25px;
            padding: 2rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            position: sticky;
            top: 100px;
        }

        .module-nav-item {
            padding: 1rem;
            border-radius: 15px;
            margin-bottom: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .module-nav-item:hover {
            background: var(--gris-clair);
        }

        .module-nav-item.active {
            background: linear-gradient(135deg, var(--bordeaux), #a01836);
            color: white;
        }

        .module-icon {
            width: 40px;
            height: 40px;
            background: var(--gris-clair);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bordeaux);
            flex-shrink: 0;
        }

        .module-nav-item.active .module-icon {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .module-nav-item.completed {
            opacity: 0.7;
        }

        .module-nav-item.completed .module-icon {
            background: var(--dore);
            color: white;
        }

        /* Course Content */
        .course-content {
            background: white;
            border-radius: 25px;
            padding: 3rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            margin-bottom: 2rem;
        }

        .module-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 2px solid var(--gris-clair);
        }

        .module-title {
            font-size: 2.5rem;
            color: var(--bordeaux);
            margin-bottom: 0.5rem;
        }

        .module-meta {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            color: var(--gris-fonce);
        }

        .meta-badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            background: var(--gris-clair);
            border-radius: 50px;
        }

        .meta-badge i {
            color: var(--dore);
        }

        /* Video Player */
        .video-container {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            margin-bottom: 2rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        }

        .video-container iframe {
            width: 100%;
            height: 500px;
            border: none;
        }

        /* Resources Section */
        .resources-section {
            background: var(--gris-clair);
            padding: 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
        }

        .resource-item {
            background: white;
            padding: 1.5rem;
            border-radius: 15px;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s ease;
        }

        .resource-item:hover {
            transform: translateX(10px);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .resource-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .resource-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--bordeaux), #a01836);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
        }

        .resource-details h4 {
            color: var(--bordeaux);
            margin-bottom: 0.3rem;
            font-size: 1.1rem;
        }

        .resource-size {
            color: var(--gris-fonce);
            opacity: 0.7;
            font-size: 0.9rem;
        }

        .btn-download {
            background: var(--dore);
            color: var(--gris-fonce);
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            border: none;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-download:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(212, 160, 23, 0.4);
        }

        /* Quiz Section */
        .quiz-section {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            border: 3px solid var(--dore);
            margin-bottom: 2rem;
        }

        .question-item {
            padding: 1.5rem;
            background: var(--gris-clair);
            border-radius: 15px;
            margin-bottom: 1.5rem;
        }

        .question-text {
            font-weight: 600;
            color: var(--bordeaux);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .answer-option {
            padding: 1rem;
            background: white;
            border-radius: 10px;
            margin-bottom: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .answer-option:hover {
            background: rgba(212, 160, 23, 0.1);
            transform: translateX(5px);
        }

        .answer-option input[type="radio"] {
            width: 20px;
            height: 20px;
            accent-color: var(--bordeaux);
        }

        /* Progress Bar */
        .progress-container {
            background: var(--gris-clair);
            padding: 1.5rem;
            border-radius: 15px;
            margin-bottom: 2rem;
        }

        .progress-bar-custom {
            width: 100%;
            height: 30px;
            background: white;
            border-radius: 50px;
            overflow: hidden;
            position: relative;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--bordeaux), var(--dore));
            border-radius: 50px;
            transition: width 0.5s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
        }

        /* Navigation Buttons */
        .course-navigation {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            margin-top: 3rem;
        }

        .btn-nav {
            flex: 1;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            border: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .btn-prev {
            background: var(--gris-clair);
            color: var(--gris-fonce);
        }

        .btn-prev:hover {
            background: var(--gris-fonce);
            color: white;
        }

        .btn-next {
            background: linear-gradient(135deg, var(--bordeaux), #a01836);
            color: white;
        }

        .btn-next:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(123, 20, 38, 0.4);
        }

        /* 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-bottom: 2rem;
            }

            .video-container iframe {
                height: 300px;
            }
        }

        @media (max-width: 768px) {
            .page-title {
                font-size: 2.5rem;
            }

            .module-title {
                font-size: 1.8rem;
            }

            .course-content {
                padding: 2rem 1.5rem;
            }

            .course-navigation {
                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 */
  }
}
