/* Styles de campus.php (extraits de la page, même ordre) */

    .page-header {
        background: linear-gradient(135deg, rgba(31, 45, 61, 0.88), rgba(52, 73, 94, 0.8)),
                    url('../../images/slide/slide-1.png') center/cover;
        color: white;
        padding: 5.5rem 0 4.5rem;
        margin-bottom: 3rem;
        position: relative;
        overflow: hidden;
    }

    .page-header::before {
        content: '';
        position: absolute;
        top: -60%;
        right: -10%;
        width: 70%;
        height: 220%;
        background: var(--secondary-color);
        opacity: 0.12;
        transform: rotate(-15deg);
    }

    .page-header .container {
        position: relative;
        z-index: 1;
    }

    .header-badge {
        background: rgba(255,255,255,0.15);
        color: white;
        padding: 0.5rem 1.25rem;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.9rem;
        display: flex;
        width: fit-content;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        backdrop-filter: blur(10px);
    }

    .quick-campus-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.85rem;
        margin-top: 2rem;
    }

    .quick-campus-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.7rem 1.5rem;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        color: white;
        box-shadow: 0 4px 15px rgba(0,0,0,0.25);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .quick-campus-btn:hover {
        transform: translateY(-3px);
        color: white;
        box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    }

    @media (max-width: 575px) {
        .quick-campus-btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
    }

    .campus-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        height: 100%;
        transition: all 0.3s;
        text-decoration: none;
        display: block;
    }

    .campus-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        text-decoration: none;
    }

    .campus-image {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .campus-body {
        padding: 2rem;
    }

    .campus-badge {
        display: inline-block;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .facility-card {
        background: white;
        border-radius: 15px;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        height: 100%;
        text-align: center;
        transition: all 0.3s;
    }

    .facility-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

    .facility-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--secondary-color), #d9a259);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        color: white;
        font-size: 2.5rem;
    }
    .breadcrumb-custom {
        background: rgba(255,255,255,0.1);
        padding: 0.75rem 1.5rem;
        border-radius: 50px;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .breadcrumb-custom a {
        color: white;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

    .breadcrumb-custom a:hover {
        opacity: 1;
    }

    /* ── Fluidité / intuitivité (structure inchangée) ───────── */
    html { scroll-behavior: smooth; }

    .campus-card,
    .facility-card {
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s cubic-bezier(0.4,0,0.2,1);
    }

    .campus-image {
        transition: transform 0.5s ease;
    }

    .campus-card:hover .campus-image {
        transform: scale(1.04);
    }

    .campus-card .campus-body > div:last-child .btn {
        transition: background 0.25s ease, transform 0.25s ease;
    }

    .campus-card:hover .campus-body > div:last-child .btn {
        transform: translateX(3px);
    }

    .facility-icon {
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    }

    .facility-card:hover .facility-icon {
        transform: scale(1.08) rotate(-4deg);
    }

    iframe[src*="google.com/maps"] {
        border-radius: 10px;
    }

    /* Scroll-reveal — uniquement pour les sections sous le pli au chargement */
    .cp-reveal {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
    }

    .cp-reveal.cp-in {
        opacity: 1;
        transform: none;
    }

    @media (max-width: 575px) {
        .page-header { padding: 2.75rem 0; }
        .breadcrumb-custom { padding: 0.6rem 1.1rem; font-size: 0.78rem; }
    }

/* =====================================================================
   Sobriété — même langage visuel que la page d'accueil : en-tête bleu nuit uni, cartes à bordure
   simple, une seule couleur d'accent (or UNAH) au lieu du bleu / vert / violet, pas d'ombres, de
   soulèvement au survol ni d'animations d'apparition. Bloc placé en dernier : il prime.
   ===================================================================== */

/* En-tête : vue aérienne du campus (photo du diaporama de l'accueil, images/campus-hero.jpg). Voile sombre seulement
   à gauche, derrière le texte, pour garder la photo lumineuse à droite (plus de bande diagonale). */
.page-header {
    background:
        linear-gradient(90deg, rgba(20, 30, 42, 0.88) 0%, rgba(20, 30, 42, 0.62) 45%, rgba(20, 30, 42, 0.1) 100%),
        url('../../images/campus-hero.jpg') center 35% / cover no-repeat;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
}
.page-header::before { display: none; }
.page-header .container { width: 100%; }
.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.page-header .lead {
    font-size: 1.2rem;
    max-width: 560px;
    opacity: 0.92;
    margin-bottom: 2rem;
}
/* Petit trait or sous le titre, rappel des titres de l'accueil */
.page-header h1::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--secondary-color);
    margin-top: 1rem;
}
@media (max-width: 767px) {
    .page-header {
        min-height: 380px;
        background:
            linear-gradient(rgba(20, 30, 42, 0.78), rgba(20, 30, 42, 0.78)),
            url('../../images/campus-hero.jpg') center / cover no-repeat;
    }
}
.breadcrumb-custom {
    background: none;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    margin-bottom: 1rem;
}
/* Accès rapide aux 3 campus : boutons discrets à bordure */
.quick-campus-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 6px;
    box-shadow: none;
}
.quick-campus-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
    box-shadow: none;
}

/* Cartes de campus */
.campus-card {
    border: 1px solid #e3e7ec;
    border-radius: 8px;
    box-shadow: none;
}
.campus-card:hover { transform: none; box-shadow: none; }
.campus-card:hover .campus-image { transform: none; }
.campus-card h3 { color: var(--dark-color); }
.campus-card .campus-sub { font-size: 0.85rem; color: #6b7280; }
.campus-card .campus-body .text-primary,
.campus-card .campus-body [style*="color"] { color: #4b5563 !important; }
.campus-badge {
    background: #f1f3f5;
    color: var(--dark-color);
    border-radius: 4px;
}
.campus-btn,
.campus-card .campus-body > div:last-child .btn {
    background: var(--dark-color);
    color: #fff;
    border-radius: 6px;
}
.campus-card:hover .campus-body > div:last-child .btn { transform: none; }

/* Installations : icône sans rond doré, carte à bordure */
.facility-card {
    border: 1px solid #e3e7ec;
    border-radius: 8px;
    box-shadow: none;
}
.facility-card:hover { transform: none; box-shadow: none; }
.facility-icon,
.facility-card:hover .facility-icon {
    background: none;
    color: var(--secondary-color);
    width: auto;
    height: auto;
    font-size: 2rem;
    transform: none;
    box-shadow: none;
}

/* Adresses */
.campus-adresses {
    background: #fff;
    padding: 2rem;
    border: 1px solid #e3e7ec;
    border-radius: 8px;
}
.campus-adresses strong { color: var(--dark-color); }

/* Pas d'animation d'apparition au défilement */
.cp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.campus-card .text-sm, .campus-card .text-sm span { color: #4b5563 !important; }
