/* ============================================================
   XP-NOVA Design System — Global Stylesheet
   Site: agri.xp-nova.com
   Version: 1.0 — Juin 2026
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES (Design Tokens) ──────────────── */
:root {
  /* Colors */
  --xpn-navy:    #0B2545;
  --xpn-gold:    #C9A14A;
  --xpn-blue:    #00289A;
  --xpn-dark:    #1C1C1C;
  --xpn-grey:    #667085;
  --xpn-border:  #D0D5DD;
  --xpn-light:   #F5F7FA;
  --xpn-white:   #FFFFFF;
  --xpn-success: #027A48;
  --xpn-warning: #B54708;
  --xpn-error:   #B42318;

  /* Color shades */
  --xpn-navy-10: rgba(11,37,69,0.08);
  --xpn-navy-20: rgba(11,37,69,0.16);
  --xpn-gold-10: rgba(201,161,74,0.12);
  --xpn-gold-light: #F0E0B5;
  --xpn-blue-10: rgba(0,40,154,0.08);

  /* Typography */
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-data:   'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Font Sizes */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  28px;
  --text-3xl:  36px;
  --text-4xl:  48px;
  --text-5xl:  56px;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --fw-extrabold:800;

  /* Line Heights */
  --lh-tight:   1.2;
  --lh-snug:    1.35;
  --lh-normal:  1.5;
  --lh-relaxed: 1.7;

  /* Spacing scale (8px base) */
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   20px;
  --sp-6:   24px;
  --sp-8:   32px;
  --sp-10:  40px;
  --sp-12:  48px;
  --sp-16:  64px;
  --sp-20:  80px;
  --sp-24:  96px;
  --sp-32: 128px;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16,24,40,0.05);
  --shadow-sm: 0 1px 3px rgba(16,24,40,0.10), 0 1px 2px rgba(16,24,40,0.06);
  --shadow-md: 0 4px 8px -2px rgba(16,24,40,0.10), 0 2px 4px -2px rgba(16,24,40,0.06);
  --shadow-lg: 0 12px 16px -4px rgba(16,24,40,0.08), 0 4px 6px -2px rgba(16,24,40,0.03);
  --shadow-xl: 0 20px 24px -4px rgba(16,24,40,0.08), 0 8px 8px -4px rgba(16,24,40,0.03);
  --shadow-gold: 0 4px 16px rgba(201,161,74,0.24);
  --shadow-navy: 0 8px 24px rgba(11,37,69,0.24);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 72px;
  --section-py: var(--sp-20);

  /* Z-index scale */
  --z-base:    1;
  --z-dropdown:10;
  --z-sticky:  100;
  --z-header:  200;
  --z-modal:   300;
  --z-toast:   400;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--xpn-dark);
  background-color: var(--xpn-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--xpn-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--xpn-navy); }
a:focus-visible {
  outline: 2px solid var(--xpn-gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--xpn-navy);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { line-height: var(--lh-relaxed); }

/* ── 3. LAYOUT UTILITIES ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--section-py);
}

.section--sm { padding-block: var(--sp-16); }
.section--lg { padding-block: var(--sp-32); }

.section--light { background-color: var(--xpn-light); }
.section--navy  { background-color: var(--xpn-navy); color: var(--xpn-white); }
.section--dark  { background-color: var(--xpn-dark); color: var(--xpn-white); }

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--sp-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Screen reader 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-width: 0;
}

/* ── 4. SECTION HEADER ──────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.section-header__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--xpn-gold);
  margin-bottom: var(--sp-3);
}

.section-header__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--xpn-navy);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-4);
}

.section--navy .section-header__title,
.section--dark .section-header__title {
  color: var(--xpn-white);
}

.section-header__desc {
  font-size: var(--text-lg);
  color: var(--xpn-grey);
  line-height: var(--lh-relaxed);
}

.section--navy .section-header__desc,
.section--dark .section-header__desc {
  color: rgba(255,255,255,0.72);
}

/* ── 5. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 24px;
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--xpn-gold);
  outline-offset: 3px;
}

/* Primary - Gold */
.btn--primary {
  background: var(--xpn-gold);
  color: var(--xpn-navy);
  border-color: var(--xpn-gold);
}
.btn--primary:hover {
  background: #B8913E;
  border-color: #B8913E;
  color: var(--xpn-navy);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Secondary - Navy outline */
.btn--secondary {
  background: transparent;
  color: var(--xpn-navy);
  border-color: var(--xpn-navy);
}
.btn--secondary:hover {
  background: var(--xpn-navy);
  color: var(--xpn-white);
  transform: translateY(-1px);
}

/* Ghost - White outline (sur fonds sombres) */
.btn--ghost {
  background: transparent;
  color: var(--xpn-white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--xpn-white);
  color: var(--xpn-white);
}

/* Navy filled */
.btn--navy {
  background: var(--xpn-navy);
  color: var(--xpn-white);
  border-color: var(--xpn-navy);
}
.btn--navy:hover {
  background: #0d2e57;
  box-shadow: var(--shadow-navy);
  transform: translateY(-1px);
  color: var(--xpn-white);
}

/* Sizes */
.btn--sm { padding: 8px 16px; font-size: var(--text-sm); }
.btn--lg { padding: 16px 32px; font-size: var(--text-lg); }
.btn--xl { padding: 20px 40px; font-size: var(--text-xl); font-weight: var(--fw-bold); }

/* Icon button */
.btn--icon {
  width: 44px; height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ── 6. BADGES & TAGS ───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.badge--gold   { background: var(--xpn-gold-10); color: #92700C; border: 1px solid #E8C867; }
.badge--navy   { background: var(--xpn-navy-10); color: var(--xpn-navy); border: 1px solid var(--xpn-navy-20); }
.badge--blue   { background: var(--xpn-blue-10); color: var(--xpn-blue); border: 1px solid rgba(0,40,154,0.2); }
.badge--green  { background: #ECFDF3; color: var(--xpn-success); border: 1px solid #ABEFC6; }
.badge--grey   { background: var(--xpn-light); color: var(--xpn-grey); border: 1px solid var(--xpn-border); }

/* ── 7. CARDS ────────────────────────────────────────────────── */
.card {
  background: var(--xpn-white);
  border: 1px solid var(--xpn-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  transition: all var(--transition-base);
}

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

.card--flat {
  box-shadow: var(--shadow-sm);
  border: none;
}

.card--navy {
  background: var(--xpn-navy);
  border-color: rgba(255,255,255,0.08);
  color: var(--xpn-white);
}

.card--gold-accent {
  border-top: 4px solid var(--xpn-gold);
}

/* Icon in card */
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--xpn-gold-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--xpn-gold);
  fill: none;
  stroke-width: 1.75;
}

.card--navy .card__icon {
  background: rgba(255,255,255,0.1);
}
.card--navy .card__icon svg { stroke: var(--xpn-gold); }

.card__title {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--xpn-navy);
  margin-bottom: var(--sp-3);
}
.card--navy .card__title { color: var(--xpn-white); }

.card__desc {
  font-size: var(--text-base);
  color: var(--xpn-grey);
  line-height: var(--lh-relaxed);
}
.card--navy .card__desc { color: rgba(255,255,255,0.68); }

/* ── 8. HEADER / NAVIGATION ─────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(11,37,69,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: var(--z-header);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.32);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-mark {
  width: 40px;
  height: 40px;
  background: var(--xpn-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-extrabold);
  font-size: 18px;
  color: var(--xpn-navy);
  letter-spacing: -0.5px;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header__logo-name {
  font-size: 18px;
  font-weight: var(--fw-extrabold);
  color: var(--xpn-white);
  letter-spacing: -0.3px;
}

.header__logo-tagline {
  font-size: 10px;
  font-weight: var(--fw-medium);
  color: var(--xpn-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Main Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--xpn-white);
  background: rgba(255,255,255,0.08);
}

.nav-link svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--xpn-white);
  border: 1px solid var(--xpn-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-6);
  min-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: var(--z-dropdown);
}

.mega-menu--wide {
  min-width: 860px;
  grid-template-columns: repeat(4, 1fr);
}

.nav-item:hover .mega-menu,
.mega-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  text-decoration: none;
}

.mega-menu__item:hover {
  background: var(--xpn-light);
}

.mega-menu__item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--xpn-gold-10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-menu__item-icon svg {
  width: 18px; height: 18px;
  stroke: var(--xpn-gold);
  fill: none;
  stroke-width: 1.75;
}

.mega-menu__item-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--xpn-navy);
  line-height: 1.3;
  margin-bottom: 2px;
}

.mega-menu__item-desc {
  font-size: var(--text-xs);
  color: var(--xpn-grey);
  line-height: 1.4;
}

/* Header CTA */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--xpn-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ── 9. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--xpn-navy);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,40,154,0.3) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(201,161,74,0.08) 0%, transparent 60%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: var(--z-base);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  padding-block: var(--sp-24);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--xpn-gold);
  margin-bottom: var(--sp-5);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--xpn-gold);
  border-radius: 2px;
}

.hero__title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: var(--fw-extrabold);
  color: var(--xpn-white);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-6);
}

.hero__title mark {
  background: none;
  color: var(--xpn-gold);
}

.hero__desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-10);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-12);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat-value {
  font-size: var(--text-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--xpn-gold);
  font-family: var(--font-data);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: var(--lh-snug);
}

/* Hero visual panel */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card-main {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8);
  backdrop-filter: blur(16px);
  width: 100%;
  max-width: 440px;
}

.hero__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}

.hero__card-title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--xpn-white);
}

.hero__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.hero__kpi {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}

.hero__kpi-value {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  font-family: var(--font-data);
  color: var(--xpn-gold);
  margin-bottom: 4px;
}

.hero__kpi-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Floating pill badges on hero */
.hero__badge {
  position: absolute;
  background: var(--xpn-white);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--xpn-navy);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.hero__badge--tl {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hero__badge--br {
  bottom: 15%;
  right: -5%;
  animation-delay: 3s;
}

.hero__badge svg {
  width: 16px; height: 16px;
  stroke: var(--xpn-gold);
  fill: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── 10. TRUST STRIP ────────────────────────────────────────── */
.trust-strip {
  background: var(--xpn-white);
  border-bottom: 1px solid var(--xpn-border);
  padding-block: var(--sp-6);
}

.trust-strip__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-strip__label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--xpn-grey);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-strip__logos {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-strip__logo-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--xpn-grey);
  opacity: 0.65;
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.trust-strip__logo-item:hover { opacity: 1; }

.trust-strip__logo-item .logo-icon {
  width: 24px; height: 24px;
  border-radius: var(--radius-sm);
  background: var(--xpn-navy-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  color: var(--xpn-navy);
}

/* ── 11. WHY XP-NOVA ────────────────────────────────────────── */
.why-section {
  background: var(--xpn-light);
}

.why-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.why-section__content {}

.why-section__points {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.why-point {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.why-point__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--xpn-gold-10);
  border: 1px solid rgba(201,161,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-point__icon svg {
  width: 22px; height: 22px;
  stroke: var(--xpn-gold);
  fill: none;
  stroke-width: 1.75;
}

.why-point__title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--xpn-navy);
  margin-bottom: 4px;
}

.why-point__desc {
  font-size: var(--text-sm);
  color: var(--xpn-grey);
  line-height: var(--lh-relaxed);
}

/* Visual side */
.why-section__visual {
  position: relative;
}

.why-section__img-wrap {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--xpn-navy);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-section__img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  color: rgba(255,255,255,0.3);
  font-size: var(--text-sm);
  padding: var(--sp-8);
  text-align: center;
}

.why-section__metric-badge {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--xpn-white);
  border: 1px solid var(--xpn-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
}

.metric-badge__value {
  font-size: var(--text-3xl);
  font-weight: var(--fw-extrabold);
  font-family: var(--font-data);
  color: var(--xpn-navy);
  line-height: 1;
}

.metric-badge__label {
  font-size: var(--text-sm);
  color: var(--xpn-grey);
  margin-top: 4px;
}

/* ── 12. 9 DIMENSIONS ───────────────────────────────────────── */
.dimensions-section {
  background: var(--xpn-navy);
  position: relative;
  overflow: hidden;
}

.dimensions-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,161,74,0.06), transparent 70%);
  pointer-events: none;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

/* Special full-width last card if 9 = 3x3 — handled with auto placement */
.dimension-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.dimension-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--xpn-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.dimension-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,161,74,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.24);
}

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

.dimension-card__num {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  font-family: var(--font-data);
  color: var(--xpn-gold);
  opacity: 0.7;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}

.dimension-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: rgba(201,161,74,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.dimension-card__icon svg {
  width: 24px; height: 24px;
  stroke: var(--xpn-gold);
  fill: none;
  stroke-width: 1.75;
}

.dimension-card__title {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--xpn-white);
  margin-bottom: var(--sp-2);
  line-height: var(--lh-snug);
}

.dimension-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-relaxed);
}

/* ── 13. AUDIENCES ──────────────────────────────────────────── */
.audiences-section {}

.audiences-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-5);
}

.audience-card {
  background: var(--xpn-white);
  border: 2px solid var(--xpn-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  text-align: center;
  transition: all var(--transition-base);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
}

.audience-card:hover {
  border-color: var(--xpn-gold);
  box-shadow: 0 0 0 4px var(--xpn-gold-10), var(--shadow-lg);
  transform: translateY(-4px);
}

.audience-card__icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--xpn-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-card__icon-wrap svg {
  width: 30px; height: 30px;
  stroke: var(--xpn-gold);
  fill: none;
  stroke-width: 1.5;
}

.audience-card__name {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--xpn-navy);
}

.audience-card__sub {
  font-size: var(--text-sm);
  color: var(--xpn-grey);
  line-height: var(--lh-snug);
}

.audience-card__arrow {
  margin-top: auto;
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: var(--xpn-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.audience-card__arrow svg {
  width: 16px; height: 16px;
  stroke: var(--xpn-navy);
  fill: none;
}

.audience-card:hover .audience-card__arrow {
  background: var(--xpn-gold);
}

.audience-card:hover .audience-card__arrow svg {
  stroke: var(--xpn-navy);
}

/* ── 14. FILIÈRES ────────────────────────────────────────────── */
.filieres-section {
  background: var(--xpn-light);
}

.filieres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.filiere-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  background: var(--xpn-navy);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.filiere-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

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

.filiere-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(11,37,69,0.4) 40%,
    rgba(11,37,69,0.92) 100%
  );
}

.filiere-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-5);
}

.filiere-card__badge {
  display: inline-block;
  background: var(--xpn-gold);
  color: var(--xpn-navy);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.04em;
}

.filiere-card__name {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--xpn-white);
  margin-bottom: 4px;
}

.filiere-card__stat {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  font-family: var(--font-data);
}

/* ── 15. PHASAGE ─────────────────────────────────────────────── */
.phasage-section {}

.phases-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.phases-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--xpn-gold), var(--xpn-navy));
  z-index: 0;
}

.phase-item {
  text-align: center;
  padding: 0 var(--sp-4);
  position: relative;
  z-index: var(--z-base);
}

.phase-item__circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--xpn-border);
  background: var(--xpn-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  transition: all var(--transition-base);
  position: relative;
}

.phase-item:hover .phase-item__circle {
  border-color: var(--xpn-gold);
  background: var(--xpn-gold-10);
  box-shadow: 0 0 0 8px var(--xpn-gold-10);
}

.phase-item__num {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  font-family: var(--font-data);
  color: var(--xpn-gold);
  line-height: 1;
}

.phase-item__duration {
  font-size: var(--text-2xl);
  font-weight: var(--fw-extrabold);
  font-family: var(--font-data);
  color: var(--xpn-navy);
  line-height: 1;
}

.phase-item__unit {
  font-size: var(--text-xs);
  color: var(--xpn-grey);
}

.phase-item__label {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--xpn-navy);
  margin-bottom: var(--sp-2);
}

.phase-item__desc {
  font-size: var(--text-sm);
  color: var(--xpn-grey);
  line-height: var(--lh-relaxed);
}

/* ── 16. SECURITE INVESTISSEMENTS ───────────────────────────── */
.securite-section {
  background: var(--xpn-navy);
  position: relative;
  overflow: hidden;
}

.securite-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,161,74,0.05), transparent 70%);
}

.securite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.securite-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.securite-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast);
}

.securite-feature:hover {
  background: rgba(255,255,255,0.08);
}

.securite-feature__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(201,161,74,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.securite-feature__icon svg {
  width: 22px; height: 22px;
  stroke: var(--xpn-gold);
  fill: none;
  stroke-width: 1.75;
}

.securite-feature__title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--xpn-white);
  margin-bottom: 4px;
}

.securite-feature__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: var(--lh-relaxed);
}

/* Secure visual */
.securite-visual {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.securite-score {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  text-align: center;
}

.securite-score__value {
  font-size: 72px;
  font-weight: var(--fw-extrabold);
  font-family: var(--font-data);
  color: var(--xpn-gold);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.securite-score__label {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
}

/* ── 17. PROJETS SECTION ────────────────────────────────────── */
.projets-section {
  background: var(--xpn-white);
}

.projets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.projet-card {
  border: 1px solid var(--xpn-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--xpn-white);
}

.projet-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--xpn-gold);
}

.projet-card__img {
  height: 200px;
  background: var(--xpn-navy);
  position: relative;
  overflow: hidden;
}

.projet-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: var(--text-sm);
}

.projet-card__status {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
}

.projet-card__body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.projet-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.projet-card__region {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--xpn-grey);
  display: flex;
  align-items: center;
  gap: 4px;
}

.projet-card__region svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
}

.projet-card__title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--xpn-navy);
  margin-bottom: var(--sp-2);
  line-height: var(--lh-snug);
}

.projet-card__desc {
  font-size: var(--text-sm);
  color: var(--xpn-grey);
  line-height: var(--lh-relaxed);
  flex: 1;
  margin-bottom: var(--sp-4);
}

.projet-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--xpn-border);
}

.projet-card__budget {
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  font-family: var(--font-data);
  color: var(--xpn-navy);
}

.projet-card__budget span {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--xpn-grey);
  font-family: var(--font-body);
}

/* ── 18. RESSOURCES SECTION ─────────────────────────────────── */
.ressources-section {
  background: var(--xpn-light);
}

.ressources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.ressource-card {
  background: var(--xpn-white);
  border: 1px solid var(--xpn-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  transition: all var(--transition-base);
  text-decoration: none;
  cursor: pointer;
}

.ressource-card:hover {
  border-color: var(--xpn-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ressource-card__type-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ressource-card__type-icon--guide   { background: #EEF4FF; }
.ressource-card__type-icon--tool    { background: #F0FDF4; }
.ressource-card__type-icon--rapport { background: #FFF7ED; }
.ressource-card__type-icon--video   { background: #FDF2F8; }

.ressource-card__type-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke-width: 1.75;
}

.ressource-card__type-icon--guide   svg { stroke: #3B82F6; }
.ressource-card__type-icon--tool    svg { stroke: #22C55E; }
.ressource-card__type-icon--rapport svg { stroke: #F97316; }
.ressource-card__type-icon--video   svg { stroke: #D946EF; }

.ressource-card__content {}

.ressource-card__type {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--xpn-gold);
  margin-bottom: 4px;
}

.ressource-card__title {
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  color: var(--xpn-navy);
  line-height: var(--lh-snug);
  margin-bottom: 4px;
}

.ressource-card__meta {
  font-size: var(--text-xs);
  color: var(--xpn-grey);
}

/* ── 19. CTA FINAL ──────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--xpn-navy) 0%, #0d3070 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,161,74,0.07), transparent 70%);
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.cta-content__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: var(--fw-extrabold);
  color: var(--xpn-white);
  margin-bottom: var(--sp-5);
  line-height: var(--lh-tight);
}

.cta-content__title span { color: var(--xpn-gold); }

.cta-content__desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.68);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-10);
}

.cta-content__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.cta-content__guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.cta-guarantee {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
}

.cta-guarantee svg {
  width: 16px; height: 16px;
  stroke: var(--xpn-gold);
  fill: none;
}

/* ── 20. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #060F1F;
  color: rgba(255,255,255,0.6);
  padding-top: var(--sp-20);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {}

.footer__brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  text-decoration: none;
}

.footer__brand-mark {
  width: 36px; height: 36px;
  background: var(--xpn-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-extrabold);
  font-size: 15px;
  color: var(--xpn-navy);
}

.footer__brand-name {
  font-size: 16px;
  font-weight: var(--fw-extrabold);
  color: var(--xpn-white);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-6);
}

.footer__socials {
  display: flex;
  gap: var(--sp-3);
}

.footer__social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background: var(--xpn-gold);
  border-color: var(--xpn-gold);
}

.footer__social-link svg {
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,0.7);
  fill: none;
}

.footer__social-link:hover svg { stroke: var(--xpn-navy); }

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--xpn-white);
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-5);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__link:hover { color: var(--xpn-gold); }

.footer__contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
}

.footer__contact-item svg {
  width: 16px; height: 16px;
  stroke: var(--xpn-gold);
  fill: none;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer__bottom {
  padding-block: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer__legal a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition-fast);
}

.footer__legal a:hover { color: var(--xpn-gold); }

.footer__legal-links {
  display: flex;
  gap: var(--sp-5);
}

/* ── 21. FORMS ──────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--xpn-dark);
}

.form-label .required { color: var(--xpn-error); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: var(--text-base);
  color: var(--xpn-dark);
  background: var(--xpn-white);
  border: 1.5px solid var(--xpn-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--xpn-blue);
  box-shadow: 0 0 0 3px var(--xpn-blue-10);
}

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

.form-hint {
  font-size: var(--text-xs);
  color: var(--xpn-grey);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--xpn-error);
}

/* ── 22. INTRANET / DASHBOARD ───────────────────────────────── */
.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--xpn-light);
}

.dashboard__sidebar {
  background: var(--xpn-navy);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.sidebar__logo {
  padding: var(--sp-2) 0 var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-4);
}

.sidebar__nav-label {
  font-size: 10px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  padding: var(--sp-4) var(--sp-3) var(--sp-2);
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px var(--sp-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.65);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.sidebar__link:hover,
.sidebar__link.active {
  background: rgba(255,255,255,0.08);
  color: var(--xpn-white);
}

.sidebar__link.active {
  background: rgba(201,161,74,0.15);
  color: var(--xpn-gold);
}

.sidebar__link svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.dashboard__main {
  padding: var(--sp-8);
  overflow-y: auto;
}

.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-8);
}

.dashboard__title {
  font-size: var(--text-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--xpn-navy);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.kpi-card {
  background: var(--xpn-white);
  border: 1px solid var(--xpn-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
}

.kpi-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.kpi-card__label {
  font-size: var(--text-sm);
  color: var(--xpn-grey);
  font-weight: var(--fw-medium);
}

.kpi-card__icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--xpn-gold-10);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpi-card__icon svg {
  width: 18px; height: 18px;
  stroke: var(--xpn-gold);
  fill: none;
}

.kpi-card__value {
  font-size: var(--text-3xl);
  font-weight: var(--fw-extrabold);
  font-family: var(--font-data);
  color: var(--xpn-navy);
  line-height: 1;
  margin-bottom: 4px;
}

.kpi-card__trend {
  font-size: var(--text-sm);
  color: var(--xpn-success);
  font-weight: var(--fw-medium);
}

/* ── 23. UTILITIES ──────────────────────────────────────────── */
.text-gold    { color: var(--xpn-gold) !important; }
.text-navy    { color: var(--xpn-navy) !important; }
.text-grey    { color: var(--xpn-grey) !important; }
.text-white   { color: var(--xpn-white) !important; }
.text-success { color: var(--xpn-success) !important; }

.bg-gold  { background: var(--xpn-gold); }
.bg-navy  { background: var(--xpn-navy); }
.bg-light { background: var(--xpn-light); }
.bg-white { background: var(--xpn-white); }

.fw-medium   { font-weight: var(--fw-medium); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-bold     { font-weight: var(--fw-bold); }

.font-data { font-family: var(--font-data); }

.hidden { display: none !important; }
.invisible { visibility: hidden !important; }

/* Dividers */
.divider {
  height: 1px;
  background: var(--xpn-border);
  margin: 0;
  border: none;
}

/* Gold accent bar */
.gold-bar {
  display: inline-block;
  width: 40px; height: 4px;
  background: var(--xpn-gold);
  border-radius: 2px;
  margin-bottom: var(--sp-4);
}

/* ── 24. ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.anim-fade-up   { animation: fadeInUp 0.6s ease forwards; }
.anim-fade-left { animation: fadeInLeft 0.6s ease forwards; }
.anim-scale-in  { animation: scaleIn 0.5s ease forwards; }

/* Intersection observer classes */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── 25. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1280px) {
  :root { --container-max: 1080px; }

  .audiences-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-8); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }

  .hero__content { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero__visual { display: none; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }

  .why-section__grid { grid-template-columns: 1fr; }
  .why-section__visual { display: none; }

  .dimensions-grid { grid-template-columns: repeat(2, 1fr); }
  .audiences-grid { grid-template-columns: repeat(2, 1fr); }
  .filieres-grid { grid-template-columns: repeat(2, 1fr); }
  .phases-timeline { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-8); }
  .phases-timeline::before { display: none; }
  .projets-grid { grid-template-columns: repeat(2, 1fr); }
  .ressources-grid { grid-template-columns: repeat(2, 1fr); }
  .securite-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard { grid-template-columns: 1fr; }
  .dashboard__sidebar { display: none; }

  .header__nav { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 640px) {
  :root {
    --section-py: var(--sp-16);
    --header-height: 60px;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .container { padding-inline: var(--sp-4); }

  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
  .hero__stat-value { font-size: var(--text-2xl); }

  .section-header__title { font-size: var(--text-2xl); }

  .dimensions-grid { grid-template-columns: 1fr; }
  .audiences-grid { grid-template-columns: 1fr 1fr; }
  .filieres-grid { grid-template-columns: 1fr 1fr; }
  .phases-timeline { grid-template-columns: 1fr; }
  .projets-grid { grid-template-columns: 1fr; }
  .ressources-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal-links { justify-content: center; }

  .btn--xl { padding: 16px 24px; font-size: var(--text-base); }

  .cta-content__actions { flex-direction: column; }
}

/* ── 26. SUPPLEMENTARY COMPONENTS (pages individuelles) ─────── */

/* Button: outline white */
.btn--outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.45);
  color: var(--xpn-white);
}
.btn--outline-white:hover {
  border-color: var(--xpn-white);
  background: rgba(255,255,255,0.1);
  color: var(--xpn-white);
}

/* ── 27. NAV-DROPDOWN (pages secondaires) ─────────────────── */
.nav-dropdown { position: relative; }

.nav-link--dropdown {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: inherit;
  font-weight: var(--fw-semibold); color: var(--xpn-grey);
  padding: 0; transition: color var(--transition-fast);
}
.nav-link--dropdown:hover { color: var(--xpn-navy); }

.nav-dropdown__panel {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--xpn-white);
  border: 1px solid var(--xpn-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 200;
  padding: 6px;
}
.nav-dropdown.open .nav-dropdown__panel { display: block; }

.nav-dropdown__item {
  display: block;
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--xpn-dark);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-dropdown__item:hover {
  background: var(--xpn-light);
  color: var(--xpn-navy);
}

/* ── 28. LOGO WHITE variant ──────────────────────────────── */
.logo-white { filter: brightness(0) invert(1); }
