/* ==========================================================================
   CCI EL HIDHAB SÉTIF — Feuille de style publique (refonte 2026)
   Design system inspiré des couleurs du logo : vert #679139 en couleur
   principale, bleu du globe & or des rayons en accents
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* --- Variables historiques (conservées : admin.css & templates) --- */
  --primary: #24371a;
  --primary-light: #3f5c25;
  --primary-accent: #679139;
  --secondary: #2f6bff;
  --secondary-light: #e8f4ff;
  --gold: #f0a800;
  --gold-hover: #cf7d00;
  --gold-soft: #fff5e0;

  --bg-page: #f7f8f4;
  --bg-surface: #ffffff;
  --bg-alt: #eef2e6;
  --text-main: #171f12;
  --text-body: #49523f;
  --text-muted: #757f68;
  --text-light: #a4ac96;
  --border-light: #e3e8da;
  --border-focus: #679139;

  --bg-dark: #101a0b;
  --bg-dark-2: #24371a;
  --text: #ffffff;
  --text-soft: #e3ecd9;
  --accent: #679139;
  --accent-dark: #4f7129;
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.1);
  --radius: 16px;

  /* --- Palette 2026 (inspirée du logo) --- */
  --ink-950: #0b120a;
  --ink-900: #14200f;
  --ink-800: #24371a;
  --ink-700: #3f5c25;
  --ink-600: #679139;

  --blue: #679139;
  --blue-dark: #4f7129;
  --blue-soft: #eef4e6;
  --cyan: #2f6bff;
  --gold-2: #ffca4d;
  --green: #1f9d55;

  --grad-brand: linear-gradient(120deg, #679139 0%, #2f6bff 60%, #9cc47a 100%);
  --grad-gold: linear-gradient(135deg, #ffca4d 0%, #f0a800 55%, #cf7d00 100%);
  --grad-ink: linear-gradient(140deg, #0b120a 0%, #24371a 48%, #3f5c25 100%);
  --grad-mesh: radial-gradient(60% 70% at 8% 12%, rgba(103, 145, 57, 0.45) 0%, rgba(103, 145, 57, 0) 60%),
               radial-gradient(50% 60% at 92% 8%, rgba(47, 107, 255, 0.38) 0%, rgba(47, 107, 255, 0) 62%),
               radial-gradient(55% 65% at 70% 100%, rgba(240, 168, 0, 0.22) 0%, rgba(240, 168, 0, 0) 65%);

  --surface: #ffffff;
  --surface-2: #f1f4ec;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --line: #e3e8da;
  --line-2: #d3dcc6;

  --t-strong: #071227;
  --t-body: #46566f;
  --t-muted: #6f8098;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(6, 17, 39, 0.06);
  --shadow-sm: 0 2px 10px rgba(6, 17, 39, 0.06), 0 1px 2px rgba(6, 17, 39, 0.04);
  --shadow-md: 0 14px 30px -14px rgba(6, 17, 39, 0.22), 0 4px 10px -6px rgba(6, 17, 39, 0.08);
  --shadow-lg: 0 30px 64px -28px rgba(6, 17, 39, 0.3), 0 12px 26px -16px rgba(6, 17, 39, 0.12);
  --shadow-blue: 0 18px 40px -20px rgba(103, 145, 57, 0.6);
  --shadow-gold: 0 18px 38px -20px rgba(240, 168, 0, 0.7);
  --shadow-card-hover: 0 30px 60px -26px rgba(6, 17, 39, 0.28);
  --ring: 0 0 0 4px rgba(103, 145, 57, 0.18);

  --container: 1200px;
  --header-h: 76px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* --------------------------------------------------------------------------
   2. Base, typographie & utilitaires
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1 0 auto; }

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--t-strong);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.05rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.16rem; }

p { margin: 0 0 1.1em; }

::selection { background: rgba(103, 145, 57, 0.2); color: var(--ink-900); }

:focus-visible {
  outline: 3px solid rgba(103, 145, 57, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -70px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--ink-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus { top: 0; }

/* Étiquette de section (eyebrow) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2.5px;
  border-radius: var(--radius-full);
  background: var(--grad-brand);
}
.eyebrow.on-dark { color: var(--gold-2); }
.eyebrow.on-dark::before { background: var(--grad-gold); }

.lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--t-body);
  line-height: 1.78;
}

.meta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--t-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--blue-dark);
}
.link-more:hover { color: var(--ink-800); gap: 13px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 12px 0 0; max-width: 62ch; }
.section-head > .section-head-text { max-width: 720px; }
/* --------------------------------------------------------------------------
   3. En-tête : barre de contact + navigation collante
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(6, 17, 39, 0.07);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px -28px rgba(6, 17, 39, 0.4);
}

.header-top {
  background: var(--grad-ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  font-weight: 500;
}
.header-top-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 42px;
  flex-wrap: wrap;
}
.header-top-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}
.header-top-item svg { flex: 0 0 auto; opacity: 0.75; }
a.header-top-item:hover { color: #fff; }
.header-top-spacer { flex: 1 1 auto; }
.header-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 13px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.header-top-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(255, 202, 77, 0.25);
}

.header-main { position: relative; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-800);
}
.logo img {
  height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}
.logo:hover img { transform: scale(1.04); }

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  position: relative;
  padding: 9px 15px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-body);
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.28s var(--ease);
}
.main-nav a:hover { color: var(--ink-800); background: rgba(103, 145, 57, 0.07); }
.main-nav a:hover::after { width: 40%; }
.main-nav a.active {
  color: #fff;
  background: var(--grad-ink);
  box-shadow: 0 10px 22px -14px rgba(6, 17, 39, 0.9);
}
.main-nav a.active::after { display: none; }

/* Bouton hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.nav-toggle-bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.nav-toggle-bars i {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink-800);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), width 0.3s var(--ease);
}
.nav-toggle.is-open .nav-toggle-bars i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.header-cta { flex: 0 0 auto; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 24, 0.45);
  backdrop-filter: blur(2px);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
body.drawer-open .nav-backdrop { display: block; opacity: 1; }
/* --------------------------------------------------------------------------
   4. Hero (accueil) & bandeau de page interne
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-ink);
  color: #fff;
  isolation: isolate;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

.hero-slider { min-height: 620px; display: flex; align-items: center; padding: 96px 0 88px; }

.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 7s linear;
  will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(3, 11, 24, 0.94) 0%, rgba(3, 11, 24, 0.82) 38%, rgba(10, 29, 55, 0.55) 72%, rgba(18, 48, 85, 0.4) 100%),
    linear-gradient(0deg, rgba(3, 11, 24, 0.6) 0%, rgba(3, 11, 24, 0) 55%);
}

.hero .container { position: relative; z-index: 2; max-width: 1240px; }

.hero-content { max-width: 760px; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
}
.hero-pill span {
  display: inline-block;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--grad-gold);
  color: #3a2500;
  letter-spacing: 0.08em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 4.6vw, 3.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #ffca4d 0%, #ffd77a 40%, #9cc47a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.94);
  font-size: 13.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.hero-chip svg { color: var(--gold-2); }
.hero-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Flèches & pastilles du diaporama */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero-arrow:hover { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.45); }
.hero-arrow-prev { left: 22px; }
.hero-arrow-next { right: 22px; }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero-dot.active { width: 32px; background: var(--gold-2); }

/* Bandeau des pages internes */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-ink);
  color: #fff;
  padding: 74px 0 66px;
  isolation: isolate;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--grad-mesh);
  opacity: 0.9;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 14px;
  max-width: 900px;
}
.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin-bottom: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255, 255, 255, 0.4); }
.breadcrumb .current { color: var(--gold-2); }
/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: var(--grad-gold);
  color: #3a2500;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -20px rgba(240, 168, 0, 0.85);
  color: #3a2500;
}
.btn:active { transform: translateY(0); }

.btn-sm { padding: 10px 20px; font-size: 13.5px; box-shadow: none; }

.btn-secondary {
  background: #fff;
  color: var(--ink-800);
  border-color: var(--line-2);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn-ghost-dark:hover { border-color: var(--ink-800); background: rgba(6, 17, 39, 0.04); }

.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   6. Sections & cartes
   -------------------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-alt {
  background: linear-gradient(180deg, #f1f4ec 0%, #eef2e6 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-compact { padding: 62px 0; }

/* Section "Qui sommes-nous" (accueil) — inspirée d'une composition photo asymétrique */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media::before {
  content: '';
  position: absolute;
  top: -22px;
  left: -22px;
  width: 62%;
  height: 62%;
  border: 3px solid var(--gold-2);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.about-media-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  align-items: end;
}
.about-img-tall {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-caption-wrap { display: flex; flex-direction: column; }
.about-img-short {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.about-caption {
  background: var(--grad-ink);
  color: #fff;
  padding: 20px 22px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: var(--shadow-md);
}
.about-content .lead { margin-bottom: 28px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-800);
}
.check-list li svg {
  flex: 0 0 auto;
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-radius: 50%;
  padding: 5px;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
}
.about-actions { display: flex; align-items: center; gap: 16px; }
.social-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: var(--ink-800);
}
.social-square:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-3px); }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 44px; }
  .about-media::before { display: none; }
}
@media (max-width: 560px) {
  .about-media-grid { grid-template-columns: 1fr; }
  .about-img-tall { height: 260px; }
  .about-img-short { height: 200px; }
  .check-list { grid-template-columns: 1fr; }
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--t-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(103, 145, 57, 0.28);
}
.card:hover::before { opacity: 1; }
.card .card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-dark);
  box-shadow: inset 0 0 0 1px rgba(103, 145, 57, 0.12);
}
.card .card-icon.gold { background: var(--gold-soft); color: var(--gold-hover); box-shadow: inset 0 0 0 1px rgba(240, 168, 0, 0.2); }
.card .card-icon.cyan { background: #e6f0ff; color: #1d4ed8; box-shadow: inset 0 0 0 1px rgba(47, 107, 255, 0.18); }
.card .card-icon.green { background: #e6f8f1; color: #0b7a5c; box-shadow: inset 0 0 0 1px rgba(15, 157, 118, 0.18); }
.card h3 { font-size: 1.02rem; }
.card p { margin: 0; }
.card p strong { color: var(--ink-800); font-weight: 800; }

/* Grille de cartes média (formations) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.card-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(103, 145, 57, 0.22); }
.card-item > img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--surface-2);
  transition: transform 0.6s var(--ease);
}
.card-item:hover > img { transform: scale(1.04); }
.card-item > *:not(img) { padding: 0 26px; }
.card-item > h3 { margin: 24px 0 8px; font-size: 1.14rem; }
.card-item > h3 + p { margin-top: 0; }
.card-item .meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--line);
  width: fit-content;
  margin-bottom: 14px;
}
.card-item .prose { font-size: 14.5px; color: var(--t-body); }
.card-item > *:last-child { padding-bottom: 26px; }
.card-item > .prose:last-child { margin-bottom: 0; }
.card-item > p:has(> .btn) { margin-top: auto; }
/* --------------------------------------------------------------------------
   7. Actualités
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}
.news-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(103, 145, 57, 0.24);
}
.news-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface-2);
  transition: transform 0.7s var(--ease);
}
.news-card:hover img { transform: scale(1.05); }
.news-card h3 {
  font-size: 1.12rem;
  line-height: 1.42;
  margin: 22px 26px 12px;
  transition: color 0.25s var(--ease);
}
.news-card:hover h3 { color: var(--blue-dark); }
.news-card p {
  margin: 0 26px 22px;
  color: var(--t-muted);
  font-size: 14.5px;
  line-height: 1.68;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 26px 0;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  background: var(--blue-soft);
  color: var(--blue-dark);
  border: 1px solid rgba(103, 145, 57, 0.14);
  width: fit-content;
}
.news-card h3:first-child { margin-top: 26px; }
.news-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: auto 26px 26px;
  padding-top: 16px;
  color: var(--ink-800);
  font-size: 13.5px;
  font-weight: 800;
}
.news-card:hover .read-more { color: var(--blue-dark); gap: 12px; }

/* --------------------------------------------------------------------------
   8. Documents téléchargeables
   -------------------------------------------------------------------------- */
.doc-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.doc-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.doc-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(103, 145, 57, 0.24);
}
.doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: var(--gold-hover);
}
.doc-body { flex: 1 1 auto; min-width: 0; }
.doc-list a {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-800);
  word-break: break-word;
}
.doc-list a:hover { color: var(--blue-dark); }
.doc-list .tag { margin-top: 6px; }
.doc-download {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-700);
  border: 1px solid var(--line);
}
.doc-list li:hover .doc-download { background: var(--grad-brand); color: #fff; border-color: transparent; }
/* --------------------------------------------------------------------------
   9. Contenu rédactionnel (prose) & article
   -------------------------------------------------------------------------- */
.page-content { padding: 0; }
.content-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 46px 48px 42px;
  overflow: hidden;
}
.content-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--grad-brand);
}
.content-card > h1:first-child { margin-top: 0; }

.prose { font-size: 15.8px; line-height: 1.85; color: var(--t-body); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.7em; margin-bottom: 0.5em; }
.prose h2 { font-size: 1.5rem; }
.prose h2::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 12px;
  border-radius: var(--radius-full);
  background: var(--grad-brand);
}
.prose h3 { font-size: 1.18rem; color: var(--ink-700); }
.prose h4 { font-size: 1.04rem; }
.prose a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--ink-800); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose ul li::marker { color: var(--blue); }
.prose img { border-radius: var(--radius-md); margin: 1.6em 0; box-shadow: var(--shadow-sm); }
.prose blockquote {
  margin: 1.8em 0;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  background: var(--surface-2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--ink-700);
  font-size: 1.03rem;
  font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 14.5px; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); font-weight: 700; color: var(--ink-800); }
.prose code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; font-size: 0.92em; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.2em 0; }

/* Article d'actualité */
.article { max-width: 880px; margin: 0 auto; }
.article-header { margin-bottom: 30px; }
.article-header h1 { margin-bottom: 20px; }
.article-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.article-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 0 0 36px;
  box-shadow: var(--shadow-md);
}
.article-footer {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* Bandeau d'appel à l'action */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 54px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--grad-mesh);
  opacity: 0.9;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 56ch; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* État vide */
.empty-state {
  padding: 54px 40px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  color: var(--t-muted);
}
.empty-state strong { display: block; color: var(--ink-800); font-size: 1.08rem; margin-bottom: 8px; }
/* --------------------------------------------------------------------------
   10. Contact
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 38px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-info h2 { font-size: 1.3rem; margin-bottom: 4px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.contact-info-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.contact-info-item .ci-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.contact-info-item h3 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { margin: 0; font-size: 14.5px; color: var(--t-body); }
.contact-info-item a { color: var(--blue-dark); font-weight: 600; }
.contact-info-item a:hover { color: var(--ink-800); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 38px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { font-size: 1.3rem; margin-bottom: 0; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-800);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--t-strong);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-light); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: var(--ring);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

/* Alertes & notifications */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 6px;
  border: 1.5px solid transparent;
}
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
/* --------------------------------------------------------------------------
   11. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: 90px;
  padding: 74px 0 0;
  background: var(--grad-ink);
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  isolation: isolate;
}
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--grad-mesh);
  opacity: 0.5;
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 46px;
  padding-bottom: 54px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-brand .footer-logo img {
  height: 54px;
  width: auto;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
}
.footer-brand .footer-logo strong {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.footer-brand .footer-logo span {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}
.footer-brand p { font-size: 14.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.66); margin: 0 0 18px; }
.footer-col h3 {
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}
.footer-links a::before {
  content: '';
  width: 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--gold-2);
  transition: width 0.25s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { width: 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 11px; font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.footer-contact-item svg { flex: 0 0 auto; margin-top: 3px; color: var(--gold-2); }
.footer-contact-item a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
.footer-social a:hover { background: var(--grad-gold); color: #3a2500; border-color: transparent; transform: translateY(-3px); }
.footer-copy {
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
}
.footer-copy .back-top { color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.footer-copy .back-top:hover { color: var(--gold-2); }
.footer-copy a:not(.back-top) { color: rgba(255, 255, 255, 0.72); font-weight: 600; }
.footer-copy a:not(.back-top):hover { color: var(--gold-2); }

/* Bouton retour en haut */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 120;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--grad-ink);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--grad-gold); color: #3a2500; }

/* --------------------------------------------------------------------------
   12. Animations d'apparition
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* --------------------------------------------------------------------------
   13. Adaptations responsives
   -------------------------------------------------------------------------- */
@media (max-width: 1140px) {
  .main-nav a { padding: 9px 12px; font-size: 14px; }
  .header-top-inner { gap: 16px; }
}

@media (max-width: 992px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    padding: 96px 26px 32px;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 60px -30px rgba(6, 17, 39, 0.5);
    transform: translateX(105%);
    transition: transform 0.36s var(--ease);
    overflow-y: auto;
    z-index: 160;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 6px; }
  .main-nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 15.5px;
    background: var(--surface-2);
  }
  .main-nav a::after { display: none; }
  .main-nav a.active { background: var(--grad-ink); }
  .main-nav::before {
    content: 'Navigation';
    position: absolute;
    top: 40px;
    left: 26px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--t-muted);
  }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-layout { grid-template-columns: 1fr; }

  .hero-slider { min-height: 560px; padding: 78px 0 74px; }
  .hero-arrow { top: auto; bottom: 22px; transform: none; }
  .hero-dots { bottom: 96px; }
}

@media (max-width: 820px) {
  .header-top-item.hide-sm { display: none; }
  .header-top-badge { margin-left: auto; }
}

@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 32px; }

  .hero-slider { min-height: 500px; padding: 60px 0 64px; }
  .hero-chips { padding-top: 24px; gap: 10px; }
  .hero-chip { width: 100%; justify-content: space-between; }
  .hero-dots { bottom: 88px; }
  .hero-arrow-prev { left: 14px; }
  .hero-arrow-next { right: 14px; }
  .hero-arrow { width: 42px; height: 42px; font-size: 20px; }

  .page-hero { padding: 54px 0 48px; }
  .content-card { padding: 32px 24px 30px; border-radius: var(--radius-md); }
  .content-card::before { width: 4px; }
  .contact-info, .contact-form { padding: 30px 24px; border-radius: var(--radius-md); }
  .contact-form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 28px; border-radius: var(--radius-lg); }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 42px; }
  .footer-copy { justify-content: center; text-align: center; }
  .cards-grid, .news-grid, .doc-list { grid-template-columns: 1fr; }
  .to-top { right: 18px; bottom: 18px; width: 44px; height: 44px; }
  .site-footer { margin-top: 64px; padding-top: 56px; }
}

@media (max-width: 480px) {
  .hero-pill { font-size: 10.5px; }
  .hero-pill span { display: none; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 13px 24px; }
}

/* --------------------------------------------------------------------------
   14. Accessibilité : mouvement réduit & impression
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transform: none; }
}

@media print {
  .site-header, .site-footer, .to-top, .hero-arrow, .hero-dots, .nav-backdrop, .cta-band-actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .hero, .page-hero { background: none; color: #000; padding: 0 0 12pt; }
  .hero h1, .hero .lead, .page-hero h1, .page-hero .lead { color: #000; text-shadow: none; }
  .hero-slides, .hero-overlay, .page-hero::after, .site-footer::after { display: none; }
  .content-card, .news-card, .card, .card-item { box-shadow: none; border-color: #ccc; }
}

/* --------------------------------------------------------------------------
   15. Compatibilité espace d'administration (admin.css complète le reste)
   -------------------------------------------------------------------------- */
.admin-body {
  background: var(--grad-ink);
  color: var(--text);
  min-height: 100vh;
  display: block;
}

.hint {
  font-size: 12.5px;
  color: #8a5a00;
  background: var(--gold-soft);
  border: 1px solid rgba(240, 168, 0, 0.28);
  padding: 10px 12px;
  border-radius: var(--radius-xs);
}

/* --------------------------------------------------------------------------
   16. Sélecteur de langue
   -------------------------------------------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}
.lang-switch:hover { color: #fff; }
.lang-switch svg { opacity: 0.8; }

/* --------------------------------------------------------------------------
   17. Version arabe (RTL) — inspirée des mêmes jetons, police et sens adaptés
   -------------------------------------------------------------------------- */
html[dir="rtl"] {
  --font-sans: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html[dir="rtl"] body { text-align: right; }

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .tag,
html[dir="rtl"] .badge,
html[dir="rtl"] .hero-pill,
html[dir="rtl"] .hero-pill span,
html[dir="rtl"] .header-top-badge,
html[dir="rtl"] .logo,
html[dir="rtl"] .footer-brand .footer-logo span,
html[dir="rtl"] .footer-col h3,
html[dir="rtl"] .breadcrumb,
html[dir="rtl"] .main-nav::before {
  letter-spacing: normal;
}

/* Icônes directionnelles (flèches « suivant ») : inversées en RTL */
html[dir="rtl"] .btn svg,
html[dir="rtl"] .link-more svg,
html[dir="rtl"] .read-more svg,
html[dir="rtl"] .hero-actions svg {
  transform: scaleX(-1);
}

/* Éléments décoratifs positionnés en absolu : bascule du côté */
html[dir="rtl"] .about-media::before {
  left: auto;
  right: -22px;
}
html[dir="rtl"] .content-card::before {
  left: auto;
  right: 0;
}
html[dir="rtl"] .prose blockquote {
  border-left: none;
  border-right: 4px solid var(--gold);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}
html[dir="rtl"] .prose ul,
html[dir="rtl"] .prose ol {
  padding-left: 0;
  padding-right: 1.25em;
}
html[dir="rtl"] .skip-link:focus {
  left: 50%;
  right: auto;
}
html[dir="rtl"] .stat-card::before,
html[dir="rtl"] .card::before {
  left: auto;
  right: 0;
}

@media (max-width: 992px) {
  html[dir="rtl"] .main-nav {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid var(--line);
    box-shadow: 30px 0 60px -30px rgba(6, 17, 39, 0.5);
    transform: translateX(-105%);
  }
  html[dir="rtl"] .main-nav.open { transform: translateX(0); }
  html[dir="rtl"] .main-nav::before {
    left: auto;
    right: 26px;
  }
}
