/* ============================================
   DGIE — Design Premium 2026
   Refonte esthétique : typographie, couleurs,
   animations, profondeur, motifs
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader__logo {
  height: 72px;
  width: auto;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

.preloader__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e2e8f0;
  border-top-color: #1D8C4F;
  border-radius: 50%;
  animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

/* --- Modal événement d'accueil (style affiche) --- */
.welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.welcome-modal.open {
  opacity: 1;
  visibility: visible;
}

.welcome-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.welcome-modal__dialog {
  position: relative;
  width: 92%;
  max-width: 600px;
  max-height: 85vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.welcome-modal.open .welcome-modal__dialog {
  transform: translateY(0) scale(1);
}

.welcome-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--slate-700);
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 8px 12px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.welcome-modal__close:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.welcome-modal__poster {
  display: block;
  line-height: 0;
}

.welcome-modal__poster img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 85vh;
  object-fit: contain;
}

/* Fallback si pas d'image */
.welcome-modal__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a2744 50%, var(--green-dark) 100%);
  min-height: 400px;
}

.welcome-modal__fallback-logo {
  height: 80px;
  width: auto;
  margin-bottom: 32px;
}

.welcome-modal__fallback h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.welcome-modal__fallback p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-weight: 500;
}

.welcome-modal__fallback-cta {
  display: inline-block;
  padding: 12px 32px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
}

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

:root {
  /* Charte DGIE — palette raffinee */
  --orange: #E8772A;
  --orange-text: #C25E15; /* WCAG AA contrast on white */
  --orange-dark: #CC6620;
  --orange-light: #FDF1E8;
  --orange-glow: rgba(232, 119, 42, 0.15);
  --green: #1D8C4F;
  --green-hover: #176E3F;
  --green-dark: #145D35;
  --green-light: #E6F4EC;
  --green-glow: rgba(29, 140, 79, 0.12);
  --emerald: #176E3F;
  --emerald-bright: #10B981;
  --gray-logo: #4A4A4A;
  --white: #FFFFFF;
  --light-bg: #F6F8FB;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --bordeaux: #7B1D2B;
  --dark-bg: #0F172A;
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-light: #94A3B8;
  --border: #E2E8F0;

  /* Ombres raffinées multi-niveaux */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.12), 0 8px 16px -8px rgba(0,0,0,0.06);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.2);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.1), 0 16px 48px rgba(0,0,0,0.08);
  --shadow-glow-green: 0 4px 20px rgba(29, 140, 79, 0.2);
  --shadow-glow-orange: 0 4px 20px rgba(232, 119, 42, 0.2);

  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --max-width: 1260px;
  --header-height: 72px;
  --top-bar-height: 38px;
  --font: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--light-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--emerald);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--text-primary);
  font-weight: 700;
}

h1 { font-size: 2.25rem; letter-spacing: -0.5px; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.125rem; }

p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

/* ============================================
   EVENT BANNER — Bannière événementielle
   Facilement modifiable : changer l'image, le texte,
   les couleurs ou le lien pour chaque événement.
   ============================================ */
.event-banner {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  z-index: 1002;
  background: linear-gradient(135deg, #FF8C00 0%, #E8740A 50%, #009E49 100%);
  text-decoration: none;
  color: #fff;
}

.event-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 48px;
}

.event-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.event-banner__badge svg {
  width: 14px;
  height: 14px;
}

.event-banner__text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  line-height: 1.3;
}

.event-banner__text strong {
  font-weight: 800;
}

.event-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--primary);
  padding: 5px 16px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-banner__cta svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}

.event-banner:hover .event-banner__cta {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.event-banner:hover .event-banner__cta svg {
  transform: translateX(3px);
}

.event-banner__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: background 0.2s;
  padding: 0;
}

.event-banner__close:hover {
  background: rgba(255,255,255,0.3);
}

.event-banner.hidden {
  display: none;
}

/* Event banner avec image de fond */
.event-banner--image {
  background: none;
  padding: 0;
  position: relative;
}

.event-banner--image .event-banner__close {
  background: rgba(0,0,0,0.5);
  right: 12px;
  top: 50%;
}

.event-banner--image img {
  max-width: 960px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .event-banner__inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 40px 8px 16px;
  }

  .event-banner__text {
    font-size: 0.78rem;
    width: 100%;
    order: 2;
  }

  .event-banner__badge {
    font-size: 0.65rem;
    order: 1;
  }

  .event-banner__cta {
    order: 3;
    font-size: 0.7rem;
  }

}

/* ============================================
   BANNIÈRE PUBLICITAIRE
   ============================================ */
.banner-pub {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
  min-height: 169px;
  margin-bottom: 8px;
}

.banner-pub a {
  display: block;
  line-height: 0;
}

.banner-pub img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.banner-pub__label {
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-400);
  background: rgba(255,255,255,0.7);
  padding: 1px 6px;
  border-radius: 2px;
}

.banner-pub--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 169px;
  background: linear-gradient(135deg, var(--slate-100) 0%, var(--slate-200) 100%);
  border-bottom: 1px solid var(--slate-200);
}

.banner-pub--placeholder .banner-pub__label {
  position: static;
  font-size: 0.75rem;
  color: var(--slate-400);
  background: none;
  padding: 0;
}

/* ============================================
   TOP BAR — Bandeau institutionnel
   ============================================ */
.top-bar {
  background: linear-gradient(135deg, var(--slate-900) 0%, #162033 100%);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  position: relative;
  z-index: 1001;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--top-bar-height);
}

.top-bar__left,
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.top-bar__item svg {
  opacity: 0.6;
}

.top-bar__flag {
  display: flex;
  gap: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.top-bar__flag-stripe {
  width: 8px;
  height: 14px;
}

.top-bar__flag-stripe--orange { background: var(--orange); }
.top-bar__flag-stripe--white { background: var(--white); }
.top-bar__flag-stripe--green { background: var(--green); }

.top-bar__right .top-bar__admin-link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75) !important;
  margin-left: 10px;
  transition: color 0.2s;
}
.top-bar__right .top-bar__admin-link:hover {
  color: #fff !important;
}

/* ============================================
   FLASH INFOS — Ticker defilant
   ============================================ */
.flash-infos {
  background: var(--green);
  display: flex;
  align-items: center;
  height: 36px;
  overflow: hidden;
  position: relative;
  z-index: 1001;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}

.flash-infos__label {
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.flash-infos__label::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 0;
  bottom: 0;
  width: 12px;
  background: var(--orange);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

.flash-infos__track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}

.flash-infos:hover .flash-infos__content {
  animation-play-state: paused;
}

.flash-infos__content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: flash-scroll 30s linear infinite;
  padding-left: 20px;
}

.flash-infos__item {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0 24px;
  letter-spacing: 0.2px;
}

@keyframes flash-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.header--scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.98);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}

.header__logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}

.header__logo:hover img {
  transform: scale(1.03);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav__link:hover {
  background: var(--green-light);
  color: var(--green);
}

.nav__link--active {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-glow-green);
}

.nav__link--active:hover {
  background: var(--green-hover);
  color: var(--white);
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   FEATURED HERO — Article a la une
   ============================================ */
.featured-hero {
  margin-bottom: 32px;
}

.featured-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-900);
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
}

.featured-card--small {
  min-height: 216px;
}

.featured-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card:hover .featured-card__bg {
  transform: scale(1.06);
}

.featured-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.15) 100%);
}

.featured-card__content {
  position: relative;
  z-index: 2;
  padding: 28px;
  width: 100%;
}

.featured-card__category {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--white);
}

.cat-orange { background: var(--orange); box-shadow: 0 2px 8px rgba(232,119,42,0.3); }
.cat-green { background: var(--green); box-shadow: 0 2px 8px rgba(29,140,79,0.3); }
.cat-dark { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.cat-blue { background: #3B82F6; box-shadow: 0 2px 8px rgba(59,130,246,0.3); }
.cat-bordeaux { background: var(--bordeaux); box-shadow: 0 2px 8px rgba(123,29,43,0.3); }

.featured-card__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.featured-card--small .featured-card__title {
  font-size: 1.05rem;
  font-weight: 700;
}

.featured-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.featured-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-200);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--emerald-bright));
  border-radius: 2px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.2px;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title h2::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, var(--green), var(--emerald-bright));
  border-radius: 4px;
  display: inline-block;
}

.section-title__line {
  flex-grow: 1;
}

.section-title__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  transition: all var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-title__link::after {
  content: '\2192';
  transition: transform var(--transition);
}

.section-title__link:hover {
  color: var(--green-hover);
}

.section-title__link:hover::after {
  transform: translateX(3px);
}

/* ============================================
   ARTICLE CARDS — Style overlay premium
   ============================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.article-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border-bottom: 4px solid var(--green);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--slate-900);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

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

.article-card--orange { border-bottom-color: var(--orange); }
.article-card--slate { border-bottom-color: var(--slate-500); }
.article-card--bordeaux { border-bottom-color: var(--bordeaux); }

.article-card__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--slate-800);
}

.article-card__img-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  font-size: 0.75rem;
}

.article-card:hover .article-card__img-inner {
  transform: scale(1.06);
}

/* Gradient overlay */
.article-card__overlay {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 56px 22px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 50%, transparent 100%);
}

.article-card__category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--white);
  margin-bottom: 10px;
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--white);
}

.article-card__title a {
  color: var(--white);
  transition: color var(--transition);
}

.article-card__title a:hover {
  color: #6EE7B7;
}

.article-card__excerpt {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.article-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   ARTICLE MINI (sidebar)
   ============================================ */
.article-mini {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-200);
}

.article-mini:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-mini:first-child {
  padding-top: 0;
}

.article-mini__img {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--slate-800);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--slate-600);
  border-bottom: 2px solid var(--green);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-mini:hover .article-mini__img {
  transform: scale(1.05);
}

.article-mini__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-mini__body {
  flex: 1;
  min-width: 0;
}

.article-mini__title {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px;
  color: var(--slate-800);
}

.article-mini__title a {
  color: var(--slate-800);
  transition: color var(--transition);
}

.article-mini__title a:hover {
  color: var(--emerald);
}

.article-mini__date {
  font-size: 0.6875rem;
  color: var(--slate-400);
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  padding: 0 0 56px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Official portrait cards */
.official-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 4px solid var(--green);
}

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

.official-card--orange {
  border-bottom-color: var(--orange);
}

.official-card--slate {
  border-bottom-color: var(--slate-500);
}

.official-card__img {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
  background: var(--slate-900);
}

.official-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.official-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--slate-700) 0%, var(--slate-800) 100%);
  color: var(--slate-500);
  font-size: 0.75rem;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.official-card:hover .official-card__img img,
.official-card:hover .official-card__img-placeholder {
  transform: scale(1.05);
}

.official-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 56px 22px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  z-index: 2;
}

.official-card__role-label {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #6EE7B7;
  margin-bottom: 4px;
}

.official-card--orange .official-card__role-label {
  color: #FBB86C;
}

.official-card--slate .official-card__role-label {
  color: var(--slate-300);
}

.official-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* Standard widget */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,232,240,0.6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--emerald));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sidebar-widget:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(29,140,79,0.15);
}

.sidebar-widget__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: none;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-widget__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--slate-200), transparent);
}

.sidebar-widget__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-widget__list a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-600);
  padding: 10px 12px;
  border-bottom: none;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  transition: all 0.2s ease;
}

.sidebar-widget__list a:last-child {
  border-bottom: none;
}

.sidebar-widget__list a:hover {
  color: var(--green);
  background: var(--green-light);
  padding-left: 16px;
}

.sidebar-widget__list .count {
  font-size: 0.6875rem;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  margin-left: auto;
  min-width: 28px;
  text-align: center;
}

.sidebar-widget__list a:hover .count {
  background: var(--green);
  color: var(--white);
}

/* Sidebar social */
.sidebar-social {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.04);
  border-bottom: 4px solid var(--green);
  position: relative;
  overflow: hidden;
}

.sidebar-social::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -40%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(29,140,79,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.sidebar-social::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -30%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(232,119,42,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.sidebar-social__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-social__title::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  border-radius: 1px;
}

.sidebar-social__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.sidebar-social__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.sidebar-social__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-social__link:hover::before {
  opacity: 1;
}

.sidebar-social__link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.sidebar-social__link:hover {
  transform: translateY(-3px);
  color: var(--white);
}

.sidebar-social__link--facebook {
  background: linear-gradient(135deg, #1877F2, #0d65d9);
  box-shadow: 0 4px 12px -2px rgba(24, 119, 242, 0.25);
}
.sidebar-social__link--facebook:hover {
  box-shadow: 0 10px 24px -4px rgba(24, 119, 242, 0.45);
}

.sidebar-social__link--x {
  background: linear-gradient(135deg, #2a2a3e, #1a1a2e);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.3);
}
.sidebar-social__link--x:hover {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.5);
}

.sidebar-social__link--linkedin {
  background: linear-gradient(135deg, #0A66C2, #084e96);
  box-shadow: 0 4px 12px -2px rgba(10, 102, 194, 0.25);
}
.sidebar-social__link--linkedin:hover {
  box-shadow: 0 10px 24px -4px rgba(10, 102, 194, 0.45);
}

.sidebar-social__link--youtube {
  background: linear-gradient(135deg, #FF0000, #cc0000);
  box-shadow: 0 4px 12px -2px rgba(255, 0, 0, 0.25);
}
.sidebar-social__link--youtube:hover {
  box-shadow: 0 10px 24px -4px rgba(255, 0, 0, 0.45);
}

/* Sidebar calendrier */
.sidebar-calendar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,232,240,0.6);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sidebar-calendar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #f59e0b);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.sidebar-calendar:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,119,42,0.15);
}

.sidebar-calendar__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: none;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-calendar__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--slate-200), transparent);
}

.sidebar-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sidebar-calendar__month {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  text-transform: capitalize;
}

.sidebar-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  border-radius: 8px;
  color: var(--slate-500);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-calendar__nav:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 12px -2px rgba(232,119,42,0.3);
}

.sidebar-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}

.sidebar-calendar__weekdays span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--slate-400);
  padding: 4px 0;
}

.sidebar-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.sidebar-calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius);
  cursor: default;
  transition: all 0.2s ease;
  position: relative;
}

.sidebar-calendar__day--other {
  color: var(--slate-300);
}

.sidebar-calendar__day--today {
  background: var(--slate-100);
  font-weight: 700;
  color: var(--slate-800);
}

.sidebar-calendar__day--event {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}

.sidebar-calendar__day--event:hover {
  background: var(--green);
  color: var(--white);
}

.sidebar-calendar__day--event::after {
  content: '';
  position: absolute;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.sidebar-calendar__day--event:hover::after {
  background: var(--white);
}

.sidebar-calendar__day--event::before {
  content: attr(data-event);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--slate-900);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}

.sidebar-calendar__day--event:hover::before {
  opacity: 1;
}

/* Repositionner le tooltip pour les jours proches des bords */
.sidebar-calendar__day--event:first-child::before,
.sidebar-calendar__day--event:nth-child(7n+1)::before {
  left: 0;
  transform: none;
}

.sidebar-calendar__day--event:nth-child(7n)::before {
  left: auto;
  right: 0;
  transform: none;
}

.sidebar-calendar__legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.68rem;
  color: var(--slate-400);
  font-weight: 500;
}

.sidebar-calendar__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.sidebar-calendar__event {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.5;
  display: none;
}

.sidebar-calendar__event.active {
  display: block;
  background: var(--green-light);
  padding: 10px 12px;
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
}

.sidebar-calendar__event strong {
  display: block;
  color: var(--slate-800);
  font-weight: 700;
  margin-bottom: 2px;
}

/* Sidebar bordeaux */
.sidebar-bordeaux {
  background: var(--bordeaux);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-xl);
}

.sidebar-bordeaux__title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--white);
  margin-bottom: 4px;
}

.sidebar-bordeaux__tab {
  display: block;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 4px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-left: 3px solid transparent;
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  text-decoration: none;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.sidebar-bordeaux__tab:hover,
.sidebar-bordeaux__tab--active {
  background: rgba(255,255,255,0.15);
  border-left-color: var(--orange);
  color: var(--white);
}

/* CTA Widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--orange) 0%, #D4621E 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  text-align: center;
  box-shadow: var(--shadow-glow-orange);
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.sidebar-cta h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
  position: relative;
}

.sidebar-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  margin-bottom: 14px;
  position: relative;
}

.sidebar-cta .btn {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
  position: relative;
}

.sidebar-cta .btn:hover {
  background: var(--slate-100);
  color: var(--orange-dark);
}

/* Info widget */
.sidebar-info {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 3px solid var(--green);
  box-shadow: var(--shadow-card);
}

.sidebar-info h3 {
  font-size: 0.9375rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.sidebar-info p {
  font-size: 0.8125rem;
  margin-bottom: 6px;
}

.sidebar-info .btn {
  margin-top: 10px;
}

/* ============================================
   ORIENTATION STRIP
   ============================================ */
.orientation-strip {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,232,240,0.5);
  position: relative;
  overflow: hidden;
}

.orientation-strip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--orange), var(--green));
  border-radius: 0 4px 4px 0;
}

.orientation-strip__label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-900);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.orientation-strip__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.orientation-strip__link {
  padding: 8px 20px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.orientation-strip__link--orange {
  background: var(--orange-light);
  color: var(--orange-dark);
}
.orientation-strip__link--orange:hover {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-glow-orange);
}

.orientation-strip__link--green {
  background: var(--green-light);
  color: var(--green-dark);
}
.orientation-strip__link--green:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-glow-green);
}

.orientation-strip__link--dark {
  background: var(--slate-100);
  color: var(--slate-700);
}
.orientation-strip__link--dark:hover {
  background: var(--slate-700);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(51,65,85,0.2);
}

/* ============================================
   PLUS D'INFOS
   ============================================ */
.info-list {
  margin-bottom: 28px;
}

.info-list-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--slate-200);
  align-items: flex-start;
}

.info-list-item:last-child {
  border-bottom: none;
}

.info-list-item__img {
  width: 96px;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--slate-200);
  box-shadow: var(--shadow-md);
}

.info-list-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-list-item__body {
  flex: 1;
}

.info-list-item__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.4;
  margin-bottom: 4px;
  transition: color var(--transition);
}

.info-list-item__title:hover {
  color: var(--emerald);
}

.info-list-item__meta {
  font-size: 0.6875rem;
  color: var(--slate-400);
  display: flex;
  gap: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-family: var(--font);
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(232,119,42,0.25);
}
.btn--primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  box-shadow: var(--shadow-glow-orange);
  transform: translateY(-1px);
}

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

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(29,140,79,0.25);
}
.btn--green:hover {
  background: var(--green-hover);
  color: var(--white);
  box-shadow: var(--shadow-glow-green);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-glow-green);
}

.btn--sm {
  padding: 7px 16px;
  font-size: 0.75rem;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--white);
}

.badge--green { background: var(--green); }
.badge--orange { background: var(--orange); }
.badge--blue { background: #3B82F6; }
.badge--bordeaux { background: var(--bordeaux); }
.badge--slate { background: var(--slate-500); }

/* Legacy compat */
.news-card__category {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--orange);
  margin-bottom: 6px;
  display: inline-block;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.35;
  color: var(--slate-800);
}

.news-card__title a { color: var(--slate-800); }
.news-card__title a:hover { color: var(--emerald); }

.news-card__excerpt {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 8px;
  line-height: 1.6;
}

.news-card__date {
  font-size: 0.6875rem;
  color: var(--slate-400);
}

/* ============================================
   CONTENT LAYOUT (internal pages)
   ============================================ */
.content {
  padding: 40px 0;
}

.content__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
}

.content__main {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,232,240,0.5);
}

.content__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content__main h2 {
  margin-top: 32px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
  font-size: 1.3rem;
}

.content__main h2:first-child {
  margin-top: 0;
}

.content__main h3 {
  margin-top: 22px;
  margin-bottom: 10px;
  color: var(--emerald);
}

.content__main p {
  margin-bottom: 14px;
}

.content__main ul, .content__main ol {
  margin-bottom: 14px;
  padding-left: 22px;
}

.content__main ul { list-style: disc; }
.content__main ol { list-style: decimal; }

.content__main li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ============================================
   PAGE HERO (internal pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, rgba(15,23,42,0.68) 0%, rgba(22,32,51,0.62) 50%, rgba(30,41,59,0.68) 100%),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 44px 0;
  position: relative;
  overflow: hidden;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(29,140,79,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--white), var(--green));
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  position: relative;
}

.page-hero__subtitle {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  position: relative;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.75rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.4);
  position: relative;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
}

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

.breadcrumb__sep {
  color: rgba(255,255,255,0.2);
}

/* ============================================
   SECTION (legacy)
   ============================================ */
.section {
  padding: 48px 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: 36px;
}

.section__header h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.section__header p {
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================
   INFO BOX
   ============================================ */
.info-box {
  background: var(--orange-light);
  border-left: 4px solid var(--orange);
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.info-box p {
  color: var(--text-primary);
  margin: 0;
  font-size: 0.85rem;
}

.info-box--green {
  background: var(--green-light);
  border-left-color: var(--green);
}

/* ============================================
   STEPS
   ============================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0;
}

.step {
  display: flex;
  gap: 18px;
  position: relative;
  padding-bottom: 28px;
}

.step:last-child { padding-bottom: 0; }

.step__number {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--green), var(--emerald-bright));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(29,140,79,0.25);
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green-light), var(--slate-200));
}

.step__content h3 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.step__content p {
  font-size: 0.8125rem;
  margin: 0;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.faq__item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq__item:hover {
  border-color: var(--slate-300);
}

.faq__item.active {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.faq__question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 14px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
  font-family: var(--font);
}

.faq__question:hover {
  background: var(--slate-50);
}

.faq__question::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--green);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.faq__item.active .faq__question::after {
  content: "\2212";
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer-inner {
  padding: 0 18px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FORMS
   ============================================ */
.form {
  max-width: 580px;
}

.form__group {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__success {
  background: var(--green-light);
  border: 1px solid var(--green);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--green-dark);
  font-weight: 500;
  font-size: 0.875rem;
  display: none;
}

.form__success.visible {
  display: block;
}

/* ============================================
   FILTERS
   ============================================ */
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-600);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.filter-btn.active {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow-glow-green);
}

.filter-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 4px;
  background: var(--slate-100);
  color: var(--slate-500);
  transition: all 0.3s;
}

.filter-btn:hover .filter-btn__count {
  background: rgba(29, 140, 79, 0.15);
  color: var(--green);
}

.filter-btn.active .filter-btn__count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* ============================================
   ORG CHART
   ============================================ */
.org-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.org-card {
  position: relative;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a2744 100%);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
  border-bottom: 4px solid var(--green);
  overflow: hidden;
}

.org-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(110,231,183,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

.org-card:nth-child(2) {
  border-bottom-color: var(--orange);
}

.org-card:nth-child(3) {
  border-bottom-color: var(--slate-500);
}

.org-card__acronym {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #6EE7B7;
  margin-bottom: 10px;
  position: relative;
}

.org-card:nth-child(2) .org-card__acronym {
  color: #FBB86C;
}

.org-card:nth-child(3) .org-card__acronym {
  color: var(--slate-300);
}

.org-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.4;
  position: relative;
}

.org-card__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  position: relative;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background: linear-gradient(135deg, var(--slate-50), #FFF8F0);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 20px 0;
  border-left: 4px solid var(--orange);
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 3rem;
  color: var(--orange);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial__quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.7;
  padding-left: 8px;
}

.testimonial__author {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding-left: 8px;
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.contact-info__item {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a2744 100%);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-xl);
  border-bottom: 4px solid var(--green);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info__item:nth-child(2) {
  border-bottom-color: var(--orange);
}

.contact-info__item:nth-child(3) {
  border-bottom-color: var(--slate-500);
}

.contact-info__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.contact-info__item h3 {
  color: #6EE7B7;
  margin-bottom: 10px;
  margin-top: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.contact-info__item:nth-child(2) h3 {
  color: #FBB86C;
}

.contact-info__item:nth-child(3) h3 {
  color: var(--slate-300);
}

.contact-info__item p {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.65);
}

/* ============================================
   NEWS LIST
   ============================================ */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-list-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border-bottom: 4px solid var(--green);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--slate-900);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

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

.news-list-item__img {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-700) 0%, var(--slate-800) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-600);
  font-size: 0.75rem;
}

.news-list-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-list-item:hover .news-list-item__img img {
  transform: scale(1.06);
}

.news-list-item__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 56px 22px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
}

.news-list-item__body .news-card__category {
  color: #6EE7B7;
  margin-bottom: 8px;
}

.news-list-item__body .news-card__title {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.news-list-item__body .news-card__title a {
  color: var(--white);
}

.news-list-item__body .news-card__title a:hover {
  color: #6EE7B7;
}

.news-list-item__body .news-card__excerpt {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-item__body .news-card__date {
  color: rgba(255,255,255,0.35);
}

/* ============================================
   NEWS GRID 4 COLUMNS — Page Actualités
   ============================================ */
.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.news-card-img {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-card-img a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card-img__visual {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--slate-700), var(--slate-800));
  overflow: hidden;
  position: relative;
}

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

.news-card-img:hover .news-card-img__visual img {
  transform: scale(1.06);
}

.news-card-img__body {
  padding: 16px 18px 20px;
}

.news-card-img__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.78rem;
}

.news-card-img__cat {
  color: var(--primary);
  font-weight: 700;
}

.news-card-img__dot {
  color: var(--slate-400);
  font-size: 0.6rem;
}

.news-card-img__date {
  color: var(--slate-500);
  font-weight: 500;
}

.news-card-img__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--slate-900);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-img__excerpt {
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 20px;
}

.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination__btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pagination__btn--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.pagination__num:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.pagination__num--active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.pagination__dots {
  color: var(--slate-400);
  font-size: 0.9rem;
  padding: 0 4px;
}

@media (max-width: 1024px) {
  .news-grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .news-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .news-card-img__visual { height: 140px; }
}

@media (max-width: 480px) {
  .news-grid-4 { grid-template-columns: 1fr; }
}

/* Legacy compat */
.orientation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.orientation__card {
  background: var(--white);
  border: 1px solid rgba(226,232,240,0.5);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

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

.orientation__card-tag {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.orientation__card-tag--orange { color: var(--orange); }
.orientation__card-tag--green { color: var(--green); }
.orientation__card-tag--dark { color: var(--text-primary); }

.orientation__card h3 { margin-bottom: 8px; }
.orientation__card p { font-size: 0.85rem; flex-grow: 1; }
.orientation__card .btn { align-self: flex-start; margin-top: 14px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat { padding: 20px 14px; }

.stat__number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,232,240,0.5);
}

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

.news-card__img {
  height: 180px;
  background: var(--slate-100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--slate-200);
}

.news-card__body { padding: 18px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 44px;
  align-items: start;
}

.contact-layout__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-section-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
}

.contact-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--slate-200);
  align-items: flex-start;
  transition: background var(--transition);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.contact-item:hover .contact-item__icon {
  transform: scale(1.05);
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
}

.contact-item__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.contact-item__icon--orange {
  background: var(--orange-light);
  color: var(--orange);
}

.contact-item__icon--slate {
  background: var(--slate-100);
  color: var(--slate-600);
}

.contact-item__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-900);
  margin-bottom: 4px;
  margin-top: 0;
}

.contact-item__text {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 2px;
  line-height: 1.5;
}

.contact-cta-box {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.contact-cta-box::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: rgba(110,231,183,0.08);
  border-radius: 50%;
}

.contact-cta-box h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.contact-cta-box p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  line-height: 1.7;
  position: relative;
}

.contact-cta-box__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6EE7B7;
  transition: color var(--transition);
  position: relative;
}

.contact-cta-box__link:hover {
  color: var(--white);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226,232,240,0.5);
}

.contact-form-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.contact-form__input {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--slate-50);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form__input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
  background: var(--white);
}

.contact-form__input::placeholder {
  color: var(--slate-400);
  font-size: 0.8125rem;
}

.contact-form__select {
  appearance: none;
  cursor: pointer;
  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='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--green), var(--emerald-bright));
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(29, 140, 79, 0.3);
}

.contact-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 140, 79, 0.4);
}

.contact-form__submit:active {
  transform: scale(0.98) translateY(0);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  min-height: 280px;
}

.contact-map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  gap: 12px;
  background: var(--slate-100);
}

.contact-map__placeholder p {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, var(--slate-900) 0%, #080E1A 100%);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange) 33%, var(--white) 33%, var(--white) 66%, var(--green) 66%);
}

.footer__armoirie {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: url('../images/armoirie-ci.png') no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.footer__logo {
  height: 68px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.footer__title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--green);
  margin-top: 8px;
  border-radius: 2px;
}

.footer p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__links a::before {
  content: '\2192';
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--transition);
}

.footer__links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer__links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}

.footer__bottom-links {
  display: flex;
  gap: 18px;
}

.footer__bottom-links a {
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
  transition: color var(--transition);
}

.footer__bottom-links a:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   AD BANNERS
   ============================================ */
.ad-banner {
  margin: 8px 0 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.ad-banner a {
  display: block;
  line-height: 0;
}

.ad-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-banner:hover img {
  transform: scale(1.02);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(29,140,79,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 900;
}

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

.back-to-top:hover {
  background: var(--green-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(29,140,79,0.4);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.section-title,
.articles-grid .article-card,
.sidebar > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.animated,
.articles-grid .article-card.animated,
.sidebar > .animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger effect */
.articles-grid .article-card:nth-child(1) { transition-delay: 0s; }
.articles-grid .article-card:nth-child(2) { transition-delay: 0.1s; }
.articles-grid .article-card:nth-child(3) { transition-delay: 0.2s; }
.articles-grid .article-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .top-bar {
    display: none;
  }

  .featured-hero__grid {
    grid-template-columns: 1fr;
  }

  .featured-side {
    flex-direction: row;
  }

  .featured-card--small {
    min-height: 200px;
  }

  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

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

  .content__sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .content__sidebar .sidebar-widget {
    flex: 1;
    min-width: 260px;
  }

  .orientation, .org-chart, .contact-info {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.1rem; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 20px;
    border-bottom: 2px solid var(--green);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
  }

  .nav.open {
    display: flex;
  }

  .nav__link {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--slate-200);
    border-radius: 0;
    font-size: 0.9rem;
  }

  .nav__link:hover,
  .nav__link--active {
    background: none;
    color: var(--green);
    box-shadow: none;
  }

  .nav__toggle { display: block; }

  .featured-hero__grid { grid-template-columns: 1fr; }

  .featured-side { flex-direction: column; }

  .featured-card { min-height: 260px; }
  .featured-card--small { min-height: 200px; }
  .featured-card__title { font-size: 1.25rem; }

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

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

  .orientation-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .orientation, .org-chart, .contact-info, .news-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form-card {
    padding: 24px 20px;
  }

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

  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }

  .news-list {
    grid-template-columns: 1fr;
  }

  .news-list-item {
    min-height: 280px;
  }

  .section { padding: 36px 0; }

  .content__main { padding: 20px; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

  .featured-card__title { font-size: 1.05rem; }

  .content__sidebar .sidebar-widget { min-width: 100%; }
}

/* ============================================
   ARTICLE PAGE — Layout détail article
   ============================================ */
.article-page {
  padding-top: 24px;
}

.article-layout {
  display: grid;
  grid-template-columns: 48px 1fr 320px;
  gap: 32px;
  align-items: start;
}

.article-share {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 120px;
}

.article-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-share__btn:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.article-share__btn--facebook { background: #1877F2; }
.article-share__btn--twitter { background: #0f1419; }
.article-share__btn--linkedin { background: #0A66C2; }
.article-share__btn--whatsapp { background: #25D366; }

.article-content__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.article-content__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--slate-900);
  margin-bottom: 16px;
}

.article-content__lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--slate-700);
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
}

.article-content__figure {
  margin: 0 0 28px;
}

.article-content__img {
  width: 100%;
  overflow: hidden;
}

.article-content__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.article-content__caption {
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 8px;
  font-style: italic;
}

.article-content__body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--slate-800);
}

.article-content__body h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 32px 0 14px;
}

.article-content__body p {
  margin-bottom: 16px;
}

.article-content__body ul,
.article-content__body ol {
  margin: 0 0 20px 20px;
}

.article-content__body li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.article-content__body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  background: var(--slate-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--slate-700);
  font-size: 1rem;
  line-height: 1.7;
}

.article-content__body blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 20px;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
}

.article-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  flex-shrink: 0;
}

.article-author__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--slate-500);
  margin-bottom: 2px;
}

.article-author__name {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 0.9rem;
}

/* Article Gallery */
.article-gallery {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}
.article-gallery__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-gallery__title svg {
  stroke: var(--orange);
}
.article-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.article-gallery__item {
  margin: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
}
.article-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.article-gallery__item:hover img {
  transform: scale(1.05);
}
.article-gallery__item figcaption {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 6px;
  padding: 0 4px;
}

/* Article Lightbox */
.article-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
}
.article-lightbox.active {
  display: flex;
}
.article-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.article-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.article-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.article-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.article-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.article-lightbox__prev {
  left: 20px;
}
.article-lightbox__next {
  right: 20px;
}

@media (max-width: 768px) {
  .article-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .article-gallery__grid {
    grid-template-columns: 1fr;
  }
  .article-lightbox__nav {
    width: 36px;
    height: 36px;
  }
  .article-lightbox__prev { left: 10px; }
  .article-lightbox__next { right: 10px; }
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}

.article-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.article-nav__link:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.article-nav__link svg {
  color: var(--slate-400);
  flex-shrink: 0;
}

.article-nav__link--next {
  text-align: right;
  justify-content: flex-end;
}

.article-nav__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.article-nav__title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.3;
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

.article-sidebar__block {
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.article-sidebar__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}

.sidebar-article {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
  text-decoration: none;
  transition: opacity 0.2s;
}

.sidebar-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-article:hover {
  opacity: 0.8;
}

.sidebar-article__img {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar-article__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-article__body {
  flex: 1;
  min-width: 0;
}

.sidebar-article__cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sidebar-article__heading {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Newsletter widget V2 — article sidebar */
.article-sidebar__newsletter-v2 {
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a2744 100%);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.article-sidebar__newsletter-v2::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(232,119,42,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.article-sidebar__newsletter-v2-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.article-sidebar__newsletter-v2-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.article-sidebar__newsletter-v2-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.article-sidebar__newsletter-v2-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.article-sidebar__newsletter-v2-form {
  display: flex;
  gap: 8px;
}

.article-sidebar__newsletter-v2-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.8rem;
  outline: none;
  transition: border-color 0.2s;
}

.article-sidebar__newsletter-v2-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.35);
}

.article-sidebar__newsletter-v2-form input[type="email"]:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.1);
}

.article-sidebar__newsletter-v2-form button {
  width: 42px;
  height: 42px;
  border: none;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.article-sidebar__newsletter-v2-form button:hover {
  background: var(--orange-dark);
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .article-share {
    flex-direction: row;
    position: static;
    order: -1;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-content__title {
    font-size: 1.5rem;
  }
  .article-nav {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comments-section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--slate-200);
}

.comments-section__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0 8px;
}

/* Comment form */
.comment-form {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}

.comment-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.comment-form__field {
  margin-bottom: 16px;
}

.comment-form__row .comment-form__field {
  margin-bottom: 0;
}

.comment-form__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.comment-form__field input,
.comment-form__field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: inherit;
  background: #fff;
  color: var(--slate-800);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.comment-form__field input:focus,
.comment-form__field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 120, 69, 0.1);
}

.comment-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* Comments list */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.comment {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--slate-100);
}

.comment:last-child {
  border-bottom: none;
}

.comment__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #34d399);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.comment__avatar--admin {
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  font-size: 0.65rem;
}

.comment__body {
  flex: 1;
  min-width: 0;
}

.comment__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.comment__author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--slate-900);
}

.comment__badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.comment__date {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.comment__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.comment__reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s;
}

.comment__reply-btn:hover {
  color: var(--primary);
}

/* Reply comment */
.comment--reply {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  border-bottom: none;
}

.comment--reply .comment__avatar {
  width: 36px;
  height: 36px;
  font-size: 0.6rem;
}

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

/* ============================================
   HEADER SEARCH
   ============================================ */
.header__search {
  display: flex;
  align-items: center;
  position: relative;
}

.header__search-toggle {
  background: none;
  border: none;
  color: var(--slate-600);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
}

.header__search-toggle:hover {
  background: var(--slate-100);
  color: var(--primary);
}

.header__search-box {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  overflow: hidden;
  width: 0;
  opacity: 0;
  pointer-events: none;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header__search-box.open {
  width: 320px;
  opacity: 1;
  pointer-events: auto;
}

.header__search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--slate-800);
  background: transparent;
}

.header__search-submit {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.header__search-submit:hover {
  background: var(--green);
}

/* ============================================
   FOOTER SOCIAL LINKS
   ============================================ */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer__social-link:hover {
  transform: translateY(-2px);
}

.footer__social-link--facebook:hover { background: #1877F2; color: #fff; }
.footer__social-link--twitter:hover { background: #0f1419; color: #fff; }
.footer__social-link--linkedin:hover { background: #0A66C2; color: #fff; }
.footer__social-link--youtube:hover { background: #FF0000; color: #fff; }

/* ============================================
   STATS COUNTER SECTION
   ============================================ */
.stats-counter {
  max-width: var(--max-width);
  margin: 0 auto;
  background: linear-gradient(135deg, var(--slate-900) 0%, #162033 50%, var(--slate-900) 100%);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.stats-counter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--white), var(--green));
}

@keyframes floatShapes {
  from { background-position: 0 0; }
  to   { background-position: 400px 400px; }
}

.stats-counter::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ccircle cx='40' cy='40' r='14' fill='none' stroke='%23E8772A' stroke-width='1.5'/%3E%3Crect x='155' y='15' width='22' height='22' rx='3' fill='none' stroke='%23ffffff' stroke-width='1.5' transform='rotate(15 166 26)'/%3E%3Cpolygon points='300,30 313,58 287,58' fill='none' stroke='%231D8C4F' stroke-width='1.5'/%3E%3Ccircle cx='370' cy='70' r='7' fill='%23E8772A'/%3E%3Cpath d='M55 125 L75 100 L95 125' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Crect x='195' y='95' width='18' height='18' fill='none' stroke='%231D8C4F' stroke-width='1.5'/%3E%3Ccircle cx='330' cy='110' r='12' fill='none' stroke='%23E8772A' stroke-width='1.5'/%3E%3Cpolygon points='100,175 115,205 85,205' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Ccircle cx='250' cy='190' r='6' fill='%231D8C4F'/%3E%3Crect x='345' y='165' width='24' height='24' rx='4' fill='none' stroke='%23ffffff' stroke-width='1.5' transform='rotate(-10 357 177)'/%3E%3Cpath d='M25 255 Q50 225 75 255' fill='none' stroke='%231D8C4F' stroke-width='1.5'/%3E%3Ccircle cx='180' cy='260' r='10' fill='none' stroke='%23E8772A' stroke-width='1.5'/%3E%3Crect x='275' y='240' width='16' height='16' fill='%23ffffff' opacity='0.6'/%3E%3Cpolygon points='370,255 383,283 357,283' fill='none' stroke='%231D8C4F' stroke-width='1.5'/%3E%3Ccircle cx='80' cy='340' r='9' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M205 325 L220 350 L190 350 Z' fill='%23E8772A' opacity='0.6'/%3E%3Crect x='305' y='315' width='20' height='20' rx='2' fill='none' stroke='%23E8772A' stroke-width='1.5' transform='rotate(25 315 325)'/%3E%3Ccircle cx='140' cy='380' r='5' fill='%231D8C4F'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  animation: floatShapes 20s linear infinite;
  pointer-events: none;
}

.stats-counter__title {
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.stats-counter__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-counter__item {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stats-counter__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.12);
  color: var(--orange);
  margin-bottom: 12px;
  transition: transform 0.3s, background 0.3s;
}

.stats-counter__item:hover .stats-counter__icon {
  transform: scale(1.1);
  background: rgba(232, 119, 42, 0.15);
  border-color: rgba(232, 119, 42, 0.3);
}

.stats-counter__number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stats-counter__number span {
  color: var(--orange);
}

.stats-counter__label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners {
  padding: 60px 0;
  background: var(--slate-50);
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.partners__card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  aspect-ratio: 1 / 1;
  padding: 20px;
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
}

.partners__card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.partners__card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.partners__card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.partners__card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  color: var(--slate-500);
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s, opacity 0.3s;
}

.partners__card:hover .partners__card-placeholder {
  filter: grayscale(0%);
  opacity: 1;
}

.partners__card-placeholder .partners__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--slate-600);
  font-family: var(--font-display);
}

.partners__card-placeholder .partners__name {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-600);
  line-height: 1.3;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--green) 0%, #145a2e 50%, #0e4422 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  left: -100px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.newsletter-section::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.newsletter-section .container {
  position: relative;
  z-index: 1;
}

.newsletter-section__card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #fff;
  margin-bottom: 20px;
}

.newsletter-section__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.newsletter-section__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.newsletter-section__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter-section__input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.newsletter-section__input-icon {
  position: absolute;
  left: 16px;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}

.newsletter-section__input {
  padding: 14px 20px 14px 44px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  width: 300px;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.newsletter-section__input::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter-section__input:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.newsletter-section__btn {
  padding: 14px 32px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.newsletter-section__btn:hover {
  background: #d46a1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 119, 42, 0.35);
}

.newsletter-section__btn:disabled {
  background: rgba(255,255,255,0.2);
  cursor: default;
  transform: none;
  box-shadow: none;
}

.newsletter-section__success {
  width: 100%;
  text-align: center;
  color: #a5f3c4;
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 10px;
}

.newsletter-section__privacy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}

/* ============================================
   PAGE 404
   ============================================ */
.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.page-404__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-404__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.page-404__btn--primary {
  background: var(--orange);
  color: var(--white);
}

.page-404__btn--primary:hover {
  background: var(--orange-dark);
}

.page-404__btn--secondary {
  background: var(--slate-200);
  color: var(--slate-700);
}

.page-404__btn--secondary:hover {
  background: var(--slate-300);
}

.page-404__code {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: var(--slate-200);
  line-height: 1;
  margin-bottom: 8px;
}

.page-404__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.page-404__text {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 28px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   PAGE SUBNAV (ancres internes)
   ============================================ */
.page-subnav {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 14px 0;
  position: sticky;
  top: var(--header-height);
  z-index: 90;
}

.page-subnav__list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.page-subnav__link {
  padding: 8px 18px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-600);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-subnav__link:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.page-subnav__link--active {
  border-color: var(--green);
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow-glow-green);
}

/* ============================================
   DG SPEECH SECTION — Hero quote + editorial
   ============================================ */
.dg-hero {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a2744 60%, #0f2030 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
}

.dg-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--orange), var(--green));
}

/* --- Photo côté gauche --- */
.dg-hero__photo {
  position: relative;
  display: flex;
  flex-direction: column;
}

.dg-hero__photo-img {
  flex: 1;
  background: linear-gradient(135deg, var(--slate-700) 0%, var(--slate-800) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.dg-hero__photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.dg-hero__photo-info {
  padding: 12px 14px;
  background: rgba(0,0,0,0.4);
  text-align: center;
}

.dg-hero__name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.dg-hero__role {
  font-size: 0.65rem;
  color: #6EE7B7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 3px;
}

/* --- Citation côté droit --- */
.dg-hero__body {
  padding: 28px 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dg-hero__body::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(110,231,183,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.dg-hero__quote-mark {
  position: absolute;
  top: 22px;
  left: 22px;
  color: var(--white);
}

.dg-hero__quote-text {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  padding-left: 40px;
  margin: 0;
  font-weight: 400;
  position: relative;
}

.dg-editorial {
  columns: 2;
  column-gap: 28px;
  margin-bottom: 12px;
}

.dg-editorial p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: justify;
}

.dg-editorial p:first-child::first-letter {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--green);
  float: left;
  line-height: 1;
  margin-right: 6px;
  margin-top: 4px;
}

/* ============================================
   DGIE STATS (chiffres clés)
   ============================================ */
.dgie-stats {
  margin: 32px 0;
}

.dgie-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dgie-stats__item {
  text-align: center;
  padding: 20px 12px;
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dgie-stats__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dgie-stats__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.dgie-stats__icon--green {
  background: var(--green-light);
  color: var(--green);
}

.dgie-stats__icon--orange {
  background: var(--orange-light);
  color: var(--orange);
}

.dgie-stats__icon--slate {
  background: var(--slate-100);
  color: var(--slate-600);
}

.dgie-stats__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
}

.dgie-stats__label {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================
   MISSIONS GRID
   ============================================ */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.mission-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mission-item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.mission-item__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}

.mission-item__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.mission-item__content p {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   LEGAL CARDS
   ============================================ */
.legal-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.legal-card {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--slate-50) 0%, #f8fafc 100%);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--green);
  transition: box-shadow 0.3s ease;
}

.legal-card:hover {
  box-shadow: var(--shadow-md);
}

.legal-card__icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.legal-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
}

.legal-card__date {
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 2px;
}

.legal-card__desc {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-top: 6px;
}

/* ============================================
   ORG CARD LINK + ICON
   ============================================ */
.org-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: rgba(255,255,255,0.6);
  position: relative;
}

.org-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6EE7B7;
  text-decoration: none;
  transition: gap 0.3s ease;
  position: relative;
}

.org-card__link:hover {
  gap: 10px;
}

.org-card:nth-child(2) .org-card__link {
  color: #FBB86C;
}

.org-card:nth-child(3) .org-card__link {
  color: var(--slate-300);
}

/* ============================================
   SIDEBAR DARK WIDGET + DOWNLOADS + CONTACT ITEMS
   ============================================ */
.sidebar-widget--dark {
  background: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-widget--dark .sidebar-widget__title {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.1);
}

.sidebar-widget__downloads {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-download {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  transition: background 0.3s ease;
}

.sidebar-download:hover {
  background: rgba(255,255,255,0.1);
}

.sidebar-download svg {
  color: #6EE7B7;
  flex-shrink: 0;
}

.sidebar-download__name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
}

.sidebar-download__size {
  display: block;
  font-size: 0.7rem;
  color: var(--slate-400);
  margin-top: 1px;
}

.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
}

.sidebar-contact-item:last-of-type {
  border-bottom: none;
}

.sidebar-contact-item svg {
  flex-shrink: 0;
}

/* ============================================
   ORG HIERARCHY CHART
   ============================================ */
.org-hierarchy {
  text-align: center;
  margin-bottom: 32px;
}

.org-hierarchy__top {
  display: inline-block;
  background: var(--slate-900);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-xl);
  border-bottom: 3px solid var(--orange);
  margin-bottom: 24px;
}

.org-hierarchy__top small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.org-hierarchy__line {
  width: 2px;
  height: 24px;
  background: var(--slate-300);
  margin: 0 auto;
}

.org-hierarchy__branches {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
}

.org-hierarchy__branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: var(--slate-300);
}

.org-hierarchy__branch {
  flex: 1;
  max-width: 200px;
  position: relative;
  padding-top: 24px;
}

.org-hierarchy__branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 24px;
  background: var(--slate-300);
}

.org-hierarchy__branch-label {
  display: inline-block;
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
}

.org-hierarchy__branch:nth-child(2) .org-hierarchy__branch-label {
  border-color: var(--orange);
  color: var(--orange);
}

.org-hierarchy__branch:nth-child(3) .org-hierarchy__branch-label {
  border-color: var(--slate-500);
  color: var(--slate-500);
}

/* ============================================
   DOSSIER CARDS
   ============================================ */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dossier-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 3px solid var(--green);
}

.dossier-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.dossier-card:nth-child(even) {
  border-bottom-color: var(--orange);
}

.dossier-card__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.dossier-card__img-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dossier-card:hover .dossier-card__img-inner {
  transform: scale(1.06);
}

.dossier-card__body {
  padding: 20px;
}

.dossier-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--green-light);
  color: var(--green);
  margin-bottom: 10px;
}

.dossier-card:nth-child(even) .dossier-card__tag {
  background: var(--orange-light);
  color: var(--orange);
}

.dossier-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  line-height: 1.35;
}

.dossier-card__excerpt {
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dossier-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dossier-card__count {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dossier-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.dossier-card__link:hover {
  gap: 8px;
}

/* ============================================
   GALLERY ALBUMS
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.gallery-album {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.gallery-album__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-album:hover .gallery-album__img {
  transform: scale(1.08);
}

.gallery-album__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: background 0.3s;
}

.gallery-album:hover .gallery-album__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.25) 100%);
}

.gallery-album__icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.3s;
}

.gallery-album:hover .gallery-album__icon {
  background: var(--orange);
}

.gallery-album__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}

.gallery-album__count {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   MEDIATHEQUE (YouTube Videos)
   ============================================ */

/* Orange variant for section title */
.section-title--orange h2::before {
  background: linear-gradient(180deg, var(--orange), #d56a1f);
}

.section-title--orange::after {
  background: linear-gradient(90deg, var(--orange), #f5a623);
}

.mediatheque-nav {
  display: flex;
  gap: 6px;
}

.mediatheque-nav__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--slate-200);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-600);
  transition: all 0.2s;
}

.mediatheque-nav__btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(232, 119, 42, 0.05);
}

.mediatheque-section {
  margin-bottom: 32px;
}

.mediatheque-featured {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  background: #000;
  display: block;
}

.mediatheque-featured iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.mediatheque-featured:hover img {
  transform: scale(1.04);
}

.mediatheque-featured__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s;
}

.mediatheque-featured:hover .mediatheque-featured__play {
  background: rgba(0, 0, 0, 0.4);
}

.mediatheque-featured__play svg {
  width: 64px;
  height: 64px;
  padding: 16px;
  background: rgba(232, 119, 42, 0.9);
  border-radius: 50%;
  color: var(--white);
  transition: transform 0.3s, background 0.3s;
}

.mediatheque-featured:hover .mediatheque-featured__play svg {
  transform: scale(1.1);
  background: var(--orange);
}

.mediatheque-card {
  text-decoration: none;
  display: block;
}

.mediatheque-card__thumb {
  position: relative;
}

.mediatheque-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mediatheque-card:hover .mediatheque-card__thumb img {
  transform: scale(1.06);
}

.mediatheque-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s;
}

.mediatheque-card:hover .mediatheque-card__play {
  background: rgba(0, 0, 0, 0.4);
}

.mediatheque-card__play svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  background: rgba(232, 119, 42, 0.9);
  border-radius: 50%;
  color: var(--white);
  transition: transform 0.3s, background 0.3s;
}

.mediatheque-card:hover .mediatheque-card__play svg {
  transform: scale(1.1);
  background: var(--orange);
}

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

.mediatheque-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}

.mediatheque-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.mediatheque-card__thumb iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   MEDIATHEQUE PAGE (dedicated video page)
   ============================================ */

.mediatheque-page__count {
  font-size: 0.95rem;
  color: var(--slate-500);
  margin-bottom: 28px;
  font-weight: 500;
}

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

.video-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

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

.video-card:hover .video-card__thumb img {
  transform: scale(1.08);
}

/* Play button — centered with dark filter */
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0.12) 100%);
  transition: background 0.3s;
  pointer-events: none;
}

.video-card:hover .video-card__play {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.video-card__play svg {
  width: 56px;
  height: 56px;
  padding: 15px;
  background: rgba(232, 119, 42, 0.9);
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232, 119, 42, 0.35);
  transition: transform 0.35s, background 0.3s, box-shadow 0.3s;
}

.video-card:hover .video-card__play svg {
  transform: scale(1.12);
  background: var(--orange);
  box-shadow: 0 6px 28px rgba(232, 119, 42, 0.5);
}

/* Info section — below thumbnail */
.video-card__info {
  padding: 14px 16px 16px;
  background: var(--white);
}

.video-card__title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--slate-800);
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.video-card__date,
.video-card__location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.video-card__date svg,
.video-card__location svg {
  flex-shrink: 0;
  stroke: var(--orange);
}

/* Video Player Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.video-modal__container {
  position: relative;
  width: 90%;
  max-width: 900px;
  z-index: 1;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.video-modal.active .video-modal__container {
  transform: translateY(0);
}

.video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.video-modal__close:hover {
  color: var(--white);
}

.video-modal__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.video-modal__player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 14px 0 0;
  text-align: center;
}

/* Empty state for mediatheque */
.empty-section {
  text-align: center;
  padding: 64px 20px;
}

.empty-section svg {
  margin-bottom: 16px;
}

.empty-section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-600);
  margin: 0 0 8px;
}

.empty-section p {
  color: var(--slate-400);
  font-size: 0.95rem;
}

@media (max-width: 991px) {
  .mediatheque-page__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

/* ============================================
   EVENT COUNTDOWN WIDGET
   ============================================ */
.event-countdown {
  background: linear-gradient(135deg, var(--green) 0%, #15703f 100%);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.event-countdown::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.event-countdown::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.event-countdown__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.event-countdown__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.event-countdown__date {
  font-size: 0.8rem;
  opacity: 0.75;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-countdown__timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.event-countdown__unit {
  text-align: center;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  padding: 10px 4px 8px;
}

.event-countdown__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.event-countdown__label {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin-top: 4px;
}

.event-countdown__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  background: #fff;
  color: var(--green);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.event-countdown__cta:hover {
  background: var(--slate-50);
  transform: translateY(-1px);
}

/* Sidebar — Widget DGIE */
.sidebar-dgie-widget {
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  margin-bottom: 20px;
  border-top: 4px solid var(--orange);
  text-align: center;
  border: 1px solid rgba(226,232,240,0.6);
  border-top: 4px solid var(--orange);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.sidebar-dgie-widget::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(232,119,42,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.sidebar-dgie-widget:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,119,42,0.15);
}

.sidebar-dgie-widget__logo {
  width: 90%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
}

.sidebar-dgie-widget__desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin: 0;
  text-align: left;
  position: relative;
}

/* Sidebar — WhatsApp QR */
.sidebar-whatsapp {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226,232,240,0.6);
  transition: all 0.3s ease;
  position: relative;
}

.sidebar-whatsapp::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #25D366;
  z-index: 1;
}

.sidebar-whatsapp:hover {
  box-shadow: var(--shadow-lg), 0 0 20px rgba(37,211,102,0.12);
  border-color: rgba(37,211,102,0.2);
}

.sidebar-whatsapp a {
  display: block;
  line-height: 0;
}

.sidebar-whatsapp__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-whatsapp:hover .sidebar-whatsapp__img {
  transform: scale(1.03);
}

/* ============================================
   ALBUM MODAL & LIGHTBOX
   ============================================ */
.album-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.album-modal--open {
  opacity: 1;
  visibility: visible;
}

.album-modal__container {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 960px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.album-modal--open .album-modal__container {
  transform: translateY(0) scale(1);
}

.album-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--slate-100);
  flex-shrink: 0;
}

.album-modal__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-800);
}

.album-modal__count {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-left: 12px;
}

.album-modal__close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--slate-50);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.album-modal__close:hover {
  background: var(--slate-100);
  color: var(--slate-800);
}

.album-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 24px 24px;
  overflow-y: auto;
}

.album-modal__photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

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

.album-modal__photo:hover img {
  transform: scale(1.06);
}

.album-modal__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  pointer-events: none;
}

.album-modal__photo:hover::after {
  background: rgba(0,0,0,0.1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 88%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.95);
  transition: transform 0.3s;
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
}

.lightbox__nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(0,0,0,0.4);
  padding: 6px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
}

/* ============================================
   RESPONSIVE — FINAL
   ============================================ */
@media (max-width: 768px) {
  .stats-counter__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-counter__number { font-size: 2rem; }
  .stats-counter__icon { width: 48px; height: 48px; }
  .stats-counter__icon svg { width: 22px; height: 22px; }
  .newsletter-section__card { padding: 0 16px; }
  .newsletter-section__form { flex-direction: column; width: 100%; }
  .newsletter-section__input-group { width: 100%; }
  .newsletter-section__input { width: 100%; }
  .header__search-box.open { width: 240px; }
  .page-404__code { font-size: 5rem; }
  .dg-editorial { columns: 1; }
  .dossier-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .org-hierarchy__branches { flex-wrap: wrap; gap: 16px; }
  .org-hierarchy__branches::before { display: none; }
  .org-hierarchy__branch::before { display: none; }
  .org-hierarchy__branch { padding-top: 0; }
  .page-subnav__list { gap: 4px; }
  .page-subnav__link { font-size: 0.75rem; padding: 6px 12px; }
  .dgie-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .missions-grid { grid-template-columns: 1fr; }
  .legal-card { flex-direction: column; gap: 10px; }
  .album-modal__container { width: 95%; max-height: 90vh; }
  .album-modal__grid { grid-template-columns: repeat(2, 1fr); padding: 12px 16px 16px; }
  .album-modal__header { padding: 16px; }
  .lightbox__nav { width: 36px; height: 36px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

@media (max-width: 480px) {
  .stats-counter__grid { grid-template-columns: 1fr 1fr; }
  .partners__grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; }
  .dossier-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .album-modal__grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .dgie-stats__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dgie-stats__number { font-size: 1.2rem; }
  .org-chart { grid-template-columns: 1fr; }
}

/* ============================================
   LE COIN DES DIASPOS — Page communautaire
   ============================================ */

/* --- Diaspora Stats Strip --- */
.diaspo-stats {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  background: linear-gradient(135deg, var(--slate-900) 0%, #1a2744 60%, #0f2030 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.diaspo-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--white), var(--green));
}

.diaspo-stats::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ccircle cx='40' cy='40' r='14' fill='none' stroke='%23E8772A' stroke-width='1.5'/%3E%3Crect x='155' y='15' width='22' height='22' rx='3' fill='none' stroke='%23ffffff' stroke-width='1.5' transform='rotate(15 166 26)'/%3E%3Cpolygon points='300,30 313,58 287,58' fill='none' stroke='%231D8C4F' stroke-width='1.5'/%3E%3Ccircle cx='370' cy='70' r='7' fill='%23E8772A'/%3E%3Cpath d='M55 125 L75 100 L95 125' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Crect x='195' y='95' width='18' height='18' fill='none' stroke='%231D8C4F' stroke-width='1.5'/%3E%3Ccircle cx='330' cy='110' r='12' fill='none' stroke='%23E8772A' stroke-width='1.5'/%3E%3Cpolygon points='100,175 115,205 85,205' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Ccircle cx='250' cy='190' r='6' fill='%231D8C4F'/%3E%3Crect x='345' y='165' width='24' height='24' rx='4' fill='none' stroke='%23ffffff' stroke-width='1.5' transform='rotate(-10 357 177)'/%3E%3Cpath d='M25 255 Q50 225 75 255' fill='none' stroke='%231D8C4F' stroke-width='1.5'/%3E%3Ccircle cx='180' cy='260' r='10' fill='none' stroke='%23E8772A' stroke-width='1.5'/%3E%3Crect x='275' y='240' width='16' height='16' fill='%23ffffff' opacity='0.6'/%3E%3Cpolygon points='370,255 383,283 357,283' fill='none' stroke='%231D8C4F' stroke-width='1.5'/%3E%3Ccircle cx='80' cy='340' r='9' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3Cpath d='M205 325 L220 350 L190 350 Z' fill='%23E8772A' opacity='0.6'/%3E%3Crect x='305' y='315' width='20' height='20' rx='2' fill='none' stroke='%23E8772A' stroke-width='1.5' transform='rotate(25 315 325)'/%3E%3Ccircle cx='140' cy='380' r='5' fill='%231D8C4F'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  animation: floatShapes 20s linear infinite;
  pointer-events: none;
}

.diaspo-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diaspo-stats__item {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.diaspo-stats__item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.diaspo-stats__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.diaspo-stats__icon--orange { background: rgba(232,119,42,0.15); color: var(--orange); }
.diaspo-stats__icon--green { background: rgba(29,140,79,0.15); color: #6EE7B7; }
.diaspo-stats__icon--blue { background: rgba(59,130,246,0.15); color: #93C5FD; }
.diaspo-stats__icon--bordeaux { background: rgba(134,25,50,0.15); color: #F9A8D4; }

.diaspo-stats__number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.diaspo-stats__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  font-weight: 500;
}

/* --- Featured Event Banner --- */
.diaspo-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}

.diaspo-featured__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.diaspo-featured:hover .diaspo-featured__img {
  transform: scale(1.04);
}

.diaspo-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.15) 100%);
}

.diaspo-featured__content {
  position: relative;
  z-index: 2;
  padding: 36px;
  max-width: 680px;
}

.diaspo-featured__badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--green);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.diaspo-featured__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.diaspo-featured__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 16px;
}

.diaspo-featured__meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.diaspo-featured__date,
.diaspo-featured__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* --- Country Cards Grid --- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}

.country-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.country-card__flag {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.country-card__info {
  flex: 1;
  min-width: 0;
}

.country-card__name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.country-card__pop {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 500;
}

.country-card__arrow {
  flex-shrink: 0;
  color: var(--slate-300);
  transition: var(--transition);
}

.country-card:hover .country-card__arrow {
  color: var(--green);
  transform: translateX(3px);
}

/* --- Return Stories Cards --- */
.return-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.return-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.return-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.return-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 3px solid var(--green);
}

.return-card__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.return-card__route {
  display: block;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
}

.return-card__year {
  display: block;
  font-size: 0.68rem;
  color: var(--text-light);
}

.return-card__quote {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  border-left: 3px solid var(--orange);
  padding-left: 14px;
  margin: 0 0 14px 0;
  flex: 1;
}

.return-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.return-card__tag {
  padding: 3px 10px;
  background: var(--slate-100);
  color: var(--slate-600);
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 600;
}

/* --- Culture Picks Grid --- */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.culture-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.culture-card__visual {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.culture-card__body {
  padding: 16px;
}

.culture-card__type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  margin-bottom: 8px;
}

.culture-card__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.culture-card__desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- Poll Widget --- */
.diaspo-poll {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.diaspo-poll__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--orange);
}

.diaspo-poll__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.diaspo-poll__question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.5;
}

fieldset.diaspo-poll__options {
  border: none;
  padding: 0;
  margin: 0;
}

.diaspo-poll__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diaspo-poll__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--slate-50);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.diaspo-poll__option:hover {
  border-color: var(--green);
  background: #f0fdf4;
}

.diaspo-poll__option input {
  display: none;
}

.diaspo-poll__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--slate-300);
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.diaspo-poll__option:hover .diaspo-poll__radio {
  border-color: var(--green);
}

.diaspo-poll__option input:checked ~ .diaspo-poll__radio {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 3px var(--white);
}

.diaspo-poll__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  position: relative;
  z-index: 2;
}

.diaspo-poll__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--poll-percent);
  background: rgba(29,140,79,0.08);
  border-radius: var(--radius);
  transition: width 0.6s ease;
}

.diaspo-poll__percent {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.diaspo-poll__count {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 16px;
  margin-bottom: 0;
}

/* --- Toolkit Cards --- */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.toolkit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.toolkit-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.toolkit-card__icon--green { background: #ecfdf5; color: var(--green); }
.toolkit-card__icon--orange { background: #fff7ed; color: var(--orange); }
.toolkit-card__icon--blue { background: #eff6ff; color: #3B82F6; }
.toolkit-card__icon--bordeaux { background: #fdf2f8; color: var(--bordeaux); }

.toolkit-card__title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.toolkit-card__desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 auto 0;
  padding-bottom: 14px;
}

.toolkit-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  transition: var(--transition);
}

.toolkit-card__link:hover {
  color: var(--green-hover);
  gap: 10px;
}

/* --- Diaspo CTA Block --- */
.diaspo-cta {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 20px 0;
}

.diaspo-cta__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #34D399);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.diaspo-cta__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.diaspo-cta__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 24px 0;
}

.diaspo-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- News Card category color variants --- */
.news-card-img__cat--green { color: var(--green); }
.news-card-img__cat--orange { color: var(--orange); }
.news-card-img__cat--blue { color: #3B82F6; }
.news-card-img__cat--bordeaux { color: var(--bordeaux); }

/* ============================================
   COIN DES DIASPOS — Responsive
   ============================================ */
@media (max-width: 1024px) {
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .diaspo-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .diaspo-stats__item { padding: 16px 10px; }
  .diaspo-stats__number { font-size: 1.3rem; }
  .diaspo-featured { min-height: 320px; }
  .diaspo-featured__content { padding: 24px; }
  .diaspo-featured__title { font-size: 1.2rem; }
  .diaspo-featured__meta { flex-direction: column; gap: 8px; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .return-grid { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .toolkit-grid { grid-template-columns: 1fr; }
  .diaspo-poll { padding: 24px 20px; }
  .diaspo-cta__title { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .diaspo-stats__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .diaspo-stats__number { font-size: 1.1rem; }
  .diaspo-featured { min-height: 280px; }
  .diaspo-featured__title { font-size: 1rem; }
  .country-grid { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .diaspo-cta__buttons { flex-direction: column; align-items: center; }
}

/* ============================================
   MOBILE RESPONSIVE OPTIMIZATION
   Additional responsive rules for ~50 components
   ============================================ */

/* --- Tablet Landscape (1024px) --- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .footer__armoirie { width: 220px; height: 220px; }
  .official-card__img { height: 320px; }
  .info-list-item__img { width: 80px; height: 54px; }
}

/* --- Tablet Portrait (768px) --- */
@media (max-width: 768px) {

  /* Container */
  .container { padding: 0 16px; }

  /* Header mobile */
  .header { max-width: 100%; overflow: visible; }
  .header__logo img { height: 44px; max-width: 180px; object-fit: contain; object-position: left; }
  .header__search-toggle { padding: 8px; }
  .header__search-box.open { width: 200px; }

  /* Page Hero */
  .page-hero { padding: 28px 0; }
  .page-hero__title { font-size: 1.4rem; letter-spacing: -0.3px; }
  .page-hero__subtitle { font-size: 0.82rem; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.68rem; gap: 5px; margin-bottom: 8px; flex-wrap: wrap; }

  /* Section headers */
  .section__header { margin-bottom: 24px; }
  .section__header h2 { font-size: 1.15rem; }
  .section-title h2 { font-size: 1rem; gap: 8px; }
  .section-title__link { font-size: 0.72rem; }
  .section-title h2::before { width: 3px; height: 16px; }

  /* Buttons — touch-friendly */
  .btn {
    padding: 12px 24px;
    font-size: 0.875rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn--sm { padding: 10px 18px; font-size: 0.8rem; min-height: 40px; }

  /* Footer */
  .footer { padding: 36px 0 0; }
  .footer__armoirie { width: 180px; height: 180px; }
  .footer__logo { height: 52px; margin-bottom: 12px; }
  .footer__title { font-size: 0.8rem; margin-bottom: 14px; }
  .footer__links { gap: 8px; }
  .footer__links a { font-size: 0.8rem; }
  .footer__bottom-links { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .footer__social { gap: 8px; margin-top: 12px; }
  .footer__social-link { width: 40px; height: 40px; }

  /* Flash-infos */
  .flash-infos { height: 30px; }
  .flash-infos__label { font-size: 0.6rem; padding: 0 12px; letter-spacing: 0.5px; }
  .flash-infos__item { font-size: 0.72rem; padding: 0 16px; }

  /* Banner pub */
  .banner-pub { min-height: 100px; }
  .banner-pub--placeholder { min-height: 100px; }

  /* Welcome modal */
  .welcome-modal__dialog { width: 95%; max-height: 90vh; border-radius: 10px; }
  .welcome-modal__close { top: 10px; right: 10px; padding: 6px 12px 6px 10px; font-size: 0.68rem; }

  /* FAQ */
  .faq__question { padding: 12px 14px; font-size: 0.82rem; }
  .faq__question::after { font-size: 1rem; margin-left: 8px; }
  .faq__answer-inner { padding: 0 14px 12px; font-size: 0.8rem; }

  /* Info box */
  .info-box { padding: 12px 14px; margin: 16px 0; }
  .info-box p { font-size: 0.8rem; }

  /* Steps */
  .step { gap: 14px; padding-bottom: 22px; }
  .step__number { width: 32px; height: 32px; font-size: 0.75rem; }
  .step:not(:last-child)::before { left: 15px; top: 32px; }
  .step__content h3 { font-size: 0.875rem; }
  .step__content p { font-size: 0.78rem; }

  /* Testimonial */
  .testimonial { padding: 22px 20px; margin: 16px 0; }
  .testimonial::before { font-size: 2.2rem; top: 8px; left: 14px; }
  .testimonial__quote { font-size: 0.875rem; padding-left: 4px; }
  .testimonial__author { font-size: 0.78rem; padding-left: 4px; }

  /* Sidebar widgets */
  .sidebar-widget { padding: 18px; }
  .sidebar-widget__title { font-size: 0.78rem; margin-bottom: 12px; padding-bottom: 8px; }
  .sidebar-widget__list a { font-size: 0.78rem; padding: 8px 0; }

  /* Sidebar calendar */
  .sidebar-calendar { padding: 18px; }
  .sidebar-calendar__title { font-size: 0.78rem; }
  .sidebar-calendar__day { height: 28px; font-size: 0.7rem; }
  .sidebar-calendar__weekdays span { font-size: 0.6rem; }
  .sidebar-calendar__nav { width: 28px; height: 28px; }

  /* Sidebar social */
  .sidebar-social { padding: 20px 18px; }
  .sidebar-social__grid { gap: 8px; }
  .sidebar-social__link { padding: 10px 12px; font-size: 0.7rem; }

  /* Sidebar bordeaux / CTA */
  .sidebar-bordeaux { padding: 22px 20px; }
  .sidebar-bordeaux__tab { padding: 10px 14px; font-size: 0.78rem; }
  .sidebar-cta { padding: 20px 18px; }
  .sidebar-cta h3 { font-size: 0.9375rem; }
  .sidebar-cta p { font-size: 0.78rem; }

  /* Article card */
  .article-card { min-height: 280px; }
  .article-card__overlay { padding: 40px 18px 18px; }
  .article-card__title { font-size: 0.95rem; }
  .article-card__excerpt { font-size: 0.75rem; }

  /* Article mini */
  .article-mini__img { width: 68px; height: 50px; }
  .article-mini__title { font-size: 0.78rem; }
  .article-mini__date { font-size: 0.65rem; }

  /* Article content */
  .article-content__meta { flex-wrap: wrap; font-size: 0.75rem; gap: 6px; }
  .article-content__title { font-size: 1.5rem; }
  .article-content__lead { font-size: 0.95rem; }

  /* Contact item */
  .contact-item { gap: 14px; padding: 16px 0; }
  .contact-item__icon { width: 42px; height: 42px; border-radius: 12px; }
  .contact-item__icon svg { width: 20px; height: 20px; }
  .contact-item__label { font-size: 0.7rem; }
  .contact-item__text { font-size: 0.8rem; }

  /* Contact CTA box */
  .contact-cta-box { padding: 22px; }
  .contact-cta-box h3 { font-size: 0.9375rem; }
  .contact-cta-box p { font-size: 0.8rem; }

  /* Official card */
  .official-card__img { height: 280px; }
  .official-card__overlay { padding: 40px 18px 18px; }
  .official-card__name { font-size: 1rem; }

  /* Info list item */
  .info-list-item { gap: 12px; padding: 12px 0; }
  .info-list-item__img { width: 72px; height: 48px; }
  .info-list-item__title { font-size: 0.82rem; }
  .info-list-item__meta { font-size: 0.65rem; }

  /* Event banner */
  .event-banner__close { min-width: 44px; min-height: 44px; }

  /* Orientation strip */
  .orientation-strip__link { padding: 7px 14px; font-size: 0.75rem; }
  .orientation-strip__label { font-size: 0.75rem; }
}

/* --- Mobile (480px) --- */
@media (max-width: 480px) {

  /* Container */
  .container { padding: 0 14px; }

  /* Header mobile */
  .header__logo img { height: 38px; max-width: 140px; }
  .header__search-box.open { width: 150px; font-size: 0.8rem; }

  /* Page Hero */
  .page-hero { padding: 20px 0; }
  .page-hero__title { font-size: 1.15rem; margin-bottom: 4px; }
  .page-hero__subtitle { font-size: 0.78rem; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.65rem; gap: 4px; }

  /* Section */
  .section { padding: 28px 0; }
  .section__header { margin-bottom: 20px; }
  .section__header h2 { font-size: 1.05rem; }

  /* Buttons full-width in CTA contexts */
  .page-hero .btn,
  .contact-cta-box .btn,
  .sidebar-cta .btn { width: 100%; }

  /* Footer */
  .footer { padding: 28px 0 0; }
  .footer__armoirie { width: 140px; height: 140px; }
  .footer__logo { height: 44px; }
  .footer p { font-size: 0.8rem; }
  .footer__title { font-size: 0.75rem; margin-bottom: 12px; }
  .footer__links a { font-size: 0.78rem; }
  .footer__bottom { padding: 12px 0; font-size: 0.7rem; }
  .footer__bottom-links { gap: 10px; }
  .footer__bottom-links a { font-size: 0.7rem; }
  .footer__social-link { width: 44px; height: 44px; }

  /* Flash-infos */
  .flash-infos { height: 28px; }
  .flash-infos__label { font-size: 0.55rem; padding: 0 10px; }
  .flash-infos__item { font-size: 0.68rem; padding: 0 14px; }

  /* Banner pub */
  .banner-pub { min-height: 80px; margin-bottom: 4px; }
  .banner-pub--placeholder { min-height: 80px; }

  /* Welcome modal */
  .welcome-modal__dialog { width: 97%; max-height: 92vh; border-radius: 8px; }

  /* FAQ */
  .faq__question { padding: 10px 12px; font-size: 0.78rem; }
  .faq__answer-inner { padding: 0 12px 10px; font-size: 0.78rem; line-height: 1.6; }

  /* Info box */
  .info-box { padding: 10px 12px; }

  /* Steps */
  .step { gap: 12px; padding-bottom: 18px; }
  .step__number { width: 28px; height: 28px; font-size: 0.7rem; }
  .step:not(:last-child)::before { left: 13px; top: 28px; }
  .step__content h3 { font-size: 0.82rem; }

  /* Testimonial */
  .testimonial { padding: 18px 16px; }
  .testimonial::before { font-size: 1.8rem; left: 10px; }
  .testimonial__quote { font-size: 0.82rem; line-height: 1.6; }

  /* Sidebar widgets */
  .sidebar-widget { padding: 16px; }
  .sidebar-social { padding: 18px 16px; }
  .sidebar-social__grid { grid-template-columns: 1fr; }
  .sidebar-social__link { padding: 12px 14px; font-size: 0.75rem; }
  .sidebar-bordeaux { padding: 20px 16px; }
  .sidebar-cta { padding: 18px 16px; }
  .sidebar-calendar { padding: 16px; }

  /* Article card */
  .article-card { min-height: 240px; }
  .article-card__overlay { padding: 32px 16px 16px; }
  .article-card__title { font-size: 0.875rem; }
  .article-card__meta { gap: 8px; font-size: 0.65rem; }

  /* Article mini */
  .article-mini { gap: 10px; }
  .article-mini__img { width: 60px; height: 44px; }
  .article-mini__title { font-size: 0.75rem; }

  /* Article content */
  .article-content__meta { font-size: 0.7rem; }
  .article-content__title { font-size: 1.25rem; }
  .article-content__lead { font-size: 0.875rem; line-height: 1.6; }

  /* Contact form card */
  .contact-form-card { padding: 20px 16px; }
  .contact-form-card__title { font-size: 1rem; margin-bottom: 20px; padding-bottom: 10px; }

  /* Contact item */
  .contact-item { gap: 12px; padding: 14px 0; }
  .contact-item__icon { width: 38px; height: 38px; border-radius: 10px; }
  .contact-item__icon svg { width: 18px; height: 18px; }

  /* Contact CTA box */
  .contact-cta-box { padding: 20px 16px; }
  .contact-cta-box h3 { font-size: 0.875rem; }
  .contact-cta-box p { font-size: 0.78rem; }

  /* Official card */
  .official-card__img { height: 240px; }
  .official-card__name { font-size: 0.9375rem; }
  .official-card__role-label { font-size: 0.58rem; }

  /* Info list item — stack vertically */
  .info-list-item { flex-direction: column; gap: 8px; }
  .info-list-item__img { width: 100%; height: 140px; }

  /* Event banner */
  .event-banner__inner { gap: 6px; padding: 6px 36px 6px 12px; min-height: 40px; }
  .event-banner__text { font-size: 0.72rem; }
  .event-banner__badge { font-size: 0.6rem; padding: 3px 8px; }
  .event-banner__cta { font-size: 0.65rem; }

  /* Orientation strip */
  .orientation-strip { padding: 14px 20px; gap: 10px; }
  .orientation-strip__link { padding: 6px 12px; font-size: 0.72rem; }
  .orientation-strip__links { gap: 6px; }
  .orientation-strip__label { font-size: 0.7rem; }

  /* Section title */
  .section-title { margin-bottom: 18px; padding-bottom: 10px; }
  .section-title h2 { font-size: 0.9rem; }
  .section-title__link { font-size: 0.68rem; }

  /* Comment form */
  .comment-form { padding: 18px 14px; }
}

/* --- Small Phones (360px) --- */
@media (max-width: 360px) {

  /* Container — minimum padding */
  .container { padding: 0 12px; }

  /* Page Hero */
  .page-hero { padding: 16px 0; }
  .page-hero__title { font-size: 1.05rem; }
  .page-hero__subtitle { font-size: 0.75rem; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.6rem; }

  /* Section */
  .section { padding: 22px 0; }

  /* Buttons */
  .btn { padding: 10px 16px; font-size: 0.8rem; word-break: break-word; }

  /* Footer */
  .footer__armoirie { width: 100px; height: 100px; }
  .footer__logo { height: 38px; }
  .footer__bottom-links { flex-direction: column; align-items: center; gap: 8px; }

  /* Flash-infos */
  .flash-infos__label { font-size: 0.5rem; padding: 0 8px; }

  /* Welcome modal */
  .welcome-modal__dialog { width: 98%; border-radius: 6px; }
  .welcome-modal__close { padding: 5px 10px 5px 8px; }

  /* FAQ */
  .faq__question { padding: 10px; font-size: 0.75rem; }
  .faq__answer-inner { padding: 0 10px 10px; font-size: 0.75rem; }

  /* Steps */
  .step__number { width: 26px; height: 26px; font-size: 0.65rem; }
  .step:not(:last-child)::before { left: 12px; top: 26px; }

  /* Testimonial */
  .testimonial { padding: 14px 12px; }
  .testimonial__quote { font-size: 0.78rem; }

  /* Sidebar calendar */
  .sidebar-calendar__day { height: 24px; font-size: 0.65rem; }

  /* Article card */
  .article-card { min-height: 220px; }
  .article-card__title { font-size: 0.82rem; }
  .article-card__overlay { padding: 28px 14px 14px; }

  /* Article content */
  .article-content__title { font-size: 1.1rem; }

  /* Contact form card */
  .contact-form-card { padding: 16px 12px; }

  /* Official card */
  .official-card__img { height: 200px; }

  /* Orientation strip */
  .orientation-strip { padding: 12px 16px; }
  .orientation-strip__link { padding: 6px 10px; font-size: 0.68rem; }

  /* Section title */
  .section-title h2 { font-size: 0.82rem; }

  /* Stats counter — single column */
  .stats-counter__grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-counter__number { font-size: 1.6rem; }

  /* Partners grid — 2 columns minimum */
  .partners__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Contact item — stacked */
  .contact-item { flex-direction: column; gap: 8px; align-items: flex-start; }

  /* Event banner */
  .event-banner__inner { padding: 5px 32px 5px 10px; min-height: 36px; }

  /* Banner pub */
  .banner-pub { min-height: 60px; }
  .banner-pub--placeholder { min-height: 60px; }

  /* Prevent horizontal overflow */
  body { overflow-x: hidden; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* --- Skip Navigation --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--slate-900);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* --- Focus Visible --- */
*:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* Remove default outline only when NOT using keyboard */
*:focus:not(:focus-visible) {
  outline: none;
}

/* --- Prefers Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .preloader__logo { animation: none; }
  .preloader__spinner { animation: none; }
  .flash-infos__content { animation: none; }
}

/* --- Visually Hidden (sr-only) --- */
.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;
}

/* ============================================
   Coin des Diaspos — Event Hero + Countdown
   ============================================ */

/* Hero event block (BNC-style) */
.diaspo-event-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #0f172a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  color: #fff;
  min-height: 320px;
}
.diaspo-event-hero__image {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 300px;
}
.diaspo-event-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.95) 0%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0.3) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  gap: 12px;
  color: #fff;
}
.diaspo-event-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}
.diaspo-event-hero__badge--diaspora {
  background: rgba(232, 119, 42, 0.9);
}
.diaspo-event-hero__badge--general {
  background: rgba(29, 140, 79, 0.9);
}
.diaspo-event-hero__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}
.diaspo-event-hero__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
}
.diaspo-event-hero__info-item svg {
  color: rgba(255,255,255,0.85);
}
.diaspo-event-hero__info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.diaspo-event-hero__info-item svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Countdown column */
.diaspo-event-hero__countdown-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  background: #0f172a;
  gap: 20px;
}
.diaspo-event-hero__countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.diaspo-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.diaspo-countdown__box {
  background: rgba(15,23,42,0.6);
  border: 1px solid rgba(71,85,105,0.45);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
}
.diaspo-countdown__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.diaspo-countdown__unit {
  margin-top: 4px;
  font-size: 0.62rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.diaspo-event-hero__desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.65;
}
.diaspo-event-hero__cta {
  margin-top: 4px;
}
.diaspo-event-hero__cta .btn {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.diaspo-event-hero__cta .btn:hover {
  background: rgba(255,255,255,0.1);
}

/* Past diaspora events list */
.diaspo-past-events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.diaspo-past-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--white);
  box-shadow: var(--shadow-card);
  align-items: stretch;
  transition: var(--transition);
}
.diaspo-past-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.diaspo-past-card__image {
  width: 140px;
  min-height: 100px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: var(--neutral-200);
  flex-shrink: 0;
  filter: grayscale(0.6);
}
.diaspo-past-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.diaspo-past-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.diaspo-past-card__type {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #0f172a;
  color: #fff;
}
.diaspo-past-card__type--diaspora {
  background: var(--orange);
}
.diaspo-past-card__done {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(29,140,79,0.1);
  color: var(--green);
}
.diaspo-past-card__done svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.diaspo-past-card__title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}
.diaspo-past-card__date {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 900px) {
  .diaspo-event-hero {
    grid-template-columns: 1fr;
  }
  .diaspo-event-hero__image {
    min-height: 220px;
  }
  .diaspo-event-hero__countdown-col {
    padding: 24px;
  }
}
@media (max-width: 768px) {
  .diaspo-past-events {
    grid-template-columns: 1fr;
  }
  .diaspo-event-hero__title {
    font-size: 1.2rem;
  }
  .diaspo-countdown__value {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .diaspo-event-hero__overlay {
    padding: 20px;
  }
  .diaspo-past-card {
    flex-direction: column;
  }
  .diaspo-past-card__image {
    width: 100%;
    height: 140px;
  }
}

/* ─── SIDEBAR MAGAZINE WIDGET ─── */
.sidebar-magazine {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  color: #fff;
  margin-top: 20px;
}
.sidebar-magazine__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(29, 140, 79, 0.15);
  color: var(--green);
  border: 1px solid rgba(29, 140, 79, 0.3);
  margin-bottom: 20px;
}
.sidebar-magazine__badge svg {
  stroke: var(--green);
  fill: none;
}
.sidebar-magazine__cover {
  width: 180px;
  margin: 0 auto 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.sidebar-magazine__cover img {
  width: 100%;
  height: auto;
  display: block;
}
.sidebar-magazine__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #fff;
}
.sidebar-magazine__date {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.sidebar-magazine__desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0 0 20px;
}
.sidebar-magazine__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.sidebar-magazine__btn:hover {
  background: #16a34a;
  transform: translateY(-1px);
}
.sidebar-magazine__btn svg {
  stroke: #fff;
  fill: none;
}

/* =============================================
   EVENT DETAIL PAGE
   ============================================= */
.event-hero {
  background-size: cover;
  background-position: center;
  padding: 40px 40px 44px;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.event-hero .breadcrumb--light a,
.event-hero .breadcrumb--light span { color: rgba(255,255,255,0.8); }
.event-hero .breadcrumb--light a:hover { color: #fff; }
.event-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 20px;
}
.event-hero__title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 700px;
  color: #fff;
}
.event-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.event-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.95;
}
.event-hero__countdown {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.event-hero__countdown-unit {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  min-width: 80px;
}
.event-hero__countdown-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.event-hero__countdown-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-top: 4px;
}
.event-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.event-content__figure {
  margin: 0 0 30px;
}
.event-content__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.event-content__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate-700);
  margin-bottom: 30px;
}
.event-content__body p { margin-bottom: 16px; }
.event-content__body h2, .event-content__body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--slate-900);
}
.event-info-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
}
.event-info-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 20px;
}
.event-info-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.event-info-card__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-info-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}
.event-info-card__value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-800);
}
.event-share {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}
.event-share__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
}
.event-share__links {
  display: flex;
  gap: 8px;
}

/* Sidebar événement */
.event-sidebar__block {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 24px;
}
.event-sidebar__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
}
.event-sidebar__card {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
  text-decoration: none;
  transition: background 0.2s;
}
.event-sidebar__card:last-child { border-bottom: none; }
.event-sidebar__card:hover { opacity: 0.8; }
.event-sidebar__card-date {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--green), #16a34a);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.event-sidebar__card-day {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}
.event-sidebar__card-month {
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.event-sidebar__card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.event-sidebar__card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.3;
}
.event-sidebar__card-location {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* Responsive event page */
@media (max-width: 768px) {
  .event-hero__title { font-size: 1.5rem; }
  .event-hero__countdown-unit { min-width: 60px; padding: 10px 12px; }
  .event-hero__countdown-number { font-size: 1.5rem; }
  .event-layout { grid-template-columns: 1fr; }
  .event-hero__meta { flex-direction: column; gap: 10px; }
}

/* ============================================
   Search Page
   ============================================ */
.search-section {
  padding: 48px 0 64px;
}

.search-form {
  max-width: 600px;
  margin: 0 auto 3rem;
  display: flex;
  gap: 0.5rem;
}

.search-form__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--slate-200);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-form__input:focus {
  border-color: var(--orange);
}

.search-form__btn {
  padding: 0.75rem 1.5rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.search-form__btn:hover {
  opacity: 0.9;
}

.search-empty {
  text-align: center;
  color: var(--slate-500);
}

.search-no-results {
  text-align: center;
  padding: 3rem 0;
  color: var(--slate-500);
}

.search-no-results svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.search-no-results__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.search-count {
  margin-bottom: 2rem;
  color: var(--slate-600);
}

.search-results__heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange);
}

.search-results__heading--green {
  border-bottom-color: var(--green);
}

.search-results__heading--bordeaux {
  border-bottom-color: var(--bordeaux);
}

.search-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.search-dossier-card {
  display: block;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.search-dossier-card:hover {
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,.1));
}

.search-dossier-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--slate-800);
}

.search-dossier-card__desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.search-event-card {
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.search-event-card__date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.search-event-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--slate-800);
}

.search-event-card__location {
  font-size: 0.85rem;
  color: var(--slate-500);
}
