/* ============================================================
   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-green:   #2E7D32;   /* charte 07/2026 : accent tech/agri */
  --xpn-green-dk:#134021;
  --xpn-green-10:rgba(46,125,50,0.10);
  --xpn-blue:    #00289A;
  --xpn-dark:    #1C1C1C;
  --xpn-grey:    #667085;
  --xpn-border:  #D0D5DD;
  --xpn-light:   #F8F9FA;  /* charte 07/2026 */
  --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:  4px;   /* charte 07/2026 : angles nets */
  --radius-lg:  6px;
  --radius-xl:  8px;
  --radius-2xl: 12px;
  --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-green: 0 4px 16px rgba(46,125,50,0.26);
  --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: 90px;
  --section-py: var(--sp-12);

  /* 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-green);
  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-10); }
.section--lg { padding-block: var(--sp-20); }

.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-10);
}

.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 - Vert agricole (charte 07/2026) */
.btn--primary {
  background: var(--xpn-green);
  color: var(--xpn-white);
  border-color: var(--xpn-green);
}
.btn--primary:hover {
  background: var(--xpn-green-dk);
  border-color: var(--xpn-green-dk);
  color: var(--xpn-white);
  box-shadow: var(--shadow-green);
  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-green-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-green-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: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  font-size: 13px;
  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: 100%; /* collé au nav-item — pas de gap qui fait fermer le menu */
  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-2) var(--sp-6) var(--sp-6); /* padding-top réduit pour compenser */
  padding-top: 16px;
  min-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Délai à la fermeture pour laisser le temps de bouger la souris */
  transition: opacity 0.18s ease, visibility 0.18s ease;
  transition-delay: 0s, 0s;
  z-index: var(--z-dropdown);
}

/* Pont invisible entre le nav-link et le mega-menu : évite la fermeture dans le gap */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px; /* couvre l'espace sous le nav-item */
  background: transparent;
}

.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;
  transition-delay: 0s;
}

/* Délai de fermeture : le menu reste visible 200ms après que la souris parte */
.nav-item .mega-menu {
  transition-delay: 0s, 0s;
}
.nav-item:not(:hover) .mega-menu:not(:hover) {
  transition-delay: 0.15s;
}

.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-green-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);
}

/* ── Language switcher ──────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.lang-switcher a,
.lang-switcher__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all var(--transition-fast);
  letter-spacing: 0.5px;
}
.lang-switcher a:hover,
.lang-switcher__item:hover {
  color: var(--xpn-white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}
.lang-switcher a.active,
.lang-switcher__item.active {
  color: var(--xpn-white);
  border-color: var(--xpn-gold);
  background: rgba(201,161,74,0.28);
  font-weight: var(--fw-bold);
  pointer-events: none;
}
.lang-sep {
  color: rgba(255,255,255,0.2);
  font-size: 10px;
}

/* 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-green);
  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-green-10);
  border: 1px solid rgba(46,125,50,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-green);
  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(3, 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-green);
}

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

/* ── 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-green);
  color: var(--xpn-white);
  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-green-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-green-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: 1180px) {
  .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(--x
/* ── 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); }
r: rgba(255,255,255,0.55);
  margin-top: var(--sp-3);
  line-height: var(--lh-relaxed);
}
.footer__addr {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  margin-top: var(--sp-2);
}
.footer__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* Nav active + dropdown (used by all sub-pages) */
.nav-link--active {
  color: var(--xpn-gold) !important;
  font-weight: var(--fw-semibold);
}
.nav-dropdown { position: relative; }
.nav-link--dropdown {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  padding: var(--sp-1) var(--sp-2);
}
.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-xl);
  padding: var(--sp-2);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  display: flex;
  flex-direction: column;
}
.nav-dropdown__item {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--xpn-dark);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-dropdown__item:hover { background: var(--xpn-light); color: var(--xpn-navy); }
/* ============================================================
   PREMIUM PASS v9 — contrastes, densité, finitions
   (ajouté 02/07/2026 — surcharge les règles précédentes)
============================================================ */

/* --- 1. Densité : sections et héros plus compacts --- */
:root {
  --section-py: 44px;
}
.section--lg { padding-block: var(--sp-14); }
.site-footer { padding-top: var(--sp-12); }
.hero { min-height: 0; }

/* --- 2. Contrastes sur fonds sombres (navy / noir) --- */
.hero__desc          { color: rgba(255,255,255,0.90); }
.cta-content__desc   { color: rgba(255,255,255,0.88); }
.footer__tagline     { color: rgba(255,255,255,0.85); }
.footer__contact,
.footer__contact-item{ color: rgba(255,255,255,0.80); }
.footer__nav-link    { color: rgba(255,255,255,0.78); }
.footer__nav-link:hover { color: var(--xpn-gold); }
.footer__nav-title   { color: rgba(255,255,255,0.95); }
.footer__legal       { color: rgba(255,255,255,0.60); }
.footer__legal a     { color: rgba(255,255,255,0.72); }
.footer__link        { color: rgba(255,255,255,0.72); }
.section--navy, .section--dark { color: rgba(255,255,255,0.92); }
.section--navy p, .section--dark p { color: rgba(255,255,255,0.88); }
.breadcrumb a        { color: rgba(255,255,255,0.80) !important; }
.breadcrumb .cur     { color: rgba(255,255,255,0.95) !important; }
.famille-badge__label{ color: rgba(255,255,255,0.88) !important; }
.enjeu-item__text    { color: rgba(255,255,255,0.90) !important; }
.enjeux-block__title { color: #fff !important; }

/* --- 3. Finitions premium --- */
::selection { background: var(--xpn-gold); color: var(--xpn-navy); }
html { scroll-behavior: smooth; }

.btn--primary {
  background-image: linear-gradient(135deg, #D9B45F 0%, var(--xpn-gold) 45%, #B0883A 100%);
  box-shadow: 0 2px 10px rgba(201,161,74,0.35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,161,74,0.45);
  filter: brightness(1.04);
}
.btn--ghost { transition: transform .18s ease, border-color .18s ease, color .18s ease; }
.btn--ghost:hover { transform: translateY(-1px); }

.family-card {
  position: relative;
  overflow: hidden;
}
.family-card::before {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--xpn-gold), transparent 70%);
  opacity: 0; transition: opacity .2s ease;
}
.family-card:hover::before { opacity: 1; }

.presta { transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.presta:hover { border-color: var(--xpn-gold); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.section-header__title { letter-spacing: -0.015em; }

.gold-bar { height: 4px; width: 56px; border-radius: 2px;
  background: linear-gradient(90deg, var(--xpn-gold), #E4C87E); }

/* Tableaux (Services, segments) */
.seg-table tbody tr:nth-child(even) { background: var(--xpn-light); }
.seg-table tbody tr:hover { background: rgba(201,161,74,0.08); }

/* ============================================================
   VISIBILITY PASS v10 — classes manquantes & liens sur fonds sombres
============================================================ */

/* Le lien global est bleu foncé (--xpn-blue) : imposer des couleurs
   claires partout où le fond est sombre. */
.site-footer a:not(.btn), .site-footer a:not(.btn):visited { color: rgba(255,255,255,0.82); }
.site-footer a:not(.btn):hover { color: var(--xpn-gold); }
.footer__nav-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__nav-title { font-size: var(--text-sm); font-weight: 700; color: #fff; margin-bottom: 2px; letter-spacing: .02em; }
.footer__nav-link  { display: inline-block; font-size: var(--text-sm); line-height: 1.4; }
.footer__brand .footer__tagline { margin: 0 0 var(--sp-2); }

.section--navy a:not(.btn), .section--dark a:not(.btn),
.hero a:not(.btn), .hero--simple a:not(.btn), .hero-home a:not(.btn) { color: var(--xpn-gold); }

/* Classes utilisées par les pages XP-NOVA mais absentes du CSS */
.section-label {
  display: inline-block;
  font-family: var(--font-data, 'JetBrains Mono', monospace);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--xpn-gold);
}
.btn--gold {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 28px; border-radius: var(--radius-md, 10px);
  background-image: linear-gradient(135deg, #D9B45F 0%, var(--xpn-gold) 45%, #B0883A 100%);
  color: var(--xpn-navy) !important; font-weight: 700; text-decoration: none;
  box-shadow: 0 2px 10px rgba(201,161,74,0.35);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201,161,74,0.45); color: var(--xpn-navy); }

/* Héros : jamais de pleine hauteur vide */
.hero { min-height: 0 !important; }

/* ============================================================
   IMAGES PASS v11 — illustrations & portrait du directeur
============================================================ */
.hero--simple { position: relative; overflow: hidden; }
.hero--simple > .container { position: relative; z-index: 1; }
.hero--simple::after {
  content: '';
  position: absolute; right: 0; bottom: 0; top: 0;
  width: min(46vw, 620px);
  background: url('../images/illus-champs.svg') right bottom / cover no-repeat;
  opacity: .45; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
@media (max-width: 760px) { .hero--simple::after { display: none; } }

/* Portrait du directeur (accueil + mot du directeur) */
.dir-grid { display: grid; grid-template-columns: 340px 1fr; gap: var(--sp-10); align-items: center; }
@media (max-width: 820px) { .dir-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.dir-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-2xl);
  overflow: hidden; background: linear-gradient(150deg, #0B2545 0%, #0D3D1A 100%);
  box-shadow: var(--shadow-xl); border: 1px solid var(--xpn-border);
}
.dir-photo::after {
  content: ''; position: absolute; inset: 10px;
  border: 1.5px solid rgba(201,161,74,.55); border-radius: calc(var(--radius-2xl) - 8px);
  pointer-events: none;
}
.dir-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dir-photo__fallback {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  font-family: var(--font-data, 'JetBrains Mono', monospace);
  color: var(--xpn-gold); font-size: 56px; font-weight: 700; letter-spacing: .06em;
}
.dir-photo__fallback small { font-size: 12px; color: rgba(255,255,255,.85); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dir-photo.noimg img { display: none; }
.dir-photo.noimg .dir-photo__fallback { display: flex; }
.dir-quote blockquote {
  font-size: clamp(17px, 2vw, 22px); font-weight: 600; color: var(--xpn-navy);
  line-height: 1.6; margin: var(--sp-4) 0; border: 0; padding: 0;
}
.dir-quote blockquote em { color: var(--xpn-gold); font-style: normal; }
.dir-quote .sig { font-family: var(--font-data, 'JetBrains Mono', monospace); font-size: var(--text-sm); color: var(--xpn-grey); margin-bottom: var(--sp-5); }
.dir-quote .sig strong { color: var(--xpn-navy); }

/* ============================================================
   PASS v12 — footer 100% blanc + portrait carré 4x4
============================================================ */
.site-footer { color: #fff; }
.site-footer p, .site-footer address, .site-footer div, .site-footer span { color: #fff; }
.site-footer a:not(.btn), .site-footer a:not(.btn):visited { color: #fff !important; }
.site-footer a:not(.btn):hover { color: var(--xpn-gold) !important; }
.footer__nav-title { color: var(--xpn-gold); }
.footer__legal, .footer__legal * { color: #fff !important; }
.footer__tagline, .footer__contact, .footer__contact-item { color: #fff; }

.dir-photo--sq { aspect-ratio: 1 / 1; }
.dir-grid--sq { grid-template-columns: 300px 1fr; }
@media (max-width: 820px) { .dir-grid--sq { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ============================================================
   PASS v13 — CTA sur fond clair : texte visible, bande compacte
============================================================ */
.section:not(.section--navy):not(.section--dark) .cta-content__title { color: var(--xpn-navy); }
.section:not(.section--navy):not(.section--dark) .cta-content__title span { color: var(--xpn-gold); }
.section:not(.section--navy):not(.section--dark) .cta-content__desc { color: var(--xpn-navy); }
.cta-content__title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: var(--sp-3); }
.cta-content__desc { margin-bottom: var(--sp-6); }

/* ============================================================
   PASS v14 — photothèque intégrée (bandes photo premium)
============================================================ */
.page-photo { position: relative; z-index: 2; margin: calc(-1 * var(--sp-10)) auto 0; max-width: var(--container-max); padding: 0 var(--sp-6); }
.page-photo img {
  width: 100%; height: clamp(220px, 34vw, 400px); object-fit: cover; display: block;
  border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); border: 4px solid #fff;
}
.page-photo figcaption { text-align: center; font-size: var(--text-xs); color: var(--xpn-grey); margin-top: 8px; }
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
@media (max-width: 720px) { .photo-duo { grid-template-columns: 1fr; } }
.photo-duo img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); display: block; }

/* PASS v15 — bandes d'illustration centrées */
.page-photo { max-width: 1000px; margin-left: auto; margin-right: auto; text-align: center; }
.page-photo img { margin: 0 auto; }
.photo-duo { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* PASS v16 — liens nus sur fonds navy inline (garde-fou) */
section[style*="var(--xpn-navy)"] a:not([class*="btn"]):not([style*="color"]),
div[style*="var(--xpn-navy)"] a:not([class*="btn"]):not([style*="color"]),
section[style*="#0B2545"] a:not([class*="btn"]):not([style*="color"]) {
  color: var(--xpn-gold) !important; text-decoration: underline; text-underline-offset: 3px;
}

/* PASS v17 — titres de héros uniformisés sur la taille de l'accueil */
.hero__title, .hero--simple h1, .hero-home h1, .md-hero h1,
.careers-hero__title, .page-hero__title, .contact-hero h1, .sf-hero--compact .hero__title {
  font-size: clamp(17px, 3.3vw, 43px) !important;
}

/* PASS v18 — garde-fou : TOUT h1 de héros = taille de l'accueil */
.hero h1, section[class*="hero"] h1, div[class*="hero"] h1 {
  font-size: clamp(17px, 3.3vw, 43px) !important;
}

/* ============================================================
   PASS v18 — RÈGLE UNIVERSELLE : tous les titres de héros du site
   à la taille EXACTE du héros de l'accueil (clamp(17px,3.3vw,43px)).
   [class*="hero"] couvre hero, hero--simple, hero-home, md-hero,
   careers-hero, contact-hero, page-hero, sf-hero, etc.
   !important : prime sur les <style> de page ET les styles inline.
============================================================ */
section[class*="hero"] h1,
div[class*="hero"] h1,
header[class*="hero"] h1,
[class*="hero"] .hero__title,
#hero-title {
  font-size: clamp(17px, 3.3vw, 43px) !important;
  line-height: 1.18 !important;
}
