/* ============================================================
   INSTITUT PROMÉTHÉE — Styles publics partagés (v2)
   Portés depuis le v1 (palette, typo, composants) et simplifiés :
   pas de mega-dropdown ni de drawer piloté par IP_DATA en JS — la
   nav est rendue côté serveur (CLAUDE.md §7), l'interactivité qui
   reste (menu mobile) passe par un simple "checkbox hack" sans JS.
   ============================================================ */

:root {
  /* Palette principale */
  --blanc:        #FFFFFF;
  --ciel-leger:   #F0F7FD;
  --ciel:         #1aa8e1;
  --bleu-ip:      #164284;
  --bleu-fonce:   #164284;
  --bleu-nuit:    #164284;
  --bleu-nuit-profond: #164284;
  --or:           #f6a313;
  --or-clair:     #F5EDD0;

  /* Neutres */
  --gris-bg:      #F5F7FA;
  --gris-border:  #DDE3EC;
  --gris-light:   #EEF1F6;
  --gris-texte:   #4A5568;
  --gris-doux:    #718096;
  --texte:        #1A2332;

  /* Typographie (Google Fonts, chargées dans base.html) */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-ui:      'Space Grotesk', system-ui, sans-serif;

  /* Tailles */
  --nav-h:        68px;
  --breadcrumb-h: 44px;
  --max-w:        1200px;
  --radius:       3px;

  /* Ombres */
  --shadow-sm:    0 2px 8px rgba(13,59,110,0.08);
  --shadow-md:    0 6px 20px rgba(13,59,110,0.12);
  --shadow-lg:    0 16px 48px rgba(13,59,110,0.16);

  --transition:   0.22s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── TYPOGRAPHIE ── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }
h4, h5, h6, .ui-text { font-family: var(--font-ui); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bleu-ip);
  margin-bottom: 8px;
  display: block;
}

/* ── TAGS TYPES DE PUBLICATION ── */
.tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
  background: var(--bleu-ip); color: #fff;
}

/* ── BOUTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: 13.5px; font-weight: 600;
  padding: 11px 24px; border-radius: var(--radius);
  border: none; text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--bleu-fonce); color: #fff; }
.btn-primary:hover { background: var(--bleu-ip); }

.btn-or { background: var(--or); color: var(--bleu-nuit); }
.btn-or:hover { background: #debb65; }

.btn-outline {
  background: transparent; color: var(--bleu-fonce);
  border: 1.5px solid var(--bleu-fonce);
}
.btn-outline:hover { background: var(--bleu-fonce); color: #fff; }

.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-ghost { background: transparent; color: var(--bleu-ip); padding: 8px 0; font-size: 13px; }
.btn-ghost:hover { color: var(--bleu-fonce); }
.btn-ghost::after { content: ' →'; }

/* ── NAVBAR ── */
.ip-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--gris-border);
  height: var(--nav-h);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ip-nav .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
main { display: block; padding-top: var(--nav-h); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.nav-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.nav-logo-text { line-height: 1.15; display: flex; flex-direction: column; text-transform: uppercase; }
.nav-logo-text .sup { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--bleu-fonce); }
.nav-logo-text .main { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--bleu-fonce); }

.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-lang { display: flex; align-items: center; gap: 2px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; margin: 0; }
.nav-lang button {
  padding: 5px 8px; border-radius: var(--radius); text-decoration: none;
  color: var(--gris-doux); background: none; border: none; cursor: pointer;
  font: inherit;
}
.nav-lang button.active, .nav-lang button:hover { color: var(--bleu-ip); background: var(--ciel-leger); }

/* Menu burger + panneau off-canvas — checkbox hack, pas de JS. Seul menu de
   navigation du site, sur toutes les tailles d'écran (pas de nav horizontale
   desktop séparée à maintenir). */
.nav-burger-toggle { display: none; }
.nav-burger-label {
  display: flex;
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1.5px solid var(--gris-border);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  cursor: pointer;
}
.nav-burger-label span { width: 18px; height: 1.5px; background: var(--texte); border-radius: 2px; }

.nav-mobile-backdrop {
  display: block; position: fixed; inset: 0; z-index: 1001;
  background: rgba(22,66,132,0.55);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.nav-burger-toggle:checked ~ .nav-mobile-backdrop { opacity: 1; pointer-events: auto; }

.nav-mobile-panel {
  display: block; position: fixed; top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: white; z-index: 1002; padding: 12px 24px 28px; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.25s ease;
  box-shadow: -8px 0 24px rgba(0,0,0,0.12);
}
.nav-burger-toggle:checked ~ .nav-mobile-panel { transform: translateX(0); }

.nav-mobile-header { display: flex; justify-content: flex-end; }
.nav-mobile-close {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; color: var(--gris-doux); cursor: pointer;
}

.nav-mobile-section { margin-top: 16px; }
.nav-mobile-label {
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gris-doux); margin-bottom: 2px;
}
.nav-mobile-panel ul { list-style: none; }
.nav-mobile-panel li { border-bottom: 1px solid var(--gris-light); }
.nav-mobile-panel li a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 2px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--texte);
}
.nav-mobile-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-mobile-icon svg { width: 100%; height: 100%; }

.nav-mobile-social .social-row { margin-top: 8px; }
.nav-mobile-social-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bleu-nuit-profond); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 13px; text-decoration: none;
}
.nav-mobile-social-icon svg { width: 15px; height: 15px; }
.nav-mobile-social-icon:hover { background: var(--bleu-ip); }

/* ── FIL D'ARIANE ── */
.breadcrumb {
  background: var(--gris-bg);
  border-bottom: 1px solid var(--gris-border);
  height: var(--breadcrumb-h);
  display: flex; align-items: center;
}
.breadcrumb .container { display: flex; align-items: center; gap: 8px; }
.breadcrumb a { font-family: var(--font-ui); font-size: 12px; color: var(--gris-doux); text-decoration: none; }
.breadcrumb a:hover { color: var(--bleu-ip); }
.breadcrumb .sep { font-size: 11px; color: var(--gris-border); }
.breadcrumb .current {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--texte);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px;
}

/* ── HÉROS DE PAGE (toutes pages sauf accueil) ── */
.page-hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(22,66,132,0.93), rgba(22,66,132,0.96)),
    url("../img/hero-bg.c072ac7e8dad.png") center / cover no-repeat;
  padding: 52px 0 44px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero::after {
  content: '';
  position: absolute; right: -40px; bottom: -40px;
  width: 300px; height: 300px;
  background: url("../filigrane_fond_claire_IP_noir.62fa49f41c95.svg") no-repeat center / contain;
  opacity: 0.22; pointer-events: none; z-index: 0;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 10px; max-width: 560px; }

.tag-evenement { background: #2F9E5C; }
.pub-detail-date { font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.6); }

.pub-event-card {
  position: relative; z-index: 1;
  margin-top: 24px; max-width: 480px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.pub-event-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.85); }
.pub-event-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--or); display: flex; }
.pub-event-icon svg { width: 100%; height: 100%; }

.pub-share { position: relative; z-index: 1; margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.pub-share-label {
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.pub-share-icon {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
}
.pub-share-icon svg { width: 14px; height: 14px; }
.pub-share-icon:hover { background: var(--bleu-ip); color: #fff; }

.form-card-titre { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--bleu-fonce); margin-bottom: 6px; }
.form-card-sous-titre { font-size: 13px; color: var(--gris-doux); line-height: 1.5; margin-bottom: 22px; padding-right: 28px; }

/* ── HÉROS ACCUEIL ── */
.hero-section {
  position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(22,66,132,0.93), rgba(22,66,132,0.96)),
    url("../img/hero-bg.c072ac7e8dad.png") center / cover no-repeat;
  padding: 56px 0;
}
.hero-section::after {
  content: '';
  position: absolute; right: -40px; bottom: -40px;
  width: 340px; height: 340px;
  background: url("../filigrane_fond_claire_IP_noir.62fa49f41c95.svg") no-repeat center / contain;
  opacity: 0.18; pointer-events: none; z-index: 0;
}
.home-hero {
  position: relative; z-index: 1;
  display: flex;
  min-height: clamp(380px, 50vh, 520px);
}
.hero-left { display: flex; flex-direction: column; justify-content: center; max-width: 620px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(246,163,19,0.12); border: 1px solid rgba(246,163,19,0.28);
  color: var(--or);
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 2px;
  width: fit-content; margin-bottom: 28px;
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--or); border-radius: 50%; }
.hero-h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 700; line-height: 1.08; color: white; margin-bottom: 10px; }
.hero-h1 em { font-style: normal; color: var(--or); }
.hero-devise {
  font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 26px;
}
.hero-desc { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.72); max-width: 440px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BANDE PÔLES ── */
.poles-bande { background: white; border-bottom: 1px solid var(--gris-border); }
.poles-bande .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.pole-bande-item {
  display: flex; align-items: center; gap: 12px; padding: 20px 22px;
  border-right: 1px solid var(--gris-border); border-top: 3px solid transparent;
  text-decoration: none; color: inherit; transition: background var(--transition), border-color var(--transition);
}
.pole-bande-item:hover { background: var(--ciel-leger); border-top-color: var(--bleu-ip); }
.pole-bande-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.pole-bande-icon svg { width: 18px; height: 18px; }
.pole-bande-nom { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--bleu-fonce); line-height: 1.3; }

/* ── SECTION HEADERS ── */
.section-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.section-hd-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--bleu-nuit); }
.link-voir-tout {
  font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--bleu-ip);
  text-decoration: none; white-space: nowrap;
}
.link-voir-tout:hover { color: var(--bleu-fonce); }
.link-voir-tout::after { content: ' →'; }

/* ── CARTES PUBLICATION ── */
.section-une { padding: 60px 0; background: var(--gris-bg); }
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pub-card {
  border: 1px solid var(--gris-border); border-radius: var(--radius); background: white;
  overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pub-card-thumb { height: 160px; overflow: hidden; background: var(--ciel-leger); }
.pub-card-thumb picture { display: block; height: 100%; }
.pub-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pub-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.pub-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.pub-card-date { font-size: 11.5px; color: var(--gris-doux); }
.pub-card-title { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--bleu-fonce); line-height: 1.4; margin-bottom: 8px; flex: 1; }
.pub-card-auteur { font-size: 12px; color: var(--gris-doux); }

/* ── À LA UNE (vedette + 3 secondaires) ── */
.une-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: stretch; margin-top: 28px; }
.une-main {
  border-radius: var(--radius); overflow: hidden; background: var(--bleu-nuit);
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; text-decoration: none; transition: box-shadow var(--transition);
}
.une-main:hover { box-shadow: var(--shadow-lg); }
.une-main-bg { position: absolute; inset: 0; }
.une-main-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.38) saturate(0.7); }
.une-main-bg-placeholder {
  width: 100%; height: 100%; font-size: 64px; opacity: 0.3;
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-fonce) 100%);
  display: flex; align-items: center; justify-content: center;
}
.une-main-content { position: relative; z-index: 2; padding: 32px; }
.une-main-badge {
  display: inline-block; font-family: var(--font-ui); font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--or); margin-bottom: 12px;
}
.une-main-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: white; line-height: 1.3; margin-bottom: 10px; }
.une-main-auteur { font-size: 12px; color: rgba(255,255,255,0.55); }

.une-side { display: flex; flex-direction: column; gap: 12px; }
.une-side-card {
  border: 1px solid var(--gris-border); border-radius: var(--radius); background: white;
  display: flex; gap: 14px; padding: 16px; text-decoration: none; color: inherit;
  transition: all var(--transition);
}
.une-side-card:hover { border-color: var(--bleu-ip); box-shadow: var(--shadow-sm); }
.une-side-thumb {
  width: 72px; height: 72px; flex-shrink: 0; border-radius: 2px; background: var(--ciel-leger);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.une-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.une-side-content { flex: 1; min-width: 0; }
.une-side-title { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--bleu-fonce); line-height: 1.35; margin: 5px 0 4px; }
.une-side-auteur { font-size: 11.5px; color: var(--gris-doux); }
.une-side-placeholder { border: 1.5px dashed var(--gris-border); border-radius: var(--radius); background: white; padding: 24px; text-align: center; }
.une-side-placeholder .ph-label { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--gris-doux); margin-bottom: 2px; }
.une-side-placeholder .ph-desc { font-size: 11.5px; color: #9aa5b4; }

/* ── FLUX PAR PÔLE (uniquement les pôles ayant au moins une publication) ── */
.section-flux { padding: 64px 0; }
.flux-pole-header { display: flex; align-items: center; gap: 14px; }
.flux-pole-icon { width: 34px; height: 34px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.flux-pole-icon svg { width: 18px; height: 18px; }
.flux-pole-name { font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: var(--bleu-fonce); }
.flux-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── ÉTAT VIDE ── */
.empty-state { border: 2px dashed var(--gris-border); border-radius: var(--radius); padding: 44px 24px; text-align: center; background: var(--gris-bg); }
.empty-state-title { font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--gris-texte); margin-bottom: 4px; }
.empty-state-desc { font-size: 12.5px; color: #9aa5b4; }

/* ── FOOTER ── */
.ip-footer { background: var(--bleu-nuit-profond); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-logo .mark { width: 44px; height: 44px; }
.footer-brand-logo .mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-logo .name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: white; text-transform: uppercase; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 260px; }
.footer-brand .adresse { margin-top: 12px; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-col h4 { font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--or); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.28); }
.footer-bottom-links { display: flex; gap: 18px; list-style: none; }
.footer-bottom-links a { font-size: 11.5px; color: rgba(255,255,255,0.28); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }
.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; text-decoration: none; color: rgba(255,255,255,0.8);
}
.social-icon:hover { background: var(--bleu-ip); color: white; }

/* ── NEWSLETTER ── */
.newsletter-section { background: var(--bleu-nuit); padding: 52px 0; text-align: center; }
.newsletter-section h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: white; margin-bottom: 6px; }
.newsletter-section p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 11px 16px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--radius);
  background: rgba(255,255,255,0.07); font-family: var(--font-body); font-size: 14px; color: white;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--or); }

/* ── NEWSLETTER : centres d'intérêt (pôles) ── */
.nl-interests { max-width: 560px; margin: 18px auto 0; text-align: left; }
.nl-interests > summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  color: var(--or); text-align: center; padding: 6px 0;
}
.nl-interests > summary::-webkit-details-marker { display: none; }
.nl-interests-hint { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; margin: 4px 0 14px; }
.nl-interests-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 16px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius);
  background: rgba(255,255,255,0.03); padding: 16px 18px;
}
.nl-pole-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.85); cursor: pointer; }
.nl-pole-head input { accent-color: var(--or); cursor: pointer; }

/* ── MESSAGES (django.contrib.messages) ── */
.messages { list-style: none; max-width: var(--max-w); margin: 0 auto; padding: 16px 48px 0; }
.messages li {
  padding: 12px 16px; border-radius: var(--radius); margin-bottom: 10px;
  font-size: 13.5px; font-family: var(--font-ui); font-weight: 500;
}
.messages .success { background: #E7F5EC; color: #1E7A46; }
.messages .error   { background: #FBE7E7; color: #B91C1C; }
.messages .info    { background: var(--ciel-leger); color: var(--bleu-ip); }

/* ── MODALE (CSS pur via :target, pas de JS) ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(22,66,132,0.6);
  align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
}
.modal-overlay:target { display: flex; }
.modal-box { position: relative; max-height: calc(100vh - 48px); overflow-y: auto; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1; color: var(--gris-doux); text-decoration: none;
}
.modal-close:hover { color: var(--texte); }

/* ── FORMULAIRES PUBLICS ── */
.form-page { padding: 56px 0; }
.form-card {
  max-width: 640px; margin: 0 auto;
  background: white; border: 1px solid var(--gris-border); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.form-alert-info {
  background: var(--ciel-leger); border: 1px solid var(--ciel); border-radius: var(--radius);
  color: var(--bleu-ip); font-size: 13px; line-height: 1.6; padding: 14px 16px; margin-bottom: 24px;
}
.form-row-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { margin-bottom: 18px; }
.form-row:not(.form-row-check) label {
  display: block; font-family: var(--font-ui); font-size: 11.5px; font-weight: 700;
  color: var(--gris-texte); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}
.form-row label .requis { color: #B91C1C; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="file"],
.form-row select,
.form-row textarea {
  width: 100%; padding: 10px 13px; font-family: var(--font-body); font-size: 14px;
  border: 1.5px solid var(--gris-border); border-radius: var(--radius);
  background: var(--blanc); color: var(--texte); outline: none;
  transition: border-color var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--bleu-ip); }
.form-row textarea { resize: vertical; }
.form-row-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--gris-texte); }
.form-row-check input { margin-top: 3px; accent-color: var(--bleu-ip); }
.form-checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.form-checkbox-grid label { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: 13px; color: var(--texte); }
.form-checkbox-grid input { accent-color: var(--bleu-ip); }
.form-errors { color: #B91C1C; font-size: 12px; margin-top: 5px; }
.form-help { color: var(--gris-doux); font-size: 11.5px; margin-top: 4px; }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── MISE EN PAGE « INFO + FORMULAIRE » (contact, adhésion) ── */
.split-section { padding: 56px 0 72px; }
.split-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.split-info-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--bleu-fonce); margin-bottom: 12px; }
.split-info-desc { font-size: 13.5px; color: var(--gris-doux); line-height: 1.7; margin-bottom: 28px; }
.split-form-card {
  background: white; border: 1px solid var(--gris-border); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.split-form-titre { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--bleu-fonce); margin-bottom: 4px; }
.split-form-note { font-size: 12.5px; color: var(--gris-doux); margin-bottom: 22px; }
.form-footer-row { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 6px; }
.form-footer-note { font-size: 12px; color: var(--gris-doux); }
.form-footer-row .btn svg { width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; }

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

/* ── COORDONNÉES (page contact) ── */
.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon-circle {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ciel-leger); color: var(--bleu-ip);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon-circle svg { width: 18px; height: 18px; }
.contact-info-label {
  font-family: var(--font-ui); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--bleu-fonce); margin-bottom: 3px;
}
.contact-info-value { font-size: 13.5px; color: var(--gris-texte); line-height: 1.5; }

/* ── ÉTAPES (page adhésion) ── */
.adherer-etapes { display: flex; flex-direction: column; gap: 22px; }
.adherer-etape { display: flex; align-items: flex-start; gap: 14px; }
.adherer-etape-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--bleu-ip); color: #fff;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.adherer-etape-titre { font-family: var(--font-ui); font-size: 13.5px; font-weight: 700; color: var(--bleu-fonce); margin-bottom: 3px; }
.adherer-etape-desc { font-size: 12.5px; color: var(--gris-doux); line-height: 1.5; }

/* ── ZONE D'UPLOAD CV (page adhésion) ── */
.upload-box {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px dashed var(--gris-border); border-radius: var(--radius);
  padding: 16px; cursor: pointer; color: var(--bleu-ip);
  font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; transition: border-color var(--transition), background var(--transition);
}
.upload-box:hover { border-color: var(--bleu-ip); background: var(--ciel-leger); }
.upload-box svg { width: 16px; height: 16px; flex-shrink: 0; }
.form-row-optional { text-transform: none; font-weight: 500; color: var(--gris-doux); letter-spacing: normal; }

/* ── PAGE FERMÉE (formulaire désactivé depuis ip-admin) ── */
.form-ferme {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: white; border: 1px solid var(--gris-border); border-radius: var(--radius);
  padding: 48px 36px; box-shadow: var(--shadow-sm);
}
.form-ferme p { color: var(--gris-texte); font-size: 14px; line-height: 1.7; }

/* ── PAGE « QUI SOMMES-NOUS » ── */
.qsn-hero .devise { font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--or); margin: 8px 0 20px; }
.qsn-hero .qsn-richtext { font-size: 16px; max-width: 640px; line-height: 1.75; }
/* !important nécessaire : le contenu importé du v1 (éditeur Quill) porte des
   <span style="color: rgb(74,74,74)"> en dur, pensés pour un fond clair —
   sur le bandeau sombre ils rendent le texte quasi invisible. Une classe
   CSS ne peut jamais battre un style inline sans !important. */
.qsn-hero .qsn-richtext, .qsn-hero .qsn-richtext p, .qsn-hero .qsn-richtext span {
  color: rgba(255,255,255,0.85) !important;
}
.qsn-hero .qsn-richtext p { margin-bottom: 10px; }
.qsn-hero .qsn-richtext p:last-child { margin-bottom: 0; }
.qsn-body { padding: 64px 0; }
.qsn-section { margin-bottom: 56px; }
.qsn-section:last-child { margin-bottom: 0; }
.qsn-section h2 { font-size: 26px; color: var(--bleu-fonce); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--bleu-ip); }
.qsn-richtext p { font-size: 15px; line-height: 1.8; color: var(--texte); margin-bottom: 14px; }
.qsn-richtext p:last-child { margin-bottom: 0; }
.missions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.mission-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--ciel-leger); border-radius: var(--radius); }
.mission-num { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--bleu-ip); flex-shrink: 0; min-width: 28px; }
.mission-text { font-size: 14px; color: var(--texte); line-height: 1.5; }
.valeurs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.valeur-card { padding: 24px; background: white; border: 1px solid var(--gris-border); border-radius: var(--radius); border-top: 3px solid var(--bleu-ip); }
.valeur-card h3 { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: var(--bleu-fonce); margin-bottom: 8px; }
.valeur-card p { font-size: 13px; color: var(--gris-doux); line-height: 1.6; margin: 0; }
.positionnement-box { background: var(--ciel-leger); border-left: 4px solid var(--bleu-ip); border-radius: 0 var(--radius) var(--radius) 0; padding: 28px 32px; margin-top: 20px; }
.positionnement-box p { font-size: 15px; line-height: 1.8; color: var(--texte); margin-bottom: 16px; }
.positionnement-list { list-style: none; margin: 16px 0; padding: 0; }
.positionnement-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(13,59,110,0.08); font-size: 14.5px; color: var(--texte); line-height: 1.55; }
.positionnement-list li:last-child { border-bottom: none; }
.positionnement-list li::before { content: ''; flex-shrink: 0; margin-top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--bleu-ip); }

/* ── PAGE « PÔLE » (détail) ── */
.pole-hero-inner { display: flex; align-items: flex-start; gap: 24px; }
.pole-hero-icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.pole-hero-icon svg { width: 28px; height: 28px; }
.pole-hero-content h1 { font-size: clamp(26px, 4vw, 38px); color: white; margin-bottom: 10px; }
.pole-hero-content p { font-size: 14.5px; color: rgba(255,255,255,0.65); max-width: 580px; line-height: 1.7; margin-bottom: 16px; }
.pole-hero-coordo {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 2px; padding: 7px 14px;
  font-family: var(--font-ui); font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 16px;
}
.pole-hero-coordo strong { color: white; }
.pole-sous-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.pole-sous-theme-pill {
  font-family: var(--font-ui); font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 14px; border-radius: 20px; text-decoration: none;
}
.pole-sous-theme-pill:hover, .pole-sous-theme-pill.active { background: var(--or); color: var(--bleu-nuit); border-color: var(--or); font-weight: 700; }
.pole-body { padding: 48px 0; background: var(--gris-bg); }

/* ── PAGE « EXPERTS » ── */
.experts-body { padding: 48px 0; background: var(--gris-bg); }
.experts-search-wrap { position: relative; margin-bottom: 20px; max-width: 480px; }
.experts-search {
  width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 14px; color: var(--texte);
  border: 1.5px solid var(--gris-border); border-radius: var(--radius); background: white; outline: none;
}
.experts-search:focus { border-color: var(--bleu-ip); }
.experts-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.experts-filter-btn {
  background: white; border: 1px solid var(--gris-border); font-family: var(--font-ui); font-size: 12px;
  font-weight: 500; color: var(--gris-texte); padding: 7px 16px; border-radius: 20px; text-decoration: none;
}
.experts-filter-btn:hover, .experts-filter-btn.active { background: var(--bleu-ip); color: white; border-color: var(--bleu-ip); }
.experts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.expert-card { background: white; border: 1px solid var(--gris-border); border-radius: var(--radius); padding: 22px 18px; text-align: center; text-decoration: none; color: inherit; transition: all var(--transition); display: block; }
.expert-card:hover { border-color: var(--bleu-ip); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.expert-avatar { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 12px; overflow: hidden; background: linear-gradient(135deg, var(--bleu-ip), var(--bleu-fonce)); display: flex; align-items: center; justify-content: center; }
.expert-avatar picture { display: block; width: 100%; height: 100%; }
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-initiales { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: white; }
.expert-nom { font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--bleu-fonce); margin-bottom: 4px; line-height: 1.3; }
.expert-fonction { font-size: 11.5px; color: var(--gris-doux); line-height: 1.4; margin-bottom: 8px; }
.expert-specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.expert-spec-tag { font-family: var(--font-ui); font-size: 10px; font-weight: 600; color: var(--bleu-ip); background: var(--ciel-leger); border: 1px solid var(--ciel); padding: 2px 8px; border-radius: 10px; }
.experts-empty { padding: 48px; text-align: center; color: var(--gris-doux); font-size: 14px; grid-column: 1 / -1; }

/* ── PAGE EXPERT (détail) ── */
.expert-detail-body { padding: 56px 0; }
.expert-detail-header { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.expert-detail-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, var(--bleu-ip), var(--bleu-fonce)); display: flex; align-items: center; justify-content: center; }
.expert-detail-avatar picture { display: block; width: 100%; height: 100%; }
.expert-detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-detail-avatar span { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: white; }
.expert-detail-fonction { color: var(--gris-doux); font-size: 14px; margin-top: 4px; }
.expert-detail-poles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.expert-detail-bio { font-size: 15px; line-height: 1.8; color: var(--texte); max-width: 720px; margin-bottom: 36px; }

/* ── PAGE « PUBLICATIONS » (liste) ── */
.pub-list-body { padding: 48px 0; background: var(--gris-bg); }
.pub-search-wrap { position: relative; margin-bottom: 20px; max-width: 480px; }
.pub-search {
  width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 14px;
  color: var(--texte); border: 1.5px solid var(--gris-border); border-radius: var(--radius);
  background: white; outline: none;
}
.pub-search:focus { border-color: var(--bleu-ip); }
.pub-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pub-filter-btn {
  background: white; border: 1px solid var(--gris-border); font-family: var(--font-ui); font-size: 12px;
  font-weight: 500; color: var(--gris-texte); padding: 7px 16px; border-radius: 20px; text-decoration: none;
}
.pub-filter-btn:hover, .pub-filter-btn.active { background: var(--bleu-ip); color: white; border-color: var(--bleu-ip); }
.pub-type-select {
  font-family: var(--font-body); font-size: 13px; color: var(--texte); border: 1px solid var(--gris-border);
  border-radius: 20px; padding: 6px 14px; background: white; margin-bottom: 12px;
}
.pub-results-count { font-family: var(--font-ui); font-size: 13px; color: var(--gris-doux); margin: 16px 0 20px; }
.pub-results-count strong { color: var(--texte); }
.pub-pagination { display: flex; gap: 14px; align-items: center; font-size: 13px; margin-top: 28px; }
.pub-pagination a { color: var(--bleu-ip); text-decoration: none; font-weight: 600; }
.pub-pagination a:hover { text-decoration: underline; }
.pub-pagination .page-courante { color: var(--gris-doux); }
[data-js-filtre] .pub-pagination { display: none; }

/* ── PAGE PUBLICATION (détail) ── */
.pub-detail-body { padding: 56px 0; }
.pub-detail-main { max-width: 760px; margin: 0 auto; }
.pub-detail-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.pub-detail-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; background: var(--ciel-leger); }
.pub-detail-image img { width: 100%; height: auto; display: block; }
.pub-detail-resume { font-size: 17px; line-height: 1.7; color: var(--gris-texte); margin-bottom: 28px; font-family: var(--font-display); font-style: italic; }
.pub-detail-corps { font-size: 15.5px; line-height: 1.85; color: var(--texte); }
.pub-detail-corps p { margin-bottom: 16px; }
.pub-detail-corps h2 { font-size: 20px; color: var(--bleu-fonce); margin: 32px 0 12px; }
.pub-detail-corps h2:first-child { margin-top: 0; }
.pub-detail-corps h3 { font-size: 15.5px; color: var(--bleu-fonce); margin: 22px 0 8px; }
.pub-detail-corps ul, .pub-detail-corps ol { margin: 0 0 16px 20px; }
.pub-detail-corps li { margin-bottom: 6px; }
.pub-detail-corps table { width: 100%; border-collapse: collapse; margin-bottom: 8px; font-size: 13.5px; }
.pub-detail-corps th, .pub-detail-corps td { border: 1px solid var(--gris-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.pub-detail-corps th { background: var(--gris-bg); font-family: var(--font-ui); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.pub-detail-corps .tableau-scroll { overflow-x: auto; margin-bottom: 24px; }
.pub-detail-corps .avis-brouillon {
  /* Note de relecture interne (CLAUDE.md §8 : contenu RGPD/APDPVP en
  BROUILLON, à valider par un juriste) injectée dans `contenu.corps` par
  `seed_pages_legales` — jamais destinée aux visiteurs du site public,
  seulement à qui relit le code/la base. Masquée ici plutôt que retirée du
  contenu stocké, pour ne pas perdre le rappel côté ip-admin/DB. */
  display: none;
}
.pub-detail-poles { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.pub-detail-telechargements { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--gris-border); display: flex; gap: 12px; flex-wrap: wrap; }

/* ── PAGE « GOUVERNANCE » ── */
.gouv-hero p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 560px; margin-top: 8px; }
.gouv-body { padding: 48px 0; background: var(--gris-bg); }
.gouv-section { margin-bottom: 52px; }
.gouv-section:last-child { margin-bottom: 0; }
.gouv-section-title { font-size: 22px; color: var(--bleu-fonce); margin-bottom: 6px; }
.gouv-section-desc { font-size: 14px; color: var(--gris-doux); margin-bottom: 20px; max-width: 560px; line-height: 1.6; }
.membres-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.membre-card { background: white; border: 1px solid var(--gris-border); border-radius: var(--radius); padding: 18px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.membre-card:hover { border-color: var(--bleu-ip); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.membre-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; overflow: hidden; background: linear-gradient(135deg, var(--bleu-ip), var(--bleu-fonce)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: white; }
.membre-avatar picture { display: block; width: 100%; height: 100%; }
.membre-avatar img { width: 100%; height: 100%; object-fit: cover; }
.membre-info { min-width: 0; }
.membre-nom { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: var(--bleu-fonce); margin-bottom: 4px; line-height: 1.3; }
.membre-card:hover .membre-nom { color: var(--bleu-ip); }
.membre-role { font-size: 12px; color: var(--gris-doux); line-height: 1.4; }
.membres-empty { color: var(--gris-doux); font-size: 14px; padding: 20px 0; grid-column: 1 / -1; }

/* ── BANDEAU DE CONSENTEMENT COOKIES (RGPD/APDPVP, CLAUDE.md §8) ── */
.bandeau-consentement {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: var(--bleu-nuit-profond); color: rgba(255,255,255,0.85);
  padding: 18px 48px; box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.bandeau-consentement-texte { font-size: 13px; line-height: 1.6; max-width: 720px; flex: 1; min-width: 240px; }
.bandeau-consentement-texte a { color: var(--or); text-decoration: underline; }
.bandeau-consentement-actions { display: flex; gap: 10px; flex-shrink: 0; margin: 0; }
.bandeau-consentement-actions button { border: none; }
.bandeau-consentement-actions .btn-outline-white { border: 1.5px solid rgba(255,255,255,0.4); }

/* ── MODALE « GÉRER MES COOKIES » (toujours dans le DOM, cf. _modal_cookies.html) ── */
.modal-cookies { max-width: 460px; width: 100%; }
.modal-cookies-statut {
  font-size: 12.5px; font-weight: 600; font-family: var(--font-ui);
  padding: 9px 12px; border-radius: var(--radius); margin-bottom: 18px;
  background: var(--ciel-leger); color: var(--bleu-ip);
}
.modal-cookies-statut-accepte { background: #E7F5EC; color: #1E7A46; }
.modal-cookies-statut-refuse { background: #F1F2F4; color: var(--gris-texte); }
.modal-cookies-liens { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0 0 26px; padding: 0; }
.modal-cookies-liens a {
  font-size: 13.5px; font-weight: 600; color: var(--bleu-fonce); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.modal-cookies-liens a:hover { color: var(--bleu-ip); text-decoration: underline; }
.modal-cookies-actions { justify-content: flex-end; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .pub-grid { grid-template-columns: repeat(2, 1fr); }
  .poles-bande .container { grid-template-columns: repeat(2, 1fr); }
  .une-grid { grid-template-columns: 1fr; }
  .flux-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 20px; }
  body { overflow-x: hidden; }
  .home-hero { min-height: auto; }
  .hero-left { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section-hd { flex-direction: column; align-items: flex-start; gap: 6px; }
  .newsletter-form { flex-direction: column; }
  .pub-grid { grid-template-columns: 1fr; }
  .flux-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .form-checkbox-grid { grid-template-columns: 1fr; }
  .form-row-2col { grid-template-columns: 1fr; }
  .messages { padding: 16px 20px 0; }
  .missions-grid, .valeurs-grid, .membres-grid { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: repeat(2, 1fr); }
  .pole-hero-inner { flex-direction: column; gap: 14px; }
  .bandeau-consentement { padding: 16px 20px; flex-direction: column; align-items: stretch; }
  .bandeau-consentement-actions { justify-content: flex-end; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .poles-bande .container { grid-template-columns: 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
}
