
        :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-1522071820081-009f0129c71c?w=1920') center/cover;
            padding: 8rem 0 4rem;
            color: white;
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 70% 30%, rgba(212, 160, 23, 0.2), transparent 60%);
        }

        .page-title {
            font-size: 4rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
        }

        /* Filter Buttons */
        .filter-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 3rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            background: white;
            color: var(--gris-fonce);
            padding: 0.8rem 2rem;
            border-radius: 50px;
            border: 2px solid var(--gris-clair);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: var(--bordeaux);
            color: white;
            border-color: var(--bordeaux);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(123, 20, 38, 0.3);
        }

        /* Formation Card */
        .formation-card {
            background: white;
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .formation-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .formation-image {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .formation-card:hover .formation-image {
            transform: scale(1.1);
        }

        .formation-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--dore);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            box-shadow: 0 4px 15px rgba(212, 160, 23, 0.4);
        }

        .formation-content {
            padding: 2rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .formation-category {
            color: var(--dore);
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .formation-title {
            font-size: 1.8rem;
            color: var(--bordeaux);
            margin-bottom: 1rem;
        }

        .formation-desc {
            color: var(--gris-fonce);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .formation-meta {
            display: flex;
            gap: 2rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gris-fonce);
        }

        .meta-item i {
            color: var(--dore);
        }

        .formation-details {
            background: var(--gris-clair);
            padding: 1.5rem;
            border-radius: 15px;
            margin-bottom: 1.5rem;
        }

        .detail-item {
            display: flex;
            align-items: start;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .detail-item:last-child {
            margin-bottom: 0;
        }

        .detail-icon {
            width: 40px;
            height: 40px;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bordeaux);
            flex-shrink: 0;
        }

        .formation-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1.5rem;
            border-top: 2px solid var(--gris-clair);
        }

        .formation-price {
            font-size: 1.8rem;
            color: var(--bordeaux);
            font-weight: 700;
        }

        .btn-formation {
            background: linear-gradient(135deg, var(--bordeaux), #a01836);
            color: white;
            padding: 0.8rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            border: none;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .btn-formation:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 20px rgba(123, 20, 38, 0.4);
            color: white;
        }

        /* Modal Details */
        .modal-content {
            border-radius: 25px;
            border: none;
        }

        .modal-header {
            background: linear-gradient(135deg, var(--bordeaux), #a01836);
            color: white;
            border-radius: 25px 25px 0 0;
            padding: 2rem;
        }

        .modal-title {
            font-size: 2rem;
        }

        .modal-body {
            padding: 2rem;
        }

        .module-item {
            background: var(--gris-clair);
            padding: 1.5rem;
            border-radius: 15px;
            margin-bottom: 1rem;
            border-left: 4px solid var(--dore);
        }

        .module-title {
            color: var(--bordeaux);
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        /* 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: 768px) {
            .page-title {
                font-size: 2.5rem;
            }

            .formation-title {
                font-size: 1.5rem;
            }

            .filter-buttons {
                gap: 0.5rem;
            }

            .filter-btn {
                padding: 0.6rem 1.2rem;
                font-size: 0.9rem;
            }
        }
  .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 */
  }
}
