 :root {
     --primary-color: #003366;
     --secondary-color: #ffc107;
     --accent-color: #2c4b93;
 }
/* Utiliser Inter comme police principale */
body {
    font-family: 'Inter', sans-serif;
}

/* Utiliser Saira pour les titres */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Saira', sans-serif;
    font-weight: 500; /* Utilise le poids 500 de Saira */
}

/* Ou pour des éléments spécifiques */
.titre-principal {
    font-family: 'Saira', sans-serif;
    font-weight: 600; /* Plus gras */
}

.texte-inter {
    font-family: 'Inter', sans-serif;
    font-weight: 500; /* Medium */
}
 .navbar-brand img {
     height: 50px;
 }

 /* Hero Carousel */
 .hero-carousel {
     height: 80vh;
     min-height: 600px;
 }

 .hero-carousel .carousel-item {
     height: 80vh;
     min-height: 600px;
 }

 .hero-carousel .carousel-item img {
     object-fit: cover;
     height: 100%;
     width: 100%;
 }

 .carousel-caption {
     background: linear-gradient(135deg, rgba(231, 187,74, 0.3), rgba(0, 0, 0, 0.3));
     border-radius: 15px;
     padding: 40px;
     bottom: 20%;
     left: 10%;
     right: 10%;
     text-align: center;
 }

 .carousel-control-prev,
 .carousel-control-next {
     width: 60px;
     height: 60px;
     background: rgba(0, 51, 102, 0.8);
     border-radius: 50%;
     top: 50%;
     transform: translateY(-50%);
     margin: 0 20px;
 }

 .carousel-indicators button {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     margin: 0 8px;
 }

 /* Cards */
 .card-hover {
     transition: transform 0.3s, box-shadow 0.3s;
 }

 .card-hover:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(21, 21, 21, 0.088);
 }

.program-card {
     border-left: 4px solid var(--secondary-color);
 }

.faculty-spotlight {
    /*background:
        radial-gradient(circle at top left, rgba(255, 193, 7, 0.18), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);*/
}

.faculty-spotlight-shell {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 34px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.faculty-spotlight-shell::before {
    content: "";
    position: absolute;
    inset: auto auto -80px -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
   /* background: radial-gradient(circle, rgba(255, 193, 7, 0.18), transparent 70%);*/
    pointer-events: none;
}

.faculty-visual-stack {
    position: relative;
    padding-bottom: 34px;
}

.faculty-visual-main {
    border-radius: 28px;
    overflow: hidden;
    min-height: 100%;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.faculty-visual-main img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.faculty-visual-card {
    position: absolute;
    right: -8px;
    bottom: 0;
    max-width: 280px;
    background: rgba(0, 51, 102, 0.95);
    color: #fff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.28);
}

.faculty-mini-label,
.faculty-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 700;
}

.faculty-mini-label {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
}

.faculty-visual-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.faculty-visual-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.faculty-copy {
    padding-left: 12px;
}

.faculty-kicker {
    color: var(--accent-color);
    margin-bottom: 16px;
}

.faculty-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    margin-bottom: 18px;
}

.faculty-copy p {
    color: #475569;
}

.faculty-pill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.faculty-pill {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faculty-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

.faculty-pill strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.faculty-pill span {
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.65;
}

.faculty-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}





 .hero-contact {
       background: linear-gradient(
                    rgba(0, 33, 72, 0.80),
                    rgba(0, 33, 72, 0.80)
                ), url('/img/hero-2-456107037c4169511047fbc53d946d2c.png');
                background-size: cover;
                background-position: center;
                padding: 120px 0;
                color: white;
                text-align: center;
 }
.hero-contact h1 {
                font-family: "Saira", sans-serif;
                font-weight: 700;
                letter-spacing: 1px;
            }

            .hero-contact p {
                font-size: 1.2rem;
                opacity: 0.9;
            }
 .hero-about {
       background: linear-gradient(
                    rgba(0, 33, 72, 0.80),
                    rgba(0, 33, 72, 0.80)
                ), url('/img/hero-2-456107037c4169511047fbc53d946d2c.png');
                background-size: cover;
                background-position: center;
                padding: 120px 0;
                color: white;
                text-align: center;
 }
 .hero-about h1 {
                 font-family: "Saira", sans-serif;
                 font-weight: 700;
                 letter-spacing: 1px;
             }

             .hero-about p {
                 font-size: 1.2rem;
                 opacity: 0.9;
             }

 .hero-programs {
       background: linear-gradient(
                    rgba(0, 33, 72, 0.80),
                    rgba(0, 33, 72, 0.80)
                ), url('/img/hero-2-456107037c4169511047fbc53d946d2c.png');
                background-size: cover;
                background-position: center;
                padding: 120px 0;
                color: white;
                text-align: center;
 }
 .hero-programs h1 {
                  font-family: "Saira", sans-serif;
                  font-weight: 700;
                  letter-spacing: 1px;
              }

              .hero-programs p {
                  font-size: 1.2rem;
                  opacity: 0.9;
              }

 .registration-card {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     border-radius: 20px;
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
 }

 .form-floating label {
     color: #6c757d;
 }

 .form-control:focus {
     border-color: var(--secondary-color);
     box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
 }

 .btn-primary {
     background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
     border: none;
     padding: 12px 30px;
     font-weight: 600;
     transition: all 0.3s;
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
 }

 .btn-outline-primary {
     color: var(--primary-color);
     border-color: var(--primary-color);
 }

 .btn-outline-primary:hover {
     background-color: var(--primary-color);
     color: white;
     transform: translateY(-2px);
 }

 /* Stats */
 .stat-item {
     text-align: center;
     padding: 20px;
 }

 .stat-number {
     font-size: 3rem;
     font-weight: bold;
     color: var(--primary-color);
     display: block;
 }

 /* News Cards */
.news-card {
     border-radius: 15px;
     overflow: hidden;
     transition: all 0.3s;
 }

 .news-card:hover {
     transform: translateY(-5px);
 }

 .news-card img {
     /* width: 550px;
     height: 400px;
     object-fit: cover; */
 }

 /* Footer */
 /* footer {
     background: linear-gradient(135deg, #001a33, var(--primary-color));
     color: white;
 } */
 .footer {
     background: black;
     color: white;
 }

.public-empty-state {
    text-align: center;
    padding: 42px 24px;
    border-radius: 22px;
    background: white;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    color: #64748b;
}

.public-empty-state i {
    display: block;
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.article-rich-text {
    line-height: 1.85;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #1e293b;
}

.article-rich-text h2,
.article-rich-text h3,
.article-rich-text h4 {
    margin-top: 1.4rem;
    margin-bottom: 0.9rem;
    color: var(--primary-color);
}

.article-rich-text ul,
.article-rich-text ol {
    padding-left: 1.4rem;
}

.article-rich-text blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 14px 18px;
    margin: 1.2rem 0;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 0 14px 14px 0;
}

.article-rich-text a {
    color: var(--accent-color);
    font-weight: 600;
}

.article-newspaper-layout::after {
    content: "";
    display: block;
    clear: both;
}

.article-float-media {
    width: min(340px, 42%);
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.article-float-media-left {
    float: left;
    margin: 0 24px 18px 0;
}

.article-float-media-right {
    float: right;
    margin: 18px;
}

.article-float-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.article-summary-lead {
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.9;
}

.article-reading-panel {
    margin: 1.25rem 0;
    /*padding: 1.35rem 1.45rem*/;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, #ffffff 100%);
    /*border: 1px solid rgba(148, 163, 184, 0.18);*/
}


 /* Responsive */
 @media (max-width: 992px) {
     .faculty-pill-grid {
         grid-template-columns: 1fr;
     }
 }

 @media (max-width: 768px) {

     .faculty-spotlight-shell {
         padding: 18px;
         border-radius: 24px;
     }

     .faculty-visual-main img {
         min-height: 280px;
     }

     .faculty-visual-card {
         position: relative;
         right: auto;
         bottom: auto;
         margin-top: -18px;
         max-width: none;
     }

     .faculty-copy {
         padding-left: 0;
     }

     .faculty-pill-grid {
         grid-template-columns: 1fr;
     }

     .article-float-media {
         float: none;
         width: 100%;
         margin: 0 0 18px;
     }

     .hero-carousel,
     .hero-carousel .carousel-item {
         height: 60vh;
         min-height: 400px;
         padding: 0px
     }

     .carousel-caption {
         padding: 20px;
         bottom: 10%;
     }

     .carousel-caption h1 {
         font-size: 1.5rem;
     }
 }

 .hero-carousel {
     position: relative;
 }

 .hero-image-container {
     position: relative;
     overflow: hidden;
 }

 .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: linear-gradient(135deg,

             rgba(25, 47, 89, 0.8) 0%,
             rgba(25, 47, 89, 0.5) 50%,
             rgba(0, 0, 0, 0.4) 100%);
     z-index: 1;
 }

 .hero-carousel .carousel-item img {
     height: 90vh;
     object-fit: cover;
     filter: brightness(0.8);
 }

 .hero-carousel .carousel-caption {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     bottom: auto;

     z-index: 2;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
 }

 .hero-carousel .carousel-caption h1 {
     font-size: clamp(2rem, 5vw, 3.5rem);
     margin-bottom: 1.5rem;
     color: #ffffff;
 }

 .hero-carousel .carousel-caption .lead {
     font-size: clamp(1.1rem, 2vw, 1.25rem);
     margin-bottom: 2rem;
     color: #f8f9fa;
 }

 .hero-carousel .btn {
     font-weight: 600;
     border-radius: 8px;
     transition: all 0.3s ease;
     min-width: 200px;
 }

 .hero-carousel .btn-primary {
     background-color: #192F59;
     border-color: #192F59;
 }

 .hero-carousel .btn-primary:hover {
     background-color: #2a4a8a;
     border-color: #2a4a8a;
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
 }

 .hero-carousel .btn-outline-light:hover {
     background-color: rgba(255, 255, 255, 0.1);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
 }

 .carousel-indicators button {
     width: 12px;
     height: 12px;
     border-radius: 50%;
     margin: 0 6px;
     background-color: rgba(255, 255, 255, 0.5);
     border: 2px solid transparent;
 }

 .carousel-indicators button.active {
     background-color: #ffffff;
     border-color: #192F59;
 }

 .carousel-control-prev,
 .carousel-control-next {
     width: 60px;
     height: 60px;
     background-color: rgba(25, 47, 89, 0.8);
     border-radius: 50%;
     top: 50%;
     transform: translateY(-50%);
     margin: 0 20px;
     opacity: 0.8;
     transition: all 0.3s ease;
 }

 .carousel-control-prev:hover,
 .carousel-control-next:hover {
     opacity: 1;
     background-color: #192F59;
 }

 @media (max-width: 768px) {
     .hero-carousel .carousel-item img {
         height: 70vh;
     }

     .hero-carousel .carousel-caption {
     }

     .hero-carousel .d-md-flex {
         flex-direction: column;
         gap: 1rem !important;
     }

     .hero-carousel .btn {
         min-width: auto;
         width: 100%;
         max-width: 280px;
     }

     .carousel-control-prev,
     .carousel-control-next {
         width: 45px;
         height: 45px;
         margin: 0 10px;
     }
 }

 .stats-section {
     background: #192F59;
     overflow: hidden;
     position: relative;
 }

 .stats-background {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
 }

 .stats-bg-image {
     width: 100%;
     height: 100%;
     object-fit: cover;
     filter: brightness(0.4);
 }

 .stats-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg,
             rgba(25, 47, 89, 0.9) 0%,
             rgba(25, 47, 89, 0.7) 50%,
             rgba(25, 47, 89, 0.8) 100%);
 }

 .stat-item {
     padding: 2rem 1rem;
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(10px);
     border-radius: 15px;
     border: 1px solid rgba(255, 255, 255, 0.2);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
 }

 .stat-item::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
     transition: left 0.5s ease;
 }

 .stat-item:hover::before {
     left: 100%;
 }

 .stat-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     background: rgba(255, 255, 255, 0.15);
 }

 .stat-number {
     display: block;
     font-size: 3rem;
     font-weight: 700;
     color: #ffffff;
     margin-bottom: 0.5rem;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
 }

 .stat-percent {
     font-size: 2rem;
     font-weight: 700;
     color: #ffffff;
     margin-left: 0.25rem;
 }

 .stat-label {
     font-size: 1.1rem;
     font-weight: 600;
     color: rgba(255, 255, 255, 0.9);
     text-transform: uppercase;
     letter-spacing: 1px;
 }

 /* Animation des chiffres */
 @keyframes countUp {
     from {
         transform: translateY(20px);
         opacity: 0;
     }

     to {
         transform: translateY(0);
         opacity: 1;
     }
 }

 .counter.animated {
     animation: countUp 0.6s ease-out;
 }

 /* Responsive */
 @media (max-width: 768px) {
     .stats-section {
         padding: 3rem 0 !important;
     }

     .stat-item {
         padding: 1.5rem 0.5rem;
         margin-bottom: 1rem;
     }

     .stat-number {
         font-size: 2.5rem;
     }

     .stat-label {
         font-size: 1rem;
     }
 }

 @media (max-width: 576px) {
     .stat-number {
         font-size: 2rem;
     }

     .stat-item {
         padding: 1rem 0.5rem;
     }
 }


 .contact-info-card {
     background: var(--primary-color);
     color: white;
     border-radius: 10px;
     padding: 30px;
     height: 100%;
 }

 .contact-icon {
     width: 50px;
     height: 50px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 20px;
 }

 .form-control:focus {
     border-color: var(--secondary-color);
     box-shadow: 0 0 0 0.2rem rgba(255, 102, 0, 0.25);
 }



 .program-icon {
     width: 60px;
     height: 60px;
     background: var(--primary-color);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1.5rem;
     margin-bottom: 20px;
 }

 .stats-section {
     background: var(--primary-color);
     color: white;
 }

 .degree-level {
     border-radius: 20px;
     padding: 8px 20px;
     font-weight: 500;
 }
     .timeline {
            position: relative;
            padding-left: 30px;
        }

        .timeline:before {
            content: '';
            position: absolute;
            left: 15px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--primary-color);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 30px;
        }

        .timeline-item:before {
            content: '';
            position: absolute;
            left: -23px;
            top: 5px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--secondary-color);
            border: 2px solid white;
        }

         .comment-section {
                background: white;
                border-radius: 10px;
                padding: 30px;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                margin-top: 30px;
            }

            .comment {
                border-left: 3px solid var(--primary-color);
                padding-left: 15px;
                margin-bottom: 20px;
            }

            .comment-meta {
                font-size: 0.9rem;
                color: #6c757d;
                margin-bottom: 5px;
            }

            /* ============================
               DESIGN UNIVERSITAIRE PREMIUM
               ============================ */

            /* ---- HERO ---- */
            .hero-news {
                background: linear-gradient(
                    rgba(0, 33, 72, 0.80),
                    rgba(0, 33, 72, 0.80)
                ), url('/img/hero-2-456107037c4169511047fbc53d946d2c.png');
                background-size: cover;
                background-position: center;
                padding: 120px 0;
                color: white;
                text-align: center;
            }

            .hero-news h1 {
                font-family: "Saira", sans-serif;
                font-weight: 700;
                letter-spacing: 1px;
            }

            .hero-news p {
                font-size: 1.2rem;
                opacity: 0.9;
            }

            /* ---- SEARCH BAR ---- */
            .search-box input {
                border-radius: 8px 0 0 8px;
                border: 2px solid var(--primary-color);
            }

            .search-box .btn {
                border-radius: 0 8px 8px 0;
                padding-left: 20px;
                padding-right: 20px;
            }

            /* ---- CATEGORIES FILTER ---- */
            .btn-outline-primary {
                border-width: 2px;
                border-color: var(--primary-color);
                padding: 6px 18px;
                border-radius: 30px;
                font-weight: 500;
            }

            .btn-outline-primary.active,
            .btn-outline-primary:hover {
                background: var(--primary-color);
                color: white;
            }

            /* ---- NEWS CARDS ---- */
            .news-card {
                background: white;
                border-radius: 15px;
                box-shadow: 0 8px 18px rgba(0,0,0,0.08);
                border: none;
                transition: transform .3s, box-shadow .3s;
                overflow: hidden;
            }

            .news-card:hover {
                transform: translateY(-8px);
                box-shadow: 0 15px 28px rgba(0, 0, 0, 0.15);
            }

            .news-card img {
                height: 240px;
                object-fit: cover;
                width: 100%;
            }

            /* Badge catégorie sur l’image */
            .news-card .badge {
                position: absolute;
                bottom: 10px;
                left: 10px;
                background: var(--secondary-color);
                font-size: .8rem;
                border-radius: 6px;
                padding: 6px 10px;
                box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            }

            /* Titre + résumé */
            .news-card .card-title {
                font-family: "Saira", sans-serif;
                font-size: 1.15rem;
                font-weight: 600;
                min-height: 48px;
            }

            .news-card .card-text {
                font-size: .95rem;
                color: #555;
                min-height: 60px;
            }

            .article-meta {
                font-size: .85rem;
                color: #777;
            }

            /* ---- PAGINATION ---- */
            .pagination .page-link {
                color: var(--primary-color);
                border-radius: 6px;
                margin: 0 4px;
                font-weight: 500;
                border: 1px solid #d0d6dd;
            }

            .pagination .page-item.active .page-link {
                background: var(--primary-color);
                color: white;
                border-color: var(--primary-color);
            }

            .pagination .page-link:hover {
                background: var(--primary-color);
                color: white;
            }

            /* ---- NEWSLETTER ---- */
            .footer form input {
                background: rgba(255, 255, 255, 0.15) !important;
                border: 1px solid rgba(255, 255, 255, 0.25);
                border-radius: 8px;
            }

            /* ---- GENERAL ---- */
            .card-footer a.btn {
                width: 100%;
                border-radius: 8px;
                font-weight: bold;
            }
