/* =====================================================================
   BABO INVESTMENT — Feuille de style principale
   Palette : Bleu nuit #0A2540 · Vert #0E7C5A · Or cuivré #C9A227 · Ivoire #F7F5F0
   Typo : Space Grotesk (titres) + Inter (corps)
   ===================================================================== */

/* ---------- 1. Jetons ------------------------------------------------ */
:root {
  --navy: #0a2540;
  --navy-900: #071a2e;
  --navy-800: #0e3155;
  --navy-700: #14406b;
  --navy-600: #1d5387;

  --green: #0e7c5a;
  --green-700: #0b6449;
  --green-ink: #0b6449; /* vert assombri — contraste AA sur fond clair/ivoire */
  --green-400: #2f9d78;
  --green-200: #a8d9c8;

  --gold: #c9a227;
  --gold-400: #ddbb4d;
  --gold-200: #f0dfa8;
  --gold-ink: #8a6d1f; /* or cuivré assombri — contraste AA sur fond clair */

  --ivory: #f7f5f0;
  --ivory-2: #efece4;
  --white: #ffffff;

  --ink: #0a2540;
  --ink-2: #33475b;
  --muted: #516374;
  --line: rgba(10, 37, 64, 0.12);
  --line-strong: rgba(10, 37, 64, 0.2);
  --line-light: rgba(255, 255, 255, 0.16);

  --danger: #b3261e;
  --success: #0b6449;

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --container-narrow: 780px;
  --gutter: clamp(20px, 4vw, 40px);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow: 0 12px 30px -12px rgba(10, 37, 64, 0.22);
  --shadow-lg: 0 30px 60px -25px rgba(10, 37, 64, 0.35);

  --header-h: 74px;
  --section-y: clamp(64px, 8vw, 116px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--gold); color: var(--navy);
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 600; z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--navy); }

/* ---------- 3. Typographie ------------------------------------------- */
.h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.65rem, 3.3vw, 2.5rem); letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; }
.h4 { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.lead--light { color: rgba(255, 255, 255, 0.86); }
.muted { color: var(--muted); font-size: 0.94rem; }

.kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin: 0 0 0.9rem;
}
.kicker--gold { color: var(--gold); }
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- 4. Layout ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--tint { background: var(--ivory-2); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, 0.86); position: relative; overflow: hidden; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker::before { display: none; }
.section-head__text { color: var(--ink-2); font-size: 1.05rem; margin: 0; }
.section-head--light .section-head__text { color: rgba(255, 255, 255, 0.78); }
.section__action { margin-top: clamp(28px, 3.5vw, 44px); text-align: center; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: clamp(24px, 3vw, 44px); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.split--reverse .split__text { order: 2; }
.split--form { grid-template-columns: 1.15fr 0.85fr; }

/* ---------- 5. Motifs géométriques ----------------------------------- */
.motif {
  height: 44px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 3px, transparent 3px 14px);
  opacity: 0.5;
}

.hero__pattern,
.page-hero .hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(45deg, rgba(201, 162, 39, 0.16) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(201, 162, 39, 0.1) 0 1px, transparent 1px 22px),
    radial-gradient(circle at 88% 18%, rgba(14, 124, 90, 0.5) 0, transparent 46%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
}
.hero__pattern--soft { opacity: 0.28; }

/* ---------- 6. Boutons ----------------------------------------------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.78em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--green); }
.btn--primary:hover { --btn-bg: var(--green-700); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy); }
.btn--gold:hover { --btn-bg: var(--gold-400); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line-strong); }
.btn--outline:hover { --btn-bg: var(--navy); --btn-fg: var(--white); border-color: var(--navy); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--outline-light:hover { --btn-bg: var(--white); --btn-fg: var(--navy); border-color: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--sm { padding: 0.55em 1.1em; font-size: 0.9rem; }
.btn--lg { padding: 0.95em 1.9em; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
}
.link-arrow .icon { transition: transform 0.18s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 7. En-tête ----------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(10, 37, 64, 0.45); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}
.header__brand img { width: 148px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.6em 0.85em;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--green-700); background: rgba(14, 124, 90, 0.08); }
.nav__caret { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 290px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__sublink {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.65em 0.8em;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
}
.nav__sublink:hover, .nav__sublink.is-active { background: var(--ivory-2); color: var(--green-700); }
.nav__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav__actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.45em 0.8em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
}
.lang-switch:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.header__mobile { display: none; align-items: center; gap: 10px; }
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}
.burger__bar { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.22s var(--ease), opacity 0.18s var(--ease); }
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--ivory);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 18px var(--gutter) 28px;
}
.mobile-menu__list { list-style: none; display: grid; gap: 2px; }
.mobile-menu__list > li > a {
  display: block;
  padding: 12px 8px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__group > ul { list-style: none; display: grid; gap: 1px; padding: 6px 0 10px 14px; }
.mobile-menu__group > ul a { display: block; padding: 8px 8px; font-size: 0.98rem; color: var(--ink-2); text-decoration: none; }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- 8. Hero --------------------------------------------------- */
.hero, .page-hero {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  overflow: hidden;
}
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(96px, 10vw, 140px); }
.page-hero { padding-block: clamp(48px, 6vw, 84px); }
.page-hero--short { padding-block: clamp(36px, 4vw, 58px); }
.page-hero h1, .hero h1 { color: var(--white); }
.page-hero .kicker { color: var(--gold); }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 1em;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-200);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.4rem;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 0.7em;
}
.hero__title::after {
  content: "";
  display: block;
  width: 76px; height: 4px;
  margin-top: 0.6em;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}
.hero__text { font-size: clamp(1.02rem, 1.5vw, 1.17rem); color: rgba(255, 255, 255, 0.82); max-width: 56ch; }
.hero__sub { font-family: var(--font-display); font-size: 1.02rem; color: var(--green-200); font-weight: 500; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__figure { position: relative; }
.hero__frame {
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 120px; height: 120px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: var(--radius);
  z-index: -1;
}

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(-70px, -6vw, -52px) 0 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stat { background: var(--white); padding: clamp(22px, 3vw, 34px); }
.stat__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.4rem;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0 0 0.35em;
}
.stat__detail { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.4rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; font-size: 0.85rem; }
.breadcrumb li { display: flex; align-items: center; gap: 0.45rem; color: rgba(255, 255, 255, 0.7); }
.breadcrumb li + li::before { content: "/"; opacity: 0.5; }
.breadcrumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold-200); }

/* ---------- 9. Cartes -------------------------------------------------- */
.pole-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.pole-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.pole-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(14, 124, 90, 0.35); color: inherit; }
.pole-card:hover::before { transform: scaleX(1); }
.pole-card__num {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
}
.pole-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin: 0.4rem 0 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(14, 124, 90, 0.1);
  color: var(--green-700);
}
.pole-card__icon .icon { width: 26px; height: 26px; }
.pole-card__title { font-size: 1.16rem; margin-bottom: 0.15rem; }
.pole-card__lead { color: var(--ink-2); font-size: 0.96rem; margin-bottom: 1rem; }
.pole-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green-700);
}
.pole-card:hover .pole-card__more .icon { transform: translateX(4px); }
.pole-card__more .icon { transition: transform 0.18s var(--ease); }

.iconbox { padding: clamp(20px, 2vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.iconbox--accent { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.iconbox__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 39, 0.16);
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.iconbox__title { font-size: 1.08rem; margin-bottom: 0.3rem; }
.iconbox__text { font-size: 0.94rem; color: var(--ink-2); margin: 0; }

.value-card { padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.value-card__icon { display: inline-flex; color: var(--green); margin-bottom: 0.8rem; }
.value-card__icon .icon { width: 30px; height: 30px; }
.value-card p { font-size: 0.94rem; color: var(--ink-2); margin: 0; }

.info-panel { padding: clamp(22px, 2.6vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.info-panel__icon { display: inline-flex; color: var(--green); margin-bottom: 0.7rem; }
.info-panel__icon .icon { width: 28px; height: 28px; }
.info-panel p { color: var(--ink-2); font-size: 0.96rem; }
.info-panel .link-arrow { margin-top: 0.4rem; }

.panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.panel--light { background: rgba(255, 255, 255, 0.06); border-color: var(--line-light); }
.panel--light h2 { color: var(--white); display: flex; align-items: center; gap: 0.5em; }

/* Réalisations */
.project-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card__head { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.9rem; }
.project-card__title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.project-card__context, .project-card__mission { font-size: 0.93rem; color: var(--ink-2); }
.project-card__mission { font-size: 0.9rem; }
.project-card__result {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
}
.project-card__value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--green-700); line-height: 1.1; }
.project-card__label { font-size: 0.86rem; color: var(--muted); }
.project-card__foot { display: flex; gap: 1.2rem; margin-top: 1rem; font-size: 0.82rem; color: var(--muted); }
.project-card__foot span { display: inline-flex; align-items: center; gap: 0.35em; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.28em 0.75em;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(10, 37, 64, 0.07);
  color: var(--ink-2);
}
.chip--pole { background: rgba(14, 124, 90, 0.13); color: var(--green-700); }
.chip--cat { background: var(--gold-200); color: var(--navy); }
.chip--muted { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.chip--xs { font-size: 0.68rem; padding: 0.15em 0.55em; vertical-align: middle; }
.chip--btn {
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.chip--btn:hover { border-color: var(--green); color: var(--green-700); }
.chip--btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* Articles */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card__media { display: block; height: 132px; position: relative; }
.article-card__pattern, .featured__pattern {
  position: absolute;
  inset: 0;
  background-color: var(--navy);
}
.pattern-finance { background-image: repeating-linear-gradient(-45deg, rgba(201, 162, 39, 0.5) 0 2px, transparent 2px 16px), linear-gradient(135deg, var(--navy-800), var(--navy)); }
.pattern-immobilier { background-image: repeating-linear-gradient(90deg, rgba(168, 217, 200, 0.35) 0 2px, transparent 2px 18px), linear-gradient(135deg, var(--green-700), var(--navy)); }
.pattern-entrepreneuriat { background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 14px), linear-gradient(135deg, var(--navy-700), var(--green-700)); }
.pattern-diaspora { background-image: repeating-linear-gradient(-30deg, rgba(201, 162, 39, 0.45) 0 1px, transparent 1px 20px), repeating-linear-gradient(30deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 20px), linear-gradient(135deg, var(--navy-800), var(--green-700)); }

.article-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: clamp(18px, 2vw, 24px); flex: 1; }
.article-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; font-size: 0.82rem; color: var(--muted); }
.meta-dot { display: inline-flex; align-items: center; gap: 0.35em; }
.article-card__title { font-size: 1.08rem; margin: 0; }
.article-card__title a { color: inherit; text-decoration: none; }
.article-card__title a:hover { color: var(--green-700); }
.article-card__excerpt { font-size: 0.93rem; color: var(--ink-2); margin: 0; }
.article-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }

.featured {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.featured__pattern { position: relative; min-height: 240px; }
.featured__body { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 0.7rem; }
.featured__body p { color: var(--ink-2); }

/* Témoignages */
.testimonial {
  margin: 0;
  padding: clamp(24px, 2.8vw, 34px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}
.testimonial__quote { color: var(--gold); display: inline-flex; margin-bottom: 0.6rem; }
.testimonial__quote .icon { width: 30px; height: 30px; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-size: 1rem; color: rgba(255, 255, 255, 0.9); font-style: italic; }
.testimonial figcaption { display: flex; flex-direction: column; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-light); }
.testimonial__name { font-family: var(--font-display); font-weight: 600; color: var(--white); }
.testimonial__role { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }

/* Équipe */
.team-mini { gap: 14px; }
.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  align-items: center;
}
.team-card__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(14, 124, 90, 0.12);
  color: var(--green-700);
  margin-bottom: 0.5rem;
}
.team-card__avatar .icon { width: 26px; height: 26px; }
.team-card__name { font-family: var(--font-display); font-weight: 600; }
.team-card__role { font-size: 0.85rem; color: var(--green-700); text-align: center; }
.team-card__bio { font-size: 0.88rem; color: var(--muted); margin: 0.5rem 0 0; }

.mv-grid { align-items: stretch; }
.mv { padding: clamp(24px, 3vw, 40px); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-light); border-radius: var(--radius-lg); }
.mv__icon { display: inline-flex; color: var(--gold); margin-bottom: 0.8rem; }
.mv__icon .icon { width: 34px; height: 34px; }
.mv p { color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; margin: 0; }

/* Timeline */
.timeline { list-style: none; display: grid; gap: 0; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--green), rgba(14, 124, 90, 0.1)); }
.timeline__item { position: relative; padding: 0 0 26px 12px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -26px; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ivory);
  border: 3px solid var(--green);
}
.timeline__year { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 0.9rem; letter-spacing: 0.08em; }
.timeline__title { font-size: 1.02rem; margin: 0.15rem 0 0.2rem; }
.timeline__item p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }

/* Partenaires */
.partners { margin-top: clamp(34px, 4vw, 54px); padding-top: clamp(24px, 3vw, 34px); border-top: 1px solid var(--line); }
.partners__list { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; }
.partners__list li { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.92rem; color: var(--ink-2); }
.partners__list .icon { color: var(--green); }

/* Pôles (vue liste) */
.poles-list { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.pole-row {
  display: grid;
  gap: 0.7rem;
  padding: clamp(24px, 3vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}
.pole-row:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.pole-row__head { display: flex; align-items: flex-start; gap: 1rem; }
.pole-row__num { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; padding-top: 0.35rem; }
.pole-row__icon { display: inline-flex; color: var(--green-700); }
.pole-row__icon .icon { width: 30px; height: 30px; }
.pole-row__lead { color: var(--green-700); font-weight: 600; margin: 0; }
.pole-row__text { color: var(--ink-2); max-width: 82ch; margin: 0; }
.pole-row__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pole-row__tags li { padding: 0.28em 0.8em; border-radius: 999px; background: var(--ivory-2); font-size: 0.83rem; color: var(--ink-2); }

.pole-hero { display: flex; gap: clamp(16px, 2.4vw, 28px); align-items: flex-start; }
.pole-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px; height: 70px;
  flex: none;
  border-radius: var(--radius);
  background: rgba(201, 162, 39, 0.16);
  color: var(--gold);
}
.pole-hero__icon .icon { width: 36px; height: 36px; }

/* Méthode / process */
.method-step { position: relative; padding: clamp(20px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.method-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.method-step p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }

.process { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: step; }
.process__step { position: relative; padding: clamp(20px, 2.4vw, 30px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.process__step::after {
  content: "";
  position: absolute;
  top: 50%; right: -13px;
  width: 26px; height: 2px;
  background: var(--line-strong);
}
.process__step:last-child::after { display: none; }
.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-700));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}
.process__step p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }

.checklist { list-style: none; display: grid; gap: 0.65rem; }
.checklist li { display: flex; gap: 0.6em; align-items: flex-start; font-size: 0.96rem; color: var(--ink-2); }
.checklist .icon { color: var(--green); margin-top: 0.28em; }
.checklist--light li { color: rgba(255, 255, 255, 0.85); }
.checklist--light .icon { color: var(--gold); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.tag-cloud li { padding: 0.35em 0.9em; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-light); font-size: 0.86rem; color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 0.4em; }
.tag-cloud li a { color: inherit; text-decoration: none; }
.tag-cloud--lg li { background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.tag-cloud--lg li a { color: inherit; }
.tag-btn { display: inline-flex; align-items: center; gap: 0.4em; background: none; border: 0; cursor: pointer; padding: 0; font-size: inherit; color: inherit; }
.tag-btn:hover { color: var(--green-700); }

/* ---------- 10. Bandeau CTA ------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--navy-800), var(--navy));
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(201, 162, 39, 0.12) 0 1px, transparent 1px 26px);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(44px, 5.5vw, 76px);
}
.cta-band__title { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }
.cta-band__text { max-width: 54ch; margin: 0; color: rgba(255, 255, 255, 0.78); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 11. Newsletter -------------------------------------------- */
.newsletter { background: var(--green-700); color: rgba(255, 255, 255, 0.88); }
.newsletter__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 66px);
}
.newsletter h2 { color: var(--white); }
.newsletter p { margin-bottom: 0.4rem; }
.newsletter .kicker { color: var(--gold-200); }
.newsletter__row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input[type="email"] {
  flex: 1 1 240px;
  padding: 0.85em 1.1em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter input:focus { background: rgba(255, 255, 255, 0.16); border-color: var(--gold); }
.form-note { font-size: 0.8rem; opacity: 0.82; display: flex; align-items: center; gap: 0.4em; margin: 0.7rem 0 0; }

/* ---------- 12. Formulaires ------------------------------------------- */
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75em 0.95em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 124, 90, 0.16);
}
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.8rem; margin: 0; display: flex; gap: 0.3em; align-items: center; }
.field--check { flex-direction: row; align-items: flex-start; gap: 0.6rem; margin-top: 16px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); flex: none; }
.field--check label { font-weight: 400; font-size: 0.88rem; color: var(--ink-2); }
.field--check .field__error { flex-basis: 100%; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.form__footer .form-note { margin: 0; color: var(--muted); }
.form-feedback { margin-top: 16px; padding: 0.9em 1.1em; border-radius: var(--radius-sm); font-size: 0.93rem; font-weight: 500; }
.form-feedback--success { background: rgba(14, 124, 90, 0.12); color: var(--success); border: 1px solid rgba(14, 124, 90, 0.3); }
.form-feedback--error { background: rgba(179, 38, 30, 0.09); color: var(--danger); border: 1px solid rgba(179, 38, 30, 0.25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.quick-contact { background: var(--ivory-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 28px); margin-top: 22px; }
.quick-contact--light { background: var(--white); }
.quick-contact__title { font-size: 1.05rem; margin-bottom: 0.9rem; }
.quick-contact ul { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1.2rem; }
.quick-contact li a, .quick-contact li > span { display: flex; align-items: center; gap: 0.6em; color: var(--ink-2); text-decoration: none; font-size: 0.94rem; }
.quick-contact li a:hover { color: var(--green-700); }
.quick-contact .icon { color: var(--green); }

.hours-panel, .map-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.2vw, 26px); margin-top: 22px; }
.hours-panel h3, .map-panel h3 { display: flex; align-items: center; gap: 0.5em; margin-bottom: 0.6rem; }
.hours-panel .icon, .map-panel .icon { color: var(--green); }
.map-panel__frame { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); margin: 0.8rem 0; aspect-ratio: 16 / 10; }
.map-panel__frame iframe { width: 100%; height: 100%; border: 0; }

.contact-channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.contact-channel:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); color: inherit; }
.contact-channel__icon { display: inline-flex; color: var(--green); margin-bottom: 0.6rem; }
.contact-channel__icon .icon { width: 26px; height: 26px; }
.contact-channel__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }
.contact-channel__value { font-family: var(--font-display); font-weight: 600; color: var(--navy); }

/* ---------- 13. Simulateur -------------------------------------------- */
.sim { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm); }
.sim__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sim__btn { grid-column: 1 / -1; }
.sim__result { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-strong); }
.sim__empty { color: var(--muted); font-size: 0.93rem; }
.sim__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sim__stat { padding: 14px 16px; background: var(--ivory-2); border-radius: var(--radius-sm); display: flex; flex-direction: column; }
.sim__stat--accent { background: linear-gradient(135deg, var(--green), var(--green-700)); color: var(--white); }
.sim__stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); font-weight: 600; }
.sim__stat--accent .sim__stat-label { color: rgba(255, 255, 255, 0.8); }
.sim__stat-value { font-family: var(--font-display); font-size: 1.24rem; font-weight: 700; color: var(--navy); }
.sim__stat--accent .sim__stat-value { color: var(--white); }
.sim__disclaimer { font-size: 0.78rem; color: var(--muted); margin: 1rem 0 0.6rem; }

/* ---------- 14. Insights / recherche ----------------------------------- */
.search { position: relative; max-width: 560px; margin-top: 1.6rem; }
.search input {
  width: 100%;
  padding: 0.9em 3em 0.9em 3em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
}
.search input::placeholder { color: rgba(255, 255, 255, 0.6); }
.search input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.15); }
.search__icon { position: absolute; left: 1.1em; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.7); pointer-events: none; }
.search__reset { position: absolute; right: 0.7em; top: 50%; transform: translateY(-50%); background: none; border: 0; color: rgba(255, 255, 255, 0.8); cursor: pointer; padding: 6px; border-radius: 50%; }
.search__reset:hover { color: var(--gold); }

.filters { display: grid; gap: 14px; margin-bottom: 26px; }
.filters--inline { margin: 1.4rem 0 0; }
.filters__group { display: grid; gap: 0.5rem; }
.filters__label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: rgba(255, 255, 255, 0.65); }
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters .chip--btn { border-color: rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.9); }
.filters .chip--btn:hover { border-color: var(--gold); color: var(--gold); }
.filters .chip--btn.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.filters__count { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }

.article-page .page-hero { padding-bottom: clamp(30px, 4vw, 50px); }
.article-page__author { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); margin-top: 1rem; }
.article-body__block { margin-bottom: clamp(26px, 3vw, 40px); }
.article-body__block h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  padding-top: 0.6rem;
  border-top: 2px solid var(--gold-200);
  display: inline-block;
}
.article-body__block p { font-size: 1.03rem; color: var(--ink-2); }
.article-tags, .share { margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.share__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 15. Pages légales ------------------------------------------ */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.legal__toc ol { list-style: decimal; padding-left: 1.1rem; display: grid; gap: 0.4rem; }
.legal__toc a { font-size: 0.88rem; color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--green-700); }
.legal__body section { margin-bottom: clamp(22px, 2.6vw, 32px); }
.legal__body h2 { font-size: 1.24rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--line); }
.legal__body p { color: var(--ink-2); }
.legal__note { display: flex; gap: 0.7em; padding: 16px 18px; background: var(--ivory-2); border-radius: var(--radius-sm); color: var(--muted); font-size: 0.9rem; }
.legal__note .icon { color: var(--green); flex: none; margin-top: 0.2em; }
.legal__note p { margin: 0; }

/* ---------- 16. 404 ----------------------------------------------------- */
.nf { padding-block: clamp(60px, 9vw, 130px); text-align: center; }
.nf__inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.nf__code { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; line-height: 0.9; color: var(--gold-200); margin: 0; letter-spacing: -0.04em; }
.nf .lead { max-width: 52ch; }
.nf__links { margin-top: clamp(30px, 4vw, 50px); padding-top: clamp(24px, 3vw, 34px); border-top: 1px solid var(--line); width: 100%; }
.nf__links h2 { margin-bottom: 1rem; }

/* ---------- 17. Pied de page -------------------------------------------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  gap: clamp(26px, 3.4vw, 48px);
  padding-block: clamp(46px, 5.5vw, 74px);
}
.footer__brand img { width: 172px; height: auto; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.94rem; max-width: 40ch; }
.footer__social { display: flex; gap: 10px; margin-top: 1.2rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer__title { color: var(--white); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__list { list-style: none; display: grid; gap: 0.55rem; }
.footer__list a { color: rgba(255, 255, 255, 0.72); text-decoration: none; font-size: 0.93rem; }
.footer__list a:hover { color: var(--gold); }
.footer__list--contact li { display: flex; gap: 0.55em; align-items: flex-start; font-size: 0.9rem; }
.footer__list--contact .icon { color: var(--gold); margin-top: 0.25em; flex: none; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; }
.footer__legal a { color: rgba(255, 255, 255, 0.62); text-decoration: none; }
.footer__legal a:hover { color: var(--gold); }

/* ---------- 18. Éléments flottants --------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.15em;
  border-radius: 999px;
  background: #1f9d55;
  color: var(--white);
  font-weight: 600;
  font-size: 0.93rem;
  box-shadow: 0 14px 30px -12px rgba(10, 37, 64, 0.6);
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.whatsapp-fab .icon { width: 24px; height: 24px; }
.whatsapp-fab:hover { transform: translateY(-3px) scale(1.02); background: #17803f; color: var(--white); }
.whatsapp-fab__label { max-width: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width 0.3s var(--ease), opacity 0.25s var(--ease); }
.whatsapp-fab:hover .whatsapp-fab__label, .whatsapp-fab:focus-visible .whatsapp-fab__label { max-width: 220px; opacity: 1; }

.cookie-bar {
  position: fixed;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 95;
  max-width: 420px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.cookie-bar p { font-size: 0.88rem; color: var(--ink-2); margin-bottom: 0.9rem; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie-bar__actions > a { font-size: 0.82rem; margin-right: auto; }

/* ---------- 19. Animations au scroll -------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- 20. Responsive -------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__step::after { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .header__mobile { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__figure { max-width: 520px; }
  .split, .split--form, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { grid-template-columns: 1fr; }
  .featured__pattern { min-height: 150px; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .stats { margin-top: clamp(-56px, -5vw, -40px); }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .sim__fields, .sim__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .cookie-bar { max-width: none; left: 10px; right: 10px; }
  .whatsapp-fab { padding: 0.8em; }
  .whatsapp-fab__label { display: none; }
  .team-mini { grid-template-columns: 1fr; }
}

/* ---------- 21. Impression ---------------------------------------------------- */
@media print {
  .header, .footer, .whatsapp-fab, .cookie-bar, .cta-band, .newsletter { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
