/* ════════════════════════════════════════════════════════════
   CSI Alumni — main.css
   Polices : Quicksand uniquement
   Design  : Minimaliste Luxe, mobile-first
════════════════════════════════════════════════════════════ */

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

:root {
  --blue:       #1a3a5c;
  --blue-mid:   #2563a8;
  --blue-light: #3b82f6;
  --gold:       #c9a84c;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --gray-light: #f3f4f6;
  --gray:       #9ca3af;
  --gray-dark:  #4b5563;
  --text:       #1f2937;
  --text-light: #6b7280;

  --max-w:      1440px;
  --container:  1200px;
  --px:         clamp(16px, 4vw, 80px);
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  --font: 'Quicksand', sans-serif;
}

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

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ── Typographie ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-title--center { justify-content: center; }
.section-title .title-text { white-space: nowrap; }

/* Traits horizontaux animés */
.title-line {
  display: block;
  height: 1px;
  background: var(--blue-light);
  opacity: 0.4;
  flex: 1;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out-expo);
}
.title-line--left  { transform-origin: right; }
.title-line--right { transform-origin: left; }
.propelled-title.in-view .title-line { transform: scaleX(1); }

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding-block: clamp(60px, 8vw, 120px);
  position: relative;
}
.section--light { background: var(--off-white); }
.section--white { background: var(--white); }

/* ── Boutons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid var(--blue);
  transition: background 0.25s, color 0.25s, transform 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: transparent;
  color: var(--blue);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  color: white;
  transition: border-color 0.25s, transform 0.25s;
}
.btn-secondary:hover { border-color: white; transform: translateY(2px); }

/* ── Reveal animations ────────────────────────────────────── */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.site-header {
  position: absolute;   /* intégré dans le hero par défaut */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 18px var(--px);
  background: transparent;
}

/* Page d'accueil : transparente */
.site-header--transparent { background: transparent; }

/* Pages internes avec hero bleu : overlappée sur le hero, transparente */
.site-header--hero {
  background: transparent;
}
/* Éléments blancs dans le hero */
.site-header--hero .header-logo img { filter: brightness(0) invert(1); }
.site-header--hero .header-logo-text { color: white; }
.site-header--hero .burger-btn { background: rgba(255,255,255,0.15); }
.site-header--hero .burger-btn:hover { background: rgba(255,255,255,0.28); }
.site-header--hero .burger-line { background: white; }

/* ── STICKY au scroll : devient fixed + fond blanc ─────────── */
.site-header.is-sticky {
  position: fixed;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.09);
  padding: 11px var(--px);
}
/* Sticky sur page d'accueil */
.site-header--transparent.is-sticky { }
.site-header--transparent.is-sticky .header-logo img { filter: none; }
.site-header--transparent.is-sticky .header-logo-text { color: var(--blue); }
.site-header--transparent.is-sticky .burger-btn { background: rgba(0,0,0,0.06); }
.site-header--transparent.is-sticky .burger-btn:hover { background: rgba(0,0,0,0.1); }
.site-header--transparent.is-sticky .burger-line { background: var(--blue); }
/* Sticky sur pages internes */
.site-header--hero.is-sticky .header-logo img { filter: none; }
.site-header--hero.is-sticky .header-logo-text { color: var(--blue); }
.site-header--hero.is-sticky .burger-btn { background: rgba(0,0,0,0.06); }
.site-header--hero.is-sticky .burger-btn:hover { background: rgba(0,0,0,0.1); }
.site-header--hero.is-sticky .burger-line { background: var(--blue); }

/* Compatibilité ancien .scrolled (front page) */
.site-header.scrolled {
  position: fixed;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  padding: 12px var(--px);
}
.site-header.scrolled .burger-btn { background: rgba(0,0,0,0.06); }
.site-header.scrolled .burger-btn:hover { background: rgba(0,0,0,0.1); }
.site-header.scrolled .burger-line { background: var(--blue); }

.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.35s, transform 0.35s;
}
.header-logo--hidden { opacity: 0; pointer-events: none; transform: translateY(-4px); }
.site-header.scrolled .header-logo--hidden { opacity: 1; pointer-events: auto; transform: translateY(0); }

.header-logo img { height: 36px; width: auto; }
.header-logo-text {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.header-logo-text span { font-weight: 300; }

/* Burger button */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: none;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s;
  justify-content: center;
  align-items: center;
}
.site-header.scrolled .burger-btn { background: rgba(0,0,0,0.06); }
.burger-btn:hover { background: rgba(255,255,255,0.25); }
.site-header.scrolled .burger-btn:hover { background: rgba(0,0,0,0.1); }

.burger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: white;
  border-radius: 2px;
  transition: background 0.25s, transform 0.3s, opacity 0.3s;
}
.site-header.scrolled .burger-line { background: var(--blue); }
.burger-btn[aria-expanded="true"] .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger-btn[aria-expanded="true"] .burger-line:nth-child(2) { opacity: 0; }
.burger-btn[aria-expanded="true"] .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Burger Menu Overlay ──────────────────────────────────── */
.burger-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 90vw);
  background: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.burger-menu.open { transform: translateX(0); }

.burger-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px;
  overflow-y: auto;
  gap: 32px;
}

.burger-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-dark);
  padding: 4px;
  transition: color 0.2s;
}
.burger-close:hover { color: var(--blue); }

.burger-nav ul { display: flex; flex-direction: column; gap: 4px; }
.burger-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  border-bottom: 1px solid var(--gray-light);
  transition: color 0.2s, padding-left 0.2s;
}
.burger-nav a:hover { color: var(--blue-mid); padding-left: 6px; }

.burger-sep { border: none; border-top: 1px solid var(--gray-light); }

.burger-profile { display: flex; flex-direction: column; gap: 12px; }
.burger-profile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
}
.burger-avatar { border-radius: 50%; }
.burger-logout {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.burger-logout:hover { color: var(--blue); }

.burger-lang {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-light, #e5e7eb);
}
.burger-lang__title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray, #9ca3af);
  margin: 0 0 10px;
}
.lang-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.lang-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f3f4f6;
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.05em;
  transition: all 0.18s;
  white-space: nowrap;
}
.lang-pill:hover {
  background: #e8f0fd;
  color: var(--blue, #0052A5);
  border-color: #c7d9f8;
}
.lang-pill--active {
  background: #e8f0fd;
  border-color: var(--blue, #0052A5);
  color: var(--blue, #0052A5);
  box-shadow: 0 0 0 3px rgba(0,82,165,0.08);
}
.lang-pill__flag {
  font-size: 1rem;
  line-height: 1;
}
.lang-pill__code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.burger-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.burger-overlay.visible { opacity: 1; pointer-events: auto; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--blue);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ── Calque 1 : couleur de base + dégradé bas ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(10, 22, 50, 0.45) 0%,
      rgba(8, 18, 42, 0.62) 50%,
      rgba(4, 12, 30, 0.82) 100%
    );
  z-index: 1;
}

/* ── Calque 2 : pulse de lumière dorée (ambiance heure bleue → or) ── */
.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    rgba(200, 160, 80, 0.12) 0%,
    rgba(200, 160, 80, 0.04) 40%,
    transparent 70%
  );
  animation: hero-pulse 8s ease-in-out infinite alternate;
}

/* ── Calque 3 : grain cinématique (SVG noise inline) ── */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.035;
  animation: hero-grain 0.12s steps(1) infinite;
  pointer-events: none;
}

@keyframes hero-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.05); }
  100% { opacity: 0.7; transform: scale(0.98); }
}
@keyframes hero-grain {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 1%); }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(4%, -2%); }
  50%  { transform: translate(-3%, 3%); }
  60%  { transform: translate(1%, -4%); }
  70%  { transform: translate(-4%, 1%); }
  80%  { transform: translate(2%, 4%); }
  90%  { transform: translate(-1%, -2%); }
  100% { transform: translate(3%, -3%); }
}

/* ── Vignette ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    transparent 40%,
    rgba(4, 10, 28, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(100px, 12vh, 160px) var(--px) clamp(60px, 8vh, 100px);
  text-align: center;
  gap: clamp(40px, 6vh, 72px);
}

/* Logo Hero animé */
.hero-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-logo-reveal {
  position: relative;
  overflow: hidden;
}
.hero-logo-img {
  width: clamp(200px, 32vw, 360px);
  height: auto;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-logo-img.visible { opacity: 1; }

.hero-logo-mask { display: none; }

/* Trait animé sous le logo */
.hero-logo-underline {
  width: clamp(180px, 30vw, 340px);
  height: 1.5px;
  background: rgba(255,255,255,0.7);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  margin-top: 2px;
}
.hero-logo-underline.animate { transform: scaleX(1); }

/* Lyon lettre par lettre */
.hero-logo-lyon {
  display: flex;
  gap: 3px;
  letter-spacing: 0.4em;
}
.lyon-letter {
  font-family: var(--font);
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.4em;
  opacity: 0;
  transform: translateY(6px);
}
.lyon-letter.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--i) * 0.1s + 1.8s);
}

/* ── Hero Slideshow ── */
.hero-slides {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-height: clamp(110px, 18vh, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vh, 12px);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 0;
}
.hero-slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
/* Slides en animation : visibles même si pas encore --active */
.hero-slide--in-right,
.hero-slide--in-left,
.hero-slide--out-left,
.hero-slide--out-right { visibility: visible; z-index: 2; }

/* Animations */
@keyframes slideInFromRight {
  from { transform: translateX(50px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes slideOutToLeft {
  from { transform: translateX(0);     opacity: 1; }
  to   { transform: translateX(-30px); opacity: 0; }
}
@keyframes slideInFromLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes slideOutToRight {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(30px); opacity: 0; }
}

.hero-slide--in-right  { animation: slideInFromRight 0.5s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.hero-slide--out-left  { animation: slideOutToLeft   0.5s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.hero-slide--in-left   { animation: slideInFromLeft  0.5s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.hero-slide--out-right { animation: slideOutToRight  0.5s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }

.hero-slide__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold, #F5A623);
  background: rgba(245,166,35,0.12);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(245,166,35,0.35);
}
.hero-slide__title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}
.hero-slide__sub {
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  margin: 0;
}

/* Bottom: CTA + dots */
.hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
}
.hero-bottom.visible { opacity: 1; transform: translateY(0); }

.hero-cta-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Dots */
.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-dot {
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  width: 48px;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.hero-dot--active { opacity: 1; }
.hero-dot:hover { opacity: 0.8; }
.hero-dot__bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: white;
  transform-origin: left;
}
.hero-dot--active .hero-dot__bar {
  animation: dotProgress 5s linear forwards;
}
@keyframes dotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Legacy .hero-cta compat (utilisé dans main.js pour .visible) */
.hero-cta { display: contents; }

/* ══════════════════════════════════════════════════════════
   TRAIT VERTICAL FIL CONDUCTEUR
══════════════════════════════════════════════════════════ */
#vertical-thread {
  position: fixed;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

#vertical-thread::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(37, 99, 168, 0.08) 10%,
    rgba(37, 99, 168, 0.08) 90%,
    transparent 100%
  );
}

#vertical-thread-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 168, 0.35));
  transition: height 0.05s linear;
}

#vertical-thread-pulse {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px 2px rgba(59, 130, 246, 0.5);
  transition: top 0.05s linear;
}

/* Masquer le trait dans les sections de contenu (derrière) */
.section { isolation: isolate; }

/* ══════════════════════════════════════════════════════════
   QUI SOMMES-NOUS
══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

.about-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-grid p { line-height: 1.8; color: var(--text-light); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 24px 12px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.stat-number {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   MISSIONS
══════════════════════════════════════════════════════════ */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.mission-card {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,82,165,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.section--white .mission-card { background: var(--off-white); }
.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}
.mission-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,82,165,0.10); }
.mission-card:hover::before { transform: scaleX(1); }

.mission-icon {
  width: 44px;
  height: 44px;
  color: var(--blue);
  margin-bottom: 22px;
  background: rgba(0,82,165,0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.mission-icon svg { width: 100%; height: 100%; }

.mission-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.mission-text { font-size: 0.88rem; line-height: 1.75; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════
   BUREAU
══════════════════════════════════════════════════════════ */
.bureau-section {
  background: linear-gradient(160deg, #001432 0%, #0a1e42 50%, #0d2557 100%);
  padding: clamp(60px, 8vw, 100px) 0;
}
.bureau-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.bureau-overline {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin: 0 0 10px;
}
.bureau-section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff;
  line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 12px;
}
.bureau-intro {
  font-size: 0.92rem; color: rgba(255,255,255,0.55);
  max-width: 440px; margin: 0 auto; line-height: 1.6;
}

.bureau-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.bureau-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 0.25s, background 0.25s;
}
.bureau-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.13); }

.bureau-avatar {
  width: clamp(90px, 10vw, 116px);
  height: clamp(90px, 10vw, 116px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
  transition: border-color 0.25s;
  margin-bottom: 4px;
}
.bureau-card:hover .bureau-avatar { border-color: var(--accent); }

.bureau-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.bureau-avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.1);
}

.bureau-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
}

.bureau-role {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.bureau-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.bureau-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}
.bureau-icon-link:hover { background: var(--accent); }
.bureau-icon-link--dummy { cursor: default; opacity: 0.4; }

.bureau-quote {
  font-size: 0.73rem;
  font-style: italic;
  color: var(--text-light);
  margin: 4px 0 0;
  line-height: 1.5;
  opacity: 0.8;
}

.bureau-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.bureau-linkedin-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   AGENDA
══════════════════════════════════════════════════════════ */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.agenda-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.section--light .agenda-card { background: var(--off-white); }
.agenda-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.08); }

.agenda-img-wrap { overflow: hidden; aspect-ratio: 16/9; }
.agenda-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.agenda-card:hover .agenda-img { transform: scale(1.03); }

.agenda-body { padding: clamp(16px, 2.5vw, 24px); }

.agenda-date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.agenda-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.agenda-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.agenda-excerpt { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.agenda-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 1px solid var(--blue-light);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.agenda-cta:hover { color: var(--blue-mid); border-color: var(--blue-mid); }

.no-events {
  grid-column: 1/-1;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  padding: 48px;
}

/* ══════════════════════════════════════════════════════════
   ANNUAIRE
══════════════════════════════════════════════════════════ */
.annuaire-page { padding-top: 0; } /* le header est overlappé sur le ph-hero */

.annuaire-header {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--off-white);
  text-align: center;
}
.annuaire-subtitle {
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  color: var(--text-light);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.7;
}

.annuaire-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 32px;
}

.annuaire-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  pointer-events: none;
}
.annuaire-search {
  width: 100%;
  padding: 10px 16px 10px 44px;
  border: 1.5px solid var(--gray-light);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  background: white;
}
.annuaire-search:focus { border-color: var(--blue-light); }

.annuaire-filter {
  padding: 10px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.83rem;
  background: white;
  cursor: pointer;
  outline: none;
  color: var(--text);
  transition: border-color 0.2s;
}
.annuaire-filter:focus { border-color: var(--blue-light); }

.annuaire-count {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
#count-number { font-weight: 600; color: var(--blue); }

.annuaire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  padding-bottom: 80px;
}

/* ── Member card — redesign ─────────────────────────────────────────── */
.member-card {
  background: white;
  border: 1px solid #e8eaed;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(.2,.8,.4,1), box-shadow 0.22s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  border-color: #d0d7e0;
}
.member-card[style*="display:none"] { display: none !important; }

/* Bande colorée en haut */
.mc-accent {
  height: 5px;
  width: 100%;
  flex-shrink: 0;
}

/* Corps de la carte */
.mc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 18px 14px;
  gap: 0;
}

/* Avatar */
.mc-av {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--mc-color, var(--blue));
  overflow: hidden;
  background: var(--mc-color, var(--blue));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.mc-av-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mc-av-initials {
  font-size: 1.5rem; font-weight: 700; color: white; letter-spacing: .02em;
}

/* Nom */
.mc-name {
  font-size: 0.95rem; font-weight: 700; color: var(--text);
  margin-bottom: 4px; line-height: 1.2;
}

/* Titre/poste */
.mc-headline {
  font-size: 0.75rem; color: var(--text-light); line-height: 1.4;
  margin: 0 0 10px; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Badges */
.mc-badges {
  display: flex; flex-wrap: wrap; gap: 5px;
  justify-content: center; margin-bottom: 8px;
}
.mc-badge {
  display: inline-block; padding: 2px 9px; border-radius: 100px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: .06em;
}
.mc-badge--promo   { background: rgba(0,82,165,0.09);   color: var(--blue); }
.mc-badge--section { background: rgba(245,166,35,0.13); color: #8a6316; }

/* Localisation */
.mc-sub { font-size: 0.72rem; color: #9ca3af; margin-top: 2px; }
.mc-location {
  display: inline-flex; align-items: center; gap: 3px;
}

/* Footer */
.mc-footer {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid #f3f4f6;
  background: #fafbfc;
}
.mc-btn {
  flex: 1; text-align: center;
  padding: 7px 10px;
  background: var(--blue); color: white;
  border-radius: 8px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: .04em;
  transition: background .18s, opacity .18s;
}
.member-card:hover .mc-btn { background: #003d80; }

.mc-linkedin {
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px; background: #e8f0fb; color: #0073B1;
  transition: background .15s;
  border: none; cursor: pointer; padding: 0;
}
.mc-linkedin:hover { background: #0073B1; color: white; }

.member-btn-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(37,99,168,0.1);
  color: var(--blue-mid);
  border-radius: 50%;
  transition: background 0.2s;
}
.member-btn-linkedin:hover { background: var(--blue-mid); color: white; }

.annuaire-no-results {
  grid-column: 1/-1;
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  padding: 48px;
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--blue);
  color: white;
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo   { filter: brightness(0) invert(1); height: 36px; width: auto; margin-bottom: 16px; }
.footer-logo-text { font-size: 1.1rem; font-weight: 600; color: white; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-logo-text span { font-weight: 300; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer-links ul,
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-contact a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 20px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-content { padding-top: 80px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .missions-grid { grid-template-columns: 1fr 1fr; }
  .agenda-grid { grid-template-columns: 1fr; }
  .annuaire-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  #vertical-thread { display: none; }
  .bureau-section-inner { grid-template-columns: 1fr; }
  .bureau-section-head { text-align: center; }
  .bureau-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .missions-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .bureau-grid { grid-template-columns: 1fr 1fr; }
  .annuaire-controls { flex-direction: column; align-items: stretch; }
  .annuaire-search-wrap { width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   PAGE PROFIL MEMBRE — style emlyon
══════════════════════════════════════════════════════════ */
.profile-page { background: #f4f5f7; min-height: 100vh; }

/* ── Bannière photo ─────────────────────────────────────────────────── */
.profile-banner {
  position: relative;
  height: clamp(180px, 22vw, 260px);
  width: 100%;
  background-size: cover;
  background-position: center top;
  background-color: var(--blue); /* fallback si pas de photo */
  /* Pas de margin-top : le header position:absolute flotte sur la bannière */
}
.profile-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.22) 100%);
}
.profile-banner__change {
  position: absolute; bottom: 12px; right: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.48); color: white;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 20px;
  font-size: 0.74rem; font-weight: 500; font-family: inherit;
  cursor: pointer; backdrop-filter: blur(4px);
  transition: background .18s;
}
.profile-banner__change:hover { background: rgba(0,0,0,0.7); }

/* ── Barre identité sous la bannière ────────────────────────────────── */
.profile-identity-bar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.profile-identity-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 0;
  padding-bottom: 24px;
}

/* ── Avatar ──────────────────────────────────────────────────────────── */
.profile-av-wrap {
  position: relative;
  flex-shrink: 0;
  margin-top: -60px;
}
.profile-av {
  width: 124px; height: 124px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 3px var(--av-color, var(--blue)), 0 6px 24px rgba(0,0,0,0.18);
  overflow: hidden;
  background: #e5e7eb;
}
.profile-av-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.profile-av-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 700; color: white; letter-spacing: .02em;
}
.profile-av-edit {
  position: absolute; bottom: 4px; right: 4px;
  width: 28px; height: 28px;
  background: white; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.22);
  color: var(--blue); cursor: pointer;
  transition: background .15s, color .15s;
}
.profile-av-edit:hover { background: var(--blue); color: white; }

/* ── Bloc info (flex column) ─────────────────────────────────────────── */
.profile-id-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}

/* Rangée haute : nom + actions */
.profile-id-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.profile-id-name-block { flex: 1; min-width: 0; }
.profile-name {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 700; color: var(--text);
  margin: 0 0 4px; line-height: 1.15;
}
.profile-headline {
  font-size: 0.92rem; color: var(--text-light);
  margin: 0; line-height: 1.4;
}

/* Rangée basse : badges + meta */
.profile-id-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.profile-meta-line { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.profile-meta-badge {
  font-size: 0.72rem; font-weight: 600; letter-spacing: .05em;
  padding: 3px 11px; border-radius: 100px;
  background: rgba(0,82,165,0.1); color: var(--blue);
}
.profile-meta-badge--cat {
  background: rgba(245,166,35,0.13); color: #8a6d1e;
}
.profile-sub-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 0.8rem; color: var(--text-light);
}
.profile-loc-item {
  display: inline-flex; align-items: center; gap: 4px;
}
.profile-location {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.8rem; color: var(--text-light); margin: 0;
}

/* ── Actions cover ───────────────────────────────────────────────────── */
.profile-id-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; flex-shrink: 0; }
.btn-cover {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 7px;
  font-size: 0.82rem; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: opacity .2s, transform .1s; font-family: inherit; white-space: nowrap;
}
.btn-cover:hover { opacity: .85; transform: translateY(-1px); }
.btn-cover--linkedin { background: #0073B1; color: white; }
.btn-cover--edit     { background: var(--blue); color: white; }
.btn-cover--contact  { background: white; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-cover--back     { background: rgba(0,0,0,0.06); color: var(--text); }

@media (max-width: 640px) {
  .profile-identity-inner { gap: 16px; padding-bottom: 20px; }
  .profile-av { width: 96px; height: 96px; }
  .profile-av-wrap { margin-top: -44px; }
  .profile-id-info { padding-top: 12px; }
  .profile-id-top { flex-direction: column; gap: 12px; }
  .profile-id-actions { width: 100%; }
  .btn-cover { flex: 1; justify-content: center; }
}

/* Corps */
.profile-body-area { padding-top: 24px; padding-bottom: 80px; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side-col { order: -1; }
}
.profile-main-col,
.profile-side-col { display: flex; flex-direction: column; gap: 16px; }

/* Cards */
.profile-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: clamp(16px, 2.5vw, 24px);
}
.profile-card--cta {
  display: flex; gap: 20px; align-items: flex-start;
  background: #f0f5ff; border-color: #c7d7f5;
}
.profile-card--cta svg { flex-shrink: 0; margin-top: 2px; }
.profile-card--cta h3 { margin: 0 0 4px; font-size: 1rem; }
.profile-card--cta p  { margin: 0; font-size: 0.85rem; color: var(--text-light); }
.profile-card__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600;
  color: var(--blue);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.profile-bio { font-size: 0.9rem; line-height: 1.75; color: var(--text); margin: 0; white-space: pre-line; }

/* Faits */
.profile-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 12px; }
.profile-fact { }
.profile-fact__label {
  display: block;
  font-size: 0.68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 3px;
}
.profile-fact__value { font-size: 0.9rem; font-weight: 600; color: var(--text); }

/* Info list sidebar */
.profile-info-list { margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.pil-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.pil-item dt { color: var(--text-light); font-weight: 400; }
.pil-item dd { margin: 0; font-weight: 600; color: var(--text); }
.pil-linkedin {
  display: flex; align-items: center; gap: 7px;
  width: 100%;
  padding: 9px 14px;
  background: #0073B1; color: white;
  border-radius: 7px; font-size: 0.82rem; font-weight: 500;
  text-decoration: none; transition: opacity .2s;
  justify-content: center;
}
.pil-linkedin:hover { opacity: .88; }
.pil-more {
  display: block; margin-top: 12px;
  font-size: 0.8rem; color: var(--blue); font-weight: 500;
  text-decoration: none;
}
.pil-more:hover { text-decoration: underline; }

/* Même section */
.profile-same-section { display: flex; flex-direction: column; gap: 8px; }
.pss-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: 7px;
  text-decoration: none; transition: background .15s;
}
.pss-item:hover { background: #f4f5f7; }
.pss-name { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.pss-promo { display: block; font-size: 0.72rem; color: var(--text-light); }

/* Utilitaires partagés */
.card { background:white; border:1px solid #e5e7eb; border-radius:10px; }
.card__body { padding: clamp(16px,2.5vw,24px); }
.btn { display:inline-flex; align-items:center; gap:6px; padding:9px 18px; border-radius:100px; font-size:0.85rem; font-weight:500; border:1.5px solid transparent; cursor:pointer; text-decoration:none; transition:opacity .2s; font-family:inherit; }
.btn:hover { opacity:.88; }
.btn--primary { background:var(--blue); color:white; border-color:var(--blue); }
.btn--outline { background:transparent; border-color:#d1d5db; color:var(--text); }
.btn--outline:hover { border-color:var(--blue); color:var(--blue); }
.btn--sm { padding:6px 14px; font-size:0.78rem; }
.btn-pf { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:7px; font-size:0.85rem; font-weight:500; text-decoration:none; border:none; cursor:pointer; font-family:inherit; transition:opacity .2s; }
.btn-pf--primary { background:var(--blue); color:white; }
.btn-pf--primary:hover { opacity:.88; }
.mb-24 { margin-bottom:24px; }
.text-xs { font-size:0.72rem; }
.recent-members-list { display:flex; flex-direction:column; gap:10px; }
.recent-member { display:flex; align-items:center; gap:10px; padding:8px; border-radius:8px; transition:background .15s; text-decoration:none; }
.recent-member:hover { background:#f4f5f7; }
.recent-member__info { display:flex; flex-direction:column; }
.recent-member__name { font-size:0.85rem; font-weight:600; color:var(--text); }
.recent-member__meta { color:var(--text-light); }

/* ══════════════════════════════════════════════════════════
   ANNUAIRE (template-directory)
══════════════════════════════════════════════════════════ */
.directory-page { min-height: 100vh; background: var(--bg); }

/* Header */
.directory-header {
  background: linear-gradient(135deg, var(--blue) 0%, #003d7a 100%);
  color: white;
  padding: clamp(40px, 6vw, 72px) 0 0;
}
.directory-header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.directory-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0 0 8px;
  color: white;
}
.directory-header .text-muted { color: rgba(255,255,255,0.65); margin: 0; }

/* Barre de recherche */
.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 8px 16px;
  gap: 8px;
  min-width: 260px;
  transition: background 0.2s, border-color 0.2s;
}
.search-bar:focus-within {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
.search-bar button { background: none; border: none; padding: 0; color: rgba(255,255,255,0.7); cursor: pointer; display: flex; }
.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: white;
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
}
.search-bar input::placeholder { color: rgba(255,255,255,0.45); }

/* Filtres */
.directory-filters {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.directory-filter { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.directory-filter .form-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.directory-filter .form-control {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: white;
  font-size: 0.85rem;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s;
}
.directory-filter .form-control option { background: #003d7a; color: white; }
.directory-filter .form-control:focus { outline: none; background: rgba(255,255,255,0.18); }

/* Toggle vue */
.directory-filter--toggle .form-label { color: rgba(255,255,255,0.55); }
.view-toggle { display: flex; gap: 4px; }
.view-toggle__btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.view-toggle__btn.active,
.view-toggle__btn:hover { background: rgba(255,255,255,0.25); color: white; }

/* Bouton reset */
.btn--outline {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.btn--outline:hover { background: rgba(255,255,255,0.18); color: white; }

/* Status bar */
.directory-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  min-height: 28px;
}
#directory-count {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}
.directory-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
}

/* Grille membres — override du repeat existant */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
.members-grid[data-view="list"] {
  grid-template-columns: 1fr;
}
.members-grid[data-view="list"] .member-card {
  flex-direction: row;
  align-items: center;
}
.members-grid[data-view="list"] .mc-body {
  flex-direction: row;
  text-align: left;
  align-items: center;
}
.members-grid[data-view="list"] .mc-footer { margin-left: auto; flex-shrink: 0; }

/* Empty state */
.directory-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 80px 24px;
  text-align: center;
}
.directory-empty h3 { margin: 0; }
.directory-empty .text-muted { margin: 0; }

/* Pagination */
.directory-pagination { margin-top: 40px; }
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text);
  background: white;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pagination a:hover { background: var(--blue); color: white; border-color: var(--blue); }
.pagination span.current { background: var(--blue); color: white; border-color: var(--blue); }
.pagination span:not(.current) { background: none; border: none; color: var(--text-light); }

/* Spinner */
.spinner {
  border: 2px solid rgba(0,0,0,0.08);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Texte utilitaire */
.text-sm { font-size: 0.82rem; }
.text-muted { color: var(--text-light); }
.text-center { text-align: center; }

/* ══════════════════════════════════════════════════════════
   DASHBOARD — HERO
══════════════════════════════════════════════════════════ */
.db-hero {
  position: relative;
  overflow: hidden;
  /* padding-top = hauteur header + espace visuel */
  padding: calc(72px + clamp(28px,4vw,48px)) 0 clamp(36px,5vw,60px);
  color: white;
}
.db-hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue) 0%, #001f4d 60%, #000d24 100%);
  z-index: 0;
}
/* Cercles décoratifs */
.db-hero__bg::before,
.db-hero__bg::after {
  content: '';
  position: absolute; border-radius: 50%;
  opacity: .08; background: white;
}
.db-hero__bg::before { width: 420px; height: 420px; top: -140px; right: -80px; }
.db-hero__bg::after  { width: 260px; height: 260px; bottom: -80px; left: 10%; }

.db-hero__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.db-hero__left { flex: 1; min-width: 0; }
.db-hero__greeting {
  font-size: .9rem; font-weight: 400;
  opacity: .75; margin: 0 0 4px; letter-spacing: .01em;
}
.db-hero__name {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; margin: 0 0 12px;
  color: white; line-height: 1.15;
}
.db-hero__wave { display: inline-block; }
.db-hero__badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.db-hero__badge {
  padding: 4px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; font-size: .78rem; font-weight: 500;
  backdrop-filter: blur(4px);
}
.db-hero__stats {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.db-hero__stat { display: flex; flex-direction: column; gap: 1px; }
.db-hero__stat-num  { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.db-hero__stat-label { font-size: .72rem; opacity: .65; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.db-hero__stat-sep  { width: 1px; height: 32px; background: rgba(255,255,255,.2); }

/* Avatar héro */
.db-hero__right {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.db-hero__avatar-wrap {
  position: relative; width: 110px; height: 110px;
}
.db-hero__avatar-img,
.db-hero__avatar-initials {
  position: absolute; inset: 8px;
  border-radius: 50%; object-fit: cover;
  width: calc(100% - 16px); height: calc(100% - 16px);
}
.db-hero__avatar-initials {
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: white;
}
.db-hero__progress-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: none; border-radius: 0;
}
.db-hero__pct-badge {
  position: absolute; bottom: -4px; right: -4px;
  background: var(--gold, #F5A623); color: white;
  font-size: .65rem; font-weight: 800;
  padding: 3px 6px; border-radius: 100px;
  border: 2px solid white;
  line-height: 1;
}
.db-hero__pct-label { font-size: .72rem; opacity: .65; font-weight: 500; }

/* ── Body ── */
.db-body {
  background: var(--bg, #f6f7f9);
  min-height: 60vh;
  padding: clamp(28px,4vw,48px) 0 64px;
}
.db-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(20px,3vw,36px);
  align-items: start;
}
@media (max-width: 900px) {
  .db-layout { grid-template-columns: 1fr; }
  .db-sidebar { order: -1; }
}

/* ── Sections ── */
.db-section { margin-bottom: 28px; }
.db-section__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.db-section__title {
  font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--text);
}
.db-section__more {
  font-size: .8rem; font-weight: 600; color: var(--blue);
  text-decoration: none;
}
.db-section__more:hover { text-decoration: underline; }

/* ── Accès rapides ── */
.db-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (max-width: 500px) { .db-quick-grid { grid-template-columns: 1fr; } }

.db-quick-card {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600; font-size: .9rem;
  color: white;
  transition: transform .18s, box-shadow .18s;
  position: relative; overflow: hidden;
}
.db-quick-card::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background .18s;
}
.db-quick-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.db-quick-card:hover::before { background: rgba(255,255,255,.08); }
.db-quick-card__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,255,255,.18); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.db-quick-card__label { flex: 1; }
.db-quick-card__arrow { opacity: .7; flex-shrink: 0; }
.db-quick-card--blue   { background: linear-gradient(135deg, var(--blue) 0%, #003d7a 100%); }
.db-quick-card--accent { background: linear-gradient(135deg, #0098c7 0%, #005f80 100%); }
.db-quick-card--gold   { background: linear-gradient(135deg, #e0921d 0%, #b06b00 100%); }
.db-quick-card--grey   { background: linear-gradient(135deg, #4b5563 0%, #1f2937 100%); }

/* ── Complétion profil ── */
.db-completion-card {
  background: white; border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.db-completion-card__header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.db-completion-card__bar-wrap {
  flex: 1; height: 8px; background: #e5e7eb; border-radius: 100px; overflow: hidden;
}
.db-completion-card__bar {
  height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent, #00B2E3));
  border-radius: 100px; transition: width .5s ease;
}
.db-completion-card__pct {
  font-size: .85rem; font-weight: 800; color: var(--blue); flex-shrink: 0;
}
.db-completion-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.db-completion-card p  { font-size: .85rem; color: var(--text-light, #6b7280); margin: 0 0 14px; }
.db-completion-card__fields {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.db-completion-field {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 100px; font-size: .77rem; font-weight: 500;
  background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca;
}
.db-completion-field--done {
  background: #f0fdf4; color: #15803d; border-color: #bbf7d0;
}
.db-completion-card__actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.db-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 8px;
  font-size: .85rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  font-family: inherit; transition: opacity .2s;
}
.db-btn:hover { opacity: .88; }
.db-btn--primary  { background: var(--blue); color: white; }
.db-btn--linkedin { background: #0073B1; color: white; }

/* ── Événements ── */
.db-events-list { display: flex; flex-direction: column; gap: 10px; }
.db-event-card {
  display: flex; align-items: center; gap: 16px;
  background: white; border: 1px solid #e5e7eb;
  border-radius: 12px; padding: 16px 18px;
  text-decoration: none; transition: box-shadow .18s, border-color .18s;
}
.db-event-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); border-color: #bcd4f0; }
.db-event-card__date {
  display: flex; flex-direction: column; align-items: center;
  min-width: 44px;
  background: var(--blue); color: white;
  border-radius: 10px; padding: 8px 10px;
  text-align: center; flex-shrink: 0;
}
.db-event-card__month { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.db-event-card__day   { font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.db-event-card__body  { flex: 1; min-width: 0; }
.db-event-card__title { margin: 0 0 4px; font-size: .92rem; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-event-card__meta  { margin: 0; font-size: .78rem; color: var(--text-light, #6b7280); }
.db-event-card__cta {
  flex-shrink: 0; padding: 7px 14px;
  background: var(--blue); color: white;
  border-radius: 7px; font-size: .78rem; font-weight: 600;
  white-space: nowrap;
}

/* ── Empty state ── */
.db-empty-state {
  display: flex; align-items: flex-start; gap: 16px;
  background: white; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 20px 22px;
}
.db-empty-state__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: #f4f5f7; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light, #6b7280);
}
.db-empty-state__title { font-weight: 600; margin: 0 0 4px; font-size: .9rem; color: var(--text); }
.db-empty-state__sub   { margin: 0; font-size: .8rem; color: var(--text-light, #6b7280); }

/* ── Sidebar ── */
.db-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* Widget profil */
.db-profile-widget {
  background: white; border-radius: 14px; border: 1px solid #e5e7eb;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.db-profile-widget__cover { height: 72px; }
.db-profile-widget__body  { padding: 0 20px 20px; }
.db-profile-widget__avatar {
  width: 64px; height: 64px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid white;
  margin-top: -32px; margin-bottom: 10px;
  background: white;
}
.db-profile-widget__avatar-img  { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.db-profile-widget__avatar-init {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: white;
}
.db-profile-widget__name { font-size: 1rem; font-weight: 700; margin: 0 0 3px; }
.db-profile-widget__meta { font-size: .78rem; color: var(--text-light, #6b7280); margin: 0 0 14px; }
.db-profile-widget__progress {
  display: flex; align-items: center; gap: 8px; margin-bottom: 3px;
}
.db-profile-widget__progress-track {
  flex: 1; height: 6px; background: #e5e7eb; border-radius: 100px; overflow: hidden;
}
.db-profile-widget__progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent, #00B2E3));
  border-radius: 100px; transition: width .5s;
}
.db-profile-widget__progress-pct { font-size: .78rem; font-weight: 700; color: var(--blue); }
.db-profile-widget__progress-label { font-size: .72rem; color: var(--text-light, #6b7280); margin: 0 0 14px; }
.db-profile-widget__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;
}
.db-widget-btn {
  text-align: center; padding: 8px 12px; border-radius: 8px;
  font-size: .8rem; font-weight: 600; text-decoration: none;
  transition: opacity .2s;
}
.db-widget-btn:hover { opacity: .88; }
.db-widget-btn--outline { border: 1.5px solid #e2e5ea; color: var(--text); background: white; }
.db-widget-btn--primary { background: var(--blue); color: white; border: none; }
.db-linkedin-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 9px; border-radius: 8px;
  background: #0073B1; color: white; text-decoration: none;
  font-size: .8rem; font-weight: 600; transition: opacity .2s;
}
.db-linkedin-btn:hover { opacity: .88; }

/* Widget générique */
.db-widget {
  background: white; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.db-widget__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.db-widget__title { font-size: .92rem; font-weight: 700; margin: 0; }
.db-widget__more  { font-size: .78rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.db-widget__more:hover { text-decoration: underline; }

/* Liste membres */
.db-members-list { display: flex; flex-direction: column; gap: 2px; }
.db-member-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 8px;
  text-decoration: none; transition: background .15s;
}
.db-member-row:hover { background: #f4f5f7; }
.db-member-row__info { flex: 1; min-width: 0; }
.db-member-row__name { display: block; font-size: .85rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-member-row__meta { display: block; font-size: .72rem; color: var(--text-light, #6b7280); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-member-row__arrow { color: var(--text-light, #6b7280); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   PROFIL — HINTS & EMPTY STATE
══════════════════════════════════════════════════════════ */
.profile-empty-hint {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-light);
  background: #fffbf0; border: 1px solid #f5d88a;
  border-radius: 8px; padding: 12px 16px; margin: 0;
}
.profile-empty-link {
  background: none; border: none; padding: 0;
  color: var(--blue); font-weight: 600; font-size: 0.85rem;
  cursor: pointer; text-decoration: underline; font-family: inherit;
}

/* ══════════════════════════════════════════════════════════
   DRAWER ÉDITION PROFIL
══════════════════════════════════════════════════════════ */
.edit-drawer-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1100;
  backdrop-filter: blur(2px);
}
.edit-drawer-overlay.is-open { display: block; }

.edit-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(480px, 100vw);
  background: white;
  z-index: 1101;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.14);
}
.edit-drawer.is-open { transform: translateX(0); }

.edit-drawer__header {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.edit-drawer__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text); margin: 0; flex: 1;
}
.edit-drawer__close {
  background: none; border: none; padding: 4px;
  color: var(--text-light); cursor: pointer;
  border-radius: 6px; line-height: 0;
  transition: background .15s, color .15s;
}
.edit-drawer__close:hover { background: #f4f5f7; color: var(--text); }

/* Import LinkedIn CTA */
.edit-drawer__li-import {
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.li-import-cta {
  display: flex; align-items: center; gap: 12px;
  background: #f0f7ff; border: 1px solid #bdd7f5;
  border-radius: 10px; padding: 14px 16px;
}
.li-import-cta__icon { flex-shrink: 0; line-height: 0; }
.li-import-cta strong { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 2px; }
.li-import-cta p { margin: 0; font-size: 0.78rem; color: var(--text-light); }
.btn-li-import {
  flex-shrink: 0; margin-left: auto;
  padding: 8px 14px; background: #0073B1; color: white;
  border-radius: 7px; font-size: 0.8rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: opacity .2s;
}
.btn-li-import:hover { opacity: .88; }

/* Corps scrollable */
.edit-drawer__body {
  flex: 1; overflow-y: auto;
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.edit-drawer__body::-webkit-scrollbar { width: 5px; }
.edit-drawer__body::-webkit-scrollbar-track { background: transparent; }
.edit-drawer__body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

/* Fieldsets */
.edit-fieldset {
  border: none; padding: 0; margin: 0;
}
.edit-fieldset legend {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px; display: block; width: 100%;
  padding-bottom: 8px; border-bottom: 1px solid #f0f0f0;
}
.edit-row { display: grid; gap: 12px; }
.edit-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .edit-row--2 { grid-template-columns: 1fr; } }

.edit-field { display: flex; flex-direction: column; gap: 5px; }
.edit-field label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-light);
}
.edit-field input,
.edit-field select,
.edit-field textarea {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid #e2e5ea; border-radius: 8px;
  font-size: 0.88rem; font-family: inherit; color: var(--text);
  background: white; transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box; appearance: none;
}
.edit-field input:focus,
.edit-field select:focus,
.edit-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,82,165,0.1);
}
.edit-field textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.edit-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

/* Footer */
.edit-drawer__footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.edit-drawer__feedback {
  font-size: 0.82rem; margin-bottom: 10px; min-height: 20px;
}
.edit-feedback--ok  { color: #16a34a; font-weight: 600; }
.edit-feedback--err { color: #dc2626; font-weight: 600; }
.edit-drawer__actions { display: flex; gap: 10px; justify-content: flex-end; }
.btn-edit-cancel {
  padding: 9px 18px; border: 1.5px solid #e2e5ea;
  background: white; border-radius: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--text);
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.btn-edit-cancel:hover { background: #f4f5f7; }
.btn-edit-save {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 20px; background: var(--blue); color: white;
  border: none; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: opacity .2s;
}
.btn-edit-save:hover:not(:disabled) { opacity: .88; }
.btn-edit-save:disabled { opacity: .55; cursor: not-allowed; }

/* ══════════════════════════════════════════════════════════
   MODAL VALIDATION IMPORT LINKEDIN
══════════════════════════════════════════════════════════ */
.li-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.li-modal {
  background: white; border-radius: 16px;
  width: min(560px, 100%);
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.li-modal__header {
  padding: 28px 28px 20px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}
.li-modal__header h2 {
  margin: 12px 0 6px; font-size: 1.15rem; font-weight: 700;
}
.li-modal__header p { margin: 0; font-size: 0.85rem; color: var(--text-light); }

.li-modal__body { padding: 20px 28px; display: flex; flex-direction: column; gap: 12px; }

.li-field-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; background: #f8fafc;
  border: 1.5px solid #e5e7eb; border-radius: 10px;
  cursor: pointer; transition: border-color .2s;
}
.li-field-row:hover { border-color: #93c5fd; }
.li-field-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--blue); cursor: pointer; margin-top: 2px;
}
.li-field-row:has(input:checked) { border-color: var(--blue); background: #f0f7ff; }
.li-field-preview { flex: 1; }
.li-field-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); display: block; margin-bottom: 8px; }

.li-field-comparison {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.li-field-comparison--text { font-size: 0.85rem; }
.li-compare-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid white; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.li-compare-initials { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: white; }
.li-compare-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.li-compare-tag { font-size: 0.72rem; font-weight: 600; padding: 2px 7px; border-radius: 100px; }
.li-compare-tag--current { background: #f0f0f0; color: #555; }
.li-compare-tag--new     { background: #dbeafe; color: #0052A5; }

.li-modal__footer {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 20px 28px; border-top: 1px solid #f0f0f0;
}
.btn-li-cancel {
  padding: 10px 20px; border: 1.5px solid #e2e5ea;
  background: white; border-radius: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--text);
  cursor: pointer; font-family: inherit;
}
.btn-li-cancel:hover { background: #f4f5f7; }
.btn-li-confirm {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 22px; background: #0073B1; color: white;
  border: none; border-radius: 8px;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: opacity .2s;
}
.btn-li-confirm:hover:not(:disabled) { opacity: .88; }
.btn-li-confirm:disabled { opacity: .55; cursor: not-allowed; }

/* ══════════════════════════════════════════════════════════
   PROFIL — Nouvelles sections (poste, formation, compétences…)
══════════════════════════════════════════════════════════ */

/* Poste actuel */
.profile-job { display: flex; flex-direction: column; gap: 6px; }
.profile-job__title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  line-height: 1.3;
}
.profile-job__company {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.88rem; color: var(--text-light); font-weight: 500;
}
.profile-job__company svg { flex-shrink: 0; color: var(--blue); }

/* Formation / Certifications (texte libre) */
.profile-freetext {
  font-size: 0.88rem; color: var(--text);
  line-height: 1.7; white-space: pre-line;
}

/* Compétences — tags */
.profile-skills {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.profile-skill-tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  background: #eef3fb; color: #1a4a8a;
  border: 1px solid #c7d9f5;
  border-radius: 100px; font-size: 0.79rem; font-weight: 600;
  letter-spacing: .01em;
  transition: background .15s;
}
.profile-skill-tag:hover { background: #d6e7ff; }

/* Carte dashed (hint complétion) */
.profile-card--dashed {
  border: 2px dashed #d1d5db !important;
  background: #fafafa !important;
}
.profile-empty-hint {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--text-light); margin: 0;
}
.profile-empty-hint svg { flex-shrink: 0; }
.profile-empty-link {
  background: none; border: none; padding: 0;
  color: var(--blue); font-weight: 600; font-size: inherit;
  cursor: pointer; text-decoration: underline;
  font-family: inherit;
}

/* Note dans la modal LinkedIn */
.li-modal__note {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.78rem; color: var(--text-light);
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: 10px 14px;
  line-height: 1.5; margin-top: 4px;
}
.li-modal__note svg { flex-shrink: 0; margin-top: 2px; color: #d97706; }

/* ══════════════════════════════════════════════════════════
   IMPORT ZIP LINKEDIN — modal + éléments
══════════════════════════════════════════════════════════ */

.li-modal--zip { width: min(640px, 100%); }

.li-import-cta--zip { background: #f0fdf4; border-color: #bbf7d0; }
.li-import-cta--zip .btn-li-import { background: #16a34a; }
.li-import-cta--zip .btn-li-import:hover { opacity: .88; }
.btn-li-import--upload { display: flex; align-items: center; justify-content: center; }

.li-export-help {
  color: #0073B1; font-size: 0.76rem;
  text-decoration: underline;
}
.li-export-help:hover { opacity: .8; }

.zip-section-content { margin-top: 6px; }
.zip-value { margin: 0; font-size: 0.87rem; color: var(--text); line-height: 1.5; }
.zip-list {
  margin: 0; padding: 0 0 0 4px;
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.zip-list li { font-size: 0.84rem; color: var(--text); line-height: 1.4; }
.zip-list li strong { color: var(--text); }
.zip-dates { color: var(--text-light); font-size: 0.76rem; }

/* Postes sur la page profil — structure riche */
.profile-positions { display: flex; flex-direction: column; gap: 16px; }
.profile-position { display: flex; gap: 14px; align-items: flex-start; }
.profile-position__icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: #f0f4fa; border: 1px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px;
}
.profile-position__title { font-size: 0.93rem; font-weight: 700; color: var(--text); }
.profile-position__company { font-size: 0.83rem; color: var(--blue); font-weight: 600; margin: 2px 0; }
.profile-position__dates { font-size: 0.77rem; color: var(--text-light); }
.profile-position__desc { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; line-height: 1.55; }

/* Formation riche */
.profile-education-list { display: flex; flex-direction: column; gap: 12px; }
.profile-edu { display: flex; gap: 12px; align-items: flex-start; }
.profile-edu__icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: #faf5ff; border: 1px solid #e9d5ff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
}
.profile-edu__school { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.profile-edu__degree { font-size: 0.81rem; color: #6366f1; font-weight: 500; margin: 2px 0; }
.profile-edu__dates  { font-size: 0.76rem; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (commun à événements, inscription…)
══════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #003880 100%);
  padding: 72px 0 52px; color: white;
}
.page-hero__title { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin: 0 0 10px; }
.page-hero__sub { font-size: 1rem; opacity: .8; margin: 0; max-width: 560px; }

/* ══════════════════════════════════════════════════════════
   PAGE ÉVÉNEMENTS
══════════════════════════════════════════════════════════ */
.events-container { padding-block: 48px; }
.events-filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.ev-filter-btn {
  padding: 7px 18px; border-radius: 100px;
  border: 1.5px solid #e2e5ea; background: white;
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  cursor: pointer; transition: all .2s;
}
.ev-filter-btn.active, .ev-filter-btn:hover {
  background: var(--blue); color: white; border-color: var(--blue);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.events-empty {
  grid-column: 1/-1; text-align: center;
  padding: 64px 0; color: var(--text-light);
}
.events-empty p { margin-top: 16px; }

/* Carte événement */
.ev-card {
  background: white; border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden; border: 1px solid #f0f0f0;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.ev-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.ev-card--past { opacity: .65; }
.ev-card__img-wrap { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.ev-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ev-card:hover .ev-card__img { transform: scale(1.04); }
.ev-card__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
}
.ev-card__badge--past    { background: rgba(0,0,0,.5); color: white; }
.ev-card__badge--members { background: var(--blue); color: white; }
.ev-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ev-card__date { font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; color: var(--accent); margin: 0; display: flex; align-items: center; gap: 5px; }
.ev-card__title { font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.35; }
.ev-card__title a { color: var(--text); text-decoration: none; }
.ev-card__title a:hover { color: var(--blue); }
.ev-card__location { font-size: 0.8rem; color: var(--text-light); margin: 0; display: flex; align-items: center; gap: 5px; }
.ev-card__excerpt { font-size: 0.83rem; color: var(--text-light); line-height: 1.55; margin: 0; flex: 1; }
.ev-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.ev-card__price { font-size: 0.82rem; font-weight: 700; color: var(--blue); }
.ev-card__cta {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.8rem; font-weight: 700; color: var(--blue);
  text-decoration: none;
  transition: gap .2s;
}
.ev-card__cta:hover { gap: 8px; }

/* ══════════════════════════════════════════════════════════
   PAGE ÉVÉNEMENT UNIQUE
══════════════════════════════════════════════════════════ */
.event-hero {
  position: relative; min-height: 320px;
  background: linear-gradient(135deg, var(--blue) 0%, #003880 100%);
  display: flex; align-items: flex-end;
}
.event-hero--has-img .event-hero__img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.event-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 100%);
}
.event-hero__content {
  position: relative; z-index: 1;
  padding: 40px 0; color: white;
}
.event-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.75); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; margin-bottom: 16px;
  transition: color .2s;
}
.event-back:hover { color: white; }
.ev-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
  background: rgba(255,255,255,.15); color: white;
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 12px;
}
.ev-badge--members { background: rgba(0,82,165,.7); }
.event-hero__title { font-size: clamp(1.5rem,3.5vw,2.4rem); font-weight: 800; margin: 0 0 10px; }
.event-hero__date  { font-size: 0.9rem; opacity: .8; margin: 0; }

.event-single-body { padding-block: 48px; }
.event-single-layout {
  display: grid; gap: 32px;
  grid-template-columns: 1fr 320px;
}
@media (max-width: 768px) { .event-single-layout { grid-template-columns: 1fr; } }

.event-content { font-size: 0.95rem; line-height: 1.75; color: var(--text); }
.event-content h2 { font-size: 1.3rem; margin-top: 2em; }
.event-content h3 { font-size: 1.1rem; margin-top: 1.5em; }

/* Sidebar infos */
.event-info-card {
  background: white; border-radius: 14px; border: 1px solid #e8ecf0;
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.event-info-row { display: flex; align-items: flex-start; gap: 12px; }
.event-info-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: #f0f4fa; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.event-info-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: 2px; }
.event-info-val   { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.ev-full-badge    { background: #fee2e2; color: #dc2626; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; }

/* Boîte inscription */
.event-register-box { margin-top: 16px; }
.btn-event-register {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 13px 20px; background: var(--blue); color: white;
  border: none; border-radius: 10px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; text-decoration: none; font-family: inherit;
  transition: opacity .2s; text-align: center;
}
.btn-event-register:hover:not(:disabled) { opacity: .88; }
.btn-event-register--disabled { background: #9ca3af; cursor: not-allowed; }
.btn-event-join {
  display: block; margin-top: 10px; text-align: center;
  font-size: 0.82rem; color: var(--blue); text-decoration: underline;
}
.event-register-note { font-size: 0.75rem; color: var(--text-light); text-align: center; margin-top: 8px; }
.event-members-gate { text-align: center; padding: 20px; background: #f0f7ff; border-radius: 12px; }
.event-members-gate p { font-size: 0.85rem; margin: 12px 0; }
.event-already-registered { text-align: center; padding: 16px; background: #f0fdf4; border-radius: 12px; }
.event-already-registered p { font-size: 0.85rem; color: #15803d; font-weight: 600; margin: 8px 0 12px; }
.btn-event-unregister {
  padding: 7px 16px; border: 1.5px solid #d1d5db; background: white;
  border-radius: 8px; font-size: 0.82rem; color: var(--text);
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.btn-event-unregister:hover { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.event-registrants-box { margin-top: 16px; padding: 16px; background: #f8fafc; border-radius: 10px; }
.event-registrants-box h3 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin: 0 0 10px; }
.event-registrants-list { list-style: none; margin: 0; padding: 0; font-size: 0.83rem; display: flex; flex-direction: column; gap: 4px; }
.event-registrants-list small { color: var(--text-light); margin-left: 6px; }

/* ══════════════════════════════════════════════════════════
   PAGE INSCRIPTION ALUMNI
══════════════════════════════════════════════════════════ */
.inscription-container { padding-block: 48px; max-width: 680px; }

/* Étapes */
.insc-steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 40px; overflow-x: auto; padding-bottom: 4px;
}
.insc-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.insc-step__num {
  width: 32px; height: 32px; border-radius: 50%;
  background: #e5e7eb; color: #6b7280;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800;
  transition: all .3s;
}
.insc-step.active .insc-step__num  { background: var(--blue); color: white; }
.insc-step.done .insc-step__num    { background: #16a34a; color: white; }
.insc-step__label { font-size: 0.72rem; font-weight: 600; color: var(--text-light); white-space: nowrap; }
.insc-step.active .insc-step__label { color: var(--blue); }
.insc-step.done  .insc-step__label  { color: #16a34a; }
.insc-step-line { flex: 1; height: 2px; background: #e5e7eb; min-width: 24px; margin-bottom: 20px; }

/* Carte contenu */
.insc-card {
  background: white; border-radius: 16px; border: 1px solid #e8ecf0;
  padding: 36px; box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.insc-card--centered { text-align: center; padding: 56px 36px; }
.insc-card__title { font-size: 1.3rem; font-weight: 800; margin: 0 0 8px; }
.insc-card__desc { font-size: 0.88rem; color: var(--text-light); margin: 0 0 28px; line-height: 1.6; }

/* Formulaire */
.insc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
@media (max-width: 540px) { .insc-form-grid { grid-template-columns: 1fr; } }
.insc-field { display: flex; flex-direction: column; gap: 5px; }
.insc-field--full { grid-column: 1/-1; }
.insc-field label { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.insc-field input, .insc-field select {
  padding: 10px 13px; border: 1.5px solid #e2e5ea; border-radius: 9px;
  font-size: 0.9rem; font-family: inherit; color: var(--text);
  background: white; transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.insc-field input:focus, .insc-field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,82,165,.1);
}
.insc-hint { font-size: 0.75rem; color: var(--text-light); }
.insc-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.insc-radio {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 8px 14px; border: 1.5px solid #e2e5ea; border-radius: 8px;
  font-size: 0.85rem; font-weight: 500; transition: all .2s;
}
.insc-radio:has(input:checked) { border-color: var(--blue); background: #f0f7ff; color: var(--blue); font-weight: 700; }
.insc-radio input { display: none; }
/* Section pills — more compact */
.insc-radio-group--sections { gap: 7px; }
.insc-radio--sm { padding: 6px 11px; font-size: 0.8rem; border-radius: 6px; }
.insc-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: var(--text-light); line-height: 1.5;
  cursor: pointer;
}
.insc-checkbox input { flex-shrink: 0; accent-color: var(--blue); margin-top: 2px; }
.insc-error {
  background: #fee2e2; border: 1px solid #fca5a5;
  color: #dc2626; padding: 12px 16px; border-radius: 9px;
  font-size: 0.85rem; margin-bottom: 16px;
}
.insc-form-actions { display: flex; justify-content: flex-end; margin-top: 24px; }
.btn-insc-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--blue); color: white;
  border: none; border-radius: 10px; font-size: 0.92rem; font-weight: 700;
  cursor: pointer; font-family: inherit; text-decoration: none;
  transition: opacity .2s;
}
.btn-insc-submit:hover:not(:disabled) { opacity: .88; }
.btn-insc-submit:disabled { opacity: .55; cursor: not-allowed; }

/* Prix */
.insc-price-box {
  display: flex; align-items: baseline; gap: 6px;
  margin: 0 0 20px; padding: 20px; background: #f0f7ff;
  border-radius: 12px; border: 1px solid #bdd7f5;
}
.insc-price-amount { font-size: 2.4rem; font-weight: 900; color: var(--blue); }
.insc-price-label  { font-size: 1rem; color: var(--text-light); font-weight: 600; }

/* Stripe */
.insc-stripe-element {
  padding: 16px; border: 1.5px solid #e2e5ea; border-radius: 10px;
  background: white; min-height: 48px;
}
.insc-stripe-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--text-light); margin-top: 12px;
}

/* Succès / attente */
.insc-success-icon { margin: 0 auto 20px; width: fit-content; }
.insc-success-icon--pending svg { stroke: #d97706; }

/* Avantages */
.insc-benefits {
  margin-top: 32px; padding: 28px; background: #f8fafc;
  border-radius: 14px; border: 1px solid #e8ecf0;
}
.insc-benefits h3 { font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin: 0 0 16px; }
.insc-benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .insc-benefits-grid { grid-template-columns: 1fr; } }
.insc-benefit { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.insc-benefit__icon { font-size: 1.3rem; }

/* ══════════════════════════════════════════════════════════
   EVENTS — LISTE (style emlyon)
══════════════════════════════════════════════════════════ */
.evp-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #003880 100%);
  padding: 52px 0 40px; color: white;
}
.evp-hero__title { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; margin: 0; }

/* Barre d'onglets */
.evp-tabs-bar {
  background: white; border-bottom: 1px solid #e8ecf0;
  position: sticky; top: 70px; z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.evp-tabs-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 0;
}
.evp-tabs { display: flex; gap: 0; }
.evp-tab {
  padding: 16px 20px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-light); text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.evp-tab:hover { color: var(--blue); }
.evp-tab--active { color: var(--blue); border-bottom-color: var(--blue); }
.evp-search {
  display: flex; align-items: center; gap: 8px;
  background: #f5f6f8; border-radius: 8px; padding: 8px 14px;
  flex: 0 0 260px;
}
.evp-search input {
  border: none; background: none; font-size: 0.87rem;
  color: var(--text); outline: none; width: 100%; font-family: inherit;
}
.evp-search svg { flex-shrink: 0; color: #9ca3af; }

/* Layout principal */
.evp-body { padding-block: 40px; }
.evp-layout {
  display: grid; gap: 40px;
  grid-template-columns: 1fr 280px;
}
@media (max-width: 900px) { .evp-layout { grid-template-columns: 1fr; } }

/* Séparateur de jour */
.evp-day-header {
  font-size: 0.82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-light);
  padding: 20px 0 10px;
  border-bottom: 1.5px solid #e8ecf0;
  margin-bottom: 4px;
}
.evp-day-header:first-child { padding-top: 0; }

/* Carte événement — layout horizontal */
.evp-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 0 16px;
  background: white; border-radius: 12px;
  border: 1px solid #eef0f4;
  padding: 20px 20px 20px 24px;
  margin-bottom: 10px;
  transition: box-shadow .2s, transform .15s;
  position: relative;
}
.evp-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-1px); }
.evp-card--past { opacity: .6; }
.evp-card--past:hover { opacity: .85; }

.evp-card__main { flex: 1; min-width: 0; }
.evp-card__meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.evp-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  background: #eef3fb; color: var(--blue);
}
.evp-badge--members { background: #e8f5e9; color: #16a34a; }
.evp-badge--default { background: #f0f4ff; color: #4f46e5; }
.evp-card__time {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.76rem; color: var(--text-light); font-weight: 600;
}
.evp-card__price-badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 800;
  background: #fff7ed; color: #d97706;
}
.evp-card__price-badge--free { background: #f0fdf4; color: #16a34a; }

.evp-card__title {
  font-size: 1.02rem; font-weight: 700; margin: 0 0 8px;
  line-height: 1.3;
}
.evp-card__title a { color: var(--text); text-decoration: none; }
.evp-card__title a:hover { color: var(--blue); }
.evp-card__infos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.evp-card__loc, .evp-card__reg {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.79rem; color: var(--text-light);
}
.evp-card__thumb-wrap {
  width: 120px; height: 80px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  display: block;
}
.evp-card__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.evp-card:hover .evp-card__thumb { transform: scale(1.05); }
.evp-card__cta-wrap { flex-shrink: 0; }
.evp-card__cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; background: var(--blue); color: white;
  border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: opacity .2s;
}
.evp-card__cta:hover { opacity: .88; }

.evp-empty {
  text-align: center; padding: 60px 0; color: var(--text-light);
}
.evp-empty p { margin-top: 14px; }

/* Sidebar */
.evp-sidebar { }

/* Mini calendrier */
.evp-cal {
  background: white; border-radius: 14px;
  border: 1px solid #e8ecf0; padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  margin-bottom: 20px;
}
.evp-cal__nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.evp-cal__month-label { font-size: 0.92rem; font-weight: 800; color: var(--text); }
.evp-cal__arr {
  width: 28px; height: 28px; border-radius: 50%;
  background: #f5f6f8; color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .15s;
}
.evp-cal__arr:hover { background: #e8ecf0; color: var(--text); }
.evp-cal__grid {
  display: grid; grid-template-columns: repeat(7,1fr);
  gap: 2px;
}
.evp-cal__dow {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-light);
  text-align: center; padding: 4px 0;
}
.evp-cal__day {
  text-align: center; padding: 5px 2px;
  font-size: 0.82rem; color: var(--text-light); border-radius: 50%;
  aspect-ratio: 1;
}
.evp-cal__day--empty { }
.evp-cal__day--today {
  background: #f0f4ff; color: var(--blue); font-weight: 800;
}
.evp-cal__day--event { font-weight: 700; color: var(--text); position: relative; }
.evp-cal__day--event::after {
  content: ''; display: block; width: 4px; height: 4px;
  background: var(--blue); border-radius: 50%;
  margin: 2px auto 0;
}
.evp-cal__day-link {
  color: inherit; text-decoration: none; display: block;
}
.evp-cal__day-link:hover { color: var(--blue); }

.evp-sidebar-summary { padding: 16px; background: #f8fafc; border-radius: 12px; }
.evp-sidebar-count { font-size: 0.85rem; color: var(--text-light); margin: 0 0 12px; }
.evp-sidebar-count strong { color: var(--blue); font-size: 1.1rem; }
.evp-sidebar-gate {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.evp-sidebar-gate p { font-size: 0.82rem; color: var(--text-light); margin: 0; }
.evp-sidebar-btn {
  display: block; width: 100%; text-align: center;
  padding: 9px 16px; background: var(--blue); color: white;
  border-radius: 8px; font-size: 0.84rem; font-weight: 700;
  text-decoration: none; transition: opacity .2s;
}
.evp-sidebar-btn:hover { opacity: .88; }
.evp-sidebar-btn--outline {
  background: none; color: var(--blue); border: 1.5px solid var(--blue);
}
.evp-sidebar-btn--outline:hover { background: #f0f7ff; opacity: 1; }

@media (max-width: 680px) {
  .evp-card { grid-template-columns: 1fr; }
  .evp-card__thumb-wrap { width: 100%; height: 180px; }
  .evp-card__cta-wrap { display: flex; }
  .evp-card__cta { flex: 1; justify-content: center; }
  .evp-tabs-inner { flex-wrap: wrap; gap: 8px; }
  .evp-search { flex: 1 1 100%; }
}

/* ══════════════════════════════════════════════════════════
   EVENTS — DÉTAIL (style emlyon)
══════════════════════════════════════════════════════════ */
.evs-breadcrumb {
  padding: 12px 0; border-bottom: 1px solid #f0f0f0;
  font-size: 0.8rem; color: var(--text-light);
}
.evs-breadcrumb a { color: var(--text-light); text-decoration: none; }
.evs-breadcrumb a:hover { color: var(--blue); }
.evs-breadcrumb span { margin: 0 6px; }

.evs-header {
  background: linear-gradient(135deg, var(--blue) 0%, #003880 100%);
  position: relative; padding: 60px 0 52px; color: white;
  min-height: 300px; display: flex; align-items: flex-end;
}
.evs-header--img .evs-header__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.evs-header__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,20,60,.85) 0%, rgba(0,20,60,.35) 60%, transparent 100%);
}
.evs-header__content { position: relative; z-index: 1; }
.evs-header__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.evs-cat-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 13px; border-radius: 100px;
  font-size: 0.73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  background: rgba(255,255,255,.18); color: white;
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.25);
}
.evs-cat-badge--members { background: rgba(22,163,74,.35); border-color: rgba(22,163,74,.4); }
.evs-cat-badge--past    { background: rgba(0,0,0,.35); }
.evs-header__title { font-size: clamp(1.5rem,3.5vw,2.4rem); font-weight: 900; margin: 0 0 16px; line-height: 1.2; }
.evs-header__meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.evs-meta-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.87rem; opacity: .9;
}

.evs-body { padding-block: 48px; }
.evs-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .evs-layout { grid-template-columns: 1fr; } }

.evs-content {
  font-size: 0.97rem; line-height: 1.8; color: var(--text);
}
.evs-content h2 { font-size: 1.25rem; font-weight: 800; margin-top: 2em; color: var(--text); }
.evs-content h3 { font-size: 1.05rem; font-weight: 700; margin-top: 1.5em; }
.evs-content p  { margin-bottom: 1em; }
.evs-content ul, .evs-content ol { padding-left: 1.4em; margin-bottom: 1em; }
.evs-content li { margin-bottom: 0.4em; }
.evs-content a  { color: var(--blue); text-decoration: underline; }

.evs-organizer {
  margin-top: 32px; padding: 20px; background: #f8fafc;
  border-radius: 12px; border-left: 3px solid var(--blue);
}
.evs-organizer h3 { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin: 0 0 6px; }
.evs-organizer p  { font-size: 0.9rem; margin: 0; }

.evs-online-box {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; background: #f0f7ff; border-radius: 10px;
  border: 1px solid #bdd7f5; margin-top: 24px;
  font-size: 0.87rem; color: var(--text);
}
.evs-online-box a { color: var(--blue); font-weight: 700; text-decoration: none; }

.evs-registrants { margin-top: 32px; }
.evs-registrants h3 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--text-light); margin: 0 0 12px; }
.evs-reg-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.evs-reg-table th { text-align: left; padding: 8px 12px; background: #f5f6f8; font-weight: 700; border-bottom: 1.5px solid #e8ecf0; }
.evs-reg-table td { padding: 8px 12px; border-bottom: 1px solid #f0f0f0; }

/* Sidebar carte inscription */
.evs-register-card {
  background: white; border-radius: 16px; border: 1px solid #e8ecf0;
  padding: 28px; box-shadow: 0 4px 24px rgba(0,0,0,.07);
  display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 90px;
}
.evs-price { display: flex; align-items: baseline; gap: 6px; }
.evs-price__amount { font-size: 2rem; font-weight: 900; color: var(--blue); }
.evs-price__label  { font-size: 0.85rem; color: var(--text-light); }
.evs-price__free   { font-size: 1.1rem; font-weight: 800; color: #16a34a; }

.evs-capacity { }
.evs-cap-bar {
  height: 6px; background: #e8ecf0; border-radius: 100px; overflow: hidden; margin-bottom: 6px;
}
.evs-cap-fill { height: 100%; background: var(--blue); border-radius: 100px; transition: width .5s; }
.evs-cap-label { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 8px; }
.evs-full-badge { background: #fee2e2; color: #dc2626; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; }

.evs-btn-register {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px; background: var(--blue); color: white;
  border: none; border-radius: 10px; font-size: 0.92rem; font-weight: 700;
  cursor: pointer; text-decoration: none; font-family: inherit;
  transition: opacity .2s; text-align: center; width: 100%;
}
.evs-btn-register:hover:not(:disabled) { opacity: .88; }
.evs-btn-register--disabled { background: #9ca3af; cursor: not-allowed; }
.evs-btn-join {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px; border: 1.5px solid var(--blue); color: var(--blue);
  border-radius: 10px; font-size: 0.88rem; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.evs-btn-join:hover { background: #f0f7ff; }

.evs-gate { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.evs-gate__icon { width: 56px; height: 56px; background: #f0f7ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.evs-gate__title { font-size: 1rem; font-weight: 800; color: var(--text); margin: 0; }
.evs-gate__sub   { font-size: 0.83rem; color: var(--text-light); margin: 0; line-height: 1.5; }

.evs-registered { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.evs-registered__check {
  width: 48px; height: 48px; background: #f0fdf4; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.evs-registered p { font-size: 0.9rem; font-weight: 700; color: #15803d; margin: 0; }
.evs-btn-unregister {
  padding: 8px 18px; border: 1.5px solid #e2e5ea; background: white;
  border-radius: 8px; font-size: 0.82rem; color: var(--text-light);
  cursor: pointer; font-family: inherit; transition: all .15s;
}
.evs-btn-unregister:hover { border-color: #fca5a5; color: #dc2626; background: #fee2e2; }

.evs-past-note {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.87rem; color: var(--text-light);
  padding: 14px; background: #f8fafc; border-radius: 10px; margin: 0;
}
.evs-register-note { font-size: 0.75rem; color: var(--text-light); text-align: center; margin: 0; }

.evs-share { margin-top: 20px; }
.evs-share p { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin: 0 0 8px; }
.evs-share__btns { display: flex; gap: 8px; }
.evs-share-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: #f5f6f8; color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all .15s;
}
.evs-share-btn:hover { background: var(--blue); color: white; }

/* ── Event single : enrichissements emlyon ──────────────── */

/* Tags header */
.evs-header__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.evs-tag {
  padding: 3px 10px; background: rgba(255,255,255,.18); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.25); border-radius: 20px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
}
.evs-header--img .evs-tag { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.2); color: #fff; }

/* Format badge */
.evs-format-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}

/* Sections article */
.evs-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid #f0f0f0; }
.evs-section:last-child { border-bottom: none; }
.evs-section__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.05rem; font-weight: 800; color: #111;
  margin: 0 0 20px;
}

/* Speakers */
.evs-speakers { display: flex; flex-direction: column; gap: 16px; }
.evs-speaker-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 16px;
}
.evs-speaker-photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.evs-speaker-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .95rem; font-weight: 800;
}
.evs-speaker-info { display: flex; flex-direction: column; gap: 3px; }
.evs-speaker-name  { font-size: .92rem; font-weight: 800; color: #111; margin: 0; }
.evs-speaker-role  { font-size: .8rem; color: var(--blue); font-weight: 600; margin: 0; }
.evs-speaker-promo { font-size: .72rem; color: #9ca3af; margin: 0; }
.evs-speaker-bio   { font-size: .8rem; color: #6b7280; margin: 4px 0 0; line-height: 1.5; }
.evs-speaker-li    { font-size: .78rem; color: #0077b5; font-weight: 600; margin-top: 4px; display: inline-block; }

/* Infos pratiques */
.evs-info-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
}
.evs-info-item {
  display: flex; gap: 10px; align-items: flex-start;
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px;
}
.evs-info-item svg { flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.evs-info-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #9ca3af; margin: 0 0 4px; }
.evs-info-item p:not(.evs-info-label) { font-size: .85rem; color: #374151; margin: 0; }

/* Partenaires */
.evs-partners { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.evs-partner {
  height: 48px; padding: 8px 16px; border: 1px solid #e5e7eb; border-radius: 10px;
  background: #fff; display: flex; align-items: center;
}
.evs-partner img { max-height: 32px; width: auto; }
.evs-partner span { font-size: .85rem; font-weight: 700; color: #374151; }

/* Sidebar enrichie */
.evs-price__member {
  display: flex; align-items: center; gap: 4px; width: 100%;
  font-size: .78rem; color: #16a34a; font-weight: 600; margin-top: 4px;
}
.evs-card-details { display: flex; flex-direction: column; gap: 8px; }
.evs-card-detail {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: #6b7280;
}
.evs-card-detail svg { flex-shrink: 0; color: #9ca3af; }

/* Prochains événements sidebar */
.evs-next-events { margin-top: 4px; }
.evs-next-events__title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: #9ca3af; margin: 0 0 10px;
}
.evs-next-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 12px; border-radius: 9px; text-decoration: none;
  transition: background .15s; border: 1px solid transparent;
}
.evs-next-item:hover { background: #f0f6ff; border-color: #d1e3f8; }
.evs-next-item + .evs-next-item { margin-top: 4px; }
.evs-next-item__date  { font-size: .7rem; color: #9ca3af; font-weight: 600; }
.evs-next-item__title { font-size: .83rem; font-weight: 700; color: #1a3a5c; }
.evs-next-item__cat   { font-size: .7rem; color: var(--blue); font-weight: 600; }

/* ── Page settings Stripe (WP Admin) ──────────────────────── */
.csi-settings-wrap { max-width: 680px; }
.csi-settings-wrap .form-table th { width: 220px; }
.csi-stripe-note { font-size: 12px; color: #666; margin-top: 4px; }

/* ══════════════════════════════════════════════════════════
   PAGES LÉGALES
══════════════════════════════════════════════════════════ */
.legal-page { }
.legal-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #003880 100%);
  padding: 56px 0 40px; color: white;
}
.legal-hero__back a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.7); font-size: 0.82rem; text-decoration: none;
  margin-bottom: 16px; display: flex;
  transition: color .15s;
}
.legal-hero__back a:hover { color: white; }
.legal-hero__title { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; margin: 0 0 10px; }
.legal-hero__date  { font-size: 0.82rem; opacity: .65; margin: 0; }
.legal-body { padding-block: 56px; max-width: 780px; }
.legal-content {
  font-size: 0.95rem; line-height: 1.85; color: var(--text);
}
.legal-content h2 { font-size: 1.2rem; font-weight: 800; margin: 2.5em 0 0.8em; padding-bottom: 0.5em; border-bottom: 1.5px solid #e8ecf0; }
.legal-content h3 { font-size: 1rem; font-weight: 700; margin: 1.8em 0 0.6em; color: var(--blue); }
.legal-content p  { margin-bottom: 1em; }
.legal-content ul { padding-left: 1.5em; margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.4em; }
.legal-content a  { color: var(--blue); }
.legal-content strong { font-weight: 700; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.88rem; }
.legal-content th, .legal-content td { padding: 10px 14px; border: 1px solid #e8ecf0; text-align: left; }
.legal-content th { background: #f5f6f8; font-weight: 700; }

/* ══════════════════════════════════════════════════════════
   BANNIÈRE COOKIES (RGPD)
══════════════════════════════════════════════════════════ */
#csi-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #1a1f2e; color: white;
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
  transform: translateY(0);
  transition: transform .4s ease;
}
#csi-cookie-banner.is-hidden { transform: translateY(110%); }
.cookie-banner__inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1; font-size: 0.85rem; line-height: 1.6; color: rgba(255,255,255,.85);
}
.cookie-banner__text a { color: var(--accent); text-decoration: underline; }
.cookie-banner__text strong { color: white; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept {
  padding: 10px 22px; background: var(--accent); color: white;
  border: none; border-radius: 8px; font-size: 0.87rem; font-weight: 700;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: opacity .2s;
}
.cookie-btn-accept:hover { opacity: .88; }
.cookie-btn-decline {
  padding: 10px 18px; background: none; color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  font-size: 0.87rem; cursor: pointer; font-family: inherit;
  white-space: nowrap; transition: all .2s;
}
.cookie-btn-decline:hover { color: white; border-color: rgba(255,255,255,.6); }
.cookie-btn-settings {
  padding: 10px 18px; background: none; color: rgba(255,255,255,.5);
  border: none; font-size: 0.82rem; cursor: pointer; font-family: inherit;
  text-decoration: underline; white-space: nowrap;
}
.cookie-prefs-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 10000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.cookie-prefs-inner {
  background: white; border-radius: 16px; width: min(520px,100%);
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.cookie-prefs-header { padding: 24px 28px 16px; border-bottom: 1px solid #f0f0f0; }
.cookie-prefs-header h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 4px; }
.cookie-prefs-header p  { font-size: 0.84rem; color: var(--text-light); margin: 0; }
.cookie-prefs-body { padding: 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.cookie-pref-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; border: 1px solid #e8ecf0; border-radius: 10px;
}
.cookie-pref-row__text { flex: 1; }
.cookie-pref-row__text strong { font-size: 0.9rem; font-weight: 700; display: block; margin-bottom: 3px; }
.cookie-pref-row__text p { font-size: 0.8rem; color: var(--text-light); margin: 0; line-height: 1.5; }
/* Toggle switch */
.cookie-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-track {
  position: absolute; inset: 0; background: #d1d5db; border-radius: 100px;
  cursor: pointer; transition: background .2s;
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--blue); }
.cookie-toggle-track::before {
  content: ''; position: absolute;
  width: 16px; height: 16px; left: 3px; top: 3px;
  background: white; border-radius: 50%;
  transition: transform .2s;
}
.cookie-toggle input:checked + .cookie-toggle-track::before { transform: translateX(18px); }
.cookie-toggle input:disabled + .cookie-toggle-track { cursor: not-allowed; opacity: .7; }
.cookie-prefs-footer {
  padding: 16px 28px; border-top: 1px solid #f0f0f0;
  display: flex; gap: 10px; justify-content: flex-end;
}
.cookie-prefs-save {
  padding: 10px 22px; background: var(--blue); color: white;
  border: none; border-radius: 8px; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
}

/* ══════════════════════════════════════════════════════════
   UTILITAIRES
══════════════════════════════════════════════════════════ */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.py-16 { padding-block: 64px; }
/* Fri Mar 27 10:58:34 UTC 2026 */

/* ══════════════════════════════════════════════════════════
   BURGER MENU — état connecté
══════════════════════════════════════════════════════════ */
.burger-membres-link {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; margin-top: 8px;
  background: rgba(0,82,165,.08); border-radius: 10px;
  color: var(--blue); font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: background .15s;
}
.burger-membres-link:hover { background: rgba(0,82,165,.15); }

.burger-sub-link {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 20px; margin-top: 4px;
  border-radius: 8px; color: #555; font-size: 0.82rem; font-weight: 500;
  text-decoration: none; transition: background .15s, color .15s;
  border-left: 2px solid #e0e7f0; margin-left: 8px;
}
.burger-sub-link svg { color: #8fa0b8; flex-shrink: 0; }
.burger-sub-link:hover { background: rgba(0,82,165,.06); color: var(--blue); }
.burger-sub-link:hover svg { color: var(--blue); }

/* ══════════════════════════════════════════════════════════
   PROFIL — timeline expériences / formation
══════════════════════════════════════════════════════════ */
.profile-headline { font-size:1rem; color:var(--text-light); margin: 4px 0 0; font-weight:500; }
.profile-meta-line--sub { margin-top:6px; display:flex; flex-wrap:wrap; gap:12px; }
.profile-loc-item { display:flex; align-items:center; gap:5px; font-size:0.85rem; color:var(--text-light); }

/* Sections profil */
.profile-body { padding-block: 40px 80px; }
.profile-section { margin-bottom: 24px; }
.ps-title {
  display:flex; align-items:center; gap:8px;
  font-size:1rem; font-weight:800; color:var(--text);
  margin:0 0 20px; padding-bottom:12px;
  border-bottom:2px solid #f0f3f7;
  letter-spacing:.01em;
}
.profile-bio { font-size:0.95rem; line-height:1.75; color:var(--text); margin:0; }
.profile-empty-hint { font-size:0.88rem; color:#9ca3af; font-style:italic; margin:0; }

/* Timeline */
.profile-timeline { display:flex; flex-direction:column; gap:0; }
.ptl-item {
  display:flex; gap:16px;
  padding-bottom:24px;
  position:relative;
}
.ptl-item:last-child { padding-bottom:0; }
.ptl-item::before {
  content:''; position:absolute; left:7px; top:20px; bottom:0;
  width:2px; background:#e8ecf4;
}
.ptl-item:last-child::before { display:none; }
.ptl-dot {
  width:16px; height:16px; border-radius:50%; flex-shrink:0; margin-top:3px;
  background: var(--blue); border:3px solid white;
  box-shadow:0 0 0 2px var(--blue);
  position:relative; z-index:1;
}
.ptl-dot--edu { background: var(--accent, #00B2E3); box-shadow:0 0 0 2px var(--accent, #00B2E3); }
.ptl-content { flex:1; min-width:0; }
.ptl-header { display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:4px; }
.ptl-role { font-size:0.95rem; font-weight:700; color:var(--text); }
.ptl-period { font-size:0.78rem; color:#9ca3af; white-space:nowrap; flex-shrink:0; }
.ptl-company { display:flex; align-items:center; gap:5px; font-size:0.85rem; color:var(--text-light); margin:0 0 6px; }
.ptl-desc { font-size:0.85rem; color:var(--text-light); margin:0; line-height:1.6; }

/* Compétences */
.profile-skills-tags { display:flex; flex-wrap:wrap; gap:8px; }
.skill-tag {
  padding:5px 14px; background:#eef3fb; color:var(--blue);
  border-radius:100px; font-size:0.83rem; font-weight:600;
  border:1px solid rgba(0,82,165,.15);
}

/* Sidebar info card */
.profile-info-card { padding:20px 22px; }
.pic-title { font-size:0.85rem; font-weight:800; color:#6b7280; text-transform:uppercase; letter-spacing:.06em; margin:0 0 14px; }

/* Faits CSI */
.profile-facts { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media(max-width:520px) { .profile-facts { grid-template-columns:1fr; } }
.pf-item { display:flex; align-items:center; gap:12px; }
.pf-icon {
  width:36px; height:36px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.pf-icon--blue  { background:rgba(0,82,165,.1); color:var(--blue); }
.pf-icon--accent{ background:rgba(0,178,227,.1); color:var(--accent,#00B2E3); }
.pf-icon--gold  { background:rgba(245,166,35,.1); color:var(--gold,#F5A623); }
.pf-label { font-size:0.75rem; color:#9ca3af; margin:0; font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.pf-value { font-size:0.93rem; font-weight:700; color:var(--text); margin:0; }

/* ══════════════════════════════════════════════════════════
   DRAWER — onglets et formulaire multi-sections
══════════════════════════════════════════════════════════ */
.drawer-tabs { display:flex; gap:4px; flex-wrap:wrap; margin-bottom:24px; padding:4px; background:#f4f5f7; border-radius:10px; }
.drawer-tab {
  flex:1; padding:8px 12px; border:none; background:transparent;
  font-size:0.83rem; font-weight:600; color:#6b7280; cursor:pointer;
  border-radius:8px; transition:all .15s; font-family:inherit;
  white-space:nowrap;
}
.drawer-tab--active { background:white; color:var(--blue); box-shadow:0 1px 4px rgba(0,0,0,.1); }
.drawer-panel { display:none; }
.drawer-panel--active { display:block; }

/* Champs formulaire */
.ef-group { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.ef-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ef-label { font-size:0.78rem; font-weight:700; color:#6b7280; text-transform:uppercase; letter-spacing:.04em; }
.ef-label--inline { display:flex; align-items:center; gap:8px; font-weight:600; text-transform:none; letter-spacing:0; font-size:0.88rem; color:var(--text); }
.ef-input, .ef-textarea {
  padding:9px 12px; border:1.5px solid #e5e7eb; border-radius:8px;
  font-size:0.9rem; font-family:inherit; color:var(--text);
  background:white; transition:border-color .15s;
  width:100%; box-sizing:border-box;
}
.ef-input:focus, .ef-textarea:focus { outline:none; border-color:var(--blue); }
.ef-hint { font-size:0.78rem; color:#9ca3af; margin:4px 0 0; }
.ef-group--csi { background:#f8f9ff; border-radius:10px; padding:10px 12px; margin-bottom:14px; }
.ef-group--csi .ef-label { color:var(--blue); }
.ef-btn-cancel {
  padding:10px 22px; border:1.5px solid #e5e7eb; background:white;
  border-radius:8px; font-size:0.9rem; font-family:inherit; cursor:pointer;
}
.ef-btn-save {
  padding:10px 28px; background:var(--blue); color:white; border:none;
  border-radius:8px; font-size:0.9rem; font-weight:700; font-family:inherit;
  cursor:pointer; transition:background .15s;
}
.ef-btn-save:hover { background:#003d80; }

/* Entrées job/edu */
.job-entry, .edu-entry {
  border:1.5px solid #e5e7eb; border-radius:12px;
  padding:16px; margin-bottom:14px; background:#fafbfc;
}
.job-entry__header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.job-entry__num { font-size:0.82rem; font-weight:800; color:var(--blue); text-transform:uppercase; letter-spacing:.04em; }
.job-entry__remove { font-size:0.8rem; color:#dc2626; background:none; border:none; cursor:pointer; padding:4px 8px; font-family:inherit; }
.ef-add-btn {
  display:flex; align-items:center; gap:6px;
  width:100%; padding:11px; border:2px dashed #d1d5db;
  background:white; border-radius:10px; color:#6b7280;
  font-size:0.88rem; font-weight:600; cursor:pointer; font-family:inherit;
  justify-content:center; transition:all .15s;
}
.ef-add-btn:hover { border-color:var(--blue); color:var(--blue); background:#f0f7ff; }

/* ══════════════════════════════════════════════════════════
   BUREAU — ORGANIGRAMME
══════════════════════════════════════════════════════════ */

/* ── Section wrapper ── */
.bureau-section {
  background: linear-gradient(160deg, #001432 0%, #0a1e42 50%, #0d2557 100%);
  padding: clamp(60px, 8vw, 100px) 0;
}

.bureau-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.bureau-overline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 10px;
}
.bureau-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.bureau-intro {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Org chart layout ── */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Levels */
.org-level {
  display: flex;
  justify-content: center;
  width: 100%;
}
.org-level--2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  width: 100%;
  max-width: 1100px;
  margin-top: 0;
}

/* ── Root node (association) ── */
.org-node--root {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  min-width: 200px;
}
.org-node__logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.org-node__logo-text {
  font-size: 1.1rem; font-weight: 700; color: white; letter-spacing: 0.04em;
}
.org-node__label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); margin: 0;
}

/* ── Connectors ── */
.org-connector--root {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.4));
  flex-shrink: 0;
}

.org-connector--branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1100px;
}
.org-connector__v-line {
  width: 2px;
  height: 32px;
  background: rgba(255,255,255,0.35);
}
.org-connector__h-line {
  width: calc(100% - 80px);
  height: 2px;
  background: rgba(255,255,255,0.2);
}

/* Vertical connector on each member card */
.org-node__v-connector {
  width: 2px;
  height: 24px;
  background: rgba(255,255,255,0.3);
  margin: 0 auto 12px;
}

/* ── President card ── */
.org-node--president {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 48px);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  gap: 10px;
  min-width: 240px;
  max-width: 340px;
  transition: transform 0.25s, background 0.25s;
  position: relative;
}
.org-node--president::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201,168,76,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.org-node--president:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.16);
}

/* ── Member card ── */
.org-node--member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(16px, 2vw, 24px) clamp(12px, 2vw, 20px);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  gap: 6px;
  transition: transform 0.25s, background 0.25s;
}
.org-node--member:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.13);
}

/* ── Avatars ── */
.org-avatar {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
  transition: border-color 0.25s;
}
.org-avatar--lg {
  width: clamp(80px, 10vw, 108px);
  height: clamp(80px, 10vw, 108px);
  border-width: 3px;
}
.org-avatar--md {
  width: clamp(64px, 8vw, 80px);
  height: clamp(64px, 8vw, 80px);
  border-width: 2px;
}
.org-node--president:hover .org-avatar { border-color: var(--gold); }
.org-node--member:hover .org-avatar { border-color: rgba(255,255,255,0.55); }
.org-avatar__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
}
.org-avatar__initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
}
.org-node--member .org-avatar__initials { font-size: 1.1rem; }

/* ── Text ── */
.org-node__info { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.org-node__name {
  font-size: 0.88rem; font-weight: 700;
  color: #fff; letter-spacing: 0.04em;
  text-transform: uppercase; margin: 0; line-height: 1.3;
}
.org-node--member .org-node__name { font-size: 0.78rem; }
.org-node__role {
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin: 0;
}
.org-node__quote {
  font-size: 0.72rem; font-style: italic;
  color: rgba(255,255,255,0.45); margin: 4px 0 0;
  line-height: 1.4;
}
.org-node--member .org-node__quote { display: none; }

/* ── Action links ── */
.org-node__links { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.org-link {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8);
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.org-link:hover { background: var(--gold); color: white; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .org-level--2 { grid-template-columns: repeat(3, 1fr); }
  .org-connector__h-line { width: calc(100% - 40px); }
}
@media (max-width: 600px) {
  .org-level--2 { grid-template-columns: repeat(2, 1fr); }
  .org-connector--branch { display: none; }
  .org-node__v-connector { display: none; }
  .org-node--member { margin-top: 0; }
  .org-level--0, .org-level--1 { margin-bottom: 8px; }
  .org-connector--root { height: 20px; }
  .org-level--1 { margin-bottom: 16px; }
}

/* ══════════════════════════════════════════════════════════
   PAGE CONTACT
══════════════════════════════════════════════════════════ */

.contact-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #003d82 100%);
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px);
}
.contact-hero__overline {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 12px;
}
.contact-hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  color: #fff; line-height: 1.1; letter-spacing: -.02em; margin: 0;
}

.contact-body { padding: clamp(48px, 6vw, 80px) 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* Form */
.contact-form-wrap { background: #fff; border-radius: 16px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 4px 32px rgba(0,0,0,.06); }

.contact-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #dc2626;
  padding: 12px 16px; border-radius: 8px; font-size: .87rem; margin-bottom: 20px;
}

.cf-row { display: flex; gap: 16px; }
.cf-row--2 > * { flex: 1; }
.cf-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.cf-label { font-size: .8rem; font-weight: 600; color: #374151; }
.cf-label span { color: var(--blue); }
.cf-input {
  padding: 10px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px;
  font-family: var(--font); font-size: .9rem; color: #111;
  transition: border-color .2s, box-shadow .2s; background: #fafafa;
  width: 100%; box-sizing: border-box;
}
.cf-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,82,165,.1); background: #fff; }
.cf-textarea { min-height: 130px; resize: vertical; }
select.cf-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }

.cf-submit {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--blue); color: #fff;
  border: none; border-radius: 8px; font-family: var(--font);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s;
}
.cf-submit:hover { background: #003d82; transform: translateY(-1px); }

/* Success */
.contact-success {
  text-align: center; padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.contact-success__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #dcfce7; display: flex; align-items: center; justify-content: center;
}
.contact-success h2 { font-size: 1.4rem; font-weight: 700; color: #111; margin: 0; }
.contact-success p { color: #6b7280; font-size: .9rem; max-width: 320px; }
.contact-back-btn {
  margin-top: 8px; padding: 10px 24px; background: var(--blue); color: #fff;
  border-radius: 8px; text-decoration: none; font-size: .87rem; font-weight: 600;
  transition: background .2s;
}
.contact-back-btn:hover { background: #003d82; }

/* Info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__card {
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: clamp(20px, 3vw, 28px);
}
.contact-info__title { font-size: 1.1rem; font-weight: 700; color: #111; margin: 0 0 2px; }
.contact-info__sub { font-size: .78rem; color: #9ca3af; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 20px; }
.contact-info__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-info__list li { display: flex; align-items: center; gap: 12px; font-size: .87rem; color: #374151; }
.contact-info__list a { color: var(--blue); text-decoration: none; }
.contact-info__list a:hover { text-decoration: underline; }
.contact-info__icon { width: 32px; height: 32px; border-radius: 8px; background: #e8f0fb; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info__card--cta { background: var(--blue); border-color: var(--blue); text-align: center; }
.contact-info__cta-label { color: rgba(255,255,255,.75); font-size: .82rem; margin: 0 0 14px; }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .cf-row--2 { flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════════
   LINKEDIN ZIP IMPORT BLOCK (author.php edit drawer)
═══════════════════════════════════════════════════════════ */
.edit-drawer__li-import {
  padding: 16px 20px;
  background: #f0f6ff;
  border-bottom: 1px solid #d1e3f8;
}
.li-zip-block { display: flex; flex-direction: column; gap: 10px; }
.li-zip-block__head {
  display: flex; align-items: center; gap: 10px;
}
.li-zip-block__head svg { flex-shrink: 0; color: #0077b5; }
.li-zip-block__label { font-size: .88rem; font-weight: 700; color: #1a3a5c; margin: 0; }
.li-zip-block__link { color: #0073B1; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.li-zip-block__link:hover { text-decoration: underline; }
.li-zip-block__sub { font-size: .75rem; color: #6b7280; margin: 0; }
.li-zip-label {
  display: flex; align-items: center; gap: 0;
  border: 1px solid #c9d8ee; border-radius: 8px; overflow: hidden;
  cursor: pointer; background: #fff;
}
.li-zip-filename {
  flex: 1; padding: 7px 12px; font-size: .8rem; color: #6b7280;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.li-zip-browse {
  padding: 7px 12px; background: #e8f0fb; color: var(--blue);
  font-size: .8rem; font-weight: 600; border-left: 1px solid #c9d8ee;
  flex-shrink: 0;
}
.li-zip-upload-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 9px 16px; background: #0077b5; color: #fff;
  border: none; border-radius: 8px; font-size: .84rem; font-weight: 600;
  cursor: pointer; transition: background .2s, opacity .2s;
}
.li-zip-upload-btn:hover:not(:disabled) { background: #005e93; }
.li-zip-upload-btn:disabled { opacity: .5; cursor: not-allowed; }
.li-zip-status {
  font-size: .82rem; padding: 6px 10px; border-radius: 6px;
  background: #e8f5e9; color: #2e7d32; line-height: 1.4;
}
.li-zip-status.error { background: #fdecea; color: #c62828; }
.li-zip-status.loading { background: #e8f0fb; color: #1a3a5c; }

/* ZIP import confirmation UI */
.li-zip-confirm { display: flex; flex-direction: column; gap: 8px; }
.li-zip-confirm__title { font-size: .85rem; font-weight: 700; color: #1a3a5c; margin: 0 0 4px; }
.li-zip-confirm__field {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; background: #fff; border: 1px solid #d1e3f8;
  border-radius: 7px; font-size: .82rem;
}
.li-zip-confirm__field label { display: flex; align-items: center; gap: 8px; cursor: pointer; flex: 1; }
.li-zip-confirm__field .lzf-count { margin-left: auto; font-size: .72rem; color: #9ca3af; }
.li-zip-import-btn {
  width: 100%; padding: 9px; background: var(--blue); color: #fff;
  border: none; border-radius: 8px; font-size: .84rem; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.li-zip-import-btn:hover { background: #003d82; }

/* ═══════════════════════════════════════════════════════════
   MES ÉVÉNEMENTS  (template-mes-evenements.php)
═══════════════════════════════════════════════════════════ */
.mev-page { min-height: 80vh; padding-bottom: 64px; }

.mev-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #2563a8 60%, #0077b5 100%);
  padding: clamp(80px, 12vw, 120px) 0 clamp(40px, 6vw, 56px);
  color: #fff;
}
.mev-hero .container { max-width: var(--container); margin: 0 auto; padding: 0 var(--px); }
.mev-hero__overline {
  font-size: .72rem; letter-spacing: .14em; font-weight: 700;
  text-transform: uppercase; opacity: .65; margin: 0 0 10px;
}
.mev-hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 10px; }
.mev-hero__sub { font-size: 1rem; opacity: .75; max-width: 480px; margin: 0; }

.mev-body {
  max-width: var(--container); margin: 0 auto; padding: 40px var(--px);
}

.mev-empty {
  text-align: center; padding: 64px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.mev-empty h2 { font-size: 1.3rem; font-weight: 700; color: #374151; }
.mev-empty p { font-size: .9rem; color: #6b7280; max-width: 360px; }
.mev-empty .btn-primary {
  margin-top: 8px; padding: 10px 24px; background: var(--blue); color: #fff;
  border-radius: 8px; font-size: .87rem; font-weight: 600;
  text-decoration: none; display: inline-block; transition: background .2s;
}
.mev-empty .btn-primary:hover { background: #003d82; }

.mev-section { margin-bottom: 40px; }
.mev-section__title {
  font-size: 1.05rem; font-weight: 700; color: #374151; margin: 0 0 18px;
  display: flex; align-items: center; gap: 10px;
}
.mev-section__dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.mev-section__dot--upcoming { background: #16a34a; }
.mev-section__dot--past     { background: #9ca3af; }
.mev-section__count {
  margin-left: 4px; background: #e5e7eb; color: #374151;
  font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 20px;
}

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

.mev-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s;
}
.mev-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.10); }
.mev-card--past { filter: grayscale(20%); }

.mev-card__cover {
  position: relative; height: 160px; background: #e8f0fb; overflow: hidden;
}
.mev-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.mev-card__cover-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f0fb 0%, #dbeafe 100%); color: #93b4d4;
}

.mev-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 4px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.mev-badge--upcoming { background: #dcfce7; color: #15803d; }
.mev-badge--past     { background: #f3f4f6; color: #6b7280; }

.mev-card__body { padding: 16px 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.mev-card__title { font-size: .95rem; font-weight: 700; color: #111; margin: 0; line-height: 1.3; }
.mev-card__meta { display: flex; flex-direction: column; gap: 5px; }
.mev-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: #6b7280;
}
.mev-meta-item--format {
  display: inline-flex; align-items: center;
  background: #f0f6ff; color: var(--blue); border-radius: 20px;
  padding: 2px 9px; font-size: .7rem; font-weight: 600; align-self: flex-start;
}

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

/* ═══════════════════════════════════════════════════════════
   YEARBOOK  (template-yearbook.php)
═══════════════════════════════════════════════════════════ */
.yb-page { min-height: 80vh; }

.yb-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1e4fa8 50%, #0052A5 100%);
  padding: clamp(80px, 12vw, 120px) 0 clamp(36px, 5vw, 52px);
  color: #fff;
}
.yb-hero .container { max-width: var(--container); margin: 0 auto; padding: 0 var(--px); }
.yb-hero__overline {
  font-size: .72rem; letter-spacing: .14em; font-weight: 700;
  text-transform: uppercase; opacity: .6; margin: 0 0 10px;
}
.yb-hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 10px; }
.yb-hero__sub { font-size: 1rem; opacity: .72; max-width: 520px; margin: 0; }

/* Body layout */
.yb-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px var(--px);
  align-items: start;
}

/* Sidebar */
.yb-sidebar {
  position: sticky; top: 80px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 20px 16px; overflow-y: auto; max-height: calc(100vh - 100px);
}
.yb-sidebar__title {
  font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: #9ca3af; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0;
}
.yb-promo-list { display: flex; flex-direction: column; gap: 4px; }
.yb-promo-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 11px; border-radius: 9px; text-decoration: none;
  color: #374151; font-size: .85rem; transition: background .15s;
}
.yb-promo-item:hover { background: #f0f6ff; }
.yb-promo-item--active {
  background: linear-gradient(135deg, var(--blue) 0%, #2563a8 100%);
  color: #fff;
}
.yb-promo-year { font-weight: 700; font-size: .88rem; }
.yb-promo-count { font-size: .72rem; opacity: .65; }
.yb-promo-mine {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--gold); color: #fff; border-radius: 10px;
  padding: 1px 7px; align-self: flex-start; margin-top: 2px;
}
.yb-promo-item--active .yb-promo-mine { background: rgba(255,255,255,.25); color: #fff; }

/* Main area */
.yb-main { padding-left: 28px; }
.yb-main__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.yb-main__title { font-size: 1.3rem; font-weight: 800; color: #111; margin: 0; }

.yb-upload-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px; background: var(--blue); color: #fff;
  border: none; border-radius: 9px; font-size: .84rem; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s;
}
.yb-upload-btn:hover { background: #003d82; transform: translateY(-1px); }

/* Empty state */
.yb-empty {
  text-align: center; padding: 64px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #6b7280;
}
.yb-empty p { font-size: .95rem; }
.yb-empty__sub { font-size: .82rem; color: #9ca3af; }

/* Photo grid */
.yb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.yb-photo-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  overflow: hidden; transition: box-shadow .18s, transform .18s;
}
.yb-photo-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.yb-photo-card__img-wrap {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f0f0f0;
}
.yb-photo-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.yb-photo-card:hover .yb-photo-card__img-wrap img { transform: scale(1.04); }

/* Tag dots on photo */
.yb-photo-card__tags { position: absolute; inset: 0; pointer-events: none; }
.yb-tag-dot {
  position: absolute; transform: translate(-50%, -50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,82,165,.85); border: 2px solid #fff;
  cursor: pointer; pointer-events: all;
  display: flex; align-items: center; justify-content: center;
}
.yb-tag-dot__label {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.82); color: #fff; font-size: .7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 5px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.yb-tag-dot:hover .yb-tag-dot__label { opacity: 1; }

/* Photo overlay controls */
.yb-photo-card__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.35);
  display: flex; align-items: flex-start; justify-content: flex-end;
  gap: 6px; padding: 8px;
  opacity: 0; transition: opacity .2s;
}
.yb-photo-card__img-wrap:hover .yb-photo-card__overlay { opacity: 1; }
.yb-btn-tag, .yb-btn-delete {
  width: 30px; height: 30px; border-radius: 8px; border: none;
  background: rgba(255,255,255,.92); color: #374151;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .15s;
}
.yb-btn-tag:hover { background: #dbeafe; color: var(--blue); }
.yb-btn-delete:hover { background: #fee2e2; color: #dc2626; }
.yb-btn-expand {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,.92); color: #374151;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.yb-btn-expand:hover { background: #dcfce7; color: #16a34a; }

/* Photo card footer */
.yb-photo-card__footer {
  padding: 8px 12px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: .75rem; color: #9ca3af; border-top: 1px solid #f3f4f6;
}
.yb-photo-card__uploader { color: #0052A5; font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yb-photo-card__uploader a { color: inherit; text-decoration: none; }
.yb-photo-card__uploader a:hover { text-decoration: underline; }
.yb-photo-card__tagged { color: #374151; font-size: .72rem; flex-shrink: 0; }
.yb-photo-card__date { color: #9ca3af; font-size: .72rem; margin-left: auto; flex-shrink: 0; }

/* ── Lightbox ─────────────────────────────────────────────── */
.yb-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.yb-lightbox__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.92);
}
.yb-lightbox__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  max-width: calc(100vw - 120px); max-height: calc(100vh - 80px);
}
.yb-lightbox__img {
  max-width: 100%; max-height: calc(100vh - 120px);
  border-radius: 8px; object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
.yb-lightbox__caption {
  color: rgba(255,255,255,.7); font-size: .85rem; text-align: center;
}
.yb-lightbox__close {
  position: fixed; top: 18px; right: 20px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.5rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.yb-lightbox__close:hover { background: rgba(255,255,255,.3); }
.yb-lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.4rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.yb-lightbox__nav:hover { background: rgba(255,255,255,.3); }
.yb-lightbox__prev { left: 16px; }
.yb-lightbox__next { right: 16px; }

/* ── Modal Upload ─────────────────────────────────────────── */
.yb-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
}
.yb-modal__overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.55);
  backdrop-filter: blur(3px);
}
.yb-modal__box {
  position: relative; z-index: 1;
  background: #fff; border-radius: 18px;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  display: flex; flex-direction: column; gap: 16px;
}
.yb-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: #f3f4f6; color: #374151; font-size: 1.2rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.yb-modal__close:hover { background: #e5e7eb; }
.yb-modal__title { font-size: 1.15rem; font-weight: 800; color: #111; margin: 0; }
.yb-modal__sub { font-size: .82rem; color: #6b7280; margin: 0; }

/* Drop zone */
.yb-drop-zone {
  border: 2px dashed #c9d8ee; border-radius: 12px;
  min-height: 150px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color .2s, background .2s;
  position: relative; overflow: hidden;
  background: #f8fafc;
}
.yb-drop-zone--over { border-color: var(--blue); background: #f0f6ff; }
.yb-drop-zone__content {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px; text-align: center; color: #6b7280; font-size: .88rem;
}
.yb-drop-zone__or { color: #c0c9d6; font-size: .78rem; }
.yb-drop-zone__btn {
  padding: 7px 16px; background: var(--blue); color: #fff;
  border: none; border-radius: 7px; font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.yb-drop-zone__btn:hover { background: #003d82; }

/* Form fields */
.yb-form-group { display: flex; flex-direction: column; gap: 6px; }
.yb-label { font-size: .82rem; font-weight: 700; color: #374151; }
.yb-input {
  padding: 9px 12px; border: 1.5px solid #d1d5db; border-radius: 8px;
  font-size: .86rem; font-family: var(--font); color: #111;
  transition: border-color .2s; width: 100%;
}
.yb-input:focus { outline: none; border-color: var(--blue); }

/* Tag input */
.yb-tag-input-wrap { position: relative; }
.yb-tag-suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: #fff; border: 1.5px solid #d1d5db; border-radius: 8px;
  max-height: 200px; overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  list-style: none; padding: 4px 0; margin: 2px 0 0;
}
.yb-tag-suggestions li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; cursor: pointer; font-size: .84rem; color: #374151;
  transition: background .12s;
}
.yb-tag-suggestions li:hover { background: #f0f6ff; }
.yb-sugg-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .68rem; font-weight: 700; flex-shrink: 0;
}
.yb-tags-selected { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.yb-sel-tag {
  display: flex; align-items: center; gap: 4px;
  background: #dbeafe; color: var(--blue); border-radius: 20px;
  padding: 3px 10px; font-size: .78rem; font-weight: 600;
}
.yb-sel-tag button {
  background: none; border: none; color: inherit; cursor: pointer;
  font-size: 1rem; line-height: 1; padding: 0; margin-left: 2px;
}

/* Modal actions */
.yb-modal__actions {
  display: flex; gap: 10px; justify-content: flex-end; padding-top: 4px;
}
.yb-btn-cancel {
  padding: 9px 20px; background: #f3f4f6; color: #374151;
  border: none; border-radius: 9px; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .15s;
}
.yb-btn-cancel:hover { background: #e5e7eb; }
.yb-btn-submit {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 22px; background: var(--blue); color: #fff;
  border: none; border-radius: 9px; font-size: .85rem; font-weight: 600;
  cursor: pointer; transition: background .2s, opacity .2s;
}
.yb-btn-submit:hover:not(:disabled) { background: #003d82; }
.yb-btn-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ── Notice yearbook (validation tag) ────────────────────── */
.yb-notice {
  margin: 0 var(--px) 0; padding: 12px 18px;
  border-radius: 10px; font-size: .875rem; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.yb-notice--ok  { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.yb-notice--err { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── Pending tag badge on photo card ─────────────────────── */
.yb-photo-card__pending-badge {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: flex; align-items: center; gap: 5px;
  background: rgba(245,166,35,.92); color: #fff;
  font-size: .7rem; font-weight: 700; border-radius: 8px;
  padding: 4px 8px; pointer-events: none;
}
.yb-pending-badge__link {
  pointer-events: all; color: #fff; font-weight: 800;
  text-decoration: underline; margin-left: 4px;
}
.yb-photo-card--pending .yb-photo-card__img-wrap { outline: 2px solid #F5A623; }

/* ── Dashboard : section tags en attente ─────────────────── */
.db-section--alert .db-section__title {
  display: flex; align-items: center; gap: 8px; color: #92400e;
}
.db-badge-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; border-radius: 999px;
  background: #f59e0b; color: #fff; font-size: .7rem; font-weight: 800;
  padding: 0 5px;
}
.db-section__sub {
  font-size: .85rem; color: #6b7280; margin: -8px 0 14px;
}
.db-pending-tags {
  display: flex; flex-direction: column; gap: 10px;
}
.db-pending-tag {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #fde68a; border-radius: 12px;
  padding: 10px 12px; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.db-pending-tag__img {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden; background: #f3f4f6;
}
.db-pending-tag__img img { width: 100%; height: 100%; object-fit: cover; }
.db-pending-tag__info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.db-pending-tag__caption {
  font-size: .875rem; font-weight: 600; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.db-pending-tag__meta { font-size: .75rem; color: #9ca3af; }
.db-pending-tag__actions {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.db-pending-tag__view {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #f3f4f6; color: #374151; text-decoration: none;
  transition: background .15s;
}
.db-pending-tag__view:hover { background: #e5e7eb; }
.db-pending-tag__approve, .db-pending-tag__reject {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; border: none; border-radius: 8px;
  font-size: .78rem; font-weight: 700; cursor: pointer;
  transition: background .15s, opacity .2s;
}
.db-pending-tag__approve { background: #d1fae5; color: #065f46; }
.db-pending-tag__approve:hover { background: #a7f3d0; }
.db-pending-tag__reject  { background: #fee2e2; color: #991b1b; }
.db-pending-tag__reject:hover { background: #fecaca; }
.db-pending-tag__approve:disabled,
.db-pending-tag__reject:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 768px) {
  .yb-body { grid-template-columns: 1fr; padding: 20px var(--px); }
  .yb-sidebar { position: static; max-height: none; }
  .yb-main { padding-left: 0; margin-top: 16px; }
  .yb-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .db-pending-tag { flex-wrap: wrap; }
  .db-pending-tag__actions { width: 100%; justify-content: flex-end; }
}

/* ═══════════════════════════════════════════════════════════════
   EVENT SINGLE — template-event-single.php (emlyon style)
   ═══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ─────────────────────────────────────────────── */
.evs-page { background: #f8fafc; min-height: 100vh; }

/* ── Breadcrumb ───────────────────────────────────────────────── */
.evs-breadcrumb {
  background: #fff; border-bottom: 1px solid #e5e7eb;
  padding: 10px 0; font-size: .82rem; color: #6b7280;
}
.evs-breadcrumb .container {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.evs-breadcrumb a { color: #6b7280; text-decoration: none; }
.evs-breadcrumb a:hover { color: var(--blue); }
.evs-breadcrumb span:last-child { color: #111; font-weight: 500; }
.evs-breadcrumb__actions {
  margin-left: auto; display: flex; gap: 8px; align-items: center;
}
.evs-action-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 20px; font-size: .78rem; font-weight: 600;
  background: #f3f4f6; color: #374151; border: none; cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s;
}
.evs-action-btn:hover { background: var(--blue); color: #fff; }

/* ── Hero ─────────────────────────────────────────────────────── */
.evs-hero {
  position: relative; min-height: 380px; display: flex;
  align-items: flex-end; overflow: hidden;
  /* Le header est absolute/overlappé sur ce hero */
}
.evs-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.evs-hero:hover .evs-hero__bg { transform: scale(1); }
.evs-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,82,165,.82) 0%, rgba(0,178,227,.55) 60%, rgba(0,0,0,.45) 100%);
}

/* Bulles déco */
.evs-hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.evs-bubble {
  position: absolute; border-radius: 50%;
  filter: blur(36px); opacity: .28;
}
.evs-bubble--1 {
  width: 300px; height: 300px; background: radial-gradient(circle, #00B2E3, transparent);
  top: -60px; right: 10%;
}
.evs-bubble--2 {
  width: 200px; height: 200px; background: radial-gradient(circle, #F5A623, transparent);
  bottom: 20px; left: 5%;
}
.evs-bubble--3 {
  width: 160px; height: 160px; background: radial-gradient(circle, #fff, transparent);
  top: 40%; left: 30%; opacity: .15;
}
.evs-bubble--4 {
  width: 240px; height: 240px; background: radial-gradient(circle, #0052A5, transparent);
  bottom: -50px; right: 25%; opacity: .3;
}

/* Hero inner */
.evs-hero__inner {
  position: relative; z-index: 1; padding: calc(72px + clamp(32px,5vw,56px)) 0 40px; color: #fff; width: 100%;
}
.evs-hero__badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.evs-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 11px; border-radius: 20px; font-size: .73rem; font-weight: 700;
  letter-spacing: .02em;
}
.evs-badge--lock { background: rgba(255,255,255,.18); color: #fff; }
.evs-badge--past { background: rgba(0,0,0,.35); color: #ddd; }

.evs-hero__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800;
  color: #fff; margin: 0 0 18px; line-height: 1.18;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.evs-hero__meta {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.evs-hero__meta-item {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .83rem; color: rgba(255,255,255,.9);
}
.evs-hero__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.evs-tag {
  padding: 3px 10px; background: rgba(255,255,255,.18); color: #fff;
  border-radius: 20px; font-size: .72rem; font-weight: 600;
  backdrop-filter: blur(4px);
}

.evs-hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.evs-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 22px; font-size: .83rem; font-weight: 700;
  text-decoration: none; transition: all .2s; cursor: pointer; border: none;
}
.evs-cta-btn--ghost {
  background: rgba(255,255,255,.18); color: #fff;
  border: 1.5px solid rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
}
.evs-cta-btn--ghost:hover { background: rgba(255,255,255,.32); }

/* ── Stats bar ────────────────────────────────────────────────── */
.evs-stats-bar {
  background: #fff; border-bottom: 1px solid #e5e7eb;
  padding: 10px 0; position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.evs-stats-bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.evs-stats-bar__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.evs-stat {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .82rem; color: #6b7280;
}
.evs-stat--btn {
  background: none; border: none; cursor: pointer; padding: 5px 10px;
  border-radius: 20px; transition: background .15s, color .15s;
}
.evs-stat--btn:hover { background: #f3f4f6; color: #374151; }
.evs-stat--btn.is-active { color: #e11d48; }
.evs-stat--btn.is-active--star,
.evs-stat--btn.is-active.is-active--star { color: #f59e0b; }

.evs-stats-bar__share { display: flex; align-items: center; gap: 8px; }
.evs-share-label { font-size: .78rem; color: #9ca3af; font-weight: 500; }
.evs-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f3f4f6; color: #374151; border: none; cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s;
}
.evs-share-btn:hover { background: var(--blue); color: #fff; }
.evs-share-btn--li:hover { background: #0a66c2; }

/* ── Body layout ──────────────────────────────────────────────── */
.evs-body { padding: 36px 0 60px; }
.evs-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 900px) { .evs-layout { grid-template-columns: 1fr; } }

/* ── Sections ─────────────────────────────────────────────────── */
.evs-section {
  background: #fff; border-radius: 16px; padding: 28px 30px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06); margin-bottom: 20px;
}
.evs-section__title {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.05rem; font-weight: 700; color: #111; margin: 0 0 20px;
}

/* ── Description ──────────────────────────────────────────────── */
.evs-content { font-size: .92rem; line-height: 1.8; color: #374151; }
.evs-content p { margin: 0 0 1em; }

/* ── Programme timeline ───────────────────────────────────────── */
.evs-programme { position: relative; padding-left: 70px; }
.evs-prog-item {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 22px; padding-bottom: 22px;
  border-bottom: 1px dashed #e5e7eb;
}
.evs-prog-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
/* Ligne verticale reliant les dots — positionnée sous le dot via z-index */
.evs-prog-item::after {
  content: ''; position: absolute;
  left: 5px; top: 20px; bottom: -22px;
  width: 2px; background: #e5e7eb; z-index: 0;
}
.evs-prog-item:last-child::after { display: none; }
.evs-prog-time {
  position: absolute; left: -70px; width: 56px; text-align: right;
  font-size: .78rem; font-weight: 700; color: var(--blue); padding-top: 2px;
}
.evs-prog-dot {
  flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); border: 2.5px solid #fff;
  box-shadow: 0 0 0 2px var(--blue); margin-top: 4px;
  position: relative; z-index: 1;
}
.evs-prog-content { flex: 1; }
.evs-prog-title { font-size: .9rem; font-weight: 700; color: #111; margin: 0 0 3px; }
.evs-prog-desc { font-size: .82rem; color: #6b7280; margin: 0; }

/* ── Speakers ─────────────────────────────────────────────────── */
.evs-speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.evs-speaker-card {
  display: flex; gap: 14px; padding: 16px;
  background: #f8fafc; border-radius: 12px; border: 1px solid #e5e7eb;
}
.evs-speaker-photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.evs-speaker-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: #fff; letter-spacing: -.5px;
}
.evs-speaker-info { flex: 1; }
.evs-speaker-name { font-size: .88rem; font-weight: 700; color: #111; margin: 0 0 2px; }
.evs-speaker-role { font-size: .78rem; color: #6b7280; margin: 0 0 2px; }
.evs-speaker-promo { font-size: .75rem; color: var(--blue); font-weight: 600; margin: 0 0 4px; }
.evs-speaker-bio { font-size: .76rem; color: #9ca3af; margin: 0 0 5px; line-height: 1.5; }
.evs-speaker-li { font-size: .75rem; color: var(--blue); text-decoration: none; font-weight: 600; }
.evs-speaker-li:hover { text-decoration: underline; }

/* ── Info grid ────────────────────────────────────────────────── */
.evs-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.evs-info-item {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 14px; background: #f8fafc; border-radius: 10px;
  border: 1px solid #e5e7eb;
}
.evs-info-item--deadline { border-color: #fde68a; background: #fffbeb; }
.evs-info-icon {
  width: 30px; height: 30px; border-radius: 8px; background: #e8f0fb;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.evs-info-item--deadline .evs-info-icon { background: #fef3c7; color: #b45309; }
.evs-info-label { font-size: .72rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 3px; }
.evs-info-item p { font-size: .85rem; color: #374151; margin: 0; line-height: 1.4; }

/* ── Map ──────────────────────────────────────────────────────── */
.evs-map-wrap { position: relative; }
.evs-map-link {
  position: absolute; bottom: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; background: #fff; border-radius: 20px;
  font-size: .78rem; font-weight: 700; color: var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,.12); text-decoration: none;
  transition: background .15s;
}
.evs-map-link:hover { background: #f0f6ff; }

/* ── Partners ─────────────────────────────────────────────────── */
.evs-partners { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.evs-partner {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 18px; background: #f8fafc; border-radius: 10px;
  border: 1px solid #e5e7eb;
}
.evs-partner img { max-height: 40px; max-width: 120px; object-fit: contain; }
.evs-partner span { font-size: .85rem; font-weight: 700; color: #374151; }

/* ── Author ───────────────────────────────────────────────────── */
.evs-author-section { padding: 18px 24px; }
.evs-author { display: flex; align-items: center; gap: 14px; }
.evs-author__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.evs-author__info { flex: 1; }
.evs-author__label { font-size: .72rem; color: #9ca3af; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.evs-author__name { font-size: .9rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.evs-author__name:hover { text-decoration: underline; }
.evs-author__date {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .78rem; color: #9ca3af; margin-left: auto;
}

/* ── Comments ─────────────────────────────────────────────────── */
.evs-comment-count {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800;
}
.evs-comment-empty { font-size: .88rem; color: #9ca3af; font-style: italic; }
.evs-comment-login { font-size: .88rem; color: #6b7280; }
.evs-comment-login a { color: var(--blue); font-weight: 600; }

.evs-comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.evs-comment { display: flex; gap: 12px; }
.evs-comment__avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.evs-comment__body { flex: 1; background: #f8fafc; border-radius: 12px; padding: 12px 16px; }
.evs-comment__header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.evs-comment__author { font-size: .83rem; font-weight: 700; color: #111; }
.evs-comment__date { font-size: .72rem; color: #9ca3af; }
.evs-comment__text { font-size: .84rem; color: #374151; margin: 0; line-height: 1.6; }

.evs-comment-form { display: flex; gap: 12px; margin-top: 16px; }
.evs-cf-right { flex: 1; }
.evs-cf-textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid #e5e7eb;
  border-radius: 12px; font-size: .85rem; resize: vertical; min-height: 80px;
  font-family: inherit; transition: border-color .15s;
}
.evs-cf-textarea:focus { outline: none; border-color: var(--blue); }
.evs-cf-submit {
  margin-top: 8px; padding: 9px 22px; background: var(--blue); color: #fff;
  border: none; border-radius: 20px; font-size: .83rem; font-weight: 700;
  cursor: pointer; transition: background .15s;
}
.evs-cf-submit:hover:not(:disabled) { background: #003d82; }
.evs-cf-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ── Registrants admin table ──────────────────────────────────── */
.evs-registrants { overflow-x: auto; }
.evs-reg-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.evs-reg-table th, .evs-reg-table td {
  padding: 9px 14px; text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.evs-reg-table th { background: #f8fafc; font-weight: 700; color: #6b7280; font-size: .75rem; text-transform: uppercase; }
.evs-reg-table tr:hover td { background: #f8fafc; }

/* ── Sidebar register card ────────────────────────────────────── */
.evs-sidebar { position: sticky; top: 80px; align-self: start; }
.evs-register-card {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08); border: 1px solid #e5e7eb;
  margin-bottom: 20px;
}
.evs-price { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.evs-price__free { font-size: 1.5rem; font-weight: 800; color: #16a34a; }
.evs-price__row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.evs-price__amount { font-size: 1.8rem; font-weight: 800; color: #111; }
.evs-price__label { font-size: .82rem; color: #9ca3af; }
.evs-price__member {
  display: flex; align-items: center; gap: 5px;
  font-size: .8rem; color: var(--blue); font-weight: 600; margin: 0;
}

.evs-capacity { margin-bottom: 16px; }
.evs-cap-bar { height: 6px; background: #e5e7eb; border-radius: 99px; overflow: hidden; margin-bottom: 5px; }
.evs-cap-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent)); border-radius: 99px; transition: width .4s; }
.evs-cap-label { font-size: .78rem; color: #6b7280; display: flex; align-items: center; gap: 6px; }
.evs-full-badge { padding: 2px 8px; background: #fee2e2; color: #dc2626; border-radius: 12px; font-weight: 700; font-size: .72rem; }

.evs-card-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.evs-card-detail {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: #6b7280;
}
.evs-card-detail--warn { color: #b45309; font-weight: 600; }

.evs-btn-register {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px; background: var(--blue); color: #fff;
  border: none; border-radius: 12px; font-size: .9rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: background .2s;
}
.evs-btn-register:hover { background: #003d82; color: #fff; }
.evs-btn-register--disabled { background: #d1d5db; color: #9ca3af; cursor: not-allowed; }
.evs-btn-join {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 10px; margin-top: 8px;
  border: 1.5px solid var(--blue); border-radius: 12px; font-size: .83rem;
  font-weight: 700; color: var(--blue); text-decoration: none; transition: all .15s;
}
.evs-btn-join:hover { background: var(--blue); color: #fff; }
.evs-btn-unregister {
  width: 100%; padding: 9px; background: none; border: 1.5px solid #e5e7eb;
  border-radius: 10px; color: #6b7280; font-size: .8rem; cursor: pointer; margin-top: 8px;
  transition: border-color .15s, color .15s;
}
.evs-btn-unregister:hover { border-color: #dc2626; color: #dc2626; }

.evs-past-note {
  display: flex; align-items: center; gap: 6px;
  font-size: .85rem; color: #9ca3af; font-style: italic; margin: 0;
}
.evs-registered { text-align: center; padding: 6px 0; }
.evs-registered__check {
  width: 48px; height: 48px; background: #dcfce7; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 8px;
}
.evs-registered p { font-size: .88rem; font-weight: 700; color: #16a34a; margin: 0 0 8px; }

.evs-gate { text-align: center; padding: 4px 0 12px; }
.evs-gate__icon { margin-bottom: 10px; }
.evs-gate__title { font-size: .95rem; font-weight: 700; color: #111; margin: 0 0 6px; }
.evs-gate__sub { font-size: .82rem; color: #6b7280; margin: 0 0 14px; }

.evs-sidebar-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.evs-sidebar-action-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; background: #f3f4f6; color: #374151; border-radius: 10px;
  font-size: .78rem; font-weight: 600; text-decoration: none; transition: background .15s;
}
.evs-sidebar-action-btn:hover { background: #e8f0fb; color: var(--blue); }

/* ── Suggested events ─────────────────────────────────────────── */
.evs-suggested {
  background: #fff; border-radius: 16px; padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06); border: 1px solid #e5e7eb;
}
.evs-suggested__title {
  display: flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 700; color: #374151; margin: 0 0 14px;
}
.evs-suggested-item {
  display: flex; gap: 10px; padding: 10px 0;
  border-bottom: 1px solid #f0f0f0; text-decoration: none;
  transition: background .1s;
}
.evs-suggested-item:last-of-type { border-bottom: none; }
.evs-suggested-item:hover .evs-suggested-name { color: var(--blue); }
.evs-suggested-img {
  width: 60px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.evs-suggested-img--placeholder {
  background: #f3f4f6; display: flex; align-items: center; justify-content: center;
}
.evs-suggested-info { flex: 1; }
.evs-suggested-date { font-size: .72rem; color: var(--blue); font-weight: 700; margin-bottom: 2px; }
.evs-suggested-name { font-size: .82rem; font-weight: 700; color: #111; line-height: 1.3; margin-bottom: 2px; }
.evs-suggested-cat { font-size: .72rem; color: #9ca3af; }
.evs-see-all {
  display: block; text-align: center; padding: 10px 0 0;
  font-size: .8rem; font-weight: 700; color: var(--blue); text-decoration: none;
}
.evs-see-all:hover { text-decoration: underline; }

/* ── Responsive event single ──────────────────────────────────── */
@media (max-width: 768px) {
  .evs-hero { min-height: 280px; }
  .evs-hero__inner { padding: 36px 0 28px; }
  .evs-hero__title { font-size: 1.5rem; }
  .evs-breadcrumb__actions { display: none; }
  .evs-stats-bar__share { display: none; }
  .evs-section { padding: 20px 18px; }
  .evs-info-grid { grid-template-columns: 1fr 1fr; }
  .evs-speakers { grid-template-columns: 1fr; }
  .evs-sidebar { position: static; }
}
@media (max-width: 480px) {
  .evs-info-grid { grid-template-columns: 1fr; }
  .evs-register-card { border-radius: 12px; padding: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   MODALES INSCRIPTION — event registration modals
   ═══════════════════════════════════════════════════════════════ */
.evs-modal-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; animation: evsBackdropIn .15s ease;
}
@keyframes evsBackdropIn { from { opacity:0 } to { opacity:1 } }

.evs-modal {
  background: #fff; border-radius: 20px; width: 100%; max-width: 480px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  animation: evsModalIn .2s cubic-bezier(.34,1.56,.64,1);
  overflow: hidden;
}
.evs-modal--sm { max-width: 380px; }
@keyframes evsModalIn { from { opacity:0; transform:scale(.92) translateY(12px) } to { opacity:1; transform:none } }

.evs-modal__header {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 24px 0; justify-content: space-between;
}
.evs-modal__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 800; color: #111; margin: 0;
}
.evs-modal__close {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: #f3f4f6; color: #6b7280; cursor: pointer; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; flex-shrink: 0;
}
.evs-modal__close:hover { background: #e5e7eb; color: #111; }

.evs-modal__body { padding: 20px 24px 24px; }

.evs-modal__event-name {
  font-size: .95rem; font-weight: 700; color: #111;
  padding: 12px 14px; background: #f8fafc; border-radius: 10px;
  border-left: 3px solid var(--blue); margin-bottom: 14px;
}
.evs-modal__meta {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px;
  font-size: .82rem; color: #6b7280;
}

.evs-modal__companion {
  background: #f8fafc; border-radius: 10px; padding: 12px 14px;
  margin-bottom: 14px; border: 1px solid #e5e7eb;
}
.evs-modal__check-label {
  display: flex; align-items: center; gap: 9px;
  font-size: .88rem; color: #374151; cursor: pointer;
}
.evs-modal__check-label input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer;
}
.evs-modal__check-label em { color: var(--blue); font-style: normal; font-weight: 600; }
.evs-modal__input {
  width: 100%; padding: 8px 12px; border: 1.5px solid #e5e7eb; border-radius: 8px;
  font-size: .85rem; font-family: inherit;
  transition: border-color .15s;
}
.evs-modal__input:focus { outline: none; border-color: var(--blue); }

.evs-modal__price-summary {
  background: #f8fafc; border-radius: 10px; padding: 12px 14px;
  margin-bottom: 16px; border: 1px solid #e5e7eb;
  display: flex; flex-direction: column; gap: 6px;
}
.evs-modal__price-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #374151;
}
.evs-modal__price-total {
  padding-top: 8px; border-top: 1px solid #e5e7eb;
  font-size: .95rem; font-weight: 800; color: #111;
}

.evs-modal__stripe {
  padding: 14px; background: #f8fafc; border-radius: 10px;
  border: 1px solid #e5e7eb; margin-bottom: 16px; min-height: 56px;
}

.evs-modal__footer {
  display: flex; gap: 10px; align-items: center;
}
.evs-modal__btn-cancel {
  flex: 1; padding: 11px; background: #f3f4f6; color: #374151; border: none;
  border-radius: 12px; font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: background .15s;
}
.evs-modal__btn-cancel:hover { background: #e5e7eb; }
.evs-modal__btn-confirm {
  flex: 2; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px; background: var(--blue); color: #fff; border: none;
  border-radius: 12px; font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.evs-modal__btn-confirm:hover:not(:disabled) { background: #003d82; }
.evs-modal__btn-confirm:disabled { opacity: .55; cursor: not-allowed; }
.evs-modal__btn-danger {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px; background: #dc2626; color: #fff; border: none;
  border-radius: 12px; font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: background .2s;
}
.evs-modal__btn-danger:hover:not(:disabled) { background: #b91c1c; }
.evs-modal__btn-danger:disabled { opacity: .55; cursor: not-allowed; }

.evs-modal__error {
  color: #dc2626; font-size: .82rem; margin: 8px 0 0; font-weight: 600; text-align: center;
}
.evs-modal__legal {
  font-size: .72rem; color: #9ca3af; text-align: center; margin: 10px 0 0;
}
.evs-modal__confirm-text {
  font-size: .9rem; color: #374151; line-height: 1.6; margin: 0 0 20px;
}
.evs-modal__confirm-text strong { color: #111; }

/* Succès */
.evs-modal__success {
  text-align: center; padding: 40px 28px 32px;
}
.evs-modal__success-icon {
  width: 60px; height: 60px; border-radius: 50%; background: #dcfce7;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #16a34a; margin: 0 auto 16px; font-weight: 800;
}
.evs-modal__success h3 { font-size: 1.1rem; font-weight: 800; color: #111; margin: 0 0 8px; }
.evs-modal__success p { font-size: .88rem; color: #6b7280; margin: 0 0 20px; }

/* Spinner */
.evs-spinner {
  display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; animation: evsSpin .6s linear infinite;
}
@keyframes evsSpin { to { transform: rotate(360deg); } }

/* Accompagnant dans bloc inscrit */
.evs-registered__companion {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; color: #6b7280; margin: 4px 0 8px;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO — composant réutilisable (style membres)
   ═══════════════════════════════════════════════════════════════ */
.ph-hero {
  --ph-color: var(--blue);
  position: relative; overflow: hidden;
  /* padding-top = hauteur header (~72px) + espace visuel */
  padding: calc(72px + clamp(28px,4vw,48px)) 0 clamp(32px,4vw,52px);
  color: #fff;
}
.ph-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--ph-color) 0%, #001f4d 65%, #000d24 100%);
}

/* Bulles décoratives */
.ph-hero__bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ph-bubble {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.ph-bubble--1 { width: 380px; height: 380px; top: -130px; right: -60px; }
.ph-bubble--2 { width: 220px; height: 220px; bottom: -70px; left: 8%; }
.ph-bubble--3 { width: 140px; height: 140px; top: 20%; left: 40%; opacity: .04; }

.ph-hero__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
}

/* Breadcrumb */
.ph-hero__breadcrumb {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.65); margin-bottom: 6px;
}
.ph-hero__breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.ph-hero__breadcrumb a:hover { color: #fff; }
.ph-hero__breadcrumb span { color: rgba(255,255,255,.9); }
.ph-sep { opacity: .5; }

/* Contenu principal */
.ph-hero__content {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.ph-hero__icon {
  font-size: 2.2rem; line-height: 1; flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
}
.ph-hero__text { flex: 1; min-width: 0; }
.ph-hero__title {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800; color: #fff; margin: 0 0 6px; line-height: 1.15;
}
.ph-hero__sub {
  font-size: clamp(.82rem, 1.5vw, .95rem);
  color: rgba(255,255,255,.75); margin: 0; line-height: 1.55;
}
.ph-hero__badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}
.ph-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; font-size: .78rem; font-weight: 500;
  backdrop-filter: blur(4px);
}
.ph-badge--accent { background: rgba(0,178,227,.3); border-color: rgba(0,178,227,.4); }
.ph-badge--gold   { background: rgba(245,166,35,.25); border-color: rgba(245,166,35,.4); }

.ph-hero__actions {
  display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; align-items: center;
}
.ph-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 22px; font-size: .85rem; font-weight: 700;
  text-decoration: none; transition: all .2s; cursor: pointer; border: none;
}
.ph-btn--primary { background: #fff; color: var(--blue); }
.ph-btn--primary:hover { background: #e8f0fb; }
.ph-btn--ghost {
  background: rgba(255,255,255,.15); color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.ph-btn--ghost:hover { background: rgba(255,255,255,.28); }

@media (max-width: 640px) {
  .ph-hero { padding: 28px 0 24px; }
  .ph-hero__title { font-size: 1.4rem; }
  .ph-hero__actions { margin-left: 0; }
  .ph-bubble--1 { width: 200px; height: 200px; }
}

/* ── Barre de recherche inline dans le hero annuaire ── */
.ph-hero__search-inline {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.25); border-radius: 28px;
  padding: 9px 16px; min-width: 260px;
  transition: background .2s, border-color .2s;
}
.ph-hero__search-inline:focus-within {
  background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5);
}
.ph-hero__search-inline input {
  flex: 1; background: none; border: none; outline: none;
  color: #fff; font-size: .88rem; font-family: inherit;
}
.ph-hero__search-inline input::placeholder { color: rgba(255,255,255,.6); }
.ph-hero__search-inline button {
  background: none; border: none; cursor: pointer; color: rgba(255,255,255,.7);
  display: flex; align-items: center; padding: 0;
  transition: color .15s;
}
.ph-hero__search-inline button:hover { color: #fff; }

/* ── Barre filtres annuaire sous le hero ── */
.directory-filters-wrap {
  background: var(--blue);
  padding: 14px 0;
}

/* ── Supprimer les anciens hero des pages migrées ── */
.contact-hero, .yb-hero, .mev-hero, .evp-hero,
.page-hero--inscription { display: none !important; }

/* ── Logo double (blanc/couleur) selon état du header ── */
.header-logo-white { display: block; }
.header-logo-color { display: none; }

/* sticky ou front scrollée → logo couleur */
.site-header.is-sticky .header-logo-white,
.site-header.scrolled  .header-logo-white { display: none; }
.site-header.is-sticky .header-logo-color,
.site-header.scrolled  .header-logo-color { display: block; }

/* Supprimer le filter sur l'unique img quand les deux existent */
.site-header--hero .header-logo img { filter: none; }
.site-header--transparent .header-logo img { filter: none; }

/* Réinitialiser front-page logo hidden */
.site-header.scrolled .header-logo--hidden { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-header.is-sticky .header-logo--hidden { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Pas de body padding-top sur les pages avec hero intégré */
body:not(.home) { padding-top: 0 !important; }

/* ══════════════════════════════════════════════════════════════════════
   SETTINGS PAGES — Confidentialité & Notifications
   ══════════════════════════════════════════════════════════════════════ */

.settings-page {
  background: #f4f5f7;
  min-height: calc(100vh - 72px);
  padding: 32px 0 80px;
}
.settings-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 760px) {
  .settings-container { grid-template-columns: 1fr; }
  .settings-nav { order: 2; }
  .settings-main { order: 1; }
}

/* ── Sidebar nav ──────────────────────────────────────────────────── */
.settings-nav {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px 0;
  position: sticky;
  top: 88px;
}
.settings-nav__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-light);
  text-transform: uppercase;
  padding: 10px 18px 6px;
}
.settings-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: 0;
  transition: background .15s, color .15s;
  border-left: 3px solid transparent;
}
.settings-nav__item:hover {
  background: #f4f5f7;
  color: var(--blue);
}
.settings-nav__item.is-active {
  background: rgba(0,82,165,0.07);
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 600;
}
.settings-nav__item svg { opacity: .6; flex-shrink: 0; }
.settings-nav__item.is-active svg,
.settings-nav__item:hover svg { opacity: 1; }

/* ── Cards ────────────────────────────────────────────────────────── */
.settings-main { display: flex; flex-direction: column; gap: 16px; }

.settings-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.settings-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.settings-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.settings-card__icon--blue   { background: rgba(0,82,165,0.1);  color: var(--blue); }
.settings-card__icon--accent { background: rgba(0,178,227,0.12); color: var(--accent); }
.settings-card__icon--gold   { background: rgba(245,166,35,0.12); color: #b07d1a; }

.settings-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 2px 0 4px;
}
.settings-card__desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
}

/* RGPD card */
.settings-card--rgpd {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 20px;
  background: #f8f9ff;
  border-color: #d0d9f0;
  color: #4b5c8a;
}
.settings-card--rgpd p { margin: 0; font-size: 0.8rem; line-height: 1.5; }
.settings-card--rgpd a { color: var(--blue); }
.settings-card--rgpd svg { flex-shrink: 0; margin-top: 1px; opacity: .7; }

/* ── Rows ─────────────────────────────────────────────────────────── */
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #f3f4f6;
}
.settings-row:last-child { border-bottom: none; }
.settings-row--select { align-items: flex-start; flex-wrap: wrap; }
.settings-row--select .settings-row__label { padding-top: 4px; }

.settings-row__label { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.settings-row__name  { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.settings-row__hint  { font-size: 0.75rem; color: var(--text-light); }

/* ── Toggle switch ────────────────────────────────────────────────── */
.toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-switch__track {
  width: 44px; height: 24px;
  background: #d1d5db;
  border-radius: 100px;
  transition: background .22s;
  position: relative;
}
.toggle-switch__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.toggle-switch input:checked + .toggle-switch__track {
  background: var(--blue);
}
.toggle-switch input:checked + .toggle-switch__track::after {
  transform: translateX(20px);
}
.toggle-switch input:focus-visible + .toggle-switch__track {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ── Visibility radios (pill style) ──────────────────────────────── */
.priv-select-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.priv-radio-opt {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1.5px solid #e5e7eb;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all .15s;
  background: #f9fafb;
}
.priv-radio-opt input { display: none; }
.priv-radio-opt:hover { border-color: var(--blue); color: var(--blue); background: white; }
.priv-radio-opt.is-active { background: var(--blue); border-color: var(--blue); color: white; }

/* ── Badge notification ───────────────────────────────────────────── */
.notif-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 100px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Feedback banner ──────────────────────────────────────────────── */
.settings-feedback {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.settings-feedback--ok  { background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0; }
.settings-feedback--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── Save button ──────────────────────────────────────────────────── */
.settings-actions { display: flex; justify-content: flex-end; }
.btn-settings-save {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px;
  background: var(--blue); color: white;
  border: none; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: opacity .2s, transform .1s;
}
.btn-settings-save:hover  { opacity: .88; transform: translateY(-1px); }
.btn-settings-save:active { transform: translateY(0); }
.btn-settings-save:disabled { opacity: .6; cursor: not-allowed; transform: none; }
