/* =====================================================
       CSS VARIABLES — FSTS Brand Identity
    ===================================================== */
:root {
    --blue: #0B4A8B;
    --blue-dark: #082F5E;
    --blue-light: #1A6CC8;
    --gold: #F2B300;
    --gold-light: #FFD54F;
    --gold-dark: #C98F00;
    --indigo: #081C3D;
    --bg: #F8FAFC;
    --bg-alt: #EEF3F9;
    --text: #1E2A38;
    --text-muted: #5A6978;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(11, 74, 139, 0.08);
    --shadow-md: 0 8px 32px rgba(11, 74, 139, 0.12);
    --shadow-lg: 0 16px 56px rgba(11, 74, 139, 0.16);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
       RESET & BASE
    ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* =====================================================
       UTILITY
    ===================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 0.4rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 3rem;
}

.gold-bar {
    display: inline-block;
    width: 56px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--blue-dark);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(242, 179, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--blue-dark);
    border: 2px solid rgba(11, 74, 139, 0.4);
}

.btn-outline-dark:hover {
    border-color: var(--blue-dark);
    background: rgba(11, 74, 139, 0.08);
    transform: translateY(-2px);
}

.btn-blue {
    background: var(--blue);
    color: var(--white);
}

.btn-blue:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 74, 139, 0.28);
}

.doc-btn {
    border-radius: 999px;
    min-height: 42px;
    padding: 10px 18px;
    font-weight: 700;
}

.tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--bg-alt);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
       TOP BAR
    ===================================================== */
.top-bar {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 2px solid var(--gold);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--gold);
}

.top-bar-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =====================================================
       HEADER
    ===================================================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(11, 74, 139, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 32px rgba(11, 74, 139, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 18px;
    max-width: 1360px;
    margin: 0 auto;
    gap: 16px;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-block img {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    line-height: 1.25;
}

.logo-fr {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-dark);
    display: block;
}

.logo-ar {
    font-size: 0.88rem;
    color: var(--gold-dark);
    font-weight: 600;
    direction: rtl;
    display: block;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

/* NAV */
.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}

.nav a,
.nav-item>button {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav a::after,
.nav-item>button::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.nav a:hover,
.nav a.active,
.nav-item>a:hover {
    color: var(--blue);
}

.nav a:hover::after,
.nav a.active::after,
.nav-item>a:hover::after {
    transform: scaleX(1);
}

.nav-item {
    position: relative;
}

.nav-item>a {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item.has-dropdown>a .caret {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
}

.nav-item.has-dropdown>a:hover .caret {
    color: var(--blue);
}

.nav-item.open>a .caret {
    color: var(--blue);
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin-top: 4px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(5, 23, 51, 0.18);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
    border: 1px solid rgba(16, 46, 84, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(2px);
    pointer-events: none;
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: transparent;
}

.nav-item.open>.nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown a {
    position: relative;
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.nav-dropdown a:hover {
    color: var(--blue);
}

.nav-dropdown a::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 6px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-dropdown a:hover::after {
    transform: scaleX(1);
}

/* ── Hamburger button ─────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.2s;
    position: relative;
    z-index: 1100;
}

.hamburger:hover {
    background: var(--bg-alt);
}

/* Three bars — stored as top/mid/bot */
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--blue-dark);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease,
        top 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.2s;
}

.hamburger span:nth-child(1) {
    top: 12px;
}

.hamburger span:nth-child(2) {
    top: 19px;
}

.hamburger span:nth-child(3) {
    top: 26px;
}

/* Open state → X morphing */
.hamburger.open span:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
    background: var(--blue);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.hamburger.open span:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
    background: var(--blue);
}

/* ── Backdrop overlay ─────────────────────────── */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 47, 94, 0.35);
    backdrop-filter: blur(2px);
    z-index: 990;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nav-backdrop.visible {
    display: block;
}

.nav-backdrop.active {
    opacity: 1;
}

/* ── Mobile nav ───────────────────────────────── */
.mobile-nav {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-top: 2px solid var(--gold);
    padding: 8px 16px 16px;
    gap: 2px;
    /* slide-down: hidden by default */
    max-height: 0;
    overflow: hidden;
    overflow-y: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.32s ease,
        transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 32px rgba(11, 74, 139, 0.12);
    position: relative;
    z-index: 1000;
}

.mobile-nav.open {
    max-height: calc(100vh - 84px);
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Each link slides in with stagger via CSS custom prop */
.mobile-nav a {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(-12px);
    transition:
        background 0.2s,
        color 0.2s,
        opacity 0.3s ease calc(var(--i, 0) * 0.055s),
        transform 0.3s ease calc(var(--i, 0) * 0.055s);
}

.mobile-nav a::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.mobile-nav.open a {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav a:hover {
    background: var(--bg-alt);
    color: var(--blue);
}

.mobile-nav a:hover::before {
    transform: scale(1.6);
}

.mobile-nav-group {
    border-top: 1px solid rgba(11, 74, 139, 0.08);
    padding-top: 12px;
    margin-top: 12px;
}

.mobile-nav a.mobile-nav-parent-link {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 4px;
    text-align: left;
}

.mobile-nav a.mobile-nav-parent-link::before {
    display: none;
}

.mobile-nav-toggle {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
}

.mobile-nav-toggle span {
    font-size: 1.2rem;
    color: var(--blue);
    transition: transform 0.2s;
}

.mobile-nav-group.open .mobile-nav-toggle span {
    transform: rotate(45deg);
}

.mobile-nav-sub {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    padding-left: 8px;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.28s ease,
        transform 0.28s ease;
}

.mobile-nav-group.open .mobile-nav-sub {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-sub a {
    font-size: 0.95rem;
    padding: 6px 12px;
    margin: 2px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav-group.open .mobile-nav-sub a {
    opacity: 1;
    transform: translateX(0);
}

/* =====================================================
       HERO SECTION
    ===================================================== */
.hero {
    position: relative;
    /* min-height: 50vh; */
    background: var(--blue-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: var(--gold) solid 1px;
}

/* Hero image integration */
.hero-media {
    position: absolute;
    inset: 0 0 0 44%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 47, 94, 0.98) 0%, rgba(8, 47, 94, 0.8) 26%, rgba(8, 47, 94, 0.55) 48%, rgba(8, 47, 94, 0) 100%),
        linear-gradient(180deg, rgba(8, 47, 94, 0.1), rgba(8, 47, 94, 0.45));
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: scale(1.03);
}

/* Gold arc at bottom - logo's crescent */
.hero-arc {
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 80px;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.hero-arc svg {
    width: 100%;
    height: 100%;
}

/* Diagonal lines from logo */
.hero-lines {
    position: absolute;
    right: 120px;
    top: 80px;
    width: 200px;
    height: 200px;
    opacity: 0.18;
    pointer-events: none;
}

.hero-lines svg {
    width: 100%;
    height: 100%;
}

/* Dots from logo pinnacles */
.hero-dots {
    position: absolute;
    top: 60px;
    left: 50%;
    display: flex;
    gap: 28px;
    opacity: 0.25;
}

.hero-dot {
    width: 10px;
    height: 14px;
    background: var(--gold);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: dotFloat 3s ease-in-out infinite alternate;
}

.hero-dot:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-dot:nth-child(3) {
    animation-delay: 0.8s;
}

.hero-dot:nth-child(4) {
    animation-delay: 1.2s;
}

.hero-dot:nth-child(5) {
    animation-delay: 1.6s;
}

@keyframes dotFloat {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-8px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 80px 24px;
    margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
    animation: heroIn 0.9s ease both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

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

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--gold);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-hint svg {
    opacity: 0.5;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(4px);
    }
}

/* =====================================================
       FLASH INFO BAR
    ===================================================== */
.flash-bar {
    background: var(--blue);
    color: var(--white);
    padding: 14px 0;
    overflow: hidden;
}

.flash-bar .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.flash-label {
    background: var(--gold);
    color: var(--blue-dark);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.flash-ticker {
    overflow: hidden;
    flex: 1;
}

.flash-ticker-inner {
    display: flex;
    width: max-content;
    animation: ticker var(--ticker-duration, 32s) linear infinite;
    will-change: transform;
}

.flash-ticker-group {
    display: flex;
    gap: 28px;
    padding-right: 60px;
    white-space: nowrap;
    flex-shrink: 0;
}

.flash-ticker-group>* {
    display: inline-flex;
    align-items: center;
    padding-right: 18px;
}

.flash-ticker-group span {
    font-size: 0.9rem;
}

.flash-ticker-group a {
    font-size: 0.9rem;
    color: var(--white);
    text-decoration: none;
}

.flash-ticker-group a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

.flash-ticker-group span::before,
.flash-ticker-group a::before {
    content: '◆';
    margin-right: 10px;
    color: var(--gold);
    font-size: 0.6rem;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * var(--ticker-shift, 50%)));
    }
}

/* =====================================================
       ACTUALITÉS
    ===================================================== */
.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.news-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 200px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    position: relative;
    overflow: hidden;
}

.news-img-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SVG placeholder illustrations */
.news-img-1 {
    background: linear-gradient(135deg, #0B4A8B, #1A6CC8);
}

.news-img-2 {
    background: linear-gradient(135deg, #082F5E, #0B4A8B);
}

.news-img-3 {
    background: linear-gradient(135deg, #C98F00, #F2B300);
}

.news-img-4 {
    background: linear-gradient(135deg, #1A6CC8, #082F5E);
}

.news-img-5 {
    background: linear-gradient(135deg, #0B4A8B, #C98F00);
}

.news-img-6 {
    background: linear-gradient(135deg, #082F5E, #1A6CC8);
}

.news-img-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.news-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date::before {
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold);
}

.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex: 1;
    margin-bottom: 18px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.88rem;
    transition: gap 0.2s;
}

.news-link:hover {
    gap: 10px;
    color: var(--blue-light);
}

.news-link svg {
    transition: transform 0.2s;
}

.news-link:hover svg {
    transform: translateX(3px);
}

/*
.articles-more-link-wrap {
    text-align: center;
    margin-top: 40px;
}

.articles-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(11, 74, 139, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    color: var(--blue-dark);
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(11, 74, 139, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.articles-more-link svg {
    transition: transform 0.2s ease;
}

.articles-more-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(11, 74, 139, 0.18);
    color: var(--blue);
}

.articles-more-link:hover svg {
    transform: translateX(3px);
} */

.articles-more-link-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding: 10px 0;
}

.articles-more-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: linear-gradient(135deg, #0b4a8b 0%, #123f73 55%, #0a2f57 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-shadow:
        0 10px 24px rgba(11, 74, 139, 0.22),
        0 4px 10px rgba(212, 175, 55, 0.12);
    overflow: hidden;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease;
}

.articles-more-link::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
    pointer-events: none;
}

.articles-more-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.28) 50%,
            transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.articles-more-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.28s ease;
}

.articles-more-link:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #0d539c 0%, #154b87 55%, #0b3564 100%);
    box-shadow:
        0 16px 34px rgba(11, 74, 139, 0.3),
        0 8px 18px rgba(212, 175, 55, 0.18);
}

.articles-more-link:hover::after {
    left: 140%;
}

.articles-more-link:hover svg {
    transform: translateX(4px);
}

.articles-more-link:active {
    transform: translateY(-1px) scale(0.995);
    box-shadow:
        0 8px 18px rgba(11, 74, 139, 0.22),
        0 4px 10px rgba(212, 175, 55, 0.12);
}

.articles-more-link:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.22),
        0 14px 28px rgba(11, 74, 139, 0.24);
}

.niveaux-section {
    background:
        radial-gradient(1200px 420px at 90% -20%, rgba(16, 88, 170, 0.08), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.niveaux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.niveau-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(13, 73, 136, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow:
        0 10px 24px rgba(10, 54, 105, 0.08),
        0 2px 6px rgba(10, 54, 105, 0.06);
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.niveau-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #1459a8 0%, #0b4a8b 100%);
    opacity: 0.85;
}

.niveau-card:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 73, 136, 0.24);
    box-shadow:
        0 18px 36px rgba(10, 54, 105, 0.14),
        0 6px 14px rgba(10, 54, 105, 0.08);
}

.niveau-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.niveau-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(11, 74, 139, 0.08);
    color: #0d4f95;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 11px;
}

.niveau-count {
    color: #5c7088;
    font-size: 0.8rem;
    font-weight: 700;
}

.niveau-title {
    font-size: 1.3rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #0a2f57;
}

.niveau-desc {
    font-size: 0.95rem;
    color: #5f748b;
    line-height: 1.65;
}

.niveau-link {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(11, 74, 139, 0.16);
    background: rgba(11, 74, 139, 0.04);
    color: #0c4a8d;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.22s ease;
}

.niveau-link svg {
    transition: transform 0.22s ease;
}

.niveau-link:hover {
    background: rgba(11, 74, 139, 0.08);
    border-color: rgba(11, 74, 139, 0.3);
    color: #083a70;
}

.niveau-link:hover svg {
    transform: translateX(3px);
}

.niveau-card-link {
    color: inherit;
    height: 100%;
}

.niveau-card-link .niveau-link {
    pointer-events: none;
    margin-top: auto;
}

.niveau-card-link .niveau-desc {
    flex: 1 1 auto;
}

.niveau-card-link:hover .niveau-link {
    background: rgba(11, 74, 139, 0.08);
    border-color: rgba(11, 74, 139, 0.3);
    color: #083a70;
}

.niveau-card-link:hover .niveau-link svg {
    transform: translateX(3px);
}

.articles-hero {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
    text-align: center;
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
}

.articles-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% -10%, rgba(242, 179, 0, 0.4), transparent 60%);
    pointer-events: none;
}

.articles-title {
    font-size: 2.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.articles-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.articles-list-section {
    padding: 90px 0 120px;
    background: var(--bg);
}

.articles-grid {
    margin-top: 40px;
}

.articles-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.articles-pagination nav {
    display: inline-flex;
    gap: 10px;
    background: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.articles-pagination a,
.articles-pagination span {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--blue);
}

.articles-pagination .active,
.articles-pagination .active span {
    background: var(--blue);
    color: var(--white);
}

.articles-pagination .disabled,
.articles-pagination .disabled span {
    color: var(--text-muted);
    opacity: 0.5;
    pointer-events: none;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* =====================================================
       ARTICLE DETAIL PAGE
    ===================================================== */
.breadcrumb-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--blue);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 700;
}

.breadcrumb-sep {
    color: var(--text-light);
}

.article-hero {
    background: var(--blue-dark);
    position: relative;
    overflow: hidden;
    padding: 72px 0 80px;
}

.article-hero::before {
    content: '';
    position: absolute;
    right: -120px;
    top: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.article-hero::after {
    content: '';
    position: absolute;
    right: 60px;
    top: 40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 2px solid rgba(242, 179, 0, 0.15);
    pointer-events: none;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    display: block;
}

.article-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    animation: heroFade 0.8s var(--ease) both;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(242, 179, 0, 0.15);
    border: 1px solid rgba(242, 179, 0, 0.3);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.article-category::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    display: block;
}

.article-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 24px;
}

.article-hero-title em {
    color: var(--gold);
    font-style: italic;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.meta-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

.meta-item strong {
    color: rgba(255, 255, 255, 0.9);
}

.meta-sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.24);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s;
}

.article-tag:hover {
    background: rgba(242, 179, 0, 0.15);
    color: var(--gold);
    border-color: rgba(242, 179, 0, 0.3);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 56px 0 90px;
    align-items: start;
}

.article-body {
    min-width: 0;
}

.featured-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 44px;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-image-inner {
    opacity: 0.25;
}

.featured-image-label {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--gold);
    color: var(--blue-dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(8, 47, 94, 0.85), transparent);
    padding: 20px 24px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-style: italic;
}

.article-lead {
    font-size: 1.18rem;
    color: var(--blue-dark);
    line-height: 1.8;
    margin-bottom: 36px;
    padding: 24px 28px;
    border-left: 4px solid var(--gold);
    background: linear-gradient(to right, rgba(242, 179, 0, 0.08), transparent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.article-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    line-height: 1.85;
    font-size: 1.02rem;
    color: var(--text);
    overflow: hidden;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 44px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-alt);
    position: relative;
}

.article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--gold);
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue);
    margin: 32px 0 12px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.2em;
}

.article-content blockquote {
    border-left: 4px solid var(--gold);
    padding-left: 16px;
    font-style: italic;
    color: var(--blue-dark);
    background: var(--bg-alt);
    border-radius: 0 12px 12px 0;
    margin: 1.6em 0;
}

.article-content a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 2px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    font-family: 'Source Sans 3', sans-serif;
}

.article-content table th {
    background: var(--blue-dark);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.78rem;
    font-weight: 700;
}

.article-content table th,
.article-content table td {
    border: 1px solid #E2E8F0;
    padding: 12px 16px;
    text-align: left;
}

.article-content table tbody tr:nth-child(even) {
    background: #F8FAFC;
}

.article-content table caption {
    caption-side: bottom;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin: 1.2em 0;
}

.info-box {
    margin: 36px 0;
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.info-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--blue-dark);
    font-size: 0.9rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-box ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-box ul li {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
}

.info-box ul li::before {
    content: '◆';
    color: var(--gold);
    font-size: 0.5rem;
    margin-top: 6px;
    flex-shrink: 0;
}

.pull-quote {
    margin: 40px 0;
    padding: 32px 36px;
    background: var(--blue-dark);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.pull-quote::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 16px;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: rgba(242, 179, 0, 0.12);
}

.pull-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--white);
    line-height: 1.65;
    margin-bottom: 16px;
}

.pull-quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pull-quote-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
}

.pull-quote-name {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}

.pull-quote-role {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.image-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 36px 0;
}

.image-strip-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 160px;
    position: relative;
    cursor: pointer;
}

.image-strip-item:nth-child(1) {
    background: linear-gradient(135deg, #082F5E, #1A6CC8);
}

.image-strip-item:nth-child(2) {
    background: linear-gradient(135deg, #C98F00, #F2B300);
}

.image-strip-item:nth-child(3) {
    background: linear-gradient(135deg, #0B4A8B, #082F5E);
}

.image-strip-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.25;
}

.image-strip-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 47, 94, 0.5);
    display: flex;
    align-items: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-strip-item:hover .image-strip-overlay {
    opacity: 1;
}

.image-strip-overlay span {
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
}

.article-footer {
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.article-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.article-footer-tags span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.tag-pill {
    padding: 5px 13px;
    background: var(--bg-alt);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.2s;
    cursor: pointer;
}

.tag-pill:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.share-btn:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
}

.article-nav-btn {
    padding: 20px 22px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    transition: all 0.3s var(--ease);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: block;
}

.article-nav-btn:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-nav-btn.next {
    text-align: right;
}

.nav-direction {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.article-nav-btn.next .nav-direction {
    justify-content: flex-end;
}

.nav-direction svg {
    color: var(--gold);
}

.nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.4;
}

.nav-category {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

.sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.sidebar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-alt);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.sidebar-title svg {
    color: var(--gold);
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(242, 179, 0, 0.12);
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 3px;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.author-dept {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-alt);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-info-item {
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
    align-items: flex-start;
}

.quick-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    flex-shrink: 0;
}

.quick-info-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.quick-info-value {
    font-weight: 600;
    color: var(--text);
    font-size: 0.88rem;
}

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-img-1,
.related-img-2,
.related-img-3 {
    width: 100%;
    height: 100%;
}

.related-img-1 {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
}

.related-img-2 {
    background: linear-gradient(135deg, #0b4a8b, #f2b300);
}

.related-img-3 {
    background: linear-gradient(135deg, #153e75, #1b9aaa);
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-cat {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.related-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 0.72rem;
    color: var(--text-light);
}

.newsletter-mini {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-mini::before {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(242, 179, 0, 0.15);
}

.newsletter-mini h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter-mini p {
    font-size: 0.82rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.newsletter-mini-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.85rem;
    margin-bottom: 10px;
    outline: none;
}

.newsletter-mini-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-gold-full {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 7px;
    background: var(--gold);
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-gold-full:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.article-related {
    margin-top: 90px;
    padding-bottom: 120px;
}

/* EVENTS */
.events-hero {
    position: relative;
    background: linear-gradient(120deg, var(--blue-dark), var(--blue));
    color: var(--white);
    padding: 140px 0 100px;
    overflow: hidden;
}

.events-hero .hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
}

.events-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    margin: 18px 0 12px;
}

.events-subtitle {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.events-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.events-hero-arch {
    position: absolute;
    right: -140px;
    top: -60px;
    opacity: 0.25;
    pointer-events: none;
}

.events-list-section {
    padding: 90px 0;
    background: var(--bg);
}

.section-heading {
    margin-bottom: 30px;
}

.section-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--blue-dark);
}

.section-header p {
    color: var(--text-muted);
    max-width: 520px;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.events-archive-section {
    padding: 90px 0 120px;
    background: var(--white);
}

.events-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.events-archive-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.archive-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    align-items: center;
}

.archive-date {
    min-width: 80px;
    text-align: center;
    font-weight: 700;
    color: var(--blue-dark);
    font-family: 'Playfair Display', serif;
}

.archive-date span {
    display: block;
    font-size: 1.4rem;
}

.archive-date small {
    display: block;
    color: var(--text-muted);
}

.archive-category {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--gold-dark);
    letter-spacing: 1px;
    font-weight: 700;
}

.archive-body {
    flex: 1;
    min-width: 0;
}

.archive-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--blue-dark);
    margin: 4px 0;
}

.archive-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.archive-meta svg {
    color: var(--gold);
}

.archive-actions {
    margin-left: auto;
}

.event-hero {
    background: linear-gradient(120deg, var(--blue-dark), var(--blue));
    color: var(--white);
    padding: 100px 0 80px;
}

.event-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.event-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 20px;
}

.event-meta-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.event-meta-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.event-meta-list svg {
    color: var(--gold);
}

.event-hero-cta {
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.event-hero-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.event-hero-date span {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    display: block;
}

.event-hero-date small {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.event-detail {
    background: var(--bg);
    padding: 80px 0 120px;
}

.event-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.event-detail-main h2 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    margin-bottom: 12px;
}

.event-summary {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 20px;
    font-weight: 600;
}

.event-content {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    line-height: 1.8;
    color: var(--text);
}

.event-content h2,
.event-content h3,
.event-content h4 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.event-content p {
    margin-bottom: 1.2em;
}

.event-content ul,
.event-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.2em;
}

.event-content blockquote {
    border-left: 4px solid var(--gold);
    padding-left: 16px;
    margin: 1.6em 0;
    background: var(--bg-alt);
}

.event-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.event-content table th {
    background: var(--blue-dark);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.78rem;
    font-weight: 700;
}

.event-content table th,
.event-content table td {
    border: 1px solid #E2E8F0;
    padding: 12px 16px;
    text-align: left;
}

.event-content table tbody tr:nth-child(even) {
    background: #F8FAFC;
}

.event-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1.2em 0;
    box-shadow: var(--shadow-sm);
}

.event-detail-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-side-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.event-side-card .title {
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.event-side-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-side-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--bg-alt);
    transition: border var(--transition);
}

.event-side-item:hover {
    border-color: var(--blue);
}

.date-pill {
    min-width: 70px;
    text-align: center;
    font-weight: 700;
    color: var(--blue);
    background: var(--bg-alt);
    border-radius: 999px;
    padding: 6px 10px;
}

.event-side-item p {
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.event-side-item small {
    color: var(--text-muted);
}

.article-related h2 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--blue-dark);
}

/* =====================================================
       ÉVÉNEMENTS
    ===================================================== */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--blue);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--gold);
}

.event-date-block {
    min-width: 72px;
    text-align: center;
    background: var(--blue-dark);
    color: var(--white);
    border-radius: 10px;
    padding: 12px 8px;
    flex-shrink: 0;
}

.event-day {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--gold);
}

.event-month {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.event-info {
    flex: 1;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 6px;
}

.event-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.83rem;
    flex-wrap: wrap;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 8px;
}

.event-cta {
    flex-shrink: 0;
}

/* =====================================================
       CHIFFRES CLÉS
    ===================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Arc decoration */
.stats-section::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid rgba(242, 179, 0, 0.15);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    width: 100%;
}

.stats-section .container.stats-container-wide {
    max-width: 100%;
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
    overflow-x: auto;
}

.stats-grid.stats-grid-wide {
    grid-template-columns: repeat(var(--stats-count, 4), minmax(220px, 1fr));
    min-width: max-content;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: var(--transition);
    animation: statIn 0.6s ease both;
}

.stat-item:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes statIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.stat-icon {
    width: 52px;
    height: 52px;
    background: rgba(242, 179, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--gold);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.stat-icon-text {
    font-size: 1.5rem;
    line-height: 1;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.stat-plus {
    font-size: 2rem;
    vertical-align: top;
    margin-top: 4px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

/* =====================================================
       DÉPARTEMENTS
    ===================================================== */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.dept-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.dept-card:hover {
    border-top-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.dept-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.6rem;
}

.dept-icon.blue {
    background: rgba(11, 74, 139, 0.1);
    color: var(--blue);
}

.dept-icon.gold {
    background: rgba(242, 179, 0, 0.12);
    color: var(--gold-dark);
}

.dept-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.dept-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.dept-count {
    font-size: 0.8rem;
    color: var(--blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =====================================================
       GALERIE
    ===================================================== */
.gallery-section {
    padding: 90px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
}

.gallery-item:nth-child(1) {
    grid-column: span 5;
    grid-row: span 2;
    height: 340px;
}

.gallery-item:nth-child(2) {
    grid-column: span 7;
    height: 160px;
}

.gallery-item:nth-child(3) {
    grid-column: span 4;
    height: 160px;
    background: linear-gradient(135deg, #C98F00, #F2B300);
}

.gallery-item:nth-child(4) {
    grid-column: span 3;
    height: 160px;
    background: linear-gradient(135deg, #082F5E, #1A6CC8);
}

.gallery-item:nth-child(5) {
    grid-column: span 4;
    height: 160px;
    background: linear-gradient(135deg, #0B4A8B, #C98F00);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 47, 94, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-text {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding: 16px;
}

.gallery-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.18;
}

/* =====================================================
       FOOTER
    ===================================================== */
.footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 48px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-block {
    margin-bottom: 16px;
}

.footer-brand .logo-block img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    font-size: 0.85rem;
    font-weight: 700;
}

.social-btn:hover {
    background: var(--gold);
    color: var(--blue-dark);
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-col ul li a::before {
    content: '›';
    color: var(--gold);
    font-size: 1rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    align-items: flex-start;
}

.contact-item svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-map-wrap {
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-map {
    width: 100%;
    height: 170px;
    border: 0;
    display: block;
}

.footer-map-link {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    color: var(--gold-light);
    font-size: 0.85rem;
    text-decoration: underline;
}

.footer-map-link:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    flex-wrap: wrap;
}

/* =====================================================
   EMPLOIS DU TEMPS
===================================================== */
.edt-hero {
    background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-light) 100%);
    color: var(--white);
    padding: 72px 0 58px;
}

.edt-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin-bottom: 10px;
}

.edt-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
}

.edt-section {
    background: var(--bg);
}

.edt-filters {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px;
    margin-bottom: 28px;
}

.edt-filter-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.edt-filter-actions .niveau-link {
    margin-top: 0;
    min-height: 42px;
    justify-content: center;
    text-decoration: none;
}

.edt-filter-actions button.niveau-link {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    font: inherit;
    line-height: 1;
}

.edt-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.edt-form-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue-dark);
}

.edt-form-select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(11, 74, 139, 0.28);
    border-radius: 10px;
    background: var(--white);
    color: var(--text);
    padding: 10px 12px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.edt-form-select:focus {
    border-color: var(--blue);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(11, 74, 139, 0.12);
}

.edt-group {
    margin-bottom: 34px;
}

.edt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.edt-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(11, 74, 139, 0.14);
    border-radius: 20px;
    box-shadow:
        0 10px 24px rgba(10, 54, 105, 0.08),
        0 2px 6px rgba(10, 54, 105, 0.06);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.edt-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #1459a8 0%, #0b4a8b 100%);
    opacity: 0.85;
}

.edt-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 74, 139, 0.26);
    box-shadow:
        0 18px 36px rgba(10, 54, 105, 0.14),
        0 6px 14px rgba(10, 54, 105, 0.08);
}

.edt-card-head {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.edt-card-head small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.edt-card h3 {
    font-size: 1.24rem;
    line-height: 1.3;
    color: #0a2f57;
    margin-bottom: 18px;
}

.edt-card-actions {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.edt-card-actions .muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.public-pagination {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.public-pagination-info {
    font-weight: 600;
    color: var(--blue-dark);
}

.documents-container {
    max-width: 1200px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: start;
    gap: 22px;
}

.documents-card {
    position: relative;
    overflow: hidden;
    min-height: 230px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(11, 74, 139, 0.14);
    border-radius: 20px;
    box-shadow:
        0 10px 24px rgba(10, 54, 105, 0.08),
        0 2px 6px rgba(10, 54, 105, 0.06);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.documents-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #1459a8 0%, #0b4a8b 100%);
    opacity: 0.85;
}

.documents-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 74, 139, 0.26);
    box-shadow:
        0 18px 36px rgba(10, 54, 105, 0.14),
        0 6px 14px rgba(10, 54, 105, 0.08);
}

.documents-card-head {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.documents-card-head small {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.documents-card h3 {
    font-size: 1.24rem;
    line-height: 1.3;
    color: #0a2f57;
    margin-bottom: 18px;
}

.documents-card-actions {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.btn.disabled {
    pointer-events: none;
    opacity: 0.45;
}

/* =====================================================
   PORTAIL ETUDIANT
===================================================== */
.portal-hero {
    background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-light) 100%);
    color: var(--white);
    padding: 72px 0 58px;
}

.portal-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin-bottom: 10px;
}

.portal-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.9);
}

.portal-section {
    background: var(--bg);
}

.portal-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.portal-entry-card {
    background: var(--white);
    border: 1px solid rgba(11, 74, 139, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.portal-entry-card h2 {
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.portal-entry-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.portal-latest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.portal-latest-card {
    background: var(--white);
    border: 1px solid rgba(11, 74, 139, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}

.portal-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.portal-list li {
    border: 1px solid rgba(11, 74, 139, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.portal-list strong {
    display: block;
    color: var(--blue-dark);
    font-size: 0.95rem;
}

.portal-list span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 900px) {

    .portal-entry-grid,
    .portal-latest-grid {
        grid-template-columns: 1fr;
    }

    .portal-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .edt-filters {
        grid-template-columns: 1fr;
    }

    .edt-filter-actions {
        justify-content: flex-start;
    }

    .edt-grid {
        grid-template-columns: 1fr;
    }
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* =====================================================
       SCROLL REVEAL ANIMATION
    ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
       RESPONSIVE
    ===================================================== */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 36px 0 60px;
    }

    .sidebar {
        position: static;
        top: auto;
    }

    .article-content {
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid.stats-grid-wide {
        grid-template-columns: repeat(2, 1fr);
        min-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .event-detail-grid {
        grid-template-columns: 1fr;
    }

    .event-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 72vh;
        align-items: flex-end;
    }

    .hero-content {
        max-width: 100%;
        margin-left: 0;
        padding: 44px 18px 96px;
    }

    .hero-media {
        inset: 0;
    }

    .hero-media img {
        opacity: 0.9;
        transform: none;
        object-position: center right;
    }

    .hero-media::before {
        background: linear-gradient(90deg,
                rgba(8, 47, 94, 0.95) 0%,
                rgba(8, 47, 94, 0.90) 35%,
                rgba(8, 47, 94, 0.75) 70%,
                rgba(8, 47, 94, 0.70) 100%);
    }

    .archive-card {
        flex-wrap: wrap;
    }

    .archive-actions {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
        align-self: flex-start;
    }

    .archive-actions .btn {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        color: var(--blue-dark);
        font-weight: 700;
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
    }

    .event-hero {
        padding: 56px 0 44px;
    }

    .event-hero-info {
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        padding: 20px;
    }

    .event-hero h1 {
        color: var(--blue-dark);
        font-size: 1.65rem;
    }

    .event-meta-list li {
        color: var(--text);
        align-items: center;
    }

    .event-meta-list li svg {
        color: var(--gold-dark);
    }

    .event-hero-cta .btn-outline {
        color: var(--blue-dark);
        border-color: rgba(11, 74, 139, 0.35);
    }

    .event-detail {
        padding: 42px 0 64px;
    }

    .event-detail-main h2 {
        font-size: 1.4rem;
    }

    .event-content {
        padding: 20px;
        border-radius: var(--radius);
    }

    .event-side-card {
        border-radius: var(--radius);
    }

    .article-layout {
        gap: 18px;
        padding: 28px 0 44px;
    }

    .sidebar-card {
        padding: 18px;
        border-radius: 14px;
    }

    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* stagger indices for mobile nav links */
    .mobile-nav a:nth-child(1) {
        --i: 1;
    }

    .mobile-nav a:nth-child(2) {
        --i: 2;
    }

    .mobile-nav a:nth-child(3) {
        --i: 3;
    }

    .mobile-nav a:nth-child(4) {
        --i: 4;
    }

    .mobile-nav a:nth-child(5) {
        --i: 5;
    }

    .mobile-nav a:nth-child(6) {
        --i: 6;
    }

    .mobile-nav a:nth-child(7) {
        --i: 7;
    }

    .top-bar-info {
        display: none;
    }

    .hero-content {
        padding: 60px 24px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 12;
        height: 220px;
    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 6;
        height: 120px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .events-list,
    .events-archive-grid {
        grid-template-columns: 1fr;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .documents-card {
        min-height: auto;
        width: 100%;
        max-width: 440px;
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stats-grid.stats-grid-wide {
        grid-template-columns: 1fr 1fr;
    }

    .hero-cta {
        flex-direction: column;
    }

    .logo-text .logo-fr {
        font-size: 0.9rem;
    }

    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: span 12;
    }
}

/* =====================================================
   Page Filières / Programmes
   ===================================================== */
.programme-hero {
    background: radial-gradient(circle at top left, rgba(242, 179, 0, 0.25), transparent 55%), var(--indigo);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.programme-hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/fsts_logo.png') no-repeat right 50px top 40px / 160px;
    opacity: 0.06;
    pointer-events: none;
}

.programme-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    margin-bottom: 24px;
    color: white;
}

.programme-hero .lead {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.85);
}

.programme-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.programme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.programme-tags .tag {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.programme-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.programme-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(4px);
}

.programme-panel .panel-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.programme-panel .panel-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
}

.programme-panel strong {
    font-size: 1.1rem;
    color: white;
}

.programme-details {
    background: #f5f7fb;
}

.programme-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.programme-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(7, 23, 44, 0.08);
    border: 1px solid rgba(15, 33, 66, 0.08);
}

.programme-card .card-eyebrow {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.08em;
}

.programme-card h3 {
    margin: 6px 0 16px;
    font-size: 1.25rem;
}

.programme-card .tagged {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0 16px;
}

.programme-card .tagged li {
    background: var(--bg-alt);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: var(--text);
}

.programme-card .card-note {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 28px;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
}

.bullet-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #ffcf5b);
    box-shadow: 0 4px 10px rgba(242, 179, 0, 0.4);
}

.bullet-list.compact li {
    font-size: 0.95rem;
}

.programme-modules .modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.module-card {
    background: white;
    border-radius: 24px;
    padding: 22px;
    border: 1px solid rgba(11, 35, 68, 0.08);
    box-shadow: 0 15px 40px rgba(7, 23, 44, 0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.module-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.module-label {
    font-weight: 600;
    color: var(--blue);
}

.module-focus {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.module-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-list li {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(15, 33, 66, 0.05);
    font-size: 0.95rem;
}

.programme-projects .programme-panel {
    background: var(--indigo);
    color: white;
    border: none;
    box-shadow: 0 30px 60px rgba(10, 24, 60, 0.35);
}

.programme-panel.highlight .panel-label {
    color: rgba(255, 255, 255, 0.7);
}

.programme-panel.highlight .panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.programme-panel.highlight .panel-list li {
    position: relative;
    padding-left: 22px;
}

.programme-panel.highlight .panel-list li:before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.timeline-clean {
    position: relative;
    padding: 10px 0 20px;
    margin-top: 20px;
}

.timeline-clean-track {
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(11, 74, 139, 0), rgba(11, 74, 139, 0.4), rgba(11, 74, 139, 0));
}

.timeline-clean-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
    position: relative;
    animation: timelineFade 0.6s ease calc(var(--index) * 0.08s) both;
}

.timeline-clean-item:not(:last-child) {
    border-bottom: 1px solid rgba(11, 74, 139, 0.08);
}

.timeline-dot {
    position: relative;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.timeline-dot::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 6px rgba(242, 179, 0, 0.15);
    margin-right: 10px;
    border: 2px solid white;
}

.timeline-dot span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-dark);
}

.timeline-card {
    background: white;
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(9, 42, 82, 0.08);
    box-shadow: 0 14px 40px rgba(6, 24, 52, 0.08);
}

.timeline-clean-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.timeline-clean-head h3 {
    margin: 2px 0 0;
    font-size: 1.2rem;
    color: var(--blue-dark);
}

.timeline-pill {
    margin-left: auto;
    background: rgba(11, 74, 139, 0.08);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-dark);
    border: 1px solid rgba(11, 74, 139, 0.15);
}

.module-list.clean li {
    background: rgba(11, 74, 139, 0.06);
}

@keyframes timelineFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

@media (max-width: 1024px) {
    .programme-hero-grid {
        grid-template-columns: 1fr;
    }

    .programme-info-grid {
        grid-template-columns: 1fr;
    }

    .programme-modules .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-clean-track {
        left: 20px;
    }

    .timeline-clean-item {
        grid-template-columns: 80px 1fr;
    }
}

@media (max-width: 768px) {
    .programme-modules .modules-grid {
        grid-template-columns: 1fr;
    }

    .programme-panel {
        padding: 20px;
    }

    .programme-hero {
        padding: 100px 0 60px;
    }

    .timeline-clean-track {
        left: 16px;
    }

    .timeline-clean-item {
        grid-template-columns: 1fr;
        padding-left: 48px;
    }

    .timeline-dot {
        width: auto;
        position: absolute;
        left: 0;
        top: 32px;
    }

    .timeline-card {
        padding: 18px;
    }

    .timeline-pill {
        margin-left: auto;
    }
}

/* =====================================================
   Mot du doyen
   ===================================================== */
.leader-hero {
    background: linear-gradient(135deg, rgba(8, 28, 61, 0.9), rgba(11, 74, 139, 0.85));
    color: white;
    padding: 110px 0 80px;
    position: relative;
}

.leader-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
}

.leader-hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 8px;
}

.leader-hero-text .lead {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.leader-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px;
    padding: 24px;
    position: relative;
}

.leader-quote span {
    font-size: 3rem;
    line-height: 0;
    color: var(--gold);
    position: absolute;
    top: 10px;
    left: 20px;
}

.leader-photo img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(6, 24, 52, 0.4);
    object-fit: cover;
}

.leader-message {
    background: var(--bg);
}

.leader-message-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: start;
}

.leader-message-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(7, 23, 44, 0.08);
    border: 1px solid rgba(12, 44, 92, 0.06);
}

.leader-message-card p {
    margin-bottom: 18px;
    font-size: 1rem;
    color: var(--text);
}

.leader-message-card p:last-child {
    margin-bottom: 0;
}

.leader-side-card {
    background: linear-gradient(180deg, #082F5E, #0B4A8B);
    color: white;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 25px 60px rgba(5, 18, 36, 0.3);
}

.leader-side-card .card-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
}

.leader-points {
    margin: 16px 0 24px;
    padding-left: 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leader-points li {
    position: relative;
    padding-left: 18px;
    font-size: 0.95rem;
}

.leader-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.leader-signature {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
}

.leader-signature strong {
    display: block;
    font-size: 1.05rem;
}

.leader-signature span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
    .leader-message-grid {
        grid-template-columns: 1fr;
    }
}

.doyen-highlight {
    background: white;
    padding-top: 40px;
}

.doyen-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
}

.doyen-photo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(7, 23, 44, 0.18);
}

.doyen-content h2 {
    font-family: 'Playfair Display', serif;
    margin: 12px 0 16px;
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
    color: var(--blue-dark);
}

.doyen-excerpt {
    color: var(--text);
    margin-bottom: 20px;
}

.doyen-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 18px;
}

.doyen-link {
    margin-top: 6px;
    color: var(--blue-dark);
}

.doyen-link svg {
    stroke: currentColor;
}

/* =====================================================
       GENERIC CONTENT PAGES
    ===================================================== */
.page-hero {
    background: linear-gradient(135deg, rgba(8, 31, 61, 0.92), rgba(11, 74, 139, 0.9));
    color: var(--white);
    padding: 80px 0 70px;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.page-hero .hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-bottom: 12px;
    display: inline-block;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.page-hero-lead {
    max-width: 760px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
}

.governance-section {
    background: var(--bg);
    padding: 60px 0 80px;
}

.details__content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 48px;
    line-height: 1.85;
    font-size: 1.02rem;
    color: var(--text);
}

.details__content h2,
.details__content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--blue-dark);
    margin: 32px 0 16px;
}

.details__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.details__content table th,
.details__content table td {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 14px;
    text-align: left;
}

.commission-anchor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.commission-anchor-list a {
    background: #ffffff;
    border: 1px solid rgba(11, 74, 139, 0.2);
    color: var(--blue-dark);
    text-decoration: none;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
}

.commission-anchor-list a:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.commission-table-wrap {
    overflow-x: auto;
}

.commission-table thead th {
    background: #0b4a8b;
    color: #fff;
}

.presentation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.presentation-side {
    display: grid;
    gap: 14px;
}

.presentation-media-block {
    margin: 0 auto 18px;
    max-width: 760px;
}

.presentation-hero-image {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(11, 74, 139, 0.14);
    box-shadow: 0 10px 28px rgba(8, 47, 94, 0.12);
}

.presentation-hero-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 6;
}

.presentation-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.presentation-gallery a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.presentation-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.presentation-gallery a:hover img {
    transform: scale(1.04);
}

.presentation-content {
    padding-top: 28px;
    border: 1px solid rgba(11, 74, 139, 0.1);
    box-shadow: 0 12px 30px rgba(8, 47, 94, 0.08);
}

.presentation-title-wrap {
    border-bottom: 1px solid rgba(11, 74, 139, 0.1);
    margin-bottom: 20px;
    padding: 0 0 16px;
}

.presentation-main-title {
    margin: 6px 0 0;
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    line-height: 1.2;
    color: var(--blue-dark);
}

.presentation-intro {
    color: #314155;
    line-height: 1.85;
}

.presentation-section {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(11, 74, 139, 0.04), rgba(11, 74, 139, 0.02));
    border: 1px solid rgba(11, 74, 139, 0.08);
}

.presentation-eyebrow {
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--gold-dark);
}

.presentation-section-title {
    margin: 0 0 12px;
    font-size: 1.4rem;
    line-height: 1.25;
    color: var(--blue-dark);
}

.presentation-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.presentation-list li {
    color: #1f2f41;
}

.presentation-tags {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.presentation-tags li {
    background: rgba(11, 74, 139, 0.08);
    color: var(--blue-dark);
    border: 1px solid rgba(11, 74, 139, 0.15);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.presentation-rich-content {
    background: #fff;
    border: 1px solid rgba(11, 74, 139, 0.1);
    border-radius: 10px;
    padding: 14px;
}

.presentation-rich-content h1,
.presentation-rich-content h2,
.presentation-rich-content h3,
.presentation-rich-content h4 {
    color: var(--blue-dark);
    margin-top: 14px;
    margin-bottom: 10px;
}

.presentation-rich-content p {
    margin: 0 0 12px;
    color: #223247;
}

.presentation-rich-content ul,
.presentation-rich-content ol {
    margin: 0 0 12px;
    padding-left: 20px;
}

.presentation-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 12px;
}

.presentation-rich-content table th,
.presentation-rich-content table td {
    border: 1px solid rgba(11, 74, 139, 0.15);
    padding: 8px 10px;
}

.commission-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.commission-sidebar {
    position: sticky;
    top: 110px;
}

.commission-sidebar .commission-anchor-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 25px;
}

.commission-sidebar .commission-anchor-list a {
    border-radius: 10px;
}

.commission-content {
    min-width: 0;
}

@media (max-width: 992px) {
    .presentation-layout {
        grid-template-columns: 1fr;
    }

    .presentation-media-block {
        max-width: 100%;
    }

    .presentation-hero-image img {
        aspect-ratio: 16 / 9;
    }

    .commission-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .commission-sidebar {
        position: static;
    }

    .commission-sidebar .commission-anchor-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

}

@media (max-width: 768px) {
    .details__content {
        padding: 32px 20px;
    }
}

/* =====================================================
       DEPARTEMENTS / PROFESSEURS
    ===================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 56px;
    background: radial-gradient(circle at 12% 22%, rgba(242, 179, 0, 0.2), transparent 42%),
        radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.18), transparent 45%),
        linear-gradient(135deg, #0b4a8b 0%, #082f5e 100%);
    color: var(--white);
}

.dept-prof-hero-inner {
    display: grid;
    gap: 30px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 160px;
}

.dept-prof-hero h1 {
    margin-top: 12px;
    margin-bottom: 10px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4.8vw, 3rem);
    line-height: 1.1;
}

.dept-prof-hero p {
    max-width: 780px;
    opacity: 0.92;
}

.dept-prof-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dept-prof-meta span {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 600;
}

.dept-hero-icon {
    width: 144px;
    height: 144px;
    border-radius: 28px;
    font-size: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: var(--shadow-md);
}

.dept-card-link {
    color: inherit;
}

.prof-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.prof-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(11, 74, 139, 0.1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.prof-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.prof-avatar {
    width: 100%;
    height: 205px;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(11, 74, 139, 0.12), rgba(242, 179, 0, 0.2));
}

.prof-body {
    padding: 16px 18px 18px;
}

.prof-name {
    margin-bottom: 4px;
    color: var(--blue-dark);
    font-size: 1.14rem;
    line-height: 1.35;
}

.prof-grade {
    margin-bottom: 10px;
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.prof-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prof-contact a {
    color: var(--text-muted);
    font-weight: 500;
}

.prof-contact a:hover {
    color: var(--blue);
}

.dept-filiere-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dept-filiere-card {
    background: var(--white);
    border: 1px solid rgba(11, 74, 139, 0.12);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 16px;
    color: inherit;
    transition: var(--transition);
}

.dept-filiere-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.dept-filiere-card h3 {
    margin-top: 8px;
    margin-bottom: 6px;
    color: var(--blue-dark);
    font-size: 1.08rem;
    line-height: 1.35;
}

.dept-filiere-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

@media (max-width: 1024px) {
    .dept-prof-hero-inner {
        grid-template-columns: 1fr;
    }

    .dept-hero-icon {
        width: 120px;
        height: 120px;
        font-size: 3.6rem;
    }
}

@media (max-width: 768px) {
    .prof-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
       CLUBS PUBLIC
    ===================================================== */
.clubs-hero,
.club-hero {
    background: linear-gradient(145deg, var(--blue-dark), var(--blue));
    color: var(--white);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

.clubs-title,
.club-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.3vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 14px;
}

.clubs-subtitle,
.club-hero-description {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
}

.clubs-list-section,
.club-activities-section,
.club-related-section {
    padding: 52px 0;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.club-card {
    background: var(--white);
    border: 1px solid var(--bg-alt);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.club-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.club-cover-link {
    display: block;
    height: 170px;
}

.club-cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.club-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(11, 74, 139, 0.18), rgba(242, 179, 0, 0.25));
    color: var(--blue-dark);
    font-size: 1.8rem;
    font-weight: 700;
}

.club-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.club-card-title {
    font-size: 1.1rem;
    color: var(--blue-dark);
}

.club-card-title a:hover {
    color: var(--blue);
}

.club-card-description {
    color: var(--text-muted);
}

.club-card-meta {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.club-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: center;
    gap: 24px;
}

.club-hero-contact,
.club-social-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.club-hero-contact a,
.club-hero-contact span,
.club-social-links a {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

.club-social-links a:hover,
.club-hero-contact a:hover {
    background: rgba(255, 255, 255, 0.28);
}

.club-social-links .club-social-link {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.club-social-links .club-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.club-social-links .club-social-link.facebook {
    background: #1877f2;
}

.club-social-links .club-social-link.instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 70%, #515bd4 100%);
}

.club-social-links .club-social-link.linkedin {
    background: #0a66c2;
}

.club-social-links .club-social-link.youtube {
    background: #ff0000;
}

.club-social-links .club-social-link.tiktok {
    background: #111111;
}

.club-social-links .club-social-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.club-hero-logo-wrap {
    display: flex;
    justify-content: center;
}

.club-hero-logo,
.club-hero-logo-fallback {
    width: 170px;
    height: 170px;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.club-hero-logo {
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.22);
}

.club-hero-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.22);
    font-size: 2rem;
    font-weight: 700;
}

.club-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.club-activity-card {
    background: var(--white);
    border: 1px solid var(--bg-alt);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.club-activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.club-activity-card figcaption {
    padding: 10px 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.club-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
}

.club-related-card {
    background: var(--white);
    border: 1px solid var(--bg-alt);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.club-related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.club-related-card img,
.club-related-fallback {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    margin: 0 auto 10px;
    object-fit: cover;
}

.club-related-fallback {
    background: linear-gradient(135deg, rgba(11, 74, 139, 0.14), rgba(242, 179, 0, 0.22));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 900px) {
    .club-hero-grid {
        grid-template-columns: 1fr;
    }

    .club-hero-logo,
    .club-hero-logo-fallback {
        width: 140px;
        height: 140px;
    }
}