/* ════════════════════════════════════════════════════════════════
   SECUREXIA — Design System V1
   Premium B2B styling — tokens, typography, motion, components
   ════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand ── */
  --navy-darker: #0A1830;
  --navy-dark:   #0F2347;
  --navy:        #1B3A6B;
  --navy-light:  #2C5282;
  --navy-tint:   rgba(27, 58, 107, 0.06);

  --accent:        #E8401C;
  --accent-light:  #FF5A36;
  --accent-deep:   #BF2E10;
  --accent-tint:   rgba(232, 64, 28, 0.08);

  /* ── Neutrals ── */
  --white:    #FFFFFF;
  --off-white:#F8F7F3;
  --paper:    #F5F4EE;
  --gray-50:  #EFEEE8;
  --gray-100: #E2E1DA;
  --gray-200: #CFCEC6;
  --gray-300: #BEBCB4;
  --gray-400: #9E9C93;
  --gray-500: #7A7870;
  --gray-600: #5A5852;
  --gray-700: #3D3C38;
  --gray-800: #26251F;
  --text:     #14130F;

  /* ── Semantic ── */
  --success:  #16A34A;
  --warning:  #D97706;
  --error:    #DC2626;
  --info:     #2563EB;

  /* ── Type ── */
  --font-display: 'Syne', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Type scale (px → rem) */
  --t-xs:    0.75rem;   /* 12 */
  --t-sm:    0.8125rem; /* 13 */
  --t-base:  0.9375rem; /* 15 */
  --t-md:    1rem;      /* 16 */
  --t-lg:    1.125rem;  /* 18 */
  --t-xl:    1.375rem;  /* 22 */
  --t-2xl:   1.75rem;   /* 28 */
  --t-3xl:   2.25rem;   /* 36 */
  --t-4xl:   3rem;      /* 48 */
  --t-5xl:   4rem;      /* 64 */
  --t-6xl:   5rem;      /* 80 */

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

  /* ── Radius ── */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(15, 35, 71, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 35, 71, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 35, 71, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 35, 71, 0.10);
  --shadow-xl: 0 30px 80px rgba(15, 35, 71, 0.14);
  --shadow-glow-accent: 0 12px 36px rgba(232, 64, 28, 0.28);

  /* ── Motion ── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --d-quick: 150ms;
  --d-base: 250ms;
  --d-slow: 450ms;

  /* ── Layout ── */
  --container: 1200px;
  --container-narrow: 920px;
  --gutter: 24px;
  --header-h: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-feature-settings: "kern", "liga", "calt", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button { font-family: inherit; }

::selection { background: var(--navy); color: white; }

/* ────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }

/* SPA pages */
.page { display: none; animation: pageIn 400ms var(--ease-out); }
.page.active { display: block; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ────────────────────────────────────────────
   HEADER
──────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(27, 58, 107, 0.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; gap: var(--s-2);
  height: var(--header-h);
  padding: 0 var(--gutter);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
  margin-right: var(--s-4);
  background: none; border: none;
  padding: 0;
}
.logo span { color: var(--accent); }
.logo svg { transition: transform var(--d-base) var(--ease-out); }
.logo:hover svg { transform: rotate(-4deg); }

nav.nav-main { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: all var(--d-quick) var(--ease-out);
  white-space: nowrap;
  background: none; border: none;
  font-family: var(--font-body);
}
.nav-link:hover { background: var(--gray-50); color: var(--navy); }
.nav-link.active { color: var(--navy); font-weight: 500; }

.nav-cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy);
  color: white;
  font-size: 14px; font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: all var(--d-base) var(--ease-out);
}
.nav-cta::after { content: '→'; font-size: 13px; transition: transform var(--d-base) var(--ease-out); }
.nav-cta:hover { background: var(--navy-darker); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-cta:hover::after { transform: translateX(3px); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--d-base) var(--ease-out);
}
.mobile-menu {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 24px 28px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: block; animation: pageIn 280ms var(--ease-out); }
.mobile-menu button {
  display: block; width: 100%;
  text-align: left;
  padding: 14px 0;
  font-size: 16px;
  color: var(--gray-700);
  border: none; background: none;
  font-family: var(--font-body);
  cursor: pointer;
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu button:last-of-type { border-bottom: none; }
.mobile-menu .mobile-cta {
  margin-top: 18px;
  background: var(--accent);
  color: white;
  padding: 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  border: none;
}

/* ────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--d-base) var(--ease-out);
  text-decoration: none;
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-arrow { transition: transform var(--d-base) var(--ease-out); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-glow-accent); }

.btn-navy {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-darker); border-color: var(--navy-darker); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--gray-100);
}
.btn-secondary:hover { border-color: var(--navy); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
  padding: 12px 16px;
}
.btn-ghost:hover { background: var(--gray-50); }

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: white; }

.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* Legacy aliases */
.btn-primary, .btn-secondary, .btn-outline-white { display: inline-flex; align-items: center; gap: 8px; }

/* ────────────────────────────────────────────
   TYPOGRAPHY UTILITIES
──────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--accent);
}
.eyebrow-light { color: rgba(255, 255, 255, 0.6); }
.eyebrow-light::before { background: rgba(255, 255, 255, 0.4); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.section-title em { color: var(--accent); font-style: normal; }
.section-title-light { color: white; }

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 640px;
  font-weight: 400;
}
.section-subtitle-light { color: rgba(255, 255, 255, 0.65); }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
}
.badge-navy { background: rgba(27,58,107,0.08); color: var(--navy); }
.badge-accent { background: rgba(232,64,28,0.1); color: var(--accent); }
.badge-green { background: rgba(22,163,74,0.1); color: var(--success); }
.badge-light { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.16); }
.badge-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse 2s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ────────────────────────────────────────────
   CARDS
──────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all var(--d-base) var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px;
  background: var(--navy-tint);
  color: var(--navy);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

/* ────────────────────────────────────────────
   HOMEPAGE — HERO
──────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy-darker);
  color: white;
  padding: 96px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 80% 10%, rgba(232,64,28,0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(44,82,130,0.32), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  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;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 14px;
  border-radius: var(--r-full);
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,64,28,0.18);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: white;
  margin-bottom: 24px;
  max-width: 640px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero h1 .ghost {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex; flex-wrap: wrap;
  gap: 4px 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.hero-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-meta span::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.4);
  flex-shrink: 0;
}

/* Hero Visual (right side) — abstract dashboard mockup */
.hero-visual {
  position: relative;
  z-index: 2;
  perspective: 1400px;
}
.dashboard-mock {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: 22px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: rotate3d(0.5, -1, 0, 8deg) rotateX(2deg);
  transition: transform var(--d-slow) var(--ease-out);
}
.dashboard-mock:hover { transform: rotate3d(0, 0, 0, 0deg); }

.dashboard-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 16px;
}
.dashboard-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}
.dashboard-pill {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  padding: 4px 9px;
  border-radius: var(--r-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.score-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.score-cell {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.08);
}
.s-0 { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.4); }
.s-1 { background: rgba(232, 64, 28, 0.22); color: #FFA992; border-color: rgba(232,64,28,0.4); }
.s-2 { background: rgba(217, 119, 6, 0.22); color: #FCD34D; border-color: rgba(217,119,6,0.4); }
.s-3 { background: rgba(37, 99, 235, 0.18); color: #93C5FD; border-color: rgba(37,99,235,0.35); }
.s-4 { background: rgba(22, 163, 74, 0.18); color: #6EE7B7; border-color: rgba(22,163,74,0.35); }
.s-5 { background: rgba(22, 163, 74, 0.34); color: #ADF5C5; border-color: rgba(22,163,74,0.55); box-shadow: inset 0 0 0 1px rgba(173, 245, 197, 0.3); }

.dashboard-rows { display: flex; flex-direction: column; gap: 8px; }
.dash-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}
.dash-row .name { font-size: 12px; color: rgba(255,255,255,0.85); font-weight: 500; }
.dash-row .meta { font-size: 10px; color: rgba(255,255,255,0.4); }
.dash-row .badge-mini {
  font-size: 10px; font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-full);
}
.bm-ok { background: rgba(22,163,74,0.18); color: #6EE7B7; }
.bm-warn { background: rgba(217,119,6,0.18); color: #FCD34D; }
.bm-crit { background: rgba(232,64,28,0.22); color: #FFA992; }

/* ────────────────────────────────────────────
   ENGAGEMENTS BAR (sous hero)
──────────────────────────────────────────── */
.engagements {
  background: white;
  border-bottom: 1px solid var(--gray-100);
  padding: 36px 0;
}
.engagements-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.engagement {
  display: flex; flex-direction: column; gap: 6px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}
.engagement .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.engagement .num span { color: var(--accent); }
.engagement .label {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ────────────────────────────────────────────
   PROBLEM — narrative
──────────────────────────────────────────── */
.problem {
  background: var(--off-white);
  padding: 96px 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.problem-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  border: 1px solid var(--gray-100);
  transition: all var(--d-base) var(--ease-out);
}
.problem-card::before {
  content: '';
  position: absolute; top: 0; left: 28px;
  width: 32px; height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}
.problem-card:hover { border-color: var(--gray-200); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  margin-top: 8px;
}
.problem-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ────────────────────────────────────────────
   BENTO — 3 cibles
──────────────────────────────────────────── */
.bento {
  padding: 96px 0;
  background: white;
}
.bento-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 56px;
}
.bento-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 36px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--d-slow) var(--ease-out);
  display: flex; flex-direction: column;
  min-height: 280px;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}
.bento-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.bento-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.bento-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 500;
  align-self: flex-start;
}
.bento-arrow span { transition: transform var(--d-base) var(--ease-out); }
.bento-card:hover .bento-arrow span { transform: translateX(4px); }

/* Bento — Collectivités (large, dark) */
.bento-collectivites {
  grid-column: 1; grid-row: 1;
  background: var(--navy-darker);
  color: white;
}
.bento-collectivites::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(232,64,28,0.2), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(44,82,130,0.4), transparent 50%);
  pointer-events: none;
}
.bento-collectivites > * { position: relative; z-index: 1; }
.bento-collectivites .bento-eyebrow { color: var(--accent); }
.bento-collectivites .bento-desc { color: rgba(255,255,255,0.75); }
.bento-collectivites .bento-arrow { color: white; }
.bento-tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 20px;
}
.bento-tag {
  font-size: 11px;
  padding: 5px 11px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}

/* Bento — Établissements (medium, light) */
.bento-etablissements {
  grid-column: 2; grid-row: 1;
  background: var(--off-white);
  color: var(--navy);
  border: 1px solid var(--gray-100);
}
.bento-etablissements .bento-eyebrow { color: var(--accent); }
.bento-etablissements .bento-desc { color: var(--gray-600); }
.bento-etablissements .bento-arrow { color: var(--navy); }

/* Bento — Programme (full width, accent) */
.bento-programme {
  grid-column: 1 / -1; grid-row: 2;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: white;
  flex-direction: row;
  align-items: center;
  padding: 40px 44px;
  min-height: 220px;
  gap: 32px;
}
.bento-programme::before {
  content: '';
  position: absolute; right: -10%; top: -50%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 50%);
  pointer-events: none;
}
.bento-programme > .bento-content { flex: 1; max-width: 640px; position: relative; z-index: 1; }
.bento-programme .bento-eyebrow { color: rgba(255,255,255,0.8); }
.bento-programme .bento-desc { color: rgba(255,255,255,0.85); margin-bottom: 0; }
.bento-programme .bento-action { position: relative; z-index: 1; flex-shrink: 0; }

/* ────────────────────────────────────────────
   TUNNEL — numbered process
──────────────────────────────────────────── */
.tunnel {
  background: var(--navy-darker);
  color: white;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.tunnel::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232,64,28,0.12), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(44,82,130,0.3), transparent 50%);
  pointer-events: none;
}
.tunnel > * { position: relative; }
.tunnel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.tunnel-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  transition: all var(--d-base) var(--ease-out);
}
.tunnel-step:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}
.tunnel-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}
.tunnel-num .big {
  display: block;
  font-size: 56px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 8px;
}
.tunnel-num .big sub {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0;
  vertical-align: middle;
}
.tunnel-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.tunnel-step p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 20px;
}
.tunnel-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tunnel-meta-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.tunnel-meta-tag.tag-free { background: rgba(22,163,74,0.18); color: #86EFAC; }
.tunnel-meta-tag.tag-accent { background: rgba(232,64,28,0.18); color: #FFA992; }

/* ────────────────────────────────────────────
   PRINCIPES (manifesto)
──────────────────────────────────────────── */
.principes {
  padding: 120px 0;
  background: var(--off-white);
}
.principes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.principe {
  position: relative;
  padding: 36px 32px;
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--d-base) var(--ease-out);
}
.principe:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.principe-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.principe h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.principe p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-600);
}

/* ────────────────────────────────────────────
   SERVICE VS SAAS table
──────────────────────────────────────────── */
.compare {
  padding: 120px 0;
  background: white;
}
.compare-table-wrap {
  margin-top: 56px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: white;
}
.compare-table thead tr { background: var(--navy-darker); }
.compare-table thead th {
  padding: 18px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.compare-table thead th.col-saas { text-align: center; }
.compare-table thead th.col-secu {
  text-align: center;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 13px;
}
.compare-table tbody td {
  padding: 18px 22px;
  border-top: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
.compare-table tbody tr:nth-child(even) { background: var(--off-white); }
.compare-table tbody td.cell-saas { text-align: center; color: var(--gray-300); font-weight: 500; }
.compare-table tbody td.cell-saas-mid { text-align: center; color: var(--warning); font-weight: 600; font-size: 13px; }
.compare-table tbody td.cell-secu {
  text-align: center;
  color: var(--success);
  font-weight: 600;
  background: rgba(232,64,28,0.025);
}
.compare-table tbody tr:nth-child(even) td.cell-secu { background: rgba(232,64,28,0.04); }
.check-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(22,163,74,0.15);
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
}
.cross-icon {
  display: inline-block;
  font-size: 16px;
  color: var(--gray-300);
}

/* ────────────────────────────────────────────
   CTA BAND
──────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: 120px 0;
  background: var(--accent);
  color: white;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.16), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0,0,0,0.18), transparent 50%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,0.86);
  margin-bottom: 36px;
  line-height: 1.6;
}
.cta-band-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-band-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.cta-band-meta a { color: white; text-decoration: underline; text-underline-offset: 3px; }

/* ────────────────────────────────────────────
   PAGE HERO (interior pages)
──────────────────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--navy-darker);
  color: white;
  padding: 100px 0 80px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(232,64,28,0.15), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(44,82,130,0.3), transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 22px;
  max-width: 800px;
}
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  line-height: 1.6;
}

/* ────────────────────────────────────────────
   PAGE CONTENT
──────────────────────────────────────────── */
.page-content {
  padding: 100px 0;
}
.page-content-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.divider {
  height: 1px;
  background: var(--gray-100);
  margin: 80px 0;
}

/* ── RISK CARDS (collectivités) ── */
.risks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.risk-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 32px;
  border-left: 3px solid var(--accent);
  transition: all var(--d-base) var(--ease-out);
}
.risk-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.risk-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.risk-card p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ── SERVICE GRID (4 cards) ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

/* ── OFFERS — full ── */
.offres-full {
  margin-top: 48px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.offre-row {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  background: white;
  transition: all var(--d-base) var(--ease-out);
}
.offre-row:hover { box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.offre-row.featured {
  border-color: var(--navy);
  background: var(--navy-tint);
}
.offre-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.offre-erp {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}
.offre-features-list {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.offre-feature-tag {
  font-size: 12px;
  background: var(--gray-50);
  color: var(--gray-700);
  padding: 5px 11px;
  border-radius: var(--r-full);
}
.offre-row.featured .offre-feature-tag {
  background: rgba(255,255,255,0.7);
}
.offre-price-block { text-align: right; }
.offre-price-sub {
  font-size: 12px;
  color: var(--gray-500);
}

/* ── FAQ ── */
.faq { margin-top: 48px; }
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 24px 0;
}
.faq-q {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.faq-a {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── ÉTABLISSEMENTS — types grid ── */
.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.type-card {
  background: var(--off-white);
  border-radius: var(--r-md);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--d-base) var(--ease-out);
}
.type-card:hover { border-color: var(--gray-100); transform: translateY(-2px); background: white; box-shadow: var(--shadow-sm); }
.type-card .icon {
  font-size: 30px;
  margin-bottom: 14px;
}
.type-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.type-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ── PROGRAMME COMMERCE ── */
.programme-hero { background: linear-gradient(135deg, var(--navy-darker), var(--navy-light)); }
.avantages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.avantage-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 32px;
  border-top: 3px solid var(--accent);
  transition: all var(--d-base) var(--ease-out);
}
.avantage-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.avantage-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.avantage-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.avantage-card p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* benefit items (used on programme + audit pages) */
.benefit-item {
  display: flex; gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.benefit-icon {
  width: 44px; height: 44px;
  background: var(--navy-tint);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.benefit-item h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.benefit-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── AUDIT PAGE ── */
.audit-hero {
  background: var(--off-white);
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--gray-100);
}
.audit-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.form-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.form-card-head {
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--gray-100);
}
.form-card-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card-head p {
  font-size: 14px;
  color: var(--gray-500);
}
.form-foot {
  padding: 16px 32px 22px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
}

.audit-benefits h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.audit-benefits > p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 36px;
}

.rapport-preview {
  background: var(--navy-darker);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-top: 36px;
  border: 1px solid rgba(255,255,255,0.06);
}
.rapport-preview h3 {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.rapport-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rapport-item:last-child { border-bottom: none; }
.rapport-item span {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
}
.rapport-check {
  width: 20px; height: 20px;
  background: rgba(22,163,74,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  color: #4ADE80;
  font-weight: 700;
}

/* ── SERVICE PAGE — score visual ── */
.score-block {
  margin-top: 48px;
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 36px;
  border: 1px solid var(--gray-100);
}
.score-block-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}
.score-row {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.score-row:last-child { border-bottom: none; }
.score-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.score-0 { background: var(--gray-100); color: var(--gray-500); }
.score-1 { background: #FEE2E2; color: #B91C1C; }
.score-2 { background: #FEF3C7; color: #D97706; }
.score-3 { background: #DBEAFE; color: #1D4ED8; }
.score-4 { background: #D1FAE5; color: #065F46; }
.score-5 { background: #BBF7D0; color: #15803D; }
.score-info h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.score-info p {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ── À PROPOS — team & valeurs ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  display: flex; gap: 24px;
  padding: 36px;
  background: var(--off-white);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  transition: all var(--d-base) var(--ease-out);
}
.team-card:hover { border-color: var(--gray-100); background: white; box-shadow: var(--shadow-md); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: var(--r-md);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.team-info h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.team-info .role {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.team-info p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

.valeurs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.valeur-card {
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  background: white;
  transition: all var(--d-base) var(--ease-out);
}
.valeur-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.valeur-card .ic {
  width: 36px; height: 36px;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 16px;
}
.valeur-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.valeur-card p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Manifesto block */
.manifesto {
  background: var(--navy-darker);
  color: white;
  border-radius: var(--r-xl);
  padding: 56px 48px;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '"';
  position: absolute; top: -40px; left: 24px;
  font-family: var(--font-display);
  font-size: 240px;
  color: rgba(232,64,28,0.18);
  line-height: 1;
  font-weight: 800;
}
.manifesto p {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  color: white;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 800px;
}
.manifesto-sign {
  position: relative;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

/* ── KEY VERIFY (établissements: ce que vérifie la commission) ── */
.verify-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: 36px;
  border: 1px solid var(--gray-100);
}
.verify-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.verify-list {
  display: flex; flex-direction: column; gap: 14px;
}
.verify-item {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 14px;
  background: white;
  border-radius: var(--r-sm);
  border: 1px solid var(--gray-100);
}
.verify-item .ic {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--navy-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.verify-item span:last-child {
  font-size: 14px;
  color: var(--gray-700);
  font-weight: 500;
}

/* ── two-column layout helper ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.two-col.center { align-items: center; }
.two-col.gap-large { gap: 80px; }

/* ── arborescence (service page) ── */
.tree-card {
  background: var(--navy-darker);
  border-radius: var(--r-lg);
  padding: 32px;
  font-family: var(--font-body);
  border: 1px solid rgba(255,255,255,0.06);
}
.tree-card .head {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.tree-list {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  line-height: 2;
  font-family: 'SF Mono', Monaco, Menlo, monospace;
}
.tree-list .root { color: white; font-weight: 600; }
.tree-list .indent { padding-left: 24px; }
.tree-list .ok { color: #6EE7B7; }
.tree-list .warn { color: #FCD34D; }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
footer {
  background: var(--navy-darker);
  padding: 80px 0 32px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(232,64,28,0.08), transparent 60%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-footer {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.footer-brand .logo-footer span { color: var(--accent); }
.footer-brand p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 18px;
}
.footer-brand .contact-link {
  display: inline-block;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: all var(--d-base);
}
.footer-brand .contact-link:hover { color: white; border-color: white; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color var(--d-base);
}
.footer-col a:hover { color: white; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
}
.footer-legal {
  display: flex; gap: 28px;
}
.footer-legal a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--d-base);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ────────────────────────────────────────────
   FORM (audit page)
──────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: white;
  outline: none;
  transition: all var(--d-quick);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.08);
}
textarea { resize: vertical; min-height: 80px; }

/* ────────────────────────────────────────────
   LEGAL DOCS (CGV, mentions, conf)
──────────────────────────────────────────── */
.legal-meta {
  background: var(--off-white);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 48px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}
.legal-meta strong { color: var(--navy); }
.legal-articles {
  display: flex; flex-direction: column; gap: 36px;
}
.legal-article h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.legal-article p {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.8;
}

/* ────────────────────────────────────────────
   SCROLL REVEAL
──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ────────────────────────────────────────────
   EMAIL LINKS (anti-obfuscation)
──────────────────────────────────────────── */
a[data-email], a[onclick*="openEmail"] {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}
a[data-email]:hover, a[onclick*="openEmail"]:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-brand a[onclick*="openEmail"],
.footer-col a[onclick*="openEmail"] {
  color: rgba(255,255,255,0.78);
}
.cta-band a[onclick*="openEmail"] {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ════════════════════════════════════════════
   V2 — RESSOURCES / ARTICLES / 404
════════════════════════════════════════════ */

/* ── HOME — Ressources preview ── */
.home-ressources {
  padding: 120px 0;
  background: white;
  border-top: 1px solid var(--gray-100);
}
.home-ressources-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}
.home-ressources-head .section-title { margin-bottom: 0; }

/* ── Ressources grid (index page) ── */
.ressources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.ressource-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  cursor: pointer;
  transition: all var(--d-base) var(--ease-out);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.ressource-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0; height: 3px;
  background: var(--accent);
  transition: width var(--d-slow) var(--ease-out);
}
.ressource-card:hover {
  border-color: var(--gray-200);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ressource-card:hover::before { width: 100%; }
.ressource-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ressource-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.ressource-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 28px;
}
.ressource-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--gray-500);
}
.ressource-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Article (page lecture) ── */
.article-hero {
  padding: 96px 0 56px;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
}
.article-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 28px;
  transition: color var(--d-base);
  background: none;
  border: none;
  font-family: var(--font-body);
}
.article-back:hover { color: var(--navy); }
.article-meta-top {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 22px;
}
.article-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.article-meta-top .dot-sep {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gray-300);
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 22px;
}
.article-lede {
  font-size: 19px;
  color: var(--gray-700);
  line-height: 1.55;
  font-weight: 400;
  max-width: 680px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}
.article-byline-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.article-byline-info {
  font-size: 13.5px;
}
.article-byline-info .name {
  color: var(--navy);
  font-weight: 600;
}
.article-byline-info .role {
  color: var(--gray-500);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px var(--gutter) 32px;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 56px 0 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.article-body p {
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 18px;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  float: left;
  line-height: 0.95;
  margin: 8px 14px -4px 0;
  color: var(--accent);
}
.article-body strong { color: var(--navy); font-weight: 600; }
.article-body em { color: var(--gray-700); font-style: italic; }
.article-body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 500;
}
.article-body a:hover { color: var(--accent); }
.article-body ul,
.article-body ol {
  margin-bottom: 22px;
  padding-left: 0;
  list-style: none;
}
.article-body li {
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.7;
  padding: 6px 0 6px 32px;
  position: relative;
}
.article-body ul li::before {
  content: '—';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}
.article-body ol { counter-reset: olcount; }
.article-body ol li { counter-increment: olcount; }
.article-body ol li::before {
  content: counter(olcount, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  top: 9px;
}
.article-body blockquote {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--accent);
  background: var(--off-white);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.article-body blockquote p { font-size: inherit; color: inherit; line-height: inherit; margin: 0; }
.callout {
  margin: 36px 0;
  padding: 28px 32px;
  background: var(--navy-tint);
  border-radius: var(--r-md);
  border-left: 3px solid var(--navy);
}
.callout-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.callout p {
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.6;
}

/* Article end CTA */
.article-end-cta {
  background: var(--navy-darker);
  color: white;
  border-radius: var(--r-xl);
  padding: 56px 44px;
  margin: 56px 0 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-end-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(232,64,28,0.16), transparent 60%);
  pointer-events: none;
}
.article-end-cta > * { position: relative; }
.article-end-cta h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.article-end-cta p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Related articles */
.related-articles {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}
.related-articles .related-head {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

/* ── Page 404 ── */
.notfound {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-darker);
  color: white;
  position: relative;
  overflow: hidden;
}
.notfound::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(232,64,28,0.18), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(44,82,130,0.32), transparent 60%);
  pointer-events: none;
}
.notfound::after {
  content: '';
  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;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.notfound-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  padding: 96px var(--gutter);
  z-index: 2;
}
.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(96px, 14vw, 168px);
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: -36px;
}
.notfound-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.notfound-text {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.notfound-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Trust signals (audit page) */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 28px;
  margin: 16px 0 0;
  background: var(--off-white);
  border-radius: var(--r-md);
  border: 1px solid var(--gray-100);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.trust-item .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(22,163,74,0.14);
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.trust-item .text {
  font-size: 12.5px;
  color: var(--gray-700);
  line-height: 1.45;
  font-weight: 500;
}

/* Process steps (after submit, audit page) */
.next-steps {
  margin-top: 28px;
  padding: 28px;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--r-md);
}
.next-steps-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.next-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.next-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.next-step .num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.next-step .label {
  font-size: 13.5px;
  color: var(--gray-700);
  line-height: 1.5;
}
.next-step .label strong { color: var(--navy); font-weight: 600; }

/* ── V2 — RESPONSIVE ── */
@media (max-width: 1024px) {
  .ressources-grid { grid-template-columns: 1fr; }
  .home-ressources-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .trust-strip { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .article-hero { padding: 56px 0 36px; }
  .article-body { padding: 40px var(--gutter) 24px; }
  .article-body h2 { font-size: 24px; margin: 40px 0 14px; }
  .article-body h3 { font-size: 18px; margin: 28px 0 10px; }
  .article-body p, .article-body li { font-size: 16px; }
  .article-body p:first-of-type::first-letter { font-size: 48px; }
  .article-end-cta { padding: 36px 24px; }
  .article-end-cta h3 { font-size: 22px; }
  .home-ressources { padding: 64px 0; }
  .notfound-inner { padding: 64px 20px; }
  .ressource-card { padding: 28px 24px; }
}

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-collectivites, .bento-etablissements, .bento-programme { grid-column: 1; grid-row: auto; }
  .bento-programme { flex-direction: column; align-items: flex-start; }
  .engagements-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .principes-grid { grid-template-columns: 1fr; gap: 16px; }
  .tunnel-grid { grid-template-columns: 1fr; gap: 16px; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .avantages-grid { grid-template-columns: 1fr; }
  .valeurs-grid { grid-template-columns: 1fr; }
  .audit-layout { grid-template-columns: 1fr; gap: 48px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .risks-grid { grid-template-columns: 1fr; }
}

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

  .nav-link, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 56px 0 80px; }
  .hero h1 { font-size: 38px; line-height: 1.06; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 8px 16px; font-size: 12px; }

  .engagements { padding: 28px 0; }
  .engagements-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .engagement { padding-left: 14px; }
  .engagement .num { font-size: 26px; }
  .engagement .label { font-size: 12px; }

  .problem, .bento, .tunnel, .principes, .compare { padding: 64px 0; }
  .problem-grid { grid-template-columns: 1fr; }

  .bento-card { padding: 28px 24px; min-height: 220px; }
  .bento-title { font-size: 22px; }
  .bento-programme { padding: 32px 24px; }

  .tunnel-step { padding: 28px 24px; }
  .tunnel-num .big { font-size: 44px; }
  .tunnel-step h3 { font-size: 19px; }

  .principe { padding: 28px 24px; }
  .principe h3 { font-size: 19px; }

  .compare-table { font-size: 13px; }
  .compare-table thead th, .compare-table tbody td { padding: 12px 10px; }

  .cta-band { padding: 72px 0; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }

  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 16px; }
  .page-content { padding: 64px 0; }
  .divider { margin: 56px 0; }

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

  .offre-row {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    gap: 16px;
  }
  .offre-price-block { text-align: left; }

  .form-card-head { padding: 22px 22px 18px; }
  .audit-layout { padding: 48px 20px; }

  .manifesto { padding: 40px 28px; }
  .manifesto::before { font-size: 160px; left: 12px; top: -28px; }

  .team-card { flex-direction: column; padding: 28px; gap: 18px; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-legal { flex-wrap: wrap; gap: 18px; }
  footer { padding: 56px 0 28px; }

  .dashboard-mock { transform: none; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 26px; }
  .types-grid { grid-template-columns: 1fr; }
  .logo { font-size: 17px; }
  .engagements-grid { grid-template-columns: 1fr; }
}
