/* ==================================================================
   GMR DEFCOM — Groupement momentané de Recherche
   en Droit de la commande publique de Défense
   Feuille de style unifiée — V16
   Palette conservée : bleu marine #1B2A4A / or #C5A55A
   ================================================================== */

/* ------------------------------------------------------------------
   1. Reset & tokens
------------------------------------------------------------------ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bleu-marine: #1B2A4A;
    --bleu-marine-light: #2C3E6B;
    --bleu-marine-dark: #0F1A2E;
    --bleu-nuit: #0A1220;
    --or: #C5A55A;
    --or-light: #D4BA7A;
    --or-dark: #A68A3E;
    --or-pale: rgba(197, 165, 90, 0.12);
    --blanc: #FFFFFF;
    --gris-clair: #F4F5F7;
    --gris: #E2E4E8;
    --gris-texte: #4A5568;
    --gris-fonce: #2D3748;
    --rouge-accent: #8B2635;

    --font-titre: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-corps: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 3px rgba(15, 26, 46, 0.08), 0 1px 2px rgba(15, 26, 46, 0.06);
    --shadow-md: 0 6px 18px rgba(15, 26, 46, 0.10), 0 2px 6px rgba(15, 26, 46, 0.06);
    --shadow-lg: 0 18px 45px rgba(15, 26, 46, 0.16), 0 6px 16px rgba(15, 26, 46, 0.08);
    --shadow-or: 0 10px 30px rgba(197, 165, 90, 0.25);

    --radius: 10px;
    --radius-sm: 6px;

    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-corps);
    color: var(--gris-fonce);
    line-height: 1.75;
    background-color: var(--blanc);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

a {
    color: var(--bleu-marine);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--or-dark);
}

::selection {
    background: var(--or);
    color: var(--bleu-marine-dark);
}

h1, h2, h3, h4 {
    font-family: var(--font-titre);
    color: var(--bleu-marine);
    line-height: 1.25;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ------------------------------------------------------------------
   2. Barre de progression & retour en haut (injectés par main.js)
------------------------------------------------------------------ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--or-dark), var(--or), var(--or-light));
    z-index: 2000;
    pointer-events: none;
    transition: transform 0.08s linear;
}

.back-to-top {
    position: fixed;
    right: 1.6rem;
    bottom: 1.6rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(197, 165, 90, 0.5);
    background: rgba(15, 26, 46, 0.88);
    color: var(--or);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 1500;
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--or);
    color: var(--bleu-marine-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-or);
}

/* ------------------------------------------------------------------
   3. Header / Navigation
------------------------------------------------------------------ */
.site-header {
    background: rgba(15, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(197, 165, 90, 0.25), var(--shadow-md);
    transition: var(--transition);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 74px;
    width: auto;
    display: block;
    transition: var(--transition);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.site-header.scrolled .logo-img {
    height: 56px;
}

.site-header.scrolled .header-top {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--blanc);
    font-family: var(--font-titre);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.logo-text span {
    color: var(--or);
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.logo-text span {
    color: var(--or);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--blanc);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

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

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
    justify-content: center;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.82);
    padding: 0.85rem 1.2rem;
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 0.45rem;
    height: 2px;
    background: linear-gradient(90deg, var(--or), var(--or-light));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.35s var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blanc);
}

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

/* ------------------------------------------------------------------
   4. Hero (accueil)
------------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: min(88vh, 780px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-image {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    animation: heroZoom 18s var(--ease-out) both;
}

@keyframes heroZoom {
    from { scale: 1.12; }
    to   { scale: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(197, 165, 90, 0.14) 0%, transparent 55%),
        linear-gradient(to bottom, rgba(15, 26, 46, 0.72) 0%, rgba(27, 42, 74, 0.82) 60%, rgba(15, 26, 46, 0.92) 100%);
    z-index: 2;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 60px,
        rgba(197, 165, 90, 0.03) 60px,
        rgba(197, 165, 90, 0.03) 120px
    );
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--blanc);
    max-width: 900px;
    padding: 4rem 2rem;
}

.hero-content::before {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    margin: 0 auto 1.6rem;
    background: linear-gradient(90deg, transparent, var(--or), transparent);
    animation: fadeUp 0.9s var(--ease-out) 0.15s both;
}

.hero h1 {
    color: var(--blanc);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    animation: fadeUp 0.9s var(--ease-out) 0.3s both;
}

.hero h1 span {
    color: var(--or);
    display: inline-block;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.4rem;
    font-family: var(--font-titre);
    font-style: italic;
    animation: fadeUp 0.9s var(--ease-out) 0.5s both;
}

.hero .tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.68);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    margin-bottom: 2.4rem;
    animation: fadeUp 0.9s var(--ease-out) 0.65s both;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--or), var(--or-dark));
    color: var(--bleu-marine-dark);
    padding: 1rem 2.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: fadeUp 0.9s var(--ease-out) 0.8s both;
    box-shadow: 0 6px 22px rgba(197, 165, 90, 0.35);
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s var(--ease-out);
}

.hero-btn:hover {
    color: var(--bleu-marine-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-or), 0 14px 34px rgba(197, 165, 90, 0.4);
}

.hero-btn:hover::before {
    left: 120%;
}

/* Indicateur de scroll (injecté par main.js) */
.scroll-indicator {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    cursor: pointer;
    animation: fadeUp 1s var(--ease-out) 1.3s both;
    transition: var(--transition);
}

.scroll-indicator:hover { color: var(--or); }

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    position: relative;
}

.scroll-indicator .mouse::after {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--or);
    animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

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

/* ------------------------------------------------------------------
   5. Page header (pages intérieures)
------------------------------------------------------------------ */
.page-header {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.page-header .hero-image {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    object-fit: cover;
    z-index: 1;
    animation: heroZoom 14s var(--ease-out) both;
}

.page-header .hero-overlay { z-index: 2; }

.page-header .hero-content {
    z-index: 3;
    padding: 3rem 2rem;
}

.page-header h1 {
    color: var(--blanc);
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin-bottom: 0.5rem;
    animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}

.page-header p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    font-family: var(--font-titre);
    font-style: italic;
    animation: fadeUp 0.8s var(--ease-out) 0.4s both;
    margin-bottom: 0;
}

/* ------------------------------------------------------------------
   6. Sections & révélations au scroll
------------------------------------------------------------------ */
.section {
    padding: 5.5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(197, 165, 90, 0.05) 0%, transparent 45%),
        var(--gris-clair);
}

.section-title {
    text-align: center;
    margin-bottom: 3.2rem;
}

.section-title h2,
.section-header h2,
.section-header-members h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.85rem;
}

.section-title h2::after,
.section-header h2::after,
.section-header-members h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--or-dark), var(--or), var(--or-light));
    transition: transform 0.7s var(--ease-out) 0.25s;
    transform-origin: center;
}

.is-visible .section-title h2::after,
.is-visible .section-header h2::after,
.is-visible .section-header-members h2::after,
.section-title.is-visible h2::after,
.section-header.is-visible h2::after,
.section-header-members.is-visible h2::after {
    transform: translateX(-50%) scaleX(1);
}

.section-title p {
    color: var(--gris-texte);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto 0;
    font-family: var(--font-titre);
    font-style: italic;
}

/* Éléments révélés par IntersectionObserver (classes posées par main.js) */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.8s var(--ease-out),
        transform 0.8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* Séparateur ornemental */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    width: 90px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--or));
}

.divider::after {
    background: linear-gradient(90deg, var(--or), transparent);
}

.divider span {
    color: var(--or);
    font-size: 0.8rem;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--or), transparent);
}

.section-divider span {
    font-family: var(--font-titre);
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--or);
    white-space: nowrap;
}

/* ------------------------------------------------------------------
   7. Blocs de contenu
------------------------------------------------------------------ */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block h3 {
    margin-top: 2.2rem;
    padding-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.content-block h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--or), rgba(197, 165, 90, 0.15));
    border-radius: 2px;
}

.content-block p {
    text-align: justify;
    font-size: 1.04rem;
    color: var(--gris-texte);
}

.content-block ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
    font-size: 1.04rem;
    color: var(--gris-texte);
}

.highlight-box {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(197, 165, 90, 0.16) 0%, transparent 50%),
        linear-gradient(135deg, var(--bleu-marine-dark), var(--bleu-marine));
    color: var(--blanc);
    padding: 2.6rem 2.8rem;
    margin: 2.4rem 0;
    border-left: 4px solid var(--or);
    border-radius: 0 var(--radius) var(--radius) 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.highlight-box::before {
    content: '§';
    position: absolute;
    right: 1.2rem;
    top: 0.4rem;
    font-family: var(--font-titre);
    font-size: 5.5rem;
    line-height: 1;
    color: rgba(197, 165, 90, 0.12);
    pointer-events: none;
}

.highlight-box h3 {
    color: var(--or);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* ------------------------------------------------------------------
   8. Timeline animée
------------------------------------------------------------------ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--or-light), var(--or), var(--or-dark));
    transform: scaleY(0);
    transform-origin: 0 0;
    transition: transform 1.6s var(--ease-out);
}

.timeline.is-visible::before {
    transform: scaleY(1);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.2rem;
    padding: 1.4rem 1.6rem;
    background: var(--blanc);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gris);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover {
    border-color: rgba(197, 165, 90, 0.55);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.55rem;
    top: 1.7rem;
    width: 13px;
    height: 13px;
    background: var(--or);
    border-radius: 50%;
    border: 3px solid var(--blanc);
    box-shadow: 0 0 0 2px var(--or), 0 0 14px rgba(197, 165, 90, 0.5);
}

.timeline-item .year {
    font-weight: 700;
    color: var(--bleu-marine);
    font-size: 1.25rem;
    font-family: var(--font-titre);
    display: inline-block;
    margin-bottom: 0.3rem;
}

.timeline-item .year::after {
    content: '';
    display: block;
    width: 34px;
    height: 2px;
    background: var(--or);
    margin-top: 0.25rem;
    border-radius: 2px;
}

.timeline-item p {
    color: var(--gris-texte);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ------------------------------------------------------------------
   9. Stats bar
------------------------------------------------------------------ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(197, 165, 90, 0.18) 0%, transparent 60%),
        linear-gradient(135deg, var(--bleu-marine-dark), var(--bleu-marine));
    color: var(--blanc);
    text-align: center;
    border-top: 1px solid rgba(197, 165, 90, 0.4);
    border-bottom: 1px solid rgba(197, 165, 90, 0.25);
    position: relative;
}

/* Variante Partenaires : stats dans un container flex */
.stats-bar > .container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.stat-item {
    padding: 2.8rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.stats-bar .container .stat-item {
    border-right: none;
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
    background: rgba(197, 165, 90, 0.07);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--or);
    font-family: var(--font-titre);
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 14px rgba(197, 165, 90, 0.35);
}

.stat-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.68);
}

/* ------------------------------------------------------------------
   10. Cartes génériques / actualités / veille
------------------------------------------------------------------ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.card,
.news-card {
    background: var(--blanc);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gris);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.card:hover,
.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: rgba(197, 165, 90, 0.55);
}

.card-image,
.news-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image::after,
.news-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 26, 46, 0.35), transparent 55%);
    opacity: 0;
    transition: var(--transition);
}

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

.card-image img,
.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.card:hover .card-image img,
.news-card:hover .news-card-image img {
    transform: scale(1.07);
}

.card-body,
.news-card-body {
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-body h3,
.news-card-body h3 {
    font-size: 1.25rem;
    margin: 0.4rem 0 0.5rem;
}

.card-body p,
.news-card-body p {
    color: var(--gris-texte);
    font-size: 0.95rem;
}

.card-tag {
    display: inline-block;
    background: var(--or-pale);
    color: var(--or-dark);
    border: 1px solid rgba(197, 165, 90, 0.35);
    padding: 0.2rem 0.8rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    font-weight: 600;
    border-radius: 999px;
}

.news-date {
    color: var(--or-dark);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--bleu-marine);
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: auto;
    padding-top: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.read-more::after {
    content: '→';
    transition: transform 0.3s var(--ease-out);
}

.read-more:hover {
    color: var(--or-dark);
    text-decoration: none;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* ------------------------------------------------------------------
   11. Membres — grille et cartes
------------------------------------------------------------------ */
.members-section { padding: 4rem 0; }
.members-section:nth-child(even) { background: var(--gris-clair); }

.section-header-members {
    text-align: center;
    margin-bottom: 2.8rem;
}

.section-header-members p {
    color: var(--gris-texte);
    margin: 0.6rem auto 0;
    max-width: 600px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.8rem;
}

.members-grid.direction {
    grid-template-columns: repeat(auto-fit, minmax(230px, 260px));
    justify-content: center;
}

.member-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.member-card {
    background: var(--blanc);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gris);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    height: 100%;
}

.member-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--or-dark), var(--or), var(--or-light));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.45s var(--ease-out);
}

.member-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-7px);
    border-color: rgba(197, 165, 90, 0.5);
}

.member-card:hover::after {
    transform: scaleX(1);
}

.member-photo {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8ecf4, #d0d8e8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.7s var(--ease-out), filter 0.7s var(--ease-out);
}

.member-card:hover .member-photo img {
    transform: scale(1.07);
}

.member-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--bleu-marine);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titre);
    font-size: 2rem;
    font-weight: 700;
    color: var(--or);
    letter-spacing: 0.05em;
    box-shadow: inset 0 0 0 2px rgba(197, 165, 90, 0.4);
}

.member-info { padding: 1.2rem 1.2rem 1.5rem; }

.member-info h3 {
    font-size: 1.12rem;
    margin-bottom: 0.25rem;
    color: var(--bleu-marine);
}

.member-title {
    color: var(--or-dark);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.member-specialty {
    color: var(--gris-texte);
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 0;
}

.member-publications {
    font-size: 0.8rem;
    color: var(--gris-texte);
    text-align: left;
    border-top: 1px solid var(--gris);
    padding-top: 0.8rem;
    margin-top: 0.5rem;
}

.member-publications strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--bleu-marine);
}

.direction-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: linear-gradient(135deg, var(--or), var(--or-dark));
    color: var(--bleu-marine-dark);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------------
   12. Profils membres (pages individuelles)
------------------------------------------------------------------ */
.profil-hero {
    background:
        radial-gradient(ellipse at 85% 10%, rgba(197, 165, 90, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--bleu-marine-dark) 0%, var(--bleu-marine) 100%);
    padding: 3.5rem 0 0;
    position: relative;
    overflow: hidden;
}

.profil-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 50px,
        rgba(197, 165, 90, 0.03) 50px,
        rgba(197, 165, 90, 0.03) 100px
    );
    pointer-events: none;
}

.profil-hero-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-end;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.profil-photo-wrap {
    flex-shrink: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.15s both;
}

.profil-photo {
    width: 200px;
    height: 240px;
    object-fit: cover;
    object-position: top;
    border: 4px solid var(--or);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    display: block;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.3);
}

.profil-photo-fallback,
.profil-avatar {
    width: 200px;
    height: 240px;
    background: var(--bleu-marine-light);
    border: 4px solid var(--or);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titre);
    font-size: 4rem;
    font-weight: 700;
    color: var(--or);
    flex-shrink: 0;
}

.profil-intro {
    padding-bottom: 2.2rem;
    animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}

.profil-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--or), var(--or-dark));
    color: var(--bleu-marine-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.28rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.profil-intro h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: #fff;
    margin-bottom: 0.3rem;
}

.profil-poste,
.profil-intro .profil-poste {
    color: var(--or-light);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.profil-institution,
.profil-intro .profil-institution {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.profil-body {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.profil-section {
    margin-bottom: 2.6rem;
}

.profil-section h2 {
    font-size: 1.4rem;
    color: var(--bleu-marine);
    padding-bottom: 0.4rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    position: relative;
}

.profil-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--or), rgba(197, 165, 90, 0.15));
    border-radius: 2px;
}

.profil-resume {
    background: var(--gris-clair);
    border-left: 4px solid var(--or);
    padding: 1.6rem 2rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--gris-fonce);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.cv-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    align-items: baseline;
    padding: 0.35rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cv-item:hover {
    background: var(--or-pale);
}

.cv-year {
    font-family: var(--font-titre);
    font-weight: 700;
    color: var(--or-dark);
    font-size: 0.9rem;
    min-width: 70px;
    flex-shrink: 0;
}

.cv-content {
    font-size: 0.92rem;
    color: var(--gris-fonce);
    line-height: 1.55;
}

.cv-content strong { color: var(--bleu-marine); }

.publi-item {
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--gris);
    font-size: 0.9rem;
    line-height: 1.55;
    transition: var(--transition);
}

.publi-item:hover {
    background: var(--or-pale);
}

.publi-item:last-child { border-bottom: 0; }

.publi-item .publi-meta {
    color: var(--gris-texte);
    font-style: italic;
}

.enseignement-list { list-style: none; }

.enseignement-bloc {
    background: var(--gris-clair);
    border: 1px solid var(--gris);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.enseignement-bloc:hover {
    border-color: rgba(197, 165, 90, 0.5);
    box-shadow: var(--shadow-sm);
}

.enseignement-bloc h4 {
    color: var(--bleu-marine);
    margin-bottom: 0.5rem;
}

.enseignement-bloc ul {
    margin-left: 1.2rem;
}

.enseignement-bloc ul li {
    font-size: 0.9rem;
    color: var(--gris-texte);
    margin-bottom: 0.25rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--or-dark);
    font-size: 0.85rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: gap 0.25s var(--ease-out), color 0.25s;
}

.back-link:hover {
    gap: 0.75rem;
    color: var(--bleu-marine);
}

/* ------------------------------------------------------------------
   13. Activités & publications (listes)
------------------------------------------------------------------ */
.activity-list {
    max-width: 900px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    gap: 2rem;
    padding: 1.6rem 1.2rem;
    border-bottom: 1px solid var(--gris);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.activity-item:hover {
    background: var(--blanc);
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
    transform: translateX(6px);
}

.activity-date {
    flex-shrink: 0;
    width: 100px;
    text-align: center;
}

.activity-date .day {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bleu-marine);
    line-height: 1;
    font-family: var(--font-titre);
}

.activity-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--or-dark);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.activity-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.activity-content p {
    font-size: 0.95rem;
    color: var(--gris-texte);
    margin-bottom: 0;
}

.activity-type {
    display: inline-block;
    background: var(--bleu-marine);
    color: var(--blanc);
    padding: 0.18rem 0.7rem;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    border-radius: 999px;
}

.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    padding: 1.3rem 1.2rem;
    border-bottom: 1px solid var(--gris);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.publication-item:hover {
    border-left-color: var(--or);
    background: var(--blanc);
    box-shadow: var(--shadow-sm);
}

.publication-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.publication-item .authors {
    color: var(--or-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.publication-item .journal {
    color: var(--gris-texte);
    font-size: 0.9rem;
    font-style: italic;
}

/* Jurisprudence */
.case-list {
    max-width: 900px;
    margin: 0 auto;
}

.case-item {
    padding: 1.3rem 1.2rem;
    border-bottom: 1px solid var(--gris);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.case-item:hover {
    border-left-color: var(--or);
    background: var(--blanc);
    box-shadow: var(--shadow-sm);
}

.case-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

/* ------------------------------------------------------------------
   14. Pages articles / veille
------------------------------------------------------------------ */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--gris-texte);
    margin-bottom: 0.8rem;
}

.breadcrumb a {
    color: var(--or-dark);
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--bleu-marine);
}

.post-meta {
    font-size: 0.85rem;
    color: var(--or-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.post-content {
    max-width: 860px;
    margin: 0 auto;
}

.post-content h2 {
    margin-top: 2rem;
    font-size: 1.6rem;
    position: relative;
    padding-left: 1rem;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    bottom: 0.25em;
    width: 4px;
    border-radius: 2px;
    background: linear-gradient(to bottom, var(--or), var(--or-dark));
}

.post-content p {
    color: var(--gris-texte);
    line-height: 1.85;
    font-size: 1.02rem;
    text-align: justify;
}

.post-lead-image {
    margin: 1.4rem 0 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.post-lead-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-link { color: var(--bleu-marine); }
.post-link:hover { color: var(--or-dark); }

.post-actions {
    max-width: 860px;
    margin: 2.5rem auto 0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border: 1px solid var(--gris);
    border-radius: var(--radius-sm);
    color: var(--bleu-marine);
    font-weight: 600;
    transition: var(--transition);
    background: var(--blanc);
}

.btn-secondary:hover {
    border-color: var(--or);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--or-dark);
}

/* ------------------------------------------------------------------
   15. Partenaires
------------------------------------------------------------------ */
.partners-intro {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(197, 165, 90, 0.14) 0%, transparent 55%),
        linear-gradient(135deg, var(--bleu-marine-dark) 0%, var(--bleu-marine) 60%, #1e3a5f 100%);
    padding: 3.2rem 0 2.2rem;
    position: relative;
    overflow: hidden;
}

.partners-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(197, 165, 90, 0.04) 40px,
        rgba(197, 165, 90, 0.04) 80px
    );
}

.partners-intro .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.partners-intro-text p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    max-width: 650px;
    margin-bottom: 0;
}

.partners-intro-badge {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border: 2px solid var(--or);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(197, 165, 90, 0.25);
}

.partners-intro-badge svg {
    width: 34px;
    height: 34px;
    fill: var(--or);
}

.partners-section { padding: 4.2rem 0; }
.partners-section:nth-child(even) { background: var(--gris-clair); }

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

.section-header p {
    color: var(--gris-texte);
    margin: 0.8rem auto 0;
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 0;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.8rem;
}

.logos-grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
    justify-content: center;
    gap: 1.8rem;
}

.logo-card {
    background: var(--blanc);
    border: 1px solid var(--gris);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--or-dark), var(--or), var(--or-light));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.45s var(--ease-out);
    z-index: 1;
}

.logo-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(197, 165, 90, 0.55);
}

.logo-card:hover::before {
    transform: scaleX(1);
}

.logo-frame {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(244, 245, 247, 0.6), rgba(255, 255, 255, 1));
    border-bottom: 1px solid var(--gris);
}

.logo-frame img {
    max-height: 90px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out);
}

.logo-card:hover .logo-frame img {
    transform: scale(1.06);
}

.logo-fallback {
    font-family: var(--font-titre);
    font-weight: 700;
    color: var(--bleu-marine);
    font-size: 1.3rem;
    text-align: center;
}

.logo-fallback small {
    display: block;
    color: var(--gris-texte);
    font-family: var(--font-corps);
    font-size: 0.75rem;
    font-weight: 400;
}

.logo-label {
    padding: 1rem 1.2rem 1.2rem;
    text-align: center;
}

.logo-label span {
    display: block;
    font-weight: 600;
    color: var(--bleu-marine);
    font-size: 0.92rem;
    line-height: 1.4;
}

.logo-label small {
    display: block;
    color: var(--gris-texte);
    font-size: 0.78rem;
    margin-top: 0.25rem;
}

.logo-card .ext-icon {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--or-pale);
    color: var(--or-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0;
    transition: var(--transition);
}

.logo-card:hover .ext-icon {
    opacity: 1;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.partner {
    background: var(--blanc);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gris);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--bleu-marine);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.partner:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(197, 165, 90, 0.55);
}

.partner-card {
    background: var(--blanc);
    border: 1px solid var(--gris);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(197, 165, 90, 0.6);
}

.partner-logo {
    display: block;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(244, 245, 247, 0.6), rgba(255, 255, 255, 1));
    border-bottom: 1px solid var(--gris);
}

.partner-svg {
    width: 100%;
    height: auto;
    display: block;
}

.partner-meta {
    padding: 1rem 1rem 1.2rem;
    text-align: center;
}

.partner-name {
    display: inline-block;
    font-family: var(--font-titre);
    font-weight: 700;
    color: var(--bleu-marine);
}

.partner-name:hover { color: var(--or-dark); }

.cta-partenariat {
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(197, 165, 90, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, var(--bleu-marine-dark), var(--bleu-marine));
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(197, 165, 90, 0.3);
}

.cta-partenariat h3 {
    color: var(--or);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.cta-partenariat p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 1.6rem;
}

.btn-or {
    display: inline-block;
    background: linear-gradient(135deg, var(--or), var(--or-dark));
    color: var(--bleu-marine-dark);
    padding: 0.85rem 2.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    border-radius: 3px;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(197, 165, 90, 0.3);
}

.btn-or:hover {
    color: var(--bleu-marine-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-or);
}

/* ------------------------------------------------------------------
   16. Contact
------------------------------------------------------------------ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--bleu-marine);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gris);
    font-family: var(--font-corps);
    font-size: 1rem;
    margin-bottom: 1.2rem;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    background: var(--blanc);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--or);
    box-shadow: 0 0 0 4px rgba(197, 165, 90, 0.18);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    background: linear-gradient(135deg, var(--bleu-marine), var(--bleu-marine-light));
    color: var(--blanc);
    padding: 0.95rem 2.6rem;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-info-block {
    padding: 2.2rem;
    background: var(--gris-clair);
    border-radius: var(--radius);
    border: 1px solid var(--gris);
}

.contact-info-block h3 { margin-bottom: 1.5rem; }

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

.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--bleu-marine-dark), var(--bleu-marine));
    color: var(--or);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.contact-detail p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-detail strong { color: var(--bleu-marine); }

.map-container { margin-top: 3rem; }

.map-container iframe {
    width: 100%;
    height: 380px;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    filter: grayscale(35%);
    transition: filter 0.5s ease;
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

/* ------------------------------------------------------------------
   17. Footer
------------------------------------------------------------------ */
.site-footer {
    background:
        radial-gradient(ellipse at 15% 0%, rgba(197, 165, 90, 0.07) 0%, transparent 50%),
        var(--bleu-nuit);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(197, 165, 90, 0.35);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--or), transparent);
    opacity: 0.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-col h4 {
    color: var(--or);
    font-size: 1rem;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-corps);
    font-weight: 600;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.45rem; }

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    padding-left: 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--or);
    padding-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 2rem 0;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------------------------------------------
   18. Responsive
------------------------------------------------------------------ */
@media (max-width: 900px) {
    .profil-hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .profil-intro { padding-bottom: 2rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 26, 46, 0.98);
        backdrop-filter: blur(14px);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.45s var(--ease-out);
    }

    .main-nav.open {
        max-height: 420px;
        border-bottom: 2px solid var(--or);
    }

    .main-nav ul { flex-direction: column; }

    .main-nav a {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav a::after { display: none; }

    .logo-text { font-size: 1.02rem; }
    .logo-subtitle { font-size: 0.62rem; }
    .logo-img { height: 58px; }

    .hero { min-height: 78vh; }
    .hero h1 { font-size: 2rem; }
    .hero .subtitle { font-size: 1.1rem; }
    .hero .tagline { letter-spacing: 0.18em; }

    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.55rem; }

    .section { padding: 3.5rem 0; }

    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 1.8rem 1rem; }
    .stat-item:nth-child(2) { border-right: none; }
    .stats-bar .container { gap: 2rem; }

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

    .activity-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .activity-date {
        text-align: left;
        display: flex;
        gap: 0.5rem;
        align-items: baseline;
        width: auto;
    }

    .members-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
    .news-grid { grid-template-columns: 1fr; }
    .page-header { min-height: 260px; }

    .partners-intro .container {
        flex-direction: column;
        text-align: center;
    }

    .timeline { padding-left: 2.4rem; }
    .timeline-item::before { left: -1.95rem; }

    .highlight-box { padding: 2rem 1.6rem; }
}

@media (max-width: 640px) {
    .logos-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .logos-grid-2col { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    .members-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .members-grid.direction { grid-template-columns: repeat(auto-fit, minmax(180px, 220px)); }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }

    .hero { min-height: 70vh; }
    .hero h1 { font-size: 1.7rem; }

    .stats-bar { grid-template-columns: 1fr; }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

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

    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 42px;
        height: 42px;
    }
}

/* --- News grid (libre.html) --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

/* ------------------------------------------------------------------
   19. Composants éditoriaux (accueil)
------------------------------------------------------------------ */

/* Trois piliers du régime */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin: 2.2rem 0 2.8rem;
}

.pillar-card {
    background: var(--blanc);
    border: 1px solid var(--gris);
    border-top: 3px solid var(--or);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 165, 90, 0.55);
    border-top-color: var(--or);
}

.pillar-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--or-pale);
    border: 1px solid rgba(197, 165, 90, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titre);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--or-dark);
}

.pillar-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.pillar-sub {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--or-dark);
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--gris-texte);
    margin-bottom: 0;
    text-align: center;
}

/* Spécificités numérotées */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.4rem;
    margin: 2rem 0 2.6rem;
}

.spec-item {
    display: flex;
    gap: 1.2rem;
    background: var(--blanc);
    border: 1px solid var(--gris);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.spec-item:hover {
    border-color: rgba(197, 165, 90, 0.55);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.spec-num {
    font-family: var(--font-titre);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--or);
    flex-shrink: 0;
    min-width: 2.2rem;
    text-shadow: 0 2px 10px rgba(197, 165, 90, 0.3);
}

.spec-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.spec-item p {
    font-size: 0.9rem;
    color: var(--gris-texte);
    margin-bottom: 0;
    text-align: left;
}

.spec-item .ref {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--or-dark);
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Panneau comparatif deux logiques */
.vs-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 2.2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--gris);
}

.vs-col {
    padding: 2.2rem 2rem;
}

.vs-col h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.vs-col .vs-sub {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vs-col ul {
    list-style: none;
    margin: 0;
}

.vs-col li {
    font-size: 0.92rem;
    padding: 0.45rem 0 0.45rem 1.4rem;
    position: relative;
}

.vs-col li::before {
    content: '›';
    position: absolute;
    left: 0.2rem;
    font-weight: 700;
}

.vs-europe {
    background: var(--gris-clair);
}

.vs-europe h4 { color: var(--bleu-marine); }
.vs-europe .vs-sub { color: var(--bleu-marine-light); }
.vs-europe li { color: var(--gris-texte); }
.vs-europe li::before { color: var(--bleu-marine-light); }

.vs-etat {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(197, 165, 90, 0.14) 0%, transparent 55%),
        linear-gradient(135deg, var(--bleu-marine-dark), var(--bleu-marine));
}

.vs-etat h4 { color: var(--or); }
.vs-etat .vs-sub { color: var(--or-light); }
.vs-etat li { color: rgba(255, 255, 255, 0.85); }
.vs-etat li::before { color: var(--or); }

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--or);
    color: var(--bleu-marine-dark);
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.85), var(--shadow-md);
    z-index: 2;
}

/* Encadré jurisprudence */
.jurisprudence-note {
    display: flex;
    gap: 1.4rem;
    background: var(--gris-clair);
    border-left: 4px solid var(--or);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.6rem 1.8rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
}

.jurisprudence-note .juris-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--bleu-marine);
    color: var(--or);
    font-family: var(--font-titre);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.jurisprudence-note h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--or-dark);
    font-family: var(--font-corps);
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.jurisprudence-note p {
    font-size: 0.95rem;
    color: var(--gris-fonce);
    margin-bottom: 0;
    text-align: left;
}

.jurisprudence-note .juris-ref {
    font-style: italic;
    color: var(--bleu-marine);
    font-weight: 600;
}

/* Cartes enjeux (sans image) */
.enjeu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin: 2rem 0 1rem;
}

.enjeu-card {
    background: var(--blanc);
    border: 1px solid var(--gris);
    border-radius: var(--radius);
    padding: 1.7rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.enjeu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--or-dark), var(--or), var(--or-light));
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.45s var(--ease-out);
}

.enjeu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 165, 90, 0.55);
}

.enjeu-card:hover::before { transform: scaleX(1); }

.enjeu-tag {
    display: inline-block;
    background: var(--or-pale);
    color: var(--or-dark);
    border: 1px solid rgba(197, 165, 90, 0.35);
    padding: 0.18rem 0.75rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}

.enjeu-card h4 {
    font-size: 1.12rem;
    margin-bottom: 0.5rem;
}

.enjeu-card p {
    font-size: 0.9rem;
    color: var(--gris-texte);
    margin-bottom: 0;
    text-align: left;
}

/* Grille missions (équipe dédiée) */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin: 2.2rem 0;
}

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

.mission-card {
    background: var(--blanc);
    border: 1px solid var(--gris);
    border-radius: var(--radius);
    padding: 1.8rem 1.7rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 165, 90, 0.55);
}

.mission-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--bleu-marine-dark), var(--bleu-marine));
    color: var(--or);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-family: var(--font-titre);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.mission-card h4 {
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
}

.mission-card p {
    font-size: 0.9rem;
    color: var(--gris-texte);
    margin-bottom: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .vs-panel { grid-template-columns: 1fr; }
    .vs-badge {
        top: auto;
        bottom: auto;
        left: 50%;
    }
    .spec-grid { grid-template-columns: 1fr; }
}

/* ==================================================================
   20. Accueil « premier plan » (body.home-premier)
   CSS de la nouvelle page d'accueil, scopée pour ne pas affecter
   les autres pages. Bloc 1 : neutralisation des styles globaux.
   ================================================================== */
body.home-premier .site-header { position: relative; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.home-premier .main-nav a::after { transform: none; transition: none; left: 0; right: 0; background: var(--gold, #b79a5c); }
body.home-premier .main-nav a:not([aria-current="page"])::after { display: none; }
body.home-premier .hero { justify-content: normal; text-align: left; isolation: auto; height: auto; }
body.home-premier .hero h1 { text-shadow: none; animation: none; }
body.home-premier h1, body.home-premier h2, body.home-premier h3, body.home-premier h4 { color: inherit; }
body.home-premier .site-footer { border-top: none; }
body.home-premier .site-footer::before { display: none; }
body.home-premier .footer-bottom { text-align: left; margin-top: 58px; }
body.home-premier a:hover { color: inherit; }
@media (max-width: 768px) {
  body.home-premier .main-nav { position: static; max-height: none; overflow: visible; background: transparent; box-shadow: none; display: flex; }
  body.home-premier .main-nav.open { max-height: none; border-bottom: none; }
}

/* Bloc 2 : styles de la page (issus du ZIP, préfixés) */
body.home-premier {
  --ink: #07131f;
  --ink-soft: #102435;
  --paper: #f3f0e9;
  --white: #ffffff;
  --gold: #b79a5c;
  --gold-light: #d8c599;
  --blue: #2f5875;
  --line: rgba(7, 19, 31, 0.16);
  --muted: #5d6872;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --shell: 1240px;
}
body.home-premier {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.home-premier img { display: block; max-width: 100%; }
body.home-premier a { color: inherit; }
body.home-premier .shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
body.home-premier .skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
body.home-premier .skip-link:focus { transform: translateY(0); }
body.home-premier .utility-bar { background: #030b12; color: rgba(255,255,255,.72); font-size: .75rem; letter-spacing: .04em; }
body.home-premier .utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
body.home-premier .utility-inner p { margin: 0; }
body.home-premier .utility-inner a { color: var(--gold-light); text-decoration: none; }
body.home-premier .site-header { background: var(--ink); color: #fff; position: relative; z-index: 10; }
body.home-premier .masthead { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
body.home-premier .brand { display: flex; align-items: center; gap: 17px; text-decoration: none; min-width: 320px; }
body.home-premier .brand-mark { width: 72px; height: 72px; object-fit: contain; }
body.home-premier .brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
body.home-premier .brand-copy strong { font-family: var(--serif); font-size: 1.65rem; letter-spacing: .055em; }
body.home-premier .brand-copy span { margin-top: 5px; max-width: 360px; color: rgba(255,255,255,.68); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
body.home-premier .main-nav { display: flex; align-items: center; gap: 30px; }
body.home-premier .main-nav a { position: relative; padding: 46px 0 40px; color: rgba(255,255,255,.74); font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
body.home-premier .main-nav a:hover, body.home-premier .main-nav a[aria-current="page"] { color: #fff; }
body.home-premier .main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 28px; height: 2px; background: var(--gold); }
body.home-premier .hero { min-height: 660px; position: relative; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--ink); }
body.home-premier .hero-media { position: absolute; inset: 0; background-image: url("../img/Porte-avion-CDG.jpg"); background-size: cover; background-position: center 45%; transform: scale(1.015); }
body.home-premier .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,11,18,.94) 0%, rgba(3,11,18,.80) 40%, rgba(3,11,18,.28) 74%, rgba(3,11,18,.12) 100%), linear-gradient(0deg, rgba(3,11,18,.55), transparent 60%); }
body.home-premier .hero-inner { position: relative; z-index: 2; padding-block: 106px 76px; display: grid; grid-template-columns: minmax(0, 790px) 320px; align-items: end; justify-content: space-between; gap: 64px; }
body.home-premier .eyebrow { margin: 0 0 20px; color: var(--gold-light); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
body.home-premier .eyebrow.dark { color: #7d642c; }
body.home-premier .hero h1 { margin: 0; max-width: 850px; font-family: var(--serif); font-size: clamp(3.2rem, 5.5vw, 5.7rem); font-weight: 600; letter-spacing: -.035em; line-height: .99; text-wrap: balance; }
body.home-premier .hero-lead { max-width: 690px; margin: 30px 0 0; color: rgba(255,255,255,.76); font-family: var(--serif); font-size: 1.28rem; line-height: 1.55; }
body.home-premier .hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
body.home-premier .button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border: 1px solid transparent; font-size: .76rem; font-weight: 700; letter-spacing: .075em; text-decoration: none; text-transform: uppercase; transition: .2s ease; }
body.home-premier .button-primary { background: var(--gold); color: #07131f; }
body.home-premier .button-primary:hover { background: var(--gold-light); }
body.home-premier .button-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
body.home-premier .button-ghost:hover { background: #fff; color: var(--ink); }
body.home-premier .button-dark { background: var(--ink); color: #fff; }
body.home-premier .button-dark:hover { background: var(--ink-soft); }
body.home-premier .hero-note { padding: 28px 0 5px 28px; border-left: 1px solid rgba(255,255,255,.35); }
body.home-premier .note-kicker { color: var(--gold-light); font-size: .71rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
body.home-premier .hero-note p { margin: 14px 0 18px; color: rgba(255,255,255,.78); font-family: var(--serif); font-size: 1.06rem; line-height: 1.55; }
body.home-premier .hero-note a { color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
body.home-premier .metrics { background: #fff; border-bottom: 1px solid var(--line); }
body.home-premier .metric-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.7fr; }
body.home-premier .metric { min-height: 122px; padding: 29px 28px; display: flex; align-items: baseline; gap: 13px; border-left: 1px solid var(--line); }
body.home-premier .metric:last-child { border-right: 1px solid var(--line); }
body.home-premier .metric strong { font-family: var(--serif); font-size: 2.45rem; font-weight: 600; line-height: 1; }
body.home-premier .metric span { color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
body.home-premier .section { padding-block: 112px; }
body.home-premier .split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 105px; }
body.home-premier h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 4.25rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
body.home-premier .prose { max-width: 670px; }
body.home-premier .prose p { margin: 0 0 22px; color: #3b4852; }
body.home-premier .prose .lead { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; line-height: 1.55; }
body.home-premier .text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-size: .76rem; font-weight: 700; letter-spacing: .065em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
body.home-premier .text-link:hover span { transform: translateX(4px); }
body.home-premier .text-link span { transition: transform .2s ease; }
body.home-premier .section-ink { background: var(--ink); color: #fff; }
body.home-premier .section-heading { margin-bottom: 52px; display: flex; align-items: end; justify-content: space-between; gap: 48px; }
body.home-premier .section-heading > div { max-width: 780px; }
body.home-premier .section-heading > p { max-width: 390px; margin: 0; color: var(--muted); }
body.home-premier .section-heading.inverse > p { color: rgba(255,255,255,.56); }
body.home-premier .area-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
body.home-premier .area-card { min-height: 330px; padding: 34px 30px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); transition: background .2s ease, transform .2s ease; }
body.home-premier .area-card:hover { background: rgba(255,255,255,.045); transform: translateY(-4px); }
body.home-premier .area-index { color: var(--gold); font-family: var(--serif); font-size: 1.3rem; }
body.home-premier .area-card h3 { margin: 90px 0 16px; font-family: var(--serif); font-size: 1.62rem; font-weight: 600; line-height: 1.18; }
body.home-premier .area-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .92rem; }
body.home-premier .featured { background: #fff; }
body.home-premier .publication-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 58px; }
body.home-premier .publication-main { border: 1px solid var(--line); background: var(--paper); }
body.home-premier .publication-image { display: block; overflow: hidden; aspect-ratio: 16/9; }
body.home-premier .publication-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
body.home-premier .publication-main:hover .publication-image img { transform: scale(1.025); }
body.home-premier .publication-body { padding: 34px 36px 38px; }
body.home-premier .publication-meta { margin: 0 0 13px; color: #876d32; font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
body.home-premier .publication-card h3, body.home-premier .publication-row h3 { margin: 0; font-family: var(--serif); font-size: 1.85rem; font-weight: 600; line-height: 1.23; }
body.home-premier .publication-card h3 a, body.home-premier .publication-row h3 a { text-decoration: none; }
body.home-premier .publication-body > p:not(.publication-meta) { color: var(--muted); margin: 18px 0 25px; }
body.home-premier .publication-list { border-top: 1px solid var(--line); }
body.home-premier .publication-row { padding: 30px 0 33px; border-bottom: 1px solid var(--line); }
body.home-premier .publication-row h3 { font-size: 1.38rem; }
body.home-premier .publication-row h3 a:hover { color: var(--blue); }
body.home-premier .team-preview { background: #e9e4da; }
body.home-premier .team-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
body.home-premier .team-copy p:not(.eyebrow) { margin: 25px 0 31px; max-width: 560px; color: var(--muted); }
body.home-premier .portrait-stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
body.home-premier .portrait-stack img { width: 100%; aspect-ratio: .78; object-fit: cover; filter: grayscale(100%); border: 5px solid rgba(255,255,255,.65); }
body.home-premier .portrait-stack img:nth-child(2), body.home-premier .portrait-stack img:nth-child(4) { transform: translateY(22px); }
body.home-premier .partners-band { padding-block: 80px; background: #fff; }
body.home-premier .partner-inner { display: grid; grid-template-columns: 1fr 1.15fr auto; gap: 60px; align-items: center; }
body.home-premier .partner-inner h2 { font-size: 2.45rem; }
body.home-premier .partner-logos { display: flex; align-items: center; justify-content: center; gap: 38px; }
body.home-premier .partner-logos img { max-width: 250px; max-height: 86px; object-fit: contain; }
body.home-premier .site-footer { background: #030b12; color: rgba(255,255,255,.66); padding: 72px 0 24px; }
body.home-premier .footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 80px; }
body.home-premier .footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
body.home-premier .footer-grid p { margin: 0 0 10px; max-width: 450px; }
body.home-premier .footer-grid a { margin-bottom: 7px; color: rgba(255,255,255,.66); text-decoration: none; }
body.home-premier .footer-grid a:hover { color: #fff; }
body.home-premier .footer-brand { color: #fff; font-family: var(--serif); font-size: 1.75rem; letter-spacing: .05em; }
body.home-premier .footer-title { color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.home-premier .footer-bottom { margin-top: 58px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 20px; font-size: .73rem; }
@media (max-width: 1050px) {
body.home-premier .masthead { align-items: flex-start; flex-direction: column; padding-block: 26px 18px; }
body.home-premier .main-nav { width: 100%; flex-wrap: wrap; gap: 20px 26px; }
body.home-premier .main-nav a { padding: 8px 0; }
body.home-premier .main-nav a[aria-current="page"]::after { bottom: 0; }
body.home-premier .hero-inner { grid-template-columns: 1fr; }
body.home-premier .hero-note { max-width: 480px; }
body.home-premier .metric-grid { grid-template-columns: repeat(2, 1fr); }
body.home-premier .metric { border-bottom: 1px solid var(--line); }
body.home-premier .split-layout, body.home-premier .team-layout, body.home-premier .publication-grid { grid-template-columns: 1fr; gap: 48px; }
body.home-premier .area-grid { grid-template-columns: repeat(2, 1fr); }
body.home-premier .partner-inner { grid-template-columns: 1fr; }
body.home-premier .partner-logos { justify-content: flex-start; }
}
@media (max-width: 680px) {
body.home-premier .shell { width: min(calc(100% - 28px), var(--shell)); }
body.home-premier .utility-bar { display: none; }
body.home-premier .brand { min-width: 0; }
body.home-premier .brand-mark { width: 58px; height: 58px; }
body.home-premier .brand-copy strong { font-size: 1.35rem; }
body.home-premier .brand-copy span { font-size: .62rem; }
body.home-premier .main-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
body.home-premier .hero { min-height: 720px; }
body.home-premier .hero-inner { padding-block: 76px 50px; }
body.home-premier .hero h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
body.home-premier .hero-lead { font-size: 1.1rem; }
body.home-premier .hero-actions { flex-direction: column; align-items: stretch; }
body.home-premier .metric-grid { grid-template-columns: 1fr 1fr; }
body.home-premier .metric { min-height: 105px; padding: 22px 18px; flex-direction: column; gap: 7px; }
body.home-premier .metric strong { font-size: 2rem; }
body.home-premier .metric-wide { grid-column: 1 / -1; }
body.home-premier .section { padding-block: 76px; }
body.home-premier .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
body.home-premier h2 { font-size: clamp(2.3rem, 11vw, 3.3rem); }
body.home-premier .area-grid { grid-template-columns: 1fr; }
body.home-premier .area-card { min-height: 245px; }
body.home-premier .area-card h3 { margin-top: 52px; }
body.home-premier .publication-body { padding: 26px 22px 30px; }
body.home-premier .portrait-stack { grid-template-columns: repeat(2, 1fr); }
body.home-premier .portrait-stack img:nth-child(2), body.home-premier .portrait-stack img:nth-child(4) { transform: none; }
body.home-premier .partner-logos { align-items: flex-start; flex-direction: column; }
body.home-premier .footer-grid { grid-template-columns: 1fr; gap: 34px; }
body.home-premier .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* Bloc 3 : bandeau « premier plan » — logo agrandi, marque sur deux lignes */
body.home-premier .brand { min-width: 0; }
body.home-premier .brand-mark { width: 82px; height: 82px; }
body.home-premier .brand-copy strong { font-size: 1.05rem; letter-spacing: 0.03em; line-height: 1.3; max-width: none; white-space: nowrap; }
body.home-premier .brand-copy strong .brand-gold { color: var(--gold-light); font-size: inherit; text-transform: none; letter-spacing: inherit; margin: 0; display: inline; max-width: none; }
body.home-premier .brand-copy span { max-width: none; }
body.home-premier .main-nav { gap: 16px; }
body.home-premier .main-nav a { font-size: 0.7rem; letter-spacing: 0.04em; }
@media (max-width: 1180px) {
  body.home-premier .brand-copy strong { white-space: normal; }
}
@media (max-width: 680px) {
  body.home-premier .brand-mark { width: 64px; height: 64px; }
  body.home-premier .brand-copy strong { font-size: 0.98rem; }
}

/* ---- Texte intégral des décisions (fiches de jurisprudence) ---- */
.texte-integral {
    margin-top: 1.5rem;
    padding: 1.75rem 2rem;
    background: #fbfaf8;
    border: 1px solid #e5e1d8;
    border-left: 4px solid #b08d3f;
    border-radius: 4px;
    max-height: 70vh;
    overflow-y: auto;
}
.texte-integral p {
    font-size: 0.92rem;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 0.9rem;
    color: #3a3a3a;
}
.texte-integral h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

/* ==================================================================
   21. Harmonisation de la page d'accueil sur la charte du site
   La page d'accueil (body.home-premier) introduisait une palette et
   une typographie locales (--ink, --gold, --gold-light, Source Serif)
   divergentes de la charte (--or #C5A55A, --bleu-marine-dark #0F1A2E,
   Cormorant Garamond). On réaligne ici : (a) l'ensemble des dorés,
   (b) le fond et le filet du bandeau, (c) la typographie de la marque,
   (d) le comportement collant du bandeau.
   ================================================================== */

/* --- 21.1 Dorés : alignement des jetons locaux sur la charte ------- */
body.home-premier {
    --gold: var(--or);              /* #B79A5C -> #C5A55A */
    --gold-light: var(--or-light);  /* #D8C599 -> #D4BA7A */
}

/* Variantes sombres codées en dur (sur fonds clairs) */
body.home-premier .eyebrow.dark { color: var(--or-dark); }        /* #7D642C */
body.home-premier .publication-meta { color: var(--or-dark); }    /* #876D32 */

/* --- 21.2 Bandeau : fond, filet doré, comportement collant --------- */
body.home-premier .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(197, 165, 90, 0.25), var(--shadow-md);
    transition: var(--transition);
}

body.home-premier .masthead {
    transition: var(--transition);
}

/* Rétrécissement au défilement, à l'identique des autres pages
   (la classe .scrolled est déjà posée par js/main.js). */
body.home-premier .site-header.scrolled .masthead { min-height: 90px; }
body.home-premier .site-header.scrolled .brand-mark { width: 56px; height: 56px; }
body.home-premier .site-header.scrolled .main-nav a { padding: 32px 0 28px; }

/* Soulignement doré de l'onglet actif */
body.home-premier .main-nav a::after,
body.home-premier .main-nav a[aria-current="page"]::after { background: var(--or); }

/* --- 21.3 Marque : typographie identique à .logo-text -------------- */
body.home-premier .brand { gap: 1rem; min-width: 0; }

body.home-premier .brand-mark {
    width: 74px;
    height: 74px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

body.home-premier .brand-copy strong {
    color: var(--blanc);
    font-family: var(--font-titre);   /* Cormorant Garamond */
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    max-width: none;
    white-space: normal;
}

body.home-premier .brand-copy strong .brand-gold {
    color: var(--or);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: none;
    display: inline;
    margin: 0;
    max-width: none;
}

body.home-premier .brand-copy span {
    margin-top: 0;
    max-width: none;
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-corps);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* --- 21.4 Déclinaisons responsives, alignées sur les autres pages -- */
@media (max-width: 768px) {
    body.home-premier .brand-mark { width: 58px; height: 58px; }
    body.home-premier .brand-copy strong { font-size: 1.02rem; }
    body.home-premier .brand-copy span { font-size: 0.62rem; }
    body.home-premier .site-header.scrolled .main-nav a { padding: 8px 0; }
}

/* Sous-rubriques des listes de publications (pages membres) */
.publi-subtitle {
    font-family: var(--font-titre);
    font-size: 1.1rem;
    color: var(--or-dark);
    margin: 1.8rem 0 0.6rem;
}
.profil-section .publi-subtitle:first-of-type { margin-top: 0.4rem; }

/* ------------------------------------------------------------------
   Activités : cartes cliquables avec affiche, page de colloque
------------------------------------------------------------------ */
a.card-link { text-decoration: none; color: inherit; }
a.card-link .card-inner { display: flex; flex-direction: column; height: 100%; }
a.card-link:hover h3 { color: var(--or-dark); }
.card-image--affiche { height: 340px; background: var(--gris-clair, #f4f5f7); }
.card-image--affiche img { object-fit: contain; }
.card:hover .card-image--affiche img { transform: scale(1.03); }
a.card-link .read-more { margin-top: auto; padding-top: 0.8rem; }

.colloque-intro { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 2.5rem; align-items: start; margin-bottom: 3rem; }
.colloque-affiche img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--gris); }
.colloque-infos h2 { margin-top: 0; }
.colloque-infos .colloque-sous-titre { font-family: var(--font-titre); font-style: italic; font-size: 1.35rem; color: var(--or-dark); margin: -0.4rem 0 1.4rem; }
.colloque-infos dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.2rem; margin: 0; }
.colloque-infos dt { font-weight: 600; color: var(--bleu-marine); }
.colloque-infos dd { margin: 0; color: var(--gris-texte); }

.programme-module { margin: 2.6rem 0 1.2rem; padding: 1.2rem 1.4rem; background: var(--bleu-marine); color: #fff; border-radius: var(--radius); border-left: 4px solid var(--or); }
.programme-module .module-num { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--or); }
.programme-module h3 { color: #fff; margin: 0.2rem 0 0.4rem; font-size: 1.35rem; }
.programme-module p { margin: 0; color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.programme-item { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--gris); }
.programme-item:last-child { border-bottom: 0; }
.programme-heure { font-family: var(--font-titre); font-weight: 700; font-size: 1.15rem; color: var(--or-dark); }
.programme-contenu h4 { margin: 0 0 0.35rem; font-size: 1.1rem; color: var(--bleu-marine); }
.programme-contenu p { margin: 0.15rem 0; color: var(--gris-texte); }
.programme-contenu ul { margin: 0.2rem 0 0; padding-left: 1.1rem; color: var(--gris-texte); }
.programme-item.programme-pause .programme-contenu p { font-style: italic; }
.video-embed { position: relative; width: 100%; max-width: 720px; aspect-ratio: 16 / 9; margin-top: 0.9rem; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-sm); }
.video-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
@media (max-width: 768px) {
    .colloque-intro { grid-template-columns: 1fr; }
    .colloque-affiche { max-width: 320px; margin: 0 auto; }
    .programme-item { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* Page Contact simplifiée (coordonnées seules) */
.contact-single { max-width: 640px; margin: 0 auto; }

/* Carte de logo sans lien (partenaire sans site dédié) */
.logo-card--static { cursor: default; }
/* Mentions légales (page Contact) */
.mentions-legales { max-width: 860px; margin: 0 auto; font-size: 0.93rem; color: var(--gris-texte); }
.mentions-legales h3 { font-size: 1.15rem; margin: 1.8rem 0 0.5rem; color: var(--bleu-marine); }
.mentions-legales p { margin: 0.35rem 0; }
.mentions-legales a { color: var(--bleu-marine); }
.footer-bottom a { color: inherit; text-decoration: underline; }
/* Page 404 */
.page-404 { text-align: center; padding: 5rem 1.5rem; }
.page-404 .code-404 { font-family: var(--font-titre); font-size: clamp(4rem, 12vw, 7rem); color: var(--or); line-height: 1; }
.page-404 h1 { margin: 0.6rem 0 1rem; color: var(--bleu-marine); }
.page-404 p { color: var(--gris-texte); max-width: 560px; margin: 0 auto 2rem; }
.page-404 .liens-404 { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }
