/* Variables CSS */
:root {
    --primary-color: #1151d3;
    --primary-dark: #002954;
    --header-bg: #202f5b;
    --footer-bg: #121026;
    --text-color: #212121;
    --text-light: #999;
    --bg-light: #f4f7fc;
    --border-color: #eee;
    --white: #fff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Work Sans', sans-serif;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    /* Évite le zoom sur focus input iOS si font-size < 16px */
    font-size: 16px;
}

/* Meilleur rendu tactile sur mobile */
a, button {
    -webkit-tap-highlight-color: rgba(17, 81, 211, 0.2);
    touch-action: manipulation;
}

/* Bloquer le scroll quand le menu mobile est ouvert */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== Header professionnel ========== */

/* Barre supérieure (date + contact + réseaux) */
.header-top {
    background: linear-gradient(180deg, #1a2744 0%, #162039 100%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.header-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
}

.header-date i {
    opacity: 0.8;
    font-size: 0.75rem;
}

.header-top-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-top-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
}

.header-top-link:hover {
    color: var(--white);
}

.header-sep {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-social a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

/* En-tête principal */
.main-header {
    background: var(--header-bg);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 4px 12px rgba(0, 0, 0, 0.12);
    overflow-x: hidden;
}

.main-header .container {
    overflow-x: hidden;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    min-width: 0;
}

.header-logo {
    display: block;
    flex-shrink: 0;
}

.header-logo-img {
    display: block;
    height: 56px;
    width: auto;
    max-height: 56px;
    object-fit: contain;
}

/* Navigation */
.header-nav,
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.header-menu,
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem;
}

.header-menu li,
.nav-menu li {
    margin: 0;
}

.header-menu a,
.nav-menu a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.header-menu a i,
.nav-menu a i {
    font-size: 0.95em;
    opacity: 0.9;
    width: 1.1em;
    text-align: center;
}

.header-menu a:hover,
.nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border-left-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.header-menu a:hover i,
.nav-menu a:hover i {
    opacity: 1;
}

.header-menu a.active,
.nav-menu a.active {
    color: var(--white);
    background: var(--primary-color);
    border-left-color: var(--white);
    box-shadow: 0 2px 8px rgba(17, 81, 211, 0.4);
}

.header-menu a.active i,
.nav-menu a.active i {
    opacity: 1;
}

.header-menu a:focus-visible,
.nav-menu a:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Bouton menu mobile (burger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    cursor: pointer;
    border: none;
    background: transparent;
    margin-left: auto;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--white);
    margin: 2.5px 0;
    transition: 0.25s ease;
    display: block;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* Rétrocompatibilité */
.logo { display: block; }
.logo a { display: inline-block; }
.logo-img { max-height: 80px; width: auto; display: block; object-fit: contain; }

/* Hero Section (accueil sans slider) */
.hero-section {
    position: relative;
    color: var(--white);
    padding: 100px 0 120px;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-section .hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Animation Ken Burns (zoom + léger mouvement) sur la photo de fond */
.hero-section-with-bg .hero-bg {
    animation: hero-kenburns 25s ease-in-out infinite alternate;
}

@keyframes hero-kenburns {
    0% {
        transform: scale(1.05) translate(0, 0) rotate(0deg);
    }
    100% {
        transform: scale(1.12) translate(-1.5%, -1%) rotate(0.2deg);
    }
}

/* Overlay sombre pour atténuer la photo */
.hero-section .hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
}

/* Dégradé qui fond la photo dans la couleur du site (bords et bas) */
.hero-section-with-bg .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--header-bg) 0%, transparent 22%, transparent 50%, var(--primary-dark) 100%);
    opacity: 0.88;
    pointer-events: none;
}

/* Texture grain / bruit léger par-dessus */
.hero-texture {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.12;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: hero-texture-pulse 8s ease-in-out infinite;
}

@keyframes hero-texture-pulse {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.14; }
}

/* Reflet / shine subtil qui traverse */
.hero-shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0%, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%, transparent 100%);
    background-size: 200% 100%;
    animation: hero-shine 12s ease-in-out infinite;
}

@keyframes hero-shine {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr 340px;
        gap: 3rem;
        text-align: left;
    }
    .hero-section .hero-inner .hero-actions {
        justify-content: flex-start;
    }
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

.hero-section .hero-inner .hero-content {
    margin: 0;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-lead {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.0625rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.btn-hero-primary:hover {
    background: rgba(255,255,255,0.95);
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

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

.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: var(--white);
}

.btn-hero-light {
    background: var(--white);
    color: var(--primary-color);
    border: none;
}

.btn-hero-light:hover {
    background: rgba(255,255,255,0.95);
    color: var(--primary-dark);
}

/* Encart À la une dans le hero */
.hero-une {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.hero-une-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.hero-une-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.hero-une-title a {
    color: var(--white);
    transition: opacity 0.2s;
}

.hero-une-title a:hover {
    opacity: 0.9;
    color: var(--white);
}

.hero-une-excerpt {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.hero-une-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    transition: gap 0.2s;
}

.hero-une-link:hover {
    color: var(--white);
    gap: 0.75rem;
}

/* Vidéo de présentation dans le hero */
.hero-video-wrap {
    margin-top: 2.5rem;
    text-align: center;
}

.hero-video {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

/* Indicateur de défilement */
.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    animation: hero-scroll-bounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
    color: var(--white);
}

.hero-scroll-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 1.25rem;
}

.hero-scroll--slider {
    bottom: 3.5rem;
}

@keyframes hero-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.btn-view-more {
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ========== Accueil – Accès rapide Secteurs & Programmes ========== */
.accueil-secteurs {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.accueil-secteurs-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.accueil-secteurs-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.accueil-secteurs-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: gap 0.2s ease, color 0.2s ease;
}

.accueil-secteurs-all:hover {
    gap: 0.6rem;
    color: var(--primary-dark);
}

.accueil-secteurs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 576px) {
    .accueil-secteurs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .accueil-secteurs-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
}

.accueil-secteurs-item {
    margin: 0;
}

.accueil-secteurs-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    color: #1a202c;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.accueil-secteurs-link:hover {
    background: rgba(17, 81, 211, 0.08);
    border-color: rgba(17, 81, 211, 0.2);
    color: var(--primary-dark);
}

.accueil-secteurs-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(17, 81, 211, 0.1);
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.accueil-secteurs-link:hover .accueil-secteurs-icon {
    background: rgba(17, 81, 211, 0.18);
}

.accueil-secteurs-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.9375rem;
}

.accueil-secteurs-chevron,
.accueil-secteurs-ext {
    font-size: 0.75rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.accueil-secteurs-link:hover .accueil-secteurs-chevron,
.accueil-secteurs-link:hover .accueil-secteurs-ext {
    opacity: 1;
}

/* ========== Divider hero → À La Une (vague) ========== */
.hero-alaune-divider {
    position: relative;
    color: var(--bg-light);
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--header-bg) 100%);
    margin-top: -1px;
    line-height: 0;
}

.hero-alaune-wave {
    width: 100%;
    height: 80px;
    display: block;
    color: var(--bg-light);
}

.hero-alaune-wave-path {
    transform-origin: center;
    animation: hero-alaune-wave-morph 8s ease-in-out infinite;
}

@keyframes hero-alaune-wave-morph {
    0%, 100% { transform: scaleY(1) scaleX(1); opacity: 1; }
    50% { transform: scaleY(1.02) scaleX(1.01); opacity: 0.98; }
}

/* ========== Section À La Une ========== */
.section.a-la-une {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    position: relative;
    background-color: var(--bg-light);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(17, 81, 211, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(0, 41, 84, 0.05) 0%, transparent 45%),
        radial-gradient(circle 1px at 1px 1px, rgba(17, 81, 211, 0.15) 0%, transparent 0);
    background-size: 100% 100%, 100% 100%, 32px 32px;
    background-position: 0 0, 0 0, 0 0;
}

.a-la-une-header {
    margin-bottom: 2rem;
}

.a-la-une-title {
    position: relative;
    padding-left: 1.25rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, #1a4a9e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: a-la-une-title-shine 6s ease-in-out infinite;
}

.a-la-une-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    -webkit-text-fill-color: unset;
}

.a-la-une-title::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    animation: a-la-une-underline 1.2s ease-out 0.6s forwards;
}

@keyframes a-la-une-title-shine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes a-la-une-underline {
    to { width: 3.5rem; }
}

/* Révélation en cascade au chargement */
.a-la-une-reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: a-la-une-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.a-la-une-reveal-1 { animation-delay: 0.15s; }
.a-la-une-reveal-2 { animation-delay: 0.3s; }
.a-la-une-reveal-3 { animation-delay: 0.45s; }

@keyframes a-la-une-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.a-la-une-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .a-la-une-grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 2rem;
        align-items: stretch;
    }
}

/* Article mis en avant (grande carte) */
.a-la-une-featured {
    min-height: 0;
}

.a-la-une-featured-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1200px;
}

.a-la-une-featured-link:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 24px 48px rgba(17, 81, 211, 0.15), 0 12px 24px rgba(0, 0, 0, 0.08);
    color: inherit;
}

.a-la-une-featured-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #e8ecf4 0%, #dde2eb 100%);
}

/* Ruban diagonal « À la une » sur l'image */
.a-la-une-ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.45rem 1.25rem 0.45rem 1.75rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transform: rotate(12deg);
    transform-origin: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.a-la-une-featured-link:hover .a-la-une-ribbon {
    transform: rotate(12deg) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.a-la-une-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.a-la-une-featured-link:hover .a-la-une-featured-image img {
    transform: scale(1.05);
}

.a-la-une-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(32, 47, 91, 0.35) 0%, transparent 55%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.a-la-une-featured-link:hover .a-la-une-featured-image::after {
    opacity: 1;
}

.a-la-une-featured-content {
    padding: 1.75rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.a-la-une-featured-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.a-la-une-featured-link:has(.a-la-une-featured-image) .a-la-une-featured-badge {
    display: none;
}

.a-la-une-featured-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.a-la-une-featured-meta .article-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-weight: 600;
    font-size: 0.6875rem;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.a-la-une-featured-meta .article-date {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

.a-la-une-featured-title {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    transition: color 0.25s ease;
}

.a-la-une-featured-link:hover .a-la-une-featured-title {
    color: var(--primary-color);
}

.a-la-une-featured-excerpt {
    color: #5a5a72;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.a-la-une-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary-color);
    transition: gap 0.25s ease, color 0.25s ease;
}

.a-la-une-featured-link:hover .a-la-une-featured-cta {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* Featured sans image */
.a-la-une-featured-link:not(:has(.a-la-une-featured-image)) .a-la-une-featured-content {
    padding-top: 2rem;
}

/* Colonne secondaire (2 cartes) */
.a-la-une-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.a-la-une-card {
    flex: 1;
    min-height: 0;
}

.a-la-une-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.a-la-une-card-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    transform: scaleY(0);
    transform-origin: center top;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.a-la-une-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(17, 81, 211, 0.08);
    color: inherit;
}

.a-la-une-card-link:hover::before {
    transform: scaleY(1);
}

.a-la-une-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #e8ecf4 0%, #dde2eb 100%);
}

.a-la-une-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.a-la-une-card-link:hover .a-la-une-card-image img {
    transform: scale(1.06);
}

.a-la-une-card-content {
    padding: 1.25rem 1.25rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.a-la-une-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.a-la-une-card-meta .article-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-weight: 600;
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.a-la-une-card-meta .article-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.a-la-une-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 auto;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.a-la-une-card-link:hover .a-la-une-card-title {
    color: var(--primary-color);
}

.a-la-une-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
    transition: gap 0.2s ease, color 0.25s ease;
}

.a-la-une-card-link:hover .a-la-une-card-cta {
    gap: 0.5rem;
    color: var(--primary-dark);
}

.a-la-une-card--no-image .a-la-une-card-content,
.a-la-une-card:not(:has(.a-la-une-card-image)) .a-la-une-card-content {
    padding-top: 1.5rem;
}

.a-la-une-empty {
    color: var(--text-light);
    padding: 2rem;
}

/* ========== Article Cards (liste / grille) — style éditorial ========== */
.article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(17, 81, 211, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.article-card:hover::before {
    opacity: 1;
}

.article-card .article-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #e8ecf4 0%, #dde2eb 100%);
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-card .article-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(32, 47, 91, 0.4) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.article-card:hover .article-image::after {
    opacity: 1;
}

.article-card .article-content {
    padding: 1.75rem 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem 1rem;
    margin-bottom: 1rem;
}

.article-card .article-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-weight: 600;
    font-size: 0.6875rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.article-card .article-date {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

.article-card .article-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    line-height: 1.32;
    letter-spacing: -0.02em;
}

.article-card .article-title a {
    color: #1a1a2e;
    transition: color 0.25s ease;
}

.article-card .article-title a:hover {
    color: var(--primary-color);
}

.article-card .article-excerpt {
    color: #5a5a72;
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card .btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: auto;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: gap 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.article-card .btn-read-more:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
    border-bottom-color: var(--primary-dark);
}

.article-card .btn-read-more::after {
    content: '→';
    font-size: 1rem;
}

/* Carte sans image */
.article-card.article-card--no-image .article-content,
.article-card:not(:has(.article-image)) .article-content {
    padding-top: 2rem;
}

/* ========== Page Actualités (redesign) ========== */
.actualites-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.actualites-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.actualites-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.actualites-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.actualites-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.actualites-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.actualites-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.actualites-breadcrumb a:hover {
    color: var(--white);
}

.actualites-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.actualites-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.actualites-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.actualites-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

/* Barre de recherche et filtres */
.actualites-search-filters {
    margin-bottom: 2.5rem;
}

.actualites-search-form {
    margin-bottom: 1.5rem;
}

.actualites-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.actualites-search-wrapper:focus-within {
    box-shadow: 0 4px 20px rgba(17, 81, 211, 0.12);
    border-color: rgba(17, 81, 211, 0.25);
}

.actualites-search-icon {
    position: absolute;
    left: 1.25rem;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.actualites-search-input {
    flex: 1;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #1a202c;
    outline: none;
    font-family: var(--font-body);
}

.actualites-search-input::placeholder {
    color: #9ca3af;
}

.actualites-search-btn {
    padding: 1rem 1.5rem;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    transition: background 0.25s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.actualites-search-btn:hover {
    background: var(--primary-dark);
}

.actualites-filters {
    margin-bottom: 1rem;
}

.actualites-filters-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.actualites-filters-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1a202c;
}

.actualites-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.actualites-filter-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5a6578;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.actualites-filter-btn:hover {
    color: var(--primary-color);
    background: rgba(17, 81, 211, 0.08);
    border-color: rgba(17, 81, 211, 0.15);
}

.actualites-filter-btn.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(17, 81, 211, 0.25);
}

/* Filtres actifs (tags) */
.actualites-filters-active {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(17, 81, 211, 0.06);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.actualites-filters-active-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-dark);
    margin-right: 0.75rem;
}

.actualites-filters-active-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.actualites-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--white);
    border-radius: 8px;
    font-size: 0.875rem;
    color: #1a202c;
    border: 1px solid rgba(17, 81, 211, 0.15);
}

.actualites-filter-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(17, 81, 211, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 0.75rem;
}

.actualites-filter-tag-remove:hover {
    background: var(--primary-color);
    color: var(--white);
}

.actualites-filter-clear-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
    margin-left: auto;
}

.actualites-filter-clear-all:hover {
    color: var(--primary-dark);
}

.actualites-results-count {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(17, 81, 211, 0.05);
    border-radius: 8px;
    text-align: center;
}

.actualites-results-count p {
    margin: 0;
    font-size: 0.9375rem;
    color: #5a6578;
    font-weight: 500;
}

/* Widget de tri */
.actualites-sort-widget {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.actualites-sort-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.25rem;
}

.actualites-sort-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 180px;
}

.actualites-sort-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.actualites-sort-label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.actualites-sort-select {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: #1a202c;
    background: var(--bg-light);
    border: 1px solid rgba(17, 81, 211, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231151d3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.actualites-sort-select:hover {
    border-color: rgba(17, 81, 211, 0.3);
    background: var(--white);
}

.actualites-sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(17, 81, 211, 0.1);
}

.actualites-sort-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.actualites-sort-reset:hover {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
    color: #c82333;
}

@media (max-width: 767px) {
    .actualites-sort-form {
        flex-direction: column;
    }
    
    .actualites-sort-group {
        width: 100%;
    }
    
    .actualites-sort-reset {
        width: 100%;
        justify-content: center;
    }
}

.actualites-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .actualites-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 992px) {
    .actualites-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.actualites-card {
    margin: 0;
}

.actualites-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.actualites-empty-icon {
    font-size: 3.5rem;
    color: rgba(17, 81, 211, 0.2);
    margin-bottom: 1rem;
}

.actualites-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem;
}

.actualites-empty-text {
    font-size: 1rem;
    color: #5a6578;
    margin: 0 0 1.5rem;
}

/* Programme Cards */
.programme-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.programme-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.programme-content {
    padding: 20px;
}

.programme-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 10px;
}

.programme-schedule {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.programme-schedule i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* ========== Section Prochains événements ========== */
.section.evenements-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: var(--white);
    position: relative;
}

.evenements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.evenements-header {
    margin-bottom: 2rem;
}

.evenements-title {
    position: relative;
    padding-left: 1.25rem;
}

.evenements-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.evenements-reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: evenements-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.evenements-reveal-1 { animation-delay: 0.1s; }
.evenements-reveal-2 { animation-delay: 0.25s; }
.evenements-reveal-3 { animation-delay: 0.4s; }

@keyframes evenements-reveal {
    to { opacity: 1; transform: translateY(0); }
}

.evenements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .evenements-grid {
        grid-template-columns: 1.35fr 1fr;
        gap: 2rem;
        align-items: stretch;
    }
}

.evenements-section--single .evenements-grid {
    grid-template-columns: 1fr;
}

.evenements-section--single .evenement-featured-link {
    max-width: 720px;
    margin: 0 auto;
}

/* Carte événement mise en avant */
.evenement-featured-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.evenement-featured-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(17, 81, 211, 0.1);
    border-color: rgba(17, 81, 211, 0.2);
    color: inherit;
}

.evenement-featured-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #e8ecf4 0%, #dde2eb 100%);
}

.evenement-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.evenement-featured-link:hover .evenement-featured-image img {
    transform: scale(1.05);
}

.evenement-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(32, 47, 91, 0.3) 0%, transparent 55%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.evenement-featured-link:hover .evenement-featured-image::after {
    opacity: 1;
}

.evenement-date-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 56px;
    padding: 0.5rem;
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.evenement-date-day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
}

.evenement-date-month {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.evenement-date-badge--inline {
    position: static;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.75rem;
}

.evenement-date-badge--inline .evenement-date-day {
    font-size: 1.125rem;
    display: block;
}

.evenement-date-badge--inline .evenement-date-month {
    font-size: 0.625rem;
}

.evenement-ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transform: rotate(-8deg);
    z-index: 2;
    transition: transform 0.3s ease;
}

.evenement-featured-link:hover .evenement-ribbon {
    transform: rotate(-8deg) scale(1.05);
}

.evenement-featured-content {
    padding: 1.75rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.evenement-featured-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.75rem;
    color: #1a1a2e;
    transition: color 0.25s ease;
}

.evenement-featured-link:hover .evenement-featured-title {
    color: var(--primary-color);
}

.evenement-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0 0 1rem;
}

.evenement-meta i {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

.evenement-meta-sep {
    opacity: 0.6;
}

.evenement-featured-excerpt {
    font-size: 0.9375rem;
    color: #5a5a72;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evenement-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary-color);
    transition: gap 0.25s ease, color 0.25s ease;
}

.evenement-featured-link:hover .evenement-featured-cta {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* Colonne secondaire */
.evenements-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.evenement-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.evenement-card-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    transform: scaleY(0);
    transform-origin: center top;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

.evenement-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(17, 81, 211, 0.08);
    border-color: rgba(17, 81, 211, 0.15);
    color: inherit;
}

.evenement-card-link:hover::before {
    transform: scaleY(1);
}

.evenement-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #e8ecf4 0%, #dde2eb 100%);
}

.evenement-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evenement-card-link:hover .evenement-card-image img {
    transform: scale(1.06);
}

.evenement-card-date {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.35rem 0.6rem;
    background: var(--white);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.evenement-card-date span {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-left: 0.2rem;
}

.evenement-card-date--inline {
    position: static;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.evenement-card-content {
    padding: 1.25rem 1.25rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.evenement-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 auto;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.evenement-card-link:hover .evenement-card-title {
    color: var(--primary-color);
}

.evenement-card-lieu {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0.5rem 0 0;
}

.evenement-card-lieu i {
    margin-right: 0.35rem;
    color: var(--primary-color);
}

.evenement-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 0.5rem;
    transition: gap 0.2s ease, color 0.25s ease;
}

.evenement-card-link:hover .evenement-card-cta {
    gap: 0.5rem;
    color: var(--primary-dark);
}

.evenements-empty {
    color: var(--text-light);
    padding: 2rem;
}

/* ========== Section Numéros Congo-Afrique (accueil) ========== */
.section.congo-afrique-numeros-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: var(--white);
    position: relative;
}

.congo-afrique-numeros-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.congo-afrique-numeros-header {
    margin-bottom: 2rem;
}

.congo-afrique-numeros-title {
    position: relative;
    padding-left: 1.25rem;
}

.congo-afrique-numeros-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.congo-afrique-numeros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.congo-afrique-numeros-section--single .congo-afrique-numeros-grid {
    grid-template-columns: 1fr;
}

.congo-afrique-numeros-section--single .congo-afrique-numero-featured-link {
    max-width: 720px;
    margin: 0 auto;
}

/* Carte numéro mise en avant */
.congo-afrique-numero-featured-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(145deg, #f8f9fc 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    padding: 2rem;
}

.congo-afrique-numero-featured-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(17, 81, 211, 0.1);
    border-color: rgba(17, 81, 211, 0.2);
    color: inherit;
}

.congo-afrique-numero-featured-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.congo-afrique-numero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 1.25rem;
}

.congo-afrique-numero-badge i {
    font-size: 0.875rem;
}

.congo-afrique-numero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.congo-afrique-numero-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.congo-afrique-numero-date i {
    color: var(--primary-color);
}

.congo-afrique-numero-vol {
    color: var(--text-light);
    font-weight: 500;
}

.congo-afrique-numero-featured-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 1rem;
    color: #1a1a2e;
    transition: color 0.25s ease;
}

.congo-afrique-numero-featured-link:hover .congo-afrique-numero-featured-title {
    color: var(--primary-color);
}

.congo-afrique-numero-articles {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.congo-afrique-numero-articles i {
    color: var(--primary-color);
}

.congo-afrique-numero-featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
    transition: gap 0.2s ease, color 0.25s ease;
}

.congo-afrique-numero-featured-link:hover .congo-afrique-numero-featured-cta {
    gap: 0.75rem;
    color: var(--primary-dark);
}

.congo-afrique-numeros-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Carte numéro secondaire */
.congo-afrique-numero-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    padding: 1.5rem;
}

.congo-afrique-numero-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(17, 81, 211, 0.08);
    border-color: rgba(17, 81, 211, 0.15);
    color: inherit;
}

.congo-afrique-numero-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.congo-afrique-numero-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.congo-afrique-numero-card-date {
    font-weight: 600;
    color: var(--primary-color);
}

.congo-afrique-numero-card-vol {
    color: var(--text-light);
    font-weight: 500;
}

.congo-afrique-numero-card-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.75rem;
    color: #1a1a2e;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.congo-afrique-numero-card-link:hover .congo-afrique-numero-card-title {
    color: var(--primary-color);
}

.congo-afrique-numero-card-articles {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0 0 0.75rem;
}

.congo-afrique-numero-card-articles i {
    margin-right: 0.35rem;
    color: var(--primary-color);
}

.congo-afrique-numero-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
    transition: gap 0.2s ease, color 0.25s ease;
}

.congo-afrique-numero-card-link:hover .congo-afrique-numero-card-cta {
    gap: 0.5rem;
    color: var(--primary-dark);
}

.congo-afrique-numeros-empty {
    color: var(--text-light);
    padding: 2rem;
}

@media (max-width: 768px) {
    .congo-afrique-numeros-grid {
        grid-template-columns: 1fr;
    }
    
    .congo-afrique-numero-featured-link {
        padding: 1.5rem;
    }
    
    .congo-afrique-numero-featured-title {
        font-size: 1.25rem;
    }
}

/* ========== Page Événements (liste complète) ========== */
.evenements-page-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.evenements-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.evenements-page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.evenements-page-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.evenements-page-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.evenements-page-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.evenements-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.evenements-page-breadcrumb a:hover {
    color: var(--white);
}

.evenements-page-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.evenements-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.evenements-page-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.evenements-page-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

/* Onglets Prochains / Passés */
.evenements-page-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.evenements-page-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #5a6578;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
}

.evenements-page-tab i {
    font-size: 1rem;
    opacity: 0.8;
}

.evenements-page-tab:hover {
    color: var(--primary-color);
    background: rgba(17, 81, 211, 0.05);
}

.evenements-page-tab.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 2px 8px rgba(17, 81, 211, 0.25);
}

.evenements-page-tab.active i {
    opacity: 1;
}

.evenements-page-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-left: 0.25rem;
}

.evenements-page-tab.active .evenements-page-tab-badge {
    background: rgba(255, 255, 255, 0.3);
}

/* Grille événements */
.evenements-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .evenements-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 992px) {
    .evenements-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.evenement-card {
    margin: 0;
}

.evenement-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.evenement-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(17, 81, 211, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(17, 81, 211, 0.2);
    color: inherit;
}

.evenement-card-content {
    padding: 1.5rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.evenement-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #1a202c;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.evenement-card-link:hover .evenement-card-title {
    color: var(--primary-color);
}

.evenement-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #5a6578;
}

.evenement-card-date-full,
.evenement-card-lieu {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.evenement-card-date-full i,
.evenement-card-lieu i {
    color: var(--primary-color);
    font-size: 0.8125rem;
}

.evenement-card-desc {
    font-size: 0.9375rem;
    color: #5a6578;
    line-height: 1.55;
    margin: 0 0 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.evenement-card-actions {
    margin-bottom: 0.75rem;
}

.evenement-card-inscription {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evenement-card-inscription:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 81, 211, 0.3);
    color: var(--white);
}

.evenement-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: gap 0.25s ease, color 0.25s ease;
    margin-top: auto;
}

.evenement-card-link:hover .evenement-card-cta {
    gap: 0.7rem;
    color: var(--primary-dark);
}

/* État vide */
.evenements-page-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.evenements-page-empty-icon {
    font-size: 3.5rem;
    color: rgba(17, 81, 211, 0.2);
    margin-bottom: 1rem;
}

.evenements-page-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem;
}

.evenements-page-empty-text {
    font-size: 1rem;
    color: #5a6578;
    margin: 0 0 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* Footer page */
.evenements-page-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.evenements-page-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.evenements-page-link:hover {
    gap: 0.7rem;
    color: var(--primary-dark);
}

.evenements-page-link i {
    font-size: 1.125rem;
}

/* ========== Page Salles & Espaces ========== */
.salles-page-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.salles-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.salles-page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.salles-page-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.salles-page-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.salles-page-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.salles-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.salles-page-breadcrumb a:hover {
    color: var(--white);
}

.salles-page-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.salles-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.salles-page-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.salles-page-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

.salles-page-intro {
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.salles-page-intro-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

/* Grille des salles */
.salles-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 576px) {
    .salles-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 992px) {
    .salles-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.salle-card {
    margin: 0;
}

.salle-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.salle-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(17, 81, 211, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(17, 81, 211, 0.2);
    color: inherit;
}

.salle-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(150deg, #e8ecf4 0%, #dde2eb 100%);
}

.salle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.salle-card-link:hover .salle-card-image img {
    transform: scale(1.05);
}

.salle-card-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #eef2f8 0%, #e2e8f0 100%);
    color: rgba(17, 81, 211, 0.35);
    font-size: 3rem;
    transition: color 0.3s ease, background 0.3s ease;
}

.salle-card-link:hover .salle-card-placeholder {
    color: rgba(17, 81, 211, 0.5);
    background: linear-gradient(150deg, #e8ecf4 0%, #dde2eb 100%);
}

.salle-card-body {
    padding: 1.5rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.salle-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #1a202c;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.salle-card-link:hover .salle-card-title {
    color: var(--primary-color);
}

.salle-card-info {
    margin-bottom: 0.75rem;
}

.salle-card-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #5a6578;
    font-weight: 500;
}

.salle-card-info-item i {
    color: var(--primary-color);
    font-size: 0.8125rem;
}

.salle-card-desc {
    font-size: 0.9375rem;
    color: #5a6578;
    line-height: 1.55;
    margin: 0 0 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.salle-card-tarif {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    background: rgba(17, 81, 211, 0.08);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.salle-card-tarif i {
    color: var(--primary-color);
    font-size: 0.8125rem;
}

.salle-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: gap 0.25s ease, color 0.25s ease;
    margin-top: auto;
}

.salle-card-link:hover .salle-card-cta {
    gap: 0.7rem;
    color: var(--primary-dark);
}

/* État vide */
.salles-page-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    margin-bottom: 3.5rem;
}

.salles-page-empty-icon {
    font-size: 3.5rem;
    color: rgba(17, 81, 211, 0.2);
    margin-bottom: 1rem;
}

.salles-page-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem;
}

.salles-page-empty-text {
    font-size: 1rem;
    color: #5a6578;
    margin: 0 0 0.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.salles-page-empty-note {
    font-size: 0.9375rem;
    color: #9ca3af;
    margin: 0.5rem 0 0;
    font-style: italic;
}

/* Sections Tarifs & Réservation */
.salles-page-info {
    margin-top: 3rem;
}

.salles-page-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .salles-page-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.salles-page-info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 2rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
    text-align: center;
}

.salles-page-info-card--highlight {
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.05) 0%, rgba(17, 81, 211, 0.02) 100%);
    border-color: rgba(17, 81, 211, 0.15);
}

.salles-page-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(17, 81, 211, 0.12) 0%, rgba(17, 81, 211, 0.06) 100%);
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.salles-page-info-card--highlight .salles-page-info-icon {
    background: linear-gradient(145deg, rgba(17, 81, 211, 0.18) 0%, rgba(17, 81, 211, 0.1) 100%);
}

.salles-page-info-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem;
}

.salles-page-info-text {
    font-size: 0.9375rem;
    color: #5a6578;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.salles-page-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.salles-page-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 81, 211, 0.3);
    color: var(--white);
}

.salles-page-info-contact {
    margin-bottom: 1.25rem;
}

.salles-page-info-contact p {
    margin: 0.5rem 0;
    font-size: 0.9375rem;
    color: #5a6578;
    line-height: 1.6;
}

.salles-page-info-contact strong {
    color: #1a202c;
    font-weight: 600;
}

.salles-page-info-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.25s ease;
}

.salles-page-info-contact a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Vidéo YouTube */
.salles-page-video {
    margin-bottom: 3rem;
}

.salles-page-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #000;
}

.salles-page-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Horaires */
.salles-page-horaires {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.08) 0%, rgba(17, 81, 211, 0.04) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
}

.salles-page-horaires-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.salles-page-horaires-title i {
    color: var(--primary-color);
}

.salles-page-horaires p {
    margin: 0;
    color: #1a202c;
    line-height: 1.6;
}

.salles-page-horaires strong {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Sections */
.salles-page-section {
    margin-bottom: 4rem;
}

.salles-page-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.salles-page-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Détails des salles */
.salle-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.1);
}

@media (min-width: 992px) {
    .salle-detail {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .salle-detail--reverse {
        direction: rtl;
    }
    
    .salle-detail--reverse > * {
        direction: ltr;
    }
}

.salle-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.salle-detail-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 576px) {
    .salle-detail-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.salle-detail-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.3;
}

.salle-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.12) 0%, rgba(17, 81, 211, 0.06) 100%);
    border-radius: 8px;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.salle-detail-badge i {
    color: var(--primary-color);
}

.salle-detail-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1a202c;
    margin: 0;
}

.salle-detail-equipements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.salle-detail-equipement {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.875rem;
    color: #5a6578;
    font-weight: 500;
}

.salle-detail-equipement i {
    color: var(--primary-color);
    font-size: 0.9375rem;
}

.salle-detail-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

@media (min-width: 992px) {
    .salle-detail-image {
        min-height: 300px;
    }
    
    .salle-detail-image img {
        height: 100%;
        object-fit: cover;
    }
}

/* Espaces extérieurs */
.salles-page-exterieurs {
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.05) 0%, rgba(17, 81, 211, 0.02) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid rgba(17, 81, 211, 0.1);
}

.salles-page-exterieur-content {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}

.salles-page-exterieur-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.salles-page-exterieur-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.salles-page-exterieurs p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1a202c;
    margin: 0 0 2rem;
}

.salles-page-exterieur-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.salles-page-exterieur-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #1a202c;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.1);
}

.salles-page-exterieur-feature i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

@media (max-width: 767px) {
    .salles-page-video-wrapper {
        border-radius: 12px;
    }
    
    .salle-detail {
        padding: 1.5rem;
    }
    
    .salle-detail-title {
        font-size: 1.5rem;
    }
    
    .salles-page-exterieurs {
        padding: 1.5rem;
    }
    
    .salles-page-exterieur-features {
        flex-direction: column;
    }
    
    .salles-page-exterieur-feature {
        width: 100%;
        justify-content: center;
    }
}

/* ========== Page Médiathèque ========== */
.mediatheque-page-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.mediatheque-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.mediatheque-page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.mediatheque-page-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.mediatheque-page-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mediatheque-page-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.mediatheque-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.mediatheque-page-breadcrumb a:hover {
    color: var(--white);
}

.mediatheque-page-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.mediatheque-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mediatheque-page-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.mediatheque-page-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

/* Filtres par type */
.mediatheque-page-filters {
    margin-bottom: 2.5rem;
}

.mediatheque-page-filters-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.mediatheque-page-filters-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1a202c;
}

.mediatheque-page-filters-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.mediatheque-page-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5a6578;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.mediatheque-page-filter-btn i {
    font-size: 0.875rem;
    opacity: 0.8;
}

.mediatheque-page-filter-btn:hover {
    color: var(--primary-color);
    background: rgba(17, 81, 211, 0.08);
    border-color: rgba(17, 81, 211, 0.15);
}

.mediatheque-page-filter-btn.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(17, 81, 211, 0.25);
}

.mediatheque-page-filter-btn.active i {
    opacity: 1;
}

/* Grille galerie */
.mediatheque-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 576px) {
    .mediatheque-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .mediatheque-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.mediatheque-item {
    margin: 0;
}

.mediatheque-item-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mediatheque-item-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(17, 81, 211, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(17, 81, 211, 0.2);
    color: inherit;
}

.mediatheque-item-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(150deg, #e8ecf4 0%, #dde2eb 100%);
}

.mediatheque-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mediatheque-item-link:hover .mediatheque-item-image img {
    transform: scale(1.08);
}

.mediatheque-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem;
}

.mediatheque-item-link:hover .mediatheque-item-overlay {
    opacity: 1;
}

.mediatheque-item-type {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 1rem;
}

.mediatheque-item-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.875rem;
}

.mediatheque-item-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #eef2f8 0%, #e2e8f0 100%);
    color: rgba(17, 81, 211, 0.35);
    font-size: 2.5rem;
    transition: color 0.3s ease, background 0.3s ease;
}

.mediatheque-item-link:hover .mediatheque-item-placeholder {
    color: rgba(17, 81, 211, 0.5);
    background: linear-gradient(150deg, #e8ecf4 0%, #dde2eb 100%);
}

.mediatheque-item-content {
    padding: 1rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mediatheque-item-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #1a202c;
    line-height: 1.35;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mediatheque-item-link:hover .mediatheque-item-title {
    color: var(--primary-color);
}

.mediatheque-item-desc {
    font-size: 0.8125rem;
    color: #5a6578;
    line-height: 1.5;
    margin: 0 0 0.5rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mediatheque-item-date {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: auto;
}

.mediatheque-item-date i {
    font-size: 0.6875rem;
}

/* État vide */
.mediatheque-page-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.mediatheque-page-empty-icon {
    font-size: 3.5rem;
    color: rgba(17, 81, 211, 0.2);
    margin-bottom: 1rem;
}

.mediatheque-page-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem;
}

.mediatheque-page-empty-text {
    font-size: 1rem;
    color: #5a6578;
    margin: 0 0 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

/* ========== Page Ressources ========== */
.ressources-page-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.ressources-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.ressources-page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.ressources-page-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.ressources-page-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ressources-page-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.ressources-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.ressources-page-breadcrumb a:hover {
    color: var(--white);
}

.ressources-page-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.ressources-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.ressources-page-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.ressources-page-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

/* Filtres */
.ressources-page-filters {
    margin-bottom: 2.5rem;
}

.ressources-page-filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.ressources-page-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 180px;
}

.ressources-page-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ressources-page-filter-label i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.ressources-page-filter-select {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: #1a202c;
    background: var(--bg-light);
    border: 1px solid rgba(17, 81, 211, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231151d3' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

.ressources-page-filter-select:hover {
    border-color: rgba(17, 81, 211, 0.3);
    background: var(--white);
}

.ressources-page-filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(17, 81, 211, 0.1);
}

.ressources-page-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ressources-page-filter-reset:hover {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
    color: #c82333;
}

/* Sections */
.ressources-page-section {
    margin-bottom: 3.5rem;
}

.ressources-page-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(17, 81, 211, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ressources-page-section-title i {
    color: var(--primary-color);
    font-size: 1.375rem;
}

/* Grille ressources */
.ressources-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .ressources-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 992px) {
    .ressources-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.ressource-card {
    margin: 0;
}

.ressource-card-body {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ressource-card:hover .ressource-card-body {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(17, 81, 211, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(17, 81, 211, 0.2);
}

.ressource-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.ressource-card-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(17, 81, 211, 0.1);
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ressource-card-annee {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #5a6578;
    background: var(--bg-light);
    border-radius: 6px;
}

.ressource-card-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1rem;
    line-height: 1.4;
    flex-grow: 1;
}

.ressource-card-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: auto;
}

.ressource-card-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    color: var(--white);
}

.ressource-card-download i:first-child {
    font-size: 1rem;
}

.ressource-card-no-file {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: auto;
}

/* État vide */
.ressources-page-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.ressources-page-empty-icon {
    font-size: 3rem;
    color: rgba(17, 81, 211, 0.2);
    margin-bottom: 1rem;
}

.ressources-page-empty-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.5rem;
}

.ressources-page-empty-text {
    font-size: 0.9375rem;
    color: #5a6578;
    margin: 0 0 1.5rem;
}

/* Sections à venir */
.ressources-page-section--coming,
.ressources-page-section--faq {
    padding: 2rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.ressources-page-coming {
    text-align: center;
    color: #5a6578;
    padding: 1rem 0;
}

.ressources-page-faq {
    text-align: center;
    padding: 1rem 0;
}

.ressources-page-faq-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 1rem;
}

.ressources-page-faq-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 81, 211, 0.3);
    color: var(--white);
}

@media (max-width: 767px) {
    .ressources-page-filters-form {
        flex-direction: column;
    }
    
    .ressources-page-filter-group {
        width: 100%;
    }
    
    .ressources-page-filter-reset {
        width: 100%;
        justify-content: center;
    }
}

/* ========== Page Contact ========== */
.contact-page-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.contact-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.contact-page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.contact-page-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.contact-page-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-page-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.contact-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.contact-page-breadcrumb a:hover {
    color: var(--white);
}

.contact-page-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.contact-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.contact-page-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.contact-page-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .contact-page-layout {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }
}

/* Formulaire */
.contact-page-form-section {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 576px) {
    .contact-page-form-section {
        padding: 2.5rem 2.25rem;
    }
}

.contact-page-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.5rem;
}

.contact-page-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.contact-page-message--success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #155724;
}

.contact-page-message--success i {
    color: #28a745;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.contact-page-message--error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.contact-page-message--error i {
    color: #dc3545;
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.contact-page-message strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-page-message p {
    margin: 0;
    font-size: 0.9375rem;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-page-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-page-form-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a202c;
}

.contact-page-form-required {
    color: #dc3545;
}

.contact-page-form-input,
.contact-page-form-textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: #1a202c;
    background: var(--bg-light);
    border: 1px solid rgba(17, 81, 211, 0.15);
    border-radius: 10px;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.contact-page-form-input:focus,
.contact-page-form-textarea:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(17, 81, 211, 0.1);
}

.contact-page-form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.contact-page-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.contact-page-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 81, 211, 0.3);
}

.contact-page-form-submit:active {
    transform: translateY(0);
}

/* Section informations */
.contact-page-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .contact-page-info-section {
        position: sticky;
        top: 2rem;
    }
}

.contact-page-info-card {
    background: var(--white);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.contact-page-info-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(17, 81, 211, 0.15);
}

.contact-page-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-page-info-item:last-child {
    margin-bottom: 0;
}

.contact-page-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(17, 81, 211, 0.12) 0%, rgba(17, 81, 211, 0.06) 100%);
    color: var(--primary-color);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.contact-page-info-content {
    flex: 1;
}

.contact-page-info-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-page-info-content p {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    color: #5a6578;
    line-height: 1.6;
}

.contact-page-info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
}

.contact-page-info-content a:hover {
    color: var(--primary-dark);
}

.contact-page-info-bp {
    font-size: 0.875rem;
    color: #9ca3af;
    font-style: italic;
}

.contact-page-info-card--social {
    text-align: center;
}

.contact-page-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-page-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 1.125rem;
}

.contact-page-social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 81, 211, 0.25);
}

/* Section Soutenez le CEPAS */
.contact-page-support {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(17, 81, 211, 0.1);
}

.contact-page-support-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-page-support-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem;
}

.contact-page-support-lead {
    font-size: 1.125rem;
    color: #5a6578;
    margin: 0;
    line-height: 1.6;
}

.contact-page-support-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid rgba(17, 81, 211, 0.1);
    padding-bottom: 0;
}

.contact-page-support-tab {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #5a6578;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: -2px;
    font-family: var(--font-body);
}

.contact-page-support-tab:hover {
    color: var(--primary-color);
    background: rgba(17, 81, 211, 0.05);
}

.contact-page-support-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(17, 81, 211, 0.08);
}

.contact-page-support-tab i {
    font-size: 1.125rem;
}

.contact-page-support-content {
    position: relative;
}

.contact-page-support-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.contact-page-support-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-page-support-panel-content {
    max-width: 50rem;
    margin: 0 auto;
}

.contact-page-support-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1a202c;
    margin-bottom: 2rem;
}

.contact-page-support-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-page-support-methods {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-page-support-method {
    background: var(--white);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.1);
}

.contact-page-support-method-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-page-support-method-title i {
    color: var(--primary-color);
    font-size: 1.375rem;
}

.contact-page-support-method p {
    margin: 0 0 1rem;
    color: #5a6578;
    line-height: 1.6;
}

.contact-page-support-box {
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.08) 0%, rgba(17, 81, 211, 0.04) 100%);
    border: 1px solid rgba(17, 81, 211, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.contact-page-support-box strong {
    display: block;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-page-support-bank-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(17, 81, 211, 0.1);
}

.contact-page-support-bank-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-page-support-bank-item strong {
    display: block;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-page-support-bank-item span {
    display: block;
    color: #1a202c;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-page-support-bank-code {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(17, 81, 211, 0.1);
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    display: inline-block;
    margin-top: 0.25rem;
}

.contact-page-support-thanks {
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.1) 0%, rgba(17, 81, 211, 0.05) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-page-support-thanks i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.125rem;
}

.contact-page-support-thanks p {
    margin: 0;
    color: #1a202c;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.contact-page-support-benefits {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.1);
    margin-bottom: 2rem;
}

.contact-page-support-benefits-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1.5rem;
}

.contact-page-support-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-page-support-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #1a202c;
    line-height: 1.6;
}

.contact-page-support-benefits-list li i {
    color: #28a745;
    font-size: 1.25rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-page-support-benefits-list li span {
    flex: 1;
}

.contact-page-support-download {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.05) 0%, rgba(17, 81, 211, 0.02) 100%);
    border-radius: 12px;
    border: 2px dashed rgba(17, 81, 211, 0.2);
}

.contact-page-support-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 1rem;
}

.contact-page-support-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 81, 211, 0.3);
    color: var(--white);
}

.contact-page-support-download-btn i:first-child {
    font-size: 1.25rem;
}

.contact-page-support-download-note {
    margin: 0;
    font-size: 0.875rem;
    color: #5a6578;
    font-style: italic;
}

@media (max-width: 767px) {
    .contact-page-support-tabs {
        flex-direction: column;
    }
    
    .contact-page-support-tab {
        width: 100%;
        justify-content: center;
    }
    
    .contact-page-support-methods {
        grid-template-columns: 1fr;
    }
}

/* ========== Page Prestations ========== */
.prestations-page-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.prestations-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.prestations-page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.prestations-page-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.prestations-page-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.prestations-page-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.prestations-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.prestations-page-breadcrumb a:hover {
    color: var(--white);
}

.prestations-page-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.prestations-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.prestations-page-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.prestations-page-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

.prestations-page-intro {
    max-width: 50rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.prestations-page-intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1a202c;
    margin: 0;
}

.prestations-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .prestations-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.prestation-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.prestation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.prestation-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.15) 0%, rgba(17, 81, 211, 0.08) 100%);
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.prestation-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1rem;
    line-height: 1.3;
}

.prestation-card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #5a6578;
    margin: 0 0 1rem;
    flex: 1;
}

.prestation-card-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 81, 211, 0.1);
}

.prestation-card-topic {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.1) 0%, rgba(17, 81, 211, 0.05) 100%);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-dark);
    border: 1px solid rgba(17, 81, 211, 0.15);
}

.prestations-page-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 8px 32px rgba(17, 81, 211, 0.25);
}

.prestations-page-cta-content {
    max-width: 35rem;
    margin: 0 auto;
}

.prestations-page-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--white);
}

.prestations-page-cta-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0 0 2rem;
    opacity: 0.95;
}

.prestations-page-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prestations-page-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--primary-color);
}

.prestations-page-cta-btn i {
    font-size: 1.125rem;
}

@media (max-width: 767px) {
    .prestations-page-grid {
        grid-template-columns: 1fr;
    }
    
    .prestation-card {
        padding: 1.5rem;
    }
    
    .prestation-card-title {
        font-size: 1.25rem;
    }
    
    .prestations-page-cta {
        padding: 2rem 1.5rem;
    }
}

/* ========== Page Basic Need Basket ========== */
.bnb-page-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.bnb-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.bnb-page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.bnb-page-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.bnb-page-hero-container {
    position: relative;
    z-index: 1;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.bnb-page-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.bnb-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.bnb-page-breadcrumb a:hover {
    color: var(--white);
}

.bnb-page-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.bnb-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.bnb-page-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.bnb-page-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

.bnb-page-intro {
    margin-bottom: 4rem;
}

.bnb-page-intro-content {
    max-width: 60rem;
    margin: 0 auto;
}

.bnb-page-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(17, 81, 211, 0.15);
}

.bnb-page-intro-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #1a202c;
    margin: 0 0 1.5rem;
}

.bnb-page-norms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .bnb-page-norms {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bnb-page-norm-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.1);
}

.bnb-page-norm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.15) 0%, rgba(17, 81, 211, 0.08) 100%);
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.bnb-page-norm-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.75rem;
}

.bnb-page-norm-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #1a202c;
    margin: 0;
}

.bnb-page-norm-card strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.bnb-page-methodology,
.bnb-page-definition {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.bnb-page-methodology-title,
.bnb-page-definition-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bnb-page-methodology-title i,
.bnb-page-definition-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.bnb-page-methodology p,
.bnb-page-definition p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #1a202c;
    margin: 0 0 1rem;
}

.bnb-page-methodology p:last-child,
.bnb-page-definition p:last-child {
    margin-bottom: 0;
}

.bnb-page-definition-note {
    font-style: italic;
    color: #5a6578;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 81, 211, 0.1);
}

.bnb-page-files {
    margin-top: 4rem;
}

.bnb-page-year-section {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.1);
    overflow: hidden;
}

.bnb-page-year-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
    transition: background 0.25s ease;
}

.bnb-page-year-toggle:hover {
    background: rgba(17, 81, 211, 0.05);
}

.bnb-page-year-toggle.active {
    background: rgba(17, 81, 211, 0.08);
}

.bnb-page-year-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.bnb-page-year-count {
    font-size: 0.9375rem;
    color: #5a6578;
    margin-left: auto;
    margin-right: 1rem;
}

.bnb-page-year-toggle i {
    color: var(--primary-color);
    font-size: 1.125rem;
    transition: transform 0.25s ease;
}

.bnb-page-year-toggle.active i {
    transform: rotate(180deg);
}

.bnb-page-year-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.bnb-page-files-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 2rem 2rem;
}

@media (min-width: 576px) {
    .bnb-page-files-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .bnb-page-files-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bnb-page-file-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.05) 0%, rgba(17, 81, 211, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(17, 81, 211, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bnb-page-file-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bnb-page-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.08) 100%);
    color: #dc3545;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bnb-page-file-info {
    flex: 1;
    min-width: 0;
}

.bnb-page-file-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.bnb-page-file-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bnb-page-file-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 81, 211, 0.3);
    color: var(--white);
}

.bnb-page-file-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #5a6578;
    background: var(--bg-light);
    border-radius: 8px;
}

.bnb-page-file-unavailable i {
    opacity: 0.7;
}

@media (max-width: 767px) {
    .bnb-page-year-toggle {
        padding: 1.25rem 1.5rem;
        flex-wrap: wrap;
    }
    
    .bnb-page-year-count {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
        margin-right: 0;
    }
    
    .bnb-page-files-grid {
        grid-template-columns: 1fr;
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* ========== Page Librairie ========== */
.librairie-page-hero {
    position: relative;
    padding: 3rem 0 3.5rem;
    color: var(--white);
    overflow: hidden;
}

.librairie-page-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 40%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.librairie-page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.librairie-page-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.librairie-page-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.librairie-page-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.librairie-page-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.librairie-page-breadcrumb a:hover {
    color: var(--white);
}

.librairie-page-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.librairie-page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.librairie-page-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.librairie-page-body {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

.librairie-page-intro {
    max-width: 50rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.librairie-page-intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #1a202c;
    margin: 0;
}

.librairie-page-filters {
    margin-bottom: 2.5rem;
}

.librairie-page-filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.librairie-page-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 150px;
}

.librairie-page-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
}

.librairie-page-filter-select {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    color: #1a202c;
    background: var(--bg-light);
    border: 1px solid rgba(17, 81, 211, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
    outline: none;
}

.librairie-page-filter-select:hover {
    border-color: var(--primary-color);
    background: var(--white);
}

.librairie-page-filter-select:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(17, 81, 211, 0.1);
}

.librairie-page-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #5a6578;
    background: var(--bg-light);
    border: 1px solid rgba(17, 81, 211, 0.15);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.librairie-page-filter-reset:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(17, 81, 211, 0.05);
}

.librairie-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .librairie-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .librairie-page-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.librairie-book-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.librairie-book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.librairie-book-card-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.1) 0%, rgba(17, 81, 211, 0.05) 100%);
    position: relative;
}

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

.librairie-book-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(17, 81, 211, 0.3);
    font-size: 3rem;
}

.librairie-book-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.librairie-book-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.librairie-book-category {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.12) 0%, rgba(17, 81, 211, 0.06) 100%);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.librairie-book-year {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: rgba(17, 81, 211, 0.08);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #5a6578;
}

.librairie-book-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.librairie-book-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: auto;
}

.librairie-book-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 81, 211, 0.3);
    color: var(--white);
}

.librairie-book-no-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #5a6578;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: auto;
}

.librairie-page-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.librairie-page-empty-icon {
    font-size: 4rem;
    color: rgba(17, 81, 211, 0.2);
    margin-bottom: 1.5rem;
}

.librairie-page-empty-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1rem;
}

.librairie-page-empty-text {
    font-size: 1.0625rem;
    color: #5a6578;
    margin: 0 0 2rem;
    line-height: 1.6;
}

.librairie-page-empty-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.librairie-page-empty-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 81, 211, 0.3);
    color: var(--white);
}

.librairie-page-order {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.08) 0%, rgba(17, 81, 211, 0.04) 100%);
    border-radius: 20px;
    border: 2px solid rgba(17, 81, 211, 0.15);
    text-align: center;
}

.librairie-page-order-content {
    max-width: 35rem;
    margin: 0 auto;
}

.librairie-page-order-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.librairie-page-order-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.librairie-page-order-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #1a202c;
    margin: 0 0 2rem;
}

.librairie-page-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(17, 81, 211, 0.3);
}

.librairie-page-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(17, 81, 211, 0.4);
    color: var(--white);
}

@media (max-width: 767px) {
    .librairie-page-filters-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .librairie-page-filter-group {
        min-width: 100%;
    }
    
    .librairie-page-grid {
        grid-template-columns: 1fr;
    }
    
    .librairie-page-order {
        padding: 2rem 1.5rem;
    }
}

/* ========== Section Dernières actualités ========== */
.section.dernieres-actualites-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: var(--white);
}

.dernieres-actualites-header {
    margin-bottom: 2rem;
}

.dernieres-actualites-title {
    position: relative;
    padding-left: 1.25rem;
}

.dernieres-actualites-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.actualites-reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: actualites-reveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.actualites-reveal-1 { animation-delay: 0.08s; }
.actualites-reveal-2 { animation-delay: 0.2s; }
.actualites-reveal-3 { animation-delay: 0.32s; }

@keyframes actualites-reveal {
    to { opacity: 1; transform: translateY(0); }
}

.dernieres-actualites-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dernieres-actualites-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.dernieres-actualites-section .article-card {
    margin-bottom: 0;
}

.actualites-empty {
    color: var(--text-light);
    padding: 1.5rem;
}

/* Animateur Cards */
.animateur-card {
    text-align: center;
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.animateur-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.animateur-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.animateur-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 10px;
}

/* ========== Footer professionnel amélioré ========== */

.main-footer {
    background: linear-gradient(180deg, var(--footer-bg) 0%, #0d0a1a 100%);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Pattern de fond subtil */
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(17, 81, 211, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(17, 81, 211, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Ligne de séparation en haut */
.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(17, 81, 211, 0.3) 20%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(17, 81, 211, 0.3) 80%, 
        transparent 100%);
    z-index: 1;
}

.footer-main {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-main .container {
    position: relative;
    z-index: 1;
}

.footer-widget {
    height: 100%;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-widget:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(17, 81, 211, 0.2);
}

.footer-widget:hover::before {
    opacity: 1;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-logo:hover::after {
    width: 100%;
}

.footer-logo:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.logo-img-footer {
    max-height: 70px;
    width: auto;
    display: block;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(17, 81, 211, 0.2));
    transition: filter 0.3s ease;
}

.footer-logo:hover .logo-img-footer {
    filter: brightness(1.15) drop-shadow(0 4px 12px rgba(17, 81, 211, 0.3));
}

.footer-description {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.footer-about {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(17, 81, 211, 0.05);
    border-radius: 8px;
    border-left: 3px solid rgba(17, 81, 211, 0.3);
    transition: all 0.3s ease;
}

.footer-about:hover {
    background: rgba(17, 81, 211, 0.08);
    border-left-color: var(--primary-color);
}

.footer-social-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social-title::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: var(--white);
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9375rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(17, 81, 211, 0.5));
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(17, 81, 211, 0.4);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.25s ease;
    padding: 0.5rem 0.75rem;
    margin-left: -0.75rem;
    border-radius: 6px;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.25s ease;
}

.footer-links a i {
    font-size: 0.65em;
    opacity: 0.7;
    color: var(--primary-color);
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: var(--white);
    background: rgba(17, 81, 211, 0.1);
    padding-left: 1rem;
    transform: translateX(4px);
}

.footer-links a:hover::before {
    width: 3px;
}

.footer-links a:hover i {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(2px) scale(1.1);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
}

.contact-info li:hover {
    background: rgba(17, 81, 211, 0.08);
    border-left-color: var(--primary-color);
    transform: translateX(4px);
}

.contact-info li:last-child {
    margin-bottom: 0;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 24px;
    flex-shrink: 0;
    margin-top: 0.125rem;
    background: rgba(17, 81, 211, 0.15);
    padding: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.contact-info li:hover i {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.contact-info div {
    flex: 1;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.contact-info strong {
    color: var(--white);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
    position: relative;
}

.contact-info a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary-color);
    transition: width 0.25s ease;
}

.contact-info a:hover {
    color: var(--white);
}

.contact-info a:hover::after {
    width: 100%;
}

.footer-widget .social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem;
}

.footer-widget .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-widget .social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.footer-widget .social-links a i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.footer-widget .social-links a:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(17, 81, 211, 0.4);
}

.footer-widget .social-links a:hover::before {
    width: 100%;
    height: 100%;
}

.footer-widget .social-links a:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(17, 81, 211, 0.2) 50%, 
        transparent 100%);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.footer-copyright strong {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
}

.footer-founded {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-founded::before {
    content: '★';
    color: var(--primary-color);
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-weight: 500;
    position: relative;
}

.footer-legal a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.25s ease;
}

.footer-legal a:hover {
    color: var(--white);
    background: rgba(17, 81, 211, 0.1);
}

.footer-legal a:hover::before {
    width: calc(100% - 2rem);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1;
}

/* Page Content */
.page-header {
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
}

.page-content {
    padding: 40px 0;
}

/* ========== Page À propos ========== */
.apropos-hero {
    position: relative;
    padding: 4rem 0;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.apropos-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
    z-index: 0;
}

.apropos-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.apropos-hero .container {
    position: relative;
    z-index: 1;
}

.apropos-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.apropos-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.apropos-hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    opacity: 0.95;
    margin: 0 0 0.35rem;
}

.apropos-hero-tagline {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin: 0;
}

/* Nav ancres */
.apropos-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.apropos-nav-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.25rem;
}

.apropos-nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.apropos-nav-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.apropos-nav-link--cta {
    color: var(--primary-color);
}

.apropos-nav-link--cta:hover {
    background: rgba(17, 81, 211, 0.08);
}

/* Body */
.apropos-body {
    padding: 3rem 0 4rem;
    background: var(--bg-light);
}

.container--narrow {
    max-width: 800px;
    margin: 0 auto;
}

.apropos-section {
    margin-bottom: 3.5rem;
    scroll-margin-top: 4rem;
}

.apropos-section:last-of-type {
    margin-bottom: 2rem;
}

.apropos-section-title {
    position: relative;
    padding-left: 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 1.25rem;
}

.apropos-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.1em;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.apropos-content.prose {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-color);
}

.apropos-content.prose p {
    margin-bottom: 1.25rem;
}

.apropos-content.prose p:last-child {
    margin-bottom: 0;
}

.apropos-content.prose strong {
    color: #1a1a2e;
}

.apropos-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(17, 81, 211, 0.2);
}

.apropos-subtitle:first-child {
    margin-top: 0;
}

.apropos-quote {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem 1.25rem 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(17, 81, 211, 0.06);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #2c3e50;
}

.apropos-list {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.apropos-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.apropos-list--secteurs {
    list-style: none;
    padding-left: 0;
}

.apropos-list--secteurs li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.4rem;
}

.apropos-list--secteurs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.apropos-domaines {
    display: grid;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .apropos-domaines {
        grid-template-columns: repeat(3, 1fr);
    }
}

.apropos-domaine {
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.apropos-domaine h4 {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.apropos-domaine ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.apropos-domaine ul li {
    margin-bottom: 0.35rem;
}

/* Mission blocks (fallback) */
.mission-blocks {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .mission-blocks {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mission-block {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.mission-block-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mission-block p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Équipe */
.apropos-equipe-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .apropos-equipe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .apropos-equipe-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.apropos-equipe-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apropos-equipe-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(17, 81, 211, 0.08);
}

.apropos-equipe-photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(145deg, #e8ecf4 0%, #dde2eb 100%);
}

.apropos-equipe-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.apropos-equipe-card:hover .apropos-equipe-photo img {
    transform: scale(1.05);
}

.apropos-equipe-body {
    padding: 1.25rem 1.25rem 1rem;
}

.apropos-equipe-nom {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #1a1a2e;
}

.apropos-equipe-bio {
    font-size: 0.9375rem;
    color: #5a5a72;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.apropos-equipe-card:not(:has(.apropos-equipe-photo)) .apropos-equipe-body {
    padding-top: 1.5rem;
}

/* Partenaires */
.apropos-partenaires-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .apropos-partenaires-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .apropos-partenaires-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.apropos-partenaire {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apropos-partenaire:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.apropos-partenaire-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 80px;
}

.apropos-partenaire-logo {
    max-height: 56px;
    max-width: 100%;
    object-fit: contain;
}

.apropos-partenaire-nom {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
}

/* Rapports */
.apropos-rapports-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.apropos-rapport-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s ease;
}

.apropos-rapport-item:hover {
    box-shadow: 0 4px 14px rgba(17, 81, 211, 0.08);
}

.apropos-rapport-titre {
    font-weight: 500;
    color: var(--text-color);
}

.apropos-rapport-titre em {
    font-size: 0.9em;
    color: var(--text-light);
    font-style: normal;
}

.apropos-rapport-dl {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    background: rgba(17, 81, 211, 0.08);
    transition: background 0.2s, color 0.2s;
}

.apropos-rapport-dl:hover {
    background: rgba(17, 81, 211, 0.15);
    color: var(--primary-dark);
}

.apropos-rapport-dl i {
    font-size: 1.1em;
}

.apropos-empty {
    color: var(--text-light);
    font-style: italic;
}

.apropos-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-apropos-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(17, 81, 211, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-apropos-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 81, 211, 0.4);
    color: var(--white);
}

/* ========== Page Secteurs & Programmes ========== */
.secteurs-hero {
    position: relative;
    padding: 4rem 0 4.5rem;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.secteurs-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, var(--header-bg) 0%, #0d1a36 35%, var(--primary-dark) 65%, #0a3d6e 100%);
    z-index: 0;
}

.secteurs-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.08) 0%, transparent 55%);
    pointer-events: none;
}

.secteurs-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm20 20h2v2h-2v-2z' fill='%23fff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.secteurs-hero-container {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.secteurs-hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    margin: 0 0 1.25rem;
}

.secteurs-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.secteurs-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.secteurs-body {
    padding: 3.5rem 0 5rem;
    background: linear-gradient(180deg, var(--bg-light) 0%, #eef2f8 100%);
}

.secteurs-intro {
    font-size: 1.0625rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 36rem;
    margin: 0 0 2.5rem;
}

.secteurs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .secteurs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 992px) {
    .secteurs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.secteur-card {
    height: 100%;
}

.secteur-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.secteur-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(17, 81, 211, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: rgba(17, 81, 211, 0.2);
    color: inherit;
}

.secteur-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(150deg, #e8ecf4 0%, #dde2eb 100%);
}

.secteur-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.secteur-card-link:hover .secteur-card-image img {
    transform: scale(1.05);
}

.secteur-card-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #eef2f8 0%, #e2e8f0 100%);
    color: rgba(17, 81, 211, 0.35);
    font-size: 2.5rem;
    transition: color 0.3s ease, background 0.3s ease;
}

.secteur-card-link:hover .secteur-card-placeholder {
    color: rgba(17, 81, 211, 0.5);
    background: linear-gradient(150deg, #e8ecf4 0%, #dde2eb 100%);
}

.secteur-card-body {
    padding: 1.5rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.secteur-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #1a202c;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.secteur-card-link:hover .secteur-card-title {
    color: var(--primary-color);
}

.secteur-card-desc {
    font-size: 0.9375rem;
    color: #5a6578;
    line-height: 1.55;
    margin: 0 0 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.secteur-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: gap 0.25s ease, color 0.25s ease;
}

.secteur-card-link:hover .secteur-card-cta {
    gap: 0.7rem;
    color: var(--primary-dark);
}

.secteur-card-link:not(:has(.secteur-card-image)):not(:has(.secteur-card-placeholder)) .secteur-card-body {
    padding-top: 2rem;
}

/* Callout Congo-Afrique */
.secteurs-callout {
    margin-top: 3.5rem;
}

.secteurs-callout-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 2rem;
    background: linear-gradient(135deg, var(--white) 0%, #f8fafc 100%);
    border-radius: 18px;
    border: 1px solid rgba(17, 81, 211, 0.12);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(17, 81, 211, 0.04);
}

.secteurs-callout-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(17, 81, 211, 0.12) 0%, rgba(17, 81, 211, 0.06) 100%);
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.secteurs-callout-content {
    flex: 1;
    min-width: 0;
}

.secteurs-callout-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #1a202c;
}

.secteurs-callout-text {
    font-size: 0.9375rem;
    color: #5a6578;
    line-height: 1.55;
    margin: 0 0 1rem;
}

.secteurs-callout-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: gap 0.2s ease, color 0.2s ease;
}

.secteurs-callout-btn:hover {
    gap: 0.65rem;
    color: var(--primary-dark);
}

.secteurs-empty {
    text-align: center;
    color: var(--text-light);
    padding: 3rem;
}

/* ========== Page Secteur (détail) ========== */
.secteur-hero {
    position: relative;
    padding: 2.5rem 0;
    color: var(--white);
    overflow: hidden;
}

.secteur-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
    z-index: 0;
}

.secteur-hero .container {
    position: relative;
    z-index: 1;
}

.secteur-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

.secteur-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}

.secteur-breadcrumb a:hover {
    color: var(--white);
}

.secteur-breadcrumb-sep {
    opacity: 0.7;
    margin: 0 0.35rem;
}

.secteur-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.secteur-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    transition: opacity 0.2s;
}

.secteur-hero-link:hover {
    color: var(--white);
    opacity: 0.95;
}

.secteur-body {
    padding: 2.5rem 0 4rem;
    background: var(--bg-light);
}

.container--secteur {
    max-width: 780px;
    margin: 0 auto;
}

.secteur-featured-image {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.secteur-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.secteur-content.prose {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-color);
}

.secteur-content.prose p {
    margin-bottom: 1.25rem;
}

.secteur-content.prose p:last-of-type {
    margin-bottom: 0;
}

.secteur-content.prose h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(17, 81, 211, 0.15);
}

.secteur-content.prose h3:first-child {
    margin-top: 0;
}

.secteur-content.prose h4 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 1.5rem 0 0.5rem;
}

.secteur-content.prose ul,
.secteur-content.prose ol {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.secteur-content.prose ul li,
.secteur-content.prose ol li {
    margin-bottom: 0.5rem;
}

.secteur-content.prose a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.2s;
}

.secteur-content.prose a:hover {
    color: var(--primary-dark);
}

.secteur-contact-block {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.secteur-contact-block h3 {
    margin-top: 0;
}

.secteur-video-wrap {
    margin-top: 2.5rem;
}

.secteur-video-wrap h3 {
    margin-bottom: 1rem;
}

.secteur-video {
    position: relative;
    max-width: 640px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.secteur-video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.secteur-extra {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.secteur-extra-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-color);
}

.secteur-extra-list {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}

.secteur-extra-list li {
    margin-bottom: 0.4rem;
}

.secteur-extra-list a {
    color: var(--primary-color);
    font-weight: 500;
}

.secteur-extra-list a:hover {
    color: var(--primary-dark);
}

/* ========== Page Secteur Bibliothèque (redesign) ========== */
.secteur-hero--bibliotheque {
    padding: 3rem 0 3.5rem;
}

.secteur-hero--bibliotheque .secteur-hero-bg {
    background: linear-gradient(145deg, #1a365d 0%, #0d1a36 40%, #1151d3 100%);
}

.secteur-hero-pattern.secteur-hero-pattern--books {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M8 7h6'/%3E%3Cpath d='M8 11h6'/%3E%3C/svg%3E");
    background-size: 48px 48px;
    pointer-events: none;
}

.secteur-hero-tagline {
    font-size: 1.0625rem;
    opacity: 0.92;
    margin: 0.5rem 0 0;
    font-weight: 500;
}

.secteur-body--bibliotheque {
    padding: 2.5rem 0 4rem;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef6 100%);
}

.container--bibliotheque {
    max-width: 1100px;
}

.biblio-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 992px) {
    .biblio-layout {
        grid-template-columns: 1fr 320px;
        gap: 3rem;
    }
}

.biblio-main {
    min-width: 0;
}

.secteur-content--bibliotheque {
    background: var(--white);
    padding: 2rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

@media (min-width: 576px) {
    .secteur-content--bibliotheque {
        padding: 2.5rem 2.25rem;
    }
}

.biblio-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .biblio-sidebar {
        position: sticky;
        top: 2rem;
    }
}

.biblio-sidebar-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(17, 81, 211, 0.08);
}

.biblio-sidebar-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.biblio-sidebar-card-title i {
    color: var(--primary-color);
}

.biblio-sidebar-card p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.biblio-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
}

.biblio-sidebar-list li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.biblio-sidebar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-color);
}

.biblio-sidebar-block {
    margin: 0 !important;
}

.biblio-sidebar-block.secteur-contact-block {
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border-left-width: 4px;
}

.biblio-sidebar-block.secteur-contact-block h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.biblio-sidebar-block.secteur-contact-block p {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.biblio-sidebar-block.secteur-video-wrap {
    margin-top: 0;
}

.biblio-sidebar-block.secteur-video-wrap h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.biblio-sidebar-block .secteur-video {
    max-width: 100%;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
}

/* ========== Secteur Congo-Afrique ========== */
.secteur-hero--congo-afrique .secteur-hero-bg {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 30%, #0f3460 60%, #0a2647 100%);
}

.secteur-hero-pattern--congo-afrique {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.secteur-body--congo-afrique {
    background: linear-gradient(180deg, var(--bg-light) 0%, #f5f7fa 100%);
}

.container--congo-afrique {
    max-width: 75rem;
}

.congo-afrique-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .congo-afrique-layout {
        grid-template-columns: 1.5fr 1fr;
    }
}

.congo-afrique-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.congo-afrique-intro {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--primary-color);
}

.congo-afrique-intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1a202c;
    margin: 0;
}

.congo-afrique-intro-text strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.congo-afrique-section {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.congo-afrique-section-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(17, 81, 211, 0.15);
}

.congo-afrique-section-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.congo-afrique-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #1a202c;
    margin: 0 0 1.5rem;
}

.congo-afrique-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .congo-afrique-mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.congo-afrique-mission-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.05) 0%, rgba(17, 81, 211, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(17, 81, 211, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.congo-afrique-mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.congo-afrique-mission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.15) 0%, rgba(17, 81, 211, 0.08) 100%);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.congo-afrique-mission-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
}

.congo-afrique-mission-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #5a6578;
    margin: 0;
}

.congo-afrique-timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.congo-afrique-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(17, 81, 211, 0.3) 100%);
}

.congo-afrique-timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.congo-afrique-timeline-item:last-child {
    margin-bottom: 0;
}

.congo-afrique-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.congo-afrique-timeline-year {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.congo-afrique-timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.5rem;
}

.congo-afrique-timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #1a202c;
    margin: 0;
}

.congo-afrique-timeline-content strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.congo-afrique-cta {
    text-align: center;
    margin-top: 2rem;
}

.congo-afrique-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(17, 81, 211, 0.3);
}

.congo-afrique-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(17, 81, 211, 0.4);
    color: var(--white);
}

/* Sidebar Congo-Afrique */
.congo-afrique-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .congo-afrique-sidebar {
        position: sticky;
        top: 2rem;
    }
}

.congo-afrique-sidebar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 81, 211, 0.1);
}

.congo-afrique-sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.congo-afrique-sidebar-title i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.congo-afrique-sidebar-card p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #1a202c;
}

.congo-afrique-sidebar-card strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.congo-afrique-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.congo-afrique-sidebar-list li {
    padding: 0.625rem 0.875rem;
    background: rgba(17, 81, 211, 0.05);
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1a202c;
    font-weight: 500;
    border-left: 3px solid var(--primary-color);
}

.congo-afrique-sidebar-card--cta {
    background: linear-gradient(135deg, rgba(17, 81, 211, 0.1) 0%, rgba(17, 81, 211, 0.05) 100%);
    border: 2px solid rgba(17, 81, 211, 0.2);
}

.congo-afrique-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    background: var(--white);
}

.congo-afrique-sidebar-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 81, 211, 0.25);
}

.congo-afrique-sidebar-link i:first-child {
    font-size: 1.25rem;
}

.congo-afrique-sidebar-link span {
    flex: 1;
}

@media (max-width: 991px) {
    .congo-afrique-layout {
        grid-template-columns: 1fr;
    }
    
    .congo-afrique-section {
        padding: 1.5rem;
    }
    
    .congo-afrique-mission-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== Single Article (détail) — style éditorial ========== */
.single-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.single-article .article-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}

.single-article .article-breadcrumb a {
    color: #6b7280;
    transition: color 0.2s ease;
}

.single-article .article-breadcrumb a:hover {
    color: var(--primary-color);
}

.single-article .article-breadcrumb span[aria-current] {
    color: #374151;
    font-weight: 500;
}

.single-article .article-header {
    margin-bottom: 2.5rem;
}

.single-article .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
}

.single-article .article-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-weight: 700;
    font-size: 0.6875rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.single-article .article-date {
    font-size: 0.9375rem;
    color: #6b7280;
    font-weight: 500;
}

.single-article .article-date::before {
    content: '';
    display: none;
}

.single-article .article-author {
    font-size: 0.9375rem;
    color: #4b5563;
    font-style: normal;
}

.single-article .article-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
    color: #111827;
    margin: 0;
}

.single-article .article-featured-image {
    margin-bottom: 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    position: relative;
}

.single-article .article-featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    pointer-events: none;
    z-index: 1;
}

.single-article .article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

/* Styles pour le breadcrumb dans le hero de l'article */
.article-breadcrumb-hero {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.article-breadcrumb-hero a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb-hero a:hover {
    color: #fff;
}

.article-breadcrumb-hero span {
    color: rgba(255, 255, 255, 0.8);
}

.article-breadcrumb-sep {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.article-meta-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.article-meta-hero .article-date,
.article-meta-hero .article-author {
    color: rgba(255, 255, 255, 0.9);
}

.single-article .article-content {
    font-size: 1.1875rem;
    line-height: 1.85;
    margin-bottom: 3rem;
    color: #374151;
}

.single-article .article-content p {
    margin-bottom: 1.5rem;
}

.single-article .article-content p:first-of-type::first-letter {
    float: left;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    margin: 0.15em 0.1em 0 0;
}

.single-article .article-content p:last-child {
    margin-bottom: 0;
}

/* Styles pour le contenu WYSIWYG */
.article-content-wysiwyg {
    font-size: 1.1875rem;
    line-height: 1.85;
    color: #374151;
}

.article-content-wysiwyg p {
    margin-bottom: 1.5rem;
}

.article-content-wysiwyg p:last-child {
    margin-bottom: 0;
}

.article-content-wysiwyg h1,
.article-content-wysiwyg h2,
.article-content-wysiwyg h3,
.article-content-wysiwyg h4,
.article-content-wysiwyg h5,
.article-content-wysiwyg h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin: 2rem 0 1rem;
    color: #111827;
}

.article-content-wysiwyg h1 {
    font-size: 2.25rem;
}

.article-content-wysiwyg h2 {
    font-size: 1.875rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.article-content-wysiwyg h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.article-content-wysiwyg h4 {
    font-size: 1.25rem;
}

.article-content-wysiwyg h5 {
    font-size: 1.125rem;
}

.article-content-wysiwyg h6 {
    font-size: 1rem;
}

.article-content-wysiwyg ul,
.article-content-wysiwyg ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content-wysiwyg ul li,
.article-content-wysiwyg ol li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.article-content-wysiwyg ul {
    list-style-type: disc;
}

.article-content-wysiwyg ol {
    list-style-type: decimal;
}

.article-content-wysiwyg a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-content-wysiwyg a:hover {
    color: var(--primary-dark);
}

.article-content-wysiwyg img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-content-wysiwyg blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
}

.article-content-wysiwyg table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.article-content-wysiwyg table th,
.article-content-wysiwyg table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.article-content-wysiwyg table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
}

.article-content-wysiwyg table tr:last-child td {
    border-bottom: none;
}

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

.article-content-wysiwyg code {
    background: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #e11d48;
}

.article-content-wysiwyg pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content-wysiwyg pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.article-content-wysiwyg hr {
    border: none;
    border-top: 2px solid #e5e7eb;
    margin: 2.5rem 0;
}

.article-content-wysiwyg strong,
.article-content-wysiwyg b {
    font-weight: 700;
    color: #111827;
}

.article-content-wysiwyg em,
.article-content-wysiwyg i {
    font-style: italic;
}

.article-content-wysiwyg u {
    text-decoration: underline;
}

/* Section Fichiers joints */
.article-files-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid #e5e7eb;
}

.article-files-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-files-title i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.article-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-file-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: var(--admin-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--admin-transition);
    box-shadow: var(--admin-shadow-sm);
}

.article-file-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--admin-shadow-md);
    transform: translateY(-2px);
}

.article-file-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--admin-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}

.article-file-info {
    text-align: center;
}

.article-file-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--admin-text);
    margin: 0 0 0.5rem 0;
    word-break: break-word;
}

.article-file-meta {
    font-size: 0.875rem;
    color: var(--admin-text-light);
    margin: 0 0 0.5rem 0;
}

.article-file-description {
    font-size: 0.9375rem;
    color: var(--admin-text);
    margin: 0;
    font-style: italic;
}

.article-file-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: auto;
}

.article-file-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Modal PDF Viewer */
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.pdf-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.pdf-modal-content {
    position: absolute;
    inset: 2rem;
    background: white;
    border-radius: var(--admin-radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: var(--admin-shadow-xl);
    max-width: 1400px;
    max-height: 90vh;
    margin: 0 auto;
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.pdf-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--admin-text);
}

.pdf-modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--admin-bg-dark);
    border-radius: var(--admin-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--admin-text);
    transition: var(--admin-transition);
    font-size: 1.25rem;
}

.pdf-modal-close:hover {
    background: var(--admin-danger-light);
    color: var(--admin-danger);
}

.pdf-modal-body {
    flex: 1;
    padding: 1.5rem;
    overflow: hidden;
    display: flex;
}

.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--admin-radius-sm);
}

.pdf-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Section Vidéos */
.article-videos-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 2px solid #e5e7eb;
}

.article-videos-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-videos-title i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.article-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.article-video-item {
    background: #f9fafb;
    border-radius: var(--admin-radius);
    padding: 1rem;
    box-shadow: var(--admin-shadow-md);
    transition: var(--admin-transition);
}

.article-video-item:hover {
    box-shadow: var(--admin-shadow-lg);
    transform: translateY(-2px);
}

.article-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--admin-radius-sm);
    background: #000;
    margin-bottom: 1rem;
}

.article-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.article-video-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--admin-transition);
}

.article-video-link:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .article-hero {
        min-height: 50vh;
        background-attachment: scroll;
        padding: 3rem 0 2rem;
    }
    
    .article-title-hero {
        font-size: 1.875rem;
    }
    
    .article-excerpt-hero {
        font-size: 1.125rem;
    }
    
    .article-content-wysiwyg {
        font-size: 1.0625rem;
        line-height: 1.75;
    }
    
    .article-content-wysiwyg h1 {
        font-size: 1.875rem;
    }
    
    .article-content-wysiwyg h2 {
        font-size: 1.5rem;
    }
    
    .article-content-wysiwyg h3 {
        font-size: 1.25rem;
    }
    
    .article-content-wysiwyg img {
        margin: 1.5rem 0;
    }
    
    .article-content-wysiwyg table {
        font-size: 0.875rem;
    }
    
    .article-content-wysiwyg table th,
    .article-content-wysiwyg table td {
        padding: 0.5rem;
    }
    
    .article-files-grid {
        grid-template-columns: 1fr;
    }
    
    .article-videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pdf-modal-content {
        inset: 1rem;
    }
    
    .pdf-modal-header,
    .pdf-modal-footer {
        padding: 1rem;
    }
}

.single-article .article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.single-article .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.6rem 0;
    border-bottom: 2px solid transparent;
    transition: gap 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.single-article .btn-back:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
    border-bottom-color: var(--primary-dark);
}

.single-article .btn-back::before {
    content: '←';
    font-size: 1rem;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

/* Error Page */
.error-page {
    text-align: center;
    padding: 100px 0;
}

.error-page h1 {
    font-size: 120px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.error-page h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
}

/* ========== RESPONSIVE - Mobile first (priorité téléphone) ========== */

/* Conteneur : padding horizontal sur mobile pour ne pas coller aux bords */
.container-header,
.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Menu burger dès 1100px pour éviter que la barre dépasse (9 entrées) */
@media (max-width: 1100px) {
    .main-nav {
        justify-content: flex-end;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 85vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        background-color: var(--header-bg);
        padding: 70px 0 30px;
        margin: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
        z-index: 999;
        overflow-y: auto;
        list-style: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        cursor: pointer;
    }

    .nav-menu.active ~ .nav-overlay,
    .nav-overlay.active {
        display: block;
    }

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        padding: 14px 24px;
        min-height: 48px;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1rem;
    }
}

/* Tablettes et petits laptops */
@media (max-width: 768px) {
    .main-header {
        padding: 0.6rem 0;
    }

    .header-logo-img {
        height: 46px;
        max-height: 46px;
    }

    .logo-img {
        max-height: 50px;
    }

    .hero-section {
        padding: 60px 15px 80px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .hero-tagline {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item,
    .hero-slide-placeholder {
        min-height: 360px;
    }

    .section {
        padding: 35px 0;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .btn-view-more {
        margin-top: 0;
        padding: 12px 20px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Cartes articles : une colonne, espacement */
    .article-card {
        margin-bottom: 20px;
    }

    .article-card .article-image {
        height: 200px;
    }

    .article-card .article-content {
        padding: 1.25rem;
    }

    .article-card .article-title {
        font-size: 1.1rem;
    }

    .article-card .article-meta {
        font-size: 0.8125rem;
    }

    .programme-card,
    .animateur-card {
        margin-bottom: 20px;
    }

    .programme-content,
    .animateur-card {
        padding: 16px;
    }

    .programme-content h3,
    .animateur-info h4 {
        font-size: 1.05rem;
    }

    .animateur-photo {
        width: 120px;
        height: 120px;
    }

    .page-header {
        padding: 40px 15px;
        margin-bottom: 25px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-content {
        padding: 25px 0;
    }

    .single-article {
        padding: 2rem 0 3rem;
    }

    .single-article .article-content {
        font-size: 1.0625rem;
        line-height: 1.75;
    }

    .single-article .article-content p:first-of-type::first-letter {
        font-size: 2.5rem;
    }

    .single-article .article-featured-image {
        border-radius: 12px;
    }

    .service-card {
        padding: 30px 15px;
        margin-bottom: 20px;
    }

    .service-icon {
        font-size: 40px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .contact-form {
        padding: 20px;
    }

    .form-control {
        min-height: 48px;
        font-size: 16px; /* Évite le zoom automatique sur iOS */
        padding: 14px;
    }

    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }

    .main-footer {
        margin-top: 0;
    }

    .footer-main {
        padding: 50px 0 35px;
    }

    .footer-widget {
        margin-bottom: 2rem;
        padding: 1.25rem;
    }

    .footer-widget:last-child {
        margin-bottom: 0;
    }

    .footer-title {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.875rem;
    }

    .footer-title::after {
        width: 40px;
        height: 2px;
    }

    .logo-img-footer {
        max-height: 55px;
    }

    .footer-description {
        font-size: 0.9rem;
        padding-left: 0.875rem;
    }

    .footer-about {
        font-size: 0.85rem;
        padding: 0.875rem;
    }

    .footer-social-wrapper {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .footer-links a {
        padding: 0.4rem 0.625rem;
        font-size: 0.9rem;
    }

    .contact-info li {
        margin-bottom: 1.25rem;
        padding: 0.875rem;
        gap: 1rem;
    }

    .contact-info i {
        font-size: 1.1rem;
        width: 22px;
        padding: 0.4rem;
    }

    .footer-bottom {
        padding: 1.5rem 0;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-widget .social-links a {
        width: 38px;
        height: 38px;
    }

    .error-page {
        padding: 50px 15px;
    }

    .error-page h1 {
        font-size: 80px;
    }

    .error-page h2 {
        font-size: 1.4rem;
    }
}

/* Téléphones en portrait (petits écrans) */
@media (max-width: 480px) {
    .header-logo-img {
        height: 42px;
        max-height: 42px;
    }

    .logo-img {
        max-height: 44px;
    }

    .hero-section {
        padding: 40px 12px 60px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .nav-menu {
        width: 100%;
        left: 0;
        right: 0;
    }

    .article-image {
        height: 160px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .error-page h1 {
        font-size: 60px;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .container-header,
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item,
    .hero-slide-placeholder {
        min-height: 300px;
    }
}

/* ========== Section Chiffres clés ========== */
.chiffres-cles-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: var(--bg-light);
    position: relative;
}

.chiffres-header {
    margin-bottom: 2.5rem;
    justify-content: flex-start;
}

.chiffres-title {
    position: relative;
    padding-left: 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.chiffres-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.chiffres-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: chiffres-reveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.chiffres-reveal-1 { animation-delay: 0.05s; }
.chiffres-reveal-2 { animation-delay: 0.15s; }
.chiffres-reveal-3 { animation-delay: 0.25s; }
.chiffres-reveal-4 { animation-delay: 0.35s; }
.chiffres-reveal-5 { animation-delay: 0.45s; }
.chiffres-reveal-6 { animation-delay: 0.55s; }

@keyframes chiffres-reveal {
    to { opacity: 1; transform: translateY(0); }
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .chiffres-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.chiffre-card {
    padding: 1.75rem 1.5rem;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(17, 81, 211, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.chiffre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(17, 81, 211, 0.12);
    border-color: rgba(17, 81, 211, 0.18);
}

.chiffre-valeur {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.chiffre-libelle {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

/* Partenaires (accueil) */
.partenaires-section .partenaire-logo {
    max-height: 60px;
    object-fit: contain;
}
.partenaires-section .partenaire-nom {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========== Section Agir avec le CEPAS ========== */
.cta-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: linear-gradient(165deg, var(--header-bg) 0%, var(--primary-dark) 50%, #001a3a 100%);
    color: var(--white);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.cta-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.5rem;
}

.cta-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.cta-reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: cta-reveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cta-reveal-1 { animation-delay: 0.1s; }
.cta-reveal-2 { animation-delay: 0.22s; }
.cta-reveal-3 { animation-delay: 0.34s; }
.cta-reveal-4 { animation-delay: 0.42s; }
.cta-reveal-5 { animation-delay: 0.5s; }

@keyframes cta-reveal {
    to { opacity: 1; transform: translateY(0); }
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .cta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    transition: background 0.35s ease, transform 0.35s ease;
}

.cta-card:hover .cta-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.cta-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--white);
}

.cta-card-desc {
    font-size: 0.9375rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0 0 1rem;
    flex-grow: 1;
}

.cta-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    transition: gap 0.25s ease;
}

.cta-card:hover .cta-card-link {
    gap: 0.65rem;
}

/* Slider hero (bandeau avec slides) */
.hero-slider {
    position: relative;
    min-height: 85vh;
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
    min-height: 85vh;
}

.hero-slider .carousel-item {
    position: relative;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
}

.hero-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-placeholder {
    width: 100%;
    height: 100%;
    min-height: 85vh;
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--primary-color) 100%);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.hero-slider .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.5rem 5rem;
    text-align: left;
}

@media (min-width: 992px) {
    .hero-slider .carousel-caption {
        padding-right: 380px; /* espace pour les cartes à droite */
    }
}

.hero-slide-content {
    max-width: 720px;
}

.hero-slider .carousel-caption h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-slide-text {
    font-size: 1.0625rem;
    opacity: 0.95;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: none;
    opacity: 0.9;
    transition: background 0.2s, opacity 0.2s;
}

.hero-slider .carousel-control-prev { left: 1rem; }
.hero-slider .carousel-control-next { right: 1rem; }

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: rgba(0,0,0,0.6);
    opacity: 1;
}

.carousel-indicators-hero {
    bottom: 1.5rem;
    margin-bottom: 0;
}

.carousel-indicators-hero button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
    background: transparent;
    opacity: 0.7;
    transition: opacity 0.2s, background 0.2s;
}

.carousel-indicators-hero button.active {
    background: var(--white);
    opacity: 1;
}

.carousel-indicators-hero button:hover {
    opacity: 1;
}

/* Cartes derniers articles dans le hero slider — à droite */
.hero-slider-cards {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.5rem;
    width: 320px;
    max-width: calc(100% - 2rem);
    z-index: 3;
    pointer-events: none;
}

.hero-slider-cards .container {
    pointer-events: auto;
    max-width: 100%;
    padding: 0;
}

.hero-slider-cards-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (max-width: 991px) {
    .hero-slider-cards {
        top: auto;
        bottom: 5.5rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: 400px;
        margin: 0 auto;
        transform: none;
    }
    .hero-slider-cards-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero-slider-card {
        flex: 1 1 160px;
        min-width: 0;
    }
}

.hero-slider-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(24px);
    animation: hero-slider-card-in 0.6s ease-out forwards;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero-slider-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.hero-slider-card--1 { animation-delay: 0.1s; }
.hero-slider-card--2 { animation-delay: 0.25s; }
.hero-slider-card--3 { animation-delay: 0.4s; }

@keyframes hero-slider-card-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cartes en colonne à droite : format compact */
.hero-slider-cards .hero-slider-card {
    flex-direction: row;
    align-items: stretch;
}
.hero-slider-cards .hero-slider-card-img {
    width: 72px;
    min-width: 72px;
    aspect-ratio: 1;
    flex-shrink: 0;
}
.hero-slider-cards .hero-slider-card-body {
    padding: 0.75rem 1rem;
    min-height: 0;
}
.hero-slider-cards .hero-slider-card-title {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
}
.hero-slider-cards .hero-slider-card-excerpt {
    display: none;
}
.hero-slider-cards .hero-slider-card-link {
    padding-top: 0.25rem;
    font-size: 0.75rem;
}

@media (max-width: 991px) {
    .hero-slider-cards .hero-slider-card {
        flex-direction: column;
    }
    .hero-slider-cards .hero-slider-card-img {
        width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 10;
    }
    .hero-slider-cards .hero-slider-card-excerpt {
        display: -webkit-box;
    }
    .hero-slider-cards .hero-slider-card-body {
        padding: 1rem 1.25rem;
    }
    .hero-slider-cards .hero-slider-card-title {
        font-size: 0.9375rem;
    }
    .hero-slider-cards .hero-slider-card-link {
        font-size: 0.8125rem;
        padding-top: 0.5rem;
    }
}

.hero-slider-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.hero-slider-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-slider-card:hover .hero-slider-card-img img {
    transform: scale(1.06);
}

.hero-slider-card-body {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hero-slider-card-meta {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.85);
}

.hero-slider-card-title {
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.hero-slider-card-excerpt {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-slider-card-link {
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    transition: gap 0.2s;
}

.hero-slider-card:hover .hero-slider-card-link {
    gap: 0.5rem;
}

.hero-slider-card--no-img .hero-slider-card-body {
    padding: 1.25rem 1.25rem;
    min-height: 100px;
}

/* Page Nos projets (réutilise prestations-page-* et ressources-page-section) */
.nos-projets-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.nos-projets-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.nos-projets-table th,
.nos-projets-table td {
    padding: 0.875rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(17, 81, 211, 0.08);
}

.nos-projets-table th {
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: 600;
    font-family: var(--font-heading);
}

.nos-projets-table tbody tr:nth-child(even) {
    background: rgba(17, 81, 211, 0.02);
}

.nos-projets-table tbody tr:hover {
    background: rgba(17, 81, 211, 0.06);
}

.nos-projets-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 767.98px) {
    .nos-projets-table th,
    .nos-projets-table td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .nos-projets-table th:nth-child(n+2),
    .nos-projets-table td:nth-child(n+2) {
        min-width: 100px;
    }
}
